09 august 2013

After adding discount to my static website generator, I was unsatisfied with the C code introduced in my project:

extern "C" 
    #include <mkdio.h>

// ...

FILE* f1 = fopen(mdPath.c_str(), "r");
FILE* f2 = fopen(mdResPath.c_str(), "w");
MMIOT* in = mkd_in(f1, 0);
markdown(in, f2, 0);

I looked for alternatives, but I couldn't find any native C++ Markdown library or any C++ wrapper for C Markdown libaries. So I decided to create a C++11 wrapper for discount, called DiscountCpp. It currently implements very few functions from Discount, but offers a very easy-to-use interface to quickly convert Markdown to HTML.

The updated code looks like this:

#include <DiscountCpp/DiscountCpp.h>

// ...


Now I can sleep in peace.

P.S.: I also implemented syntax highlighting on the site thanks to highlight.js.

markdown and more

07 august 2013

I added discount to my static website generator.

Writing blog posts is now much easier!

ffmpeg, twitch.tv

I've also started occasionally streaming myself code on twitch.tv. It was painful to set up, but these are the commands I use:

  • Setting up loopbacks to record both microphone and pc audio

    pactl load-module module-null-sink
    pactl load-module module-loopback
    pactl load-module module-loopback
  • Launching the stream itself

    KEY="<your twitch.tv key here>"
    ffmpeg -f x11grab -s 1920x1080 -r 20 -i :0.0+1680,0 \
        -f alsa -ac 2 -i pulse -c:v libx264 -preset ultrafast \
        -pix_fmt yuv420p -s 1920x1080 -threads 4 -acodec libmp3lame \
        -ar 22050 -qscale 3 -b 712000 -bufsize 512k \
        -af aresample=44100 \
        -f flv "rtmp://live-ams.twitch.tv/app/$KEY"
  • After launching the stream

    pavucontrol # to set up loopbacks redirection

school finals results

After the last blog post my exam score was announced: I graduated with 100/100 cum laude!

This is a great achievement for me. I am already looking forward to start computer science in university in a few months.

done with school finals

11 july 2013

Today was the last day of school finals. I'm very happy about how my exams went and even happier that I finally have a lot more free time!

I 've also been working on Open Hexagon 2.0, which will be a big gameplay update with new levels and mechanics. Check the beta out on the official Facebook page.

open hexagon v1.92 linux release

22 june 2013

Finally, a multi-architecture (both 32 and 64 bit) .tar.xz archive is available!

Download on the projects page, as usual.: )

open hexagon v1.92 released

15 june 2013

Friend list and key customization added. (minor update)
If you 're using the auto updater to update, delete ' config.json ' from your folder first!

open hexagon auto updater v1.1 released

15 june 2013

Rewritten from scratch... opening the way for cross-platform updating.

two new video tutorials available!

11 june 2013

I've created two tutorial videos where I explain how to speed up collision broad-phase detection using a 2D grid spatial partitioning algorithm.
Check them out in the tutorials section!

reinventing the wheel + etc

10 june 2013

In the latest months I've been mostly working on my libraries that you can find on GitHub.
I 've "reinvented" the wheel by creating my own cross-platform filesystem and my own template system (similar to Ctemplate). You can find both of them in SSVUtils, on my GitHub page. Pull requests and comments are greatly appreciated!
I am happy to announce that the newest version of this website is generated using those libraries, without any Boost or Ctemplate dependency.

Other news: real life is taking a lot of time away from programming.I will have my finals this month, and then I 'll get into computer science education as soon as possible.

I 've also added a donation button to the website: since I' m currently unemployed every donation would be really helpful, especially in paying the server.Consider donating if you like my work: )

Hopefully I 'll find the time to make some new tutorials/youtube videos before my finals. Stay tuned!