Wednesday, October 26, 2011

clonezilla (disk imaging) quickstart

[NOTE: I have found Paragon Backup & Recovery tool to be better fit for me, and really like it:  http://www.paragon-software.com/home/br-free/]

Steps for setting up Clonezilla an a USB thumb drive:
  • go to http://tuxboot.org/download.php
  • click Files on SourceForge
  • download tuxboot*.exe (or other, depending on your currently booted OS)
  • run tuxboot
  • the defaults are good usually:
    • clonezilla_live_stable chosen
    • no Pre Downloaded images selected
    • MD5 Check selected
    • Type: USB
    • Drive should be already the USB drive you have plugged in
  • hit OK

Monday, October 24, 2011

checking USB thumb drives

In my experience USB "thumb" drives are notoriously unreliable, but that's something you find out only once you attempt to read back the data you've "written" to the device.  Always check your medium before use.

Great tool that I found for such drive validation: "Check Flash": http://mikelab.kiev.ua/index_en.php?page=PROGRAMS/chkflsh_en

Saturday, October 22, 2011

Totes "Doorman/Gentleman" umbrella

I recently broke my favourite umbrella, the Totes classic black "Doorman" or "Gentleman" stick umbrella, and had a hard time finding a place to buy a replacement from.

Naturally, Totes online has it, but they don't ship to Canada, and their Canadian store is only going to come online next year.  Amazon.com does not ship to Canada.  Sigh.

Finally, success!  Someone that has it AND ships to Canada:
  http://www.beltoutlet.com
It can be found here:
  http://www.beltoutlet.com/meaustumbto.html

Now let's see how fast they can get it here.

Friday, October 21, 2011

Monday as first day of week in GNOME

A lot of approaches on the Net specify hacking the locale files; e.g.:
  http://ubuntuforums.org/showthread.php?t=813945

However, a far simpler and certainly less intrusive procedure is to simply modify default LC_TIME:
  http://askubuntu.com/questions/6016/how-to-set-monday-as-the-first-day-of-the-week-in-gnome-calendar-applet

Specifically:
  • in /etc/default/locale add:
    LC_TIME="en_GB.UTF-8"
  • log out, then log back in

Monday, October 17, 2011

fixing broken Ubuntu Unity

I must have clicked something naughty in Compiz Config Settings Manager, because I lost the top and left side panels, and generally there was not much more than just the desktop background.  I was stumped on how to fix this.

Then I found:
  http://www.tuxgarage.com/2011/04/missing-top-and-side-panels-in-unity.html

Very good walkthrough for fixing Unity.

In the end, I executed the "Reset Compiz" section, and things are back to normal.

Sunday, October 16, 2011

setting static IP in Ubuntu

By default recent Ubuntus (e.g., 11.10) use Network Manager, which makes things simple:

  • click network icon in system tray
  • Edit Connections
  • select the one entry that you see there (unless your network is not working)
  • Edit...
  • IPv4 Settings
  • From Method drop-down select Manual
  • the rest should be straight forward
If not using Network Manager to manage network connections, you need to edit /etc/network/interfaces and add (adjust to own network parameters):

auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

cloning a github repo

Steps needed to download my repo from github to a new computer:
  • install git
  • generate SSH key
    ssh-keygen -t rsa -C "your_email@youremail.com"
  • add public key to github keys associated with my identity
  • have ssh-agent forget identies
    ssh-add -d 
  • now reread new ones
    ssh-add
  • verify ssh setup is working (see http://help.github.com/ssh-issues/)
    ssh -vT git@github.com
  • clone repo
    git clone git://github.com/maciekk/emacs.git
Note that did not have to do a "git init" or "git remote add".

Sunday, October 02, 2011

Recommended book on Mathematics

This book has been highly recommended to me, I should check it out soon:

Mathematics: A Human Endeavor
Harold R. Jacobs

http://www.amazon.com/Mathematics-Endeavor-Harold-R-Jacobs/dp/071672426X

A nice cup of tea (by Orwell)

http://www.booksatoz.com/witsend/tea/orwell.htm

Sunday, September 11, 2011

configuring grub for auto-selecting Windows

Typically "Windows" is one of the last options in the GRUB menu, and thus rather brittle to selecting by static index.  Instead, one can specify default GRUB choice by using the full option name.  Here are the steps I followed last to update this on a recent Ubuntu (11.x) install:

  1. edit /etc/default/grub
  2. change GRUB_DEFAULT to FULL name of the Windows menu entry (best to copy-paste from your own config)
  3. save
  4. to propagate the change, run 'update-grub'
Note that, aside from the static integer index and the full menu item name, one can also use special string 'saved'. However IIRC in the past I was not fully happy with this option (did not stick maybe?).

Sunday, July 31, 2011

how to reset Furthest Page Read on Kindle

From http://www.kindleboards.com/index.php/topic,25545.0.html
Solution – Reset the Furthest Page Read
Use the same device for all of the steps below before opening the book on a different one, the below example is using a single Kindle
   1. Set the Synchronization off  on your Amazon Account (Go to Amazon -> Your Account -> Manage Your Kindle -> Manage Kindle Device Synchronization -> click the “Turn the Synchronization off” button to turn off the synchronization)
   2. Wait about a minute, then exit & re-enter your book
   3. Go to the beginning of your book on the Kindle
   4. Sync to the furthest  page. If it tells you that you’re on the furthest location, you’re good to go.
         1. If not, select Cancel on the sync message, exit and re-enter the book to attempt the reset again.  (I think that the Amazon databases have to get reset-thus the delay; in any case, it always works for me on the 2nd attempt)
   5. Turn on the synchronization setting on your Account – your Furthest Page read will be reset to your new location.
   6. On your other devices–if further along in the book, you will have to go to the beginning of the book, but once done the Furthest Page Read location will sync with your Kindle.

Friday, July 01, 2011

fixing headphone config on Acer Aspire One

From:
  http://ubuntuforums.org/showthread.php?t=1070212

add this line:
options snd-hda-intel model=acer_wmi
to the end of /etc/modprobe.d/alsa-base

This has now changed. Put the above line in /etc/modprobe.d/sound

Sunday, May 29, 2011

Notes from Ubuntu 11.04 install on Acer Aspire 522 - BZ499

  • C-50 Ontario processor is 64-bit, so we'll use the 64 bit image: ubuntu-11.04-desktop-amd64.iso
  • installed image onto USB stick using: 'sudo usb-creator-gtk' command
  • make sure BIOS is configured to read from USB stick before HDD
  • note: ubuntu kept hanging on me (mouse cursor/throbber frozen)... from posts on Net I suspect it is due to wireless driver
    • solution: install with wired connection plugged in; this allowed me to do install no problem
    • this link sounds relevant: http://fossplanet.com/f10/[bug-775034]-[new]-natty-freezes-due-acer-aspire-one-522-wireless-148584/
  • suspend and hibernate work right out of the box with this (tested both)
  • clicking on Additional Drivers in top bar, it seems we are already using Broadcom STA wireless driver (hence could conflict with other one)
  • now able to use wifi (w/o wired plugged in) using following:
    • add in /etc/modprobe.d/blacklist.conf this line: "blacklist atl1c"
    • "sudo update-initramfs -u"
  • suspend still works
  • outstanding issues:
    • (non-proprietary) video driver has poor YouTube playback, etc.
    • after resume (from Suspend?) the Ubuntu top and left bars stop updating visually (Ubuntu One compiz component; switch to "Ubuntu Classic" in GDM and all is well)
  • attempting ATI/AMD proprietary FGLRX gfx driver install...
    • resume from suspend no longer working... can't even ping the machine (but did not check earlier that I actually could)
  • went back to non-proprietary video drivers


Saturday, May 28, 2011

Ubuntu: gVim in fullscreen

Under compiz window manager, you need an extra package, which is not installed by default in Ubuntu 11.04. I've set the keybinding through gnome settings, and that was not sufficient to have the fullscreen action work.

Steps:

  • apt-get install compiz-plugins-extra
  • Systems Settings > CompizConfig Settings Manager > Extra WM Actions > Toggle Fullscreen (provide keybinding, such as Alt-Enter)
  • I found that I needed to restart the window manager for this to start working.

Source:
  http://askubuntu.com/questions/2140/is-there-a-way-to-turn-gvim-into-fullscreen-mode

Ubuntu/gnome: disabling password request on resume

Problem: on resume from suspend, Ubuntu/GNOME presents password entry dialog,  which is annoying.

Found a working solution here:

Namely:
1. As you've probably already done, uncheck:
"lock screen when screen saver is activated"
in the System->Preferences->Screen Saver menu.
2. Type gconf-editor in a terminal. Under apps/gnome-power-manager/locks check:
"use_screensaver_settings".
3. If still asked for password, you can (also in gconf-editor) go to desktop/gnome/lockdown and check:
"disable_lock_screen"
Credits to itslofty below for this tip!
I only had to do steps 1 and 2 on my Ubuntu 11.04 Natty Narwal on the Acer Aspire 522 BZ499.

Sunday, March 13, 2011

writing effective Thank You notes

From:
http://www.thank-you-note-samples.com/how-to-write-a-thank.html

Here's how to get started:
  1. Dear [Name of person]. If "Dear" sounds too formal to you and you know the person well, you can get away with "Hi", as in "Hi Michelle!"
  2. Thank you for the [description of gift] [name of gift].Example: Thank you for the fuzzy brown scarf.
  3. At least one sentence about the item; something you did with it, a reason you like it, when you plan to use it. Ideally, make the sentence 2 parts, like the example below. This makes the note feel more sincere.Example: It matches many of my clothes and I know I'll use it on my trip to Iceland.
  4. Tell the giver you appreciate the thought or time they put into it and the occasion for which the gift was given.Example: It was so thoughtful of you to think of me on my birthday.
  5. Mention something about the giver such as family members or something happening in their lives.Example: Best wishes to Tom and the kids. OR Have a great time in Maine next month. I look forward to hearing about it!
  6. Sign off. "Love" is fine for family members and close friends. For others, some choices are "Yours Truly", "Regards", or "Warm Regards".
  7. Sign your name. Don't make this an autograph scrawl; neaten it up so you they know it's you.

Sunday, March 06, 2011

PDF virtual printer for Windows

Useful review of top free PDF printers:
  http://www.techsupportalert.com/best-free-pdf-writer.htm

I chose to install BullZip one.  Ran into issue where upon printing I would get error about macros.  The following post was useful:
  http://www.bullzip.com/phpBB/viewtopic.php?t=8538

In particular, the key seems to have been to run a tool for cleaning up after Mcaffee uninstall:
  https://community.mcafee.com/message/110147
  http://download.mcafee.com/products/licensed/cust_support_patches/MCPR.exe

Sunday, February 20, 2011

blocking Flash in Chrome

Interesting post, seen on https://chrome.google.com/webstore/detail/cdngiadmnkhgemkimkhiilgffbjijcie:

You don't need any 3rd pary extension to block flash anymore. To enable Chrome's built in Flashblock type 'about:flags' into the address bar and hit enter. Scroll down to the botton and enable 'Click to play', then restart your browser. Now click the wrench menu > Options > Under the hood > Content setting > Plug-ins and select 'Click to play' from the right hand side. You can use the Exception button to whitelist specific domains.

Wednesday, February 16, 2011

setting up googlecl in Windows

Some instructions here:
http://publicint.blogspot.com/2010/06/setup-googlecl-on-winxp.html

However, it seems newest versions of the googlecl tool come pre-built. The only issue was I was missing MSVCRT71.dll file.  This can be obtained for Windows 7 here:
http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/

Saturday, February 05, 2011

remapping CapsLock to extra Control key

To that end, I found this link useful:

In *NIX:
 setxkbmap -option ctrl:swapcaps # Swap Left Control and Caps Lock
 setxkbmap -option ctrl:nocaps # Make Caps Lock a Control key

Sunday, January 30, 2011

setting up my Acer Aspire One

Just got an Acer Aspire One (AO522); here are some things I bumped into with Windows 7 Starter, or otherwise interesting links:
Xubuntu issues encountered:
  • AMD "unsupported hardware" watermark with 'fglrx' driver
  • unable to resume from 'sleep'
  • xfce4 window manager does not have gui tool for setting keyboard options (e.g., swap CapsLock and CTRL)

Sunday, December 05, 2010

console-kit-daemon x60

If you run 'htop' you might see over 60 processes named 'console-kit-daemon'.  This seems to be a bug. On a mostly-single-user system one might as well uninstall 'consolekit' package (seems to be used for fast user switching).

For more see:

P.S. Alas, some other packages depend on 'consolekit'; not removing for now.

changing CapsLock to Ctrl in XFCE4

From:
http://serverfault.com/questions/10437/how-do-you-swap-the-caps-lock-to-control-in-xfce

Run this on startup:

  /usr/bin/setxkbmap -option "ctrl:nocaps"


This can be placed in XFCE's startup (Settings > Session and Startup > Application Autostart tab > Add button).

Saturday, September 25, 2010

Tuesday, February 16, 2010

BenQ W9000 service menu / overscan

I found that on my BenQ W9000 projector, when feeding it 1280x720 signal from my computer (for when my gfx card cannot handle the full 1900x1080 at reasonable framerates), and using the Anamorphic mode to scale image to full display area, a fair bit of the image was being cropped. Turns out this has to do with "overscan" setting, which alas is not accessible from regular projector menu. However, it is modifiable if one enters a secret "service menu". For this projector, to enter the service menu press:
  • Menu
  • Up
  • Down
  • Up
  • Down
  • Up
  • Down
  • Menu
The setting is under Video Signal option ("overscan rate"). When showing the 720p image, the overscan rate was originally only 93%! I've set it to 100% and now there is no longer any cropping. Yay!
FYI, to get back to using the regular OSD menu once you're done with the service menu, select the first option Factory > Return User OSD.

Saturday, August 15, 2009

HP 1022n on Linux

Installation instructions from:
http://www.linuxquestions.org/questions/linux-software-2/cups-unable-to-discover-an-hp-1022n-network-printer-710492/

Here are the essential instructions:

  1. Configure the printer with its own facility, getting into its web page: http://the-actual-ip-address.
  2. There, assign a static IP address of your choice.
  3. You would have to (recommended) restart the printer with the new assigned static IP.
  4. Configure manually the printer within CUPS.
  5. Follow instructions up to the point where you are asked to specify the URI. There, write socket://the-new-ip-address
  6. Specify it is an HPLIP printer, and when prompted to specify the type of printer, scroll down and find the "HP LaserJet 1022n Foomatic/hpijs, hpijs 2.8.10.33" (for example, version is actually the one shown in my system, could be some other).
  7. Choose Add Printer.
  8. Print a Test Page and...
  9. Voila...!!

Thursday, August 06, 2009

using multiple routers at home

http://forums.linksysbycisco.com/linksys/board/message?board.id=Access_Points&thread.id=11089 The above forum thread discusses how to setup multiple routers at home. In particular, the thread is by someone in a similar situation to my own, where the cable modem comes with a wireless router already, which are setup in the basement, and wants to add a second router on second floor of house for better connectivity. The solution:
There are 2 ways this can be done.

1. Use the WRT54GS as a router and cascade the routers.
2. Use the WRT54GS as an Access Point (AP).

Solution for option 1.
Set the LAN IP of the WRT54GS to 192.168.2.1
Set the WAN IP of the WRT54GS to 192.168.1.2
Set the Gateway and DNS to 192.168.1.1
Set the DNS server IP range to suit the new IP
Connect the Ethernet cable from the WAN port of
the WRT54GS to the LAN port of your choice.
Clients will get an IP from the WRT54GS.

Solution for option 2.
Install DD-WRT for the WRT54GS
Turn off the WAN port.
Turn off the DHCP server
Set the LAN IP to 192.168.1.2
Set the Gateway and DNS to 192.168.1.1
Connect the Ethernet cable from the LAN port to
of the WRT54GS to the LAN port of your choice.
Clients will get an IP from the TRENDnet device.

This was done from the top of my head as I was
to lazy to check my WRT54G for the settings, but
I am sure they are correct.

The difference between the 2 setups is that your
network will appear as 2 different networks under
option 1. In option 2 everything will appear as a
single network. As far as function is concerned
I don't think you will realistically notice the
operational difference.

As for the wireless side of things I suggest setting
a different SSID and channel to the primary router.
Try to use WPA security if the option is available.

Regards

Fred

Monday, June 29, 2009

Morrowind map

The following is a fantastic map of Morrowind. It uses GoogleMaps.
http://www.uesp.net/maps/mwmap/mwmap.shtml?centeron=Pemenie&

Thursday, June 18, 2009

great explanation of nib sizes

According to:
http://www.thewritingdesk.co.uk/reference.php?id=5
  • NP (needlepoint). A very small point to give an extremely fine line. Sometimes referred to as XXF or EEF (extra-extra-fine).
  • EF (extra-fine). A nib that will give a line width of around 0.4mm. Suitable for those with very small writing.
  • F (fine). A nib that will give a line width of around 0.6mm. Suitable for those with small writing.
  • M (medium). A nib that will give a line width of around 0.8mm. Suitable for those with average-size handwriting.
  • B (broad or bold). A nib that will give a line width of around 1.0mm. Suitable for those with large writing or for signatures.
  • BB (extra-broad). A nib that will give a line width of around 1.2mm. Suitable for those with very large writing or for signatures.
  • BBB or 3B (extra-extra-broad). A nib that will give a line width of around 1.4mm. Will give large flowing lines and usually good variation between down-strokes (wide) and side-strokes (less wide).
  • OM, OB etc (oblique). A nib ground so that the tip slopes to the left, rather like your left foot. Designed for those writers that either rotate the pen anti-clockwise or hold the pen at an unusual angle. Note that oblique nibs do not normally give more line variation than a standard rounded point unless specifically stated otherwise.
  • ROM (reverse-oblique medium etc). A nib ground so that it slopes to the right, rather like your right foot. Sometimes suitable for left-handed people. Sometimes confusingly called right oblique. Uncommon.
  • LH (left-hand, eg Pelikano and Lamy). A medium nib but with the point shaped so that it may be more suited to left-handed writers, particularly those who hold their above the line of writing ("over-writers").
  • MK (rounded medium). A special nib made by Lamy with a more rounded point such that the orientation of the pen relative to the paper is less critical than a standard point and therefore easier for beginners. The designation is no longer used but the current Lamy medium nib is made to the same specification as the MK.
  • A. A rounded point made by Lamy for the abc school pen. Between fine and medium.
  • Italic (eg IM, IB, 1.1mm 1.5mm etc). A nib ground so that the tip is flat instead of rounded. Designed to give extreme line variation between wide down-strokes and narrow side-strokes in the manner of a calligraphy pen. Often specified in terms of width (in mm). Most factory-produced italic nibs are actually stub- or cursive-italics meaning the corners of the nib are rounded so allow continuous writing unlike a proper calligraphy nib that requires much greater care.
  • Stub. A more rounded, gentle version of an italic nib such that good line variation is produced. Like italic nibs, these are usually specified in terms of width (in mm). Less demanding in terms of angle to the page than an italic or stub-italic nib.

Wednesday, June 17, 2009

places to get Lamy nibs / sections

  • swisher store : sells stand-alone nibs, converters (if link doesn't work, select "Lamy" button, then "Safari collection)
  • Lamy USA : sells Safari sections, although they don't have orange!
  • The Writing Desk : sells nibs

link: A Simple Guide to Keeping Your Counters Clutter-free

http://zenhabits.net/2009/06/a-simple-guide-to-keeping-your-counters-clutter-free/

Sunday, June 14, 2009

OmniOutliner annoying binding

When I try to use Meta-Ctrl-< in Emacs while there is some text selected, OmniOutliner pops up and tries to insert the text as a "Default Clipping", which is terribly annoying, to say the least. After some looking around it seems to be a "Service" that can be turned off:
You need to remove the OmniOutliner Professional.service file from ~/Library/Services If you want to use OmniOutliner, you can changed the clipping shortcut through the OS X keyboard prefs or using some other app that will modify service shortcuts for you.
and also
Yes, I did restart after deleting the .service file. I did however find a .plist file (as your colleague suggested) related to OmniOutliner somewhere and once that was gone I am now rid of error messages as well.
Links:

Thursday, May 14, 2009

Ian's Shoelace Site

A colleague at work, who also happens to be called Ian, mentioned this excellent site about lacing and tying shoelaces: http://www.fieggen.com/shoelace/index.htm

Sunday, May 10, 2009

lawnmower trouble

Ran into lawnmower trouble today. After priming the engine and firing it up, it runs for 2-5 seconds and dies. It sounds like carburator trouble. Some links I checked out in the process, which are worth saving:
  • http://en.allexperts.com/q/Small-Engines-Lawn-1746/mower-starts-stops.htm
  • http://www.answerbag.com/q_view/85019

Wednesday, January 21, 2009

Vista wifi troubles

go to start menu and type cmd in the search bar and open cmd with administrator rights 1.type netsh winsock reset and hit enter....nevermind if it sais something about an error 2.type netsh int ip reset and hit enter.... 3. restart you computer...and the error should be gone and the internet working what you just did was a TCP/IP stack repair

Tuesday, January 20, 2009

"hot pixels" in digital cameras

After playing around with my new Nikon D90, I noticed that some of my dark pictures have a red spot near upper right corner. It turns out this is a "hot pixel". Further research led me to the following interesting pages:

proper exercise technique

Bryan pointed out this interesting link:
http://www.crossfit.com/cf-info/excercise.html

Thursday, January 15, 2009

research notes from DSLR hunt

Camera reviews at dpreview.com:
  • http://www.dpreview.com/reviews/nikond80/
  • http://www.dpreview.com/reviews/nikond90/
  • http://www.dpreview.com/reviews/canoneos450d/ (Canon EOS Rebel XSi)
Lens reviews:
  • http://www.the-digital-picture.com/Reviews/Canon-EF-S-17-85mm-f-4-5.6-IS-USM-Lens-Review.aspx
  • http://www.photozone.de/canon-eos/181-canon-ef-s-18-55mm-f35-56-is-test-report--review
  • http://www.slrgear.com/reviews/showproduct.php/product/355/cat/all (Tamron 17-50mm f/2.8 Di II ...)
  • http://www.slrgear.com/reviews/showproduct.php/product/349/cat/31 (Sigma 17-70mm f/2.8-4.5 DC Macro)
  • http://www.slrgear.com/reviews/showproduct.php/product/136/cat/11 (Canon EF-S 17-85mm f/4-5.6 IS USM)
  • http://www.the-digital-picture.com/Reviews/Tamron-17-50mm-f-2.8-XR-Di-II-Lens-Review.aspx (Tamron 17-50mm f/2.8)
Shopping links:
  • http://www.bestbuy.ca/catalog/proddetail.asp?sku_id=0926INGFS10101163&catid=20222&logon=&langid=EN
  • http://www.bestbuy.ca/catalog/proddetail.asp?logon=&langid=EN&sku_id=0926INGFS10082166&catid=26562
  • http://www.henrys.com/webapp/wcs/stores/servlet/HenrysItemSearch?type=2&departmentId=10404&categoryId=10852&catalogId=10001&filter=manufacturerFilter:Canon:CANON| (Henry's Canon DSLRs)
  • http://www.henrys.com/webapp/wcs/stores/servlet/HenrysItemSearch?keywords=canon&sort=price&type=1&departmentId=&filter=categoryFilter:DSLR%20Lenses:c11802|&imageField.y=15&imageField.x=6&pageNum=2 (Henry's Canon DSLR lenses)
  • http://www.henrys.com/webapp/wcs/stores/servlet/ItemsDisplay?storeId=10001&catalogId=10001&departmentId=10404&categoryId=11802&itemID=166701# (Henry's SIGMA 17-70)
  • http://www.henrys.com/webapp/wcs/stores/servlet/ItemsDisplay?storeId=10001&catalogId=10001&departmentId=10404&categoryId=11802&itemID=174602 (Henry's Tamron 17-50)
  • http://www.henrys.com/webapp/wcs/stores/servlet/ItemsDisplay?storeId=10001&catalogId=10001&departmentId=10407&categoryId=10416&itemID=37135 (Henry's Canon EF 50mm f/1.4)
  • http://www.henrys.com/webapp/wcs/stores/servlet/ItemsDisplay?storeId=10001&catalogId=10001&departmentId=10404&categoryId=10429&itemID=233858 (Henry's XSi w/18-55)
  • http://www.henrys.com/webapp/wcs/stores/servlet/ItemsDisplay?storeId=10001&catalogId=10001&departmentId=10404&categoryId=10429&itemID=246103 (Henry's Nikon D90 w/18-55 VR Nikon)
Focal length comparisons:
  • http://www.tamron.com/lenses/learning_center/tools/focal-length-comparison.php
  • http://www.usa.canon.com/app/html/EFLenses101/focal_length.html
Other links:
  • http://web500.us/best-canon-lenses-for-canon-digital-slr/

Wednesday, December 24, 2008

inline images in Gmail

Officially inserting inline images in Gmail is not possible. However, there is a workaround:
Open Google Docs in a new window, open a Word Doc. Insert the picture you want from your computer. This converts it into rich text format. Now you can click on the picture in Google Docs, Copy it, then paste it into your gmail compose screen.

Wednesday, December 10, 2008

Tuesday, December 09, 2008

Tuesday, December 02, 2008

Improved open-source firmware for cameras

Apparently it is possible to reflash the firmware on some cameras, and replace it with improved, open-source alternatives. See this post for more.

Sunday, November 30, 2008

calendar generator

Useful online calendar generator: here

Flash game: Auditorium

Interesting flash-based game: Auditorium

Monday, November 24, 2008

computing (car) mileage

I've been thinking on how best to get an accurate estimate of fuel consumption on my Honda Civic. Here is what I came up with:
  • keep a notebook in car
  • upon filling up the tank with gas:
    • fill the tank all the way up
    • note how many litres were purchased; write this down in the notebook, with today's date
    • also write down how many kilometres were travelled since last such refueling
    • reset the "fuel" distance counter
Figuring out the mileage over the distance travelled since the last refueling thus becomes trivial:
mileage = 100km / distance travelled * litres consumed
This gives you Canadian-style mileage, expressed in litres per 100km.

Tuesday, November 18, 2008

info for Honda Civics

Interesting forums http://www.8thcivic.com/forums/
and in particular

fix for slow mouse scrolling in Total Commander

http://www.ghisler.ch/board/viewtopic.php?p=144994
As the above post indicates, the slow scrolling in Total Commander (and likely most other Windows' listboxes) can be fixed by:
Deactivate smooth scrolling for listboxes in control panel/system/advanced/bla. 

200 useful Macbook key shortcuts

http://www.usingmac.com/2007/11/21/mac-os-x-leopard-200-productivity-booster-hotkeys

Monday, October 13, 2008

high-altitude ballooning in near-space

http://natrium42.com/halo/flight2/

High altitude ballooning is an emerging hobby, since price of GPS and communications equipment has gotten quite low. It is an excellent hobby for people fascinated by space flight and telerobotics and has many learning aspects — from systems design to electronics design to software engineering. There is also an exciting risk factor, namely, that you could lose your precious electronics if something malfunctions. In this project, many of my interest and knowledge areas came together. Also, I have verified that the Earth is indeed round and that space is black. — Alexei Karpenko

(Windows) file managers

Comparisons

File Managers

Sunday, September 28, 2008

Installing Win2K without key

(From http://www.petri.co.il/install_windows_2000_without_supplying_the_cd_key.htm)

How can I install Windows 2000 without supplying the CD key?

You can configure W2K to install without having to manually enter the CD key during the setup process.

First, you want to copy your Windows 2000 setup files from your CD to your hard drive. You have to copy at least the I386 directory.

Now go into the I386 directory you just copied onto your hard drive and look for a file called setupp.ini.

Right click it, select Properties, and remove the Read-only checkmark. Now open the file to edit it.

Your setupp.ini file should read something like this:

Replace the 3 X's (generally it'll be three zeros) at the end with "270". It should now read something like this:

That’s it! Now you can now install Windows 2000 without a serial number!

Monday, September 08, 2008

The Comedy Network

Canadians only (US has Comedy Central). Good far watching Jon Stewart, Stephen Colbert, and South Park. http://watch.thecomedynetwork.ca

Funny pics

http://pics.nase-bohren.de/ WARNING: some pics may not be safe for work.

The Issue Sarah Palin Must Address: I Want to See Her Naked

Hilarious: http://www.cracked.com/blog/2008/09/05/the-issue-sarah-palin-must-address-i-want-to-see-her-naked/

Tuesday, December 18, 2007

Monday, November 12, 2007

Windows STOP messages

I just had Windows reboot out of the blue (no BSOD, just as if I pressed RESET). Looking at the system event log it seems Windows ran into trouble: Event Type: Information Event Source: Save Dump Event Category: None Event ID: 1001 Date: 12/11/2007 Time: 3:19:32 PM User: N/A Computer: SKYNET Description: The computer has rebooted from a bugcheck. The bugcheck was: 0x100000d1 (0x00000000, 0x00000002, 0x00000001, 0xba940dc2). A dump was saved in: C:\WINDOWS\Minidump\Mini111207-01.dmp. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. A useful website detailing the STOP codes: http://aumha.org/a/stop.htm Also of interest is the KB article on dealing with the minidumps: http://support.microsoft.com/kb/315263

Thursday, September 27, 2007

Randy Pausch

Randy Pausch's inspirational last lecture. Also see website. Randy Pausch is a professor at Carnegie Melon University which was recently diagnosed with pancreatic cancer (operated on, but the cancer returned), and knows he has only a few months to live. What wisdom would you impart to future generations if you were in this position? The lecture's title is "Really Achieving Your Childhood Dreams".

interesting ideas about achievement, success, life

In fact, many of the other posts are quite interesting as well on that blog. Definitely a blog I'll be keeping an eye on, I find a lot of the author's observations to be quite penetrating and mirroring my own experience and half-baked thoughts.

Monday, September 24, 2007

autonomy for space robotics

Just discovered that there is some research on robot automation, the Mars explorer type, but it is happening away from St.George campus. See:

flashing firmware for SonyEricsson Z710i

Turns out that the firmware for the Z710i can be flashed. This for example could alleviate the problem that Fido locks out the ability to use MP3s as ringtones. Even better, it seems the Z710i can be flashed with firmware for W710i, which is basically the same phone, but has nicer flash-based menu system and more advanced "walkman" music player (e.g., ability to fast-forward within a song). Here are some relevant links: The interesting tidbit from the last posting is that the Service menu on the handset can be accessed using the following key combination: Right * Left Left * Left *

Monday, September 03, 2007

Adobe prevents normal.dot writes in MSOffice

Grrr... I hate applications that self-insert themselves into your tools. It turns out the reason my customizations to MS Word toolbars weren't sticking was that Word was prevented from saving settings to normal.dot, which in turn was being caused by Adobe. See this link; the fix worked wonderfully.

Tuesday, August 28, 2007

the water charlatans

This post is a cautionary tale, and a snapshot of all the relevant information I gathered in the process. It so happened that one day I get a phone call from a company "that deals with water quality", and they claim that Cathy has done a survey with them, and has won some prize worth over $xxx (as a "thank you"). They wanted to know whether they can swing by sometime, drop it off, and do a free water test for us. As Cathy wasn't home, I couldn't check with her whether this was legitimate, so I said, what the hey, come on over. I was interested in the water test because I was wondering earlier whether we were suffering from excessive hardness of water here, but that's another story. 6:30pm, the representative shows up. Sets up in the kitchen a row of plastic drinking cups, as if preparing for an elaborate shell game. Each cup is made to hold water from various sources (distilled, tap, Brita filtered, and various bottled waters in our house). He pulls out an upright binder with what seems like "informational material". Oh oh, red flags start going off in my head! First test is using a TDS (Total Dissolved Solids) meter. Distilled water obviously gets a very low reading. Tap water is higher. The readings for bottled water shoot up to 265. The "gentleman" claims that this reflects the amount of junk and pollutants in the water. In actuality, this is totally misleading. See here for a full skinny on TDS measurement. It's a bit of a misnomer, all it really does is detect charged ions in water, most of which are from the (benign, or even beneficial) hard water salts dissolved in the water (Calcium, etc.) The 265 p.p.m. figure for the bottled water was meant to impress and frighten us, but inspecting the label for the bottled waters in fact explicitly states that the expected mineral content in the waters is about 290 p.p.m., so if anything, the TDS reading for these waters was in fact a tad low. I had a pretty strong sinking feeling at this point, that we've been conned into a sales pitch. The final touch was when the guy pulled out a precipitator test device for next round of testing. I've heard of these being used for scaremongering, and a quick check on the Net (I excused myself to grab my tea from upstairs) revealed to be the case, and also turned up this interesting tidbit (government forbade this particular company to do chlorine testing without getting certified; I presume they were scaring residents with yet more deceptive tests). Anyhow, in short, the company was Glacier Water Treatment Systems of Newmarket, Ontario. They sell water distillers for homes. Links explaining the bogus nature of the precipitator test: It's been suggested that drinking distilled water for long durations is bad for you: long-term deficit in mineral intake causes the body to use its own stores to achieve the same concentration in the distilled water. Here are some links: Incidentally, an interesting way to expose the invalidness of a precipitator test is to throw some table salt into the container with distilled water, the one which is apparently so pure and good and wholesome, and see it start generating the same type of ugly, discusting gunk and scum as the rest. The salt creates charged ions in the water, which make it conductive like the others, and thus the spectacle can then go on.

Sunday, August 26, 2007

interesting pages

  • humour: Ze Frank on St.Vallentine's
  • rest of Frank's site is also good (props to mjmcguff for the pointer)
  • cool online tool for unmangling Dvorak typing on QWERTY keyboard (handy if stuck at a QWERTY keyboard)
  • Microsoft guidelines on designing icons
  • an interesting post that couples AutoHotKey with Windows keyboard layout engine
  • (all?) books by Peter McWilliams; interesting and refreshing viewpoint on many things in life
  • Bradicon!, a cool tool where you upload a picture and it online generates an icon from it

Thursday, August 23, 2007

modifying the "look-in" buttons in standard file dialog

Standard file dialogs under Windows (2000 and higher?) have a set of five big buttons down the left side which you can click to be directly taken to the corresponding directories. It's called the "Places bar", and the buttons might be called "look-in" buttons. I went in search of how to modify them, as the default set was uterly useless to me. Here are interesting things I found:
  • a thread with all the info
  • a cool utility, which alas does not aid with the problem
  • donationcoder.com has a review of various other file dialog extenders, some of which modify the places bar too (Direct Folders, in particular)
  • how to do it using registry editing
  • but it's much easier to do it using TweakUI

Tuesday, July 31, 2007

notes: Martin's sugs/research on startups

Monday, July 30, 2007

hard water woes

I've been having issues from the start with my shaving brush quickly becoming hydro-phobic after one or two shaves. I suspect one of the main culprits is hard water, although apparently Markham/Toronto has decent water. Here is a site that gives the water hardness of various towns around the GTA: http://www.justwater.ca/town.html Also of interest is a forum post about "Calgon", and water softener agents in general: http://www.mothering.com/discussions/showthread.php?t=68131 Here is the particularly interesting bit of the thread:
Water Conditioners There are two types of packaged water conditioners: non-precipitating and precipitating. Generally these names do not appear on the labels. ---Non-precipitating water conditioner characteristics: ties up hardness minerals in the water and holds them in solution (sequestering). No visible particles are formed. water remains clear usually contains phosphates water feels slippery safe for all washable fabrics used in automatic washers Examples: Calgon (a mixture of non-precipitating and precipitating chemicals), White Rain, Blue Raindrops, Spring Rain How they work: This type of water conditioner softens the water, breaks up the soil in the wash and keeps the hardness minerals from depositing on the clothes. These conditioners also trap the iron in the water if it is only a low concentration. When using non-precipitating water conditioner add the conditioner to the wash water before the detergent and again during the rinse cycle. It is especially important to add the conditioner during the rinse cycle. It will again lock up the hardness minerals to keep them from combining with the detergent left in the clothes from the wash. The amount of water conditioner you use depends on the water hardness as well as the amount of water and detergent. Read and follow the manufacturers' instructions for the amount of water conditioner to use. A correct amount will feel slippery between the fingers. Fabrics that have become discolored from detergent build-up can be restored or brightened by washing them in warm water using a cup of water conditioner without a detergent. The conditioner frees the trapped detergent and soil from the fibers. If you see suds appear as the clothes are washed, you know excess detergent and hard water deposits are being stripped from the clothes. When suds no longer appear on top of the water, it indicates the complete removal of trapped dirt and residue of washing additives. ---Precipitating water softener characteristics: combines with hardness minerals to form a visible, insoluble precipitate that floats on top of water makes water cloudy particles cling to fabric and to the inside surface of the machine the deposit makes fabric harsh, somewhat abrasive and dulls colors highly alkaline adversely affects wool and certain dyes not recommended for automatic washers Examples: Arm and Hammer Washing Soda, Raindrops, Blue Dew, Borax, Climalene, Melo, White King Water Softener, Borateem How to use: Use only in the wash water, not in the rinse water. If the softener is not thoroughly rinsed from fabrics, it can irritate the skin and affect the natural characteristics of the cloth. Fabrics that hold any residue become harsh and may scorch when ironed and yellow while in the dryer. Precipitating water softeners work satisfactorily in wringer-type washing machines. The soap curds and mineral residue are squeezed out of the clothes as they move through the wringer. In an automatic washer precipitate softeners form a residue which clings to fabric and the machine and is hard to remove.

Saturday, July 28, 2007

DemoCamp

I should go to one of these... DemoCamp Interesting blog post on the topic: post In particular, it mentions a thread being used to put together a "subway map" of tech companies in Toronto: thread

Sacha Chua

I didn't realize that Sacha Chua has come to UofT, and is currently on the verge of completing her Master's!  Her blog is here:     http://sachachua.com/notebook/wiki/today.php It's been a while.  Last time I exchanged emails with her is when she maintained the Emacs planner mode, which I used at the time.

link collection: posture

http://www.wikihow.com/Improve-Your-Posture http://www.bodymindandmodem.com/Basics/posture.html

interesting blog: academic productivity

http://www.academicproductivity.com/blog/

interesting series: Pmarca guide to startups

part1 part2 part3 part4 part5 part6

interesting blog: pmarca

http://blog.pmarca.com/ A blog by Marc Andreessen, of Netscape fame.

Thursday, July 07, 2005

tangible yet hidden

This tickles something in my mind, some idea or truth I've sort of glimpsed, but haven't grasped. I think this is meshing with some unexpressed ideas and intuitions I've evolved in my mind. Seek the link; it taunts me so.

YubNub

A (social) command line for the Web: YubNub.org Additional related and interesting links:

online intro to "grant writing"

This might come in useful in the future: grant writing intro

Wednesday, July 06, 2005

current issues with Thunderbird

  • no support for "delete attachment" from email; I tried Attachment Tools extension as a workaround and it nearly destroyed my inbox! I think this functionality is coming in the next release of Thunderbird though...
  • the "getting stuck" problem on moving an email with attachments to "Sent" folder; seems to occur whether using an IMAP or local folder for this!!!

another open source car physics engine

Worth checking out: VAMOS

Monday, July 04, 2005

alternatives to "aglorithmic.sty"

The TeX FAQ lists alternatives; see here I think what I've been looking for is algorithmicx.sty, since it provides "procedure" and "function" blocks. newalg.sty looks good too.

BlitzGrok: bookmark consolidator

UPDATE: screw it, just use del.icio.us... much better concept!

Sunday, July 03, 2005

BlitzGrok: lawncare & watering

The following links seem to confirm that watering at night is generally bad (because of fungus, mildew):
  • link: pretty good info
  • link includes tips on recognizing when grass needs water
  • City of Toronto site on water efficiency and lawn watering
  • link: more from above, specifically on lawn watering in various seasons
  • link: notes on watering new trees (new trees apparently need 20L of water a day!)
Lesson's learned from the above
  • water preferably in the morning, to avoid fungus and disease due to wetness at night
  • water long but infrequently
  • the lawn should get about an inch of water per week (but keep previous point in mind)
  • need to assess the water output of sprinkler using cans
  • water when lawn needs it; watch for signs: blue-green blades, long lingering foot depressions, curling
  • may need to sharpen lawnmower blades (twice a year recommended)
  • cut to 3" blade height (longer blades give greener, healthier lawn)
  • cut grass when dry, probably early evening best
  • should cut no more than a third of the blade's length
  • leave the clippings where they fall for nutrient-return to soil (should disappear in a day or two)

Saturday, July 02, 2005

BlitzGrok: recipes for bubble solutions

  • a listing of various solutions: link (interesting how glycerin seems to be a frequent ingredient)
  • this one also includes "recipes" for bubble wands: link
  • a set of bubble solution recipes: link (and bubble-based games for kids; William's probably too young for this though)
  • a single, common denominator recipe: link
  • suggestion on buying glycerin: here

Friday, July 01, 2005

"getmail" mail fetching program

I should check out "getmail" and try using that instead of "fetchmail". See: link link

Farmer's Market

It turns out there is a Farmer's Market in Markham: info Markham Road & Robinson Street, Markham, ON. Saturday 8:30 am to 2 pm May - October Vendors: 25 905-472-2462 There's also one in Newmarket