coding

C and C++ standards

For those, who have nothing to do at long winter days, Igotti.Org announces two exciting, yet little bit voluminous, novels by famous IEC:

Enjoy your reading...

Windows SDK fancy bug

If you have installed both MSVC and Platform SDK and include both windows.h and PSDK includes, following error will occur:

C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed

Some thoughts of parallel languages

This text by Cliff Click raised my old thoughts on how future programming may look like.

I put it as comment to his text, and copy-past here as far.

Client side point in polygon

It was needed to implement rather simple operation of finding which of the placemarks in KML file particular GLatLng belongs to. To my surprise, find existing solution was tricky, so I wrote my own, see below. Code in XML parser is somewhat based on Lance Dyas GeoXML's parser.

Apple manual sentence

Как нельза лучше применимо к состоянию дел в мироздании:
    More important than the features that are not present are the ones that are.

Perl, utf8, upload

Имел несчастье полностью перейти на UTF-8 в одном своём проекте, который, вероятно, скоро анонсирую.
Я давно не встречал настолько неудачного и неудобного инженерного решения. Одна из наиболее выдающихся проблем - бинарные данные, передаваемые в multipart-form, CGI.pm в целом.

Внутренности VMWare

Здесь www.vmware.com/pdf/asplos235_adams.pdf  можно прочитать очень интересный текст о виртуализации внутри VMWare, и анализ производительности. Что меня удивляет, так это факт что аппаратное ускорение виртуализации не особо помогало в JVM, и так же мало помогает здесь.

Morpher

I am finishing rather funny tool, called WebMorpher able to merge two HTML files into something in the middle.  It's somewhat like image morphing, but works on HTML syntax tree. Same technology potentially may be used for other markup languages. If you're interested in its source code - feel free to contact me.

Trick for building modular static libraries

 Sometimes one may wish to build static library (i.e. .a archive) in modular fashion, so that indepndent components could be dynamically loaded using dlopen(3). But this leads to linking problems, as linker tries to be smart enough, and removes not referenced symbols, thus later, when dynamic component is loaded, it's unable to find symbols in main executable it depends upon.
 There are two ways to solve this problem:

Syndicate content