homeBlog | Tags | Archives | Projects | Stats | Contact

Compare text files in SQL

Nov 11, 2007

1 comment
Popularity:

Here’s a quick hack that allows loading text files as tables in a sqlite database. Why? It’s pretty nice to compare files in SQL. txtsql can be run as follows: txtsql.exe file.txt file2.txt … Every text file is loaded as a table with two columns: row (line number) and data (the actual text). When saved [...]

Read more...

What exactly does GCC optimize?

Nov 07, 2007

2 comments
Popularity:

All compilers optimize code to some extent, some better than others. However, at least to me a great amount of the nature of the optimizations is unclear, outside the explicitly stated loop unrolling and like. Let’s find out which kind of programmer laziness and/or stupidity gets eliminated.

Read more...

There’s Plenty of Room at the Bottom

Oct 22, 2007

1 comment
Popularity:

This is the first part of the epic (two-part) series of articles about tiny intros, the next one will be about an actual intro. I love tiny graphical presentations called “intros” in the demoscene and by tiny I mean 256 bytes tiny. Usually, at this point people mention a paragraph of text is well over [...]

Read more...

Viewer2 Build 3664

Oct 17, 2007

2 comments
Popularity:

PNG support (i.e. I rewrote the loader code so it’s easier to add more formats – contact me if you are willing to write a plug-in) Image details when hovering over a thumbnail Progress dialogs for various actions Added a white border around thumbnails, seems to be in the vogue (you can disable it in [...]

Read more...

Viewer2 Build 3350

Oct 07, 2007

no comments
Popularity:

Some adds: IPTC keyword export and automatic import (enable importing by setting SyncIPTC to a non-zero value). Export the keywords with dbtool, check the manual for instructions. Happy now, people?

Read more...