0xdec4c8

Putting together some simple 3d for fun once again. Made a little cube, put the vertices and indices together, made a couple of array buffers and rendered a cube. Now usually to make a cube, you’ll need at least 8 vertices and index lists for the triangles or quads for the six sides. A triangle …

Hungarian Notation

Years ago, I got a task to add features to the source code of an existing application. It originated in a company that was seemingly obsessed with win32-style programming and Hungarian notation. After a while, the m_lpsz, g_u32 and s_aul prefixes started to make sense, and almost immediately after that, they stopped making sense. Here’s what …

Poor man’s photo backup, part I

A photo library, around 100 000 photos, not really professional but nice-to-have photos. Some of them are blurry, unfocused, or just plain horrible photographs. No time to browse through everything and only keep the really good ones. Aging hard drives and you badly need a backup, but 300 GB is just too expensive to store in …

Create ringtones from YouTube

Most of the methods online for creating ringtones from YouTube seem to involve shady websites with ads and registering accounts, if they even happen to work. So here’s a simple workflow for choosing what you want and creating a ringtone in a matter of minutes. All of this assumes you have a Mac, if you …