Tuesday, April 28, 2015

Cognitive bias modification

Noting as a part of an audio book I am listening to (Focus: The Hidden Driver of Excellence, by Daniel Goleman)

http://en.wikipedia.org/wiki/Cognitive_bias_modification

The Three Princes of Serendip

Today I learned...

"The story has become known in the English speaking world as the source of the word serendipity...."
http://en.wikipedia.org/wiki/The_Three_Princes_of_Serendip

So Duh! Root Beer

Heritage Brewing, out of San Jose, California, makes this root beer, which we tried on Dawn's birthday. Moderate kick (in a good way).

http://rootbeerbarrel.com/2013/02/05/hermitage-brewing-so-duh-rockin-root-beer/
http://hermitagebrewing.com/

Frederic Laloux

A friend suggested I investigate this:

http://www.reinventingorganizations.com/


Sutton Hoo

One of my childhood friends, Jason Sutton -- his name may come from Sutton Hoo?

UPDATE

Probably not:

  • "Sutton, meaning 'south settlement' in Old English, is a very common place name." (via)
  • "The unusual name "Hoo" is a Saxon word meaning the spur of a hill, and is more commonly associated with East Anglia." (via)


Sacramento mopeds - Business deals turn violent

This happened near where I park each morning. Tragic for all involved.

Truck Tub

A wash for commercial semi tractor units, in California's central valley:
http://trucktub.com/

Noticed this the other day.

Relationship advice - Reddit

Wisdom and humor.

What's the best relationship advice you have ever heard? (self.AskReddit)
ckernan2 4726 points 5 days ago

On our wedding night, I told my wife that we now had a 2/2/2 rule. It goes like this:
Every 2 weeks, we go out for the evening.
Every 2 months, we go out for the weekend.
Every 2 years, we go out for a week.
We've stuck to it, and it really has made things awesome. We got married in August and people still ask how long our honeymoon phase will last. I think it'll last as long as we stick to our 2's.
permalinksaveparentreportgive goldreply

[–]tapsllew 3145 points 5 days ago
Oh I follow a similar 2/2/2 rule, but only at I-HOP...

Monday, April 27, 2015

Notepad++ and Geany plugins

Investigating how to port TextFX to Geany

NOTEPAD++
Source Code
Plugins HOWTO
Plugin Central
TextFX official site
Initial release

NOTEPAD++ NOTES
  • "This plugin has no maintainer and wants one; please see TextFX's Future"
  • "Currently, some plugins are taking over some areas where TextFX is being used:
    • Code alignment
    • NppConverter
    • XBrackets Lite
    • Tidy2"
  • "The npp-plugins project features the v0.25 sources and the v0.26 binaries ([v0.26] changes are not deemed to be publcly available as sources by their author.)"
GEANY
Plugins
Github

ANALYSIS

So...it seems TextFX represents abandonware, last updated in 2009, and current strategy involves piecing it out into separate plugins. Which seems to imply the same strategy, for Geany.

VERDICT

Wait and see

Sunday, April 26, 2015

Debian Jessie Stable

Upgrading to Debian Jessie stable soon. Have downloaded the ISOs for KDE and GNOME...need to decide which to go with.

INSTALLATION LOG

Backed up home directory
Wiped disk during install (/home in separate partition)
Had to use a separate USB to retrieve nonfree wifi for my Lenovo ThinkPad x201:
  • Package: firmware-iwlwifi
  • File: /lib/firmware/iwlwifi-6000-4.ucode
Put the USB in when prompted and the install proceeded without interruption.

Rebooted and all came up smoothly

CUSTOMIZATIONS

Google Chrome
Use Iceweasel to download 64-bit Google Chrome deb to Downloads folder
sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb
This throws errors about missing packages libappindicator1 and libcurl3
sudo apt-get install libappindicator1 libcurl3
This throws errors
sudo apt-get -f install
This closes out the install and gets everything working
Add Google Chrome to Favorites

Geany
sudo apt-get install geany
sudo apt-get install geany-plugins

