Archive for ‘October, 2009’

Russian Lenses Rule :-)

datePosted on 20:50, October 31st, 2009 by Many Ayromlou

It’s late fall here in Toronto and I thought I give my M42 Russian lens, Helios 40-2, one more test. This time going for colour and as much swirly bokeh as this thing can produce…..

The colour reproduction of this lens is muted. It needs a bit of a kick, but once you kick it up a notch and add some contrast, it rocks. Check out the swirly bokeh in the out of focus leaves. Full flickr set is here.

_MG_4612_MG_4617
_MG_4633

Fix Ctrl-Alt-Backspace problem with Ubuntu 9.10+

datePosted on 13:58, October 31st, 2009 by Many Ayromlou

Downloaded and installed 9.10 yesterday and what do you know, someone decided to take away Ctrl-Alt-Backspace — or what I call “Three Finger Salute for Linux”. Whhhaaattt!!!!

How the heck are you supposed to kill and restart X without that…..A coworker suggested Alt-PrintScreen-K, but that just restarts GDM, not really useful when X decides to go south. Damit!!
The reason given on Ubuntu wiki is that “This is due to the fact that DontZap is no longer an option in the X server and has become an option in XKB instead.”
Well, fear not, whoever disabled it also created a easy way to reenable it again. Here is what you do:

  • In Gnome (Ubuntu):

    * Get to the System->Preferences->Keyboard menu.
    * Select the "Layouts" tab and click on the "Layout Options" button.
    * Then select "Key sequence to kill the X server" and enable "Control + Alt + Backspace".
  • In KDE (Kubuntu):
    * Launch "systemsettings"
    * Select "Regional & Language".
    * Select "Keyboard Layout".
    * Click on "Enable keyboard layouts" (in the Layout tab).
    * Select the "Advanced" tab. Then select "Key sequence to kill the X server" and enable "Control + Alt + Backspace".
  • Using Command-Line:
    You can type the following command to enable Zapping immediately.

    setxkbmap -option terminate:ctrl_alt_bksp

    If you're happy with the new behaviour you can add that command to your ~/.xinitrc in order to make the change permanent.
  • Using HAL:
    You can add the following line in /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi (inside the <match key="info.capabilities" contains="input.keys"> section):

    <merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>

TPMG Fall Colour drive….

datePosted on 12:40, October 31st, 2009 by Many Ayromlou

This is slightly old, but it’s still officially fall…..so here are a bunch of fall colour shots from a recent Toronto Photographers Meetup Group trip to Hockley Valley, Cannings Falls, Hogg’s Falls, Eugenia Falls and Old Baldy Lookout Point. Complete flickr set can be viewed here…..

_MG_4567 _MG_4568-70 _MG_4590 _MG_4597 _MG_4610 _MG_4614 _MG_4620 _MG_4623 _MG_4629 _MG_4634 _MG_4658 _MG_4675 _MG_4689 _MG_4708-10 _MG_4773-75 _MG_4787-89 _MG_4810 _MG_4833 _MG_4848 _MG_4875-77

More fall colours to come…..stay tuned…

