November 11, remembrance day.
November 11, remembrance day.
I’m getting to the point where I have to start doing some wireframe work, so I can sketch out the UX for PART and some other side projects. One great wireframe tool is Balsamiq. Balsamiq offers installers for 64-bit Mac, and Windows, but nothing for Linux. This is a bit of a problem.
Now, wtf is Wine?
Wine is a Linux tool that lets you run Windows apps. Easy enough. I booted up Debian on the X200 and proceeded to install, only to be faced with:
it looks like multiarch needs to be enabled. as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
wine: Bad EXE format for Z:\home\tendim\LAKESUPERIOR\Balsamiq_Mockups_3\Balsamiq Mockups 3.exe.
What the hell does all of that mean?
Did some searching… I have 64-bit Debian installed, but it looks like Balsamiq requires a 32-bit windows installation. However, you can’t blindly perform a:
apt-get install wine32
Because then you get this message:
tendim@Carrot:~$ sudo apt-get install wine32
[sudo] password for tendim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine32 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
E: Package 'wine32' has no installation candidate
Unbeknown to me, there is a wine32 package, but you need to enable multi-architecture; this was the first half of the first error message, “execute “dpkg –add-architecture i386 && apt-get update &&”, which I conveniently ignored.
execute "dpkg --add-architecture i386
apt-get install wine32
Got me what I needed for Wine. Then, I followed the instructions here, and voila!, I now have a working Wine installation.
One final nuance is fonts.. In Balsamiq some text areas weren’t working (i.e. showing garbage symbols instead of actual text). This boiled down to missing fonts. The details are here, but in a nutshell the following got the requisite (minimum) fonts in place:
sudo apt-get install winetricks
Time to get some wireframes going.
The Apple Macintosh has been heralded as one of the most user friendly computing platforms ever, with its full vertical integration of hardware, software, and peripheral devices. The Apple Macintosh, and Mac OS, are typically the epitome of user friendliness and accessibility. But, Apple being a business, effectively locks out older hardware from modern software bliss. Ironically, I had to install the most open source operating system in the world, one targeted at tech-heads and developers, to get my 2006 MBP running again at decent speed with more modern applications.
That said, one of my go-to apps is Remember the Milk, which I use to manage my day to day activities. Luckily, RTM has a Linux version. I run Debian, and RTM offers an Ubuntu version. This makes sense since Ubuntu is arguably one of the friendlier and more accessible Linux distributions. But, Ubuntu is built on Debian, so when RTM releases their app as a .deb package, this means I can download it. Woot!
Conventionally, I use apt-get.. I’m still wading in the shallow end of the Debian pool, but you can install a .deb file manually (i.e. without apt-get); this is mainly because apt-get is a front end to the Debian package manager, dpkg.
That said, thank you Ask Ubuntu @ Stack Exchange:
sudo dpkg -i DEB_PACKAGE
sudo dpkg -r PACKAGE_NAME
Now, RTM is happily running on a 11 year old laptop that the manufacturer has all but abandoned, thanks to some great open source software.
With all of my at-home time, I’ve been reading a lot of stuff online. One major challenge is picking up where I left off, or taking stuff offline to read elsewhere (e.g. on the streetcar to work). Many browers have a Reader Mode which strips down a page to the bare essentials for easy consumption… Currently to make this offlineish the workflow is:
Okay, that is very cumbersome.. Four steps, including an export and an import. And iOS is so crappy that the import is a daunting task.
I found out that Safari’s reader mode is based off of something called Readability. I’ve never heard of Readability, but they are gone, replaced with Mercury. This bears some more looking into. Maybe an app that can slurp content via Mercury, and pump it to a datastore for consumption by other devices? True, you’d need some cloud type stuff to sync stuff, but since I do this from home anyways, a one time wifi sync would be preferred to the hacking steps above to export to PDF, etc.
With our little one here, I’ve been looking for ways to become more mobile, especially with regards to development. At my disposal I have:
Now, the MBP has a great 15″ screen with lots of resolution, but the X200 is truly mobile (e.g. it has a working batter), although the screen is on the small side. So ultimately I will use both machines, but I have to baseline them with regards to development..
To date my development has been using Eclipse CDT on my Mac Mini. The MBP only runs Snow Leopard (10.6.x) and the X200 runs Windows; both of these OSs are unusable for (modern) development. Yes, the X200 also has Ubuntu, but that was just to fuck around, so the entire install is spotty at best. Solution? Fresh installs of Linux on both machines.
I managed to get Debian 8.0 (Jessie) installed on the MBP, and except for the buggy graphics driver, the machine is pretty nice to work on. I worked on that for a week, and today I sat down to wipe Ubuntu from the X200. It was a pretty simple install, with the following caveats:
Because the Internet never seems to keep pages forever, I’m jotting notes down here for future reference. For installing the wifi drivers on the ThinkPad X200, instructions for getting wifi to work were pretty simple after the install was complete. Log in, switch to root (or sudo everything), and:
# Debian 8 "Jessie" deb http://httpredir.debian.org/debian/ jessie main contrib non-free
# apt-get update && apt-get install firmware-iwlwifi
# modprobe -r iwlwifi ; modprobe iwlwifi
For the latter (TrackPoint), you had to:
apt-get install xinput
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
Well, fucked that up.
Ontario has a lovely 4-in-1 process for registering your newborn, getting a SIN, birth certificate, the works. This process combines four things:
It’s a great idea: you leverage economies of scale when doing Step 1, and this information automagically feeds into Steps 2, 3, and 4. To do the latter three items you normally have to have a wack of certified documentation to prove that you are who you say you are. Understandably, this prevents fraud, etc.
However, if you only complete Step 1 and have to abort to continue later, you can not use the same service for Steps 2, 3, or 4. This is nonsensical to me. While I can appreciate not building the infrastructure to “save and continue later,” Step 1 does give you a confirmation number. It should be trivial to use that confirmation number as an input to Step 2, and continue where you left off. Alas, this is not the case.
This means, I have to wait 4-8 weeks for Step 1 to complete (i.e. receive the requisite documentation in the mail), before I can proceed with Steps 2, 3, and 4. And then each of those steps takes 16 weeks.. In total, an 8 week process has now expanded to:
This is a far cry from:
By aborting to continue later, I have effectively added 32 weeks to the process.