<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1604521668529955719</id><updated>2008-08-31T13:58:50.906-04:00</updated><title type='text'>Kosmokaryote .plan</title><subtitle type='html'></subtitle><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default?start-index=26&amp;max-results=25'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>61</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-7206868727205610426</id><published>2008-08-31T13:46:00.000-04:00</published><updated>2008-08-31T13:58:51.005-04:00</updated><title type='text'>Thumbnailing in Nautilus</title><content type='html'>&lt;p&gt;I was just using my laptop and things started slowing down and swapping like crazy and the other application began freezing.  Not this again, I though.  So, I switched to doing some tasks on the command-line where I got the notice that there was insufficient space left on my hard disk!&lt;/p&gt;

&lt;p&gt;Oh dear, I thought, this must be because of the GNOME source code and my build of it.  Well, I went about looking for other sources of junk to remove to free some small amount of space.  Eventually.  A few megabytes here, a few megabytes there.  Actually a rather small lunch, but throwing stuff away can be expensive for my heart.  Then, however, I found my free lunch!  When I tried to check the size of the ~/.thumbnails directory, nothing happened!  It kept working on it, and working on it, and working on it, to no avail.  I thought: does the programme do anything stupid that requires more space than I have free?  Well, that seemed improbable, so I decided to do a heuristic:  find out how many files there are there and the average size of a small set of them.  I had about 190,000 thumbnails averaging 50kB each!  36 minutes later, they were removed and I had 9GB back!&lt;/li&gt;

&lt;p&gt;Some things I wish thumbnailing in GNOME would do:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;prevent thumbnails from being generated for files within ~/.thumbnails.  (That way, you won't infinitely generate them for infinitely many of them&lt;/li&gt;
  &lt;li&gt;either generate the hashed filenames from a hash of the actual file and not its path, so that way, if I move it or make a duplicate, I won't end up with multiple thumbnails; OR, when files are moved (at least in GNOME applications, which doesn't help my terminal behaviour), find the old thumbnail hashed from the old path and then rename it to a hash of the new path.  I can see how the first would slow down thumbnailing, though I have &lt;a href="http://bugzilla.gnome.org/show_bug.cgi?id=80925" title="not certain that this is related to thumbnailing speed"&gt;a suspicion&lt;/a&gt; that the image down sampling isn't that fast either.&lt;/li&gt;
  &lt;li&gt;Better file system organisation of thumbnails.  Right now, tens of thousands will accumulate in ~/.thumbnails/normal :|&lt;/li&gt;
  &lt;li&gt;A limit and some &lt;em&gt;accurate&lt;/em&gt; way to determine when it was last used, so we can purge ones we never look at after a few months.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So, it's Open Source: why don't I try to do some of this myself?  Well, I might, once I get work out of the way to-day :)&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/thumbnailing-in-nautilus.html' title='Thumbnailing in Nautilus'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/thumbnailing-in-nautilus.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/7206868727205610426'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/7206868727205610426'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-3913932856215088243</id><published>2008-08-26T02:53:00.001-04:00</published><updated>2008-08-26T11:40:08.579-04:00</updated><title type='text'>Back It Up.</title><content type='html'>&lt;p&gt;Blogger has changed its user interface slightly again.  I am also back to using the "Blogger in Draft" dashboard.  Yay.&lt;/p&gt;

&lt;p&gt;I'm mostly writing this to document the copy command I use to merge directories these days:&lt;/p&gt;

