Revisiting Watchmen (2019/09/11)

With ever increasing influx of capeshit in theatres and in TV shows with costumed heroes, I was tempted to revisit the classic that was supposed to put the entire genre six feet under (and unwittingly contributed to a its renewed commercial success): Watchmen.

It’s been a good 10 years since I read it, immediately following “V for Vendetta” which was my introduction to the genre, and following the release of the Watchmen movie adaptation. There are worse ways to get acquainted with comic books, but I have read considerably more comics and books since then, some bad, some good, most of them mediocre. Inevitably this has informed this reread and I wanted to lay some notes on my current feeling on it. I’m no critic, I just want to solidify and articulate my feelings on the book, maybe to inform any subsequent reread.

Read more–>

“Windows Subsystem for Linux” detection from within your .vimrc (2017/11/27)

The aptly named “Windows Subsystem for Linux” has become increasingly powerful over the past year and I found myself thinking about it when keeping my dotfiles up to date.

Read more–>

Powershell quickie: .NET Framework version of a .dll (2017/03/13)

When finding a random .dll from a vendor or a pre-existing project it can be nice to know its .NET Framework version of ahead of time before spending some precious minutes wondering why it’s not showing up in the references panel after importing it in your project.

Read more–>

OpenCV and Visual Studio 2015, the hard way (2017/03/08)

Many computer vision projects rely on OpenCV. If you want to get going with OpenCV with Visual Studio on Windows without taking the easy route of just getting a NuGet package (maybe you want a specific version or a fork…), this article is meant to remind you (and me) what you need to do.

Read more–>

Enhancing Visual Studio (2017/02/20)

In recent months, I’ve been working exclusively with Visual Studio. This is something I tried to avoid for years after some bad experiences with earlier iterations, however, the latests releases have constantly improved on what made it good in the first place and working with it is now a pleasure.

Being a vim maniac and a bit of configuration freak I had some changes to do to make it even greater. I’ll try to collect and update my Visual Studio configuration tips and plugins in this article.

Read more–>

fish on Ubuntu on Windows (2016/08/28)

With the arrival of Windows 10’s anniversary update, the previously announced Windows Subsystem for Linux had been made available as a beta feature for all users to test.

Right now the feature bears the catchy name of Bash on Ubuntu on Windows because that’s precisely what it is. This is a bit of a problem for me as I dropped bash in favor of other shells and I would like to use fish on my Windows system instead.

Read more–>

A quick look at golang’s defer (2016/08/27)

What is defer

defer is a keyword of the Go Programming Language indicating that the following function is to be called at the end of the current function. It denotes of a deferred action.

It’s particularly useful to close indicate early that a file descriptor or a network connection must and will be closed at the end of the current function.

Read more–>

Installing buildbot on Arch Linux (2016/03/24)

I recently became interested in testing katana at work to automate the build of Unity and C++ projects. Since katana is a fork of buildbot, I decided to get aquatinted with Buildbot first.

Read more–>

From zsh to fish: a shellfish out of water (2016/03/22)

I’ve been using zsh for a while and I’ve been pretty content with it. I love the deep levels of customizability you can achieve with it, but it comes at a cost. At the end of the day, said configurations aren’t portable enough and need to be frequently updated when moving my .zshrc from one Linux distribution to the next, and even sometimes to Mac OS X or Windows…

The fish shell is one of those things that has been in my list of things to check out for a long time, and now that I finally gave it a try, I can safely say that I regret not migrating to it sooner. I’m pretty sure I will not going back to bash or zsh anytime soon.

Read more–>

Git tricks I always forget about (2016/02/17)

Git is chok-full of features, so much so that you’ll probably forget about how to do a lot of things you know to be possible if you are not using said features on a daily basis. Outside of the regular add, commit, checkout, rebase, push, pull and merge commands that you might use everyday, there are a lot of edge cases and rare situations where you’ll find yourself reading the documentation and the manpages to find out how to do something that sounds simple with an obscure command you didn’t memorize with an even more obscure parameter that you didn’t know existed.

