Blog | Tags | Archives | Projects | Stats | Contact
Tags: DHTML, Javascript, Source code, Web design, Wordpress
I wanted to tackle a common problem: on a modern screen resolution it is often hard to read because the text rows are simply too long. Using some Javascript and DHTML magic, it is easy to make the fixed-width layout resizable.
Read more...
Tags: Software, Source code, SQL, SQLite, Text files
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...
Tags: 256B, Assembly, Demoscene, Geeks, Source code
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...
Tags: Algorithms, Image resizing, Image retargeting, Software, Source code
Note: See below for the updated version. I saw this video of a SIGGRAPH paper about image retargeting (high res version here, read the paper here), that is rescaling an image so that the algorithm keeps the interesting areas intact and doesn’t squash everything. It’s called seam carving in the paper. The video made it [...]
Read more...
Tags: Artificial life, Evolution, Nanopond, Screensaver, SDL, Software, Source code, Video
[This is an archive post from my old homepage] For those who don’t know what Nanopond is: Adam Ierymenko’s Nanopond a minimal (absolutely tiny) artificial life system based on randomly mutating and evolving computer programs that eventually get more and more efficient in copying their program thanks to natural selection. While it does not have [...]
Read more...