From the MySQL documentation on LAST_INSERT_ID() and AUTO_INCREMENT columns…
Like any half-assed amateur system administrator worth his Sainsbury's Basics table salt, I've been searching for a decent backup/restore solution for a while now. Then, just recently, I found it.
Having bitten my tongue and agreed to try collapsing my menu bar into the "Firefox button", what was one step too far was that the tab-bar would now collapse into the window's titlebar when maximised, then drop down to its own line again when the window was restored.
Upon updating Windows 7 for the first time in a while and rebooting, I was soon horrified to discover that I was unable to connect to any remote hosts over the internet. Let's find out why.
In an unprecedented feat of miraculousness, Freenode's ##C++ discussion channel saw — in the space of no more than twenty minutes — the same question asked twice of one of C++'s more subtle features. Just how do you declare a friend from the global namespace? I find out.
For a while now, I've had a slightly frustrating problem with Windows key mappings. This week it became irritating, so I finally decided to look into a fix… or, at the very least, a workaround.
I briefly explore an odd case of misbehaviour from clang.
Right or wrong, it's still trendy in some C++ circles to use the singleton pattern for defining a type that can only be instantiated at most once in an execution run. However, this can cause problems when you bring more static data into the mix.
This week I explore how, after struggling with my Windows 7 grinding to a halt over the last few months, I finally managed to get it up to speed again.
One of the evilnesses of the C++ Standard Library is that implementations — be they GCC's libstdc++ or the Dimkumware implementation used by MSVC — are free to have their headers include other standard headers as much as they like. This can lead to confusion.







