Static Websites with Terraform, Netlify and NS1

I have been administrating servers since I was a teenager and I always have an NAS running at my place that I build that does various other things for me that warrant local presence. And I have some proxy servers I use to thwart the region locking by the ip trolls that run the entertainment industry. But I’m also getting to the point in my life where I want to do as little server administration as possible. Sure, administration has gotten quite a bit easier over the years. But if I can avoid paying for ec2 instances, I will. If I can avoid having to worry about installing all the right versions of interpreters and libs on servers, I shall.

Continue reading Static Websites with Terraform, Netlify and NS1

Problem Updating Samba in FreeBSD

Usually updating FreeBSD versions is pretty easy for me, but I did run into a hiccup during portmaster -a:

Installing samba44-4.4.16_1...
pkg-static: samba44-4.4.16_1 conflicts with p5-Parse-Pidl44-4.4.16 (installs files into the same place).  Problematic file: /usr/local/bin/pidl
*** Error code 70Code language: JavaScript (javascript)

Apparently samba now comes with its own pidl due to a bug in the perl version of it. So deleting the package first fixed the issue:

pkg delete -f p5-Parse-Pidl p5-Parse-Pidl44
Code language: Bash (bash)

Create Inline Data from csv in Haxe

One of the things that makes haxe really powerful but can be intimidating is their macro system. With it, you can write code that generates code at compile time, allowing you to do useful things like checking the validity of data files or even transform them into literals in the code. There’s much more you can do with it, but loading data at compile time is something I see a lot in game development (including castle, which I blogged about previously).

Continue reading Create Inline Data from csv in Haxe

Developing Castle on Mac

The instructions in castledb‘s README.md don’t cover Mac. I might suggest to ncannasse to add some but only after I’m sure the way I’m doing it is the best way to do it. Or, conversely, if this is now how it has to be done regardless of platform because of changes to nwjs. In short, just like for other platforms, I compile first:

haxe castle.hxmlCode language: Bash (bash)

Then change to ./bin and I directly run the executable. It doesn’t matter if you copy it to that directory or just install it in /Applications and run from there but here I do the latter:

./nwjs/nwjs.app/Contents/MacOS/nwjs --load-extension . .Code language: Bash (bash)

Also two of my minor fixes have been merged in as of this morning so now ctrl+Q actually quits, etc. Stay tuned for a bigger improvement that I need for a game I’m working on.

Write Runes on Your Computer

This blog post originally appeared on my blog at webbmaster.com, which I’m taking down to consolidate with this personal blog. The timestamp is set to the timestamp from the original blog post.

I wrote a post with this same title ages ago on my old blog, which I don’t really feel like bringing back (something about being haunted by things I wrote 15 years ago). But I swear, this post is better anyway! [note: you are reading this on the original blog in terms of the domain, though old posts haven’t been restored]

So in short, there are fonts out there that let you write runes or other ancient sets of characters, but they map the symbols to Roman characters. Meaning you type ‘a’ and you get ᚪ. You change to a different font, you get an a instead of an ᚪ. That’s fine if you’re able to force the text to use a certain font and only that font or if the final product is an image, not text.

Continue reading Write Runes on Your Computer