&lt;pre&gt;cp -av --backup=numbered foo/* foo2/&lt;/pre&gt;

&lt;p&gt;I'm terrified of dataloss.  That's why I use --backup=numbered.  I usually merge too many files to make -i interactivity viable.  -v verbosity helps me find out what things were backed up (would have conflicted), and -a preserves permissions and timestamps.&lt;/p&gt;

&lt;p&gt;Actually, I think I should further investigate rsync.  I want something that won't create backups if the files are truly the same (by checksum, or is time+size enough?) but does create unique backups elsewise.  Actually, it sounds like this will do the trick&lt;/p&gt;

&lt;pre&gt;rsync -abz --progress&lt;/pre&gt;

&lt;p&gt;Right now, I'm orchestrating back-ups for my girlfriend and me.  I have a 500GB external HD and she has a 250GB HD.  I'm currently packing up the 500GB's contents onto her HD and then will be backuping up her HD and my own to the 500GB external HD.  Going through an old backup, I realised that I had lost some files along the way, perhaps just through gross negligence.  I'm not sure.  I hope to one day retrieve my girlfriend's files locked away on her dead HD from a few months ago.  Sigh.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/back-it-up.html' title='Back It Up.'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/back-it-up.html#comment-form' title='2 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3913932856215088243'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3913932856215088243'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-5073998664400141327</id><published>2008-08-22T03:43:00.002-04:00</published><updated>2008-08-22T03:45:04.094-04:00</updated><title type='text'></title><content type='html'>&lt;p&gt;Found via &lt;a href="http://languagelog.ldc.upenn.edu/nll/?p=478"&gt;Language log&lt;/a&gt;:

&lt;h4&gt;Question to Radio Yerevan&lt;/h4&gt;
&lt;blockquote&gt;Is it correct that Grigori Grigorievich Grigoriev won a luxury car at the All-Union Championship in Moscow?&lt;/blockquote&gt;

&lt;h4&gt;Answer&lt;/h4&gt;
&lt;blockquote&gt;In principle, yes. But first of all it was not Grigori Grigorievich Grigoriev, but Vassili Vassilievich Vassiliev; second, it was not at the All-Union Championship in Moscow, but at a Collective Farm Sports Festival in Smolensk; third, it was not a car, but a bicycle; and fourth he didn't win it, but rather it was stolen from him.&lt;/blockquote&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/found-via-language-log-question-to.html' title=''/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/found-via-language-log-question-to.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/5073998664400141327'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/5073998664400141327'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-2230836950867419755</id><published>2008-08-17T15:08:00.000-04:00</published><updated>2008-08-22T03:42:02.834-04:00</updated><title type='text'>Spontaneous Update</title><content type='html'>&lt;p&gt;I have quite a bit to write, and never any time to write it, all of a sudden.  So, let's begin with contentless updates, hint at more, and then not indulge you any farther, hurrah?&lt;/p&gt;

&lt;h4&gt;Work Shirt Drama&lt;/h4&gt;

&lt;p&gt;At work, we get to dress casually throughout this summer. However, after that, we need to be more formal, to better impress potential clients who will go "Wow, look at how well dressed these people are!  This is but one more point in favour of giving them my business!"  It sounds shallow, yes, but apparently it works.  Anyway, this necessitates a minor expansion to my wardrobe.  It amuses me that, while at TRIUMF, most of my wardrobe would easily have been considered as business casual.  I had a lot of formal-looking shirts at the time (though not dress shirts).  In the 3 years since, I have a more casual wardrobe (not that I actually purchased much in the way of clothing), and left almost all of my formal wear back at my father's.  I am impressed by how much it could change without me actively making any effort.  I wonder what I will look like fashion-wise in another 3 years!  Oh, the shallow prospects!  I wonder whether I am shallow.  Anyway, shallowness combined with incredible cheapness makes it very difficult to purchase new dress shirts.  My requirements are that they fit (15" collars are too small, 16" collars are almost too big!), that they be black (I have actually put great effort into resisting the accumulation of black clothing- however, as my girlfriend notes: I look excellent in a black dress shirt), and that they cost me $15 or less!  I investigated Zellers (poor selection of sizes, but nice prices), the Bay (poor prices, but a great selection of sizes), several miscellaneous outlets (prices or sizes always close, but not close enough), Winners (the worst place to look; it was in utter disarray), and Sears, where they had the best deal: 2 dress shirts for $20.  Sadly, any package that came with a black one was accompanied by a white one.  White isn't so very bad, but I already own one white shirt.  OH THE SHIRT DRAMA.&lt;/p&gt;

&lt;p&gt;I also acquired snazzy new shoes, but &lt;em&gt;not&lt;/em&gt; the snazzy new jackets, found at Zellers.  I will upload a photo, or claim to, and then never do it.  I have an interest in minimising consumption.  I needed shoes, more or less, due to the degradation of the only pair I own.  That pair I've only had for four months, though, so they may be called a bad investment.  I never really expected them to be very durable, and I abused them.  At 4x the price of the last pair (which were $7, by the by), I am optimistic that my new shoes should make at least a year.&lt;/p&gt;

&lt;h4&gt;Olympian&lt;/h4&gt;

&lt;p&gt;I don't care about the Olympics, more or less.  However, I have, in the past, enjoyed Kendo.  Recently, in part due to my girlfriend resuming karate, I am considering resuming Kendo.  However, I must find a dojo locally that does not take itself &lt;em&gt;too seriously&lt;/em&gt;.  The Burnaby one is particularly strict.  I cannot bring myself to treat a lot of things very seriously anymore.  My irreverence has grown.  I seem to take late buses seriously enough, though...  Ack!  I will become Samurai once more.&lt;/p&gt;

&lt;p&gt;I hear from a friend of my girlfriend who has been teaching English in Japan that the cuisine there isn't very vegetarian friendly, due to an inclination to include fish or fish-derivatives in many or most dishes.  Yikes!  Perhaps I should continue to admire their culture from afar.&lt;/p&gt;

&lt;p&gt;Regarding the Olympics, I am mildly disappointed that Canada has started accruing medals.  I was pleased to see the National Post list animals who can commonly best our best athletes in speed, weight-lifting, swimming, and jumping.  Hurrah for the animal kingdom.  They're never invited, mind you.&lt;/p&gt;

&lt;p&gt;I have been fascinated by the International situation situated around Russia much more in the past few weeks.  Russia seems to have acted rather cleverly.  More than I would expect from most modern national governments.  Not that my expectations are at all informed.&lt;/p&gt;

&lt;h4&gt;Dreams&lt;/h4&gt;

&lt;p&gt;Strangely, I saw my mother in a dream the other day.  Do you know how, sometimes, a possibility has passed on, the feeling that, perhaps it might one day just resume being as it was, being possible?  In this dream, I saw her at home with my father, and they were both quite happy, and I decided not to draw any attention to the improbability of the situation.  I was quite content, despite the illogic, to let it be and be very happy with it.  I think it was spurred by seeing a lady who looked like my mother sitting outside of my work the other day.  I came very close to approaching her and asking her whether she was German, just to make sure.  In reality, logic reigned supreme, sadly.  Note to self: sabotage logic.&lt;/p&gt;

&lt;h4&gt;Sunday's Best&lt;/h4&gt;

&lt;p&gt;"Sunday's Best" is a neat album released by a friend of mine: Mike Harloff.  He's an Ontarian who went to my high school, and the album is very nice.  It is a bit mellow but not sad.  It is soft but still indie.  His &lt;a href="www.last.fm/music/Mike+Harloff"&gt;Last.fm profile&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;More to say&lt;/h4&gt;

&lt;p&gt;There's more to say, of course, and, of course, I won't say it.  I have spent enough time away from bed and I cannot spare anything further!  However, I would like to advocate &lt;a href="http://www.indiebird.com"&gt;Indie Bird&lt;/a&gt;'s latest game, Swarm.  It's a simple, fun, polished Indie game.&lt;/p&gt;

&lt;p&gt;Good night&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/spontaneous-update.html' title='Spontaneous Update'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/spontaneous-update.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/2230836950867419755'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/2230836950867419755'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-6680482178782826229</id><published>2008-08-16T13:28:00.002-04:00</published><updated>2008-08-16T18:12:24.644-04:00</updated><title type='text'></title><content type='html'>&lt;p&gt;When your children borrow your hammer, do you assume that it's to build a fort? a treehouse?  Do you ever stop to think that they're just going to smash eggs in bird nests and the skull of your neighbour's poodle?  I don't, because I do not have kids.  Remember: uncertainty is born of child labour.  Sometimes the U.S. seems like a child with a hammer.  Unrelated is &lt;a href="http://scienceblogs.com/dispatches/2008/08/why_russia_was_wrong_to_invade.php#more" title="A video lies beneath."&gt;this comment&lt;/a&gt; from John McCain on Russia vs Georgia:&lt;/p&gt;

&lt;blockquote&gt;In the 21st century, nations don't invade other nations.&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://news.bbc.co.uk/2/hi/uk_news/scotland/edinburgh_and_east/7562773.stm"&gt;Sir Nils Olav&lt;/a&gt;, a knighted member of the Norwegian Guard and resident penguin at the Edinburgh Zoo, captivates me.  It is imperative that, should Edinburgh ever be imperilled, that Norway deploy him to its defense, I feel.  I do someday home that animals and humans might one day interact on a closer level of understanding.&lt;/p&gt;

&lt;p&gt;I have sort of lost my blogging voice.  Hmm.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/when-your-children-borrow-your-hammer.html' title=''/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/when-your-children-borrow-your-hammer.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6680482178782826229'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6680482178782826229'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-6837528151304892021</id><published>2008-08-03T16:11:00.003-04:00</published><updated>2008-08-03T17:16:16.800-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='happy'/><category scheme='http://www.blogger.com/atom/ns#' term='liv'/><category scheme='http://www.blogger.com/atom/ns#' term='samurai'/><category scheme='http://www.blogger.com/atom/ns#' term='ships'/><category scheme='http://www.blogger.com/atom/ns#' term='gnome'/><title type='text'></title><content type='html'>&lt;p&gt;I am pretty happy right now.  I just ate, the sun is shining, I might have acute bronchitis (which is usually viral (but sometimes bacterial) so usually you have to wait it out (but it would suck if it was bacterial (as I haven't submitted my health insurance forms yet :|))).  Liv has a short day and will return soon.  My jhbuild of GNOME is finally progressing.  I am eating some of the best cherries I've ever tasted.  And I have a shopping list to focus my afternoon with.  Hand-soap, milk, toilet paper.  Eventually, lamp, knife sharpener, tiny vacuum cleaner.  In future living arrangements, I hope to be amiable with neighbours, so I can abuse their friendship for such conveniences as a vacuum cleaner.&lt;/p&gt;

&lt;p&gt;Even things that are traditionally considered bad are a part of my good day.  I cut my hand on my mushroom soup tin.  The cut is very small and quaint.  I wonder what in life has defined my expectations for happiness, because some of them are weird.&lt;/p&gt;

&lt;p&gt;However, I am concerned with my recent interest in conveniences.  We purchased a $4 popcorn popper the other day at my insistence.  A pan is not good enough?  Well, if we had a more suitable pan, perhaps it would be.  Or a cover for the pan that barely touches the burner would be ideal.  Perhaps it's not conveniences, so much as availability of decent tools.  We have a pan that is way too big for many simple uses, one that is warped and hardly touches the burner (which is alright), and neither have lids.  Regardless, I also have an urge for a blender to make smoothies from all the fruit we buy.  I suppose that isn't unreasonable.  At least I don't seem to care about a microwave too much.  However, this all goes against the simple that I've been planning to lead.  Hmm hmm hmm.&lt;/p&gt;

&lt;p&gt;For some reason, my interest in ships and samurai has been increasing this year.  Perhaps it is time to revisit Shogun.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/i-am-pretty-happy-right-now.html' title=''/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/08/i-am-pretty-happy-right-now.html#comment-form' title='2 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6837528151304892021'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6837528151304892021'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-6959931751222124789</id><published>2008-07-25T23:10:00.003-04:00</published><updated>2008-07-25T23:22:18.109-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pidgin'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='gmail'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='otr'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='privacy'/><category scheme='http://www.blogger.com/atom/ns#' term='instant messaging'/><title type='text'>K2yo234hkjh23r0a: Encryption, privacy, e-mail, and instant messenging</title><content type='html'>&lt;p&gt;I am quite pleased to see Google's &lt;a href="http://gmailblog.blogspot.com/2008/07/making-security-easier.html"&gt;new option&lt;/a&gt; for Gmail to have your Gmail session in https by default.  Basically, that means that the data communicated will be encrypted, rather than passed across the Internet in plaintext.  Previously, and still, you could explicitly request an encrypted session by designating the protocol to be HTTPS in the URL, like &lt;a href="https://www.gmail.com"&gt;https://www.gmail.com&lt;/a&gt;.  To ensure your Gmail sessions are encrypted, go to your Settings and scroll to the bottom, and select the option "Always use https".&lt;/p&gt;

&lt;p&gt;While there are performance penalties, I think that encryption is generally a good idea.  In particular, I find it almost scandalous that Instant Messengers do not offer an option to encrypt your conversations by default.  A popular IM encryption software suite, providing plugins for a number of messengers, is &lt;a href="http://www.cypherpunks.ca/otr/"&gt;Off the Record&lt;/a&gt;.  Of course, both sides need to be using it for the encryption to work (or how would the otherside decrypt your messages?), so that is a massive barrier to using it commonly.&lt;/p&gt;

&lt;p&gt;One "feature" I dislike about OTR is deniability, which I probably don't understand very well.  They do not employ digital signatures that would certify messages were from you outside of your current session.  This is considered good, I think so that people cannot be held strictly responsible for forged messages purporting to be from them: hence deniability.  I can see applications for it, but I think that, while I appreciate the privacy of encryption, I don't necessarily want deniability.  I am generally responsible for what I do and say.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/07/k2yo234hkjh23r0a-encryption-privacy-e.html' title='K2yo234hkjh23r0a: Encryption, privacy, e-mail, and instant messenging'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/07/k2yo234hkjh23r0a-encryption-privacy-e.html#comment-form' title='2 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6959931751222124789'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6959931751222124789'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-1851780070107932904</id><published>2008-07-14T04:10:00.003-04:00</published><updated>2008-07-14T05:02:57.951-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='bugs'/><category scheme='http://www.blogger.com/atom/ns#' term='stanley park'/><category scheme='http://www.blogger.com/atom/ns#' term='beetles'/><category scheme='http://www.blogger.com/atom/ns#' term='work'/><category scheme='http://www.blogger.com/atom/ns#' term='laundry'/><category scheme='http://www.blogger.com/atom/ns#' term='water'/><category scheme='http://www.blogger.com/atom/ns#' term='cooking'/><category scheme='http://www.blogger.com/atom/ns#' term='vancouver'/><category scheme='http://www.blogger.com/atom/ns#' term='food'/><title type='text'>the second raid to be discussed another day (but oh, the hair!)</title><content type='html'>&lt;p&gt;To-day I got to save a beetle that hissed at me, hissed at me!  I saved it from the ground and saved it onto grass. It wouldn't move.  It's legs would wiggle, but the only real movement was its hiss vibrating into my ears.  It sounded like an empty aerosol can, trying to poison my dinner.  Hiss- hiss- hiss!  I wonder if it will survive the night or be silenced before the sun returns?  Perhaps it was just asleep, hissing its nocturnal annoyance.  Sidewalks make poor beds.  Shoes make poorer blankets.  Picture to follow?&lt;/p&gt;

&lt;p&gt;To-day a ghost dryer helped me &lt;em&gt;cheat the system&lt;/em&gt; and dried for me without charge.  Just a little, here and there.  Hopeful that no one would notice.  I was complicit.  I waited quite a while before betraying this charity to an employee, to whom, effectively neutered by the barrier between languages, couldn't seem to appreciate the consequence of the machine's crimes.  6 minutes/25¢ isn't that shabby, anyway.  (Every minute after finishing, it would run for an additional 15 seconds, the door open or not (frightening, having your favourite thong flying out at you) until all your clothing had exited (what senses has it?!)).&lt;/p&gt;

&lt;p&gt;To-day Liv and I worked on a culinary masterpiece.  It's too good to describe.  Photos must be supplied!  To-day I got to be.&lt;/p&gt;

&lt;p&gt;Yesterday I got wet.  Thoroughly.  Soaked, drenched, and then cooked alive.  Boiled red?  Fried dry.  I attended a flashmobby romp in the park.  Stanley Park, host of Vancouver's second annual waterfight.  We came unprepared, but like any good team of mercenaries, improvised.  Water-tight bag?  Check.  Discarded cup?  Check.  Alliances were made, and summarily betrayed.  Wheee.  My girlfriend was even a key figure in the background of someone's photograph!&lt;/p&gt;

&lt;p&gt;Last week I go to work.  A fair deal of overtime.  I really don't mind it.  I enjoy getting things done.  I hope to better manage my non-work time, though.  I am having sufficient levels of fun, it would seem, but I'm barely meeting schooling requirements, and Open Source contributions are, let us say, stalled?&lt;/p&gt;

&lt;p&gt;Yay for life, and stuff. :)&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/07/to-day-i-got-to-save-beetle-that-hissed.html' title='the second raid to be discussed another day (but oh, the hair!)'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/07/to-day-i-got-to-save-beetle-that-hissed.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/1851780070107932904'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/1851780070107932904'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-8521988093556645493</id><published>2008-07-08T02:31:00.004-04:00</published><updated>2008-07-08T02:54:28.054-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='macbook'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Right-click on a Macbook</title><content type='html'>&lt;p&gt;My girlfriend's hard drive on her Macbook recently crashed, so a new hard drive and installation of Fedora later, we were refaced with "How to right-click?"  I have forgotten the name of the application we were using last time, but we had it set up to substitute the Enter key (near the space bar) with a mouse's right click.  Searching around for the optimal solution revealed that the kernel by default might have facilities built in to support this redirection of input.  Indeed, and this is how we do it:&lt;/p&gt;

&lt;pre&gt;# cd /proc/sys/dev/mac_hid
# echo 1 &gt; mouse_button_emulation
# echo 96 &gt; mouse_button3_keycode&lt;/pre&gt;

&lt;p&gt;I tried using &lt;em&gt;dumpkeys&lt;/em&gt; to find out which keycode belonged to that Enter.  It turned out to be KP_Enter for the keypad which mapped to 96 for us.  Yay.&lt;/p&gt;

&lt;p&gt;To make the change more permanent, we're setting the following in /etc/sysctl.conf:&lt;/p&gt;

&lt;pre&gt;dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button3_keycode  = 96&lt;/pre&gt;

&lt;p&gt;Credit for this knowledge goes to &lt;a href="http://www.mactel-linux.org/wiki/Kernel_Configuration_Guide#Special_keys"&gt;Mactel-Linux.org&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Oh, and &lt;a href="http://www.sysadminblog.com/index.php?/archives/248-Disable-Trackpad-Click-on-Linux.html"&gt;sysadminblog&lt;/a&gt; advised us to set&lt;/p&gt;

&lt;pre&gt;Option "MaxTapTime" "0"&lt;/pre&gt;

&lt;p&gt;in the synaptics section in /etc/X11/xorg.conf to disable the trackpad click.  However, in her Fedora 9 install, there was no synaptics section.  Adding a bare one with the entry stopped the trackpad from clicking, but it also made it unbearably slow.  Now the entry for the input device looks like:&lt;/p&gt;

&lt;pre&gt;Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizEdgeScroll"       "0"
        Option          "MaxTapTime"            "0"
        Option          "MinSpeed"              "0.4"
        Option          "MaxSpeed"              "1"
        Option          "AccelFactor"           "0.02"
EndSection&lt;/pre&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/07/right-click-on-macbook.html' title='Right-click on a Macbook'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/07/right-click-on-macbook.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8521988093556645493'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8521988093556645493'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-8567802299207057362</id><published>2008-06-22T15:55:00.002-04:00</published><updated>2008-06-22T16:54:14.179-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Three Cheers for Google</title><content type='html'>&lt;p&gt;Sure, they might become evil some day, if not already, but as far as companies go, I'm definitely part of the audience they cater to, and they cater well.  I will hire them for my 25&lt;sup&gt;th&lt;/sup&gt; birthday.&lt;/p&gt;

&lt;p&gt;I think I might like them as my friend Frank enjoys Apple.  I am currently enjoying their Post to Blogger iGoogle gadget.  In the future, it might be supported in their other containers (e.g. Google Gadgets for Linux).&lt;/p&gt;

&lt;p&gt;The attention they pay to Linux is really phenomenal.  I mean, our market share is so relatively slim.  The future does belong to Linux, but not the present.  They even go to efforts to assist Open Source.  Google Code makes me smile all the time.  The Google Summer of  Code is huge.  Oh- my girlfriend beckons- there's a video she wants to show me on Google Video (which I prefer over YouTube (which is another thing- YouTube isn't profitable for them, and they'll still gracefully taking the hit)).&lt;/p&gt;

&lt;p&gt;I have more to say, about my "new" computer, my girlfriend's birthday, dead hard drive, and the journey we'll embark upon to retrieve its contents.  Yay!&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/three-cheers-for-google.html' title='Three Cheers for Google'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/three-cheers-for-google.html#comment-form' title='3 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8567802299207057362'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8567802299207057362'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-3473848284376404555</id><published>2008-06-22T15:16:00.002-04:00</published><updated>2008-06-22T15:21:44.524-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='horatio hornblower'/><category scheme='http://www.blogger.com/atom/ns#' term='style'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft'/><title type='text'>Stilish</title><content type='html'>&lt;img src="http://ndn.newsweek.com/media/36/microsoft-bill-gates-technology-company-BZ04-wide-horizontal.jpg" /&gt;
&lt;a href="http://www.newsweek.com/id/142636"&gt;Newsweek&lt;/a&gt;

&lt;p&gt;It is kind of sad to see the styles the group has come into.  I hope I dress much more like this when I am their age:&lt;/p&gt;

&lt;img src="http://www.genreonline.net/Genre_files/15_HORNBLOWERA5.jpg" /&gt; 
&lt;a href="http://www.genreonline.net/Hornblower_A&amp;amp;E.html"&gt;GenreOnline&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/stilish.html' title='Stilish'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/stilish.html#comment-form' title='3 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3473848284376404555'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3473848284376404555'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-8704033308772343407</id><published>2008-06-22T13:41:00.007-04:00</published><updated>2008-06-22T15:27:00.680-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reagan'/><category scheme='http://www.blogger.com/atom/ns#' term='challenger'/><category scheme='http://www.blogger.com/atom/ns#' term='US'/><category scheme='http://www.blogger.com/atom/ns#' term='space'/><category scheme='http://www.blogger.com/atom/ns#' term='tragedy'/><category scheme='http://www.blogger.com/atom/ns#' term='nasa'/><title type='text'>Of Ships and Stars</title><content type='html'>&lt;div style='text-indent: 2em; padding-left: 2em; font-style: italic; font-family: serif;'&gt;
&lt;p&gt;For the families of the seven, we cannot bear, as you do, the full impact of this tragedy. But we feel the loss, and we're thinking about you so very much. Your loved ones were daring and brave, and they had that special grace, that special spirit that says, "Give me a challenge and I'll meet it with joy." They had a hunger to explore the universe and discover its truths. They wished to serve, and they did. They served all of us.&lt;/p&gt;

&lt;p&gt;And I want to say something to the school children of America who were watching the live coverage of the shuttle's takeoff. I know it is hard to understand, but sometimes painful things like this happen. It's all part of the process of exploration and discovery. It's all part of taking a chance and expanding man's horizons. The future doesn't belong to the fainthearted; it belongs to the brave. The Challenger crew was pulling us into the future, and we'll continue to follow them.&lt;/p&gt;

&lt;p&gt;The crew of the space shuttle Challenger honored us by the manner in which they lived their lives. We will never forget them, nor the last time we saw them, this morning, as they prepared for their journey and waved good-bye and "slipped the surly bonds of earth" to "touch the face of God."&lt;/p&gt;
&lt;p style='text-align: right;'&gt;&lt;a href="http://blog.rlove.org/2008/06/martian-skies.html"&gt;Ronald Reagan, or The West Wing,&lt;br /&gt;on Challenger&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/for-families-of-seven-we-cannot-bear-as.html' title='Of Ships and Stars'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/for-families-of-seven-we-cannot-bear-as.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8704033308772343407'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8704033308772343407'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-3126265858930568650</id><published>2008-06-09T02:20:00.001-04:00</published><updated>2008-06-09T02:22:54.841-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='biometrics'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='schneier'/><title type='text'>Secrets</title><content type='html'>&lt;blockquote&gt;Biometrics are unique identifiers, but they are not secrets - Bruce Schneier&lt;/blockquote&gt;

&lt;p&gt;I have generally felt the same way.  I am scared that so many people push towards biometrics in place of passwords.  Not that passwords are great.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/secrets.html' title='Secrets'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/secrets.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3126265858930568650'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3126265858930568650'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-8900412881388605030</id><published>2008-06-07T14:49:00.006-04:00</published><updated>2008-06-07T15:49:44.313-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='dark themes'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='colour'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><category scheme='http://www.blogger.com/atom/ns#' term='file systems'/><category scheme='http://www.blogger.com/atom/ns#' term='ext3'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Chrome, Aural, Technical</title><content type='html'>&lt;p&gt;Hello.&lt;/p&gt;

&lt;h4&gt;Missing Spectrum&lt;/h4&gt;

&lt;p&gt;Incomplete color choices on web pages are a bane to the existence of dark coloured themes in GNOME and, at least formerly, on Windows.  In particular, Blogger's post area explicitly specifies a background of white, which is disastrous when the system's font colour for editable areas is a light colour in a dark theme.  You can try to mandate the colours in Firefox, but then some pages will look weird.  My ideal solution is to define custom style rules.&lt;/p&gt;

&lt;p&gt;In this case, I've installed the Firefox extension &lt;a href='https://addons.mozilla.org/en-US/firefox/addon/179'&gt;EditCSS&lt;/a&gt; by Pascal Guimier to modify the stylesheet and remove the white background rule.  I used the DOM Inspector to locate the rule, finding out what the id was used to set the style ("#richeditorframe, #RichEdit textarea") copied the style from EditCSS into an editor that could do search :), removed the background declaration, pasted the edited CSS back into it, and voila! A usable editor once more.&lt;/p&gt;

&lt;h4&gt;Musical&lt;/h4&gt;

&lt;p&gt;I'm listening to Frou Frou's "Holding Out For A Hero" right now :)&lt;/p&gt;

&lt;p&gt;I purchased a K.T. Tunstall's "Eye to the Telescope" the other day.  Wat excellence.  I still must pursue Rilo Kiley and Regina Spektor.  I had been introduced to the latter some time ago, but it wasn't until the credits of Prince Caspian that I understood that I must possess this sound.&lt;/p&gt;

&lt;h4&gt;Projects&lt;/h4&gt;

&lt;p&gt;I have a slew of projects I want to work on.  A blogger client in Vala, a simple DB-using tool in Vala, a simple cron editor in Vala.  As you can see, I am excited about Vala.  I don't imagine that I'll find the time to do any of them, though!&lt;/p&gt;

&lt;h4&gt;Linux and how I restored my file system&lt;/h4&gt;

&lt;p&gt;So, I lost my partition table, but knew that the file system I covet was still fine underneath.  Yay.  So, the solution was this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;boot the computer (perhaps from the OS that broke the partition table for the coveted partition, or from a USB key or Live CD.&lt;/li&gt;
&lt;li&gt;download &lt;a href="http://www.stud.uni-hannover.de/user/76201/gpart/"&gt;gpart&lt;/a&gt; (&lt;a href='http://www.stud.uni-hannover.de/user/76201/gpart/gpart-man.htm'&gt;man page&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;pre style='display: inline;'&gt;$ gpart -vvvf /dev/sda &gt; logfile&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;find the partition (I guessed based on side and faint idea of its partition position) in the output that you want to save.  Get the sector start and the # of sectors for it.&lt;/li&gt;
&lt;li&gt;Either use this information to fix your partition table (Google for that- if the new partition layout that gpart recommends at the end of its output seems desirable, gpart could write that for you.), or, do what I did and copy it to a remote media:&lt;pre&gt;$ dd if=/dev/sda of=/mnt/sdb1/sda2.bak bs=512 skip=&amp;lt;sector start&amp;gt; count=&amp;lt;number of sectors&amp;gt;&lt;/pre&gt;.  It might be advisable to copy over, say, the first 32MB of it and try mounting that to see if a valid ext3 superblock exists at those numbers (described a bit more below).  If it doesn't, the values might be wrong.&lt;/li&gt;
&lt;li&gt;(if you don't want it to take over a day, you might consider converting the sector start and # of sectors into your FS's block numbers (and don't forget to change bs as well!).  I went much faster for me then :) (in my case, my block size was 4096-bytes and the sectors were 512-bytes, so I divided the start and # values by 8 :) - hope that at least the start sector starts at a whole block :D (would it not?)&lt;/li&gt;
&lt;li&gt;Once you have have copied the coveted partition into a nice pretty file safely on some remote media, you will probably want to try to mount it!&lt;pre&gt;$ mount -t auto -o loop /mnt/sdb1/sda2.bak /mnt/sdb1/sda2.dir&lt;/pre&gt;  (if you did a test mount of the start of your partition, you might want to remember to unmount it or to try a different dir ;)&lt;/li&gt;
&lt;li&gt;I then copied all the contents of that partition out to yet another external media, my backup HD.  I did this with rsync so I could preserve things, so the command was like &lt;pre&gt;$ rsync -va --progress /mnt/sdb1/sda2.dir /mnt/sdc1/sda2.root&lt;/pre&gt;  This will late be restored to the computer in question when I get things configured a new.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After getting the sector values from gpart, I actually dd'd over the first 32MB (very small) of the alleged partition onto my remote media, and then I tried to mount that (&lt;pre&gt;$ mount -t auto -o loop /mnt/sdb1/sda2.test /mnt/sdb1/sda2.dir&lt;/pre&gt;) to see if it indeed contained a valid ext3 superblock :D  The first time I did all this, it didn't quite work, because I dd'd over /dev/sda1 rather than /dev/sda (so the values were off by sadness :$)  Once I got the right portion over and tried to mount it with success, I did get error messages, because inodes could, of course, not be found, as I had only copied over a relatively small portion of the actual filesystem.  The errors were not reproduced after I copied the entire thing over :)&lt;/p&gt;

&lt;p&gt;And this is how I restored my tentatively lost but not overwritten partition replete with complete filesystem :D  Originally, I thought that this might be a case for &lt;a href='www.xs4all.nl/~carlo17/howto/undelete_ext3.html'&gt;ext3grep&lt;/a&gt; by Carlo Wood which does wonders for helping undelete files on ext3 partitions.  However, that was not the case, but I still recommend the tool if you think you'd find it necessary.&lt;/p&gt;

&lt;p&gt;Details on how to ruin your partition by installing Fedora 9 via net install to follow in a later post.  (To summarise again, my coveted partition was in the later 18GB of a 40GB HD, and the Fedora 9 net install came promptless (as I failed to anticipate), installing a fresh Fedora and replacing the partition table :D.  I am quite lucky not to have had any of my coveted data in the earlier blocks of my HD where the Fedora installation would have overwritten it. :|)&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/chrome-aural-technical.html' title='Chrome, Aural, Technical'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/chrome-aural-technical.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8900412881388605030'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8900412881388605030'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-7872581514337293548</id><published>2008-06-06T23:53:00.000-04:00</published><updated>2008-06-06T23:54:44.082-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>What I read.</title><content type='html'>&lt;script type="text/javascript" src="http://www.google.com/reader/ui/publisher-en.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://www.google.com/reader/public/javascript/user/00387245947453485092/state/com.google/broadcast?n=5&amp;callback=GRC_p(%7Bc%3A%22gray%22%2Ct%3A%22Share%20Feed%22%2Cs%3A%22true%22%2Cb%3A%22false%22%7D)%3Bnew%20GRC"&gt;&lt;/script&gt;

&lt;p&gt; I plan on updating the layout a bit later this weekend.  Fun!&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/what-i-read.html' title='What I read.'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/what-i-read.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/7872581514337293548'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/7872581514337293548'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-7899381070678380661</id><published>2008-06-06T23:02:00.002-04:00</published><updated>2008-06-06T23:29:56.116-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='work'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='phone'/><title type='text'>C-A-L-L Calling me, calling me now!</title><content type='html'>&lt;p&gt;Wow, what an action packed adventure.  Work is going very well.  Progress is a very nice language but it makes real the many complaints about proprietary platforms I have heard in the past.  I am also dabbling quite a bit in JavaScript for something internal.  It's a more pleasing language than I used to think, and I haven't ever disliked it.&lt;/p&gt;

&lt;p&gt;Something sad computery was that my attempt to install Fedora via net install failed, in that the installation went perfectly REPLACING MY EXISTING PARTITION LAYOUT.  Thanks to gpart and dd, I have rescued my original Ubuntu partition- I think.  I am very fortunate that I did not have it at the start of the disk.  (Rather, than tragic honour went to an already corrupted Windows installation.)  I will write some details about how to manage the net install and then how to rescue partitions later.&lt;/p&gt;

&lt;p&gt;Amusingly, I got an e-mail notifying me of the availability of an old domain of mine, except as .com rather than .net.  I am fairly certain that it was available previous to this e-mail, and has now been purchased by hucksters hoping they can sell it to me at a profit.  Hahaha.&lt;/p&gt;

&lt;p&gt;I have a new BC number, and will apparently hug(?).  More later!&lt;/p&gt;

&lt;p&gt;Oh, one last thing- I spent the day imagining other people's perspectives, something I should do more often; it brought my surroundings all the more to life.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/c-l-l-calling-me-calling-me-now.html' title='C-A-L-L Calling me, calling me now!'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/06/c-l-l-calling-me-calling-me-now.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/7899381070678380661'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/7899381070678380661'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-3268862403312403234</id><published>2008-05-24T17:21:00.002-04:00</published><updated>2008-05-24T17:48:18.829-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='discomfort'/><category scheme='http://www.blogger.com/atom/ns#' term='creative commons'/><category scheme='http://www.blogger.com/atom/ns#' term='nature'/><category scheme='http://www.blogger.com/atom/ns#' term='seals'/><category scheme='http://www.blogger.com/atom/ns#' term='kayak'/><category scheme='http://www.blogger.com/atom/ns#' term='friends'/><category scheme='http://www.blogger.com/atom/ns#' term='water'/><category scheme='http://www.blogger.com/atom/ns#' term='pender'/><category scheme='http://www.blogger.com/atom/ns#' term='earth'/><category scheme='http://www.blogger.com/atom/ns#' term='cbc'/><category scheme='http://www.blogger.com/atom/ns#' term='tim tams'/><category scheme='http://www.blogger.com/atom/ns#' term='food'/><title type='text'>From the 19th</title><content type='html'>&lt;h3&gt;Life&lt;/h3&gt;

&lt;h4&gt;Pending&lt;/h4&gt;

&lt;p&gt;Harbour seals are what we saw from within that kayak.  Purple starfish below.  A jellyfish.  Rocks that rise up from below to rip us apart.  The sun.  Geological and oceanic history.  Milk chocolate Aero bar air pockets from the crunched-off rock face.  Deer in the garden, banging on the fence.  Sailboats sitting nicely in the sunset.  A quiche, olives, egg salad sandwiches.  The latter two once made me go "Yuck" but Michelle has mystic Montrealer powers to invert that reaction.  Fritz and his fatal follies, welcome weeds and relatively economical ice cream.&lt;/p&gt;

&lt;p&gt;It's partway stressful, partway calming to visit Pender Island and my girlfriend's grandparents (and sometimes uncle).  Conversation does not flow so finely as among my own age group.  But people can still marvel at eyeing the eye from withincomraderie the focal range of the concave speaker.  Some opinions are out-moded and bite at the senses.  I suppose it isn't easy sticking to the latest thinking fashions when you're isolated on an island.  But are you?  CBC radio plays podcasts on the Creative Commons.  What a wild ride!  Planet Earth plays on CBC in the evenings, what marvels!  Wi-fi waves squeak between the floor boards and aromatise the first floor.  As long as people thrive, it will be hard to isolate yourself on this planet :)&lt;/p&gt;

&lt;p&gt;Oh, by the way, I don't really believing in so strong a segregation between this animal species and the rest of them - I hope that was clear.&lt;/p&gt;

&lt;p&gt;And here I am, the environment I am paying attention to are a bunch of elemental right-angled divs with a flat solids of the coloured variety.  Orange without(?) the cancer.&lt;/p&gt;

&lt;h4&gt;Discomfort and the Retreat&lt;/h4&gt;

&lt;p&gt;I retreat more from potentially uncomfortable situations.  I used to be emboldened by them.  Stand loud and stand proud.  It was easier in Guelph, in Flesherton.  Fewer consequences, perhaps?  Now I'm wary, of what I know not.  Perhaps I am descending into madness and paranoia :)  Not really.  I think that, perhaps, there are just too many people around and many fewer restrictions protecting me from them.  I have to protect myself in a town full of freedom.  Foolishness leaves me open as a target, I think I fear.  How foolish s that!&lt;/p&gt;

&lt;h4&gt;Tim Tams and associated Edibles&lt;/h4&gt;

&lt;p&gt;I continue to be amazed at our ability to hunt down the inexpensive.  We finally discovered a sane supplier of pitas.  1.09, 1.79!  No more will we balk at the 4s and 5s we witness near everywhere else.  Oh me, oh my!  We had hummus (not humus, BoFIIers) again!  And a jar of olives!  I don't think the olives were the greatest deal (coming from SuperValu) but it was good to have them again.  A little luxury to relax?  How much relaxing can I afford?  A lot of debt to repay right now.  NOTE TO SELF: notify OSAP that I am taking a DE course :D.&lt;/p&gt;

&lt;p&gt;I never thought I'd find crêpes as fast food, but low and behold, &lt;strong&gt;three&lt;/strong&gt; Cafe Crêpe Expresses across a 3-block stretch!  And, dun dun dun, we finally hit the recipe book down here!  Onions, potatoes, and egg, oh my.  I think I liked it more the second time around, at that.  I need another cherry.&lt;/p&gt;

&lt;p&gt;Oh, addendum: cheap cheese was secured!  Well, relatively "cheap".  Big bricks for $7.  Almost an Ontario price, but just over half the BC fare.  That and milk are proving difficult to secure at reasonable costs.  I mean, I thought 4L of milk was expensive in Ontario: they won't even it sell it in such quantities here!  Glass bottles are a pleasantry, at least.&lt;/p&gt;

&lt;h4&gt;Adventures ho!&lt;/h4&gt;

&lt;p&gt;I have only been writing about a fraction of the joy I've found out here.  I wish I could show you all the late night view.  There's so much to say and do, and I naively continue to believe I &lt;em&gt;will&lt;/em&gt; fit it all in :)  Mwahaha.  Let me just get a day to set up my photo stream, eh?  But even that will fair to capture Pascal, the non-hostile hosteller and pizza Subway champion.&lt;/p&gt;

&lt;p&gt;I wonder what friendship will be like out here.  There are few at my work who are quite my age, or share my Open Source aspirations.  I don't have the fortune of fellow co-ops for auto-camaraderie.  There are the pre-installed type, Ruth and Aidha.  However, the former's a bit put out and doesn't seem very social, while the latter is too enveloped by the awesomeness of grad-osity at present.  Fortunately for me, my girlfriend precludes the Old Anxieties with ease and agility unknown to mere mortals.  I hope her home planet doesn't try to retrieve her.&lt;/p&gt;

&lt;p&gt;Well, now to go on this righteous day for a walk to meet her and see the surrounding sites and sights.  Maybe we can climb a mountain, too.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/from-19th.html' title='From the 19th'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/from-19th.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3268862403312403234'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3268862403312403234'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-3197694352944239786</id><published>2008-05-24T16:58:00.003-04:00</published><updated>2008-05-24T17:18:22.613-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='c++'/><category scheme='http://www.blogger.com/atom/ns#' term='value village'/><category scheme='http://www.blogger.com/atom/ns#' term='grad'/><category scheme='http://www.blogger.com/atom/ns#' term='work'/><category scheme='http://www.blogger.com/atom/ns#' term='duplicity'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><category scheme='http://www.blogger.com/atom/ns#' term='nz'/><title type='text'>8 bookmarks</title><content type='html'>&lt;p&gt;More updates!&lt;/p&gt;

&lt;h4&gt;New Zealand&lt;/h4&gt;

&lt;p&gt;For those unaware, my NZ plans are on indefinite hold.  The supervisor I wanted cannot accept me for the next year, I am not eligible for most forms of financial support for International students, international tuition is prohibitive, I feel I don't know enough about the field, and my girlfriend is also now considering UBC.  Also, I found something a little closer by ...&lt;/p&gt;

&lt;h4&gt;Employment&lt;/h4&gt;

&lt;p&gt;Hello working world!  I am now gainfully employed by a company that develops software for brokerage firms.  I get to use an esoteric platform which I might never use again, but which is very effective at database access and manipulation.&lt;/p&gt;

&lt;p&gt;One neat thing about the position is I get to take note of a lot of differences between the proprietary and open source worlds.  The platform lacks a lot of niceties I find in the Open Source world.  There are strange limits to characters, software used to get around feels limited, shared drives?!  While the software that we develop and ship seems to be managed well, we of course use a lot of packages in our work that I can only describe as unmanaged.  I can imagine, in an open source environment, someone regularly updating one metapackage that depends upon all the real packages we need to work, and we just install that to set-up.  Also, from a Getting Thinds Done perspective (not related to the book/website/philosophy of the same title), I wonder why companies go with proprietary Unix rather than Linux.  I have yet to access a Unix that didn't feel combersome, lacking, and limited.  And it's not just that I'm more familiar with Linux-based systems.  One prominent example would be the shell.  Maybe it is more that that adminstrators don't bother supplying useful defaults?  I don't know.  Perhaps we use a proprietary Unix because the platform doesn't support Linuxes.&lt;/p&gt;

&lt;h4&gt;The Platform&lt;/h4&gt;

&lt;p&gt;Now this is pleasant.  I generally dislike custom SQL languages, like PL/SQL.  And this is somewhat like it.  Especially in its "I look horribly ugly and no one has bothered to love me" kind of style.  However, its capabilities are swell.  How oft I have wanted to create an arbitrary, temporary table to stuff in a bunch of related data (records) into a double array of varying-typed data.  Perhaps there are simple systems to achieve this in C and Java, but I have yet to find them.  As well, I dislike heavily having DB access constructs stuck inside /strings/ that go unchecked until runtime!  Clumsy and lousy!  Give me support for the DB in the language, please!  This is a reason why, despite not really caring about C#, I enjoy LINQ :)&lt;/p&gt;

&lt;p&gt;I wonder what things I will discover as my ignorance shrinks?&lt;/p&gt;

&lt;h4&gt;C++, Perl, and JavaScript&lt;/h4&gt;

&lt;p&gt;I still think C++ is a terribly ugly language, but at the local Value Village, I recently acquired three books, one of them is O'Reilly's "Practical C++ Programming".  I might as well be decent at it, even if it is ugly.  Who knows when I'll have to use it for something important.  The other two books are JavaScript: The Definitive Guide, and Learning Perl.  I previously had the luxury of access to O'Reilly's Perl Cookbook.  I think my Perl skills, despite regular use, have actually waned a little since then.  Read more, Richard, read more!&lt;/p&gt;

&lt;h4&gt;Duplicity&lt;/h4&gt;

&lt;p&gt;I haven't done much programming on this in a while.  2 weeks, since jobness began to interfere.  I must allocate more time before I lose where I was :(&lt;/p&gt;

&lt;h4&gt;Life stuff&lt;/h4&gt;

&lt;p&gt;Coming in a following post!&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/8-bookmarks.html' title='8 bookmarks'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/8-bookmarks.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3197694352944239786'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3197694352944239786'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-8706362752717593289</id><published>2008-05-12T23:12:00.000-04:00</published><updated>2008-05-12T23:13:06.640-04:00</updated><title type='text'></title><content type='html'>&lt;p&gt;Aha.  The reason why Firefox's UI blocks: &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=421482"&gt;fsync&lt;/a&gt;.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/aha.html' title=''/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/aha.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8706362752717593289'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8706362752717593289'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-3892921811969319156</id><published>2008-05-11T03:46:00.003-04:00</published><updated>2008-05-11T04:05:29.184-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack3'/><category scheme='http://www.blogger.com/atom/ns#' term='slackware'/><category scheme='http://www.blogger.com/atom/ns#' term='lilo'/><title type='text'>BackTrack3 lilo bootloader issues and a solution</title><content type='html'>&lt;p&gt;A friend of a friend recently tried to install BackTrack 3 from a LiveCD.  It's based on Slackware Linux, apparently.  He ran into some issues I helped him solve, and I thought I would reproduce the problem and solution here in hopes that it might help someone else.&lt;/p&gt;

&lt;p&gt;He had run the LiveCD, run through the Install as he thought he should, but was hoping for a dual-boot.  This was apparently causing him issues (that perhaps a sole BT3 installation would avoid?&lt;/p&gt;

&lt;p&gt;After running the installer, and having the distribution installed to his new Linux partition (in this case, /dev/sda4; /dev/sda1 was Windows, and 2 and 3 were for swap and something else), he encountered the following when trying to install a bootloader using lilo.&lt;/p&gt;
&lt;pre&gt;bt etc # lilo
Fatal: creat /boot/map~: Read-only file system&lt;/pre&gt;

&lt;p&gt;The issue here seems to have been that his mounted root file system is on the LiveCD.  This makes it non-readable, and also means it's not the file system he wants to be installing the boot loader in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;solution 1&lt;/strong&gt;:&lt;/p&gt;

&lt;pre&gt;lilo -r /mnt/sda4&lt;/pre&gt;

&lt;p&gt;This makes lilo use /mnt/sda4 as its root directory (yay, chroot).  This is important, because /mnt/sda4 is mounted to /dev/sda4 where his actual on-disk BT3 installation is.&lt;/p&gt;

&lt;p&gt;Unfortunately, there's &lt;em&gt;another&lt;/em&gt; problem. 

&lt;pre&gt;bt etc # lilo -r /mnt/sda4
Warning: LBA32 addressing assumed 
Fatal: raid_setup: stat("aufs")&lt;/pre&gt;

&lt;p&gt;We were find with the LBA32 addressing being assumed, but how did RAID concern his laptop?  And why another union FS?  Apparently his "boot=" line in his lilo.conf referred to aufs, so he changed it to refer to /dev/sda instead.  That didn't help:&lt;/p&gt;

&lt;pre&gt;bt etc # lilo -r /mnt/sda4
Warning: LBA32 addressing assumed 
Fatal: raid_setup: stat("/dev/sda")&lt;/pre&gt;

&lt;p&gt;Eventually, it occurred to me that dev/ inside /mnt/sda4/ wouldn't be populated with anything, now that it's dynamically populated (I think).  However, /dev/ in the LiveCD environment was.  After some googling, this was done:&lt;/p&gt;

&lt;pre&gt;# mount --bind /dev /mnt/sda4/dev
# mount -t proc proc /mnt/sda4/proc&lt;/pre&gt;

&lt;p&gt;I'm not sure about the necessity of mounting the proc, but we definitely needed to dev to be populated on sda4.  After doing this, `lilo -r /mnt/sda4` was successful.  Yay.&lt;/p&gt;

&lt;h4&gt;summary&lt;/h4&gt;

&lt;p&gt;If you're having issues installing a bootloader for your dual-boot BackTrack3 installation, and are getting either of the following two errors, try the following command sequence (replacing sda4 with your target partition).&lt;/p&gt;

&lt;strong&gt;error 1&lt;/strong&gt;
&lt;pre&gt;Fatal: creat /boot/map~: Read-only file system&lt;/pre&gt;
&lt;strong&gt;error 2&lt;/strong&gt;
&lt;pre&gt;Fatal: raid_setup: stat("aufs")&lt;/pre&gt;
&lt;pre&gt;Fatal: raid_setup: stat("/dev/sda")&lt;/pre&gt;

&lt;strong&gt;solution&lt;/strong&gt;
&lt;pre&gt;# mount --bind /dev /mnt/sda4/dev
# mount -t proc proc /mnt/sda4/proc
# lilo -r /mnt/sda4&lt;/pre&gt;

&lt;p&gt;And you might have to set the line "boot=/dev/sda" in lilo.conf.&lt;/p&gt;

&lt;p&gt;If this helps anyone, please let me know.  If you seem to have the same problem and this &lt;strong&gt;doesn't&lt;/strong&gt; help, then &lt;em&gt;really&lt;/em&gt; please let me know.  I don't want useless instructions remaining useless forever.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/backtrack3-lilo-bootloader-issues-and.html' title='BackTrack3 lilo bootloader issues and a solution'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/backtrack3-lilo-bootloader-issues-and.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3892921811969319156'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/3892921811969319156'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-338673145766118316</id><published>2008-05-11T02:13:00.004-04:00</published><updated>2008-05-11T02:18:19.326-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vala'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><title type='text'>fatal optimism</title><content type='html'>&lt;p&gt;I frequently get really stupid, really optimistic ideas about what's possible.  I still think it should be able for a single individual to write an entire operating system in &lt;em&gt;good&lt;/em&gt; time, if they thoughtfully approach it, and spend most of their time to developing methods to reduce work elsewhere.  Defining new languages, libraries, toolkits, etc.  All very small, all very generative.  Of course this is foolishness.  Ah well.&lt;/p&gt;

&lt;p&gt;I have just been reading again on closures, polyglot programming, and the evils of large code bases.  It makes me hungry to try Vala again.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/i-frequently-get-really-stupid-really.html' title='fatal optimism'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/i-frequently-get-really-stupid-really.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/338673145766118316'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/338673145766118316'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-6383358035633771362</id><published>2008-05-10T22:16:00.002-04:00</published><updated>2008-05-10T22:20:50.960-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='duplicity'/><title type='text'>RMI and ClassNotFoundException</title><content type='html'>&lt;pre&gt;&amp;lt;DuplicityServer&amp;gt;.localBind(): RemoteException occurred in server thread; nested exception is: 
 java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
 java.lang.ClassNotFoundException: org.kosmokaryote.Duplicity.DuplicityServerRI&lt;/pre&gt;

&lt;p&gt;So, I reckoned that this had something to do with either the Remote interface not being public, or a classpath issue.  I think it has turned out to be a classpath issue that I didn't really expect, but probably should have.  Ultimately, it came down to where I was starting &lt;em&gt;rmiregistry&lt;/em&gt; from, which I really did not expect.  Starting it at the base of my package meant it had my package neatly present in its classpath.  However, I was doing it in its parent directory.  Boo.  Error fixed!&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/rmi-and-classnotfoundexception.html' title='RMI and ClassNotFoundException'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/rmi-and-classnotfoundexception.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6383358035633771362'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6383358035633771362'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-8251859668721979745</id><published>2008-05-09T02:25:00.004-04:00</published><updated>2008-05-09T02:48:48.504-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='duplicity'/><title type='text'></title><content type='html'>&lt;h4&gt;Duplicity&lt;/h4&gt;

&lt;p&gt;The map descriptor loader now works, and works well.  Yay.  It took longer than I had hoped, but so has everything else so far.  It also showed some major weaknesses in the design of my system :)  I think I have two many two-way relationships.  Objects contained in another object have references to their container, and I think this might ultimately prove undesirable in quite a few cases.  Ah well.&lt;/p&gt;

&lt;p&gt;The underlying logic seems to be mostly done now.  Everything compile cleanly still.  The few tests I have are passing.  I need more tests!  Apparently Donald Knuth isn't fond of Unit Testing, but I think I have a use for it :|  I lack the experience to be very sure of my code, especially given its many evolutions.  I hope I will be able to make a release with a text UI soon.  I would like to have something of note to point to on my resume as I carry on my job search.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/duplicity-map-descriptor-loader-now.html' title=''/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/duplicity-map-descriptor-loader-now.html#comment-form' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8251859668721979745'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/8251859668721979745'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-6286980182411823379</id><published>2008-05-05T14:11:00.003-04:00</published><updated>2008-05-05T20:28:11.751-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='computers'/><category scheme='http://www.blogger.com/atom/ns#' term='work'/><category scheme='http://www.blogger.com/atom/ns#' term='friends'/><category scheme='http://www.blogger.com/atom/ns#' term='duplicity'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><category scheme='http://www.blogger.com/atom/ns#' term='computer science'/><category scheme='http://www.blogger.com/atom/ns#' term='bc'/><category scheme='http://www.blogger.com/atom/ns#' term='vancouver'/><category scheme='http://www.blogger.com/atom/ns#' term='food'/><title type='text'>Update the Great</title><content type='html'>&lt;h1&gt;Virtual Jobs&lt;/h1&gt;

&lt;p&gt;My memory will work against me.  I learnt many principles and their definitions throughout University.  While I have integrated most of the principles (I hope) and can apply them as necessary, my ability to associate specific terms with appropriate definitions is questionable.  I just had a phone interview with a job that asked me to explain a few concepts that I remember learning but couldn't recall what they refer to. In hindsight, I did know a couple, and I could properly define one of them &lt;em&gt;now&lt;/em&gt; and could have defined the other then if I had a few moments to compose myself.  A couple other ones I have had to look-up again.  They concerned databases, and the principles that underly them are intuitive to me.  I need to keep up better on my terminology, but I do not know how.  Perhaps read more technical books?  I suppose I should have my father mail me more of my textbooks :)&lt;/p&gt;

&lt;h1&gt;Virtual Play&lt;/h1&gt;

&lt;p&gt;I started work on a Java project called Duplicity for now.  It's proving very fun, but it would be simpler if I could do something like this:&lt;/p&gt;

&lt;pre&gt;class CatOwner {
  ...
  public ArrayList&lt;Animal&gt; getPets() {
    ArrayList&lt;Cat&gt; cats = this.getCats();
    return cats;
  }
}
class Cat extends Animal {
  ...
}&lt;/pre&gt;

&lt;p&gt;However, I cannot convert a collection with a type into a similar collection of its supertype.  It seems as though I logically should.  Any Cat is also an animal, so why can an ArrayList of Cats not be known as an ArrayList of Animals.  I am sure there is a good reason and I'm bound to find it eventually, but right now it's a nuisance.&lt;/p&gt;

&lt;h1&gt;Physical Location&lt;/h1&gt;

&lt;p&gt;I have migrated to Vancouver!  My girlfriend and I departed Ontario on the 23rd via Greyhound and arrived in BC on the morning of the 26th. It was a spectacular drive.  In summary, Winnipeg is sexy, Medicine Hat is funky, and Canmore is cool.  Have you heard of the Legend of White River?  If you're ever there and that awkward boy dances desperately before you, it's his method of speech and sustenance.  Aid him!  Most of my photos are spectacularly blurred or spotted (through the dirty Greyhound windows), but I intend on uploading a large amount to Picasa Web once I can afford a decent account.&lt;/p&gt;

&lt;p&gt;We spent the first little while in Victoria among my sisters and my nephews.  They are nearly 10 or 7 months old now (born 3 months early, so I say 7, going from when they &lt;em&gt;should&lt;/em&gt; have come out).  I don't get along very well with the younger of my two sisters, and her dog less, so it might be a good thing that I am aiming to gain employment in Vancouver.  We are there now, borrowing my girlfriend's uncle's apartment for the month of May.  It's situated downtown and on the 19th story.  I am spoiled.&lt;/p&gt;

&lt;p&gt;We've been trying to walk most places, including from Granville Island to Stanley Park.  It's a blast.  The weather has been fair and sometimes welcoming.  The shops are all very neat.  One bad thing that I'll discuss more upon below are the food prices, though.&lt;/p&gt;

&lt;h1&gt;Fan club&lt;/h1&gt;

&lt;p&gt;I am pretending I have a fan club.  An acquaintance and a friend have moved to Vancouver, and another friend from Ontario has gone to BC to Vancouver Island, hoping to work on an organic farm.  It's nice knowing other humans in the area.&lt;/p&gt;

&lt;p&gt;I wonder, if I ever manage to accomplish all the things I hope to, whether I really will have a fan club, in the sense that the GNOME developers have fans like me.  That aloof respect and admiration.  Shock and confusion when someone criticises them.  Hmm.  ^_^&lt;/p&gt;

&lt;h1&gt;The Cost of Eating&lt;/h1&gt;

&lt;p&gt;Food prices here seem on average to be 25-50% greater than in Ontario.  A 700g brick of cheese averages out at around $13 in most of the larger stores I've been into, while in Ontario I found it pricey at $9.   Milk is sometimes cheaper, but we have a hard time finding 4L of organic milk.  We're going to soy this week.  The cheapest source of our vitals has proven to be Chinatown, and definitely not Granville Island.  However, upon our wandering walks, we discovered a number of smaller shops that had the odd item at much better prices.  We thought through most of the day that we had triumphed with Strawberries, 2 for $4!  But before the day's end, we found 3 for $5.&lt;p&gt;

&lt;p&gt;In consequence, we are now cataloguing prices we encounter and tabulating them in a spreadsheet.  We're doing it via Google Docs, and we if we can find any other suckers^wfriends to contribute, we'll share it with them as well.  I feel almost certain that such a website must exist for Canadians (I know of one for the US) but I cannot find it yet.  Hmm.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/update-great.html' title='Update the Great'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/05/update-great.html#comment-form' title='2 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6286980182411823379'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/6286980182411823379'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-1604521668529955719.post-811928770780051418</id><published>2008-04-16T02:25:00.000-04:00</published><updated>2008-04-16T02:26:18.823-04:00</updated><title type='text'>Late in the labs</title><content type='html'>&lt;p&gt;Now I'm all wet :'(&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.kosmokaryote.org/blog/2008/04/late-in-labs.html' title='Late in the labs'/><link rel='replies' type='text/html' href='http://www.kosmokaryote.org/blog/2008/04/late-in-labs.html#comment-form' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.kosmokaryote.org/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/811928770780051418'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1604521668529955719/posts/default/811928770780051418'/><author><name>Richard</name><uri>http://www.blogger.com/profile/05999356523405056706</uri><email>noreply@blogger.com</email></author></entry></feed>