Resolving DNS issues after removing Docker package on Ubuntu

March 24, 2017

After installing Docker package docker.io from official Ubuntu repo and then removing it (to install the latest version from Docker's own repo instead), I found that my server could not resolve hostnames anymore (back then I didn't know yet it was caused by Docker though). After reboot, /etc/resolv.conf was blank, although files in /etc/network/interfaces.d/* files were intact and contained the correct DNS servers.

/etc/resolv.conf nowadays is actually a symlink to a file managed by resolvconf, which is being passed DNS server list by ifup on reboot.

What happened is, docker.io package depends on ubuntu-fan package which installs /etc/network/if-up.d/ubuntu-fan script to be called by ifup (and other scripts for ifdown, etc.). When I removed Docker and then ran apt autoremove, it removed ubuntu-fan package, but left the scripts. On next reboot, ifup tried to execute them, but the actual fanctl executable was no longer there, ifup was half-failing and not calling resolvconf, although the interface was up (I'm not sure why, as /etc/network/if-up.d/000resolvconf should be called first and not affected by later scripts).

The solution is to run apt-get purge ubuntu-fan which will delete residual configuration files, and restart the server.

·

Unified dark UI in the next version

February 15, 2017

UPDATE: The new UI style is now available in app version 1.40 released on February 22, 2017.

Currently some of the screens in Dwarf Fortress Remote application use light colour scheme while some use dark DF colours. This is because initially I was going to use the system default UI, however on some screens the data needs to be colour-coded using DF colors which requires dark background, so these screens were made dark. Now I've unified UI throughout the application (except for the screens before you connect to a game for now).

·

Happy New Year, New Zealand

December 30, 2016

Virtually no city decorations, concrete blocks left from of an already-removed Christmas tree on a central square, and a tiny 5-minute fireworks show at midnight - that's all Auckland gets for this (and every) New Year.

·

Dwarf Fortress Remote for iOS is on sale until the end of this year

December 23, 2016

Dwarf Fortress Remote for iOS being on sale, together with the new simplified server installation procedure is a great opportunity to start playing Dwarf Fortress, even if you're spending this holiday season away from a computer.

It's actually fantastic. I was skeptical. No lag, the interface is excellent, and with a few very minor exceptions, it's capable of everything that the full PC game is. In fact, the games are transferable between the two. You can play a game on your PC, and then pick the same game up and play it later on your iPad.

If you enjoy playing Dwarf Fortress, whether via Remote or not, consider supporting Bay 12 Games - Dwarf Fortress authors who rely solely on players' donations for all these years.

·

Host your Dwarf Fortress Remote server on Vultr

December 23, 2016

I have added instructions how to easily host your Dwarf Fortress Remote server on Vultr for $5-$10/month.

In my benchmarks Vultr shows somewhat better performance than Digital Ocean.

·

Simplified server installation and better support

December 22, 2016

New all-in-one packages are now available on the Installation page. They include the latest supported Dwarf Fortress, DFHack and Remote Server in one package to simplify intallation process for new players. Other installation options are still available for those who already has the original game.

Also, Linux & Cloud installation instructions have been updated with a new simpler way to get a Remote server running in minutes on any cloud hosting that supports supplying startup script in "User data".

And finally, our Support section now includes searchable articles to address common installation, connection and gameplay issues. There's just a few of them at the moment, more to come.

·

SoundGrid is to be revived

November 25, 2016

SoundGrid, one of the pioneering matrix sequencer apps, is being updated to support the latest devices and iOS versions.

It's been more than five years since the last release (oh, time flies!), and I'm still receiving emails from users enquiring about plans to fix the compatibility issues, so I decided that I should really do that.

The first release will bring mostly just an updated UI, and then I'll work on new features.

In the meanwhile check out the track Steve Ambient Trip Hop by Stevehat and other tracks published on SoundCloud under #SoundGrid tag.

·

Poor culture of the WordPress community

November 25, 2016

I would have thought that we all have learned that there are bad and unacceptable ways to promote your product - pop-up ads, animated banners, sounds on webpages, unwanted software bundled with shareware product installers (by which luckily only Windows users are ever affected).

The rise of GitHub and decline of SourceForge showed us that developers actually don't mind giving their free software with no strings attached (the overwhelming majority of the published projects use a permissive license), and that this software can be hosted on a neat website without ads and other bad technologies.

Then, the rise of App Store, of Humble Bundle, of GOG showed us that developers don't mind selling their commercial software for cheaper and without DRM protection in order to attract more buyers instead of trying to sell a separate license per computer.

Also, I use adblock in all my browsers and on a daily basis visit just a few websites not having any agressive advertisement anyway, so I do not normally face all this shit often.

That was until recently, when I switched this website to WordPress and started trying various plugins and reading WordPress-related sites when I don't know how to code something. And you know what? It's like a different world with all the bad things I thought I had forgotten about. Most of WordPress-releated sites use popups, most of plugins are GPL-licensed, ugly as hell and full of ads promoting paid versions of themselves or other plugins.

My latest finding which prompted me to write this post is the Simple Content Templates plugin. Its free version is utterly simple and limited - it does not have any settings, it allows to specify only title, excerpt and content in templates, also it doesn't use standard UI for templates list and template editor. However let's count how many ads it has offering to buy the full version:

  • The very first paragraph in bold has an interesting sturcture, basically: "Feature 1, feature 2, feature 3 - if you need any of these, buy the full version". Nice.

  • The template list page, as well as the template add/edit page have a huge 660x165px banner at the top promoting the full version.

  • Settings page has just one setting, and twice more space taken by a list of features of the full version and a big 300x300px logo.

  • Settings page top-right has a email subscription form.

  • Settings page bottom-right shows a panel with information about the author.

  • Help page has the same list of features and a logo thing like in settings.

  • Plugin adds an "Upgrade to full version" menu item to the admin menu.

  • The main function of the plugin is to add a template chooser to a sidebar on the Add Post screen, which basically a drop-down menu and a button. However what takes four times more space is a message that I'm missing out on advanced features and a Buy Now button.

That is, a plugin that does almost nothing, asks for money in quite annoying and obtrusive way in eight places! Ok, I don't really care much, I just uninstall such shit and write my own plugin if I need (can't find a good one) or remove ads from the plugin code. But I really feel for non-IT people who can't do that and have to suffer this humiliation and in the end buy the plugin and support such behaviour.

That being said, I must note that of course there are good plugins that do just what they're supposed to do and respect their users and don't ask for anything (or do that politely). For the plugin in question, there's an alternative called Easy Content Templates which doesn't have all the features of the paid version of Simple Content Templates, but has more than the free one. And a lot of other "good" plugins that unfortunately are hard to find but they exist - later I will write a post with the list of plugins I use for various tasks and alternative choices I've tried.

·