Archive for April, 2007

to the person I can’t tell personally

Wednesday, April 25th, 2007

happy bday broseph Ben

perl in place mass editing

Wednesday, April 25th, 2007

In-place Editing

If you want to edit the files in place, editing each file before going on to the next, that’s pretty easy, too:

perl -pi.bak -e “s/Foo/Bar/g”

The only change from the last command is the new option -i.bak, which tells Perl to operate on files in-place, rather than concatenating them together into one big output stream. Like the -e option, -i takes one argument, an extension to add to the original file names when making backup copies; for this example I chose .bak. Warning: If you execute the command twice, you’ve most likely just overwritten your backups with the changed versions from the first run. You probably didn’t want to do that.

Because -i takes an argument, I had to separate out the -e option, which Perl otherwise would interpret as the argument to -i, leaving us with a backup extension of .bake, unlikely to be correct unless you happen to be a pastry chef. In addition, Perl would have thought that “s/Foo/Bar/” was the filename of the script to run, and would complain when it could not find a script by that name.

– from: http://www.perl.com/pub/a/2004/10/14/file_editing.html

nightmares

Tuesday, April 24th, 2007

suck my ass

well.. since all dreams I have are nightmares.. I guess I like them.. ya.. actually I just hate waking up from them.

last night were some zingers.  Mostly about how scared I am to live and how scared I am of things I’ve done in my past.  How much of a bastard I think I am that I blow things I’ve done so beyond what I’ve actually done to make myself look worse only to me.  Ya.  I’m stable.  I swear.  Luckly for everyone around me, this is nobody’s fault.  The voices in my head told me so (I’m only slightly kidding there :)).

My alarm clock has officially become something ELSE.. something that is not of this earth when I wake up.  Also, some complicated mechanism by which all time and space are not only predetermined but sanctified…. at least when I wake.. because my dream world ends when that happens… and so it becomes.. for a few seconds… damn near every morning.. the OTHER… and the great destroyer… the THING that must be vanquished.. by.. hitting the snooze button.

I think I’m probably doing an about-face and re-aiming myself toward the void… the black hole.. the Below… at least in my clarity.. which may be starkly contrast to my sanity… isn’t that awesome.. I might be most sane.. mostly in-touch with humanity.. most alive.. when I am mostly drunk… or otherwise wasted.

I guess I need to lose myself in something else… maybe someone… though I don’t know if that’d be such a super idea.. unless.. unless I could find someone that felt the same way and we’d somehow compliment each other.. a long shot to be sure… and of course.. that wouldn’t be all the time.. some days I don’t feel like someone is STANDING on my life… somedays I’m alsmost.. chipper… but today I certainly don’t feel much above a -1.

blargh

Back to work.. functions I can do in any mental state.

being single

Friday, April 20th, 2007

Paul asked me on Wednesday whether or not I like being single.

I was thinking about it and I think what he means is “I get to do whatever I want” .. I told him, well I’m never really “single” .. I am either seeing someone or I’m not.  And right now, I’m not.

Maybe it’s because I’ve never gone more than a year of my adult life without being in a serious relationship.  Maybe I’m the one that’s skewed… probably so… but I never just do whatever when it comes to the opposite sex.  Actually.. I’m pretty much the same all the time.. the only difference is who I go home with and how flrity I am when I can choose to be or not.

Now this is something about me I could change… and maybe I almost was there for a second at the end of my last one.. but maybe I’ll find someone else who appreciates that about me before I do.

.. and maybe not :)

funambol take 2

Friday, April 20th, 2007

So it’s been like a year since I messed with http://funambol.com . It
is an opensource SyncML server written in java. They have their own SyncML
clients for devices (and Outlook) that don’t have SyncML built in like
Windows Mobile and iPODs. I decided to get back in to it rather than
just blinding suggesting buying an entire system like Blackberry.

They’ve come a long way.

Out of the box, the PIM sync stuff works just fine. In fact, I think
Funambol is probably the top dog here of SyncML and PIM. They really
really know their shit. Out of the box, though, it takes some doing..
you sync to XML files.. which is fine I guess, but there’s an option,
that you have to configure, that will allow syncing PIM to a DB…
that’s my next trick.

They can also do a kind of push email. The push email won’t work though
unless your mobile device has an (Internet?) addressable IP because the
server will, upon you having mail, notify the last IP that the handheld
came in from “you’ve got mail!” and that will prompt the SyncML on the
client on the mobile device to pick up the email. I think Sprint has
real IPs on all of their EVDO devices… so this should work there.
Cingular definitely does not.

They also have an SMS capability that will send an SMS to your phone for
the initial “you’ve got mail” to check your email, but of course this requires
that you have the ability to send SMS’s from the server. Such things do exist,
but you have to write your own plugin (in java) for it.

