Pinned Update #1

The Darc Library (C++) is now updated as of March, 2012. Click ▷here too browse the entire solution.

Sunday, April 12, 2015

Does this still work?

It's been two years and it seems my blog is still around despite severe negligence on my part. I shall bring it back to life!

Anyway, in order to give this post a little purpose, here's a cool mix I've been listening to a lot at work.

Fruit bat out.

Wednesday, April 10, 2013


Some more screwing around with the tablet. On today's menu we have a very drafty concept design of a gloomy character for potential dungeon sessions. More concepts will follow soon. Also, the name is a working title... kinda.

Wednesday, April 3, 2013

The Blue Ball

First test with my new Intuos5 Touch. I have no idea what these buttons do. I'm going to learn how to create more useful stuff with it in the future. For now, behold the Blue Ball. No pun intended.

Friday, January 25, 2013

Task Manager Magic

Dear diary,

today i found out that CTRL + SHIFT + ESC opens the Task Manager. Hallelujah.
OK, that's it.

Tuesday, January 1, 2013


This script makes scrambled eggs!

Number Sequence

Sunday, December 23, 2012

Radio Silence

Phew, what a year.
I wonder if this still works...

Friday, August 10, 2012

Wide Characters

Here's how to output wide characters (i.e., wchar_t) to the console in Visual Studio 2010 using a Multi-Byte character set environment. Most likely, this option must be set manually since Microsoft suggest Unicode by default. This setting prevents certain functions from being changed to their <method>W versions but i guess that's a matter of taste. All it takes is a single call to _setmode() with the second parameter indicating the expected character type. In the case of UTF-16 (two bytes) this is _O_U16TEXT. After that, the character type can be switched back to ASCII using the _O_TEXT option.

_setmode(_fileno(stdout), _O_U16TEXT);
std::wcout<<L"Hello World"<<L"\n";  
_setmode(_fileno(stdout), _O_TEXT);  
Wide Character Output

Of course, the console's font must be set to something that can handle all used characters (e.g., Lucida Sans Unicode). The complete Unicode table can be found ▷here.