IP Geolocation

There are a million services out there where you type in an IP address and get an estimate as to its location. A few months ago I stumbled across a free IP geolocation database because I find myself using online services from time to time – I was sort of surprised how often it’s helpful to know where traffic is coming from (outside of Google Analytics, etc.).

Using the database I found, I threw together a script that takes a list of domain names and / or IP addresses and gives you an idea of where it lives:


dan-lecocqs-macbook:~ dlecocq$ ipquery google.com
209.85.171.100 Mountain View, US 94043 37.4192 -122.0570
dan-lecocqs-macbook:~ dlecocq$ ipquery yahoo.com
68.180.206.184 Sunnyvale, US 94089 37.4249 -122.0070
dan-lecocqs-macbook:~ dlecocq$ ipquery apple.com
17.251.200.70 Cupertino, US 95014 37.3042 -122.0950
dan-lecocqs-macbook:~ dlecocq$ ipquery mines.edu
138.67.1.8 Golden, US 80401 39.7146 -105.2430

Tagged with:
 

iP0wn3d!

I broke down, and I bought one. I’m now one of those a**holes walking down the street checking his email. I want to stay connected, via email and the internet, and also a phone.

See, for what has now become a multi-year bother, my friends have been pestering me about getting a cell phone. I put it off citing the associated charges and the shortcomings of other phones. But now, I can do a lot of tedious tasks I used to use my laptop for – checking mail, calling people, reading news, find local movie show times, get directions from point me to point b. Even listen to my music and watch stupid internet videos.

Simultaneously a great and sad day.

Fully charged and ready to go

Fully charged and ready to go


What I see when it says hello

What I see when it says hello


A demo graph from the grapher program I bought

A demo graph from the grapher program I bought


My daily news intake

My daily news intake


Looking for movies - blue dot is where I was

Looking for movies - blue dot is where I was


Watching a Reel Big Fish music video on YouTube

Watching a Reel Big Fish music video on YouTube


Which album to play?!

Which album to play?!

Tagged with:
 

Wüt (sic)

My first woot is just 25 miles away. I’ve been keeping my ear to the ground with their RSS feed for the last year or so (and seen a few woot-worthy – though, unfortunately they only ship to the States), but this is my first wooting. What is my first woot? A toy I don’t need, but I hope to have fun with – Roboquad.

Take a look at some of the videos you can find around the interwebs.

Incidentally, within a week, I’ve made my second wooting – this time a Roomba Discovery for my parents for Christmas. Shh – don’t tell them.

Update: My woot is on my doorstep. (10:08 11/16/07)

Tagged with:
 

Nintendo DS Browser

I am actually writing this post from my Nintendo DS. Though I originally got the DS to use with a Kanji dictionary cartridge, since I had it laying around, I thought I’d drop the $30 to let me surf the net with it. That said, I had heard mixed reviews about the Opera web browser for DS, but most complaints were from people looking to play Flash games on the ‘net or people expecting Firefox on something like this.

Although it doesn’t boast the fastest browsing around, I’m liking it very much so far. Late nights in bed trying to recall the details of the Ford-Fulkerson algorithm can be settled earlier with a bedside visit to Wikipedia from my new toy. I envision myself taking this places where I don’t want to lug around a laptop (read: coffee shops), but I may have to look something up on Google or Wikipedia to verify a friendly bet.

It is, however, a little cumbersome to write a post or e-mail like this.

Addendum:
I thought it might be useful to show some sites with which I’ve had success, and which ones flounder.

