An IP address is not a long int - it’s 4 bytes. Doing something like this is bad:
sprintf(buf,”%ld.%ld.%ld.%ld”, (ip>>24) & 255, (ip>>16) & 255, (ip>> 8 ) & 255, ip & 255);
An IP address is not a long int - it’s 4 bytes. Doing something like this is bad:
sprintf(buf,”%ld.%ld.%ld.%ld”, (ip>>24) & 255, (ip>>16) & 255, (ip>> 8 ) & 255, ip & 255);
Tags:Mac x86
Knoppix on Mac X86
Originally uploaded by mike3k.
As an experiment I tried to boot a Linux live CD on my Intel transition kit Mac. It works! I had to use the frame buffer mode to get X11 working & it won’t recognize the built-in Ethernet, but this isn’t the latest version of Knoppix.
Tags:
IMG_2467.JPG
Originally uploaded by mike3k.
I have more pictures here.
After trying my software on it, the first thing I did was boot a Knoppix live CD. It booted, but x11 wouldn’t work unless I used the framebuffer mode for laptops. It also didn’t recognize the built-in ethernet. I’m not using the latest version of Knoppix, however.
Tags:
I’ve been seeing a lot more comment spam than usual the last few days. Somehow they manage to post it even when I require logging in to post comments. I just added yet another anti-spam plugin, so I’ll see how that works. I’ve also been blocking every IP address any spam comes from and adding [...]
Tags:
What has happened to this country? When did it become illegal to protest?
Via Daily Kos:
Selina Jarvis is the chair of the social studies department at Currituck County High School in North Carolina, and she is not used to having the Secret Service question her or one of her students.
But that’s what happened [...]
Tags:
Via Daily Kos:
Top Ten Signs Your Supreme Court Pick Isn’t Qualified
10. Lost 10 grand yesterday in the ‘case’ of Jets vs. Ravens
9. Spends most of her time trying to fit the gavel into her mouth
8. Her legal mentor: Oliver Wendell Redenbacher
7. Asks courtroom stenographer to, ‘Quit that annoying tapping!’
6. Instead of Constitutional law books, consults [...]
Tags:
Since I’ve been getting more comment spam than usual, I’m now requiring anyone who wants to post a comment to register and log in. I’m also automatically deleting comments containing some common spam words before they even reach the moderation queue.
Tags:
Midnight chasing a lizard
Originally uploaded by mike3k.
Sorry I haven’t had a chance to post much lately. I’ve been busy with work & offline life. Until I get a chance to do some real blogging, enjoy this picture of Midnight.
Tags: