OfficeTabLoader.Dll Initialization error 4

I’ve bought and installed OfficeTabLoader, as I work A LOT with office documents – don’t know why I didn’t come up with the idea to optimize this before! Anyways, right out of the box I get this Initialization error 4 from OfficeTabLoader.Dll. It turns out that my Antivirus Software (Bitdefender) is the problem: This works…

Weiterlesen

Crystal libevent-2.0.so.5: cannot open shared object file

Today I upgraded my Ubuntu to 18.04. Compiling a file with Crystal gives me the following error: stderr:     /root/.cache/crystal/usr-share-crystal-src-ecr-process.cr/macro_run: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory The library in question, libevent-2.0.so.5 has been superseded by libevent-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent-2.1.so.6 Crystal is of course aware of this…

Weiterlesen

Interview with Simon Long of Raspberry Pi about the Raspberry Pi Desktop, UI design, and much more!

Important background information: this interview was done in early July 2018, so some applications to which Simon refers might already be released, etc. Max: This is the interview with Simon Long of the Raspberry Pi Foundation who is mainly responsible for Raspbian the desktop OS. Simon: That’s right. Max: Many applications like VeraCrypt release binaries…

Weiterlesen

Crystal & Alpine on the Raspberry Pi

Bringing together two interesting technologies: Alpine Linux – a small-size and security oriented Linux distribution Crystal – a compiled language with a nice syntax (similar to Ruby) on the Raspberry Pi (armhf / ARMv6, which would also support the Pi Zero W) is not possible currently, as of 21.12.2018. There is no (at least no…

Weiterlesen

Crystal: crystal language Duplicate trail found

max@morpheus:~/crystal/taxgod$ crystal run src/taxgod.cr Unhandled exception: Duplicate trail found ‘vat-correction’ (Radix::Tree::DuplicateError) from lib/radix/src/radix/tree.cr:0:11 in ‘add’ from lib/radix/src/radix/tree.cr:149:11 in ‘add’ from lib/radix/src/radix/tree.cr:149:11 in ‘add’ from lib/radix/src/radix/tree.cr:108:9 in ‘add’ from lib/kemal/src/kemal/route_handler.cr:49:7 in ‘add_to_radix_tree’ from lib/kemal/src/kemal/route_handler.cr:21:7 in ‘add_route’ from lib/kemal/src/kemal/dsl.cr:12:1 in ‘post’ from src/vatcorrection.cr:26:2 in ‘__crystal_main’ from /usr/share/crystal/src/crystal/main.cr:97:5 in ‘main_user_code’ from /usr/share/crystal/src/crystal/main.cr:86:7 in ‘main’ from /usr/share/crystal/src/crystal/main.cr:106:3 in ‘main’…

Weiterlesen

The Crystal programming language and encodings

Recently I found myself struggling with setting up file encodings correctly in the Crystal programming language, this is why I document this here. Crystal defaults to reading and writing files in UTF-8. Sometimes you will encounter files encoded in e.g. the Windows-1252 code page. (This is the western european code page, e.g. used for German…

Weiterlesen

Alpine Linux first steps

Here’s a short primer to Alpine Linux, specifically for the Raspberry Pi platform Why Alpine Linux? it’s small it can be installed by copying files on the FAT partition of the SD it can run from RAM, the filesystem will remain read-only (persisting changes is of course possible) this is very good for embedded systems…

Weiterlesen

New WEEE Legislation from 15th of August 2018 on

With the directive 2012/19/EU of the European Parliament and of the council on the 4th July of 2012, a new legislative base for the Waste Electrical and Electronic Equipment (WEEE) has been created. Starting with the 15th of August 2018 the so-called transitional period, defined in this document ends. This has massive repercussions, as we…

Weiterlesen