Older blog entries for avriettea (starting at number 194)

Internet backup solutions


An internet backup provider, whose name rhymes with "posie" (the 'pocket full of posies' line in the children's nursery rhyme refers to the scabs associated with the black plague, so it fits), has spammed this site.

That doesn't really bother me. The first one was actually helpful, but was posted from a misleading address. It suggested that I use this posie service to back up my stuff. Well, that's fine for a gig, or a few hundred megs, or whatever. But what we're talking about here is the transport of several hundreds of gigs of data across the fancy interweb to posie.

This might work if I had SDSL still, and had a T1 to the house. This would also work if I took my personal computers to work and used the giant pipe at work to upload my data to posie. But I don't have a T1 or an OC3. I have cable – that I am borrowing from a neighbor and is thus intermittent. So that means I get about 600kbyte/s down, but we're locked at 384bits (note I said bits) on the way out.

But the marketing drone doesn't really understand these sorts of things. First, don't spam. Second, don't spam twice. Third, think and understand the situation before you start talking. Lastly, if you're going to use a pseudonym, like bonnie, for some marketing firm, please let me know that you are with a marketing form so that I may become aware of the fact that you're trying to sell me something, and you might not always be telling the truth.

So, bonnie, you are the first comments I've deleted in a long time. Unmoderated comments I think are the way to, but it's shit like this that tempts me the the other way.

By the by, I'm not going to link to the remote storage company, because that would contribute to their google page rank. My wife will also never recommend their service to a customer again (she works on the retail side of Apple).

The name of the advertising firm, however, for those who wish to blacklist or whichever, is Starline Marketing. These are the sorts of people I put on black lists for spam and the like. Perhaps google should implement procmail in blogger for comments (or mail for gmail, or...)

Syndicated 2007-06-27 04:21:00 (Updated 2007-06-27 04:45:46) from Alex J. Avriette

26 Jun 2007 (updated 30 Jun 2007 at 22:05 UTC) »

Data migration on a small, but big, scale.


We had kept most of our iTunes data on a 250GB LaCie disk that I've been worrying about. We had no backup for it, but what do you do with 200gb of data? This isn't some enterprise migration (which I've done a bunch of), it's moving 250GB to a new disk (640GB).

So, I got a little wacky. I told disk copy to make a 400GB "empty" image. I then proceeded to copy all my data over to it. The finder, as per usual, barfed on the operation. Ditto(1) to the rescue.

Now, this is adding a level of abstraction, which is almost never a good thing (as both Sergei and Doug would tell me). My justification is thus:

  • I'm not going to be surprised when I hit that 400GB mark, and with the 640GB drive, it means that there's 240GB for "the rest of the stuff."
  • When I move it again, all I have to do is move one file. I'll probably use cp instead of the Finder to move it.
  • It's easily mountable and unmountable. With disks, this can be a pain. Sometimes they unmount and won't come back.
  • Apple's disk images have internal checksumming so I can ask the disk to "verify" or "repair" it.

So, this is real wacky. Totally against what I've been taught as a programmer, sysadmin, etc. But, this is a Mac. and Mac's Not Unix so ymmv.

By the way, if you have anything bigger than a gig, use ditto. You see that output up there? I can grep through it for errors. Try doing that in Finder. Here, I'll help. Finder, cmd-u, t. That's all there is to it

Syndicated 2007-06-26 18:56:00 (Updated 2007-06-30 21:19:39) from Alex J. Avriette

23 Jun 2007 (updated 10 Jun 2011 at 03:33 UTC) »

Those "Y" people

I hate generational names ("boomers", "gen x", etc). But this woman has it spot-on. Her original source has a lot to say, but what I found most interesting was the following snippet:

6 Principles of Millennial Management

So how do you translate what you’ve read so far into your day-to-day life on the job? What do today’s young employees want? If we’re designing recruiting programs and management systems based on their values and needs, how do we proceed? What kind of work environments attract, retain, and motivate Millennial coworkers?
Here are their six most frequent requests:

  1. You be the leader. This generation has grown up with structure and supervision, with parents who were role models. The “You be the parent” TV commercials are right on. Millennials are looking for leaders with honesty and integrity. It’s not that they don’t want to be leaders themselves, they’d just like some great role models first.
  2. Challenge me. Millennials want learning opportunities. They want to be assigned to projects they can learn from. A recent Randstad employee survey found that “trying new things” was the most popular item. They’re looking for growth, development, a career path.
  3. Let me work with friends. Millennials say they want to work with people they click with. They like being friends with coworkers. Employers who provide for the social aspects of work will find those efforts well rewarded by this newest cohort. Some companies are even interviewing and hiring groups of friends.
  4. Let’s have fun. A little humor, a bit of silliness, even a little irreverence will make your work environment more attractive.
  5. Respect me. “Treat our ideas respectfully,” they ask, “even though we haven’t been around a long time.”
  6. Be flexible. The busiest generation ever isn’t going to give up its activities just because of jobs. A rigid schedule is a sure-fire way to lose your Millennial employees.



It's uncanny how she describes these requirements. I frequently tell employers "hey, I'm not really happy unless I'm dodging a bullet. I work very well that way. So in other words, I'm looking for a challenge. Is that what we're talking about?"

That question scares off maybe 80% of recruiters/HR people. The remaining ones tend to be defense contractors. Go figure.

Syndicated 2007-06-21 22:15:00 (Updated 2007-06-21 22:21:10) from Alex J. Avriette

And once more it is appropriate to quote RKM


The personal, as everyone's so fucking fond of saying, is political. So if some idiot politician, some power player tries to execute policies that harm you or those you care about, take it personally. Get angry. The Machinery of Justice will not serve you here -- it is slow and cold, and it is theirs, hardware and soft-. Only the little people suffer at the hands of Justice; the creatures of power slide out from under with a wink and a grin. If you want justice, you will have to claw it from them. Make it personal. Do as much damage as you can. Get your message across. That way you stand a far better chance of being taken seriously next time. Of being considered dangerous. And make no mistake about this: being taken seriously, being considered dangerous, marks the difference -- the only difference in their eyes -- between players and little people. Players they will make deals with. Little people, they liquidate. And time and again they cream your liquidation, your displacement, your torture and brutal execution with the ultimate insult that it's just business, it's politics, it's the way of the world, it's a tough life, and that it's nothing personal. Well, fuck them. Make it personal.

Richard K. Morgan, Altered Carbon

Syndicated 2007-06-21 05:44:00 (Updated 2007-06-21 05:46:33) from Alex J. Avriette

21 Jun 2007 (updated 10 Jun 2011 at 03:35 UTC) »
19 Jun 2007 (updated 10 Jun 2011 at 03:35 UTC) »

Net::TDMA is "finished"

I think it's going to be uploaded to CPAN as Net::TDMA. I'm going to add licensing information, tests, and the standard makemaker garbage to it tomorrow.

There's a problem, though. It doesn't fit into two gigs of ram. I will ruminate on this and perhaps make it possible to make an epoch that lives in a hypothetical day or a frame that lives in a hypothetical epoch. And so on. The POD is written.

Behold:


TDMA
TDMA/Constants.pm
TDMA/Day
TDMA/Day/Epoch
TDMA/Day/Epoch/Frame
TDMA/Day/Epoch/Frame/Slot.pm
TDMA/Day/Epoch/Frame.pm
TDMA/Day/Epoch.pm
TDMA/Day.pm
TDMA/TDMA.pm


I can't think of anything missing, except perhaps examples. But somebody else is going to have to write those examples.



#!/usr/bin/perl
#
# Created by Alex J. Avriette on 2007-06-14.
# Copyright (c) 2007. All rights reserved.

use warnings;
use strict;

use lib qw{ . TDMA };

use TDMA;
use TDMA::Day;
use TDMA::Day::Epoch;
use TDMA::Day::Epoch::Frame;
use TDMA::Day::Epoch::Frame::Slot;

use Data::Dumper;

my $day = TDMA::Day->new();

print Dumper \$day;



So, really, not especially complicated. You can then access any piece of the day and feed it data. This makes it more interestin for listening, but because of the data structures, it's a "leg up" if you need to actually speak TDMA.

Syndicated 2007-06-17 05:43:00 (Updated 2007-06-17 05:51:23) from Alex J. Avriette

Strange output from ps(1)


alex 537 8.5 -25.0 549672 524864 ?? R 1:48PM 0:16.28 /usr/bin/perl -I/Applications/TextMate.app/Contents/SharedSupp
alex 509 0.4 -36.9 1042488 774576 ?? S 1:45PM 0:36.49 /usr/bin/perl -I/Applications/TextMate.app/Contents/SharedSupp



So this is actually kind of funny. Perl was dutifully creating objects, when all of a sudden, it runs out of memory. Oh noes, here comes the swap. So it alternated between using 100% cpu and swapping the shit out of my disk. Darwin, for those of you who do not know, allocates swap as it goes along. In this case, it was seven gigs. This is a laptop, and I have two gigs of ram, but I do not have endless quantities of disk from which to pull swap.

Anyhow, I think the fourth column is the most interesting in this example.

I remember when I worked at AOL, I had data structures that were too big to fit into memory, and I can't for the life of me remember how I got around the "2gb series" limit. If you serialize to disk, that's just as bad as swapping.

So I guess I'm just going to kind of sit on TDMA until I figure out how to get around the fact that you can't approach it a whole day at a time, and I don't know how I'd keep sync between new instantiations (the military use dedicated time boxes).

Syndicated 2007-06-16 20:56:00 (Updated 2007-06-16 21:56:12) from Alex J. Avriette

16 Jun 2007 (updated 10 Jun 2011 at 03:35 UTC) »

185 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!