1. Random knowledge VI.

    25 January 2007

    The actions of a systems cracker trying to get a foothold in someone's network by social engineering the people in the NOC and someone hunting for a job who is trying to get hold of a human being in the HR department somewhere in a company are not that different.



    When writing Perl code, generally speaking the simplest code is what will do exactly what you need. If you overthink what you're working on, you won't get anywhere.. especially with the reverse operator.

    Perl gives you enough rope to not only hang yourself but your entire family, too. Don't make …

    Read more...

  2. Random knowledge V.

    25 January 2007

    GNU Screen makes coding so much easier: Run screen to multiplex your shell, then run a text editor in one, a debugger in another, have another shell open to compile.. no more mousing between windows. There isn't much of a learning curve, if you feel comfortable coding under Unix (or using the Cygwin tools for Windows) you'll pick it up in no time.



    Sleeping just enough to recoup your strength so you can go out again isn't a good thing. Sleep enough to get all your energy back. Don't pull two or three all-nighters in a row, either. It'll crush …

    Read more...

  3. Random knowledge IV.

    25 January 2007

    Just because it's usually the one-half teaspoon that falls off the holder and it's usually the one-half teaspoon that fell off the holder that you grabbed out of the drawer doesnt't mean that it's the one-half teaspoon that you really grabbed. Always look before you use measuring implements.



    When a recipe says to use eggs, use real eggs. Four times out of five, Egg Beaters just won't cut it.

    When creaming butter and sugar together (probably butter and anything, I havn't tried yet) it doesn't hurt if you melt the butter in a skillet or frying pan first. If anything …

    Read more...

  4. Random knowledge III.

    25 January 2007

    Coding with a teddy bear in your lap helps immensely.



    IPtables for the v2.4 Linux kernel series doesn't understand virtual interfaces (a.k.a. IP Aliasing). If you've never seen this before you can take one interface, say eth0, and bind an IP address to it, for example 192.168.1.1. Under the v2.4 kernel series you can bind more than one IP address to an interface, which creates a virtual network interface. If I bound a second address (10.0.0.1) to our network interface above you'd see in the output of /sbin/ifconfig eth0 …

    Read more...

  5. Random knowledge II.

    25 January 2007

    If you turn on the Xscreensaver module called Sonar while you're running a packet monitoring application (such as TCPdump), people are less likely to think you're doing anything shady, because "Only hacker tools don't have GUIs." Always hack your shell's personal configuration file (~/.bash_profile, for example) to change your shellprompt if you use GNU screen. That way you can tell what shells you've left open are single-access shells and which shells are multiplexed through a single connection with screen. It can get confusing sometimes. Because a shell run inside a GNU screen metaterminal sets an environment variable called $WINDOW, you …

    Read more...

  6. Random knowledge I.

    25 January 2007

    If you're a Newton user, you've no doubt considered picking up the ObEx stack for NewtonOS, which allows your MessagePad to communicate with other PDAs, such as the Palm Pilot or the HP Jornadas. I highly suggest that you spend the $40us to do so, you won't regret it. It can be tricky at first to get working, though. I spent a good bit of today trying to figure out how to beam entries from the Dates application to a Palm Vx unit, and here's how I did it: First, you need to set up the time at which to …

    Read more...

  7. "The Constitution.. it does not mean what you think it means."

    25 January 2007

    This should be enough to give anyone pause: Alberto Gonzalez, the Attorney General of the United States of America argued before the Senate Judiciary Committee that the Constitituion does not grant habeas corpus rights, but only says that they can be suspended. Let's think about this a little: Saying that a right can be suspended implicitly states that there is a right that can be suspended to begin with. Senator Arlen Specter, who headed up the committe, nearly went into a fitof apoplexy when he heard this after asking if Gonzalez's logic took a wrong turn at Albequerqe: "The Constitution …

    Read more...

  8. What is your light cone?

    25 January 2007

    Here's an interesting website that I found during a random search: Have you ever wondered how far the information you've generated has travelled in the universe? Now you can find out - this website will calculate all of the known starts within your light cone, which ones have been reached, and which ones that information has yet to reach, and displays it in the form of an RSS feed that you can import into a reader or aggregator. Nifty.

    Read more...

  9. What is your light cone?

    25 January 2007

    Here's an interesting website that I found during a random search: Have you ever wondered how far the information you've generated has travelled in the universe? Now you can find out - this website will calculate all of the known starts within your light cone, which ones have been reached, and which ones that information has yet to reach, and displays it in the form of an RSS feed that you can import into a reader or aggregator. Nifty.

    Read more...

200 / 206