Archive for June, 2010


OKCupid says I’m hot

OKCupid

OKCupid

Notepad++ Tidy for XML

If you’re like me, you absolutely hate having to read XML all on one line, or poorly formatted. Whats the best way to clean up markup languages you ask? Tidy, of course! But, tidy likes to add weird formatting, HTML, etc, and pretty much mangles any XML that it touches…

Well, here’s some settings for your Tidy INI file which will prevent this from happening. Apply these settings to your Tidy configuration file in Notepad++ (Directory below), and reload the program. Then select Clean Indent XML from the Tools/Tidy menu and you’re on your way to non-mangled beautiful XML in no time! Keep in mind though, this doesn’t fix structure, just whitespace, garbage in, garbage out.

C:\Program Files (x86)\Notepad++\plugins\Config\tidy\TIDYCFG.INI
[Clean Indent XML]
input-xml: yes
bare:no
clean:no
fix-bad-comments:no
fix-backslash:no
indent:yes
indent-attributes:no
indent-spaces:4
char-encoding:raw
replace-color:no
wrap:0
wrap-asp:no
wrap-jste:no
wrap-php:no
write-back:yes

So far, not good enough…

tlhunter@ubuntu:~/Downloads/breathalyzer$ time ./breathalyzer 12.in
12

real    0m5.210s
user    0m3.556s
sys    0m0.580s
tlhunter@ubuntu:~/Downloads/breathalyzer$ time ./breathalyzer 63.in
63

real    0m15.917s
user    0m13.601s
sys    0m0.388s
tlhunter@ubuntu:~/Downloads/breathalyzer$ time ./breathalyzer 87.in
87

real    0m21.925s
user    0m18.869s
sys    0m0.252s
tlhunter@ubuntu:~/Downloads/breathalyzer$ time ./breathalyzer 8.in
8

real    0m2.379s
user    0m1.888s
sys    0m0.160s
tlhunter@ubuntu:~/Downloads/breathalyzer$ 

I recently downloaded the new album by How to Destroy Angels. This album features Trent Reznor and two other people, one of which is the chick singing and the other, well, who knows what the hell he does.

Basically, if you extrapolate the junk that was Ghosts I – IV, and add a female singer, you’ve got HTDA.

01 - The Space in Between
02 - Parasite
03 - Fur Lined
04 - BBB
05 - The Believers
06 - A Drowning

I’m really not sure why they called this a different band. Every song is full of NiN music, audio samples, sound effects, etc. The ONLY thing different is the female singer.

Trent: I have a great idea! I’ll make a band with two other people who will provide creative inspiration!
Chick: Hey, I’ll be in your band. And here’s some dude who also wants to ride your coffers!
Dude: Mumble mumble
* 3 weeks later *
Chick: Hey, Trent, I was wondering if we could add some stuff that I usually like to do? Like some synths and beeps or something.
Trent: Listen here chick… We’ve already got enough of your voice, shaddup.

And the rest was history. Ghosts was the first NiN album I ever bought to be honest… At that point in his career the money was all him, I liked what he did with the revenue model, I like how he broke away from a commercial label, etc. The music has just gone so far downhill.

Also, you’re probably thinking this is a terrible review on the EP… But not a single one of the songs sounds different. Can you possibly describe one of the six tracks in a way that differentiates it from the other five? Of course not. Before leaving hate mail in the comments below, you will be required to first differentiate one of the tracks.

Install this program to put drive icons on your desktop like in OS X, KDE, Gnome, OS 9, etc.

Desktop Media

Old Version of Nucleocide.net

Boy was I excited when I found this:

http://web.archive.org/web/20070714184035/http://www.nucleocide.net/

If you steal something from me, like a bike, I no longer have a bike, but you do. If you download a song, a movie, or a program, the manufacturer still has the same amount of CD’s, DVD’s, and packages sitting on their shelves. For this reason, digital pirating is no stealing.

I’m a software developer. I once had someone pirate an application that I had written. The $800 application was purchased once, and used for three different servers by three different companies, but I was out no less than I started. It really wasn’t that big of a deal.

Would I download a car? Hell yes I would.

Charter has high ping

Pinging google.com [209.85.225.99] with 32 bytes of data:
Reply from 209.85.225.99: bytes=32 time=293ms TTL=50

Bad Charter, bad…

I beat it in 16 hours. That’s like $1.25 an hour.

This game is not as good as the first STALKER. They do add some new gameplay features (the environment changing features like time and weather are awesome), but the gameplay isn’t as long. It doesn’t feel like a whole new game. If you loved the first STALKER, go ahead and buy it. If you liked the first STALKER, find a different game instead.

Vin Diesel, Lady Gaga, Avril Lavigne

Vin Diesel, Lady Gaga, Avril Lavigne

I don’t know Facebook, what DOES Vin Diesel, Lady Gaga, and Avril Lavigne have in common?