ILoggable

A place to keep my thoughts on programming

Monthly Archives: January 2005

DIY Serialization

Forgot about putting this up as promised. Of course, this is a very simplistic example with only one variable sized field. If you had more, you’d have to also serialize those field’s sizes and reconstruction becomes a bit more complicated. … Continue reading

January 31, 2005 .net ,

Interop vs. Serialize

I was this close to just using ISerializable for by binary representation for networking. But then talking to n8, i decided that leaving the door open for java interop was important enough in Enterprise computing, that I couldn’t ignore it. … Continue reading

January 29, 2005 .net, geek ,

More on Mac Mini Media Center

Some good discussions and links can be found here and here. And a USB to TOSLink Digitial Audio option.

January 24, 2005 geek ,

Fun with enum bitflags

I’ve previously learned about the enum [Flags()] attribute, but had forgotten usage and reference to it isn’t the best, so i figured, iput this down before it slips my mind again. Say you want a compact way to store a … Continue reading

January 21, 2005 .net

Could you please sign this?

Right, so i started thinking I’m doing too many trips, because the client and server could just sign their packages. But that doesn’t actually prove anything. After all, someone could have just connected to a server, received their package and … Continue reading

January 20, 2005 geek

RSA PK encryption with .NET and Mono

Experimented with System.Security.Cryptography.RSACryptoServiceProvider last night to see if i could use it for Public Key encryption between .NET and Mono. Worked flawlessly. This goes back to my networking thread. I’m currently contemplating using PKI to establish trust relationships between peers. … Continue reading

.net ,

MacMini, the next set-top box?

Ok, not quite programming, but close enough. I was looking at the MacMini and were I not only invested in using my chipped Xbox with XMBC, I’d seriously consider a MacMini as my Media Center. I mean it’s perfect: Has … Continue reading

January 19, 2005 geek ,

EnvDTE going nowhere

Ok, no answers on my quest on what I can cast Events to. No matter, I can always add better support for Events later. Time i get back to it and start adding “add code” drop downs to the code … Continue reading

.net

Gzip under .NET

The kind folks over at ICSharpCode have created a Zlib library with Gzip, Zip, Tar and Bzip2 implementations. Tried it out last night and it works beautifully. It fits into the networking thread of last in that I’ve decided that … Continue reading

January 14, 2005 .net

Remoting and Mono

After my TCP toying I decided to do some Remoting experiments last night. One of my goals with the network programming i’m doing right now is that the business logic of the code should be portable between .NET and Mono. … Continue reading

January 12, 2005 .net ,