The following article is a list of tricks and commands that I keep forgetting about in increasing order of complexity and coolness. I’ll try to keep this article up-to date with increasingly cooler tricks.

Read more–>

Automatic scene and prefab merging in Unity3D with Git (2016/02/11)

Working with a revision control system and Unity3D requires a bit more organisation than just making a working application. To get going with a team, you’ll need both organisation and the proper tools to be as efficient as possible.

With my distrust of GUI Git clients, I wanted to take some time to get some sort of automatic scene and prefab merging to work with my regular Git cli installation. It’s also a good opportunity to learn how to use Git in the case of complex merging situations since that’s the kind of thing that is bound to happen to you in production.

Read more–>

Spooky, Scary, Skullcode Mystery (2015/12/13)

The world wide web is a wonderful place. If you know how to look for them, it is full of mysterious pages devoid of any explanation leaving the visitor without any clue of their use or meaning. Skullcode is an excellent example of that.

After stumbling upon this enigmatic web-page I was immediately intrigued by the possible secrets it could hold. It’s not rare for this kind of cryptic websites to be the starting points for “capture the flag”-like treasure hunts. While this might end up being a wild goose chase started by what could just be a neat tech demo, I still wanted to take the time to investigate further to answer the question: “What is Skullcode?”.

Read more–>

C# vs C++ - Implicit closures can be a pain sometimes (2015/11/06)

Yesterday I’ve been confronted to an odd problem while working with C#, a language I have a deep respect for and that I consider to be one of the best object oriented language, with all the flaws that this qualification entails. One of his major drawbacks is that, like in Java, you don’t have the hands on the memory. Everything relating to allocation and destruction is handled by a garbage collector.

Now, like many other programming languages, the designers of C# decided to include several features that allow to make use of certain aspects of functional programming in your projects. The issue I’ve been faced with stems directly from this desire to have a functional approach in a managed language.

Read more–>

Unity3D and Vim on GNU/Linux - Part 1 (2015/10/25)

Apparently the Unity game engine isn’t done following me yet. In my new position I’m again tasked to work with it extensively. Despite my limited appreciation for it, I decided to make my time using pleasant by customizing the script edition process as much as I could.

I initially decided to give VsVim and ViEmu a try in order to get the efficient vim text editing style on Visual Studio. While I ended up liking ViEmu more than VsVim, that wasn’t good enough for me.

In the recent month, an official build of the editor has been made available for GNU/Linux and I’m now using it on my personal machine running Arch Linux. With this came the possibility to use a proper vim installation to edit scripts for Unity. This is what this article will focus on.

Read more–>

GitKraken (Beta) - First impressions (2015/10/14)

The fine folks at Axosoft were kind enough to give me a beta access to their new and upcoming product (?) GitKraken. Since they’re being pretty rad, I decided to go ahead, try it out and whip out a quick article with my first impressions.

Read more–>

Making Mac OS X less retarded more usable (2015/09/09)

As every programmer should know, having total control over one’s workstation is important. If you run any flavour of GNU/Linux you might already be quite versed into all sorts of obscure customizations, from using a very specific keyboard mapping to working with a custom compiled window manager. In the real world however, it’s not always possible to use that kind of stuff. For technological or pragmatic reasons, you might be stuck in an hostile environment against your will. This post is about how I dealt with that particular situation, stranded in the walled garden of Apple.

I spent the last two years working part time for Studio V2. Being an organisation founded by graphics designer, it seemed logical that the company culture revolved around the extensive use of Apple products. As such, my workstation was an iMac. This was a first for me and it led to some frustration, especially during the first few months. However, after some time I managed to make the best of the situation and made that machine truly mine, for the sake of my productivity and sanity.

Read more–>

“Solving” the Windows 10 privacy conundrum (2015/08/10)

A few weeks ago, the fine folks at Microsoft finally rolled out a new version of their flagship product: Windows 10. In an effort to stay updated I decided to grab the upgrade as soon as it was available, a dangerous idea as some people could attest.

This new version comes with a refreshed theme for the GUI, a new icon theme (which I find to be reminiscent of some old 95 style icons), what seems to be a lot of usability improvements, a voice activated assistant and a lot of “cloud enabled” features the kids like these days.

