Categories
Life

Packing and Moving

Oh how I love packing. I am moving soon, so it’s time to pack everything up, junk tons of stuff, organize. Hopefully when I unpack, things will be better organized, with more room, etc. Boxes are either too big, or too small, or not sturdy enough 🙂 – in a few weeks though, it will be over and I’ll be happy. Crazy month this month, move, we are moving to a new office at work, I think I might get a new vehicle, and overall just tons of things going on. I am thinking I might get a couple TiVo’s too, since where I am moving, I dont think there are DVR’s. My computer desk is getting junked as it is almost tipping over, I really need to get something more permanent. Maybe I will try to find some better cable management solution as well, between PSP, GPS, Ipod, Phone, Digital Camera, other stuff – it just becomes a rats nest of cables. I will put all my computer stuff in the basement where it is cool, but I will need a de-humidifer. I can’t wait to start using my Dell desktop again (with Vista Beta2) – since right now at my apt, the room is just too hot to use it, even with the AC on. My 360 doesnt like the heat either, locks up every once in a while. I will be glad to just get moved 🙂

Categories
Random

Hotmail 10 Years Old

Looks like Hotmail is 10 today. I didnt sign up right away, but a little after, in about a year. You can check when you started at http://account.live.com

Here is the proof:

I should have signed up earlier 🙂

Categories
Life

Fast Weekend

Friday – Jimmy’s Pour House

Saturday, Cities – Eat, Hotel, Wedding, Reception

Sunday – Wake up, IKEA, Home, Oblivion, Recover

Monday – Oblivion,  Furniture Shopping, Dairy Queen, Friends, Oblivion

Tuesday – Wake up, Clean, Geek, …. hang out maybe catch some 4th of July Festivities.

Happy 4th 🙂

Categories
Life

Goodbye Entertainment Center…

I killed my entertainment center tonight. Moving soon, and time to get a new one. I have had this one since around 1995-96, so 10 years for a cheapo EC, not bad. Little wobbly, but it worked. 6 hits with a hammer and it was gone ghandi. Saved the pegs though, you can always use those. Now I just need somewhere to put my 360 in the meantime 🙂

Categories
Life

Where Am I?

I added a mologogo map on the side of my blog. If I am out and about with my pocket pc 6700 with my GPS running, it should update where am, good for all you stalkers out there.

Categories
Product Reviews

Windows Live Mail Desktop Beta

I just got on the Windows Live Mail Destkop Beta (whew, long name, WLMDB) – installed it yesterday. Seems pretty cool, few major gripes though, I can’t minimize to the systray and I really dont know where to see my contacts, sent items, etc. Its like a really stripped down outlook or suped up outlook express. The active search is cool, but I am an MSN premium subscriber, I shouldn’t have that shown to me at all. Overall it seems like they could do better, the systray thing really irks me 🙂

Categories
Geeky/Programming

SHGetFolderPath on Windows 98

SHGetFolderPath doesn’s seem to work on Windows 98. If you use it to try  to find like the “My Pictures” directory,  it will error out.  I have read that some versions of Win98 do work, depends on the version of shell32.dll (5 and greater). A workaround that you can use , which probably isn’t 100%  good, but works is looking for the My Pictures path in the registry  (HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders). Just another quirky thing with the different Microsoft OS’s.

Categories
Random

Whats a Jerry?

Playing Call of Duty 2, the British troops call the German Troops “Jerries”. Searching around on the net didn’t yield much, but I asked my Dad, and he asked a WWII vet, and here is what I got:

The term Jerry stems from WWI, the Germans used their helments to goto the bathroom in, just like we call the bathroom the “John”

Not sure if it is true, but its a good explination.

Categories
Geeky/Programming

strcpy vs. strncpy

strcpy – Copies the content pointed by src to dest stopping after the terminating null-character is copied.
dest should have enough memory space allocated to contain src string.

strncpy – Copies the first num characters of src to dest.
No null-character is implicitly appended to dest after copying process. So dest may not be null-terminated if no null-caracters are copied from src.
If num is greater than the length of src, dest is padded with zeros until num.

Now, maybe I just dont know, but why would you use strcpy when strncpy is available? I guess I really havent found a solid answer. I mean what were they thinking with strcpy? Were they just trying to create an easy way to have buffer overflows all over? (Same goes for strcat and strncat). I guess I am glad now to use C# and VB.net the majority of the time when you really don’t have to worry about this stuff. With C/C++ its all over the place, and you can tell, just look at all the buffer overflow vulnerabilites withing Microsoft products.

Categories
Geeky/Programming

Kill.exe and EnableDebugPriv()

The last few days, I have been looking into a solution to kill a process in c/c++ – but not just any process, a ScreenSaver running while the computer is locked. Most examples on MSDN and such terminiate processes by sending close messages to them, and 99% of the time that works. It even works for ScreenSavers that are running while the computer is locked. Thing is, I didnt want to bundle kill.exe that comes on the Windows NT Resource kit. Off to search google, pskill by sysinternals works too, but again with the bundling. Search the net some more, I found a link to the kill.exe source code from MSDN. The big difference in this code compared to all other kill examples, is this

//
// Obtain the ability to manipulate other processes
//
EnableDebugPriv();

That opened the door for the kill.exe to stop a process when the computer was locked 100% of the time. Im sure there is some long explination dealing with user mode and kernel mode code, maybe someone can comment on and shed some more light on the subject. I have attached the source code that I found here just in case the site it was on goes down. Well, in the end, we ended up getting the program to kill the process while the computer was locked, so it worked out well 🙂