max_blogger

/Maximilian Batz

About Maximilian Batz

Keine
So far Maximilian Batz has created 6 blog entries.

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 [...]

By | November 24th, 2018|Development|Kommentare deaktiviert für The Crystal programming language and encodings

Alpine Linux first steps

Here’s a short primer to Alpine Linux, specifically for the Raspberry Pi platformWhy Alpine Linux?it’s smallit can be installed by copying files on the FAT partition of the SDit can run from RAM, the filesystem will remain read-only (persisting changes is of course possible)this is very good for embedded systems where power can be cut [...]

By | Oktober 24th, 2018|Alpine Linux, Raspberry Pi Embedded Development|Kommentare deaktiviert für Alpine Linux first steps

Optimizing page size for Shopify–uncomfortable truths

The uncomfortable truth in my case is that our main page currently weighs in at 3,4 MB – and this is just the HTML.I had been trusting the developers of the theme too much – we are using a theme called “Fastor” by Roarthemes. Unfortunately a poor design choice was made in this theme; or [...]

By | August 29th, 2018|Development|Kommentare deaktiviert für Optimizing page size for Shopify–uncomfortable truths

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 will [...]

By | August 12th, 2018|Electronics Legislation|Kommentare deaktiviert für New WEEE Legislation from 15th of August 2018 on

Algolia and using instantsearch.js from your script for Shopify

“Good artists copy, great artists steal.” – Steve JobsInspired by pimoroni.com I wanted to implement a similar search on our webshop, buyzero.de as well. buyzero.de is currently powered by Shopify.The search shows results as you type – in the main page, dynamically replacing the previosly displayed content. Very cool, very useful – and very, very [...]

By | August 11th, 2018|Development|Kommentare deaktiviert für Algolia and using instantsearch.js from your script for Shopify

WiFi Channel 13 & 14 on Alpine Linux aka I can’t connect to my router aka crda configuration

SummaryWhile developing an embedded, read-only test system for a Pi Zero W WLAN port modification we have done for a customer, I ran into an interesting issue.The Pi Zero W suddenly stopped connecting to our router.After some investigation, I managed to find the reason, and fix. The reason: WLAN regulatory domainsIn different countries, different WiFi [...]

By | August 6th, 2018|Alpine Linux, Raspberry Pi Embedded Development|Kommentare deaktiviert für WiFi Channel 13 & 14 on Alpine Linux aka I can’t connect to my router aka crda configuration