Development

/Development

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

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

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