Posts

Showing posts from May, 2016

How to fix the Unbound module Graphics in an ocaml project

Image
From ~/pr/gitl/ocaml-gol In a constant effort to learn new programming languages, I'm currently trying to use ocaml , a free and open-source general-purpose, multi-paradigm programming language maintained at the Inria . It's basically an extension of Caml with object-oriented features. I'm mostly interested by its functionnal and pattern matching features but the module part of the language can be a bit difficult to understand for someone with little to none ML (Meta Language) background.   The error When trying to use the graphics module to create a graphical window and go just a little further than the simplest helloworld program, here is the result : If the project uses dune : (executable (name ocaml_project) (libraries lwt.unix graphics) ) with this code : let () = Printf.printf "Hello, world!\n";; Lwt_io.printf "Hello, world!\n";; Graphics.open_graph " 800x600";; The first times I built this project running the du

Building rigs of rods on Debian

Today, I tried to build  Rigs Of Rods  from sources.While building dependencies with the official wiki  documentation worked but I had a strange issue with the cmake . command :

Building openmw on Debian Jessie

openmw  is an open source project rewritting Morrowind 's engine, you'll need the original game to play. It's difficult to build openmw on Debian because we can't find all dependencies in official apt-get repositories. Here is my solution. I'll not list all depndencies needed to manually build openmw, many of these libraries ( Qt4 ,...) can be found using official packages manager ( aptitude , synaptic ). But some libraries can't be found.

How to use syntax highlighting with Blogger

Here is a development-themed blog, so I need a way to show you code fragments. The solution I would to test is  code-prettify . Before you modify the blogger's template, go to the template tab and download a complete backup of the current one. Modify the HTML code and add this line just before the </head> tag. You have to choose options before inserting loader code, because you'll have to change the URL. The base URL is  https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js then, if you want to change the skin you have tp append  ?skin=sons-of-obsidian to the URL. Please read  official documentation  for more informations and examples.

Adding a screenshot in a github's README.md

Today's work is about a ruby project hosted at github.com :  todo-summarizer , a tool I use to compute weekly statistics on my development tree, and the task is to enhance project documentation. The github -flavored markdown -based README is already quite explicit but it tends to show this tool only has a terminal output, but since todo-summarizer also offers a GTK -based GUI, I'd like to add some screenshots of the running application.

Mrt-manager and the meteor update process

Image
This day was finally lost; dedicated to a side project called  mrt-manager , my first public project written in meteor , a javascript framework. The first thing in a meteor day is to see if it need an update using the meteor list command. If some packages version are followed by an asterisk (*), I generally issue a   meteor update one. Today, this command failed.