yole is currently certified at Journeyer level.

Name: Dmitry Jemerov
Member since: 2001-03-26 13:23:47
Last Login: N/A

FOAF RDF Share This

Homepage: http://www.yole.ru

Notes:

I live in St.Petersburg, Russia. Though I'm primarily a Win32 developer and user (both at work and at home), I'm still interested in the free software world, and I've developed and contributed to some open-source projects myself.

Projects

Recent blog entries by yole

Syndication: RSS 2.0
We have a very nice exception handling system... except for it doesn't work

Today, finally, after a couple of days of totally unproductive coding and a sudden inspiration, I've fixed the exception emulation system in the C++ libraries of our project at work.

We have a set of class libraries that is supposed to be portable between Win32 and various hand-held devices (Palm, EPOC, WinCE), but the small devices do not provide C++ exception handling, and the libraries rely on it heavily. So last summer we implemented a complex exception emulation framework with more or less complete support for stack unwinding. It worked very fine, pushing objects on the stack and pulling them from there, except for one minor thing: every time you threw an exception, it crashed.

Nobody did any active development for the devices, so nobody pushed too hard to get this thing fixed, but now the time came that my colleagues needed the code working. The project that I promised to do in two or three days (updating the code for the latest version of the Symbian platform and fixing the exceptions) stretched into more than two weeks of Web surfing, complaining about the bloated emulator that loads for 3 minutes and hangs your PC to death once in a while and other not really productive tasks. Well, I did write some code, but not too much of it...

And today at last, after my colleague advised me to look if the problem could be reproduced in a minimal test under Win32, I found the reason of the problem in just some half an hour... (When working on something that is totally uninteresting and unmotivating, I sometimes feel like I'm doing everything possible to avoid getting the problem solved. Not a really professional attitude, I guess.)

When I saw the reason, I first thought that it was theoretically impossible to get the problem fixed. But once I explained the problem in details to my friend over ICQ, I immediately came up with the solution... So much for having someone to listen to you, even if he doesn't say a word.

Infinity Explorer takes revenge on its creator

I've just fixed a very... hmmm... funny bug in Infinity Explorer. When I was working on it the last time, I noticed that the ChangeLog file was somehow lost. That time, I just thought that I accidentally deleted it. Today the same situation repeated, but this time I couldn't explain it by saying that I've accidentally pressed some wrong keys. And when the TODO file miraculously got lost, I started debugging...

It turned out that the code that was supposed to clean up unpacked savegames was called also for savegames that were never unpacked. Since the unpacked path was an empty string for such savegames, it deleted all the files in the current directory. But it just silently ignored failures to delete files that were locked, so I didn't notice the problems earlier.

And because I didn't commit to SourceForge for quite a while, the only version of TODO that I still have is a quite dated one, and I'm not sure I can fully restore the TODO file from memory. Fortunately, the source code of InfExp was stored in a subdirectory of the directory containing the executable, and the savegame cleanup code was not smart enough to recurse subdirectories...

 

yole certified others as follows:

Others have certified yole as follows:

  • jameson certified yole as Journeyer
  • japj certified yole as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page