I built a multiplayer voxel browser game engine

Posted on 2023-04-25

TLDR; This post is a retrospective on a multiplayer voxel browser game engine I built. This post will cover the squishy storytelling side of the project, and the accompanying code repository has all of the intricate technical details. This post is essentially a 2 part post. Read this and read the repo README. Context This project is a bit old and stale at the time of this post. Some of the tec...

Read more...

Using Next.js for static sites

Posted on 2023-04-13

Good news everyone. I can post here again, thank you Next.js. If you check the history of post dates here you can see some large gaps between updates. Until recently this site was powered by Jekyll and hosted on Github static pages. Jekyll had high entropy and every-time I wanted to do a spontaneous post I would have to update Jekyll and all its dependencies and usually update Ruby. Oftentimes thi...

Read more...

Dasung Linux Driver Decompiled

Posted on 2018-12-13

This is a follow up to the Dasung teardown post in which I decompile the software drivers. Dasung ships their monitors with a Linux driver that is sadly limited to the Ubuntu amd64 architecture. The driver can be downloaded from: Dasung driver download page I have decompiled the drivers and uploaded them to github at: Dasung linux drivers source code decompiled I was naively hoping I could hack th...

Read more...

Dasung Paperlike Pro Teardown

Posted on 2018-02-11

Disclaimer This is my first real electronics, hardware project. I'm picking this up as I go. I don't yet have a mature mental model on electronics. I appreciate any guidance and coaching in the comments. Building a DIY E-ink or Epaper laptop This is a follow up to my previous Dasung Paperlike Pro Review post. For visitors landing here, a quick recap. The Dasung Paperlike Pro is billed as ...

Read more...

Dasung Paperlike Pro(grammer) Review

Posted on 2018-01-12

I recently purchased a Dasung Paperlike Pro 13.3 E-ink monitor to use for coding, reading, and terminal work. I have many thoughts on the overall e-ink market and consumer experience. I will save them for another post. This post will be brief and focused on personal expectations with the Dasung. Additionally, there are many other, more thorough reviews online demonstrating the capabilities of the ...

Read more...

Rapid Local Development with Vagrant, Docker and Node.js

Posted on 2015-06-07

TLDR Using a cascade of Vagrant shared directories, Docker volumes and cleverly placed symlinks, you can rig Vagrant and Docker to instantly reflect your local application code updates. Docker volume -> Vagrant shared directory -> Host machine code. Enable NPM link style development in Docker container. Dosen't cover gulp

Read more...

How To Route Docker.io Containers To Public IPV6 on Linode

Posted on 2014-06-25

If you want to us ipv6 with docker.io on linode make sure you have the following sysctl set net.ipv6.conf.all.accept_ra = 2 net.ipv6.conf.all.forwarding = 1 Then you can pretty much follow this post http://zargony.com/2013/10/1...

Read more...

How To Manage Javascript Callbacks

Posted on 2012-09-30

tldr; Abstract anonymous functions into named functions to avoid nesting callbacks. Avoid using local variables of a shared scope in nested anonymous functions. Abstract large JavaScript object declaration into smaller generator functions. Or 'How To Avoid Callback Hell'. I have been mea...

Read more...

Disable Any Element With jQuery

Posted on 2012-07-05

In HTML the disabled attribute alows you to mark an input element as 'disabled' Which will trigger the browser to render the input in a 'greyed out' style: Enabled elements Click

Read more...

jQuery Autobox Plugin

Posted on 2010-10-30

I have worked on several site designs that expect form inputs to render with a default value. Upon focus of the input the default text should clear and allow user input to stick. Sometimes the design calls for this to happen with a password field as well. Password fields are a special condition as the text is rendered as dots. You cannot dynamically change the 'type' attribute of...

Read more...

IE Button Bug

Posted on 2010-09-05

I recently encountered an annoying bug in multiple versions of IE regarding forms and button elements. I am writing about it to remind myself in the future and to hopefully save time for someone else. The bug spawned from my decision to use <button> elements over <input type="submit"> elements as the submit buttons for my forms. I chose button ele...

Read more...