http://haskell.org/haskellwiki/Shooting_your_self_in_the_foot

and http://www-users.cs.york.ac.uk/susan/joke/foot.htm

Man I had some crazy dreams, like a cross between WWII and Resident Evil :-/

Best way to describe it, a squad was nearly captured by the Japanese Army, enacted a rescue, neutralized threats and went barricaded in a building…. managed to convince those green horns that a room is *only* clear when it’s been cleared, not stick your head in and move on… and did it the hard way (going in with a M1911A1 in each hand, and trying to keep your head attached lol) Next thing you know, we’re knee deep in Zombie Vile and the freshbrass is starting to run thin!

Interesting article

Bjarne Stroustrup on Educating Software Developers

A very good read; it also reminds me why most of the pe

One thing that especially stuck a cord with me:

Education should prepare people to face new challenges; that’s what makes education different from training. In computing, that means knowing your basic algorithms, data structures, system issues, etc., and the languages needed to apply that knowledge. It also means having the high-level skills to analyze a system and to experiment with alternative solutions to problems. Going beyond the simple library-user level of programming is especially important when we consider the need to build new industries, rather than just improving older ones.

For the love of Pete’s sister, the education system in America hasn’t been preparing the vast majority of people for jack shit, for at least the last 40 years, if not the last 120 years…. and with the way things are these days, I wonder how long until someone will write a song for Coneheads II, where s/high school/college/gi is applied ^_^.

I still meet people that struggle with literacy and logic, let along engineering. When it comes to CS majors that I’ve met, I usually see two major varieties: those that went through a decent course, and actually paid attention. And those that probably got the turn your head and cough treatment, or spent more time playing Counter Strike.

:-/

Tech Support?

http://www.cracked.com/article_17271_why-tech-support-sucks-look-behind-scenes.html

That’s why I only call Tech Support(tm) for HCFs, and not the stupid PEBKACs so many lusers call in, and screw things up for the rest of the world >>.

And this has got to be the best pic of a tech-support call result that I have ever laughed at xD

Hitman

Just finished watching the movie Hitman. I missed the first ~15 minutes :-(, but hey… I just woke up lol. Quite interesting, and the ending…. bloody brilliant! I’ve never gotten a chance to play any of the games, but have always been interested in the series – stealth over shoot’em up.

A copy of Hitman Trilogy would be sweet, lol.

left or right brain?

http://www.news.com.au/perthnow/story/0,21598,22492511-5005375,00.html

To my crazy brain: clockwise, all the way and only way lol.

She appears to be spinning from right to left, and to my head that equates as clockwise. Also given the angle of her foot, and the momentum, I would be inclined to believe that the model “spun out” with the left leg, rather then spun in with it; i.e. she started to spin with the leg moving away from the right leg, rather then towards it; thus starting the loop anti-clockwise, but appearing to be turning clockwise at first glance, in so far as my brain works.

Because who would have noticed her leg in the first frame lol?

Descriptions there and else where relating to the right cerebral hemisphere seem to connect well enough with how I think :-/

Ahh finally….

Got home from the vet a little bit ago, and off work an hour before that lol. Had to take Coco for her checkup, and bring Willow along for the ride so she wouldn’t destroy the house in jealousy! As soon as she found out we were going to the Victor Echo Tangos, her mind changed xD.

Coco’s doing good for an 11 year old, down to 5 lbs / 11 oz (~2.6kg). Maybe I should stop teezing her about being a fat belly with chicken legs? Haha! Now the two tweedle-heads are snoozing the day way.

I’m just glad to have my *corner* of the bed, lol.

It’s finally Fryday, get a little time off… been working almost the entire week straight, and same thing next week. I haven’t gotten much of anything done lately, just to fricken tired. These days, the stuff going on around the computer is about the only positive part of my life left…

Random ideas: an ed in perl?

command line processor ->
[addr1 [,addr2] ] [ [ command ] [ flag ] ]

extract the address start / end range, look up the codref for command
and extract the flag if any.

Use defaults from the table if addresses are omitted / command omitted /
flags omitted / etc.

apply linear commands ->

$cmds{subsitute}->($line, $flag);

each command is applied to a string, $line, and passed any extracted
flag is passed as an option argument to the subref. (e.g. p,n,l, or g)

text marshal/serialize routines ->

if using tempfile:
extract line range into an array of lines

else using memory:
suck file into an array of lines

that array of lines is the text to apply the linear commands to.
the result is then used to update the buffer (array/tempfile)

I/O ->
truncate user file and copy buffer to user file

Bang escape ->
! can be implemented with the gx or `` syntax in perl

notes

pped / ed: if invoked as ed, turn on BRE support.
opts: -s, suppress diagnostics for scripts
-p, set prompt string to 'string'
--regex={basic,perl} set traditional or perl re's
-P set perl re's
-B set basic re's
-S, --map edit file in memory
-n, novice mode: same as 'H' command

doing files in memory sucks the file into an array of lines; basically
a pseudo-mmap. This simplifies the marshal/serialize code, and removes
the need for a temporary file, but causes memory usage to balloon in
proportion to the file size.


S[flag] [value]

set option flag to value; omit flag and value to print all options
P, ps prompt string (str)
B, re use basic regular expressions (int)
N, nl set 'n' marker for writing out lines (int)
H, he same as 'H' command