Geeks With Blogs
Rishi Pande Me, Myself and my obsessions June 2005 Entries
bad bad bad hack
Have you ever written a piece of code that you know is bad but you had to push it out because you know it had to be implemented? I ran across one of those scenaios the other day. While using Interop Services, I discovered that a Wchar pointer in VC++ 6.0 that was returning back a value would not return back any value if marshalled as a string (with UnmanagedType.LPWStr) The only way that I could do this was as UnmanagedType.LPArray of char[]. This got me the string back except it looked like this ......

Posted On Thursday, June 30, 2005 5:23 PM

Anti-phishing project - and a bad implementation attempt
So, it finally happened yesterday afternoon. I had to give up on my skunkworks project. Below is an article on what the attempt was, and how exactly and why I had to abandon it. Hopefully, it will help someone following along the same lines (if someone is really dumb enough to follow along those lines) Phishing project (a.k.a. what I did the Spring of 2005) Rishi Pande Goal: The main goal of this project was to stop phishing. Background: Phishing, also referred to as brand spoofing or carding, is ......

Posted On Thursday, June 30, 2005 3:21 PM

highs and lows of being on TV (or not)

I work on a product that was supposed to be on T.V. this morning (The Today show) So I wake up and tune in to the WRONG CHANNEL!!!

I got a recording of the show and all they spoke was our competitor. Then, finally they started to speak about the product. I get excited, feel a little tingly inside when I heard the words of death - 'That's all that we have time for. We are going into a commercial break now!' Oh, damn you NBC!!!

Posted On Thursday, June 30, 2005 9:33 AM

travelling to work
Okay, first day in my new place. I like the place. The only problem: I have to travel 45 minutes to work! Just wanted a poll of how much on average people travel to work every day one way. I will post the results in two days. :)

Posted On Monday, June 27, 2005 11:40 PM

better UK ID card implementation
This may be interesting to those of you concerned about the Real ID cards plan that the senate passed last month. I am not sure if the scheme will ever even be considered by the UK government, but like most good schemes it came a little too late. I wonder if the US government would consider this during the implementation of Real ID. The only problem I have with the scheme is that is requires 3 out of 4(police, lawyer, doctor or teacher) ......

Posted On Tuesday, June 21, 2005 5:31 PM

My response to Identity Management
This was posted this afternoon on geekwithblogs. Since, my reading in the Identity Management has burgeoned after I joined my current company, I thought I may as well pitch in. Here's my response Hello, Thought your post was interesting. I have been working wih identity management systems for the past few years and thought I could add on to some of the stuff you were talking about. First off, Identity Management is not only concerned ......

Posted On Wednesday, June 15, 2005 9:22 PM

DateTime field problem with SQL Server
I was trying to push in unix timestamps into a SQL server database this afternoon when ran across something pretty interesting. According to the unixtimestamp should not be kept in a int field because it will exipire on 2038-01-19 at 3:14:08 AM. That is when it exceeds the maximum int value. Just something to keep in mind in the forthcoming years, else we will have ourselves a repeat of the Y2K issue.

Posted On Tuesday, June 14, 2005 8:20 PM

.NET Interop services
I spent the better part of last week trying to figure out how to bring in an old C++ DLL into my .NET code. It was quite surprising to find that most documentation on the net was only regarding bringing in COM components. The remaining documentation seemed to have spawned from one source and pasted over and over again (this has been happening a lot to me lately, i guess it's from diferent sites pulling from the same resource). Anyways, it was fun to figure out how to reference an array of structs ......

Posted On Tuesday, June 14, 2005 12:41 AM

Worm blog
Jose has been doing some great work over at his blog. For those of you who don't know, Jose has been working on network worms for a long time. His blog is a reflection of his daily findings from research papers and on-goings in the network worm world. Here is it

Posted On Friday, June 3, 2005 9:06 PM

For some resaon, I totally missed this but MS has been out with a header file called strsafe for string handling. I was quite impressed with the functions provided. This may help someone looking for secured string functions (think, good way to stop them ugly overflows)

Posted On Thursday, June 2, 2005 4:40 PM

Back-up for Tokens
Edit: A suggestion that came up was a token Escrow mechanism. I googled for it for a bit, but did not fnd any service available. A few key scrow mechanisms are available from the late 90s when the government pushed some research into key management for PKI schemes and ncryption, but none of the mechanisms really took off because of the lack of trust. This may be something interesting to ponder upon. I was talking to a few friends who use RSA tokens (yes, those things that give you a one-time password) ......

Posted On Wednesday, June 1, 2005 3:13 AM

Copyright © Rishi Pande | Powered by: