uptime

By , 2014-07-31 15:32

I noticed that my workstation has been up essentially since I made my last blog post.
129 days and counting.

 $ uptime
 15:22:40 up 129 days,  2:41,  5 users,  load average: 1.88, 1.91, 1.93

This system also hasn’t been re-installed since November 2012. The initial install was done using the Ubuntu 12.10 “Quantal Quetzal” CD on November 20, 2012. I’ve since upgraded to every interim release – 13.04, 13.10 and now 14.04, and used a host of different desktop environments and window managers (currently using i3). The PC actually hasn’t been rebooted since installing 14.04; I only restarted X.

matt@work:/var/log/installer$ ls -l
total 1532
-rw------- 1 root   root   1303 Nov 20  2012 casper.log
-rw------- 1 root   root   3856 Nov 20  2012 debug
-rw-r--r-- 1 root   root 420116 Nov 20  2012 initial-status.gz
-rw-r--r-- 1 root   root     59 Nov 20  2012 media-info
-rw------- 1 root   root 747016 Nov 20  2012 partman
-rw------- 1 syslog adm  377562 Nov 20  2012 syslog
-rw------- 1 root   root     17 Nov 20  2012 version
matt@work:/var/log/installer$ sudo cat media-info 
Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
matt@work:/var/log/installer$

 

Selection_111

Windows XP

By , 2014-03-22 15:03

Windows XP is going out of support next month.. This means Microsoft will no longer provide security updates or any patches for the OS, leaving users of the 12-year old version of Windows more vulnerable to emerging threats.

On this occasion, let’s take a moment to put dear old WinXP’s age in perspective. But first, some mood music:

When Windows XP was released…

Bill Gates was still CEO of Microsoft.

APW2001110119927

Gates with his new baby. Also Alias.

Friends, Buffy the Vampire Slayer, The X-Files, Frasier and Sex and the City were still airing new episodes.

btvs_s6e8

Vampires were still scary.

Friends Gets 11 Emmy Nominations

The one where Monica and Chandler are married and Rachel is freaking out.

We had yet to see shows like The Office, Arrested Development, House and How I Met Your Mother.

house-md_0001 2

There was no Gregory House in 2001.

The current-gen iMac had a CRT display.

imac_indigo

This was the competition.

There was only The Matrix.

matrix_revisited copy

This was true in 2001.

The “War on Terror” had only just begun.

The President of the USA.

The President of the USA.

The BlackBerry 950 was the current model.

rimblackberry950-1356315472-1

Portable productivity for the business professional.

How to buy technology

By , 2014-01-09 19:28

Being  a “computer” guy, I often get asked all kinds of questions related to technology.

Some questions that come up quite often are “What kind of laptop should I buy?” or “What do you think of [insert name of tablet]?” or “My laptop is old. I need a new one, but I’m thinking of Windows 8/iPad/Android instead. What are your thoughts?”

The best advice I can offer anyone is:

What are you looking for in your electronic device?

Whether you’re shopping for a car, a house, a phone etc. it helps to know what you’re looking for. If you work in construction and need to haul 2x4s and bricks and things fairly often, a sport coupé is probably not the right car for you. Likewise, when picking a mobile computing device, you should think about what you need the device to be able to do. So, before shopping, take a step back and evaluate your needs and wants for your mobile computer.

So, before even looking at the latest Best Buy flyer – a few questions to ponder:

  • What are the workloads? Word processing, web browsing, YouTube (HD), e-mail, gaming, music, photo editing, etc.
  • What kind of apps do you want to use?
  • Where will you be using the device? In class? On the train/bus? In meetings? At your desk?
  • Will you be carrying the device a lot? In a bag?
  • Are you looking for something stylish? flashy? durable?
  • Do you really need a portable device? Desktop computers are still a good option, and there are interesting all-in-one options.

There are all kinds of technology form factors today, and more being created all the time. Everyone’s needs and preferences are different, but there’s probably a device that’s just right.

Keyboard test

By , 2013-09-16 02:17

– Are you mad at your computer?
– I type with purpose.

