Jul. 6th, 2004

alexr_rwx: (coffee)
There are days when you're poking around in /proc/net, and you see "2A00000A" and immediately recognize that as "10.0.0.42"... but you can't seem to figure out how to determine your own machine's ip address in any clever way... this is one of those days.

Because ifconfig (and busybox, actually... oh my goodness, busybox is huge, and I've now looked at more of it than I would have liked to...) know how to do it, but they do it in disgustingly convoluted ways that would be unpleasant to pull out...

So this is a question for you, O my hackerly readers -- how do you figure out what all of your IP addresses are? It seems like the information would be hidden in /proc/net somewheres, but is there a syscall or something? ... Because, elrond is not just called 127.0.0.1, and if I was cool for this proxying thing, I'd recognize when he's referred to as 10.0.0.1 as well... *bangs fist on table* *opts to say "hot dammit!" for emphasis*... hot dammit!

My apologies to the readers for whom that made no sense a'tall.
alexr_rwx: (withtux)
I had a dream...

... and in my dream, we were working on writing code. Only Corey was involved, though hidden somehow, in another room, and there was another room beyond his room, and sometimes it was on one end of the hall and sometimes it was on the other... but in that room (which was also Downstairs), there was both Honor (?) and our server. And our server had some really old hardware that looked like one of those old silvery-coloured VCRs with the rows of narrow identical buttons... and that's where we were working.

I got into the room where we kept Honor (?) and the server... and Gretchen (this girl from my theory class) was there...

... and Michael Jordan was teaching PE. And he told me (and this other guy, who I think was Asian) that if I want to be really springy, I need to do one-legged standing squats, and like a lot of them. Just jumping up and down in place wasn't going to do it, and it would eventually mess up my joints. So for the rest of the dream, I was sort of idly one-legged-squatting... and Tim was telling me something about his program, and how it would mess up the thing we were writing on The Server... and I was going through his code, trying not to break his stuff...

... and when I woke up, my pillow was gone.
alexr_rwx: (toasters)
It's always easier to do one-legged standing squats in your dreams.

However! This is absolutely incredible: http://www.ebaumsworld.com/supersonik.html

Many thanks to the emperor [livejournal.com profile] zip4096 :)

Profile

alexr_rwx: (Default)
Alex R

May 2022

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 10th, 2025 11:02 am
Powered by Dreamwidth Studios