== sub-pop ==

Connecting to the IRCCloud bouncer using Polari (or any Telepathy-based client)

telepathy irc mission control mc-tool polari bnc bouncer
Polari is my preferred IRC client. Its dead-simple interface makes it the perfect choice for a client to avoid all the embedded images and animations that riddle chat platforms these days. IRCCloud is a excellent service that modernizes IRC with some features that are nice to have in an IRC client (persistent connections, message history). On top of that IRCCloud offers a bouncer to which other clients can connect. Getting Polari connected to the IRCCloud bouncer isn’t straightforward however. Read more...

Egregious Python Type Violations

requests.exceptions.ConnectionError inherits from requests.exceptions.RequestException, which in turn inherits from IOError which in turn inherits from EnvironmentError. EnvironmentError is described as containing a 2-tuple value: on element 0, errno and on element 1, strerror (presumably a string description of the error). For example: try: f = open("/foo") except IOError as e: print("errno: %s" % e.errno) print("strerror: %s" % e.strerror) However, requests seems to take this concept of the 2-tuple errno/strerror pair to the extreme. Read more...

Running OpenStack in Vagrant via RDO

This is how to run a single-node OpenStack cluster using the RDO project‘s packstack installation utility. I packed everything into a Vagrantfile so it can easily be redeployed. Huge credit goes to codingpackets.com for providing the answers.cfg and network requirements. I don’t honestly know yet why the network requirements are such; I just know this works. In a new directory, create a Vagrantfile containing: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant. Read more...

Common Job Description Mistakes

When writing a job description, don’t make these common mistakes or fall prey to bad trends. Don’t Sell Your Company We’re a data-driven marketing channel big-data warehousing engagement analytics real-time data set enterprise-ready cross-functional target and engage consumers uniquely managing multiple access results of data science. I have no idea what you do. Instead, describe the job in words engineers understand. We make a Django application and host it on AWS. Read more...

Fedora Server on Meerkat

Fedora 23 Server installs with only a couple minor tweaks onto a System76 Meerkat (meer1). I chose to install from the closest mirror, and installed the latest updates to get the 4.3.x kernel. I’m not sure this was necessary, but I wanted to make sure I had the latest kernel packages available. Install as normal, but before rebooting, switch to a TTY (ctrl + alt + f2). # chroot /mnt/sysimage # dnf update # dnf install iwl7260-firmware NetworkManager-wifi wpa_supplicant Then reboot. Read more...

Using an Apple Superdrive on Fedora

superdrive apple
As described on christianmoser.me, in order to use the Apple Superdrive on Linux, you need to add a custom udev rule (/etc/udev/rules.d/99-superdrive.rules). # Initialise Apple SuperDrive ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="/usr/bin/sg_raw /dev/$kernel EA 00 00 00 00 00 01" However, by default Fedora doesn’t ship with sg3_utils installed by default, so you’ll need to install it.

Star Wars album covers

artwork music
From time to time, I’ve been known to create my own album covers for things. I’ve done a MST3K variant, and this time I wanted to streamline my collection of Star Wars soundtracks. Inspired by The Force Awakens. Download (includes covers for all 7 movies) This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Running hugo on Openshift

go openshift
Running Hugo on Openshift I moved my blog/site from Ghost to hugo. Since Ghost is a Nodejs app, it was easy to deploy in Openshift. But hugo, a static site generator was not. I looked at hacking up the Jekyll cartridge, but in the end decided to build my own. Maybe I’ll convert this into a cartridge at some point. This isn’t really mean to be a script. Mostly a recipe for you to follow along. Read more...

Better Font Rendering in Fedora

I’m not going to go into the philosophical argument about free software. If you want better font rendering, this is what I do. Enable rpmfusion and install freetype-freeworld Copy /usr/share/fontconfig/conf.avail/10-autohint.conf to /etc/fonts/conf.d/ Edit /etc/fonts/conf.d/10-autohint.conf and replace “append” with “assign” In GNOME Tweak Tool -> Fonts, set Hinting to ‘Slight’ and Antialiasing to ‘Rgba’

Fedora 23 on System76 Oryx Pro

I recently bought a System76 Oryx Pro, and have been getting myself familiar with it. Not satisfied with Ubuntu and Unity, I set out to install Fedora 23. Pre-installation In order to boot using the NVIDIA proprietary driver and still have access to a VGA console (rather than a blank screen), I found I needed to disable UEFI in the BIOS setup and install Fedora in BIOS mode. I don’t really see what I gain from booting with UEFI here, so I found this to be a pretty easy thing to leave off. Read more...
1 of 2 Next Page