GCC
sudo apt-get install gcc
Note: already the latest version

Filezilla
sudo apt-get install filezilla

Configure vim  .vimrc
sudo apt-get install vim
From my 2009 post, copied and pasted into ~k/.vimrc .
Historical note: the "rc" in ".vimrc" derives from "runcom", from the MIT CTSS system, ca. 1965.

git
sudo apt-get install git

subversion
sudo apt-get install subversion

gimp extras
Via:
sudo apt-get install gimp-plugin-registry gimp-data-extras

Enabling NTP Support
sudo apt-get install ntp
Activities > Search for Date and Time
Automatic Date & Time: On
Automatic Time Zone: On

Set default editor to vim
vim ~k/.bashrc
Append line: export EDITOR="vim"

Default applications
Via:
Activities, Search for Details
Default Applications
Web: Chromium Web Browser
Mali: Chromium Web Browser
Calendar: Evolution
Music: VLC media player
Video: VLC media player

Compressing/decompressing
Via:
sudo apt-get install unace rar unrar zip unzip p7zip p7zip-full p7zip-rar mpack sharutils uudeview arj cabextract

curl
Via: sudo apt-get install curl

VLC installation and configuration
Note: a bit different than previous upgrades, but mostly the same (answer via)
sudo apt-get install vlc
This installs 2.2.0-rc2 Weatherwax....which apparently still cannot play YouTube
sudo rm /usr/lib/vlc/lua/playlist/youtube.*
sudo curl "http://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD" -o /usr/lib/vlc/lua/playlist/youtube.lua
Start VLC
Tested on video 
It works : o )

Shotwell
sudo apt-get install shotwell

gparted
sudo apt-get install gparted

bleachbit (system cleaner)
sudo apt-get install bleachbit

Screensaver
sudo apt-get install xscreensaver-gl
Note: this seems to need more (?) For example

UltraNav Touchpad
Activities > Mouse & TouchPad
Uncheck "Two finger scroll"
Uncheck "Natural scrolling"
Note: seems this works out-of-the-box, but the two finger scroll got me...used to one finger scrolling, on the right of the TrackPad

Fingerprint reader
Via:
lsusb reports: "Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor"
sudo apt-get install libpam-fprintd
grep fprint /etc/pam.d/common-auth 
This reports "auth [success=2 default=ignore] pam_fprintd.so max_tries=1 timeout=10 # debug"
fprintd-enroll
Running this prompts "Enrolling right-index-finger finger." and "Enroll result: enroll-stage-passed"
Scanned my finger each time; this ended after 6 times with message "Enroll result: enroll-completed"
Now it works! : o )

clisp
sudo apt-get install clisp
Note: seems like an abandoned package (?) 

Fonts
Via:
sudo apt-get install fonts-arphic-gkai00mp ttf-wqy-microhei ttf-kochi-gothic ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-freefont ttf-liberation

Configure printing
Activities > Search for "Printers"
Unlock, then select button "Add"
On screen "Add a New Printer" select "Network"
Select "HP LaserJet CP1525nw", then select button "Add"
Print test page...prints successfully in color

Configure GNOME 3 Settings
Activities > Tweak Tool
Desktop
  • Icons on Desktop: On
Top Bar
  • Show date: Checked
  • Show week numbers: Checked
Extensions: Looks interesting!

MISTAKES

Forgot to transfer FileZilla site configurations, so manually recreated
May have forgotten to save touchpad settings (?)

UPDATE
Install updated version of libsane

Bathroom grout humor

Noticed this here at UCSC McHenry Library men's bathroom.

For example:
https://mechanisticmoth.wordpress.com/2009/05/12/grout-humor-and-other-distractions/
http://thegroutlands.tumblr.com/

And so forth, and so forth

Wayland

Fun, to me, to learn how people name things:
The name "Wayland" comes from the town of Wayland, Massachusetts. Høgsberg was driving through that town when the concepts behind Wayland "crystallized".
Via

Saturday, April 25, 2015

Speeders (Railway)

Saw a bunch of these railway speeders travel by our apartments this afternoon, just before 5:00 p.m.: 
April 25, 26 FULL, WAITING LIST ONLY
PRO is pleased to announce, as part of the California Spring Rail Adventure, a run on the Santa Cruz Big Trees and Pacific on Saturday, April 25 and Sunday, April 26. This is in conjunction with the Santa Cruz Monterey Bay run on those same dates. To participate you will sign up with PRO for the Santa Cruz Big Trees and Pacific portion of the run and sign up with MOW for the Monterey Bay portion of the run. You cannot sign up for one portion without the other - they are connected. 
The cost of the Santa Cruz Big Trees portion is $70 per day. You may sign up for Saturday or Sunday or both. In the event one day is over-booked, you may only be able to sign up for one day. We will be coordinating with MOW to compare signup lists. This run has a limit of 30 cars per day.
Via: http://www.pro-online.org/calendar.htm#btrees
NOTES

Also

Wednesday, April 22, 2015

Steve Jobs bio

Listening to an audio version of Walter Isaacson's biography on Steve Jobs (Dylan Baker, Narrator).

NOTES

  • Not a fan of Baker's voice
  • Dave Winer (some balance)
    • "Stross has the advantage of having already written a Jobs bio, while he was still at NeXT. It's the best tech book I've ever read."
  • Narcissistic Personality Disorder (Tina Redse's theory)
  • Isaacson treats Bill Gates as though he may wish to write his biography someday (?)

Cryptography terminology - Padlock = Public Key

Cryptography simplified--I really like the idea of calling the public key a lock, rather than a key:
"So Alice come out with a brilliant solution. Now, she only maintains one key (private key). She distributes the same padlocks (public key) to her friends. Anyone can close the padlocks (encrypt), but only she has the key to open (decrypt) them. Now, anyone can send stuff to Alice using the padlock she distributed, and Alice no longer have to maintain manage different keys for different people."
That is:
  • Key = private key
  • Lock = public key 
This seems intuitive and clarifies things, for me.

What would it take to make this terminology  mainstream?

Via (via Wikipedia, it seems?)

Note: origin of the names Alice and Bob: Rivest's original paper

Thursday, April 16, 2015

Cajun Power spicy garlic pepper sauce


Hard to see, but on the right-side the label has a cartoon character with a heart above its head!


City of eternal spring

At a hair cut, my barber told me of Subject, another name for Cuernavaca.

Monday, April 13, 2015

Manually adding phone numbers to 2nd gen Toyota Prius phonebook

http://priuschat.com/threads/how-do-you-manually-add-phone-numbers-to-prius.29675/

Hrm...will have to try

UEFI Ubuntu boot on Lenovo ThinkPad X1 Carbon


  • 128GB SSD as internal primary
  • Removed recovery partition to thumb drive
  • Shrunk main partition by 20GB, to make room
  • Created partition from the free space (I think ?)
  • Downloaded Ubuntu Kylin 14.04.2 LTS
  • Used unetbootin to burn to thumb drive (another one)
  • Installed Ubuntu to the free partition...this went normally
  • Rebooted
  • No GRUB, went straight into Microsoft Windows 8.1
  • Ran the following command:
    • bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
  • Rebooted
  • Now GRUB appears and Ubuntu loads, but Microsoft Windows 8.1 boot manager failed to boot, with error 0xc000000e


Turns out BIOS was set to both UEFI and Legacy, with a preference for Legacy. Switching this to UEFI allowed Microsoft Windows 8.1 to load.

Loading into Ubuntu and running the following failed, the first time, because I had booted into Legacy mode:
  • sudo add-apt-repository ppa:yannubuntu/boot-repair  
  • sudo apt-get update
  • sudo apt-get install boot-repair
  • boot-repair 
So, I switched BIOS to use both UEFI and Legacy, but with a preference for UEFI. Then, I booted from the Ubuntu installer thumb drive. I selected Try Ubuntu, ran the above (after connecting to the wireless router), and voila, after following the instructions and using the defaults, a reboot now allows the choice of both.

RESOURCES





Blog Archive