Failing that, you can just have your mobile poll the server every so
often to see if you have mail. This actually works better that just
having a regular IMAP client in practice because the “do I have any
mail?” message and the “do I have any new PIMs?” messages are the same.
And these messages are smaller than the IMAP “do I have new mail?”. And
all the data is filtered on the server side before it is sent to the
client, thus making the transferred message smaller. Plus, on windows
mobile, it ACUTALLY keeps asking the server for new mail whereas the
built in IMAP client will only do it for a little while.. usually if you
leave the IMAP client up.

.. so.. even in this mode it wins.

So far so good with these guys. They have a commercial version too..
just really more support and some closed source plugins and them just
doing it all for you… I’d be tempted to do that.. but I think I can
figure it out. :)
so if you are looking for something like a mobile sync thing that you
can run on your computer (both linux and windows cuz it’s java and they
have all the glue for both platforms included) then check this out.

the lake

Thursday, April 19th, 2007

lake this weekend… leaving tomorrow after work.

ha ha x10 to those who aren’t going.. well.. if you wanna go you might be able to catch the bus ;)

more weekend stuff

Sunday, April 15th, 2007

Tim Salerno is moving to Colorado to work for his Dad I think.. he’ll be missed.. you are a cool guy Tim… come back visit!  So Megan had a beer pong tourny last night and I’m pretty sure Adam and Tim pwned everyone from where I was sitting.

After that Caleb came and we left to go eat breakfast and talk about Life the Universe and Everything, but instead all our drunk ass friends were up there too.. so it was more drunken good time.

Oh.. Friday.. Friday was Alley Catz night after some 54th street action.  A.C. is pretty ok… I like the atmosphere better that Bullseyes, but their DJs are still learning their stuff I think.  And they play booty house pretty much all night with the occasional more rocky kinda stuff.. but always also dance music even when there’s no one dancing… so whatever I guess… I could critique them all day, but I’ve had fun both times I was in there… but I guess I can have a good time where ever my friends are… that was all 3 Rubles, the oldest’s fiance, Adam, Andy, Sean Bob (who works there) and the Dussiliers and Jon and Twill.. ya.. quite the gang we had going  :)
Then I played poker all night at Duss’s … Andy Davis came out there and was spinning some … it was a good time… the Duss’s showed me how to notch up my Hold’em skills.. I did pretty well before we finally left about 7am… long long LONG night…

then I got up about 11am and went to go help Adam settle some stuff… he’s living back at his dad’s now.. looking for what’s next… it’ll be rough but it’ll also be ok… and good.

.. well.. time to go to mom’s

long weekend

Sunday, April 15th, 2007

holy crap what a weekend…

I was up until well after 5am both Friday and Saturday nights hanging out with friends… and slept for only a few hours and got up to do more stuff.

ATHF and Pathfrinder and Grindhouse and Disturbia are all out and I gotta go see them.

Went shooting today for a second… I was shooting mostly high and right outta 20 rounds… but I nailed the spinner with ease on 2 for 2 shots.. so.. I guess I’m still a badass :)
Tonight is mom’s here in about 30 minutes and then Al is in town too so I gotta go see him after that.

oh and that was after I drove to Eldon and back on Friday to install a Sprint wireless card that blows satellite outta the water even without EVDO speeds… insaneo.

I did manage to not get all that drunk all weekend… I was a little but not that bad… never did anything crazy or feel like complete balls the next day… just tired… the way it should be.  I still gotta work out.. but I guess that’s later…

people keep telling me I look thinner… I think I’m just worn to a frassle .. not eating all that much … I need time when I can sleep without having nightmares and worrying about stuff… just like a month… or even a week of “no alarms and no surprises, please” … that’d be nifty.

the way the truth and the light

Thursday, April 12th, 2007

cash.. lots of cash… probably from my large cache of weapons and cocaine I keep in my trunk

really though I’ll probably have to find some extra crap to do to make some cizash and then just live on that and leave all my hard bills to my actual real money from my actual real job(s).. there might be just enough in there to actually pay for everything… that’ll be nuts.. nuts I tell ya

christ.. it’ll be like the old days.. carrying lots of cash and then a credit card with unlimited space on it in case I fuck up and get fucked up… I guess I better hurry up and embody the spirit of the Beast of 666 again to protect my person against assault

ah.. bring it.. I haven’t beaten anyone’s ass in.. awhile

echoing the sound

Thursday, April 12th, 2007

after listening to Year Zero .. well.. a lot… about 10 times a day … I’ve come to the conclusion that it rocks the fucking house.  Trent.. you sir are a genius.  Thank you.  Thank you.  Thank you.