Categories News

Writing a new Flarum extension on Ubuntu

September 06, 2018 [Tech] In a previous post I described how to install Flarum locally on Ubuntu. Here is how I set up my development environment on top of that setup so I was able to write a new Flarum extension and test it on my local machine.…

Read More
Categories News

Coding up a circular buffer with Jez

August 21, 2026 [Programming, Rust, Tech, Videos] More coding with Jez and Andy. We’re continuing working on our gunzip clone: we know we will need to be able to look back while we are encoding at recently-written bytes, so this time we’re writing a look-back buffer. We could…

Read More
Categories News

My experience upgrading to Elm 0.19

September 12, 2018 [Elm, Programming, Programming Languages, Tech] Elm is unstable, so upgrading to the next version can be painful. Here’s what I needed to do to upgrade from 0.18 to 0.19. Replace elm-package.json and tests/elm-package.json with elm.json – e06f5a1728 Switch to the new elm-test – b964b7c7a Re-arrange…

Read More
Categories News

Graft Animation Language on Raspberry Pi

Because the Rapsberry Pi uses a slightly older Python version, there is a special version of Graft for it. Here’s how to get it: Open a terminal window by clicking the black icon with a “>” symbol on it at the top near the left. First we need…

Read More
Categories News

Godot: 2D shapes bouncing off each other video

Add a comment Your comment Comments welcome. I review them manually, so there will be a delay before they appear. Markdown is allowed. To prevent spam, please type ‘Scheme’ below: Andy’s home page Categories Sitemap RSS Feed No AI was used to create this site or any of…

Read More
Categories News

Godot: Dragging and dropping physics objects video

November 08, 2018 [Games, Godot, Programming, Programming Languages, Videos] Series: 2D Shapes, drag and drop, new objects Continuing to explore the Godot 3 game engine. I want to make a game where you drag blocks around and balance them on each other, but I couldn’t find much documentation…

Read More
Categories News

You must rewind your incoming buffer when you fail to encode a character in a CharsetEncoder or you’ll get an IllegalArgumentException

November 09, 2018 [Java, Programming] I am writing a CharsetEncoder in Java, which is my kind of fun. I was getting a mysterious error when I identified that I could not encode certain characters: Exception in thread "main" java.lang.IllegalArgumentException at java.nio.Buffer.position(Buffer.java:244) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:618) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:802) at java.nio.charset.Charset.encode(Charset.java:843) at…

Read More