Canada Post

By , 2012-03-07 11:17

image

Anti-Graffiti: Canada Post is doing it right.

Old news, I know. But I just noticed that the “random” postal code distribution in fact favours the jolly old man in red.

Farewell, Desktop Metaphor

By , 2012-03-04 16:20

We’re living the end of an era. I’m sad to say that as tech journalists have been proclaiming for a little while now, it seems “the desktop is dead” or at least on its last legs. (I would have liked to provide some data to support that but unfortunately big G has killed off their search timeline feature as of a few months ago.)

The original Macintosh Desktop

Now, when I say desktop, I don’t mean the desktop PC. I mean the traditional personal computer desktop metaphor introduced on the original Macintosh in 1984 (- yes, I know Xerox was first). Since then, most personal computers have used some variation of a desktop as their primary UI. Windows, icons, folders, documents, trash/recycle bins have become familiar and nearly universal. The desktop metaphor also includes some important elements that were not really part of a traditional physical desktop, such as menu, status and task bars.

Why do I concur that the desktop is dying? Well, there are a few reasons.

Mobile device sales

Smartphones and tablet sales surpassed PC sales this past year. In Q4 of 2011, vendors shipped just over 100 million smartphones, while PC sales were numbered at 92.1 million. It’s not a huge relative difference, but the trend shows no sign of stopping for now since many consumers are still using feature phones but already own a PC. Tablets are also poised to take a bite out of PC sales, especially with ever-faster processors and slimmer packages. New releases of tablet OS in 2011 should also contribute, with Apple iOS 5 no longer requiring activation using iTunes on a traditional PC and Android 4 (“Ice Cream Sandwich”) replacing the rather underwhelming Android 3 “Honeycomb”.

Web apps

Web Apps running in Firefox

There’s no denying that the Web has come a long way from its beginnings on Tim Berners-Lee‘s NeXT cube at CERN. Web sites have evolved from being essentially online news or encyclopedia articles to being hubs for dynamic multimedia content and information sharing. Take a look at your taskbar/dock/other app switcher (if you’re viewing this from a desktop!). There’s a very good chance a Web browser is running. Even if there isn’t one running, chances are you have already used the Web more than once today. More and more of our daily computing activities are performed using a Web-based tool. Sharing. Word processing. Blogging. Watching videos. Listening to music. Instant messaging. Photo editing. E-mail. CLI shell access. Hell, why not any GTK application. True, there are some things that can only be done using a desktop application. Like OS virtualization. Oh, wait – never mind.  There are probably quite a few computer users who never open a desktop app at all. Even as a network admin, most of my work is done using Web-based administration tools.

Single-purpose, full-screen apps

The new Metro UI in Windows 8

With the new breed of smartphones and tablets that started with the iPhone, single-purpose, full-screen apps have become mainstream. Game consoles and PCs had full-screen apps before, but now, more than ever, “there’s an app for that”. With limited screen real estate, these apps are supposed to be fast, intuitive and immersive. Desktop PCs have hopped on the bandwagon too. During the netbook era, “mainstream” Linux distro Ubuntu launchedUbuntu Netbook Remix“, a special version of their OS optimized for small (typically 1024×640) netbook screens featuring large buttons, automatically maximized apps and minimal user distractions. Ubuntu’s new interface, Unity, is based on UNR. Following the immense popularity of their iOS mobile devices, and the successful launch of the iPad, Apple released Mac OS X Lion with support for full-screen apps and many other features and UI elements pulled from iOS. Over in Redmond, Microsoft is bringing their “Metro” interface from Windows Phone 7 and XBOX 360 to the Windows desktop.

The future

It could be argued that some of these new interfaces are an evolution of the desktop metaphor. I would agree, however, the traditional desktop seems to have its days numbered. The future seems to be a future of full-screen apps, custom web/HTML-driven interfaces and maybe widgets. Windows 8 still has what they call a traditional desktop, however the Start button has been unceremoniously killed off. The next version of Apple’s OS is not Mac OS X Mountain Lion, but simply OS X Mountain Lion, a clear sign that the Macintosh and its once-revolutionary desktop is now a part of the past.

For my part, I feel saddened and almost homeless with the prospect that my beloved desktop belongs to the confines of history. True, I could just continue using Gnome 2, or Mac OS X 10.6, or Windows 7, but that means missing out on the latest and greatest. I don’t like where this is going. Change is not always good. I must be getting old.

On a more optimistic note, I know that there are teams of brilliant designers, engineers and programmers also living through this change. And I know I’m not the only person to feel less than satisfied with current desktop environments. Nothing to do but wait to see what the future brings! (Or become a programming pro and write a new Linux DE from scratch/help out with MATE or Cinnamon.)

ALSA: cannot find card ‘0’ when using USB sound card

By , 2012-02-24 10:16

I was trying to get my Alix board to properly output audio. It has no VGA and no onboard sound card, so I’m using a USB to audio adapater. The card was detected, all appropriate snd- modules loaded according to lsmod, and it showed up in /proc/asound/cards. Problem is it was card1, and alsamixer and most programs use card0 by default.

It seems that Debian configures snd-usb-audio in /etc/modprobe.d/alsa-base.conf with the index=2 option to prevent it from being the primary card. To disable this behaviour, simply comment out the line.

 

Original answer:

So are you using a USB sound card as your audio device?It looks like you might have removed some audio device from your computer, that is why card0 is missing, where as usb card is configured as card1.

Edit /etc/modprobe.d/alsa-base.conf, include/modify the line for snd-usb-audio

snd-usb-audio index=0

This would update snd-usb-audio to card0, in case you want that as the first card.

via Debian User Forums • View topic – ALSA: cannot find card ‘0’.

