[Qt-interest] [slightly OT] Null device with Qt

Konrad Rosenbaum konrad at silmor.de
Fri Apr 1 12:56:57 CEST 2011


Hi,

since I have been working on this for several weeks, I'll share it with
you in the hopes that it is useful.

Null devices (Linux/Mac: /dev/null; Windows: \\.\NUL) are those little
silvery chips on the mainboard (usually with type IDs like "MHZ1234***")
that collect used up bits (like after shift operations, dropped memory
pages, etc.). Those bits get recycled the next time the CPU requires fresh
ones. Of course some waste does collect in the null device - and on modern
machines this can happen pretty fast. The waste bits are usually blown out
of one of the fans at the back of the machine, although all modern null
devices have the ability to package excess waste bits ready for network
transport to professional bit recyclers.

It turns out it is pretty easy to access the null device with Qt and to
send those bits on their way to an environmentally friendly afterlife.

Source is appended (needs Qt 4.7).




     have a happy first day of this month,
     Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndev-src.zip
Type: application/zip
Size: 5870 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110401/b2eedecc/attachment.zip 


More information about the Qt-interest-old mailing list