Among all this new stuff are many features that may pose a security and privacy risk. Most of them have to do with telemetry and how the OS handles and shares updates among users.

Many of said features have been dissected by users on places like reddit. With a better knowledge of these features came the ways to disable or impeach them. This something you may want to do and this is what the article is all about.

Read more–>

Creating a self compiling C/C++ source code (2015/07/23)

Here’s a nice trick I use from time to time. I’m just putting it out there so I can better remember it and so that everyone can learn from it.

Read more–>

Installing Datawrapper locally on Debian 8.1 (2015/06/30)

As part of our exploration of new data visualization solutions and tools at Studio V2, I was tasked to install a local instance of datawrapper for evaluation purposes. Datawrapper is a nice web-based data visualisation tool that generates little interactive graphs from raw data.

While the official project’s wiki includes some instructions on how to install your local instance of datawrapper, I didn’t find the instructions to be detailed nearly enough. As such, I’m making this little article to clarify some aspects of the installation process.

Read more–>

“Nuit Du Hack” Wrap Up (2015/06/28)

Last week-end (2015-06-20) I took the time to go to the “Nuit Du Hack”. For those who don’t know, it’s basically it’s a French DEFCON or ShmooCon wannabe; a conference/gathering about information security.

While I’m by no means a security expert, I love to stay up to date with the field, if only to be aware of common vulnerabilities and mistakes done by other programmers and to learn more about the clever ways employed by some people to circumvent the security measures of automated systems. It’s really just a way for me to stay in touch with the state of the art.

This post is meant to sum up what interested me the most among the talks offered during the conference. A full list of the talks is available here.

Read more–>

Neural Networks applied to Data Mining - A little presentation (2015/06/23)

Here’s a little something I did with my group on our course on Data Mining.

Read more–>

Make a shell script runnable from the finder on Mac OS X (2015/05/29)

Once again, I find myself struggling to make something work as it should on Mac OS X. I simply wanted to make a shell script executable.

Read more–>

Creating a Mac OS X application package (from a mono project) (2015/05/15)

I’ve recently been asked to work on a little project and I was free to use the technology I saw fit. Given that the project had to be multi-platform and provide a complex GUI, I decided to go with C# (using Mono) and Gtk#. It’s choice I find to be pragmatic and practical for this particular set of demands.

I work on the project with MonoDevelop (or Xamarin studio (or whatever you’re supposed to call that monstrosity that passes as an IDE now)) mostly because it makes working on Linux and Mac OS X a breeze. As you can imaging, C# and Windows go well together too.

While discussing the technological aspect of the project with a colleague, the subject of Mac application packages came up. You know, these .app files. I decided to look into that for a bit.

Read more–>

An interesting DOSBox adventure: Installing Daggerfall (2015/05/13)

I haven’t payed Daggerfall in a while. It’s been almost 3 years since the last time I visited the Iliac Bay I know that’s a damn shame, but what do you want? I’m always busy.

After a long afternoon of coding on a personal project, a long time friend pestered me inquiring about the early installment of the “Elder Scrolls” franchise. After a brief discussion regarding Daggerfall, my friend asked how hard it would be to “crack” is and get it to run on modern hardware. I promptly told him that Bethesda in their infinite wisdom in a rare display of common sense made the game free a few years back, thus rendering the whole “cracking” part moot. I however warned him that installing the game was a complicated process but that I was ready to assist him in that process…

2 hours, a few cuss words and several trials and errors later, it was done.

Read more–>

Hello World (2015/05/13)

It appears as if I have finally managed to get werc up and running with the blog platform and the comment system (with some help found here and there on the net).

It’s time to start using this Blog thingy as I originally intended it to be: a way to centralize various tidbits of informations that I find interesting, don’t want to forget or may want to use as reference in the future.

While I don’t have any specific theme in mind, most posts will revolve mostly around neat code snippets, links of interest and ramblings.

The journey starts now.

We are now entering hell. Please keep your hands and elbows inside the car.