OMG I have a family?!
This weekend was great. No garage sales (that was last weekend), no helping friends move (that’s next weekend), no parties (well, there was one but we couldn’t get a sitter), no housework (should’ve been doing some but we let it go). Just me, my wife, and the boys, vegging out on the couch. I really feel like we got a chance to reconnect that we hadn’t had for a couple months.
Read more...The use of Feist in a television commercial should be outlawed.
Not because it’s bad, but because of the addictive properties of the lead singer’s voice.
I haven’t decided whether I like it, but she’s got some weird vibrato that makes it impossible to get out of your head after hearing it. I’m sure that’s why Apple chose them for the iPod ads (and why Diana had me fetch all their music I could find).
Read more...Remote control...
Whew! Finally got two machines talking to each other over dRb. Using the URL generated by the server was what finally worked.
The communication is perfect, too - the creature controller lives entirely on the client side, and the server just polls it for what to do with each update. Any code at all could be running on the other end, meaning you can make the creature do anything you want. (Now I just need to ensure that “any code at all” doesn’t include malicious code.)
This isn’t efficient in the least. Two connections from the same machine works fine, but it does slow down. I’m not sure what will happen with 10. But I’ve made zero efforts at optimization, so it’s time to start on that.
Read more...I haven't said this about anything in a long time...
…this is so %$#@ing 133t.
Morticious Thrind’s CLI Wordpress Theme
Read more...cat and control-d...
My latest way to make Windows play nice with Linux is to paste in files via the terminal. I do:
$ cat > file.txt [pasted content] ^D $
That Control-D ends the file and puts me back at a prompt, with [pasted content] saved safely in file.txt.
Well, I just realized the same thing will work with xargs. I had some noisy terminal output that contained some file names I needed to delete. I copied it out, pasted it to my favorite text editor, played around with it until only file names were left, and then did this:
$ cat | xargs rm [pasted file names] ^D $
And voila - the files are gone. I haven’t used this (or xargs) extensively, so try at your own risk, but it seems to work nice so far.
Read more...