It’s been a while since I’ve had the pleasure (read: pain) of working with Sloowaris, but now that we have two 48TB Sun X4540 Thumpers in house, I have to…..Uggghhhh :-). Here are some notes:

  • Remember sudo -i does not work. Use “su -” to get the root environment through ssh (login as regular user).
  • The machine has 6 Controllers with 8 Disks each for a total of 48 disks.
  • To find out all the disks that are available on your system and their Labels…..root # format
    Searching for disks...done

    AVAILABLE DISK SELECTIONS:

  • To see the status of the zpool runroot # zpool status
    pool: pool1
    state: ONLINE
    status: The pool is formatted using an older on-disk format. The pool can
    still be used, but some features are unavailable.
    action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
    pool will no longer be accessible on older software versions.
    scrub: none requested
    config:

    NAME STATE READ WRITE CKSUM
    pool1 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c0t3d0 ONLINE 0 0 0
    c1t3d0 ONLINE 0 0 0
    c2t3d0 ONLINE 0 0 0
    c3t3d0 ONLINE 0 0 0
    c4t3d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c5t3d0 ONLINE 0 0 0
    c0t7d0 ONLINE 0 0 0
    c1t7d0 ONLINE 0 0 0
    c2t7d0 ONLINE 0 0 0
    c3t7d0 ONLINE 0 0 0
    spares
    c4t7d0 AVAIL
    c5t7d0 AVAIL

    errors: No known data errors

  • Our zpool is at version 10 and the latest is version 15, so we upgrade:root # zpool upgrade
    This system is currently running ZFS pool version 15.

    The following pools are out of date, and can be upgraded. After being
    upgraded, these pools will no longer be accessible by older software versions.

    VER POOL
    --- ------------
    10 pool1

    Use 'zpool upgrade -v' for a list of available versions and their associated
    features.
    root # zpool upgrade -v
    This system is currently running ZFS pool version 15.

    The following versions are supported:

    VER DESCRIPTION
    --- --------------------------------------------------------
    1 Initial ZFS version
    2 Ditto blocks (replicated metadata)
    3 Hot spares and double parity RAID-Z
    4 zpool history
    5 Compression using the gzip algorithm
    6 bootfs pool property
    7 Separate intent log devices
    8 Delegated administration
    9 refquota and refreservation properties
    10 Cache devices
    11 Improved scrub performance
    12 Snapshot properties
    13 snapused property
    14 passthrough-x aclinherit
    15 user/group space accounting
    For more information on a particular version, including supported releases, see:

    http://www.opensolaris.org/os/community/zfs/version/N

    Where 'N' is the version number.
    root #
    root # zpool upgrade pool1
    This system is currently running ZFS pool version 15.

    Successfully upgraded 'pool1' from version 10 to version 15

  • zpools are like autonomous raid subsystems that will eventually be added into a pool (which is similar to a LV). There are 3 types of pools raidz (raid-5 like), raidz2 (raid-6 like) and mirror.
  • C0T0D0 and C1T0D0 are kinda special and can’t be included in a zpool…..something about SVM metadb…..blahblahblah. Leave it out.root # metadb -i
    flags first blk block count
    a m p luo 16 8192 /dev/dsk/c0t0d0s7
    a p luo 8208 8192 /dev/dsk/c0t0d0s7
    a p luo 16400 8192 /dev/dsk/c0t0d0s7
    a p luo 16 8192 /dev/dsk/c1t0d0s7
    a p luo 8208 8192 /dev/dsk/c1t0d0s7
    a p luo 16400 8192 /dev/dsk/c1t0d0s7
    r - replica does not have device relocation information
    o - replica active prior to last mddb configuration change
    u - replica is up to date
    l - locator for this replica was read successfully
    c - replica's location was in /etc/lvm/mddb.cf
    p - replica's location was patched in kernel
    m - replica is master, this is replica selected as input
    W - replica has device write errors
    a - replica is active, commits are occurring to this replica
    M - replica had problem with master blocks
    D - replica had problem with data blocks
    F - replica had format problems
    S - replica is too small to hold current data base
    R - replica had device read errors
  • The following commands created the extra zpools needed:root # zpool add pool1 raidz1 c2t0d0 c3t0d0 c4t0d0 c5t0d0 c0t1d0
    root # zpool add pool1 raidz1 c1t1d0 c2t1d0 c3t1d0 c4t1d0 c5t1d0
    root # zpool add pool1 raidz1 c0t2d0 c1t2d0 c2t2d0 c3t2d0 c4t2d0
    root # zpool add pool1 raidz1 c1t4d0 c2t4d0 c3t4d0 c4t4d0 c5t4d0
    root # zpool add pool1 raidz1 c0t5d0 c2t5d0 c3t5d0 c4t5d0 c5t5d0
    root # zpool add pool1 raidz1 c0t6d0 c1t6d0 c3t6d0 c4t6d0 c5t6d0
  • This leaves the following 4 disks to be added to spare:root # zpool add pool1 spare c5t2d0 c0t4d0 c1t5d0 c2t6d0
  • Now for the fun part…..finding out what the heck all this did to the system:root # zpool status
    pool: pool1
    state: ONLINE
    scrub: none requested
    config:

    NAME STATE READ WRITE CKSUM
    pool1 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c0t3d0 ONLINE 0 0 0
    c1t3d0 ONLINE 0 0 0
    c2t3d0 ONLINE 0 0 0
    c3t3d0 ONLINE 0 0 0
    c4t3d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c5t3d0 ONLINE 0 0 0
    c0t7d0 ONLINE 0 0 0
    c1t7d0 ONLINE 0 0 0
    c2t7d0 ONLINE 0 0 0
    c3t7d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c2t0d0 ONLINE 0 0 0
    c3t0d0 ONLINE 0 0 0
    c4t0d0 ONLINE 0 0 0
    c5t0d0 ONLINE 0 0 0
    c0t1d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c1t1d0 ONLINE 0 0 0
    c2t1d0 ONLINE 0 0 0
    c3t1d0 ONLINE 0 0 0
    c4t1d0 ONLINE 0 0 0
    c5t1d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c0t2d0 ONLINE 0 0 0
    c1t2d0 ONLINE 0 0 0
    c2t2d0 ONLINE 0 0 0
    c3t2d0 ONLINE 0 0 0
    c4t2d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c1t4d0 ONLINE 0 0 0
    c2t4d0 ONLINE 0 0 0
    c3t4d0 ONLINE 0 0 0
    c4t4d0 ONLINE 0 0 0
    c5t4d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c0t5d0 ONLINE 0 0 0
    c2t5d0 ONLINE 0 0 0
    c3t5d0 ONLINE 0 0 0
    c4t5d0 ONLINE 0 0 0
    c5t5d0 ONLINE 0 0 0
    raidz1 ONLINE 0 0 0
    c0t6d0 ONLINE 0 0 0
    c1t6d0 ONLINE 0 0 0
    c3t6d0 ONLINE 0 0 0
    c4t6d0 ONLINE 0 0 0
    c5t6d0 ONLINE 0 0 0
    spares
    c4t7d0 AVAIL
    c5t7d0 AVAIL
    c5t2d0 AVAIL
    c0t4d0 AVAIL
    c1t5d0 AVAIL
    c2t6d0 AVAIL

    errors: No known data errors
    root # zpool list
    NAME SIZE USED AVAIL CAP HEALTH ALTROOT
    pool1 36.2T 222K 36.2T 0% ONLINE -
    root # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    pool1 161K 28.5T 28.8K /vol1

  • To create a CX special mount point we do:root # zfs create pool1/CX
    root # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    pool1 201K 28.5T 28.8K /vol1
    pool1/CX 33.6K 28.5T 33.6K /vol1/CX
  • When compiling iRODS on X4540 you might/will get an error like “make: Fatal error in reader: config/config.mk………Unexpected end of line seen“. This is caused because by default the system is configured for Sun’s make command (in /usr/ccs/bin/make) rather than the gnu make command which resides in /usr/sfw/bin/gmake under Solaris 10. To fix this add /usr/sfw/bin in front of your $PATH variable, export it and use gmake instead of make (read the INSTALL.txt file that comes with iRODS to find out how you can do the steps manually instead of using irodssetup command).

