From 7904fddaaeb80ee86e8e48d4ed23128393f69bab Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 15 Feb 2014 18:18:23 -0800 Subject: [PATCH] strip metadata from post bodies --- public/posts/2006.02.08-first-post.md | 7 ------- public/posts/2006.02.08-touch-screen-on-steroids.md | 7 ------- public/posts/2006.02.15-urban-extreme-gymnastics.md | 7 ------- public/posts/2006.02.18-girlfriend-x.md | 7 ------- .../2006.02.18-jump-to-viewcontroller-in-textmate.md | 7 ------- ....02.18-some-textmate-snippets-for-rails-migrations.md | 7 ------- .../2006.02.20-obligatory-post-about-ruby-on-rails.md | 8 -------- .../2006.02.20-textmate-snippets-for-rails-assertions.md | 7 ------- .../2006.02.21-textmate-insert-text-into-self-down.md | 8 -------- .../2006.02.21-textmate-move-selection-to-self-down.md | 7 ------- ...22-intelligent-migration-snippets-0.1-for-textmate.md | 7 ------- .../2006.02.23-sjs-rails-bundle-0.2-for-textmate.md | 8 -------- ...6.03.03-generate-selfdown-in-your-rails-migrations.md | 7 ------- public/posts/2006.03.03-i-dont-mind-fairplay-either.md | 7 ------- public/posts/2006.03.03-spore.md | 7 ------- public/posts/2006.04.04-zsh-terminal-goodness-on-os-x.md | 7 ------- public/posts/2006.05.07-os-x-and-fitts-law.md | 7 ------- .../posts/2006.05.07-wikipediafs-on-linux-in-python.md | 7 ------- ....05-ich-bin-auslnder-und-spreche-nicht-gut-deutsch.md | 7 ------- public/posts/2006.06.09-never-buy-a-german-keyboard.md | 7 ------- ...0-theres-nothing-regular-about-regular-expressions.md | 7 ------- .../posts/2006.06.11-apple-pays-attention-to-detail.md | 7 ------- .../posts/2006.07.06-working-with-the-zend-framework.md | 7 ------- .../2006.07.13-ubuntu-linux-for-linux-users-please.md | 7 ------- .../2006.07.17-ruby-and-rails-have-spoiled-me-rotten.md | 7 ------- public/posts/2006.07.19-late-static-binding.md | 7 ------- ...ass-method-instance-method-it-doesnt-matter-to-php.md | 7 ------- public/posts/2006.08.22-where-are-my-headphones.md | 7 ------- ...lo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo.md | 7 ------- ...22-some-features-you-might-have-missed-in-itunes-7.md | 7 ------- ....12.17-coping-with-windows-xp-activiation-on-a-mac.md | 7 ------- public/posts/2007.03.06-full-screen-cover-flow.md | 7 ------- ...03.08-digg-v4-reply-to-replies-greasemonkey-script.md | 7 ------- public/posts/2007.03.25-diggscuss-0.9.md | 7 ------- .../2007.04.04-a-triple-booting-schizophrenic-macbook.md | 7 ------- ...erecord-base.find_or_create-and-find_or_initialize.md | 7 ------- public/posts/2007.04.16-getting-to-know-vista.md | 7 ------- ...ickly-inserting-millions-of-rows-with-mysql-innodb.md | 7 ------- .../posts/2007.04.30-funny-how-code-can-be-beautiful.md | 7 ------- public/posts/2007.05.01-typo-and-i-are-friends-again.md | 7 ------- .../2007.05.03-a-scheme-parser-in-haskell-part-1.md | 7 ------- .../posts/2007.05.05-a-new-way-to-look-at-networking.md | 7 ------- public/posts/2007.05.05-gotta-love-the-ferry-ride.md | 7 ------- public/posts/2007.05.09-dtrace-ruby-goodness-for-sun.md | 7 ------- ...it-to-see-what-matt-stone-trey-parker-do-with-this.md | 7 ------- ...05.10-enumerable-pluck-and-string-to_proc-for-ruby.md | 9 +-------- public/posts/2007.05.10-rails-plugins-link-dump.md | 7 ------- ...2007.05.15-dumping-objects-to-the-browser-in-rails.md | 7 ------- public/posts/2007.05.16-cheating-at-life-in-general.md | 7 ------- public/posts/2007.05.18-iphone-humour.md | 7 ------- public/posts/2007.05.22-inspirado.md | 7 ------- ...ish-court-rules-css-ineffective-at-protecting-dvds.md | 7 ------- public/posts/2007.06.08-301-moved-permanently.md | 7 ------- ...06.08-so-long-typo-and-thanks-for-all-the-timeouts.md | 7 ------- public/posts/2007.06.14-more-scheming-with-haskell.md | 7 ------- ...-testspec-on-rails-declared-awesome-just-one-catch.md | 7 ------- public/posts/2007.06.15-begging-the-question.md | 7 ------- .../posts/2007.06.18-back-on-gentoo-trying-new-things.md | 7 ------- public/posts/2007.06.20-reinventing-the-wheel.md | 7 ------- public/posts/2007.06.22-embrace-the-database.md | 7 ------- public/posts/2007.06.23-emacs-for-textmate-junkies.md | 7 ------- public/posts/2007.06.24-floating-point-in-elschemo.md | 7 ------- .../2007.06.25-emacs-tagify-region-or-insert-tag.md | 7 ------- public/posts/2007.06.25-propaganda-makes-me-sick.md | 7 ------- public/posts/2007.06.26-rtfm.md | 7 ------- public/posts/2007.06.28-recent-ruby-and-rails-regales.md | 7 ------- ...06.30-controlling-volume-via-the-keyboard-on-linux.md | 7 ------- .../posts/2007.07.03-a-textmate-tip-for-emacs-users.md | 7 ------- public/posts/2007.07.05-rushcheck-quickcheck-for-ruby.md | 7 ------- .../2007.07.06-see-your-regular-expressions-in-emacs.md | 7 ------- public/posts/2007.07.12-people.md | 7 ------- .../2007.08.02-elschemo-boolean-logic-and-branching.md | 7 ------- public/posts/2007.08.09-cheat-from-emacs.md | 7 ------- public/posts/2007.08.09-snap-crunchle-pop.md | 7 ------- public/posts/2007.08.11-opera-is-pretty-slick.md | 7 ------- .../posts/2007.08.19-catch-compiler-errors-at-runtime.md | 7 ------- public/posts/2007.08.21-cheat-productively-in-emacs.md | 7 ------- public/posts/2007.08.26-captivating-little-creatures.md | 7 ------- ...-ways-to-avoid-looking-like-a-jerk-on-the-internet.md | 7 ------- public/posts/2007.09.25-learning-lisp-read-pcl.md | 7 ------- public/posts/2007.09.26-python-and-ruby-brain-dump.md | 7 ------- .../posts/2007.10.29-gtkpod-in-gutsy-got-you-groaning.md | 7 ------- public/posts/2008.01.07-random-pet-peeve-of-the-day.md | 7 ------- public/posts/2008.02.19-thoughts-on-arc.md | 7 ------- .../posts/2008.03.03-project-euler-code-repo-in-arc.md | 7 ------- ...9.11.21-using-emacs-to-develop-mojo-apps-for-webos.md | 7 ------- .../2010.01.17-working-with-c-style-structs-in-ruby.md | 7 ------- .../posts/2010.01.18-basics-of-the-mach-o-file-format.md | 7 ------- .../2010.01.20-a-preview-of-mach-o-file-generation.md | 7 ------- public/posts/2010.11.04-37signals-chalk-dissected.md | 7 ------- public/posts/2011.11.27-lights.md | 5 ----- public/posts/2011.11.27-recovering-old-posts.md | 7 ------- .../2011.12.10-static-url-shortener-using-htaccess.md | 7 ------- .../posts/2011.12.11-pure-css3-images-hmm-maybe-later.md | 6 ------ public/posts/2011.12.15-i-see-http.md | 6 ------ public/posts/2011.12.19-my-kind-of-feature-checklist.md | 7 ------- ...lease-of-firefox-for-android-optimized-for-tablets.md | 7 ------- public/posts/2011.12.25-the-broken-pixel-theory.md | 7 ------- public/posts/2012.01.04-yak-shaving.md | 7 ------- public/posts/2012.01.09-the-40-standup-desk.md | 7 ------- ...01.17-recovering-from-a-computer-science-education.md | 7 ------- ...pa-lives-and-mpaa-calls-protests-an-abuse-of-power.md | 7 ------- public/posts/2012.01.19-fujitsu-has-lost-their-mind.md | 7 ------- public/posts/2013.03.06-zelda-tones-for-ios.md | 7 ------- public/posts/2013.09.27-linky.md | 7 ------- public/posts/2014.02.03-ember-structure.md | 7 ------- 106 files changed, 1 insertion(+), 742 deletions(-) diff --git a/public/posts/2006.02.08-first-post.md b/public/posts/2006.02.08-first-post.md index 69e6879..9239165 100644 --- a/public/posts/2006.02.08-first-post.md +++ b/public/posts/2006.02.08-first-post.md @@ -1,10 +1,3 @@ -Title: First Post! -Date: February 8, 2006 -Timestamp: 1139368860 -Author: sjs -Tags: life ----- - so it's 2am and i should be asleep, but instead i'm setting up a blog. i got a new desk last night and so today i finally got my apartment re-arranged and it's much better now. that's it for now... time to sleep. (speaking of sleep, this new sleeping bag design makes so much sense. awesome.) diff --git a/public/posts/2006.02.08-touch-screen-on-steroids.md b/public/posts/2006.02.08-touch-screen-on-steroids.md index bb32607..45d030d 100644 --- a/public/posts/2006.02.08-touch-screen-on-steroids.md +++ b/public/posts/2006.02.08-touch-screen-on-steroids.md @@ -1,10 +1,3 @@ -Title: Touch Screen on Steroids -Date: February 8, 2006 -Timestamp: 1139407560 -Author: sjs -Tags: technology, touch ----- - If you thought the PowerBook's two-finger scrolling was cool check out this touch screen: Multi-Touch Interaction Research diff --git a/public/posts/2006.02.15-urban-extreme-gymnastics.md b/public/posts/2006.02.15-urban-extreme-gymnastics.md index 882de02..8c2351e 100644 --- a/public/posts/2006.02.15-urban-extreme-gymnastics.md +++ b/public/posts/2006.02.15-urban-extreme-gymnastics.md @@ -1,10 +1,3 @@ -Title: Urban Extreme Gymnastics? -Date: February 15, 2006 -Timestamp: 1140028860 -Author: sjs -Tags: amusement ----- - This crazy russian goes all over the place scaling buildings, doing all sorts of flips, bouncing off the walls literally. He'd be impossible to catch. Russian parkour (urban extreme gymnastics) diff --git a/public/posts/2006.02.18-girlfriend-x.md b/public/posts/2006.02.18-girlfriend-x.md index 6194e32..f96872d 100644 --- a/public/posts/2006.02.18-girlfriend-x.md +++ b/public/posts/2006.02.18-girlfriend-x.md @@ -1,10 +1,3 @@ -Title: Girlfriend X -Date: February 18, 2006 -Timestamp: 1140292200 -Author: sjs -Tags: crazy, funny ----- - This is hilarious! Someone wrote software that manages a "parallel" dating style. > In addition to storing each woman's contact information and picture, the Girlfriend profiles include a Score Card where you track her sexual preferences, her menstrual cycles and how she styles her pubic hair. diff --git a/public/posts/2006.02.18-jump-to-viewcontroller-in-textmate.md b/public/posts/2006.02.18-jump-to-viewcontroller-in-textmate.md index 381afd7..bbc3431 100644 --- a/public/posts/2006.02.18-jump-to-viewcontroller-in-textmate.md +++ b/public/posts/2006.02.18-jump-to-viewcontroller-in-textmate.md @@ -1,8 +1 @@ -Title: Jump to view/controller in TextMate -Date: February 18, 2006 -Timestamp: 1140303060 -Author: sjs -Tags: hacking, rails, textmate, rails, textmate ----- - Duane came up with a way to jump to the controller method for the view you're editing, or vice versa in TextMate while coding using Rails. This is a huge time-saver, thanks! diff --git a/public/posts/2006.02.18-some-textmate-snippets-for-rails-migrations.md b/public/posts/2006.02.18-some-textmate-snippets-for-rails-migrations.md index 512f84b..8559a40 100644 --- a/public/posts/2006.02.18-some-textmate-snippets-for-rails-migrations.md +++ b/public/posts/2006.02.18-some-textmate-snippets-for-rails-migrations.md @@ -1,10 +1,3 @@ -Title: Some TextMate snippets for Rails Migrations -Date: February 18, 2006 -Timestamp: 1140331680 -Author: sjs -Tags: textmate, rails, hacking, rails, snippets, textmate ----- - My arsenal of snippets and macros in TextMate is building as I read through the rails canon, Agile Web Development... I'm only 150 pages in so I haven't had to add much so far because I started with the bundle found on the rails wiki. The main ones so far are for migrations. Initially I wrote a snippet for adding a table and one for dropping a table, but I don't want to write it twice every time! If I'm adding a table in **up** then I probably want to drop it in **down**. diff --git a/public/posts/2006.02.20-obligatory-post-about-ruby-on-rails.md b/public/posts/2006.02.20-obligatory-post-about-ruby-on-rails.md index 3e7d2d9..37f47d5 100644 --- a/public/posts/2006.02.20-obligatory-post-about-ruby-on-rails.md +++ b/public/posts/2006.02.20-obligatory-post-about-ruby-on-rails.md @@ -1,11 +1,3 @@ -Title: Obligatory Post about Ruby on Rails -Date: February 20, 2006 -Timestamp: 1140424260 -Author: sjs -Tags: rails, coding, hacking, migration, rails, testing -Styles: typocode ----- -