Is a mechanical keyboard really better to type on?
I’m not sure yet but it certainly is louder. It’s really loud. I washed this keyboard this morning, getting rid of 20 years of dust and grime. Hopefully I didn’t damage the electronics with all the water. It seems OK now, but earlier I was getting some double letters. The model M is a buckling spring keyboard. Some say that’s the best type of mechanical keyboard. Never tried others myself – Cherry MX switches and the like. Those fancy keyboards from Filco and Das Keyboard look great, but I still can’t see myself paying $100 for an input device. I suppose I don’t really spend enough time actually typing for it to be worth it. This particular Model M was salvaged from the trash bin. It’s a cool white colour and not the usual grey/beige. It’s also branded Ambra (a Canadian IBM brand) rather than IBM or Lexmark. Manufacturing date is 1993. I’m also currently using an IBM PS/2 mouse. It’s actually a fantastic quality “ball” mouse, way better than the late cheap OEM mice that came with PCs in the early ’00s before optical mice became the norm. The mouse is light, the cursor responds great… if only this thing had a scroll wheel.

OK, now that I’ve typed a few lines on the mechanical keyboard, let’s try the total opposite.

Here we go, typing on an Apple Aluminium keyboard. Chiclet-style keys, virtually flat – identical to MacBook keyboards. Very different feel when typing, obviously. Hands are also in a different position, this keyboard is very low to the table. I’m actually not sure which one I prefer. I feel like there are a lot more “shocks” going through my hand when my fingers hit the keys on the Apple keyboard, since the key travel isn’t very far. This keyboard is actually surprisingly loud, especially the space bar. Having volume function keys is nice.

Let’s try the IBM again.

Back on the Model M. A lot more noise. How about the typing feel? It feels pretty good. More natural to type on here than on the Apple. I had read online something about not having to press the keys as far since the keys actuate before actually being pushed in all the way. Not sure if that’s how I’d describe the feeling of typing on here. The thing that strikes me most is the really springy feel – which is to be expected, after all, the keys each have a physical spring underneath them. I’m going to have to try a typing test using both keyboards to see how many WPM I get. The model M seems to have issues with Backspace sometimes. Probably due to the PS2 to USB adapter I had to use to connect it to the laptop.

Canada Day fireworks GIFs

By , 2013-07-02 13:22

IMAG1109_BURST010-MOTION IMAG1108_BURST002_COVER-MOTION IMAG1110_BURST003-MOTION

Cost savings: Follow-up

By , 2013-06-14 18:01

It’s been a few months, probably a good time to see how I’m doing with my cost savings goals.

1. Cancel Fibe TV. Haven’t done it. I seriously made an effort though, but I can’t receive OTA HDTV in my apartment. Turns out despite being on the 29th floor, I have no line of sight with the CN tower or any other local broadcast tower. I did however cut down my subscription package to the absolute minimum and got the Fibe Internet “dependency” reduced to $0 monthly.
2. Cancel landline. Well, I didn’t do this one either. It kind of ties in with the first point; I did get the price reduced enough that it costs less than the dry loop I’d need if I did cancel.
3. Be more energy conscious. I’ve been making sure to switch off any electric service when not necessary. I don’t leave my desktop computer on all the time anymore, my home server is a low power, compact system.
4. Move to the cloud. Nothing done on this front yet.
5. Cancel personal smartphone. Done. I no longer carry two smartphones, I’ve settled on an HTC One (great device) as my only phone. Saving more than $50/month.
6. Stop buying random stuff. Well I haven’t really bought random tech, but I did go on a trip to Greece… Expensive, but so worth it!

So, overall, not doing too well. But I think it’s a start.

Cost savings

By , 2013-04-06 11:23

Lately I’ve been reviewing my finances. I haven’t exactly been frugal over the past few years, and now that I’ve moved into a proper (and considerably more expensive) apartment, it’s time to grow up and take responsibility.

