Blog

Vorteile von Android™ vs. Linux

Technische GrundlagenAndroid™ basiert auf dem Linux-Kernel, optimiert ihn aber besonders auf embedded Systeme & mobile Plattformen.Android nutzt den Linux Kernel mit einigen Anpassungen. Es unterscheidet sich jedoch grundlegend von üblichen Linux Distributionen, wie bspw. Debian / Raspbian / Alpine Linux.Üblicherweise nutzen Distributionen die GNU C Bibliothek (glibc), und einen X server (bspw. Xorg) für grafische [...]

By | Februar 6th, 2019|Raspberry Pi Blog|Kommentare deaktiviert für Vorteile von Android™ vs. Linux

Building a persistent in-line editing experience with Crystal, MongoDB (datanoise / sam0x17)

As documentation is still sparse, I would like to add some.This is what I am building currently:The individual fields are going to be editable with an inline editor, which will automatically save to the backend – no need for reloading the whole page.The point of the whole is a backend for my company, to be [...]

By | Februar 5th, 2019|Crystal Language|Kommentare deaktiviert für Building a persistent in-line editing experience with Crystal, MongoDB (datanoise / sam0x17)

Q&A LetsTrust TPM

This is a series of questions and answers for our LetsTrust TPM module. If you have an industrial project, and are looking at 100+ units, we’re happy to work with you to modify the product, if necessary. Contact us for details.Is there the possibility to support the TPM module on the Linux Kernel 3.1? Which [...]

By | Februar 4th, 2019|Raspberry Pi Blog|Kommentare deaktiviert für Q&A LetsTrust TPM

WLAN password Anonymebox 3B+

Usually the WLAN password for the Anonymebox 3B+ is set to a random password during manufacturing. It is shipped to you with a silver label, carrying the WLAN password on it which is set.If you order the image, or upgrade from an earlier Anonymebox firmware, there is a default password which is set.The default WLAN [...]

By | Februar 2nd, 2019|Anonym im Internet|Kommentare deaktiviert für WLAN password Anonymebox 3B+

Alpine 3.9.0 initramfs init changes

Alpine 3.9.0 ships a new version of the init script in it’s initramfs.left: Alpine 3.9.0, right: Alpine 3.8.2There are a number of interesting changes:better and earlier networking support for the boot process, with an additional kernel parameter for cmdline.txt: BOOTIF, allowing you to specify the device interface you want to use for boot purposesnetworking is [...]

By | Februar 2nd, 2019|Alpine Linux|Kommentare deaktiviert für Alpine 3.9.0 initramfs init changes

Using nuitka compiler for python3 on Alpine Linux ARMHF (musl)

Motivationpidoctor is written in Python (as there was no easy way to get Crystal to work on ARMHF / musl). This means a dependency on Python – which adds overhead. I suspect that this overhead is the reason that pidoctor will not run on 256 MB Raspberry Pi’s – because the RAM is exhausted by [...]

By | Januar 31st, 2019|Alpine Linux, Development|Kommentare deaktiviert für Using nuitka compiler for python3 on Alpine Linux ARMHF (musl)

Debugging the Alpine boot process

As discussed in my previous post, Alpine Linux goes through several stages when it boots. Just after mounting the boot media, and scanning it for apkovl’s (with nlplug-findfs), there is an option for you to get a console, by setting $SINGLEMODE to yes. Setting SINGLEMODE to yes is easy, you simply add the word “single” [...]

By | Januar 22nd, 2019|Alpine Linux|Kommentare deaktiviert für Debugging the Alpine boot process

kemal-session does not persist data

https://github.com/kemalcr/kemal-sessionAnalyse what is happening with your session cookie. In my case, the session cookie was reset everytime I went to login. I realized, that my idea of cleaning up the old session as a first statement after successful login, before setting up the new session is not a good idea. I suspect, that the browser [...]

By | Januar 22nd, 2019|Crystal Language|Kommentare deaktiviert für kemal-session does not persist data

Using modules in crystal

As your application grows, you would like to move from one big .cr file to separating your code into smaller files.You can use require from your main .cr file to add code from other files:require "./tools/*"This statement will add code from the tools directory, relative to your main .cr file.This will help to separate your [...]

By | Januar 22nd, 2019|Crystal Language|Kommentare deaktiviert für Using modules in crystal

The scope of ecr within crystal: or how do I pass in variables and Objects into ECR templates?

As a beginner in the Crystal language I still struggle to get my head around some of the concepts in it, and develop a feel for coding in Crystal.When I come across difficult problems, which I solve or start to understand, I blog about them, so others can benefit – as lack of documentation is [...]

By | Januar 21st, 2019|Crystal Language|Kommentare deaktiviert für The scope of ecr within crystal: or how do I pass in variables and Objects into ECR templates?