| August 2002 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
| Jul Sep | ||||||
This site is no longer maintained.
My current weblog.
Diego Doval: Blogging, Writing, and it's Consequenses
Once more, I've been thinking about what it means to blog, to write, and why it is so hard in our oh-so-advanced western society to simply tell the truth and deal with it. Political correctness, they call it. I call it hypocrisy.
Emphasis added. Some eastern societies have similar aversions to unpopular thoughts and truths, often in the name of Honor or Saving Face as opposed to Political Correctness. The problem with American society is that employees have few rights, and the right to keep their job is not generally one of them. And our society as a whole is extremely prude-ish.
If I had stayed in Germany, I probably wouldn't worry so much.
.NET Compact Framework Hell
Every time I sit down to work on the VB.NET port of Pocket Blog, it seems like I spend the entire day to fighting missing, broken, or improperly documented portions of the .NET Compact Framework.
On the first day, I discovered that forms don't resize with the SIP. Spend entire day fighting PInvoke code to detect the SIP's presense, eventually manage to make my forms resize properly. On the second day I decide to ignore all that is UI and focus on lower-level stuff. XML-RPC seems like a good place to start, and porting XML-RPC.NET seems like a better idea than re-using my lame-ass routines (based on XMLRPCCOM). Stripped XML-RPC.NET down to a client-only subset, found the right command-line incantations to make csc.exe build .NET CF apps, only to realize that Serialization isn't in there. Doh.
On the third day, I start porting my lame-ass XML-RPC stuff. Quickly discover that XQuery / XPath isn't in the .NET CF. This stuff is in the MSXML stuff on CE, but there's no COM Interop either (if there were, I could use PocketXML-RPC). Also missing is XMLHTTP. Finished the Object to XML portion of my routines, learned the proper way to convert types when using Option Strict...
Today I worked on the XML to Object and HTTP routines. Learned that the Stream returned by HttpWebResponse.GetResponseStream is completely broken. Try to pass it to a StreamReader, get an exception. Try to retrieve it's length, get an exception. Finally figured out that I could use HttpWebResponse.ContentLength to read the correct number of bytes from the ResponseStream. Oy.
I've got another weird issue remaining, responses from Radio seem to get truncated, probably related to CR/LF funkyness (no problems with Blogger and Movable Type). Not sure just yet if it's the Stream, the conversion from Byte() to String, or what...
Supposedly a new Beta of the .NET CF will be included in the upcoming "Everett" Beta of Visual Studio .NET, and supposedly Microsoft will mail me a copy. It can't come too soon.