UxStyle – mirror

By , 2012-02-16 17:03

It seems like the ‘net is becoming less and less reliable for keeping old content online. With all the DMCA takedowns, geocities going offline the whole megaupload fiasco and even large companies like Intel taking down or hiding their own software (see previous post).

Anyway today I wanted to enable third-party theme support on a new Windows 7 install. Headed over to http://uxstyle.com to get the tool only to find a 404. Thanks to The Wayback Machine (web.archive.org) I was able to get a copy of uxstyle and hosting a copy here:

UxStyle_Core_jul13_bits.zip

Intel AHCI drivers for Windows

By , 2012-02-12 18:56

If you have a “legacy” Intel chipset (and apparently legacy means anything not from the Core i era), the new AHCI/ATA driver Intel lists on their site (“Intel Rapid Storage Technology” ) isn’t compatible with older chipsets.

I have a few ICH7, ICH8 (also used for VirtualBox’s AHCI controller), ICH9, ICH10 and ESB2 southbridge chipsets and have found that the Intel Matrix Storage Manager 8.9 works.

I’ve attached the Windows installer, as well as the 64 and 32-bit “F6” floppy driver packages, because it seems Intel can’t be trusted to keep old versions of their drivers easily available.

 

Missing shutdown button – lightdm-unity-greeter

By , 2012-02-02 15:13

Found the problem! Your log says ‘/usr/lib/indicators3/6/libsession.so does not exist.’ That file is part of the ‘indicator-session’ package, which provides the shutdown buttons for Unity and Lightdm.

via AUR en – lightdm-unity-greeter.

By , 2012-01-30 23:39

Play the music and watch the .gif.

Found on two separate tumblr blogs today in my dashboard.

Image via fromme-toyou

Audio via dailycommunity via samweed

 

Set up Avahi on Linux to advertise samba (and ssh) servers for Mac and Linux clients

By , 2012-01-30 17:18

Found this info somewhere on the Web… Don’t remember where exactly.

Anyway:

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
    <name replace-wildcards="yes">%h</name>
    <service>
        <type>_smb._tcp</type>
        <port>445</port>
    </service>
    <service>
        <type>_ssh._tcp</type>
        <port>22</port>
    </service>
    <service>
        <type>_sftp-ssh._tcp</type>
        <port>22</port>
    </service>
    <service>
        <type>_device-info._tcp</type>
        <port>0</port>
        <txt-record>model=iPhone3,1</txt-record>
    </service>
</service-group>

You can change iPhone3,1 to any Mac identifier to change the icon. For example MacBook1,1 is a white MacBook or MacBookPro5,2 is an aluminum MBP.

 

Bonus info: To correctly display and have WP-Syntax highlight XML code, use

<pre lang="xml" escaped="true">

http://wordpress.org/extend/plugins/wp-syntax/other_notes/

Windows 98, 14 years later

By , 2012-01-28 01:49

I had an old ThinkPad lying around that is in perfect working condition, but all but useless running any modern Linux, and a little sluggish running Windows XP. This is strange, since it’s a Pentium 4 M 2GHz with 256MB of RAM and 16MB ATI AGP4x graphics, which should be enough for XP or Linux.

Anyway, I went over to the Lenovo/IBM support site looking to see if perchance there were any driver updates, when I noticed that this particular model (R32 2658) seemed to have full hardware driver support for Windows 98. Had a few hours to spare, so I decided to try and get some retro computing going.

First step was to get installation media. I’m not sure where I stashed my old Win98 CD, but fortunately I made ISO images of all my Windows OS discs and saved the product keys in a handy text file. So I burned a fresh copy of Windows 98, booted it up on the laptop, and I was off to the races. (Flash back to 10+ years ago, this would have been slightly more complex, without fast CD writers and proper BIOS CD-ROM boot support on older machines.) I went through the first stages of the installer, taking great pleasure in selecting EVERY installable option because I could fit it all and more on my massive 10GB partition on the laptop’s ridiculously immense 30GB hard drive.

Once that was done, I was greeted with a beautiful 16-colour, 640×480 display, no audio and no network connectivity. Awesome. No problem though, just hop on another computer, download the drivers to a USB drive, then install them on the laptop. Wrong! Good ol’ 98 has no USB mass storage support so that’s not possible. Thinking back to the turn of the century (yes, TURN OF THE CENTURY. we can say that.) the logical step would have been to bring out the ever-useful-but-hated 3.5″ floppy disk. Oh but wait, our dear late Steven P. Jobs helped start the “Legacy-free PC” trend, which means that none of my computers has a floppy drive. I could burn all the drivers on a CD, but that would be a waste of blank media. Staring at my coffee table in search of inspiration, I noticed a D-Link driver CD-ROM I had been using as a coaster. It was the driver for a Cardbus 10/100 Ethernet card. Perfect. Just connect the Cardbus NIC, install drivers from the CD, then download everything else directly via wired network.

Anyway, I’m too lazy to write the rest of the install process up, and nobody would read it anyway, so here are some links to useful tools and info for running Windows 98  today.

http://thewichitacomputerguy.com/blog/standard-tcpip-port-missing-windows-98

http://www.phoenixnetworks.net/atheros.php

http://support.lenovo.com

http://kernelex.sourceforge.net/

http://exuberant.ms11.net/98sesp.html

http://www.technical-assistance.co.uk/kb/usbmsd98.php

http://www.troubleshooters.com/linux/win9x_samba.htm

 

Note: Yes, I know, not technically 14 years later, seeing as it’s Win98SE.

Phone timeline 2006-2012

By , 2012-01-23 17:41

I’ve seen these all over xda, figured I’d have some fun and make my own.

Custom theme by me. Based on Panorama by Themocracy