LibEBC & ebcutil

In a previous blog post I wrote about bitcode. Embedding it was already possible for quite some time with Apple’s fork of LLVM that ships with Xcode. Recently, Apple upstreamed (parts of) their implementation making it possible to do the same with the open source clang compiler. However, there are some differences between the two implementations. Bitcode embedded with Apple’s version of clang is bundled into a xar-archive. Metadata such as compiler commands used to create the binary and dylibs which the code linked against, are kept in the archive’s table of content....

October 13, 2016

Word Search Solver

When browsing the Medium homepage I came across this post about #wordsearchwednesday. Although I enjoy a puzzle as much as the next guy, I immediately thought that this was something Haskell lends itself to very well. Less than an hour later I had a working solver. It simply brute-forces the solution by checking every combination with a dictionary. I used the Hunspell dictionaries but anything will do. toSet :: ByteString -> Set ByteString toSet = Set....

February 13, 2015

Arduino Display

As I already mentioned in a previous post, I recently purchased a 4 line LCD display to play around with. It provides an I2C Bus which means that it can be connected to your Arduino or similar microcontroller with only two wires. I could’ve come up with a thousands things to do with this display: using it for showing notifications, as an RSS scroller or as a hardware dashboard with temperatures and statistics....

December 28, 2014

Real-Debrid Extension

Because going to the Real-Debrid website every time you want to unrestrict a link is such a hassle, and their own Chrome Extension doesn’t work, I decided to come up with my own extension. Basically, it adds an item to your context menu (or right-click menu) that unrestricts the selected link(s) and automatically downloads the respective file. Feedback is provided using Chrome Desktop notifications to make the plugin as unobtrusive and light-weight as possible....

August 11, 2014

InTeXration: Compile LaTeX from Github

GitHub is a great platform for collaborating on projects that require versioning. Latex documents such as summaries and reports of college courses are a great example: you can collaborate using the git version control system and make the results public and accessible to interested parties. There is a disadvantage though: git is not suitable for binaries such as the PDFs generated by the Latex compiler. This is a substantial problem: people interested in your document have to clone your repository and compile the source code before they are even able to see the content of your document....

January 17, 2014

ALMA Android App

I know few people who study in Leuven and have never been to one of the ALMA restaurants. ALMA is an mensa academica or in English a student restaurant supported by the KU Leuven. They offer students as well as professors and university crew affordable meals while guests pay a bit more. Although the menu is published on their website, it’s quite a hassle to find out what’s available where. Additionally their website isn’t really mobile friendly....

April 18, 2013

Amblone Ambilight

In this post I’ll show how I built an ambilight alike system for my panasonic TV. I did this using and arduino controller in combination with amblone. This is how it’s described on their website: Amblone stands for Ambilight Clone, and it is an open source ‘Do It Yourself’ solution for imitating Philips Ambient Lighting Technology. It projects light on the wall behind your TV or monitor in the colours that are currently on the screen....

November 14, 2011