Archive for September, 2006

Midlet self-replication

Considered one of the Holy Grails of J2ME programming, self-replication is a must for viral marketing by helping your product spread quickly. It involves two parts: getting your hands on the jar and sending it via Bluetooth OBEX.

Retrieving the JAR contents is cumbersome, it involves re-packing the JAR or hacking the ZIP structure (an excellent paper is this one). As for OBEX, most phones don’t support it natively (the API) so you’ll have to implement it from scratch.

2020

Who wants to bet that until year 2020 blogs will be dead ? :)

IIS configuration

After a couple of years of working with IIS, I still have no idea how to do the following stuff (don’t know if it’s possible actually!) :

Delete folder from .BAT script

What is the difference between:

VB crash when writing exe

As I am one of the last programmers still using VB – here is one possible solution of the dreaded crash when linking a VB project: check if the used ActiveXes are able to initialize and destroy gracefully (using a simple test project or something).

MSDN wiki

This is veeery old news. Here’s the wiki – overall it’s a good idea (I was surprised back then to see Microsoft doing a wiki). Still it’s not well indexed by Google and Google Groups remains the best for programming-related searches.

Speaking of old stuff – this C++ FAQ written by The Inventor Himself is simply excellent! Did you know about this:

class D : public B {public:    using B::f;// make every f from B available

?

University paradox

I have just finished the 5th year of study but will graduate in January as only then I can present my graduation diplomma project.
Question: What year of study am I ? I’m not in the 5th anymore as I passed all the exams. Still – there’s no 6th year.

Google Codejam

Maximum efficiency: I’ve written about 10 lines for the 250-point problem and submitted it in like 5 minutes.

Congratulations! The results of the Google Code Jam 2006 Qualification Round have been officially tabulated, and we’re happy to announce that you have advanced to Round 1. This is a great accomplishment.

The 750 one was too difficult though :)