…and one final Windows 7 Launch Party Video…….

datePosted on 11:57, October 23rd, 2009 by Many Ayromlou

MMmmmmm…..Windows 7 Space Cake…….MMmmmmmm :-)

Ninite: Number 1 application you need in Windows…..

datePosted on 11:47, October 23rd, 2009 by Many Ayromlou

There are a lot of fantastic free software packages out there for the PC if you’re running windows. VLC, Firefox come to mind. The problem is that it takes a long time to install all of them on your PC. You know the routine, click, wait for download, double click, next, next, next, etc……Well, why? Head over to Ninite’s website, choose the applications you want and let them create a custom “Meta Installer” for all the applications in one package. Run the installer and wham, you got all those free/opensource apps downloaded and installed on your machine in one shot, with minimal clickage :-). No sign-up required, Free for personal use, Just in time for Windows 7 Upgrade (or potentially downgrade). Now if only someone would make something like this on OSX, so I can install Final Cut Pro Studio without having grass grow under my seat, that would be nice :-).

Windows Launch Party….maybe it wasn’t such a good idea…..

datePosted on 11:21, October 23rd, 2009 by Many Ayromlou

Here is a video for all the people who attended — or god forbid hosted — a windows 7 launch party yesterday. This will give you a rough idea of what people will think of your party video in about 17 years……hehehehe :-)

Microsoft Photocopies Apple Store…..Literally.

datePosted on 17:15, October 22nd, 2009 by Many Ayromlou

Holy crap…..MS has literally photocopied the Apple Store, replaced the Genius Bar with “Answer Bar” and the Genius’ with Guru’s……Does Microsoft ever come up with something original? :-) Here comes “Attack of the Clones”…..hehehehe

FastPictureViewer RAW Codec Pack….FREE

datePosted on 17:01, October 22nd, 2009 by Many Ayromlou

If you’re using any one of Windows XP, Vista or 7 Platforms in 32 or 64 bit mode, you might be interested in the FastPictureViewer RAW picture codec pack from Axel Rietschin Software Developments. They are FREE for personal and educations use and give you fast access to preview RAW images taken by just about any digital camera capable of shooting RAW in Explorer. It even supports the slideshow function in Photo Gallery and Photo Viewer. The fact that it supports 32 and 64 versions of Windows is a bonus since most camera manufacturers — atleast up to now — have been very slow in supporting 64-bit windows. Here is a list of supported RAW Formats:

  • Adobe Digital Negative (.dng)
  • Canon Raw Image (.cr2, .crw)
  • Fuji Raw Image (.raf)
  • Hasselblad Raw Image (.3pr, .fff)
  • Kodak Raw Image (.dcr, .kdc)
  • Leica Raw Image (.raw, .rwl)
  • Minolta Raw Image (.mrw)
  • Nikon Raw Image (.nef, .nrw)
  • Olympus Raw Image (.orf)
  • Panasonic Raw Image (.rw2)
  • Pentax Raw Image (.pef)
  • Sigma Raw Image (.x3f)
  • Sony Raw Image (.arw, .sr2, .srf)

For a Photographer — specially if you own an SLR and shoot RAW — this little Gem is a must.

Windows 7….Bad for your Health

datePosted on 12:06, October 22nd, 2009 by Many Ayromlou

….Atleast if you’re in Japan. Take a look at this monster…seven freaking patties stacked up in between two buns…..in time to celebrate Windows 7 launch. You’ll pay (roughly) $17.10 for the pleasure of clogging your arteries with this 5.1 inch tall monster. Once you’re done — if you’re still alive — you’ll finally understand how your computer feels after a windows installation :-).


12Next