<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>I hope you find the answers faster than I did.</description><title>Overtherailing.</title><generator>Tumblr (3.0; @overtherailing)</generator><link>http://overtherailing.com/</link><item><title>Registry tweak to keep Internet Explorer's download dialog boxes open</title><description>&lt;p&gt;While you can just as easily accomplish this by downloading a large file, unchecking the “Close this dialog box when download completes” and cancelling the download, once in a blue moon it might be useful to accomplish it programmatically. Here’s a .reg to accomplish that.&lt;/p&gt;
&lt;p&gt;(I’m unsure if this can be applied to HKLM or not.)&lt;/p&gt;
&lt;p&gt;Info on the “reg.exe” command line utility here: &lt;a href="http://technet.microsoft.com/en-us/library/cc732643(WS.10).aspx" target="_blank"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc732643" target="_blank"&gt;http://technet.microsoft.com/en-us/library/cc732643&lt;/a&gt;(WS.10).aspx&lt;/a&gt;&lt;/p&gt;

&lt;pre&gt;Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
;
; Setting this value to "Yes" ensures that IE's download window remains open.
;
; This value is normally set by checking ("no") or unchecking ("yes") the
; "Close this dialog box when download completes" checkbox.
;
"NotifyDownloadComplete"="yes"
&lt;/pre&gt;</description><link>http://overtherailing.com/post/2145427856</link><guid>http://overtherailing.com/post/2145427856</guid><pubDate>Wed, 08 Dec 2010 11:32:00 -0800</pubDate></item><item><title>Weird state-save (KVM/libvirtd) issue on Ubuntu 10.04.1 x64</title><description>&lt;p&gt;As mentioned in my previous post, I’m enjoying getting to know KVM (&lt;a href="http://www.linux-kvm.org" target="_blank"&gt;http://www.linux-kvm.org&lt;/a&gt;) on an Ubuntu Server 10.04.1 64-bit install in my lab at home.&lt;/p&gt;
&lt;p&gt;While things were going quite well (Linux, FreeBSD, OpenBSD, and WinXP VMs all ticking along nicely so far), I ran into a sizeable frustration: in virsh, I could not perform a “save” operation (e.g. commit a VM’s memory contents to disk to be restored later).&lt;/p&gt;
&lt;p&gt;Here’s what would happen:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;In virsh, I would type “save vm-name-here /some/directory/vmname.save” and hit Enter.&lt;/li&gt;
&lt;li&gt;virsh would acknowledge the keypress (cursor moved to the next line) but would return no further output.&lt;/li&gt;
&lt;li&gt;The file “/some/directory/vmname.save” would indeed be created, but would never exceed a size of 1.5 kbytes or so.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;I ran into this late in the evening and couldn’t attack it further (a quick strace operation wasn’t super informative); leaving the operation to run in a “screen” session overnight resulted in no additional progress. The VM would also stop responding, the virsh session in which the save-state operation failed would hang (until Ctrl-C was applied), and future “list” operations inside virsh would hang once reaching the problematic VM until I manually killed its KVM process.&lt;/p&gt;
&lt;p&gt;I found this in the logs today:&lt;/p&gt;
&lt;p&gt;[ /var/log/syslog ]&lt;/p&gt;
&lt;pre&gt;[...]
Nov 25 20:20:02 vmserver01 kernel: [343733.466671] type=1503 audit(1290745202.581:95):  operation="open" pid=3731 parent=26966 profile="libvirt-cb0b4b48-eb03-9284-34bf-15d0e84fb6a7" requested_mask="ac::" denied_mask="ac::" fsuid=0 ouid=0 name="/some/directory/ubuntu-vm1.save"
&lt;/pre&gt;
&lt;p&gt;Turns out this is due to the default AppArmor profile wrapped around libvirtd in Ubuntu 10.04. After adding one line to the rules applied to libvirt and restarting apparmor and libvirtd (/etc/init.d/apparmor restart &amp;&amp; /etc/init.d/libvirt-bin restart), I was able to save VM states to disk!&lt;/p&gt;
&lt;p&gt;[ /etc/apparmor.d/abstractions/libvirt-qemu ]&lt;/p&gt;
&lt;pre&gt;[...]
/some/directory/* rw,
[...]
&lt;/pre&gt;
&lt;p&gt;Note that the syntax “/some/directory/* rw,” specifically grants read-write access to files in that directory’s root, not directories or files further down the hierarchy. Relevant: &lt;a href="http://manpages.ubuntu.com/manpages/hardy/man5/apparmor.d.5.html" target="_blank"&gt;http://manpages.ubuntu.com/manpages/hardy/man5/apparmor.d.5.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(Disclaimer: I have no idea if this was the most appropriate location to tweak the ruleset.)&lt;/p&gt;
&lt;p&gt;…Er.&lt;/p&gt;
&lt;p&gt;Late breaking edit: I just discovered this is a known issue :p From the aforementioned AppArmor config:&lt;/p&gt;
&lt;p&gt;[ /etc/apparmor.d/abstractions/libvirt-qemu ]&lt;/p&gt;
&lt;pre&gt;# workaround &lt;a href="https://launchpad.net/bugs/457716." target="_blank"&gt;https://launchpad.net/bugs/457716.&lt;/a&gt; The svirt driver does not
# relabel the state file (&lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=529363" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=529363&lt;/a&gt;)
# resulting in denied messages. The below works around this somewhat by
# allowing users to save state files in their home directories. We use
# 'owner' to make sure we don't overwrite the user's files. This will be
# removed when the upstream bug is fixed.
#include 
owner @{HOME}/ r,
owner @{HOME}/** rw,
&lt;/pre&gt;
&lt;p&gt;Looks like a cleaner fix is in place for the libvirt included in 10.10 (Maverick Meerkat).&lt;/p&gt;
&lt;p&gt;Ah well. I wanted to save these state files elsewhere anyhow ;)&lt;/p&gt;</description><link>http://overtherailing.com/post/1687870570</link><guid>http://overtherailing.com/post/1687870570</guid><pubDate>Thu, 25 Nov 2010 20:59:00 -0800</pubDate><category>ubuntu</category></item><item><title>Networking in FreeBSD 8.1 x64 on KVM</title><description>&lt;p&gt;Just a quick note on network functionality for a FreeBSD 8.1 64-bit guest on KVM (&lt;a href="http://www.linux-kvm.org" target="_blank"&gt;http://www.linux-kvm.org&lt;/a&gt;): type “virtio” was a no-go, but a network device of type “ne2k_pci” seems to work like a charm:&lt;/p&gt;
&lt;pre&gt;  

  &lt;devices&gt;&lt;br/&gt;    [...]

    &lt;interface type='bridge'&gt;&lt;br/&gt;      &lt;mac address='52:54:00:53:65:83'/&gt;&lt;br/&gt;      &lt;source bridge='br0'/&gt;&lt;br/&gt;      &lt;model type='ne2k_pci'/&gt;&lt;br/&gt;    &lt;/interface&gt;&lt;br/&gt;    [...]&lt;br/&gt;  &lt;/devices&gt;  

&lt;/pre&gt;
&lt;p&gt;Loving this KVM/virsh setup in my home lab so far.&lt;/p&gt;</description><link>http://overtherailing.com/post/1650444050</link><guid>http://overtherailing.com/post/1650444050</guid><pubDate>Mon, 22 Nov 2010 12:04:00 -0800</pubDate></item><item><title>James Brown + Markov Chains = LOL</title><description>&lt;p&gt;With the Markov Chain generator implemented in Ruby found here: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.invisible.ch/2005/01/15/markov-chains-in-ruby/" target="_blank"&gt;http://blog.invisible.ch/2005/01/15/markov-chains-in-ruby/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;…and a text file composed of James Brown lyrics from here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.lyricsmania.com/james_brown_lyrics.html" target="_blank"&gt;http://www.lyricsmania.com/james_brown_lyrics.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;…We get the following:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Now darling you feel better! Get up offa that funky music white boy Play that thing, and movin` to release that thing, and movin` to get back I hold you later alligator.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;OOdl-uh HYUH! HA! Gimme some! too fun-kay sound, now say it once (3xs) Hit ‘em hit’em!! Hey Hey!! WOOOOOOOOOOOO!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Is it now! Ow! Knock out by the wise old brother at the train To take us over the world But I need you got you&lt;/em&gt;&lt;/p&gt;</description><link>http://overtherailing.com/post/692305621</link><guid>http://overtherailing.com/post/692305621</guid><pubDate>Sat, 12 Jun 2010 19:21:00 -0700</pubDate><category>idle</category><category>toomuchtimeonmyhands</category><category>ruby</category><category>lolz</category></item><item><title>Sleep issues on Ubuntu 10.04 on Dell Inspiron 5150</title><description>&lt;p&gt;After resurrecting and upgrading an old Dell Inspiron 5150 for a friend, I installed Ubuntu 10.04 Desktop and installed all available updates.&lt;/p&gt;
&lt;p&gt;I don’t have a ton of experience with Linux as a desktop OS, but I gather sleep and hibernate functions can be problematic. Hibernate definitely doesn’t work out of the box on this Dell unit, but that’s not a big deal; my biggest concern was a functional sleep operation, which also wasn’t working out of the box.&lt;/p&gt;
&lt;p&gt;After a little Googling on the issue, I changed the following line in /etc/default/acpi-support&lt;/p&gt;
&lt;pre&gt;ACPI_SLEEP_MODE=mem&lt;/pre&gt;
&lt;p&gt;…to:&lt;/p&gt;
&lt;pre&gt;ACPI_SLEEP_MODE=standby&lt;/pre&gt;
&lt;p&gt;…and ran:&lt;/p&gt;
&lt;pre&gt;sudo /etc/init.d/acpid restart&lt;/pre&gt;
&lt;p&gt;This apparently results in reduced power savings, but it at least grants some functional sleep functionality on this particular laptop.&lt;/p&gt;
&lt;p&gt;(It’s worth mentioning that with 512MB of RAM, Ubuntu 10.04 totally screams on this unit. Very responsive, rapid startup, fabulous range of applications right out of the gate… I’m impressed. Beats the crap out of WinXP on the same machine.)&lt;/p&gt;</description><link>http://overtherailing.com/post/626186728</link><guid>http://overtherailing.com/post/626186728</guid><pubDate>Sun, 23 May 2010 15:19:34 -0700</pubDate><category>ubuntu</category><category>dell inspiron 5150</category><category>linux</category><category>suspend</category><category>acpi</category></item><item><title>Access SMS messages from an iPhone backup</title><description>&lt;p&gt;An iPhone’s SMS history is stored in backups of the device as an sqlite database file which is readily accessible using the sqlite command line tools. The file in question is 3d0d7e5fb2ce288813306e4d4636395e047a3d28.mddata.&lt;/p&gt;
&lt;p&gt;My iPhone’s SMS backup database is located in:&lt;/p&gt;
&lt;pre&gt;/Users/[username]/Library/Application Support/MobileSync/Backup/[uid]/&lt;/pre&gt;
&lt;p&gt;By cd’ing to the directory and typing:&lt;/p&gt;
&lt;pre&gt;sqlite3 3d0d7e5fb2ce288813306e4d4636395e047a3d28.mddata&lt;/pre&gt;
&lt;p&gt;…One can now start poking around:&lt;/p&gt;
&lt;pre&gt;sqlite&gt; .tables
_SqliteDatabaseProperties  msg_group                
group_member               msg_pieces               
message                  
sqlite&gt; select * from message limit 10;
[...]
&lt;/pre&gt;
&lt;p&gt;Neat.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href="http://insend.de/" target="_blank"&gt;&lt;a href="http://insend.de" target="_blank"&gt;http://insend.de&lt;/a&gt;&lt;/a&gt; for some useful hints on the location of this file!&lt;/p&gt;</description><link>http://overtherailing.com/post/532510897</link><guid>http://overtherailing.com/post/532510897</guid><pubDate>Sun, 18 Apr 2010 22:11:53 -0700</pubDate><category>sqlite</category><category>iphone</category><category>osx</category><category>sms</category></item><item><title>Fix that ?!@#*! Finder -10810 error</title><description>&lt;p&gt;I’ve had intermittent issues with Finder hanging up on volume ejections; after killing it, it refuses to relaunch, displaying the error “The application Finder can’t be opened (-10810).”&lt;/p&gt;
&lt;p&gt;Turns out you can pop into Terminal (I’m using &lt;a title="Visor"&gt;Visor&lt;/a&gt;, so I always have one open; you could try opening it from Spotlight too) and type:&lt;/p&gt;
&lt;pre&gt;/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder &amp;&lt;/pre&gt;
&lt;p&gt;Thanks to the following site for the hint:&lt;/p&gt;
&lt;p&gt;&lt;a&gt;&lt;a href="http://utvv.blogspot.com/2010/01/how-to-fix-application-finder-cant-be.html" target="_blank"&gt;http://utvv.blogspot.com/2010/01/how-to-fix-application-finder-cant-be.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://overtherailing.com/post/517658331</link><guid>http://overtherailing.com/post/517658331</guid><pubDate>Mon, 12 Apr 2010 23:24:48 -0700</pubDate><category>finder</category><category>osx</category><category>error</category><category>10810</category><category>terminal</category></item><item><title>a grammar: unsung heroes of healthcare reform, #8,129,123</title><description>&lt;a href="http://agrammar.tumblr.com/post/468393891/unsung-heroes-of-healthcare-reform-8-129-123"&gt;a grammar: unsung heroes of healthcare reform, #8,129,123&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;&lt;img height="191" width="219" align="left" src="http://i40.tinypic.com/sbhlhk.jpg"/&gt;This morning, for reasons that are PERSONAL and MINE,* I wound up watching “I, Borg,” the 1992 episode of &lt;em&gt;Star Trek: The Next Generation&lt;/em&gt; in which the crew picks up a wounded Borg and nurses him back to health. Also they name him Hugh, he becomes friends with Geordi, and over the course of…&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://overtherailing.com/post/472767506</link><guid>http://overtherailing.com/post/472767506</guid><pubDate>Thu, 25 Mar 2010 09:36:36 -0700</pubDate></item><item><title>UNetbootin: very cool bootable USB drive generator</title><description>&lt;p&gt;&lt;a title="UNetbootin homepage" target="_blank" href="http://unetbootin.sourceforge.net"&gt;&lt;a href="http://unetbootin.sourceforge.net" target="_blank"&gt;http://unetbootin.sourceforge.net&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;strong&gt;UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD.&lt;/strong&gt; You can either let it download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you’ve already downloaded one or your preferred distribution isn’t on the list.&lt;/blockquote&gt;
&lt;p&gt;Pretty slick!&lt;/p&gt;</description><link>http://overtherailing.com/post/470708440</link><guid>http://overtherailing.com/post/470708440</guid><pubDate>Wed, 24 Mar 2010 12:17:00 -0700</pubDate><category>freebsd</category><category>linux</category><category>unetbootin</category><category>utilities</category></item><item><title>Fixing gem installation after Snow Leopard upgrade</title><description>&lt;p&gt;If you’re trying to install Ruby gems after upgrading to MacOSX 10.6 and receive the following error:&lt;/p&gt;
&lt;pre&gt;computron:~ root# gem install json
Building native extensions.  This could take a while...
ERROR:  Error installing json:
	ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
&lt;/pre&gt;
&lt;p&gt;…just reinstall XCode off the 10.6 DVD (it’s under Optional Installs). Things should function fine afterwards.&lt;/p&gt;</description><link>http://overtherailing.com/post/470444193</link><guid>http://overtherailing.com/post/470444193</guid><pubDate>Wed, 24 Mar 2010 09:16:27 -0700</pubDate><category>snow leopard</category><category>ruby</category><category>osx</category><category>xcode</category></item><item><title>Fugly bash script to monitor remote Web server</title><description>&lt;p&gt;I bet this can be done better. If you feel the same way, please feel free to edit the following Gist:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://gist.github.com/340464" target="_blank"&gt;http://gist.github.com/340464&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;#!/bin/bash
 
if test -z "$1"; then
        echo "Usage: curl.sh hostname"
        exit
fi
 
RESULT=`curl -sI ${1}|head -n 1|awk '{ print $2 }'`
 
if [ ${RESULT} -eq "200" ]; then
  # All is well 
  exit
else
  echo "OH NO SOMETHING IS BROKEN -- curl returned HTTP status ${RESULT} when fetching ${1}"
fi
&lt;/pre&gt;</description><link>http://overtherailing.com/post/466229439</link><guid>http://overtherailing.com/post/466229439</guid><pubDate>Mon, 22 Mar 2010 13:20:00 -0700</pubDate><category>bash</category><category>curl</category><category>cli</category><category>monitoring</category><category>unix</category></item><item><title>Creating files of arbitrary size in Windows</title><description>&lt;p&gt;When asked how to do this, my first reaction was to Google for a Windows port of dd. Turns out that since at least Windows XP, there’s been a built-in command line utility capable of this.&lt;/p&gt;
&lt;p&gt;From &lt;a title="Microsoft fsutil documentation" target="_blank" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil.mspx"&gt;Microsoft’s fsutil documentation&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;Fsutil is a command-line utility that you can use to perform many FAT and NTFS file system related tasks, such as managing reparse points, managing sparse files, dismounting a volume, or extending a volume. Because fsutil is quite powerful, it should only be used by advanced users who have a thorough knowledge of Windows XP. In addition, you must be logged on as an administrator or a member of the Administrators group in order to use fsutil.&lt;/blockquote&gt;
&lt;p&gt;Usage is straightforward:&lt;/p&gt;
&lt;pre&gt;fsutil file createnew c:\test.out 1000000&lt;/pre&gt;</description><link>http://overtherailing.com/post/466219197</link><guid>http://overtherailing.com/post/466219197</guid><pubDate>Mon, 22 Mar 2010 13:14:00 -0700</pubDate><category>windows</category><category>filesystem</category><category>command line</category><category>cli</category><category>fsutil</category></item><item><title>"Science is the only news. When you scan a news portal or magazine, all the human interest stuff is..."</title><description>“Science is the only news. When you scan a news portal or magazine, all the human interest stuff is the same old he-said-she-said, the politics and economics the same sorry cyclical dramas, the fashions a pathetic illustration of newness; even the technology is predictable is you know the science. Human nature doesn’t change much; science does, and the change accrues, altering the world irreversibly.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Stewart Brand, “Whole Earth Discipline”&lt;/em&gt;</description><link>http://overtherailing.com/post/397291214</link><guid>http://overtherailing.com/post/397291214</guid><pubDate>Thu, 18 Feb 2010 14:48:56 -0800</pubDate></item><item><title>No One Knows What the F*** They're Doing (or "The 3 Types of Knowledge")</title><description>&lt;p&gt;&lt;a href="http://jangosteve.com/post/380926251/no-one-knows-what-theyre-doing" target="_blank"&gt;alfajango&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;h2&gt;Feeling Like a Fraud&lt;/h2&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kxlsuyCbII1qaukck.jpg" width="300" align="right"/&gt;&lt;/p&gt;
&lt;p&gt;Have you ever received praise, or even an award, for being great at something despite having no clue what you’re doing? Do you feel like a fraud, wondering what sort of voodoo you’ve unwittingly conjured up to make people think you know what what you’re doing, when the reality is quite the contrary?&lt;/p&gt;
&lt;p&gt;I recently had a conversation with my girlfriend (going to school for her nursing degree) when she expressed her confusion with some praise she had received from her professor. Her professor had told her that she was the best nursing student she had had in years. “But how the hell could that be true?” she asked me. See, she sometimes struggles studying, is often worried about doing poorly on exams, and stresses about all of the things she doesn’t quite understand or can’t quite remember. At the same time,  she sees other people stroll into test-time confident and carefree. She sees others never asking questions and always seeming to just “get it”. By comparison, how could she possibly be any professor’s “best student in years?”&lt;/p&gt;
&lt;p&gt;I could see she was distressed. Lucky for her, I could relate. In fact, one of many similar experiences I’ve encountered occurred just over a year ago. I had entered a competition called the &lt;a href="http://www.gleq.org" target="_blank"&gt;Great Lakes Entrepreneur’s Quest (GLEQ)&lt;/a&gt;, which is a business plan competition for new business ideas and up-and-coming companies. My company had not won any awards at the competition that year. There were over 100 companies that entered, with nearly 500 total participants. Then during the awards ceremony they announced a brand new award that they were going to start giving out, the Spirit of Entrepreneurship Award, which would go to one individual who they felt exhibited the qualities of a great entrepreneur outside of just being able to write a good business plan. And the winner of the inaugural award was me. I was startled, confused, and amazed. If they had said my name half a second earlier, the person in front of me would have had a mouthful of Coke in their hair.&lt;/p&gt;
&lt;p&gt;How could I win such an award, being in a room with so many great entrepreneurs and so many exciting companies and business ideas? There were companies in the competition already making a million dollars in yearly revenue (eligibility for the competition required that your company be making less that $3 million annually). By comparison, I wasn’t even making enough to quit my day job yet. I had to fake a doctor’s appointment that day just to attend the awards ceremony. Don’t these other people know what they’re doing more than I?&lt;/p&gt;
&lt;p&gt;The answer to that question is the title of this post. No one knows what the fuck they’re doing. Not me, not those guys making bank, not anyone.&lt;/p&gt;
&lt;h2&gt;The 3 Types of Knowledge&lt;/h2&gt;
&lt;p&gt;To really understand how it is that no one knows what they’re doing, we need to understand the three fundamental categories of information.&lt;/p&gt;
&lt;p&gt;There’s the &lt;i&gt;shit you know&lt;/i&gt;, the &lt;i&gt;shit you know you don’t know&lt;/i&gt;, and the &lt;i&gt;shit you don’t know you don’t know&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img align="middle" src="http://media.tumblr.com/tumblr_kxldz31eZQ1qaukck.png"/&gt;&lt;/p&gt;
&lt;h3&gt;Imagine being lost in the woods.&lt;/h3&gt;
&lt;p&gt;&lt;img align="left" src="http://media.tumblr.com/tumblr_kxlefsuxjU1qaukck.jpg" width="140" height="210"/&gt;An example of &lt;i&gt;shit you know &lt;/i&gt;would be knowing that it’s okay to eat an apple should you come across an apple tree (however unlikely that may be).&lt;/p&gt;
&lt;p&gt;&lt;img align="right" src="http://media.tumblr.com/tumblr_kxlegokVrq1qaukck.jpg" width="150" height="200"/&gt;An example of the &lt;i&gt;shit you know you don’t know&lt;/i&gt; would be wondering if you can eat these berries. As a result, you may decide to play it safe and keep moving, or you may decide to eat one now, see if you get sick, and if not, eat some more.&lt;/p&gt;
&lt;p&gt;&lt;img align="left" src="http://media.tumblr.com/tumblr_kxlhod0tAS1qaukck.jpg" width="150"/&gt;For an example of &lt;i&gt;shit you don’t know that you don’t know&lt;/i&gt;, imagine if you were raised in an extremely sheltered environment, and you were never taught that some plants are poisonous. Finding yourself suddenly stranded in the wild, you would probably just start eating plants at random as you become hungry, without thinking twice. Pretty soon you would likely fall sick and die from dysentery or mycetism.&lt;/p&gt;
&lt;p&gt;As illustrated by this example, you can see that the only dangerous category is the &lt;i&gt;shit you don’t know that you don’t know &lt;/i&gt;(excluding extreme situations of life and death, where only the first category [&lt;i&gt;shit you know&lt;/i&gt;] could save you). The same goes for any profession.&lt;/p&gt;
&lt;p&gt;If I’m an engineer designing a bridge, I know that I need to account for that location’s climate when choosing the materials for building the bridge… this is stuff I know. I may not know exactly which materials have stress limits within boundaries set by the climate, but I can look it up… this is stuff I know that I don’t know. However, if I were a Veterinarian, and someone asked me to design a bridge, I may not even realize that different materials are affected differently by environmental factors… this would be stuff I don’t know that I don’t know. And in this situation, someone would probably die.&lt;/p&gt;
&lt;p&gt;In my girlfriend’s case, say she’s a nurse that needs to administer a drug to a patient. If she knows that the prescribed drug reacts negatively with another drug the patient is taking, she knows not to administer the drug. If she remembers that the drug has twenty side effects and tends to react with other drugs, she knows to either look it up or ask someone else who knows, perhaps a doctor, before administering it. The only dangerous scenario could be not realizing that there could be any side-effects or reactions, and thus administering the drug without any second thoughts. Again, the only dangerous category is the &lt;i&gt;shit you don’t know that you don’t know&lt;/i&gt;.&lt;/p&gt;
&lt;h2&gt;Wisdom and the Art of Being &lt;i&gt;Not Dangerous&lt;/i&gt;&lt;/h2&gt;
&lt;p&gt;Along these lines, “wisdom” may be defined as the ability to not be dangerous. So what then is the point of education and experience? Your professors and teachers (and typical exam structure) would lead you to believe that you must cram as much information as possible into the &lt;i&gt;shit you know&lt;/i&gt; category.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kxlesvVoT61qaukck.png"/&gt;&lt;/p&gt;
&lt;p&gt;I am going to be bold and suggest that this is wrong. The goal isn’t to put as much as possible into the first category, it’s to take as much as possible out of the third category.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kxlezdRbXO1qaukck.png"/&gt;&lt;/p&gt;
&lt;p&gt;Now whether this means putting it into the first or the second category isn’t as important, as long as it’s not in the third category. In other words, the goal is to be &lt;i&gt;not dangerous&lt;/i&gt;.&lt;/p&gt;
&lt;h2&gt;Everyone is as Clueless as You, If Not More&lt;/h2&gt;
&lt;p&gt;This is where the disconnect is. This is why you, my girlfriend, and myself at times feel like a fraud amidst praise and recognition. We feel that we have no clue what we’re doing, yet we see others confident and able. Surely they’re the ones that deserve the praise and recognition.&lt;/p&gt;
&lt;p&gt;Here’s the secret though. Those other people fall into one of two categories, and neither one of those categories is more knowledgeable or able than you are.&lt;/p&gt;
&lt;p&gt;1) They have figured out everything written here, and thus, are on an even playing field as you. They deserve it no more (and no less) than you do. They (and you) have a very large &lt;i&gt;shit you know you don’t know&lt;/i&gt; category. Not only that, but they (and you) can only imagine how immense the &lt;i&gt;shit you don’t know you don’t know&lt;/i&gt; category is (since it’s impossible to know by virtue of being the stuff you don’t know about). It’s easy to see how small the s&lt;i&gt;hit you know&lt;/i&gt; category is by comparison. And it is this awareness that makes them (and you) feel so clueless at times.&lt;/p&gt;
&lt;p&gt;2) They legitimately think they know everything. The thing is, they don’t. These people are usually very egotistical (not to be confused with simply having a healthy ego) and don’t realize how little they really know. In other words, they have far more in the third category (&lt;i&gt;shit they don’t know they don’t know&lt;/i&gt;), and far less in the second category (&lt;i&gt;shit they know they don’t know&lt;/i&gt;). The first category is probably more or less the same.&lt;/p&gt;
&lt;p&gt;One thing to note about this second type of confident people is that they are dangerous in two ways. For one, they exhibit a much larger third category as discussed above. They can be likened to a stereotypical teenager in thinking they know everything and not realizing how much there really is to know. However, unlike teenagers, they have a tendency to make others think they know what they’re doing, which makes others tend to rely on them. It causes others to put them in charge of things it &lt;i&gt;seems&lt;/i&gt; like they know how to handle. And of course, since these people legitimately think they know how to handle these things, they are likely not to look it up or defer to people who actually know. As you can imagine, this causes their potential to be dangerous much more real than that of teenagers.&lt;/p&gt;
&lt;h2&gt;The Reason You Feel Like a Fraud&lt;/h2&gt;
&lt;p&gt;The real reason you feel like a fraud is because you have been successful in taking a lot of information out of the third category and put it into the second category; you of a lot of stuff you don’t know. The good news is that this makes you very &lt;i&gt;not dangerous&lt;/i&gt;. The bad news is that it also makes you feel dumb and helpless a lot of the time.&lt;/p&gt;
&lt;h2&gt;Relax, Be Realistic, You Can Do It&lt;/h2&gt;
&lt;p&gt;I hope that this helps if you find yourself sometimes feeling conflicted, recognizing the contradiction between your abilities and what other people say about your abilities. When you find yourself in a situation where you don’t know what you’re doing, don’t be afraid to ask for help. Don’t ever feel ashamed for not understanding something, even it seems like it should be obvious; if you don’t understand it, then it’s not obvious, plain and simple.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kxlflmi3091qaukck.jpg" align="right"/&gt;In fact, if you never feel clueless, and you always know better than everyone else, please let me know, so that I can be aware of how dangerous you are.&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;Update: Rumsfeld, Dunning-Kruger, and Hacker News&lt;/i&gt;&lt;/h2&gt;
&lt;p&gt;Since writing this, I’ve been pointed to Donald Rumsfeld’s poem, &lt;i&gt;The Unknown&lt;/i&gt;, which quite concisely describes the &lt;i&gt;3 Types of Knowledge&lt;/i&gt; I’ve written of here.&lt;/p&gt;
&lt;blockquote&gt;&lt;b&gt;The Unknown&lt;br/&gt;&lt;/b&gt;As we know, &lt;br/&gt;There are known knowns. &lt;br/&gt;There are things we know we know. &lt;br/&gt;We also know &lt;br/&gt;There are known unknowns. &lt;br/&gt;That is to say &lt;br/&gt;We know there are some things &lt;br/&gt;We do not know. &lt;br/&gt;But there are also unknown unknowns, &lt;br/&gt;The ones we don’t know &lt;br/&gt;We don’t know.
&lt;p&gt;&lt;i&gt;—Feb. 12, 2002, Department of Defense news briefing&lt;/i&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Reformatted by &lt;a href="http://www.slate.com/id/2081042/" target="_blank"&gt;The Slate&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Another related idea that has since been pointed out to me is the&lt;a href="http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect" target="_blank"&gt; Dunning-Kruger Effect&lt;/a&gt;, which describes a bias in people’s in which they reach erroneous conclusions and lack the ability to realize it.&lt;/p&gt;
&lt;p&gt;And for some really good relavent discussion on this post, check out the &lt;a href="http://news.ycombinator.com/item?id=1121775" target="_blank"&gt;thread on Hacker News&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;Update: Sub-categories of Knowledge&lt;/i&gt;&lt;/h2&gt;
&lt;p&gt;As a few people have pointed out in the comments and &lt;a href="http://news.ycombinator.com/item?id=1122053" target="_blank"&gt;on Hacker News&lt;/a&gt;, there are also a few sub-categories of knowledge that are worth mentioning.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Shit you don’t know you know&lt;/i&gt;:&lt;/p&gt;
&lt;p&gt;This is most closely a sub-category of the shit you know you know (1st category), but for one detail… you don’t realize that you know it. This category delves into the Freudian theories of the subconscious.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Shit you know you don’t know *anymore*&lt;/i&gt;, a.k.a. the shit you know you forgot:&lt;/p&gt;
&lt;p&gt;This is a sub-category of the &lt;i&gt;shit you know you don’t know&lt;/i&gt; (2nd category). As has been humorously pointed out, this is one of the main ways your second category grows to its overwhelming size as you get older.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Shit you think you know, but don’t:&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;This is a sub-category of the &lt;i&gt;shit you don’t know you don’t know&lt;/i&gt; (3rd category). This is the most dangerous of all knowledge. This is mis-knowledge.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://overtherailing.com/post/387673468</link><guid>http://overtherailing.com/post/387673468</guid><pubDate>Sat, 13 Feb 2010 12:13:20 -0800</pubDate></item><item><title>Cognitive dissonance in marketing</title><description>&lt;p&gt;From a recent Blackberry Bold 9700 ad:&lt;/p&gt;
&lt;p&gt;&lt;i&gt;“Whether conducting business with partners or conducting imaginary trains with your 5 year old, give every moment your undivided love.”&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;I’m reminded of the Bill Hicks bit on marketing and advertising…&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=gDW_Hj2K0wo" target="_blank"&gt;http://www.youtube.com/watch?v=gDW_Hj2K0wo&lt;/a&gt;&lt;/p&gt;</description><link>http://overtherailing.com/post/361783911</link><guid>http://overtherailing.com/post/361783911</guid><pubDate>Sat, 30 Jan 2010 11:41:00 -0800</pubDate></item><item><title>Photoshop CS3 and case-sensitive HFS on OSX</title><description>&lt;p&gt;I recently reinstalled OSX 10.6 onto a shiny new hard disk. Upon restoring my backups, I discovered my (legit) Adobe Photoshop CS3 installation wasn’t working. It would immediately crash upon startup, and the OSX error report included something about a missing framework:&lt;/p&gt;
&lt;pre&gt;Dyld Error Message:
  Library not loaded: @executable_path/../Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
  Referenced from: /Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app/Contents/MacOS/Adobe Photoshop CS3
  Reason: image not found&lt;/pre&gt;
&lt;p&gt;Much to my dismay, I discovered after some Googling that &lt;b&gt;CS3 products do not function properly when installed on case-sensitive HFS volumes.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;…&lt;/p&gt;
&lt;p&gt;OK, so total disbelief aside, here’s an extremely helpful blog post that includes a shell script for fixing this brain-dead behaviour.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/" target="_blank"&gt;http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This reminds me… I need to buy a license for Pixelmator [http://www.pixelmator.com] and &lt;b&gt;stop funding the Hellspawn that Adobe’s products have become.&lt;/b&gt; &lt;/rant&gt;&lt;/p&gt;</description><link>http://overtherailing.com/post/353316814</link><guid>http://overtherailing.com/post/353316814</guid><pubDate>Mon, 25 Jan 2010 15:47:00 -0800</pubDate><category>adobe</category><category>dieinafire</category><category>photoshop</category><category>osx</category><category>hfs</category><category>wtf</category><category>pixelmator</category></item><item><title>Compress rotated process accounting logs on FreeBSD</title><description>&lt;p&gt;A default FreeBSD system with process accounting enabled, either manually through ‘accton [accounting file]’ or by setting ‘accounting_enable=”YES”’ in /etc/rc.conf, will rotate through 3 *uncompressed* process accounting log files.&lt;/p&gt;
&lt;p&gt;Here’s a snippet of /etc/defaults/periodic.conf:&lt;/p&gt;
&lt;pre&gt;# 310.accounting
daily_accounting_enable="YES"	# Rotate acct files
daily_accounting_compress="NO"	# Gzip rotated files
daily_accounting_flags=-q	# Flags to /usr/sbin/sa
daily_accounting_save=3		# How many files to save&lt;/pre&gt;
&lt;p&gt;If you’d like to compress your rotated process accounting logs, override the above “daily_accounting_compress” statement by placing this in your “/etc/periodic.conf” file (whose values will override those in /etc/defaults/periodic.conf):&lt;/p&gt;
&lt;pre&gt;daily_accounting_compress="YES"&lt;/pre&gt;
&lt;p&gt;This will compress rotated logs using the default -6 level of gzip compression. You could change this if you really wanted to by editing /etc/periodic/daily/310.accounting, but even the default level of compression will likely reduce the files to 1/3 or 1/4 their original size.&lt;/p&gt;
&lt;p&gt;(I’ve verified these defaults on FreeBSD 7.0/7.1/8.0.)&lt;/p&gt;</description><link>http://overtherailing.com/post/347755889</link><guid>http://overtherailing.com/post/347755889</guid><pubDate>Fri, 22 Jan 2010 11:43:00 -0800</pubDate><category>freebsd</category><category>process accounting</category><category>security</category></item><item><title>Help prevent idiotic powerdown/reboot mistakes with molly-guard</title><description>&lt;p&gt;We’ve all been there: it’s past quitting time, you’ve got a half-dozen terminals open, and you halt or reboot a machine… only to realize moments later (with creeping panic) it was the wrong one.&lt;/p&gt;
&lt;p&gt;molly-guard is a straightforward script that intercepts reboot/shutdown-related commands. Here’s an example where I punch in reboot, but fail to confirm the hostname I’m meaning to restart:&lt;/p&gt;
&lt;pre&gt;root@linuxhost:~# reboot
W: molly-guard: SSH session detected!
Please type in hostname of the machine to reboot: oops
Good thing I asked; I won't reboot linuxhost ...
W: aborting reboot due to 30-query-hostname exiting with code 1.
&lt;/pre&gt;
&lt;p&gt;molly-guard is available for many distributions; check with your preferred package manager.&lt;/p&gt;
&lt;p&gt;(By default in Ubuntu, molly-guard will only provide the above functionality for remote sessions. If you’d prefer that it *always* requested confirmation for shutdown/restart operations, see here for details: http://www.ubuntugeek.com/molly-guard-protects-machines-from-accidental-shutdownsreboots.html)&lt;/p&gt;
&lt;p&gt;A little information on the origin of the name “molly-guard” (cute!): &lt;a href="http://en.wiktionary.org/wiki/molly-guard" target="_blank"&gt;http://en.wiktionary.org/wiki/molly-guard&lt;/a&gt;&lt;/p&gt;</description><link>http://overtherailing.com/post/338763553</link><guid>http://overtherailing.com/post/338763553</guid><pubDate>Sat, 16 Jan 2010 23:31:01 -0800</pubDate></item><item><title>Keylogging on Mac OSX</title><description>&lt;p&gt;A friend recently had a Webmail account compromised. Being a reasonably savvy user, he was concerned a keylogger may be present on his Mac.&lt;/p&gt;
&lt;p&gt;This led me to realize I knew nothing whatsoever about OSX keyloggers.&lt;/p&gt;
&lt;p&gt;A bit of Googling led me to logkext [ &lt;a href="http://code.google.com/p/logkext" target="_blank"&gt;http://code.google.com/p/logkext&lt;/a&gt; ], an open-source kernel extension for key logging. (Sadly, the project page indicates it is no longer under active development.)&lt;/p&gt;
&lt;p&gt;I tested it on Snow Leopard and it works like a charm. The command line utility “logKextClient” is used to manage logging (the logfile location is customizable and can be encrypted) and to view the contents of the logfile itself. The entire package can be easily removed by running “LogKextUninstall.command” (which is copied to / when logkext is installed).&lt;/p&gt;
&lt;p&gt;I haven’t played with any OSX antimalware packages to see if they detect/deactivate/remove logkext.&lt;/p&gt;
&lt;p&gt;p.s. You can list loaded kernel extensions by popping open Terminal and using the “kextstat” utility.&lt;/p&gt;
&lt;p&gt;p.p.s. So far, doesn’t look like a keylogger was to blame for the compromise listed above.&lt;/p&gt;</description><link>http://overtherailing.com/post/323857269</link><guid>http://overtherailing.com/post/323857269</guid><pubDate>Fri, 08 Jan 2010 13:21:00 -0800</pubDate><category>keylogger</category><category>osx</category><category>snow leopard</category><category>logkext</category><category>security</category></item><item><title>Symantec Endpoint Protection 11 client on Windows 7 Pro x64</title><description>&lt;p&gt;If you’re having grief installing SEP11 on Windows 7 x64, give this a try:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Install LiveUpdate (via SEPWin64\x64\LUSETUP.exe in the original installation discs/files)&lt;/li&gt;
&lt;li&gt;Reboot the machine&lt;/li&gt;
&lt;li&gt;Re-try your SEP client installation.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;I was unable to install either from those original installation files or a managed client package before following the above procedures.&lt;/p&gt;
&lt;p&gt;Thanks to Paul Murgatroyd for the hint: &lt;a target="_blank" href="http://www.symantec.com/connect/forums/windows-7-beta-and-sep-11-mr4"&gt;&lt;a href="http://www.symantec.com/connect/forums/windows-7-beta-and-sep-11-mr4" target="_blank"&gt;http://www.symantec.com/connect/forums/windows-7-beta-and-sep-11-mr4&lt;/a&gt;&lt;/a&gt;&lt;a target="_blank" href="http://www.symantec.com/connect/forums/windows-7-beta-and-sep-11-mr4"&gt;&lt;/a&gt; - opens in new window&lt;/p&gt;</description><link>http://overtherailing.com/post/256354506</link><guid>http://overtherailing.com/post/256354506</guid><pubDate>Tue, 24 Nov 2009 18:31:00 -0800</pubDate></item></channel></rss>