So far, I’ve found the following cost-saving opportunities:

  1. Cancel Bell Fibe TV. As cool as I find IPTV, and despite the convenience of having loads of TV channels with a PVR, the fact is I don’t really watch that much TV. I do most of my media consumption via the Internet (like most other kids these days), and probably 80% of my live TV watching consists of CBC (The National, Strombo) and CityTV (BT, Community, Parks and Rec) – both of which are available in ATSC HD over-the-air here in Toronto. Combine that with XBMC‘s new PVR functionality and there’s no real reason to keep a TV service.
  2. Cancel landline phone. Yes, I still have a landline. Landlines are cool. (I think I see a recurring theme here…) When I was little (and unburdened with privacy concerns) I loved the idea of being listed in the white pages. Later on, the PSTN gained a certain mystery, hearkening back to the days of dial-up internet, phreakers with their boxes, live telephone operators, teenagers wanting their own phone lines, all the way back to the early 20th century. But the fact is that now in the early 21st century, the age of the PSTN is past. I’m not even sure I make one voice call a week outside of work. It’s gotten to the point where I once flashed a CyanogenMod nightly onto my phone and used it for a week before realizing the Phone app was broken. All that and the simple fact that landlines are freaking expensive. Bell wants $28.98/month before tax for “Home Phone Lite“. Freephoneline.ca offers a VoIP number for $0/month.
  3. Be more energy-conscious. For the first time, I have my own hydro bill. I went out and bought a Kill-A-Watt and started checking all my electronics’ and appliances’ power consumption. More on this later.
  4. Move to the cloud. The public cloud, that is. I have a 1U server in a datacentre in Missisauga hosting a few VMs, including this blog. It’s a pretty hefty cost, especially since I upgraded to a more powerful but older server (more incentive for #3). Nowadays a VPS/Amazon EC2 instance can be had for under $20/month, running just about any OS, and with a better Internet connection than one could hope to have privately for the cost.
  5. Cancel personal smartphone. My workplace provides me with a smartphone. When I started, it was a BlackBerry 8830 World Edition, which was super cool – until the iPhone was launched. Since then I’ve switched to an iPhone 4 for work and an HTC Sensation for personal use. Having two phones is great (more on that later) – and I CHOOSE to have 2 phones, either one could do both work and play – thank you very much SAMSUNG. (God do I ever hate those commercials. And TouchWiz. And their poor quality control. And all the cheap plastic and gaudy designs.  I could go on for a while…) Long story short, consolidate on one device, save space in pockets, save <$50/month.
  6. Last but not least, stop buying random crap. I love technology. I love fixing things. I love learning and challenging myself. But at some point, keeping old computers to repair and experiment with Linux can go too far. Like a banker’s box full of possibly working laptops too far.

We’ll see how this goes over the next few months.

PSA: ISO 8601 – Numeric Dates

By , 2013-02-27 06:00

 

The correct way to write numeric dates: 2013-02-27. No ambiguity, sorts correctly, easily legible.

ISO 8601

Source: http://xkcd.com/1179/

two-line bash script to extract all rars in a given folder

By , 2013-02-15 12:15

This script will find all .rar files in a given directory and extract them into the specified directory. Requires the unrar binary installed in PATH.

usage: unrar-recursive.sh [directory to scan] [extraction destination dir]

  • Running the script without arguments will search for all .rar files in the current directory and subdirectories and extract them all to the current working directory.
  • Running the script with only 1 argument will search for all .rar files in the specified directory and extract them into the same directory.
#!/bin/bash
if [ "$#" -eq 0 ]; then dest=$1; else dest=$2; fi
find $1 -type f -iname "*.rar" -exec unrar e {} $dest \;

Sources:

Getting Windows 8 to work with Windows 7 and Samba

By , 2013-01-24 22:20
  • Don’t sign in with a Microsoft account during initial setup of PC. Create a local account, then link a Microsoft account if necessary later.
  • Add credentials for network in the “Credential Manager”
  • Change setting in “Advanced sharing settings” to use user accounts and not Homegroup.
  • (Mac OS X) Edit /etc/smb.conf, add workgroup = WORKGROUP and master browser = auto.

Custom theme by me. Based on Panorama by Themocracy