Posts by Year

2018

Working Canon PIXMA G3010/G3110 @ macOS

less than 1 minute read

The only way to make this work is by using it vía network, forget about USB. Also, it only works as a printer, not as a scanner, blame Canon for not even imp...

More about Unions in Vala

1 minute read

In a previous post I speculated about adding tagged unions to Vala. Let’s do that again.

Converting Array fields from PostgreSQL in jOOQ

less than 1 minute read

There’s currently a “bug” (not really a bug, but it works for me in MySQL) that prevents jOOQ from reusing a forcedType when it appears as an array instead o...

Unions in Vala

2 minute read

I’ve started to use Kotlin professionally, and keeping an eye on Rust. Both offer a lot of niceties that I wish we could adapt for Vala, but there’s one that...

Back to Top ↑

2017

Tip: Emitting the notify signal in Vala

less than 1 minute read

I needed a way to emit the notify signal of one of my objects from another place, and Vala didn’t show me a straightforward way to do it. If you need it for ...

Back to Top ↑

2016

Replay Edits

less than 1 minute read

Being in the zone is amazing: your productivity skyrockets and the code just flows. Then somebody talks to you, the boss starts to scream discuss things on t...

Abandoned Vala Projects

less than 1 minute read

There was a time when Vala was really popular, and a plethora of Vala apps spawned. A lot of them are dead right now, so since i don’t have time to revive an...

Back to Top ↑

2014

On Vala and Composite Templates

less than 1 minute read

If you want to use the GTK+ composite templates in Vala, please remember: you have to use a GResource. The syntax is pretty simple, here’s an example:

Back to Top ↑