Not a bad theme song for when a problem is solved.
The Dribbblisation of Design. I’m not so much in the design world, and I don’t know enough about Dribbble to have an opinion one way or another about it. With that said, there are some good points in this article, namely that the user should come before the pretty pictures.
I also like the referenced construct of four layers to design: Outcome, Structure, Interaction, Visual. These four are supposed to be in series, so the outcome design comes before any other, etc. It’s a handy, simple enough thing to keep in mind.
Announcing new Yum repositories for MySQL. This is a big deal, for anyone running MySQL or a related product. It was MariaDB‘s yum repositories which made it easy for me to migrate to v5.5 from 5.1 in CentOS.
With MySQL 5.6, Oracle is on a rather different tack than MariaDB. It’s adding some interesting features, too, which make it compelling to try or use in certain circumstances. For the known future I’m likely still sticking with MariaDB, though this is definitely a great option.
In Ubuntu 13.10, in the package initramfs-tools, I was hit by this bug. I put in the eighth comment, which I won’t duplicate here. It’s spooky that this happened in a released product. Other people had the same problem, too.
Sure, 13.10 is not an LTS release, though it’s a good example of how complex operating systems can be, and how testing everything is a difficult task.
Recently announced, Lightbeam is a super interesting project. It’s a plugin for Firefox that allows you to track how sites track you. It’s primary function is to visualize how sites are connected, and to show connections to the sites that you are not visiting directly but which are likely collecting your information.
There is the chance, too, for you to upload your data back to Mozilla, so they can build a better graph of how the web in general is connected. That part is entirely opt-in, and there are warnings before you go through with that option.
Another gem seems to be the option to block sites which the plugin has seen. You can, for instance, block google.com, which then disallows the browser from visiting any site within that domain. There is, of course, a large warning that going too far with this option can have unintended consequences. I love the NoScript and Adblock plugins, yet this goes one step further in preventing any traffic from these domains, not just scripts or objects, respectively. Well done.
Auto-commands in vim are pretty neat. I’m not sure if I’m sold on using this full time yet, but I thought I’d set something up such that whenever I saved a PHP file, I would automatically run the built-in linter to check that at least the syntax isn’t having any severe problems. Luckily, this is pretty easy to do:
autocmd BufWritePost *.php !php -l %
I used the Font Viewer application to look at a font I had downloaded, and then tried out the “Install” button. Well, the font got into my system rather quickly that way, though I had no idea how to take it out.
I doubt too many people care about removing fonts, though I wanted to install ten of a family in one shot rather than clicking around to each one.
Font Viewer copies the font into the home directory, in
.local/share/fonts/. You can remove the files stored there, at which point the system is generally pretty good about refreshing automatically to get it sorted out.
In Ubuntu, you can install fonts just by copying them to
/usr/local/share/fonts. This makes it easier to install en masse, to migrate to other systems rather than having them strewn about.
fc-list is a great command which shows you the list of all fonts, and where they are installed. Pipe this into a
grep command and you can easily find where a particular font lives, or where you have its various copies.
fc-cache -v -f will manually refresh the font cache, which you should probably run as root. I didn’t need to do this myself, since though if you wanted to run it for whatever reason, that’s the way to do it without hunting for man pages.