I'm a Rails newbie and eager to learn. I welcome any suggestions or criticism you have. You can direct them to my inbox or leave me a comment below.

I finally set myself up with a blog. I mailed my dad the address and mentioned that it was running Typo, which is written in Ruby on Rails. The fact that it is written in Rails was a big factor in my decision. I am currently reading Agile Web Development With Rails and it will be great to use Typo as a learning tool, since I will be modifying my blog anyways regardless of what language it's written in.

diff --git a/public/posts/2006.02.20-textmate-snippets-for-rails-assertions.md b/public/posts/2006.02.20-textmate-snippets-for-rails-assertions.md index 9977d2f..6eaf9c8 100644 --- a/public/posts/2006.02.20-textmate-snippets-for-rails-assertions.md +++ b/public/posts/2006.02.20-textmate-snippets-for-rails-assertions.md @@ -1,10 +1,3 @@ -Title: TextMate Snippets for Rails Assertions -Date: February 20, 2006 -Timestamp: 1140508320 -Author: sjs -Tags: textmate, rails, coding, rails, snippets, testing, textmate ----- - This time I've got a few snippets for assertions. Using these to type up your tests quickly, and then hitting **⌘R** to run the tests without leaving TextMate, makes testing your Rails app that much more convenient. Just when you thought it was already too easy! (Don't forget that you can use **⌥⌘↓** to move between your code and the corresponding test case.) This time I'm posting the .plist files to make it easier for you to add them to TextMate. All you need to do is copy these to **~/Library/Application Support/TextMate/Bundles/Rails.tmbundle/Snippets**. diff --git a/public/posts/2006.02.21-textmate-insert-text-into-self-down.md b/public/posts/2006.02.21-textmate-insert-text-into-self-down.md index 4cb5522..d2a89d1 100644 --- a/public/posts/2006.02.21-textmate-insert-text-into-self-down.md +++ b/public/posts/2006.02.21-textmate-insert-text-into-self-down.md @@ -1,11 +1,3 @@ -Title: TextMate: Insert text into self.down -Date: February 21, 2006 -Timestamp: 1140562500 -Author: sjs -Tags: textmate, rails, hacking, commands, macro, rails, snippets, textmate -Styles: typocode ----- -

UPDATE: I got everything working and it's all packaged up here. There's an installation script this time as well.

Thanks to a helpful thread on the TextMate mailing list I have the beginning of a solution to insert text at 2 (or more) locations in a file.

diff --git a/public/posts/2006.02.21-textmate-move-selection-to-self-down.md b/public/posts/2006.02.21-textmate-move-selection-to-self-down.md index 5e96fcb..6697599 100644 --- a/public/posts/2006.02.21-textmate-move-selection-to-self-down.md +++ b/public/posts/2006.02.21-textmate-move-selection-to-self-down.md @@ -1,10 +1,3 @@ -Title: TextMate: Move selection to self.down -Date: February 21, 2006 -Timestamp: 1140510360 -Author: sjs -Tags: textmate, rails, hacking, hack, macro, rails, textmate ----- -

UPDATE: This is obsolete, see this post for a better solution.

Duane's comment prompted me to think about how to get the drop_table and remove_column lines inserted in the right place. I don't think TextMate's snippets are built to do this sort of text manipulation. It would be nicer, but a quick hack will suffice for now.

Use MCDT to insert:

diff --git a/public/posts/2006.02.22-intelligent-migration-snippets-0.1-for-textmate.md b/public/posts/2006.02.22-intelligent-migration-snippets-0.1-for-textmate.md index f83345d..ed1f7dd 100644 --- a/public/posts/2006.02.22-intelligent-migration-snippets-0.1-for-textmate.md +++ b/public/posts/2006.02.22-intelligent-migration-snippets-0.1-for-textmate.md @@ -1,10 +1,3 @@ -Title: Intelligent Migration Snippets 0.1 for TextMate -Date: February 22, 2006 -Timestamp: 1140607680 -Author: sjs -Tags: mac os x, textmate, rails, hacking, migrations, snippets ----- - *This should be working now. I've tested it under a new user account here.* *This does requires the syncPeople bundle to be installed to work. That's ok, because you should get the [syncPeople on Rails bundle][syncPeople] anyways.* diff --git a/public/posts/2006.02.23-sjs-rails-bundle-0.2-for-textmate.md b/public/posts/2006.02.23-sjs-rails-bundle-0.2-for-textmate.md index ef6bfc6..64f5a91 100644 --- a/public/posts/2006.02.23-sjs-rails-bundle-0.2-for-textmate.md +++ b/public/posts/2006.02.23-sjs-rails-bundle-0.2-for-textmate.md @@ -1,11 +1,3 @@ -Title: SJ's Rails Bundle 0.2 for TextMate -Date: February 23, 2006 -Timestamp: 1140743880 -Author: sjs -Tags: textmate, rails, coding, bundle, macros, rails, snippets, textmate -Styles: typocode ----- - Everything that you've seen posted on my blog is now available in one bundle. Snippets for Rails database migrations and assertions are all included in this bundle. There are 2 macros for class-end and def-end blocks, bound to ⌃C and ⌃D respectively. Type the class or method definition, except for class or def, and then type the keyboard shortcut and the rest is filled in for you. diff --git a/public/posts/2006.03.03-generate-selfdown-in-your-rails-migrations.md b/public/posts/2006.03.03-generate-selfdown-in-your-rails-migrations.md index 35deca5..058d46d 100644 --- a/public/posts/2006.03.03-generate-selfdown-in-your-rails-migrations.md +++ b/public/posts/2006.03.03-generate-selfdown-in-your-rails-migrations.md @@ -1,8 +1 @@ -Title: Generate self.down in your Rails migrations -Date: March 3, 2006 -Timestamp: 1141450680 -Author: sjs -Tags: rails, textmate, migrations, rails, textmate ----- - Scott wrote a really cool program that will scan `self.up` and then consult db/schema.rb to automatically fill in `self.down` for you. Brilliant! diff --git a/public/posts/2006.03.03-i-dont-mind-fairplay-either.md b/public/posts/2006.03.03-i-dont-mind-fairplay-either.md index 9b6070c..30a4ce6 100644 --- a/public/posts/2006.03.03-i-dont-mind-fairplay-either.md +++ b/public/posts/2006.03.03-i-dont-mind-fairplay-either.md @@ -1,10 +1,3 @@ -Title: I don't mind FairPlay either -Date: March 3, 2006 -Timestamp: 1141451760 -Author: sjs -Tags: apple, mac os x, life, drm, fairplay, ipod, itunes ----- - I think that Jim is right about Apple's DRM not being all that evil. I buy music from the iTunes Music Store *because* I bought an iPod. The fact I can't play them on another device doesn't matter to me. With my purchased songs I can: diff --git a/public/posts/2006.03.03-spore.md b/public/posts/2006.03.03-spore.md index 11deefb..febd559 100644 --- a/public/posts/2006.03.03-spore.md +++ b/public/posts/2006.03.03-spore.md @@ -1,10 +1,3 @@ -Title: Spore -Date: March 3, 2006 -Timestamp: 1141450980 -Author: sjs -Tags: amusement, technology, cool, fun, games ----- - This game that Jim blogged about is probably the coolest game I've seen. You really just have to watch the video, I won't bother explaining it here. I don't really play games much, but this I would play. diff --git a/public/posts/2006.04.04-zsh-terminal-goodness-on-os-x.md b/public/posts/2006.04.04-zsh-terminal-goodness-on-os-x.md index 6b6113f..87c919b 100644 --- a/public/posts/2006.04.04-zsh-terminal-goodness-on-os-x.md +++ b/public/posts/2006.04.04-zsh-terminal-goodness-on-os-x.md @@ -1,10 +1,3 @@ -Title: zsh terminal goodness on OS X -Date: April 4, 2006 -Timestamp: 1144187820 -Author: sjs -Tags: mac os x, apple, osx, terminal, zsh ----- - Apple released the OS X 10.4.6 update which fixed a really annoying bug for me. Terminal (and iTerm) would fail to open a new window/tab when your shell is zsh. iTerm would just open then immediately close the window, while Terminal would display the message: [Command completed] in a now-useless window. Rebooting twice to get the fix was reminiscent of Windows, but well worth it. diff --git a/public/posts/2006.05.07-os-x-and-fitts-law.md b/public/posts/2006.05.07-os-x-and-fitts-law.md index 6f943e1..14b790a 100644 --- a/public/posts/2006.05.07-os-x-and-fitts-law.md +++ b/public/posts/2006.05.07-os-x-and-fitts-law.md @@ -1,8 +1 @@ -Title: OS X and Fitt's law -Date: May 7, 2006 -Timestamp: 1147059780 -Author: sjs -Tags: mac os x, apple, mac, os, usability, x ----- - I've realized that OS X really does obey Fitt's law in all 4 corners now. Apple menu in the top left, Spotlight top right, and the bottom 2 are always accessible for drag n drop, unless the dock is hidden. I rarely ever use it because I usually have pretty good chunks of the desktop showing, but it is useful. diff --git a/public/posts/2006.05.07-wikipediafs-on-linux-in-python.md b/public/posts/2006.05.07-wikipediafs-on-linux-in-python.md index 485f739..7027e2b 100644 --- a/public/posts/2006.05.07-wikipediafs-on-linux-in-python.md +++ b/public/posts/2006.05.07-wikipediafs-on-linux-in-python.md @@ -1,10 +1,3 @@ -Title: WikipediaFS on Linux, in Python -Date: May 7, 2006 -Timestamp: 1147060140 -Author: sjs -Tags: hacking, python, linux, fuse, linux, mediawiki, python, wikipediafs ----- - Till now I've been using my own version of pywikipedia for scripting MediaWiki, and it works well. But I read about WikipediaFS and had to check it out. It's a user space filesystem for Linux that's built using the Python bindings for FUSE. What it does is mounts a filesystem that represents your wiki, with articles as text files. You can use them just like any other files with mv, cp, ls, vim, and so on. There hasen't been any action on that project for 13 months though, and it doesn't work on my wiki (MediaWiki 1.4.15) so I'm going to try and make it work after I upgrade to MediaWiki 1.6.3 tonight. This will be pretty cool when it works. I haven't looked at the code yet but it's only 650 lines. diff --git a/public/posts/2006.06.05-ich-bin-auslnder-und-spreche-nicht-gut-deutsch.md b/public/posts/2006.06.05-ich-bin-auslnder-und-spreche-nicht-gut-deutsch.md index 45c6740..56652e2 100644 --- a/public/posts/2006.06.05-ich-bin-auslnder-und-spreche-nicht-gut-deutsch.md +++ b/public/posts/2006.06.05-ich-bin-auslnder-und-spreche-nicht-gut-deutsch.md @@ -1,10 +1,3 @@ -Title: Ich bin Ausländer und spreche nicht gut Deutsch -Date: June 5, 2006 -Timestamp: 1149527460 -Author: sjs -Tags: life, munich, seekport, work ----- - How's this for an update: I'm working in Munich for the summer at a European search engine called Seekport. The search engine isn't all they do, as right now I'm programming a desktop widget that shows live scores & news from World Cup matches (in English and Arabic). I'm building it on top of the Yahoo! Widget Engine because it needs to run on Windows. Even though I quite like the Y! Engine, I would still prefer to be coding in straight HTML, CSS & JavaScript like Dashboard programmers get to use. The Y! Engine uses XML (it is somewhat HTML-like) and JavaScript. The place I'm living in is like a dormitory for younger people. I share a bathroom & kitchen with a German guy named Sebastian who is 21 and an artist; a stonecutter actually. I only met him briefly yesterday, but he seems nice. I'm going to teach him English, and he'll teach me German, though his English is much better than my German. It's a pretty quiet place, and we get breakfast included, dinner can be bought for €2,50, and Internet access is included as well. I brought my Mac Mini with me, and as soon as I find an AC adapter I'll be ready to go with the 'net at home. I probably won't blog again till then, since I'm at work right now. diff --git a/public/posts/2006.06.09-never-buy-a-german-keyboard.md b/public/posts/2006.06.09-never-buy-a-german-keyboard.md index b25b341..d2cf438 100644 --- a/public/posts/2006.06.09-never-buy-a-german-keyboard.md +++ b/public/posts/2006.06.09-never-buy-a-german-keyboard.md @@ -1,10 +1,3 @@ -Title: Never buy a German keyboard! -Date: June 9, 2006 -Timestamp: 1149841020 -Author: sjs -Tags: apple, apple, german, keyboard ----- - Nothing personal, but the backtick/tilde is located where the rest of the left shift key should be, and the return key is double-height, forcing the backslash/bar to the right of the dash/underscore (that'd be the apostrophe/double quote for pretty much everyone else who types qwerty). Note that I'm talking about using a German keyboard with an English layout. The German layout is flat out impossible for coding. German Apple Keyboard diff --git a/public/posts/2006.06.10-theres-nothing-regular-about-regular-expressions.md b/public/posts/2006.06.10-theres-nothing-regular-about-regular-expressions.md index e83f312..2c559f4 100644 --- a/public/posts/2006.06.10-theres-nothing-regular-about-regular-expressions.md +++ b/public/posts/2006.06.10-theres-nothing-regular-about-regular-expressions.md @@ -1,10 +1,3 @@ -Title: There's nothing regular about regular expressions -Date: June 10, 2006 -Timestamp: 1149928080 -Author: sjs -Tags: technology, book, regex ----- - I'm almost half way reading Jeffrey Friedl's book Mastering Regular Expressions and I have to say that for a book on something that could potentially bore you to tears, he really does an excellent job of keeping it interesting. Even though a lot of the examples are contrived (I'm sure out of necessity), he also uses real examples of regexes that he's actually used at Yahoo!. As someone who has to know how everything works it's also an excellent lesson in patience, as he frequently says "here, take this knowledge and just accept it for now until I can explain why in the next chapter (or in 3 chapters!)". But it's all with good reason and when he does explain he does it well. diff --git a/public/posts/2006.06.11-apple-pays-attention-to-detail.md b/public/posts/2006.06.11-apple-pays-attention-to-detail.md index 5805727..6bcf056 100644 --- a/public/posts/2006.06.11-apple-pays-attention-to-detail.md +++ b/public/posts/2006.06.11-apple-pays-attention-to-detail.md @@ -1,8 +1 @@ -Title: Apple pays attention to detail -Date: June 11, 2006 -Timestamp: 1150014600 -Author: sjs -Tags: technology, mac os x, apple ----- - I think this has to be one of the big reasons why people who love their Mac, love their Mac (or other Apple product). I usually just have cheap PC speakers plugged into my Mac mini, but I didn't bring any with me to Munich and the internal Mac mini speaker isn't very loud, so I'm using headphones to watch movies. My Mac remembers the volume setting when the headphones ore plugged in, and when they're not, so I don't accidentally blow my ears. It's like my iPod pausing when the headphones are unplugged. It's excruciating attention to the smallest, (seemingly) most unimportant detail. I love it, and I'm hooked. diff --git a/public/posts/2006.07.06-working-with-the-zend-framework.md b/public/posts/2006.07.06-working-with-the-zend-framework.md index 5048948..e82b550 100644 --- a/public/posts/2006.07.06-working-with-the-zend-framework.md +++ b/public/posts/2006.07.06-working-with-the-zend-framework.md @@ -1,10 +1,3 @@ -Title: Working with the Zend Framework -Date: July 6, 2006 -Timestamp: 1152196560 -Author: sjs -Tags: coding, technology, php, framework, php, seekport, zend ----- - At Seekport I'm currently working on an app to handle the config of their business-to-business search engine. It's web-based and I'm using PHP, since that's what they're re-doing the front-end in. Right now it's a big mess of Perl, the main diff --git a/public/posts/2006.07.13-ubuntu-linux-for-linux-users-please.md b/public/posts/2006.07.13-ubuntu-linux-for-linux-users-please.md index d840cf0..41e798c 100644 --- a/public/posts/2006.07.13-ubuntu-linux-for-linux-users-please.md +++ b/public/posts/2006.07.13-ubuntu-linux-for-linux-users-please.md @@ -1,10 +1,3 @@ -Title: Ubuntu: Linux for Linux users please -Date: July 13, 2006 -Timestamp: 1152804840 -Author: sjs -Tags: linux, linux, ubuntu ----- - Ubuntu is a fine Linux distro, which is why it's popular. I still use Gentoo on my servers but Ubuntu is fast to set up for a desktop. Linux for humans it certainly is, but dammit sometimes I want Linux like I'm used to. It should ship with build-essentials (gcc & others) installed. It *shouldn't* ask me if I'm sure I want to restart at the GDM login screen. I have no session open and already clicked twice to choose Restart. diff --git a/public/posts/2006.07.17-ruby-and-rails-have-spoiled-me-rotten.md b/public/posts/2006.07.17-ruby-and-rails-have-spoiled-me-rotten.md index 21fed1f..18657c9 100644 --- a/public/posts/2006.07.17-ruby-and-rails-have-spoiled-me-rotten.md +++ b/public/posts/2006.07.17-ruby-and-rails-have-spoiled-me-rotten.md @@ -1,10 +1,3 @@ -Title: Ruby and Rails have spoiled me rotten -Date: July 17, 2006 -Timestamp: 1153140000 -Author: sjs -Tags: rails, ruby, php, coding, framework, php, rails, ruby, zend ----- - It's true. I'm sitting here coding in PHP using the Zend Framework and all I can think about is how much nicer Rails is, or how much easier it is to do [x] in Ruby. It's not that the Zend Framework is bad or anything, it's quite nice, but you just can't match Ruby's expressiveness in a language like PHP. Add the amazing convenience Rails builds on top of Ruby and that's a really hard combo to compete with. I'd love to be using mixins instead of mucking around with abstract classes and interfaces, neither of which will just let you share a method between different classes. Writing proxy methods in these tiny in-between classes is annoying. (ie. inherit from Zend_class, then my real classes inherit from the middle-man class) I *could* add things to Zend's classes, but then upgrades are a bitch. I miss Ruby. I could use something like whytheluckystiff's PHP mixins, which is a clever hack, but still a hack. diff --git a/public/posts/2006.07.19-late-static-binding.md b/public/posts/2006.07.19-late-static-binding.md index b192ee1..02ffb07 100644 --- a/public/posts/2006.07.19-late-static-binding.md +++ b/public/posts/2006.07.19-late-static-binding.md @@ -1,10 +1,3 @@ -Title: Late static binding -Date: July 19, 2006 -Timestamp: 1153329780 -Author: sjs -Tags: php, coding, coding, php ----- - *Update: This has been discussed and will be uh, sort of fixed, in PHP6. You'll be able to use static::my_method() to get the real reference to self in class methods. Not optimal, but still a solution I guess.* As colder on ##php (freenode) told me today, class methods in PHP don't have what they call late static binding. What's that? It means that this code: diff --git a/public/posts/2006.07.21-class-method-instance-method-it-doesnt-matter-to-php.md b/public/posts/2006.07.21-class-method-instance-method-it-doesnt-matter-to-php.md index 210ded7..4262eca 100644 --- a/public/posts/2006.07.21-class-method-instance-method-it-doesnt-matter-to-php.md +++ b/public/posts/2006.07.21-class-method-instance-method-it-doesnt-matter-to-php.md @@ -1,10 +1,3 @@ -Title: Class method? Instance method? It doesn't matter to PHP -Date: July 21, 2006 -Timestamp: 1153493760 -Author: sjs -Tags: php, coding ----- - *Update: This has been discussed for PHP6. A little late, but I guess better than never.* I made a mistake while I was coding, for shame! Anyway this particular mistake was that I invoked a class method on the wrong class. The funny part was that this method was an instance method in the class which I typed by mistake. In the error log I saw something like "Invalid use of $this in class function." diff --git a/public/posts/2006.08.22-where-are-my-headphones.md b/public/posts/2006.08.22-where-are-my-headphones.md index 90fb878..74c53e3 100644 --- a/public/posts/2006.08.22-where-are-my-headphones.md +++ b/public/posts/2006.08.22-where-are-my-headphones.md @@ -1,8 +1 @@ -Title: Where are my headphones? -Date: August 22, 2006 -Timestamp: 1156257060 -Author: sjs -Tags: life, seekport ----- - Some people left Seekport this month and 2 of the remaining employees moved into the office I’m working in. That’s fine, and I’m leaving at the end of the week, but man I’m going crazy. This guy’s pounding on his keyboard like it’s a fucking whack-a-mole game! I don’t know what kind of keyboard he learned to type on but it must’ve been horrible. It sounds like he must go through at least 10 of those things in a year. I don’t know if I’ll make it till Friday without yelling "AGH! STOP THE MADNESS YOU CRAZY BASTARD YOU JUST HAVE TO TOUCH THE KEYS!" diff --git a/public/posts/2006.09.16-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo.md b/public/posts/2006.09.16-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo.md index 7450836..6bbdcba 100644 --- a/public/posts/2006.09.16-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo.md +++ b/public/posts/2006.09.16-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo-buffalo.md @@ -1,10 +1,3 @@ -Title: Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo -Date: September 16, 2006 -Timestamp: 1158469860 -Author: sjs -Tags: amusement, buffalo ----- - Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips? → Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo diff --git a/public/posts/2006.09.22-some-features-you-might-have-missed-in-itunes-7.md b/public/posts/2006.09.22-some-features-you-might-have-missed-in-itunes-7.md index e271cdc..952d586 100644 --- a/public/posts/2006.09.22-some-features-you-might-have-missed-in-itunes-7.md +++ b/public/posts/2006.09.22-some-features-you-might-have-missed-in-itunes-7.md @@ -1,10 +1,3 @@ -Title: Some features you might have missed in iTunes 7 -Date: September 22, 2006 -Timestamp: 1158969540 -Author: sjs -Tags: apple, apple, itunes ----- - New menu Besides the big changes in iTunes 7 there have been some minor changes that are still pretty useful. diff --git a/public/posts/2006.12.17-coping-with-windows-xp-activiation-on-a-mac.md b/public/posts/2006.12.17-coping-with-windows-xp-activiation-on-a-mac.md index 30c5135..9734dcf 100644 --- a/public/posts/2006.12.17-coping-with-windows-xp-activiation-on-a-mac.md +++ b/public/posts/2006.12.17-coping-with-windows-xp-activiation-on-a-mac.md @@ -1,10 +1,3 @@ -Title: Coping with Windows XP activiation on a Mac -Date: December 17, 2006 -Timestamp: 1166427000 -Author: sjs -Tags: parallels, windows, apple, mac os x, bootcamp ----- - **Update:** This needs to be run at system startup, before you log in. I have XP Home and haven't been able to get it to run that way yet. I can't test my method until I get XP Pro, if I get XP Pro at all. However chack left a comment saying that he got it to work on XP Pro, so it seems we've got a solution here. diff --git a/public/posts/2007.03.06-full-screen-cover-flow.md b/public/posts/2007.03.06-full-screen-cover-flow.md index 84401b6..4fd2640 100644 --- a/public/posts/2007.03.06-full-screen-cover-flow.md +++ b/public/posts/2007.03.06-full-screen-cover-flow.md @@ -1,10 +1,3 @@ -Title: Full-screen Cover Flow -Date: March 6, 2007 -Timestamp: 1173217860 -Author: sjs -Tags: apple, coverflow, itunes ----- - Cover Flow now comes in a full-screen flavour. It's pretty sweet, but unfortunately the remote controls iTunes exactly the same so you need a mouse to flick through the covers. That made me wonder if Front Row used this full-screen Cover Flow view for albums now, but it doesn't. I hope Apple gets on this and adds it to Front Row and the Apple TV. I'm sure it's already on their list. diff --git a/public/posts/2007.03.08-digg-v4-reply-to-replies-greasemonkey-script.md b/public/posts/2007.03.08-digg-v4-reply-to-replies-greasemonkey-script.md index 5452dc1..82e4507 100644 --- a/public/posts/2007.03.08-digg-v4-reply-to-replies-greasemonkey-script.md +++ b/public/posts/2007.03.08-digg-v4-reply-to-replies-greasemonkey-script.md @@ -1,10 +1,3 @@ -Title: Digg v4: Reply to replies (Greasemonkey script) -Date: March 8, 2007 -Timestamp: 1173424740 -Author: sjs -Tags: coding, digg, firefox, userscript ----- - It's nearly identical to the previous one but works with Digg v4 and should be slightly more efficient. I'm working on making it faster because I believe it is quite inefficient as it is. It was David Bendit's (the original author) first script though so kudos to him for starting this thing because I love it. I just hate a slow greasemonkey script on pages with hundreds of comments. Please leave me some comments if you appreciate this, or have any feedback on the code. diff --git a/public/posts/2007.03.25-diggscuss-0.9.md b/public/posts/2007.03.25-diggscuss-0.9.md index 06395d2..356a7f0 100644 --- a/public/posts/2007.03.25-diggscuss-0.9.md +++ b/public/posts/2007.03.25-diggscuss-0.9.md @@ -1,10 +1,3 @@ -Title: Diggscuss 0.9 -Date: March 25, 2007 -Timestamp: 1174834980 -Author: sjs -Tags: coding, digg, firefox, userscript ----- - The biggest change is that it uses XPath for the dirty work, which makes it quite a bit more readable. It's 100 lines longer than the previous version, but it does twice as much. Now both a [reply] and a [quote] link are added to each comment. Replying to parent comments now adds @username: to the comment field as well as the links added by the script. diff --git a/public/posts/2007.04.04-a-triple-booting-schizophrenic-macbook.md b/public/posts/2007.04.04-a-triple-booting-schizophrenic-macbook.md index 4d803e9..5dba461 100644 --- a/public/posts/2007.04.04-a-triple-booting-schizophrenic-macbook.md +++ b/public/posts/2007.04.04-a-triple-booting-schizophrenic-macbook.md @@ -1,10 +1,3 @@ -Title: A triple-booting, schizophrenic MacBook -Date: April 4, 2007 -Timestamp: 1175754600 -Author: sjs -Tags: linux, mac os x, windows ----- - The steps are well documented so I won’t get into detail here but if you have a backup and can wipe your disk all you do is: * Install OS X to a single partition filling your disk (optionally use your existing OS X intall) diff --git a/public/posts/2007.04.11-activerecord-base.find_or_create-and-find_or_initialize.md b/public/posts/2007.04.11-activerecord-base.find_or_create-and-find_or_initialize.md index 5d8eab7..bda908e 100644 --- a/public/posts/2007.04.11-activerecord-base.find_or_create-and-find_or_initialize.md +++ b/public/posts/2007.04.11-activerecord-base.find_or_create-and-find_or_initialize.md @@ -1,10 +1,3 @@ -Title: ActiveRecord::Base.find_or_create and find_or_initialize -Date: April 11, 2007 -Timestamp: 1176287040 -Author: sjs -Tags: activerecord, coding, rails, ruby ----- - I've extended ActiveRecord with `find_or_create(params)` and `find_or_initialize(params)`. Those are actually just wrappers around `find_or_do(action, params)` which does the heavy lifting. They work exactly as you'd expect them to work with possibly one gotcha. If you pass in an `id` attribute then it will just find that record directly. If it fails it will try and find the record using the other params as it would have done normally. diff --git a/public/posts/2007.04.16-getting-to-know-vista.md b/public/posts/2007.04.16-getting-to-know-vista.md index 0eeffa1..ca5bfb2 100644 --- a/public/posts/2007.04.16-getting-to-know-vista.md +++ b/public/posts/2007.04.16-getting-to-know-vista.md @@ -1,10 +1,3 @@ -Title: Getting to know Vista -Date: April 16, 2007 -Timestamp: 1176746940 -Author: sjs -Tags: windows ----- - ### It looks pretty good! ### After figuring out how to minimise the translucency of the window decorations I think Aero looks ok. Window titles, on both windows and the taskbar, can be difficult to read at a glance which is really stupid if you ask me. But it’s better than Luna! They really lay the effects on thick but overall I find it pretty pleasant and it runs well on my MacBook’s Intel 945 video chip. diff --git a/public/posts/2007.04.26-quickly-inserting-millions-of-rows-with-mysql-innodb.md b/public/posts/2007.04.26-quickly-inserting-millions-of-rows-with-mysql-innodb.md index cedc573..1c6d1c8 100644 --- a/public/posts/2007.04.26-quickly-inserting-millions-of-rows-with-mysql-innodb.md +++ b/public/posts/2007.04.26-quickly-inserting-millions-of-rows-with-mysql-innodb.md @@ -1,10 +1,3 @@ -Title: Quickly inserting millions of rows with MySQL/InnoDB -Date: April 26, 2007 -Timestamp: 1177596360 -Author: sjs -Tags: linux, mysql ----- - The absolute first thing you should do is check your MySQL configuration to make sure it’s sane for the system you’re using. I kept getting a ‘The table is too large’ error on my Gentoo box after inserting several million rows because the default config limits the InnoDB tablespace size to 128M. It was also tuned for a box with as little as 64M of RAM. That’s cool for a small VPS or your old Pentium in the corner collecting dust. For a modern server, workstation, or even notebook with gigs of RAM you’ll likely want to make some changes. ### Tweaking my.cnf ### diff --git a/public/posts/2007.04.30-funny-how-code-can-be-beautiful.md b/public/posts/2007.04.30-funny-how-code-can-be-beautiful.md index 154b158..db56f9d 100644 --- a/public/posts/2007.04.30-funny-how-code-can-be-beautiful.md +++ b/public/posts/2007.04.30-funny-how-code-can-be-beautiful.md @@ -1,10 +1,3 @@ -Title: Funny how code can be beautiful -Date: April 30, 2007 -Timestamp: 1177942020 -Author: sjs -Tags: haskell ----- - While reading a Haskell tutorial I came across the following code for defining the Fibonacci numbers: fib = 1 : 1 : [ a + b | (a, b) <- zip fib (tail fib) ] diff --git a/public/posts/2007.05.01-typo-and-i-are-friends-again.md b/public/posts/2007.05.01-typo-and-i-are-friends-again.md index b83a660..90b1758 100644 --- a/public/posts/2007.05.01-typo-and-i-are-friends-again.md +++ b/public/posts/2007.05.01-typo-and-i-are-friends-again.md @@ -1,10 +1,3 @@ -Title: Typo and I are friends again -Date: May 1, 2007 -Timestamp: 1178081497 -Author: sjs -Tags: typo ----- -

I've been really frustrated with Typo recently. For some reason changing my last post would cause MySQL to timeout and I'd have to kill the rogue ruby process manually before any other changes to the DB would work, instead of hanging for a minute or two then timing out. Luckily I was able to disable the post using the command line client, the bug only manifested itself when issuing an UPDATE with all the fields present. Presumably the body was tripping things up because most other fields are simple booleans, numbers, or very short strings. Add to that the random HTTP 500 errors which were very noticeable while I was trying to fix that post and I was about to write my own blog or switch to WordPress. diff --git a/public/posts/2007.05.03-a-scheme-parser-in-haskell-part-1.md b/public/posts/2007.05.03-a-scheme-parser-in-haskell-part-1.md index 09a34a8..1700e92 100644 --- a/public/posts/2007.05.03-a-scheme-parser-in-haskell-part-1.md +++ b/public/posts/2007.05.03-a-scheme-parser-in-haskell-part-1.md @@ -1,10 +1,3 @@ -Title: A Scheme parser in Haskell: Part 1 -Date: May 3, 2007 -Timestamp: 1178178470 -Author: sjs -Tags: coding, haskell ----- - From Write Yourself a Scheme in 48 hours:

diff --git a/public/posts/2007.05.05-a-new-way-to-look-at-networking.md b/public/posts/2007.05.05-a-new-way-to-look-at-networking.md index ec77f0d..c9e2833 100644 --- a/public/posts/2007.05.05-a-new-way-to-look-at-networking.md +++ b/public/posts/2007.05.05-a-new-way-to-look-at-networking.md @@ -1,10 +1,3 @@ -Title: A New Way to Look at Networking -Date: May 5, 2007 -Timestamp: 1178406600 -Author: sjs -Tags: technology, networking ----- - Van Jacobson gave a Google Tech Talk on some of his ideas of how a modern, global network could work more effectively, and with more trust in the data which changes many hands on its journey to its final destination.
diff --git a/public/posts/2007.05.05-gotta-love-the-ferry-ride.md b/public/posts/2007.05.05-gotta-love-the-ferry-ride.md index 6f923d6..e5b5244 100644 --- a/public/posts/2007.05.05-gotta-love-the-ferry-ride.md +++ b/public/posts/2007.05.05-gotta-love-the-ferry-ride.md @@ -1,10 +1,3 @@ -Title: Gotta Love the Ferry Ride -Date: May 5, 2007 -Timestamp: 1178364300 -Author: sjs -Tags: life, photo, bc, victoria ----- - I lived in Victoria for over a year before I ever rode the ferry between Vancouver Island and Tsawwassen (ignoring the time I was in BC with my family about 16 years ago, that is). I always just flew in and out of Victoria directly. The ferry is awesome and the view is incredible, navigating through all those little islands. Last time I rode the ferry I snapped this shot. It's possibly the best picture I've taken on that trip. Sunset diff --git a/public/posts/2007.05.09-dtrace-ruby-goodness-for-sun.md b/public/posts/2007.05.09-dtrace-ruby-goodness-for-sun.md index 2a62bca..6b69a97 100644 --- a/public/posts/2007.05.09-dtrace-ruby-goodness-for-sun.md +++ b/public/posts/2007.05.09-dtrace-ruby-goodness-for-sun.md @@ -1,10 +1,3 @@ -Title: dtrace + Ruby = Goodness for Sun -Date: May 9, 2007 -Timestamp: 1178725500 -Author: sjs -Tags: ruby, dtrace, sun ----- - Suddenly I feel the urge to try out Solaris for i386 again. Last time I gave it a shot was when it was first released, and all I ever got out of the CD was a white screen. It's been 2-3 years since then and it should be well-tested. I'll try to install it into a VM first using the ISO and potentially save myself a CD. (I don't even think I have blank CDs lying around anymore, only DVDs.) The culprit. diff --git a/public/posts/2007.05.09-i-cant-wait-to-see-what-matt-stone-trey-parker-do-with-this.md b/public/posts/2007.05.09-i-cant-wait-to-see-what-matt-stone-trey-parker-do-with-this.md index 77a00d3..68241fd 100644 --- a/public/posts/2007.05.09-i-cant-wait-to-see-what-matt-stone-trey-parker-do-with-this.md +++ b/public/posts/2007.05.09-i-cant-wait-to-see-what-matt-stone-trey-parker-do-with-this.md @@ -1,10 +1,3 @@ -Title: I Can't Wait to See What Trey Parker & Matt Stone Do With This -Date: May 9, 2007 -Timestamp: 1178746440 -Author: sjs -Tags: crazy ----- - I'd just like to say, bwa ha ha ha! Summary: Paris Hilton drove with a suspended license and is facing 45 days in jail. Now she's reaching out to lord knows who on her MySpace page to petition The Governator to pardon her. I might cry if I weren't pissing myself laughing. diff --git a/public/posts/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md b/public/posts/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md index 2de0199..eee5219 100644 --- a/public/posts/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md +++ b/public/posts/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md @@ -1,10 +1,3 @@ -Title: Enumurable#pluck and String#to_proc for Ruby -Date: May 10, 2007 -Timestamp: 1178838840 -Author: sjs -Tags: ruby, extensions ----- - I wanted a method analogous to Prototype's pluck and invoke in Rails for building lists for options_for_select. Yes, I know about options_from_collection_for_select. I wanted something more general that I can use anywhere - not just in Rails - so I wrote one. In a second I'll introduce Enumerable#pluck, but first we need some other methods to help implement it nicely. @@ -122,4 +115,4 @@ I wrote another version without using the various #to_proc methods It's just icing on the cake considering Ruby's convenient block syntax, but there it is. Do with it what you will. You can change or extend any of these to support drilling down into hashes quite easily too. -*Update #1: Fixed a potential performance issue in Enumerable#to_proc by saving the results of to_proc in @procs.* \ No newline at end of file +*Update #1: Fixed a potential performance issue in Enumerable#to_proc by saving the results of to_proc in @procs.* diff --git a/public/posts/2007.05.10-rails-plugins-link-dump.md b/public/posts/2007.05.10-rails-plugins-link-dump.md index a831497..605c9ac 100644 --- a/public/posts/2007.05.10-rails-plugins-link-dump.md +++ b/public/posts/2007.05.10-rails-plugins-link-dump.md @@ -1,10 +1,3 @@ -Title: Rails Plugins (link dump) -Date: May 10, 2007 -Timestamp: 1178756520 -Author: sjs -Tags: rails ----- - Some Rails plugins I find useful: * Simply Helpful diff --git a/public/posts/2007.05.15-dumping-objects-to-the-browser-in-rails.md b/public/posts/2007.05.15-dumping-objects-to-the-browser-in-rails.md index f2dc095..48247a9 100644 --- a/public/posts/2007.05.15-dumping-objects-to-the-browser-in-rails.md +++ b/public/posts/2007.05.15-dumping-objects-to-the-browser-in-rails.md @@ -1,10 +1,3 @@ -Title: Dumping Objects to the Browser in Rails -Date: May 15, 2007 -Timestamp: 1179261480 -Author: sjs -Tags: rails ----- - Here's an easy way to solve a problem that may have nagged you as it did me. Simply using foo.inspect to dump out some object to the browser dumps one long string which is barely useful except for short strings and the like. The ideal output is already available using the PrettyPrint module so we just need to use it. diff --git a/public/posts/2007.05.16-cheating-at-life-in-general.md b/public/posts/2007.05.16-cheating-at-life-in-general.md index f39be95..e37a145 100644 --- a/public/posts/2007.05.16-cheating-at-life-in-general.md +++ b/public/posts/2007.05.16-cheating-at-life-in-general.md @@ -1,10 +1,3 @@ -Title: Cheating at Life in General -Date: May 16, 2007 -Timestamp: 1179308760 -Author: sjs -Tags: cheat, vim, emacs, textmate ----- - *NB: My definition of life is slightly skewed by my being somewhat of a geek* Luckily no one in the real world cares if you cheat. Most of life is open-book, but for the times when you just need to find something quick the answer, of course, is to [cheat](http://cheat.errtheblog.com/) profusely. diff --git a/public/posts/2007.05.18-iphone-humour.md b/public/posts/2007.05.18-iphone-humour.md index 535ff7d..3cd7d7a 100644 --- a/public/posts/2007.05.18-iphone-humour.md +++ b/public/posts/2007.05.18-iphone-humour.md @@ -1,10 +1,3 @@ -Title: iPhone Humour -Date: May 18, 2007 -Timestamp: 1179513240 -Author: sjs -Tags: apple, funny, iphone ----- - Love it or hate it - even though it's not even out yet - the iPhone has spawned at least 2 good jokes. [The other iPhone lawsuit](http://www.geekculture.com/joyoftech/joyarchives/910.html) (GeekCulture.com) diff --git a/public/posts/2007.05.22-inspirado.md b/public/posts/2007.05.22-inspirado.md index ad28447..349b11f 100644 --- a/public/posts/2007.05.22-inspirado.md +++ b/public/posts/2007.05.22-inspirado.md @@ -1,10 +1,3 @@ -Title: Inspirado -Date: May 22, 2007 -Timestamp: 1179865380 -Author: sjs -Tags: rails, inspirado ----- - spyderous is a Gentoo dev and I read his posts via the Gentoo planet (and again on the freedesktop.org planet). He recently mentioned an idea to foster participation in Gentoo (or any other project) by aggregating personal project plans for people to browse. I thought it sounded cool so I started coding and came up with what I call inspirado. diff --git a/public/posts/2007.05.26-finnish-court-rules-css-ineffective-at-protecting-dvds.md b/public/posts/2007.05.26-finnish-court-rules-css-ineffective-at-protecting-dvds.md index 01441fb..9ba99f6 100644 --- a/public/posts/2007.05.26-finnish-court-rules-css-ineffective-at-protecting-dvds.md +++ b/public/posts/2007.05.26-finnish-court-rules-css-ineffective-at-protecting-dvds.md @@ -1,8 +1 @@ -Title: Finnish court rules CSS ineffective at protecting DVDs -Date: May 26, 2007 -Timestamp: 1180175040 -Author: sjs -Tags: drm ----- - It's nice to see people making sane calls on issues like this. Ars has a nice summary and there's also a press release. diff --git a/public/posts/2007.06.08-301-moved-permanently.md b/public/posts/2007.06.08-301-moved-permanently.md index b447228..89275c4 100644 --- a/public/posts/2007.06.08-301-moved-permanently.md +++ b/public/posts/2007.06.08-301-moved-permanently.md @@ -1,8 +1 @@ -Title: 301 moved permanently -Date: June 8, 2007 -Timestamp: 1181350800 -Author: sjs -Tags: life ----- - Last weekend I moved out of the apartment I lived in for the last 3 1/2 years. Moving was a cinch thanks to a friend's garage, conveniently placed smack between my old place and the new one. Google maps tells me that I moved just under 3.4 km, which is 2.1 mi for the metric impaired, so it wasn't much of a move at all! My roommate and I live in the basement of a house split into 3 apartments. Our upstairs neighbours are friendly and seem pretty cool, except one lady upstairs seems a bit strange. It's a great place though and in the winter the wood stove fireplace is going to be awesome. diff --git a/public/posts/2007.06.08-so-long-typo-and-thanks-for-all-the-timeouts.md b/public/posts/2007.06.08-so-long-typo-and-thanks-for-all-the-timeouts.md index 12e9d7c..f4455e6 100644 --- a/public/posts/2007.06.08-so-long-typo-and-thanks-for-all-the-timeouts.md +++ b/public/posts/2007.06.08-so-long-typo-and-thanks-for-all-the-timeouts.md @@ -1,10 +1,3 @@ -Title: so long typo (and thanks for all the timeouts) -Date: June 8, 2007 -Timestamp: 1181350860 -Author: sjs -Tags: mephisto, typo ----- - Well for just over a year Typo ran the show. I thought I had worked out most of the kinks with Typo and Dreamhost but the latest problem I ran into was pretty major. I couldn't post new articles. If the stars aligned perfectly and I sacrificed baby animals and virgins, every now and then I could get it to work. Ok, all I really had to do was refresh several dozen times, waiting 1 minute for it to timeout every time, but it sucked nonetheless. Recently I had looked at converting Typo to Mephisto and it seemed pretty painless. I installed Mephisto and followed whatever instructions I found via Google and it all just worked, with one caveat. The Typo converter for Mephisto only supports Typo's schema version 56, while my Typo schema was at version 61. Rather than migrate backwards I brought Mephisto's Typo converter up to date instead. If you're interested, download the patch. The patch is relative to vendor/plugins, so patch accordingly. diff --git a/public/posts/2007.06.14-more-scheming-with-haskell.md b/public/posts/2007.06.14-more-scheming-with-haskell.md index 007edc3..08c373b 100644 --- a/public/posts/2007.06.14-more-scheming-with-haskell.md +++ b/public/posts/2007.06.14-more-scheming-with-haskell.md @@ -1,10 +1,3 @@ -Title: More Scheming with Haskell -Date: June 14, 2007 -Timestamp: 1181783340 -Author: sjs -Tags: coding, haskell, scheme ----- - It's been a little while since I wrote about Haskell and the Scheme interpreter I've been using to learn and play with both Haskell and Scheme. I finished the tutorial and got myself a working Scheme interpreter and indeed it has been fun to use it for trying out little things now and then. (Normally I would use Emacs or Dr. Scheme for that sort of thing.) There certainly are interesting things to try floating around da intranet. And also things to read and learn from, such as misp (via Moonbase). *I'm going to describe two new features of my Scheme in this post. The second one is more interesting and was more fun to implement (cond).* diff --git a/public/posts/2007.06.14-testspec-on-rails-declared-awesome-just-one-catch.md b/public/posts/2007.06.14-testspec-on-rails-declared-awesome-just-one-catch.md index fa82be9..552cb6c 100644 --- a/public/posts/2007.06.14-testspec-on-rails-declared-awesome-just-one-catch.md +++ b/public/posts/2007.06.14-testspec-on-rails-declared-awesome-just-one-catch.md @@ -1,10 +1,3 @@ -Title: test/spec on rails declared awesome, just one catch -Date: June 14, 2007 -Timestamp: 1181830860 -Author: sjs -Tags: bdd, rails, test/spec ----- - This last week I've been getting to know test/spec via err's test/spec on rails plugin. I have to say that I really dig this method of testing my code and I look forward to trying out some actual BDD in the future. I did hit a little snag with functional testing though. The method of declaring which controller to use takes the form: diff --git a/public/posts/2007.06.15-begging-the-question.md b/public/posts/2007.06.15-begging-the-question.md index cd827e5..43df33a 100644 --- a/public/posts/2007.06.15-begging-the-question.md +++ b/public/posts/2007.06.15-begging-the-question.md @@ -1,10 +1,3 @@ -Title: Begging the question -Date: June 15, 2007 -Timestamp: 1181933340 -Author: sjs -Tags: english, life, pedantry ----- - I'm currently reading SICP since it's highly recommended by many people, available for free, and interesting. The fact that I have a little Scheme interpreter to play with makes it much more fun since I can add missing functionality to it as I progress through the book, thereby learning more Haskell in the process. Yay! Anyway I was very pleased to see the only correct usage of the phrase "begs the question" I have seen in a while. It's a pet peeve of mine, but I have submitted myself to the fact that the phrase is so oft used to mean "begs for the following question to be asked..." that it may as well be re-defined. In its correct usage the sentence seems to hang there if you try to apply the commonly mistaken meaning to it. That's all very hazy so here's the usage in SICP (emphasis my own): diff --git a/public/posts/2007.06.18-back-on-gentoo-trying-new-things.md b/public/posts/2007.06.18-back-on-gentoo-trying-new-things.md index 66c838a..6ffbde5 100644 --- a/public/posts/2007.06.18-back-on-gentoo-trying-new-things.md +++ b/public/posts/2007.06.18-back-on-gentoo-trying-new-things.md @@ -1,10 +1,3 @@ -Title: Back on Gentoo, trying new things -Date: June 18, 2007 -Timestamp: 1182215100 -Author: sjs -Tags: emacs, gentoo, linux, vim ----- - I started using my Gentoo box for development again and there are a few things about Linux I didn't realize I had been missing. ### Shell completion is awesome out of the box ### diff --git a/public/posts/2007.06.20-reinventing-the-wheel.md b/public/posts/2007.06.20-reinventing-the-wheel.md index 44a1247..d552caf 100644 --- a/public/posts/2007.06.20-reinventing-the-wheel.md +++ b/public/posts/2007.06.20-reinventing-the-wheel.md @@ -1,10 +1,3 @@ -Title: Reinventing the wheel -Date: June 20, 2007 -Timestamp: 1182356820 -Author: sjs -Tags: emacs, snippets ----- - Emacs is very impressive. I only felt lost and unproductive for minutes and now it seems natural to use and get around in. I've got ElSchemo set as the default scheme, and running inferior processes interactively is an absolute dream. My scheme doesn't have readline support (which bothers me to the point where I've thought about adding it just so I can use the thing) but when running it under Emacs there's absoutely no need for anything like that since I have the power of my editor when interacting with any program. There has been a considerable amount of work done to aide in Rails development which makes Emacs especially comfortable for me. I now know why people have Emacs windows maximized on their screens. Because of its age Emacs is a handy window manager that basically eliminates the need for anything like GNU screen or a window manager such as Rat poison (which is great if you like screen), just maximize that Emacs "frame" or open one for each display and get to it. If you need a shell you just split the window and run your shell, when you're done you can easily switch back to your editing and your shell will wait in the background until you need it again. With rails-mode on I can run script/console (or switch back to it) with C-c C-c s c. My zsh alias for script/console is sc and I have other similarly succint ones for other stuff, so I took right to the shortcuts for all the handy things that I no longer have to switch applications to do: diff --git a/public/posts/2007.06.22-embrace-the-database.md b/public/posts/2007.06.22-embrace-the-database.md index ea41339..20bcabb 100644 --- a/public/posts/2007.06.22-embrace-the-database.md +++ b/public/posts/2007.06.22-embrace-the-database.md @@ -1,10 +1,3 @@ -Title: Embrace the database -Date: June 22, 2007 -Timestamp: 1182507240 -Author: sjs -Tags: activerecord, rails, ruby ----- - If you drink the Rails koolaid you may have read the notorious single layer of cleverness post by DHH. [5th post on the archive page] In a nutshell he states that it's better to have a single point of cleverness when it comes to business logic. The reasons for this include staying agile, staying in Ruby all the time, and being able to switch the back-end DB at any time. Put the logic in ActiveRecord and use the DB as a dumb data store, that is the Rails way. It's simple. It works. You don't need to be a DBA to be a Rails developer. Stephen created a Rails plugin called dependent-raise which imitates a foreign key constraint inside of Rails. I want to try this out because I believe that data integrity is fairly important, but it's really starting to make me think about this single point of cleverness idea. diff --git a/public/posts/2007.06.23-emacs-for-textmate-junkies.md b/public/posts/2007.06.23-emacs-for-textmate-junkies.md index 697d34c..b2c93b0 100644 --- a/public/posts/2007.06.23-emacs-for-textmate-junkies.md +++ b/public/posts/2007.06.23-emacs-for-textmate-junkies.md @@ -1,10 +1,3 @@ -Title: Emacs for TextMate junkies -Date: June 23, 2007 -Timestamp: 1182565020 -Author: sjs -Tags: emacs, textmate ----- - *Update #1: What I first posted will take out your < key by mistake (it's available via `C-q <`), it has since been revised to Do The Right Thing.* *Update #2: Thanks to an anonymouse[sic] commenter this code is a little cleaner.* diff --git a/public/posts/2007.06.24-floating-point-in-elschemo.md b/public/posts/2007.06.24-floating-point-in-elschemo.md index 6b157e6..3b70456 100644 --- a/public/posts/2007.06.24-floating-point-in-elschemo.md +++ b/public/posts/2007.06.24-floating-point-in-elschemo.md @@ -1,10 +1,3 @@ -Title: Floating point in ElSchemo -Date: June 24, 2007 -Timestamp: 1182711180 -Author: sjs -Tags: elschemo, haskell, scheme ----- - ### Parsing floating point numbers ### The first task is extending the LispVal type to grok floats. diff --git a/public/posts/2007.06.25-emacs-tagify-region-or-insert-tag.md b/public/posts/2007.06.25-emacs-tagify-region-or-insert-tag.md index 36feb3d..7ca7151 100644 --- a/public/posts/2007.06.25-emacs-tagify-region-or-insert-tag.md +++ b/public/posts/2007.06.25-emacs-tagify-region-or-insert-tag.md @@ -1,10 +1,3 @@ -Title: Emacs: tagify-region-or-insert-tag -Date: June 25, 2007 -Timestamp: 1182809580 -Author: sjs -Tags: emacs, tagify ----- - After axing half of wrap-region.el I renamed it to tagify.el and improved it ever so slightly. It's leaner, and does more! tagify-region-or-insert-tag does the same thing as wrap-region-with-tag except if there is no region it now inserts the opening and closing tags and sets point in between them. I have this bound to C-z t, as I use C-z as my personal command prefix. diff --git a/public/posts/2007.06.25-propaganda-makes-me-sick.md b/public/posts/2007.06.25-propaganda-makes-me-sick.md index b0cea27..b8dbc2b 100644 --- a/public/posts/2007.06.25-propaganda-makes-me-sick.md +++ b/public/posts/2007.06.25-propaganda-makes-me-sick.md @@ -1,10 +1,3 @@ -Title: Propaganda makes me sick -Date: June 25, 2007 -Timestamp: 1182768900 -Author: sjs -Tags: propaganda ----- - Things like this in modern times are surprising. Can't people spot this phony crap for what it is? First they put away the dealers, keep our kids safe and off the streets
diff --git a/public/posts/2007.06.26-rtfm.md b/public/posts/2007.06.26-rtfm.md index 1aae5a0..c40b2e5 100644 --- a/public/posts/2007.06.26-rtfm.md +++ b/public/posts/2007.06.26-rtfm.md @@ -1,10 +1,3 @@ -Title: RTFM! -Date: June 26, 2007 -Timestamp: 1182806340 -Author: sjs -Tags: emacs, rtfm ----- - I should read the Emacs manual sometime, especially since I have it in dead-tree form. Check out skeleton pairs in the Emacs manual, or better yet C-h f skeleton-pair-insert-maybe. skeleton-pair has already been massaged to do what you most likely want if you set the correct options. Cool. I like Emacs more every day. This renders wrap-region useless, which is great! I like a trim .emacs and .emacs.d. diff --git a/public/posts/2007.06.28-recent-ruby-and-rails-regales.md b/public/posts/2007.06.28-recent-ruby-and-rails-regales.md index 41bbdd7..fea7c63 100644 --- a/public/posts/2007.06.28-recent-ruby-and-rails-regales.md +++ b/public/posts/2007.06.28-recent-ruby-and-rails-regales.md @@ -1,10 +1,3 @@ -Title: Recent Ruby and Rails Regales -Date: June 28, 2007 -Timestamp: 1183058580 -Author: sjs -Tags: rails, rails on rules, regular expressions, ruby, sake, secure associations, regex ----- - Some cool Ruby and [the former on] Rails things are springing up and I haven't written much about the two Rs lately, though I work with them daily. ### Rails on Rules ### diff --git a/public/posts/2007.06.30-controlling-volume-via-the-keyboard-on-linux.md b/public/posts/2007.06.30-controlling-volume-via-the-keyboard-on-linux.md index 708cb9b..dc061d4 100644 --- a/public/posts/2007.06.30-controlling-volume-via-the-keyboard-on-linux.md +++ b/public/posts/2007.06.30-controlling-volume-via-the-keyboard-on-linux.md @@ -1,10 +1,3 @@ -Title: Controlling volume via the keyboard on Linux -Date: June 30, 2007 -Timestamp: 1183245180 -Author: sjs -Tags: alsa, linux, ruby, volume ----- - I was using Amarok's global keyboard shortcuts to control the volume of my music via the keyboard but I wanted to control the system volume as well. A quick script later and now I can control both, and thanks to libnotify I get some feedback on what happened. It's not as pretty as OS X's volume control or Growl but it'll certainly do. ↓ Download volume.rb diff --git a/public/posts/2007.07.03-a-textmate-tip-for-emacs-users.md b/public/posts/2007.07.03-a-textmate-tip-for-emacs-users.md index 39d834a..04fd4a2 100644 --- a/public/posts/2007.07.03-a-textmate-tip-for-emacs-users.md +++ b/public/posts/2007.07.03-a-textmate-tip-for-emacs-users.md @@ -1,10 +1,3 @@ -Title: A TextMate tip for Emacs users -Date: July 3, 2007 -Timestamp: 1183481100 -Author: sjs -Tags: emacs, keyboard shortcuts, textmate ----- - *Update: The only place I've seen this mentioned is in a comment on the MacroMates blog.* My Linux box is down due to a hardware failure; a cheap SATA controller to be specific. Perhaps that will be a story for another day. As a result I've been working on my MacBook and back in TextMate. Old habits. And I haven't gotten comfortable in any of the OS X Emacsen yet. diff --git a/public/posts/2007.07.05-rushcheck-quickcheck-for-ruby.md b/public/posts/2007.07.05-rushcheck-quickcheck-for-ruby.md index b4530fa..92447d9 100644 --- a/public/posts/2007.07.05-rushcheck-quickcheck-for-ruby.md +++ b/public/posts/2007.07.05-rushcheck-quickcheck-for-ruby.md @@ -1,8 +1 @@ -Title: RushCheck: QuickCheck for Ruby -Date: July 5, 2007 -Timestamp: 1183665000 -Author: sjs -Tags: quickcheck, ruby, rushcheck ----- - I cannot wait to try out RushCheck. It is QuickCheck for Ruby. I don't have experience with QuickCheck or anything but it's clear to see how this helps you make certain your code is robust. diff --git a/public/posts/2007.07.06-see-your-regular-expressions-in-emacs.md b/public/posts/2007.07.06-see-your-regular-expressions-in-emacs.md index 2d3aeb6..f40b91c 100644 --- a/public/posts/2007.07.06-see-your-regular-expressions-in-emacs.md +++ b/public/posts/2007.07.06-see-your-regular-expressions-in-emacs.md @@ -1,10 +1,3 @@ -Title: See your regular expressions in Emacs -Date: July 6, 2007 -Timestamp: 1183740300 -Author: sjs -Tags: emacs, regex ----- - First, if you are an Emacs newbie then be sure to read (at least) the introduction of Being Productive with Emacs. For some reason the PDF and HTML versions are slightly similar. Anyway, it mentions re-builder which is an awesome little gem if you use regular expressions at all1. What this baby does is open a small window at the bottom of your screen in which you can type a regex. It is parsed as you type it and matches are highlighted in the other window. Genius. diff --git a/public/posts/2007.07.12-people.md b/public/posts/2007.07.12-people.md index a857dd6..70ec1aa 100644 --- a/public/posts/2007.07.12-people.md +++ b/public/posts/2007.07.12-people.md @@ -1,10 +1,3 @@ -Title: people -Date: July 12, 2007 -Timestamp: 1184243280 -Author: sjs -Tags: life, people ----- - Sometimes this is difficult to remember for someone who (likes to think that he) thinks somewhat logically. > When dealing with people, let us remember that we are not dealing with creatures of logic. We are dealing with creatures of emotion, creatures bristling with prejudices and motivated by pride and vanity. diff --git a/public/posts/2007.08.02-elschemo-boolean-logic-and-branching.md b/public/posts/2007.08.02-elschemo-boolean-logic-and-branching.md index 91de819..09c02a0 100644 --- a/public/posts/2007.08.02-elschemo-boolean-logic-and-branching.md +++ b/public/posts/2007.08.02-elschemo-boolean-logic-and-branching.md @@ -1,10 +1,3 @@ -Title: ElSchemo: Boolean logic and branching -Date: August 2, 2007 -Timestamp: 1186073940 -Author: sjs -Tags: elschemo, haskell, scheme ----- - I've been developing a Scheme interpreter in Haskell called ElSchemo. diff --git a/public/posts/2007.08.09-cheat-from-emacs.md b/public/posts/2007.08.09-cheat-from-emacs.md index 31c8718..1b3cc05 100644 --- a/public/posts/2007.08.09-cheat-from-emacs.md +++ b/public/posts/2007.08.09-cheat-from-emacs.md @@ -1,10 +1,3 @@ -Title: Cheat from Emacs -Date: August 9, 2007 -Timestamp: 1186710960 -Author: sjs -Tags: Emacs ----- - *Update: I had inadvertently used string-join, a function provided by something in my ~/.emacs.d. The script has been updated to work with a vanilla Emacs (23, but should work with 22 as well).* *Update #2 [2007.08.10]: Editing cheats and diffs have been implemented.* diff --git a/public/posts/2007.08.09-snap-crunchle-pop.md b/public/posts/2007.08.09-snap-crunchle-pop.md index 2265286..bf64310 100644 --- a/public/posts/2007.08.09-snap-crunchle-pop.md +++ b/public/posts/2007.08.09-snap-crunchle-pop.md @@ -1,10 +1,3 @@ -Title: Snap, crunchle, pop -Date: August 9, 2007 -Timestamp: 1186654620 -Author: sjs -Tags: humans, injury, life ----- - I think that every now and then we need to be reminded of the frail nature of our human bodies. Yesterday morning as I walked to my kitchen I was turning right by pivoting on my right foot when my 24 years of walking experience suddenly failed me. I clearly did something wrong, as I heard a crunching pop or two in my right ankle and went down. Luckily it's just a sprain but my foot is fairly bruised and still sore today. I'm trying to follow the RICE method for recuperating but one can only lay down for so long before having to eat, work, use the bathroom, etc. Thank goodness I don't work on my feet or I'd be out of commission. If it still hurts next week I'm going to see a doctor but till then I'm trying not to leave my house. The idea of hopping and hobbling to a bus to go to a doctor does not thrill me in the slightest. Oh, if you find yourself in a bind an upside down hockey stick is a decent makeshift crutch. You'll need 2 hands to operate the thing though. diff --git a/public/posts/2007.08.11-opera-is-pretty-slick.md b/public/posts/2007.08.11-opera-is-pretty-slick.md index 1dcba1d..50f5955 100644 --- a/public/posts/2007.08.11-opera-is-pretty-slick.md +++ b/public/posts/2007.08.11-opera-is-pretty-slick.md @@ -1,10 +1,3 @@ -Title: Opera is pretty slick -Date: August 11, 2007 -Timestamp: 1186834260 -Author: sjs -Tags: browsers, firefox, opera ----- - Though I usually prefer free software, I don't have any problems using proprietary stuff if I think it's good. I had Firefox open for a couple of days and noticed that it was using 700M of memory. That's not a problem at all since I have 4G but it's also a lot of RAM to be in use for just one window with one tab open. The fact that Firefox gets sluggish after some time and needs to be restarted tells me that this isn't expected behaviour and is likely not due to caching for quick back/forward or whatever they claim is taking up the leaked memory. Konqueror is ok but I'm not a huge fan of it, partly due to its kitchen-sink browser/file manager hybrid design. IMO the KDE folks should break out the file manager part, but I digress. I can't really put my finger on anything specific I dislike about Konqueror, it's just not for me. To my dismay it seems to be the snappiest browser on Linux. diff --git a/public/posts/2007.08.19-catch-compiler-errors-at-runtime.md b/public/posts/2007.08.19-catch-compiler-errors-at-runtime.md index a616732..e5676d3 100644 --- a/public/posts/2007.08.19-catch-compiler-errors-at-runtime.md +++ b/public/posts/2007.08.19-catch-compiler-errors-at-runtime.md @@ -1,10 +1,3 @@ -Title: Catch compiler errors at runtime -Date: August 19, 2007 -Timestamp: 1187561820 -Author: sjs -Tags: ruby ----- - While coding just now I had a small epiphany about Ruby. Though Ruby is highly dynamic and compiled at runtime, that doesn't preclude one catching some mistakes at compile time. I'm not talking about mere syntax errors or anything either. The only proviso to catching mistakes at compile time is that you must have a decent chunk of code executed during compilation. One benefit of Ruby's blurring of compile time and runtime is that you can run real code at compile time. This is largely how metaprogramming tricks are pulled off elegantly and with ease in projects such as Rails. Sure you won't get all the benefits of a strictly and/or statically typed compiler, but you can get some of them. If you have a library that makes substantial use of executing code at compile time then the mere act of loading your library causes your code to run, thus it compiles. If you require your lib and get true back then you know the code that bootstraps the runtime code is at least partially correct. diff --git a/public/posts/2007.08.21-cheat-productively-in-emacs.md b/public/posts/2007.08.21-cheat-productively-in-emacs.md index 4f03724..9dc7009 100644 --- a/public/posts/2007.08.21-cheat-productively-in-emacs.md +++ b/public/posts/2007.08.21-cheat-productively-in-emacs.md @@ -1,10 +1,3 @@ -Title: Cheat productively in Emacs -Date: August 21, 2007 -Timestamp: 1187720400 -Author: sjs -Tags: Emacs ----- - By now you may have heard about cheat, the command line cheat sheet collection that's completely open to editing, wiki style. A couple of weeks ago I posted cheat.el which allows one to cheat from within Emacs. There's an update. However, before I get to cheat.el there's a small detour. Cheat is not just about Ruby! A few examples of cheats available are: diff --git a/public/posts/2007.08.26-captivating-little-creatures.md b/public/posts/2007.08.26-captivating-little-creatures.md index ff823f4..a35cd6b 100644 --- a/public/posts/2007.08.26-captivating-little-creatures.md +++ b/public/posts/2007.08.26-captivating-little-creatures.md @@ -1,8 +1 @@ -Title: Captivating little creatures -Date: August 26, 2007 -Timestamp: 1188131700 -Author: sjs -Tags: games, lemmings ----- - Someone posted this JavaScript implementation of an old gem on Reddit, Lemmings! There goes my Sunday! :) diff --git a/public/posts/2007.08.30-5-ways-to-avoid-looking-like-a-jerk-on-the-internet.md b/public/posts/2007.08.30-5-ways-to-avoid-looking-like-a-jerk-on-the-internet.md index b0d5f97..6839786 100644 --- a/public/posts/2007.08.30-5-ways-to-avoid-looking-like-a-jerk-on-the-internet.md +++ b/public/posts/2007.08.30-5-ways-to-avoid-looking-like-a-jerk-on-the-internet.md @@ -1,10 +1,3 @@ -Title: 5 ways to avoid looking like a jerk on the Internet -Date: August 30, 2007 -Timestamp: 1188487500 -Author: sjs -Tags: life, netiquette ----- - Let me begin by stating that these are tips I have gathered by posting in many public forums on the Internet and I have learned most of these rules by making the mistakes myself. I'm not trying to point fingers at anyone or act all holier-than-thou. It's a cold, emotionless medium text is. It can be difficult to accurately convey one's feelings when typing a quick reply somewhere. John Gabriel's theory certainly plays a part as well, but I'll try and assume that you are generally a nice person. I also assume that we are talking about a text medium (IRC, forums, Slashdot/Reddit/Digg). None of that fancy voice or video conferencing stuff! Also, this is not a guide on how to really be an arrogant prick, but just not look like one when you engage in conversations on the Internet. It's also not a guide on not being a jerk. Should you lack basic manners you will have to learn them elsewhere. diff --git a/public/posts/2007.09.25-learning-lisp-read-pcl.md b/public/posts/2007.09.25-learning-lisp-read-pcl.md index 49d83f0..5236061 100644 --- a/public/posts/2007.09.25-learning-lisp-read-pcl.md +++ b/public/posts/2007.09.25-learning-lisp-read-pcl.md @@ -1,8 +1 @@ -Title: Learning Lisp? Read PCL -Date: September 25, 2007 -Timestamp: 1190714340 -Author: sjs -Tags: lisp ----- - Yes, it's a book. But it's so well written you should breeze through it as if it were a Lisp tutorial! diff --git a/public/posts/2007.09.26-python-and-ruby-brain-dump.md b/public/posts/2007.09.26-python-and-ruby-brain-dump.md index 17bf1d7..785ac41 100644 --- a/public/posts/2007.09.26-python-and-ruby-brain-dump.md +++ b/public/posts/2007.09.26-python-and-ruby-brain-dump.md @@ -1,10 +1,3 @@ -Title: Python and Ruby brain dump -Date: September 26, 2007 -Timestamp: 1190802840 -Author: sjs -Tags: python, ruby ----- - It turns out that Python is the language of choice on the OLPC, both for implementing applications and exposing to the users. There is a view source key available. I think Python is a great choice. I've been using Ruby almost exclusively for over a year but the last week I've been doing a personal project in Python using Storm (which is pretty nice btw) and urwid. I'm remembering why I liked Python when I first learned it a few years ago. It may not be as elegant as Ruby, conceptually, but it sure is fun to code in. It really is executable pseudo-code for the most part. diff --git a/public/posts/2007.10.29-gtkpod-in-gutsy-got-you-groaning.md b/public/posts/2007.10.29-gtkpod-in-gutsy-got-you-groaning.md index 64efa4e..c737c12 100644 --- a/public/posts/2007.10.29-gtkpod-in-gutsy-got-you-groaning.md +++ b/public/posts/2007.10.29-gtkpod-in-gutsy-got-you-groaning.md @@ -1,10 +1,3 @@ -Title: Gtkpod in Gutsy Got You Groaning? -Date: October 29, 2007 -Timestamp: 1193692440 -Author: sjs -Tags: broken, gtkpod, linux, ubuntu ----- - I recently upgraded the Ubuntu installation on my workstation from Feisty Fawn to Gutsy Gibbon and for the most part I am happy with the changes. One thing I don't care much for is the fact that gtkpod-aac is a sham. Ubuntu provides the gtkpod-aac package for one to transfer aac files, and thus mp4 files with aac audio tracks, to their iPod. The version in the Gutsy repos is broken. This shows a weakness in Ubuntu, and though it's rather small it is one that will piss off a lot of people who expect things to just work. The kind of people who would buy an iPod. The kind of people who use Linux. The kind of Linux users that use Ubuntu. The kicker is that it doesn't look like they will ship a working version of gtkpod-aac for Gutsy at all. I know it's only 6 months but that seems like an eternity when you have the same old crap to watch on your iPod for that long. All is not lost. A kind soul left a helpful comment on the bug report explaining how he got it to work. It's a pretty simple fix. Just google for libmpeg4ip and find a Debian repo that has the following packages for your architecture: diff --git a/public/posts/2008.01.07-random-pet-peeve-of-the-day.md b/public/posts/2008.01.07-random-pet-peeve-of-the-day.md index 5741055..b5959be 100644 --- a/public/posts/2008.01.07-random-pet-peeve-of-the-day.md +++ b/public/posts/2008.01.07-random-pet-peeve-of-the-day.md @@ -1,10 +1,3 @@ -Title: Random pet peeve of the day -Date: January 7, 2008 -Timestamp: 1199727720 -Author: sjs -Tags: usability, web ----- - So long since my last post, and all I'm going to do is complain. ;-) Seriously though, if you have a website and the content on said site is dated then please – for the love of our almighty saviour, the Flying Spaghetti Monsterput the date at the top of the page. Don't make me scroll down to the end of the article just to see how relevant it is or just to give me some context. Not to mention that I always end up doing a "Where is the end? Oh crap, I passed it and now I'm in the comments, blargh!" I'm looking at Lifehacker since they're the most recent offender I've come across, but they are definitely not the only ones guilty of this. diff --git a/public/posts/2008.02.19-thoughts-on-arc.md b/public/posts/2008.02.19-thoughts-on-arc.md index 7fcaf44..daf17c7 100644 --- a/public/posts/2008.02.19-thoughts-on-arc.md +++ b/public/posts/2008.02.19-thoughts-on-arc.md @@ -1,10 +1,3 @@ -Title: Thoughts on Arc -Date: February 19, 2008 -Timestamp: 1203420360 -Author: sjs -Tags: lisp arc ----- - *NB: This is just a braindump. There's nothing profound or particularly insightful in this post.* You may have heard that Paul Graham recently released his pet dialect of Lisp: Arc. It's a relatively small language consisting of just 4500 lines of code. In just under 1200 lines of PLT Scheme the core of Arc is defined. The rest of the language is written in Arc itself. The heart of that is a file arc.arc, weighing in at 1500 lines. The remaining 1000-1300 lines are spread between libraries, mainly for writing web apps: html.arc, srv.arc, app.arc, and a few others. diff --git a/public/posts/2008.03.03-project-euler-code-repo-in-arc.md b/public/posts/2008.03.03-project-euler-code-repo-in-arc.md index 4ff5b46..be72125 100644 --- a/public/posts/2008.03.03-project-euler-code-repo-in-arc.md +++ b/public/posts/2008.03.03-project-euler-code-repo-in-arc.md @@ -1,10 +1,3 @@ -Title: Project Euler code repo in Arc -Date: March 3, 2008 -Timestamp: 1204561440 -Author: sjs -Tags: arc, project euler ----- - Release early and often. This is a code repo web app for solutions to Project Euler problems. You can only see your own solutions so it's not that exciting yet (but it scratches my itch... once it highlights syntax). You can try it out or download the source. You'll need an up-to-date copy of Anarki to untar the source in. Just run arc.sh then enter this at the REPL: diff --git a/public/posts/2009.11.21-using-emacs-to-develop-mojo-apps-for-webos.md b/public/posts/2009.11.21-using-emacs-to-develop-mojo-apps-for-webos.md index dcdfc3f..be3eb34 100644 --- a/public/posts/2009.11.21-using-emacs-to-develop-mojo-apps-for-webos.md +++ b/public/posts/2009.11.21-using-emacs-to-develop-mojo-apps-for-webos.md @@ -1,10 +1,3 @@ -Title: Using Emacs to Develop Mojo Apps for WebOS -Date: November 21, 2009 -Timestamp: 1258790400 -Author: sjs -Tags: emacs, mojo, webos, lisp, javascript ----- - The latest technology I've been learning is Palm's SDK for webOS, Mojo. My first impression is that it's a great platform and Palm could do a great job of 2.0 if they cut down on some of the diff --git a/public/posts/2010.01.17-working-with-c-style-structs-in-ruby.md b/public/posts/2010.01.17-working-with-c-style-structs-in-ruby.md index a9bb0a2..e7531c3 100644 --- a/public/posts/2010.01.17-working-with-c-style-structs-in-ruby.md +++ b/public/posts/2010.01.17-working-with-c-style-structs-in-ruby.md @@ -1,10 +1,3 @@ -Title: Working with C-style structs in Ruby -Date: January 17, 2010 -Timestamp: 1263715200 -Author: sjs -Tags: ruby, cstruct, compiler ----- -

This is the beginning of a series on generating Mach-O object files in Ruby. We start small by introducing some Ruby tools that are useful when working with binary data. Subsequent articles will cover a subset of the diff --git a/public/posts/2010.01.18-basics-of-the-mach-o-file-format.md b/public/posts/2010.01.18-basics-of-the-mach-o-file-format.md index 52739d0..a5cd475 100644 --- a/public/posts/2010.01.18-basics-of-the-mach-o-file-format.md +++ b/public/posts/2010.01.18-basics-of-the-mach-o-file-format.md @@ -1,10 +1,3 @@ -Title: Basics of the Mach-O file format -Date: January 18, 2010 -Timestamp: 1263801600 -Author: sjs -Tags: mach-o, os x, compiler ----- -

This post is part of a series on generating basic x86 Mach-O files with Ruby. The diff --git a/public/posts/2010.01.20-a-preview-of-mach-o-file-generation.md b/public/posts/2010.01.20-a-preview-of-mach-o-file-generation.md index 8837db5..3c98046 100644 --- a/public/posts/2010.01.20-a-preview-of-mach-o-file-generation.md +++ b/public/posts/2010.01.20-a-preview-of-mach-o-file-generation.md @@ -1,10 +1,3 @@ -Title: A preview of Mach-O file generation -Date: January 20, 2010 -Timestamp: 1263974400 -Author: sjs -Tags: ruby, mach-o, os x, compiler ----- -

This month I got back into an x86 compiler I started last May. It lives on github.

diff --git a/public/posts/2010.11.04-37signals-chalk-dissected.md b/public/posts/2010.11.04-37signals-chalk-dissected.md index 735d2d0..a22de1c 100644 --- a/public/posts/2010.11.04-37signals-chalk-dissected.md +++ b/public/posts/2010.11.04-37signals-chalk-dissected.md @@ -1,10 +1,3 @@ -Title: 37signals' Chalk Dissected -Date: November 4, 2010 -Timestamp: 1288854000 -Author: sjs -Tags: 37signals, chalk, ipad, javascript, web, html, css, zepto.js ----- -

Update 2010-11-05: I dove into the JavaScript a little and explained most of it. Sam Stephenson tweeted that Chalk is written in CoffeeScript and compiled on the fly when served using Brochure. That's hot! (for those unaware Sam Stephenson works at 37signals, and is also the man behind Prototype.)

37signals recently released a blackboard web app for iPad called Chalk.

diff --git a/public/posts/2011.11.27-lights.md b/public/posts/2011.11.27-lights.md index 4d4db3c..1240902 100644 --- a/public/posts/2011.11.27-lights.md +++ b/public/posts/2011.11.27-lights.md @@ -1,6 +1 @@ -Title: Lights -Date: November 27, 2011 -Timestamp: 1322446260 -Link: http://lights.elliegoulding.com/ ----- An interactive WebGL visualization. Where's the LSD when you need it? diff --git a/public/posts/2011.11.27-recovering-old-posts.md b/public/posts/2011.11.27-recovering-old-posts.md index cbf736e..af9eae9 100644 --- a/public/posts/2011.11.27-recovering-old-posts.md +++ b/public/posts/2011.11.27-recovering-old-posts.md @@ -1,9 +1,2 @@ -Title: Recovering Old Blog Posts -Date: November 27, 2011 -Timestamp: 1322385300 -Author: sjs -Tags: recover, old, blog, posts ----- - I'm in the process of recovering some old blog posts from the [Wayback Machine](http://web.archive.org). Some of them might be culled, because nobody cares about my old blog posts except for me. diff --git a/public/posts/2011.12.10-static-url-shortener-using-htaccess.md b/public/posts/2011.12.10-static-url-shortener-using-htaccess.md index 4abb2c0..2de0af8 100644 --- a/public/posts/2011.12.10-static-url-shortener-using-htaccess.md +++ b/public/posts/2011.12.10-static-url-shortener-using-htaccess.md @@ -1,10 +1,3 @@ -Title: A Static URL Shortener Using .htaccess -Date: December 10, 2011 -Timestamp: 1323584949 -Author: sjs -Tags: s42.ca, url, shortener, samhuri.net, url shortener ----- - This blog is statically generated. A few Ruby and Node.js scripts along with a Makefile and some duct tape hold it all together. All of [samhuri.net is on Github][GH] if you want to take a look. Most of it is quite minimal, sometimes to a fault. Little improvements are made here and there and the most recent one is neat [.htaccess][htaccess-wiki] hack. I want to automatically announce new posts on Twitter so short URLs are in order. I try to strike a reasonable balance between writing everything for this site myself and using libraries. A quick look at a few short URL projects was enough to see they weren't what I was looking for. They were all database backed servers. Comments on this blog are served up dynamically but everything else is static and I try to avoid dynamic behaviour when possible. Comments are moving to a more static system sometime. Anyway I registered the domain [s42.ca][s42] and nabbed [an algorithm for creating the short codes from Jonathan Snook][snook] before diving into TextMate to implement my idea. diff --git a/public/posts/2011.12.11-pure-css3-images-hmm-maybe-later.md b/public/posts/2011.12.11-pure-css3-images-hmm-maybe-later.md index 92fd33f..a259048 100644 --- a/public/posts/2011.12.11-pure-css3-images-hmm-maybe-later.md +++ b/public/posts/2011.12.11-pure-css3-images-hmm-maybe-later.md @@ -1,9 +1,3 @@ -Title: Pure CSS3 images? Hmm, maybe later -Date: December 11, 2011 -Timestamp: 1323635103 -Link: http://calendar.perfplanet.com/2011/pure-css3-images-hmm-maybe-later/ ----- - Great analysis of the performance of CSS based images. Not directly mentioned, but very apparent, is that the task of making CSS images itself is prohibitively difficult. diff --git a/public/posts/2011.12.15-i-see-http.md b/public/posts/2011.12.15-i-see-http.md index 9df62e2..dc72547 100644 --- a/public/posts/2011.12.15-i-see-http.md +++ b/public/posts/2011.12.15-i-see-http.md @@ -1,8 +1,2 @@ -Title: I see HTTP -Date: December 15, 2011 -Timestamp: 1323964035 -Link: http://calendar.perfplanet.com/2011/i-see-http/ ----- - Icy is a public domain iOS app that lets you see everything a web page loads in great detail. This looks useful. diff --git a/public/posts/2011.12.19-my-kind-of-feature-checklist.md b/public/posts/2011.12.19-my-kind-of-feature-checklist.md index d90a3a1..c0a3c89 100644 --- a/public/posts/2011.12.19-my-kind-of-feature-checklist.md +++ b/public/posts/2011.12.19-my-kind-of-feature-checklist.md @@ -1,10 +1,3 @@ -Title: My kind of feature checklist -Date: December 19, 2011 -Timestamp: 1324354805 -Link: http://www.marco.org/2011/12/19/amazon-kindle-vs-ipad -Comments: off ----- - Marco's feature checklist in favour of the iPad illustrates how easy it is to rig these things. Combined with Amazon's checklist favouring the Kindle Fire this would be mildly useful, half as long as a modest review, and with diff --git a/public/posts/2011.12.22-new-release-of-firefox-for-android-optimized-for-tablets.md b/public/posts/2011.12.22-new-release-of-firefox-for-android-optimized-for-tablets.md index 1d879f9..658a542 100644 --- a/public/posts/2011.12.22-new-release-of-firefox-for-android-optimized-for-tablets.md +++ b/public/posts/2011.12.22-new-release-of-firefox-for-android-optimized-for-tablets.md @@ -1,10 +1,3 @@ -Title: New Release of Firefox for Android, Optimized for Tablets -Date: December 22, 2011 -Timestamp: 1324868051 -Link: http://daringfireball.net/linked/2011/12/22/firefox-android -Comments: off ----- - > On the other hand, watch this video. Even in Mozilla's own demo - which presumably puts Firefox for Android in its best light - doesn't the whole thing look a bit herky-jerky, in terms of touch responsiveness and scrolling smoothness? Surely they could do better on iOS though. I have faith in the Firefox diff --git a/public/posts/2011.12.25-the-broken-pixel-theory.md b/public/posts/2011.12.25-the-broken-pixel-theory.md index 0031bc6..7a943f5 100644 --- a/public/posts/2011.12.25-the-broken-pixel-theory.md +++ b/public/posts/2011.12.25-the-broken-pixel-theory.md @@ -1,10 +1,3 @@ -Title: The Broken Pixel Theory -Date: December 25, 2011 -Timestamp: 1324868060 -Link: http://jtaby.com/2011/12/25/the-broken-pixel-theory.html -Comments: off ----- - > For example, a clean desk tends to stay clean until a piece of paper stays on it for a couple of days. Similarly, I=92m much less likely to care about a 2-3 pixel UI bug when the whole UI is a mess. Great insight from Majd Taby. diff --git a/public/posts/2012.01.04-yak-shaving.md b/public/posts/2012.01.04-yak-shaving.md index 30c0846..ae5a655 100644 --- a/public/posts/2012.01.04-yak-shaving.md +++ b/public/posts/2012.01.04-yak-shaving.md @@ -1,8 +1 @@ -Title: Yak shaving -Date: January 4, 2012 -Timestamp: 1325712240 -Link: http://blog.hasmanythrough.com/2012/1/4/yak-shaving -Comments: off ----- - The best plain-english explanation of yak shaving I have seen. diff --git a/public/posts/2012.01.09-the-40-standup-desk.md b/public/posts/2012.01.09-the-40-standup-desk.md index 6124a7d..883245a 100644 --- a/public/posts/2012.01.09-the-40-standup-desk.md +++ b/public/posts/2012.01.09-the-40-standup-desk.md @@ -1,10 +1,3 @@ -Title: The $40 Standup Desk -Date: January 9, 2012 -Timestamp: 1326097000 -Link: http://opensoul.org/blog/archives/2012/01/09/the-40-standup-desk/ -Comments: off ----- - > Ultimately, I decided I might as well just do something cheap for now. So I built my own. I had thinking about doing it for a while when my coworker Steve Smith built his desk. After seeing his, I was convinced this was what I wanted to do. It turns out, the cheap option is pretty awesome. This looks great. Might have to consider it when or if I get a desk. diff --git a/public/posts/2012.01.17-recovering-from-a-computer-science-education.md b/public/posts/2012.01.17-recovering-from-a-computer-science-education.md index 5b183c5..54232e0 100644 --- a/public/posts/2012.01.17-recovering-from-a-computer-science-education.md +++ b/public/posts/2012.01.17-recovering-from-a-computer-science-education.md @@ -1,8 +1 @@ -Title: Recovering From a Computer Science Education -Date: January 17, 2012 -Timestamp: 1326787200 -Link: http://prog21.dadgum.com/123.html -Comments: off ----- - Something to keep in mind. diff --git a/public/posts/2012.01.17-sopa-lives-and-mpaa-calls-protests-an-abuse-of-power.md b/public/posts/2012.01.17-sopa-lives-and-mpaa-calls-protests-an-abuse-of-power.md index 0c67192..db7e988 100644 --- a/public/posts/2012.01.17-sopa-lives-and-mpaa-calls-protests-an-abuse-of-power.md +++ b/public/posts/2012.01.17-sopa-lives-and-mpaa-calls-protests-an-abuse-of-power.md @@ -1,10 +1,3 @@ -Title: SOPA lives - and MPAA calls protests an "abuse of power" -Date: January 17, 2012 -Timestamp: 1326797200 -Link: http://arstechnica.com/tech-policy/news/2012/01/sopa-livesand-mpaa-calls-protests-an-abuse-of-power.ars -Comments: off ----- - > rather than coming to the table to find solutions to a problem that all now seem to agree is very real and damaging. diff --git a/public/posts/2012.01.19-fujitsu-has-lost-their-mind.md b/public/posts/2012.01.19-fujitsu-has-lost-their-mind.md index 6819ac5..12466a9 100644 --- a/public/posts/2012.01.19-fujitsu-has-lost-their-mind.md +++ b/public/posts/2012.01.19-fujitsu-has-lost-their-mind.md @@ -1,10 +1,3 @@ -Title: Fujitsu has lost their mind -Date: January 19, 2012 -Timestamp: 1327032333 -Link: http://tablet-news.com/2012/01/17/fujitsu-lifebook-2013-concept-incorporates-a-tablet-for-a-keyboard-phone-and-digital-camera/ -Comments: off ----- - Does this even warrant any comments on why it's already a massive failure? The many, many drawbacks seem so apparent I cannot believe this escaped from their drawing board. diff --git a/public/posts/2013.03.06-zelda-tones-for-ios.md b/public/posts/2013.03.06-zelda-tones-for-ios.md index 0380440..fd7a769 100644 --- a/public/posts/2013.03.06-zelda-tones-for-ios.md +++ b/public/posts/2013.03.06-zelda-tones-for-ios.md @@ -1,10 +1,3 @@ -Title: Zelda Tones for iOS -Date: March 6, 2013 -Timestamp: 1362624673 -Author: sjs -Tags: zelda, nintendo, pacman, ringtones, tones, ios ----- -

Zelda

diff --git a/public/posts/2013.09.27-linky.md b/public/posts/2013.09.27-linky.md index e776b30..aba23ce 100644 --- a/public/posts/2013.09.27-linky.md +++ b/public/posts/2013.09.27-linky.md @@ -1,10 +1,3 @@ -Title: Linky -Date: September 27, 2013 -Timestamp: 1380343742 -Author: sjs -Tags: linky, north watcher, ruby, gmail, links, notifications ----- - ## Send links from mobile devices to your computers. The last few months I've been annoyed by my workflow for sending links from my touch devices to my computers. For example if I come across a cool Mac app or an open source project I want to check out, or anything along those lines. Until now I have been mailing links to my work or home addresses, or saving links in Instapaper. The problem with both of those is the same: I have to remember to check something when I arrive at the correct machine. It sounds trivial but I have been annoyed by it nonetheless. diff --git a/public/posts/2014.02.03-ember-structure.md b/public/posts/2014.02.03-ember-structure.md index 65511a3..ae9ed91 100644 --- a/public/posts/2014.02.03-ember-structure.md +++ b/public/posts/2014.02.03-ember-structure.md @@ -1,10 +1,3 @@ -Title: Structure of an Ember app -Date: February 3, 2014 -Timestamp: 1391479549 -Author: sjs -Tags: ember.js ----- - I made a diagram of an Ember app. There's [a discussion about it](http://discuss.emberjs.com/t/diagram-of-an-ember-apps-structure/4060) on the [Ember Discussion Forum](http://discuss.emberjs.com/). Here is the source file, created with OmniGraffle: [Ember structure.graffle](https://www.dropbox.com/s/onnmn1oq096hv5f/Ember%20structure.graffle)