Facebook – yes; little finnicky
Gmail – yes; no hitches
Google Reader – not yet; trying to tweak
Meebo – no; definite no
Lifehacker – yes; looks good, too
Wired – yes; slow to open, though
Google Search – yes
Google Maps – no :-(
Instructables – no
Yahoo Maps – yes; I miss Google

Tagged with:
 

Halloween

I don’t think I’m alone in not having “done” Halloween since the 6th grade, but I find myself wondering if I’m too old to get candy from strangers.

Either way, I’ve decided to party up this October 31st nerdy-style. Gonna find / make myself some steampunk goggles and pick up a lab coat. I’ve been carving up LEGO mans and ordered a couple of bags of LEDs for them. If I feel particularly festive, I might try to carve a Dalek.

Tagged with:
 

Walmart Avoidance

I set out on Sunday to fix a speaker in my car that had been buzzing. I expected that I would find a wire that wasn’t well-attached or that I’d have to solder a weak point, but first I had to get to it.

When I installed a 3.5mm jack in my stereo, I was angered to find that to get to it, I had to remove most of the dash. While I’m sure they didn’t have end-user customization in mind when they designed the 1992 Toyota Corolla, it would be nice to have these things accessible. When we did the same on my friend’s car, we were able to pop a piece off and access the stereo there and then. The same with the truck we used to have. Why does it have to be so buried?

The speaker was a similar, if worse, story. Bolts that were almost impossible to access, large pieces that must be removed in unison. Parts to unscrew that, in order to access them, you’d have to remove the piece they attach. Who makes a car like that?

I appreciate the durability, though. This particular car has just under 240,000 miles on it, and if you need further evidence, check out the Top Gear episode where they try to destroy an old Toyota truck.

Two hours and countless f-bombs after starting to try to get to this speaker, I find it and bring in half my dashboard into the house. Break out the speaker to find that it’s completely eviscerated. Four inches, and all of 15 Watts RMS. Nice.

Browsed around online, but found mostly expensive and powerful speakers, so I head to Checker. Nothing. Target – nope, and Sears doesn’t do car audio anymore. They suggest RadioShack. Nada.

Someone at Checker said he got his (essentially the same speaker) at Walmart. I had been avoiding this, but lacking any other alternative… They’ve got only one pair of speakers that will work, and I’m going to have to do some time with the tin-snips. I get back, get it installed, and I have to admit, they sound a lot better than the old ones.

On a last note, it turns out that parts that are hard to get out are even harder to put back in.

Tagged with:
 

XBMC

My XBox is now my gateway to my media. $4.73 for Splinter Cell (how this particular hack gets the Linux installer running), and $21.81 for an Action Replay kit to transfer the files. Now, all the media on the LAN are at the fingertips of my XBox. Music, Pictures, Movies and TV Shows – the whole gambit.

I used this Lifehacker article as a guideline. All in all, it took about an hour.

Watching Scrubs TV Shows Music
Weather / RSS Watching A Movie
Tagged with:
 

Symbolic Logic Likes an iPod

I’ve been wanting to make myself a nice little iPod case out of a book. Until now, I had been waiting for a sufficiently nerdy book to find its way to me.

I had to go to the Longmont Public Library to get a copy of Slaughterhouse Five (Kurt Vonnegut), and thought I’d check their used books table. Nothing quite nerdy enough. In the basement, however, where they keep all of their free books, I found a book from simpler times: Introduction to Logic. Old, antiquated (this edition, not logic itself), and just nerdy enough. I spent about $2.60 on magnets to embed in it so that it would remain closed when jostled, and a little Elmers glue, an razor blade, and a little bit of time, and I’ve got myself a nice little iPod case.

Introduction to Logic

The process will invariably have to begin again when I finally decide to go for a next generation iPod, but until then.

Tagged with:
 

Super-spy

Colin told me about laser microphones, and the idea tickled me in a way that most times I’m tickled like that, I have to cuddle afterwards.

At any rate, I happened upon a metacafe video of how to make one yourself. I skipped down to Radioshack and bought the photoresistor and a cheap laser pointer.

I had some troubles getting any signal off of it at first, but I decided to try to set it up like I thought it should work and try the whole shebang without trying to get each piece to work. I was able to pick up taps on the glass (though they had to be amplified a great deal, giving me a surprisingly clear signal), but I was unable to record any voices. I expect this just has to do with the intensity and spread of the laser, and I imagine that a higher quality laser might be able to pick up speech. If I ever get one of the nice Think Geek laser pointers, I’ll certainly have to try it again. I wonder what my neighbors have to say.

Tagged with:
 

Dry Ice Bombs

My friends and I almost got beaten with a baseball bat setting dry ice bombs off while in Japan, which just made Alan and me want to do it even more. Alan Throwing

The premise for a dry ice bomb is simple: dry ice sublimes in a closed container and when the pressure is sufficiently high, boom. We add warm water to speed up the whole process, but still pretty simple.

Safeway sells dry ice (as I understand it, you must be 18 or older to purchase it, but we did not get carded) at a rate of $0.99 per pound in up to 8-pound blocks. We got ourselves three pounds, and headed home, where we had plenty of bottles, gloves, a hammer, and a couple of airsoft guns waiting for us.

One of the advantages to living in the boonies is that you can set off these explosives and shoot BBs in your back yard. Although, the neighbors must have wondered what in the hell was going on.

In general, a lot of fun, and relatively safe. I’ve had some of these go off in my hands, and while there’s a bit of a sting, all your fingers are still there. As long as you’re not using a nalgene, other hard plastic, glass, or metal, it’s pretty benign. Shooting them is just an added bonus, and beats the hell out of setting out empty cans to hit. These targets explode.

Tagged with: