Fix Facebook’s “Not Authorized” when using an external chat client

This problem has been discussed in a couple of places for MONTHS now. If neither of those solutions worked for you, may this one will. If you have two-factor authentication enabled (and you should) then don’t use your main facebook password that you log into facebook.com with, and don’t bother with the SMS codes. Instead, you …

Fix corrupt EDID in Linux running ATI/Catalyst/flgrx drivers

  I couldn’t set the native resolution on one of my monitors after I installed ATI/AMD’s proprietary Catalyst drivers. With the open-source radeon drivers, you could at least throw some badly documented settings into a custom xorg.conf file and have X ignore a corrupt EDID and accept custom ModeLines. Sadly, the fglrx (Catalyst) drivers don’t …

Recovering files from a fudged docker container

While cleaning up old images/containers, I accidentally removed an image that other images/containers depended on. After that, my trusty LEMP container broke. This isn’t supposed to be possible in the latest version of Docker, but if you find yourself in the same boat, here is what I did to recover some important files: Note: I …

Program better with the help of a smoothie!

Alternative title: “Improve your morning programming with this one trick that Project Manager’s don’t want you to know!” I feel great in the morning: focused, clear-headed, not waiting for lunch to roll around. No sugar-crashes. An entire day may pass without feeling tired or hungry. But this is a recent state of affairs! A long time …

How to setup a LEMP server inside a Docker.IO Container

updated August 7th, 2013 incorporating fixes by Mr. Chizzlebear. Docker is awesome. There are great explanations of what it is and how it works in this awesome collection of quotes. In this tutorial, we will setup a self-contained LEMP (GNU/Linux, Nginx, MariaDB, PHP-FPM) stack inside a minimalist Ubuntu 12.04 Docker.io container. Note: I’m new to …

The Bug Amendment

The way most software companies handle bugs is a giant meat grinder that churns out cynical and bitter users. I propose a higher set of expectations for software. The Bug-Amendment to the (the quite frankly non-existant) Software User’s Bill of Rights 1) Users will have an easy way to submit bug reports about their software. …

Better Augmented Reality with Project Glass using Image Based Lighting

Like most ideas, someone has already had the gist of it a few years ago [4]. But it would be an awesome fit for Project Glass. We could render realistic 3D models in Augmented Reality using some old concepts from movies [1] and new concepts from video games [2] [3]. Since the video capture system is …

The new plastic

This is all one physically based material with various roughness parameters. Different levels of roughness mean different prefiltered phong reflection cubemap lookups, hence the various degrees of clarity in the reflections and highlight sizes. The car kind of reminds me of Activision’s Interstate ’76. The roughness parameter affects both diffuse and specular. Below you have …

The reality of app dev

Creating an app is a long, expensive, and generally thankless process (something I want to change). A typical app costs $25,000 and 3 months to build. Half of the time you don’t earn enough to cover costs. The other half of the time, you have to wait 9 months to break even. *typical = 95% …

Code Free Acceptance and Integration Testing

In Ruby on Rails this is made possible through Cucumber, in PHP it’s possible using Behat + MinkExtension. Behat is the integration testing framework, and Mink is the magic for easy code-free web-based acceptance test. Wouldn’t it be nice if you could describe how the application was supposed to work in plain English.. and all …