mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
WIP: validation
This commit is contained in:
parent
cf3dc9afb6
commit
c249617315
130 changed files with 454 additions and 395 deletions
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: First Post!
|
||||
Title: "First Post!"
|
||||
Author: Sami Samhuri
|
||||
Date: 8th February, 2006
|
||||
Date: "8th February, 2006"
|
||||
Timestamp: 2006-02-07T19:21:00-08:00
|
||||
Tags: life
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Girlfriend X
|
||||
Title: "Girlfriend X"
|
||||
Author: Sami Samhuri
|
||||
Date: 18th February, 2006
|
||||
Date: "18th February, 2006"
|
||||
Timestamp: 2006-02-18T11:50:00-08:00
|
||||
Tags: crazy, funny
|
||||
Tags: [crazy, funny]
|
||||
---
|
||||
|
||||
This is hilarious! Someone wrote software that manages a "parallel" dating style.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Intelligent Migration Snippets 0.1 for TextMate
|
||||
Title: "Intelligent Migration Snippets 0.1 for TextMate"
|
||||
Author: Sami Samhuri
|
||||
Date: 22nd February, 2006
|
||||
Date: "22nd February, 2006"
|
||||
Timestamp: 2006-02-22T03:28:00-08:00
|
||||
Tags: mac os x, textmate, rails, hacking, migrations, snippets
|
||||
Tags: [mac os x, textmate, rails, hacking, migrations, snippets]
|
||||
---
|
||||
|
||||
*This should be working now. I've tested it under a new user account here.*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Jump to view/controller in TextMate
|
||||
Title: "Jump to view/controller in TextMate"
|
||||
Author: Sami Samhuri
|
||||
Date: 18th February, 2006
|
||||
Date: "18th February, 2006"
|
||||
Timestamp: 2006-02-18T14:51:00-08:00
|
||||
Tags: hacking, rails, textmate, rails, textmate
|
||||
Tags: [hacking, rails, textmate, rails, textmate]
|
||||
---
|
||||
|
||||
<a href="http://blog.inquirylabs.com/2006/02/17/controller-to-view-and-back-again-in-textmate/trackback/">Duane</a> 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!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Obligatory Post about Ruby on Rails
|
||||
Title: "Obligatory Post about Ruby on Rails"
|
||||
Author: Sami Samhuri
|
||||
Date: 20th February, 2006
|
||||
Date: "20th February, 2006"
|
||||
Timestamp: 2006-02-20T00:31:00-08:00
|
||||
Tags: rails, coding, hacking, migration, rails, testing
|
||||
Tags: [rails, coding, hacking, migration, rails, testing]
|
||||
Styles: typocode.css
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: SJ's Rails Bundle 0.2 for TextMate
|
||||
Title: "SJ's Rails Bundle 0.2 for TextMate"
|
||||
Author: Sami Samhuri
|
||||
Date: 23rd February, 2006
|
||||
Date: "23rd February, 2006"
|
||||
Timestamp: 2006-02-23T17:18:00-08:00
|
||||
Tags: textmate, rails, coding, bundle, macros, rails, snippets, textmate
|
||||
Tags: [textmate, rails, coding, bundle, macros, rails, snippets, textmate]
|
||||
Styles: typocode.css
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Some TextMate snippets for Rails Migrations
|
||||
Title: "Some TextMate snippets for Rails Migrations"
|
||||
Author: Sami Samhuri
|
||||
Date: 18th February, 2006
|
||||
Date: "18th February, 2006"
|
||||
Timestamp: 2006-02-18T22:48:00-08:00
|
||||
Tags: textmate, rails, hacking, rails, snippets, textmate
|
||||
Tags: [textmate, rails, hacking, rails, snippets, textmate]
|
||||
---
|
||||
|
||||
My arsenal of snippets and macros in TextMate is building as I read through the rails canon, <a href="http://www.pragmaticprogrammer.com/titles/rails/" title="Agile Web Development With Rails">Agile Web Development...</a> 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 <a href="http://wiki.rubyonrails.org/rails/pages/TextMate">rails wiki</a>. The main ones so far are for migrations.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: TextMate: Insert text into self.down
|
||||
Title: "TextMate: Insert text into self.down"
|
||||
Author: Sami Samhuri
|
||||
Date: 21st February, 2006
|
||||
Date: "21st February, 2006"
|
||||
Timestamp: 2006-02-21T14:55:00-08:00
|
||||
Tags: textmate, rails, hacking, commands, macro, rails, snippets, textmate
|
||||
Tags: [textmate, rails, hacking, commands, macro, rails, snippets, textmate]
|
||||
Styles: typocode.css
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: TextMate: Move selection to self.down
|
||||
Title: "TextMate: Move selection to self.down"
|
||||
Author: Sami Samhuri
|
||||
Date: 21st February, 2006
|
||||
Date: "21st February, 2006"
|
||||
Timestamp: 2006-02-21T00:26:00-08:00
|
||||
Tags: textmate, rails, hacking, hack, macro, rails, textmate
|
||||
Tags: [textmate, rails, hacking, hack, macro, rails, textmate]
|
||||
Styles: typocode.css
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: TextMate Snippets for Rails Assertions
|
||||
Title: "TextMate Snippets for Rails Assertions"
|
||||
Author: Sami Samhuri
|
||||
Date: 20th February, 2006
|
||||
Date: "20th February, 2006"
|
||||
Timestamp: 2006-02-20T23:52:00-08:00
|
||||
Tags: textmate, rails, coding, rails, snippets, testing, textmate
|
||||
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.)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Touch Screen on Steroids
|
||||
Title: "Touch Screen on Steroids"
|
||||
Author: Sami Samhuri
|
||||
Date: 8th February, 2006
|
||||
Date: "8th February, 2006"
|
||||
Timestamp: 2006-02-08T06:06:00-08:00
|
||||
Tags: technology, touch
|
||||
Tags: [technology, touch]
|
||||
---
|
||||
|
||||
If you thought the PowerBook's two-finger scrolling was cool check out this touch screen:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Urban Extreme Gymnastics?
|
||||
Title: "Urban Extreme Gymnastics?"
|
||||
Author: Sami Samhuri
|
||||
Date: 15th February, 2006
|
||||
Date: "15th February, 2006"
|
||||
Timestamp: 2006-02-15T10:41:00-08:00
|
||||
Tags: amusement
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Generate self.down in your Rails migrations
|
||||
Title: "Generate self.down in your Rails migrations"
|
||||
Author: Sami Samhuri
|
||||
Date: 3rd March, 2006
|
||||
Date: "3rd March, 2006"
|
||||
Timestamp: 2006-03-03T21:38:00-08:00
|
||||
Tags: rails, textmate, migrations, rails, textmate
|
||||
Tags: [rails, textmate, migrations, rails, textmate]
|
||||
---
|
||||
|
||||
<a href="http://lunchboxsoftware.com/">Scott</a> wrote a really <a href="http://lunchroom.lunchboxsoftware.com/articles/2005/11/29/auto-fill-your-reverse-migrations">cool program</a> that will scan `self.up` and then consult db/schema.rb to automatically fill in `self.down` for you. Brilliant!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: I don't mind FairPlay either
|
||||
Title: "I don't mind FairPlay either"
|
||||
Author: Sami Samhuri
|
||||
Date: 3rd March, 2006
|
||||
Date: "3rd March, 2006"
|
||||
Timestamp: 2006-03-03T21:56:00-08:00
|
||||
Tags: apple, mac os x, life, drm, fairplay, ipod, itunes
|
||||
Tags: [apple, mac os x, life, drm, fairplay, ipod, itunes]
|
||||
---
|
||||
|
||||
I think that <a href="http://jim.roepcke.com/2006/03/02#item7471">Jim is right</a> about Apple's DRM not being all that evil.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Spore
|
||||
Title: "Spore"
|
||||
Author: Sami Samhuri
|
||||
Date: 3rd March, 2006
|
||||
Date: "3rd March, 2006"
|
||||
Timestamp: 2006-03-03T21:43:00-08:00
|
||||
Tags: amusement, technology, cool, fun, games
|
||||
Tags: [amusement, technology, cool, fun, games]
|
||||
---
|
||||
|
||||
<a href="http://video.google.com/videoplay?docid=8372603330420559198&q=spore">This game</a> that <a href="http://jim.roepcke.com/">Jim</a> <a href="http://jim.roepcke.com/2006/03/01#item7470">blogged about</a> is probably the coolest game I've seen.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: zsh terminal goodness on OS X
|
||||
Title: "zsh terminal goodness on OS X"
|
||||
Author: Sami Samhuri
|
||||
Date: 4th April, 2006
|
||||
Date: "4th April, 2006"
|
||||
Timestamp: 2006-04-04T14:57:00-07:00
|
||||
Tags: mac os x, apple, osx, terminal, zsh
|
||||
Tags: [mac os x, apple, osx, terminal, zsh]
|
||||
---
|
||||
|
||||
<a href="http://www.apple.com/">Apple</a> released the <a href="http://docs.info.apple.com/article.html?artnum=303411">OS X 10.4.6 update</a> which fixed a <strong>really</strong> annoying bug for me. Terminal (and <a href="http://iterm.sourceforge.net/">iTerm</a>) would fail to open a new window/tab when your shell is <a href="http://zsh.sourceforge.net/">zsh</a>. iTerm would just open then immediately close the window, while Terminal would display the message: <code>[Command completed]</code> in a now-useless window.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: OS X and Fitt's law
|
||||
Title: "OS X and Fitt's law"
|
||||
Author: Sami Samhuri
|
||||
Date: 7th May, 2006
|
||||
Date: "7th May, 2006"
|
||||
Timestamp: 2006-05-07T20:43:00-07:00
|
||||
Tags: mac os x, apple, mac, os, usability, x
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: WikipediaFS on Linux, in Python
|
||||
Title: "WikipediaFS on Linux, in Python"
|
||||
Author: Sami Samhuri
|
||||
Date: 7th May, 2006
|
||||
Date: "7th May, 2006"
|
||||
Timestamp: 2006-05-07T20:49:00-07:00
|
||||
Tags: hacking, python, linux, fuse, linux, mediawiki, python, wikipediafs
|
||||
Tags: [hacking, python, linux, fuse, linux, mediawiki, python, wikipediafs]
|
||||
---
|
||||
|
||||
Until now I've been using my own version of <a href="http://meta.wikimedia.org/wiki/Pywikipedia">pywikipedia</a> for scripting MediaWiki, and it works well. But I read about <a href="http://wikipediafs.sourceforge.net/">WikipediaFS</a> and had to check it out. It's a user space filesystem for Linux that's built using the <a href="http://fuse.sourceforge.net/wiki/index.php/LanguageBindings">Python bindings</a> for <a href="http://fuse.sourceforge.net/">FUSE</a>. 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Apple pays attention to detail
|
||||
Title: "Apple pays attention to detail"
|
||||
Author: Sami Samhuri
|
||||
Date: 11th June, 2006
|
||||
Date: "11th June, 2006"
|
||||
Timestamp: 2006-06-11T01:30:00-07:00
|
||||
Tags: technology, mac os x, apple
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Ich bin Ausländer und spreche nicht gut Deutsch
|
||||
Title: "Ich bin Ausländer und spreche nicht gut Deutsch"
|
||||
Author: Sami Samhuri
|
||||
Date: 5th June, 2006
|
||||
Date: "5th June, 2006"
|
||||
Timestamp: 2006-06-05T10:11:00-07:00
|
||||
Tags: life, munich, seekport, work
|
||||
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 <a href="http://www.seekport.co.uk/">Seekport</a>. 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 <a href="http://widgets.yahoo.com/">Yahoo! Widget Engine</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Never buy a German keyboard!
|
||||
Title: "Never buy a German keyboard!"
|
||||
Author: Sami Samhuri
|
||||
Date: 9th June, 2006
|
||||
Date: "9th June, 2006"
|
||||
Timestamp: 2006-06-09T01:17:00-07:00
|
||||
Tags: apple, apple, german, keyboard
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: There's nothing regular about regular expressions
|
||||
Title: "There's nothing regular about regular expressions"
|
||||
Author: Sami Samhuri
|
||||
Date: 10th June, 2006
|
||||
Date: "10th June, 2006"
|
||||
Timestamp: 2006-06-10T01:28:00-07:00
|
||||
Tags: technology, book, regex
|
||||
Tags: [technology, book, regex]
|
||||
---
|
||||
|
||||
I'm almost half way reading Jeffrey Friedl's book <a href="http://www.oreilly.com/catalog/regex2/">Mastering Regular Expressions</a> 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 <a href="http://www.yahoo.com/">Yahoo!</a>.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Class method? Instance method? It doesn't matter to PHP
|
||||
Title: "Class method? Instance method? It doesn't matter to PHP"
|
||||
Author: Sami Samhuri
|
||||
Date: 21st July, 2006
|
||||
Date: "21st July, 2006"
|
||||
Timestamp: 2006-07-21T07:56:00-07:00
|
||||
Tags: php, coding
|
||||
Tags: [php, coding]
|
||||
---
|
||||
|
||||
*Update: This has <a href="http://www.php.net/~derick/meeting-notes.html#method-calls">been discussed</a> for PHP6. A little late, but I guess better than never.*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Late static binding
|
||||
Title: "Late static binding"
|
||||
Author: Sami Samhuri
|
||||
Date: 19th July, 2006
|
||||
Date: "19th July, 2006"
|
||||
Timestamp: 2006-07-19T10:23:00-07:00
|
||||
Tags: php, coding, coding, php
|
||||
Tags: [php, coding, coding, php]
|
||||
---
|
||||
|
||||
*Update: This has <a href="http://www.php.net/~derick/meeting-notes.html#late-static-binding-using-this-without-or-perhaps-with-a-different-name">been discussed</a> 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.*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Ruby and Rails have spoiled me rotten
|
||||
Title: "Ruby and Rails have spoiled me rotten"
|
||||
Author: Sami Samhuri
|
||||
Date: 17th July, 2006
|
||||
Date: "17th July, 2006"
|
||||
Timestamp: 2006-07-17T05:40:00-07:00
|
||||
Tags: rails, ruby, php, coding, framework, php, rails, ruby, zend
|
||||
Tags: [rails, ruby, php, coding, framework, php, rails, ruby, zend]
|
||||
---
|
||||
|
||||
It's true. I'm sitting here coding in PHP using the <a href="http://framework.zend.com/">Zend Framework</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Ubuntu: Linux for Linux users please
|
||||
Title: "Ubuntu: Linux for Linux users please"
|
||||
Author: Sami Samhuri
|
||||
Date: 13th July, 2006
|
||||
Date: "13th July, 2006"
|
||||
Timestamp: 2006-07-13T08:34:00-07:00
|
||||
Tags: linux, linux, ubuntu
|
||||
Tags: [linux, linux, ubuntu]
|
||||
---
|
||||
|
||||
<a href="http://www.ubuntu.com/">Ubuntu</a> is a fine Linux distro, which is why it's popular. I still use <a href="http://www.gentoo.org/">Gentoo</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Working with the Zend Framework
|
||||
Title: "Working with the Zend Framework"
|
||||
Author: Sami Samhuri
|
||||
Date: 6th July, 2006
|
||||
Date: "6th July, 2006"
|
||||
Timestamp: 2006-07-06T07:36:00-07:00
|
||||
Tags: coding, technology, php, framework, php, seekport, zend
|
||||
Tags: [coding, technology, php, framework, php, seekport, zend]
|
||||
---
|
||||
|
||||
At [Seekport](http://translate.google.ca/translate?hl=en&sl=de&u=http://de.wikipedia.org/wiki/Seekport&prev=/search%3Fq%3Dseekport%26client%3Dsafari%26rls%3Den) I'm currently working on an app to handle
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Where are my headphones?
|
||||
Title: "Where are my headphones?"
|
||||
Author: Sami Samhuri
|
||||
Date: 22nd August, 2006
|
||||
Date: "22nd August, 2006"
|
||||
Timestamp: 2006-08-22T07:31:00-07:00
|
||||
Tags: life, seekport
|
||||
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 until Friday without yelling "AGH! STOP THE MADNESS YOU CRAZY BASTARD YOU JUST HAVE TO TOUCH THE KEYS!"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
|
||||
Title: "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"
|
||||
Author: Sami Samhuri
|
||||
Date: 16th September, 2006
|
||||
Date: "16th September, 2006"
|
||||
Timestamp: 2006-09-16T22:11:00-07:00
|
||||
Tags: amusement, buffalo
|
||||
Tags: [amusement, buffalo]
|
||||
Link: http://en.wikipedia.org/wiki/Buffalo_buffalo_buffalo_buffalo_buffalo_buffalo_buffalo_buffalo
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Some features you might have missed in iTunes 7
|
||||
Title: "Some features you might have missed in iTunes 7"
|
||||
Author: Sami Samhuri
|
||||
Date: 22nd September, 2006
|
||||
Date: "22nd September, 2006"
|
||||
Timestamp: 2006-09-22T16:59:00-07:00
|
||||
Tags: apple, apple, itunes
|
||||
Tags: [apple, apple, itunes]
|
||||
---
|
||||
|
||||
Besides the <a href="http://www.tuaw.com/2006/09/12/walkthrough-itunes-7s-big-new-features/">big changes</a> in <a href="http://www.apple.com/itunes">iTunes 7</a> there have been some minor changes that are still pretty useful.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Coping with Windows XP activiation on a Mac
|
||||
Title: "Coping with Windows XP activiation on a Mac"
|
||||
Author: Sami Samhuri
|
||||
Date: 17th December, 2006
|
||||
Date: "17th December, 2006"
|
||||
Timestamp: 2006-12-17T23:30:00-08:00
|
||||
Tags: parallels, windows, apple, mac os x, bootcamp
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Digg v4: Reply to replies (Greasemonkey script)
|
||||
Title: "Digg v4: Reply to replies (Greasemonkey script)"
|
||||
Author: Sami Samhuri
|
||||
Date: 8th March, 2007
|
||||
Date: "8th March, 2007"
|
||||
Timestamp: 2007-03-08T23:19:00-08:00
|
||||
Tags: coding, digg, firefox, userscript
|
||||
Tags: [coding, digg, firefox, userscript]
|
||||
---
|
||||
|
||||
It's nearly identical to <a href="http://userscripts.org/scripts/show/4664">the previous one</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Diggscuss 0.9
|
||||
Title: "Diggscuss 0.9"
|
||||
Author: Sami Samhuri
|
||||
Date: 25th March, 2007
|
||||
Date: "25th March, 2007"
|
||||
Timestamp: 2007-03-25T08:03:00-07:00
|
||||
Tags: coding, digg, firefox, userscript
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Full-screen Cover Flow
|
||||
Title: "Full-screen Cover Flow"
|
||||
Author: Sami Samhuri
|
||||
Date: 6th March, 2007
|
||||
Date: "6th March, 2007"
|
||||
Timestamp: 2007-03-06T13:51:00-08:00
|
||||
Tags: apple, coverflow, itunes
|
||||
Tags: [apple, coverflow, itunes]
|
||||
---
|
||||
|
||||
<a href="http://www.apple.com/itunes/jukebox/coverflow.html">Cover Flow</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: A triple-booting, schizophrenic MacBook
|
||||
Title: "A triple-booting, schizophrenic MacBook"
|
||||
Author: Sami Samhuri
|
||||
Date: 4th April, 2007
|
||||
Date: "4th April, 2007"
|
||||
Timestamp: 2007-04-04T23:30:00-07:00
|
||||
Tags: linux, mac os x, windows
|
||||
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:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: ActiveRecord::Base.find_or_create and find_or_initialize
|
||||
Title: "ActiveRecord::Base.find_or_create and find_or_initialize"
|
||||
Author: Sami Samhuri
|
||||
Date: 11th April, 2007
|
||||
Date: "11th April, 2007"
|
||||
Timestamp: 2007-04-11T03:24:00-07:00
|
||||
Tags: activerecord, coding, rails, ruby
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Funny how code can be beautiful
|
||||
Title: "Funny how code can be beautiful"
|
||||
Author: Sami Samhuri
|
||||
Date: 30th April, 2007
|
||||
Date: "30th April, 2007"
|
||||
Timestamp: 2007-04-30T07:07:00-07:00
|
||||
Tags: haskell
|
||||
Tags: [haskell]
|
||||
---
|
||||
|
||||
While reading a <a href="http://www.haskell.org/tutorial/index.html">Haskell tutorial</a> I came across the following code for defining the <a href="http://en.wikipedia.org/wiki/Fibonacci_number">Fibonacci numbers</a>:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Getting to know Vista
|
||||
Title: "Getting to know Vista"
|
||||
Author: Sami Samhuri
|
||||
Date: 16th April, 2007
|
||||
Date: "16th April, 2007"
|
||||
Timestamp: 2007-04-16T11:09:00-07:00
|
||||
Tags: windows
|
||||
Tags: [windows]
|
||||
---
|
||||
|
||||
### It looks pretty good! ###
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Quickly inserting millions of rows with MySQL/InnoDB
|
||||
Title: "Quickly inserting millions of rows with MySQL/InnoDB"
|
||||
Author: Sami Samhuri
|
||||
Date: 26th April, 2007
|
||||
Date: "26th April, 2007"
|
||||
Timestamp: 2007-04-26T07:06:00-07:00
|
||||
Tags: linux, mysql
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: A New Way to Look at Networking
|
||||
Title: "A New Way to Look at Networking"
|
||||
Author: Sami Samhuri
|
||||
Date: 5th May, 2007
|
||||
Date: "5th May, 2007"
|
||||
Timestamp: 2007-05-05T16:10:00-07:00
|
||||
Tags: technology, networking
|
||||
Tags: [technology, networking]
|
||||
---
|
||||
|
||||
<a href="http://en.wikipedia.org/wiki/Van_Jacobson">Van Jacobson</a> gave a <a href="https://www.youtube.com/watch?v=gqGEMQveoqg">Google Tech Talk</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: A Scheme parser in Haskell: Part 1
|
||||
Title: "A Scheme parser in Haskell: Part 1"
|
||||
Author: Sami Samhuri
|
||||
Date: 3rd May, 2007
|
||||
Date: "3rd May, 2007"
|
||||
Timestamp: 2007-05-03T00:47:50-07:00
|
||||
Tags: coding, haskell
|
||||
Tags: [coding, haskell]
|
||||
---
|
||||
|
||||
From <a href="http://halogen.note.amherst.edu/~jdtang/scheme_in_48/tutorial/firststeps.html">Write Yourself a Scheme in 48 hours</a>:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Cheating at Life in General
|
||||
Title: "Cheating at Life in General"
|
||||
Author: Sami Samhuri
|
||||
Date: 16th May, 2007
|
||||
Date: "16th May, 2007"
|
||||
Timestamp: 2007-05-16T02:46:00-07:00
|
||||
Tags: cheat, vim, emacs, textmate
|
||||
Tags: [cheat, vim, emacs, textmate]
|
||||
---
|
||||
|
||||
*NB: My definition of life is slightly skewed by my being somewhat of a geek*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: dtrace + Ruby = Goodness for Sun
|
||||
Title: "dtrace + Ruby = Goodness for Sun"
|
||||
Author: Sami Samhuri
|
||||
Date: 9th May, 2007
|
||||
Date: "9th May, 2007"
|
||||
Timestamp: 2007-05-09T08:45:00-07:00
|
||||
Tags: ruby, dtrace, sun
|
||||
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.)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Dumping Objects to the Browser in Rails
|
||||
Title: "Dumping Objects to the Browser in Rails"
|
||||
Author: Sami Samhuri
|
||||
Date: 15th May, 2007
|
||||
Date: "15th May, 2007"
|
||||
Timestamp: 2007-05-15T13:38:00-07:00
|
||||
Tags: rails
|
||||
Tags: [rails]
|
||||
Styles: typocode.css
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Enumurable#pluck and String#to_proc for Ruby
|
||||
Title: "Enumurable#pluck and String#to_proc for Ruby"
|
||||
Author: Sami Samhuri
|
||||
Date: 10th May, 2007
|
||||
Date: "10th May, 2007"
|
||||
Timestamp: 2007-05-10T16:14:00-07:00
|
||||
Tags: ruby, extensions
|
||||
Tags: [ruby, extensions]
|
||||
Styles: typocode.css
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Finnish court rules CSS ineffective at protecting DVDs
|
||||
Title: "Finnish court rules CSS ineffective at protecting DVDs"
|
||||
Author: Sami Samhuri
|
||||
Date: 26th May, 2007
|
||||
Date: "26th May, 2007"
|
||||
Timestamp: 2007-05-26T03:24:00-07:00
|
||||
Tags: drm
|
||||
Tags: [drm]
|
||||
---
|
||||
|
||||
It's nice to see people making sane calls on issues like this. <a href="http://arstechnica.com/index.ars">Ars</a> has a nice <a href="http://arstechnica.com/news.ars/post/20070525-finland-court-breaking-ineffective-copy-protection-is-permissible.html">summary</a> and there's also a <a href="http://www.turre.com/blog/?p=102">press release</a>.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Gotta Love the Ferry Ride
|
||||
Title: "Gotta Love the Ferry Ride"
|
||||
Author: Sami Samhuri
|
||||
Date: 5th May, 2007
|
||||
Date: "5th May, 2007"
|
||||
Timestamp: 2007-05-05T04:25:00-07:00
|
||||
Tags: life, photo, bc, victoria
|
||||
Tags: [life, photo, bc, victoria]
|
||||
---
|
||||
|
||||
I lived in <a href="http://en.wikipedia.org/wiki/Victoria%2C_British_Columbia">Victoria</a> for over a year before I ever rode the <a href="http://www.bcferries.com/">ferry</a> between <a href="http://en.wikipedia.org/wiki/Vancouver_Island">Vancouver Island</a> and <a href="http://en.wikipedia.org/wiki/Tsawwassen">Tsawwassen</a> (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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: I Can't Wait to See What Trey Parker & Matt Stone Do With This
|
||||
Title: "I Can't Wait to See What Trey Parker & Matt Stone Do With This"
|
||||
Author: Sami Samhuri
|
||||
Date: 9th May, 2007
|
||||
Date: "9th May, 2007"
|
||||
Timestamp: 2007-05-09T14:34:00-07:00
|
||||
Tags: crazy
|
||||
Tags: [crazy]
|
||||
---
|
||||
|
||||
I'd just like to say, <a href="http://news.com.com/8301-10784_3-9717828-7.html">bwa ha ha ha!</a>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Inspirado
|
||||
Title: "Inspirado"
|
||||
Author: Sami Samhuri
|
||||
Date: 22nd May, 2007
|
||||
Date: "22nd May, 2007"
|
||||
Timestamp: 2007-05-22T13:23:00-07:00
|
||||
Tags: rails, inspirado
|
||||
Tags: [rails, inspirado]
|
||||
---
|
||||
|
||||
<a href="http://spyderous.livejournal.com/">spyderous</a> is a Gentoo dev and I read his posts via the <a href="http://planet.gentoo.org/">Gentoo planet</a> (and again on the <a href="http://planet.freedesktop.org/">freedesktop.org planet</a>).
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: iPhone Humour
|
||||
Title: "iPhone Humour"
|
||||
Author: Sami Samhuri
|
||||
Date: 18th May, 2007
|
||||
Date: "18th May, 2007"
|
||||
Timestamp: 2007-05-18T11:34:00-07:00
|
||||
Tags: apple, funny, iphone
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Rails Plugins (link dump)
|
||||
Title: "Rails Plugins (link dump)"
|
||||
Author: Sami Samhuri
|
||||
Date: 10th May, 2007
|
||||
Date: "10th May, 2007"
|
||||
Timestamp: 2007-05-09T17:22:00-07:00
|
||||
Tags: rails
|
||||
Tags: [rails]
|
||||
---
|
||||
|
||||
Some Rails plugins I find useful:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Typo and I are friends again
|
||||
Title: "Typo and I are friends again"
|
||||
Author: Sami Samhuri
|
||||
Date: 1st May, 2007
|
||||
Date: "1st May, 2007"
|
||||
Timestamp: 2007-05-01T21:51:37-07:00
|
||||
Tags: typo
|
||||
Tags: [typo]
|
||||
---
|
||||
|
||||
<p>I've been really frustrated with <a href="http://www.typosphere.org/">Typo</a> recently. For some reason changing my <a href="/posts/2007/04/funny-how-code-can-be-beautiful">last post</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: 301 moved permanently
|
||||
Title: "301 moved permanently"
|
||||
Author: Sami Samhuri
|
||||
Date: 8th June, 2007
|
||||
Date: "8th June, 2007"
|
||||
Timestamp: 2007-06-08T18:00:00-07:00
|
||||
Tags: life
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Back on Gentoo, trying new things
|
||||
Title: "Back on Gentoo, trying new things"
|
||||
Author: Sami Samhuri
|
||||
Date: 18th June, 2007
|
||||
Date: "18th June, 2007"
|
||||
Timestamp: 2007-06-18T18:05:00-07:00
|
||||
Tags: emacs, gentoo, linux, vim
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Begging the question
|
||||
Title: "Begging the question"
|
||||
Author: Sami Samhuri
|
||||
Date: 15th June, 2007
|
||||
Date: "15th June, 2007"
|
||||
Timestamp: 2007-06-15T11:49:00-07:00
|
||||
Tags: english, life, pedantry
|
||||
Tags: [english, life, pedantry]
|
||||
---
|
||||
|
||||
I'm currently reading <a href="http://mitpress.mit.edu/sicp/full-text/book/book.html">SICP</a> since it's highly recommended by many people, available for free, and interesting. The fact that I have a little <a href="/posts/2007/06/more-scheming-with-haskell">Scheme interpreter</a> 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!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Controlling volume via the keyboard on Linux
|
||||
Title: "Controlling volume via the keyboard on Linux"
|
||||
Author: Sami Samhuri
|
||||
Date: 30th June, 2007
|
||||
Date: "30th June, 2007"
|
||||
Timestamp: 2007-06-30T16:13:00-07:00
|
||||
Tags: alsa, linux, ruby, volume
|
||||
Tags: [alsa, linux, ruby, volume]
|
||||
---
|
||||
|
||||
I was using Amarok's global keyboard shortcuts to control the volume of my music via the <a href="http://pfuca-store.stores.yahoo.net/haphackeylit1.html">keyboard</a> 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 <a href="http://growl.info/">Growl</a> but it'll certainly do.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Emacs for TextMate junkies
|
||||
Title: "Emacs for TextMate junkies"
|
||||
Author: Sami Samhuri
|
||||
Date: 23rd June, 2007
|
||||
Date: "23rd June, 2007"
|
||||
Timestamp: 2007-06-22T19:17:00-07:00
|
||||
Tags: emacs, textmate
|
||||
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.*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Emacs: tagify-region-or-insert-tag
|
||||
Title: "Emacs: tagify-region-or-insert-tag"
|
||||
Author: Sami Samhuri
|
||||
Date: 25th June, 2007
|
||||
Date: "25th June, 2007"
|
||||
Timestamp: 2007-06-25T15:13:00-07:00
|
||||
Tags: emacs, tagify
|
||||
Tags: [emacs, tagify]
|
||||
---
|
||||
|
||||
After <a href="/posts/2007/06/rtfm">axing</a> half of <a href="/posts/2007/06/emacs-for-textmate-junkies">wrap-region.el</a> I renamed it to <a href="/f/tagify.el">tagify.el</a> and improved it ever so slightly. It's leaner, and does more!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Embrace the database
|
||||
Title: "Embrace the database"
|
||||
Author: Sami Samhuri
|
||||
Date: 22nd June, 2007
|
||||
Date: "22nd June, 2007"
|
||||
Timestamp: 2007-06-22T03:14:00-07:00
|
||||
Tags: activerecord, rails, ruby
|
||||
Tags: [activerecord, rails, ruby]
|
||||
---
|
||||
|
||||
If you drink the Rails koolaid you may have read the notorious <a href="http://www.loudthinking.com/arc/2005_09.html">single layer of cleverness</a> post by <a href="http://www.loudthinking.com/">DHH</a>. <em>[5th post on the archive page]</em> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Floating point in ElSchemo
|
||||
Title: "Floating point in ElSchemo"
|
||||
Author: Sami Samhuri
|
||||
Date: 24th June, 2007
|
||||
Date: "24th June, 2007"
|
||||
Timestamp: 2007-06-24T11:53:00-07:00
|
||||
Tags: elschemo, haskell, scheme
|
||||
Tags: [elschemo, haskell, scheme]
|
||||
---
|
||||
|
||||
### Parsing floating point numbers ###
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: More Scheming with Haskell
|
||||
Title: "More Scheming with Haskell"
|
||||
Author: Sami Samhuri
|
||||
Date: 14th June, 2007
|
||||
Date: "14th June, 2007"
|
||||
Timestamp: 2007-06-13T18:09:00-07:00
|
||||
Tags: coding, haskell, scheme
|
||||
Tags: [coding, haskell, scheme]
|
||||
---
|
||||
|
||||
It's been a little while since I wrote about Haskell and the <a href="/posts/2007/05/a-scheme-parser-in-haskell-part-1">Scheme interpreter</a> 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 <a href="http://www.lshift.net/blog/2007/06/11/folds-and-continuation-passing-style">interesting things</a> to try floating around da intranet. And also things to read and learn from, such as <a href="http://cubiclemuses.com/cm/blog/tags/Misp">misp</a> (via <a href="http://moonbase.rydia.net/mental/blog/programming/misp-is-a-lisp">Moonbase</a>).
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Propaganda makes me sick
|
||||
Title: "Propaganda makes me sick"
|
||||
Author: Sami Samhuri
|
||||
Date: 25th June, 2007
|
||||
Date: "25th June, 2007"
|
||||
Timestamp: 2007-06-25T03:55:00-07:00
|
||||
Tags: propaganda
|
||||
Tags: [propaganda]
|
||||
---
|
||||
|
||||
Things <a href="http://arstechnica.com/news.ars/post/20070625-spying-on-campus-fbi-warns-mit-harvard.html">like this</a> in modern times are surprising. Can't people spot this phony crap for what it is?
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Recent Ruby and Rails Regales
|
||||
Title: "Recent Ruby and Rails Regales"
|
||||
Author: Sami Samhuri
|
||||
Date: 28th June, 2007
|
||||
Date: "28th June, 2007"
|
||||
Timestamp: 2007-06-28T12:23:00-07:00
|
||||
Tags: rails, rails on rules, regular expressions, ruby, sake, secure associations, regex
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Reinventing the wheel
|
||||
Title: "Reinventing the wheel"
|
||||
Author: Sami Samhuri
|
||||
Date: 20th June, 2007
|
||||
Date: "20th June, 2007"
|
||||
Timestamp: 2007-06-20T09:27:00-07:00
|
||||
Tags: emacs, snippets
|
||||
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 <a href="/posts/2007/06/more-scheming-with-haskell">ElSchemo</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: RTFM!
|
||||
Title: "RTFM!"
|
||||
Author: Sami Samhuri
|
||||
Date: 26th June, 2007
|
||||
Date: "26th June, 2007"
|
||||
Timestamp: 2007-06-25T14:19:00-07:00
|
||||
Tags: emacs, rtfm
|
||||
Tags: [emacs, rtfm]
|
||||
---
|
||||
|
||||
I should read the Emacs manual sometime, especially since I have it in dead-tree form. Check out <a href="http://www.gnu.org/software/emacs/manual/html_node/autotype/Inserting-Pairs.html">skeleton pairs</a> in the Emacs manual, or better yet <code>C-h f skeleton-pair-insert-maybe</code>. 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: so long typo (and thanks for all the timeouts)
|
||||
Title: "so long typo (and thanks for all the timeouts)"
|
||||
Author: Sami Samhuri
|
||||
Date: 8th June, 2007
|
||||
Date: "8th June, 2007"
|
||||
Timestamp: 2007-06-08T18:01:00-07:00
|
||||
Tags: mephisto, typo
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: test/spec on rails declared awesome, just one catch
|
||||
Title: "test/spec on rails declared awesome, just one catch"
|
||||
Author: Sami Samhuri
|
||||
Date: 14th June, 2007
|
||||
Date: "14th June, 2007"
|
||||
Timestamp: 2007-06-14T07:21:00-07:00
|
||||
Tags: bdd, rails, test/spec
|
||||
Tags: [bdd, rails, test/spec]
|
||||
---
|
||||
|
||||
This last week I've been getting to know <a href="http://chneukirchen.org/blog/archive/2007/01/announcing-test-spec-0-3-a-bdd-interface-for-test-unit.html">test/spec</a> via <a href="http://errtheblog.com/">err's</a> <a href="http://require.errtheblog.com/plugins/wiki/TestSpecRails">test/spec on rails</a> plugin. I have to say that I really dig this method of testing my code and I look forward to trying out some actual <a href="http://behaviour-driven.org/">BDD</a> in the future.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: A TextMate tip for Emacs users
|
||||
Title: "A TextMate tip for Emacs users"
|
||||
Author: Sami Samhuri
|
||||
Date: 3rd July, 2007
|
||||
Date: "3rd July, 2007"
|
||||
Timestamp: 2007-07-03T09:45:00-07:00
|
||||
Tags: emacs, keyboard shortcuts, textmate
|
||||
Tags: [emacs, keyboard shortcuts, textmate]
|
||||
---
|
||||
|
||||
*Update: The only place I've seen this mentioned is in a <a href="http://macromates.com/blog/2005/screencast/#comment-660">comment</a> on the MacroMates blog.*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: people
|
||||
Title: "people"
|
||||
Author: Sami Samhuri
|
||||
Date: 12th July, 2007
|
||||
Date: "12th July, 2007"
|
||||
Timestamp: 2007-07-12T05:28:00-07:00
|
||||
Tags: life, people
|
||||
Tags: [life, people]
|
||||
---
|
||||
|
||||
Sometimes this is difficult to remember for someone who (likes to think that he) thinks somewhat logically.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: RushCheck: QuickCheck for Ruby
|
||||
Title: "RushCheck: QuickCheck for Ruby"
|
||||
Author: Sami Samhuri
|
||||
Date: 5th July, 2007
|
||||
Date: "5th July, 2007"
|
||||
Timestamp: 2007-07-05T12:50:00-07:00
|
||||
Tags: quickcheck, ruby, rushcheck
|
||||
Tags: [quickcheck, ruby, rushcheck]
|
||||
---
|
||||
|
||||
I cannot wait to try out <a href="http://rushcheck.rubyforge.org/about.html">RushCheck</a>. It is <a href="http://www.cs.chalmers.se/~rjmh/QuickCheck/">QuickCheck</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: See your regular expressions in Emacs
|
||||
Title: "See your regular expressions in Emacs"
|
||||
Author: Sami Samhuri
|
||||
Date: 6th July, 2007
|
||||
Date: "6th July, 2007"
|
||||
Timestamp: 2007-07-06T09:45:00-07:00
|
||||
Tags: emacs, regex
|
||||
Tags: [emacs, regex]
|
||||
---
|
||||
|
||||
First, if you are an Emacs newbie then be sure to read (at least) the introduction of <a href="http://stuff.mit.edu/iap/emacs">Being Productive with Emacs</a>. For some reason the PDF and HTML versions are slightly similar.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: 5 ways to avoid looking like a jerk on the Internet
|
||||
Title: "5 ways to avoid looking like a jerk on the Internet"
|
||||
Author: Sami Samhuri
|
||||
Date: 30th August, 2007
|
||||
Date: "30th August, 2007"
|
||||
Timestamp: 2007-08-30T08:25:00-07:00
|
||||
Tags: life, netiquette
|
||||
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. <a href="http://www.penny-arcade.com/comic/2004/03/19">John Gabriel's theory</a> 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!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Captivating little creatures
|
||||
Title: "Captivating little creatures"
|
||||
Author: Sami Samhuri
|
||||
Date: 26th August, 2007
|
||||
Date: "26th August, 2007"
|
||||
Timestamp: 2007-08-26T05:35:00-07:00
|
||||
Tags: games, lemmings
|
||||
Tags: [games, lemmings]
|
||||
---
|
||||
|
||||
Someone posted this JavaScript implementation of an old gem on Reddit, <a href="http://www.elizium.nu/scripts/lemmings/">Lemmings</a>! There goes my Sunday! :)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Catch compiler errors at runtime
|
||||
Title: "Catch compiler errors at runtime"
|
||||
Author: Sami Samhuri
|
||||
Date: 19th August, 2007
|
||||
Date: "19th August, 2007"
|
||||
Timestamp: 2007-08-19T15:17:00-07:00
|
||||
Tags: ruby
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Cheat from Emacs
|
||||
Title: "Cheat from Emacs"
|
||||
Author: Sami Samhuri
|
||||
Date: 9th August, 2007
|
||||
Date: "9th August, 2007"
|
||||
Timestamp: 2007-08-09T18:56:00-07:00
|
||||
Tags: Emacs
|
||||
Tags: [Emacs]
|
||||
---
|
||||
|
||||
*Update: I had inadvertently used <code>string-join</code>, 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).*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Cheat productively in Emacs
|
||||
Title: "Cheat productively in Emacs"
|
||||
Author: Sami Samhuri
|
||||
Date: 21st August, 2007
|
||||
Date: "21st August, 2007"
|
||||
Timestamp: 2007-08-21T11:20:00-07:00
|
||||
Tags: Emacs
|
||||
Tags: [Emacs]
|
||||
---
|
||||
|
||||
By now you may have heard about <a href="http://cheat.errtheblog.com/">cheat</a>, the command line cheat sheet collection that's completely open to editing, wiki style. A couple of weeks ago I posted <a href="/posts/2007/08/cheat-from-emacs">cheat.el</a> which allows one to cheat from within Emacs. There's an update. However, before I get to cheat.el there's a small detour.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: ElSchemo: Boolean logic and branching
|
||||
Title: "ElSchemo: Boolean logic and branching"
|
||||
Author: Sami Samhuri
|
||||
Date: 2nd August, 2007
|
||||
Date: "2nd August, 2007"
|
||||
Timestamp: 2007-08-02T09:59:00-07:00
|
||||
Tags: elschemo, haskell, scheme
|
||||
Tags: [elschemo, haskell, scheme]
|
||||
---
|
||||
|
||||
I've been developing a Scheme
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Opera is pretty slick
|
||||
Title: "Opera is pretty slick"
|
||||
Author: Sami Samhuri
|
||||
Date: 11th August, 2007
|
||||
Date: "11th August, 2007"
|
||||
Timestamp: 2007-08-11T05:11:00-07:00
|
||||
Tags: browsers, firefox, opera
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Snap, crunchle, pop
|
||||
Title: "Snap, crunchle, pop"
|
||||
Author: Sami Samhuri
|
||||
Date: 9th August, 2007
|
||||
Date: "9th August, 2007"
|
||||
Timestamp: 2007-08-09T03:17:00-07:00
|
||||
Tags: humans, injury, life
|
||||
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 <a href="http://orthopedics.about.com/cs/sprainsstrains/a/sprain_4.htm">RICE</a> 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 until 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Learning Lisp? Read PCL
|
||||
Title: "Learning Lisp? Read PCL"
|
||||
Author: Sami Samhuri
|
||||
Date: 25th September, 2007
|
||||
Date: "25th September, 2007"
|
||||
Timestamp: 2007-09-25T02:59:00-07:00
|
||||
Tags: lisp
|
||||
Tags: [lisp]
|
||||
---
|
||||
|
||||
Yes, it's a book. But it's so well written you should breeze through it as if it were a <a href="http://www.gigamonkeys.com/book/">Lisp tutorial</a>!
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Python and Ruby brain dump
|
||||
Title: "Python and Ruby brain dump"
|
||||
Author: Sami Samhuri
|
||||
Date: 26th September, 2007
|
||||
Date: "26th September, 2007"
|
||||
Timestamp: 2007-09-26T03:34:00-07:00
|
||||
Tags: python, ruby
|
||||
Tags: [python, ruby]
|
||||
---
|
||||
|
||||
It turns out that <a href="http://dev.laptop.org/git?p=security;a=blob;f=bitfrost.txt">Python is the language of choice on the OLPC</a>, both for implementing applications and exposing to the users. There is a view source key available. I think Python is a great choice.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Gtkpod in Gutsy Got You Groaning?
|
||||
Title: "Gtkpod in Gutsy Got You Groaning?"
|
||||
Author: Sami Samhuri
|
||||
Date: 29th October, 2007
|
||||
Date: "29th October, 2007"
|
||||
Timestamp: 2007-10-29T14:14:00-07:00
|
||||
Tags: broken, gtkpod, linux, ubuntu
|
||||
Tags: [broken, gtkpod, linux, ubuntu]
|
||||
---
|
||||
|
||||
I recently upgraded the <a href="http://www.ubuntu.com/">Ubuntu</a> 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 <a href="https://bugs.launchpad.net/ubuntu/+source/gtkpod-aac/+bug/135178/comments/6">it doesn't look like</a> 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.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Random pet peeve of the day
|
||||
Title: "Random pet peeve of the day"
|
||||
Author: Sami Samhuri
|
||||
Date: 7th January, 2008
|
||||
Date: "7th January, 2008"
|
||||
Timestamp: 2008-01-07T09:42:00-08:00
|
||||
Tags: usability, web
|
||||
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 <a href="http://www.venganza.org/about">Flying Spaghetti Monster</a> – <em>put the date at the <strong>top</strong> of the page</em>. 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 <em>is</em> the end? Oh crap, I passed it and now I'm in the comments, blargh!"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Thoughts on Arc
|
||||
Title: "Thoughts on Arc"
|
||||
Author: Sami Samhuri
|
||||
Date: 19th February, 2008
|
||||
Date: "19th February, 2008"
|
||||
Timestamp: 2008-02-19T03:26:00-08:00
|
||||
Tags: lisp arc
|
||||
Tags: [lisp arc]
|
||||
---
|
||||
|
||||
*NB: This is just a braindump. There's nothing profound or particularly insightful in this post.*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Project Euler code repo in Arc
|
||||
Title: "Project Euler code repo in Arc"
|
||||
Author: Sami Samhuri
|
||||
Date: 3rd March, 2008
|
||||
Date: "3rd March, 2008"
|
||||
Timestamp: 2008-03-03T08:24:00-08:00
|
||||
Tags: arc, project euler
|
||||
Tags: [arc, project euler]
|
||||
---
|
||||
|
||||
Release early and often. This is a code repo web app for solutions to <a href="http://projecteuler.net/">Project Euler</a> 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 <a href="http://nofxwiki.net:3141/euler">try it out</a> or <a href="https://samhuri.net/euler.tgz">download the source</a>. You'll need an up-to-date copy of <a href="http://arcfn.com/2008/02/git-and-anarki-arc-repository-brief.html">Anarki</a> to untar the source in. Just run <strong>arc.sh</strong> then enter this at the REPL:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Using Emacs to Develop Mojo Apps for WebOS
|
||||
Title: "Using Emacs to Develop Mojo Apps for WebOS"
|
||||
Author: Sami Samhuri
|
||||
Date: 21st November, 2009
|
||||
Date: "21st November, 2009"
|
||||
Timestamp: 2009-11-21T00:00:00-08:00
|
||||
Tags: emacs, mojo, webos, lisp, javascript
|
||||
Tags: [emacs, mojo, webos, lisp, javascript]
|
||||
---
|
||||
|
||||
The latest technology I've been learning is Palm's SDK for webOS,
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: A preview of Mach-O file generation
|
||||
Title: "A preview of Mach-O file generation"
|
||||
Author: Sami Samhuri
|
||||
Date: 20th January, 2010
|
||||
Date: "20th January, 2010"
|
||||
Timestamp: 2010-01-20T00:00:00-08:00
|
||||
Tags: ruby, mach-o, os x, compiler
|
||||
Tags: [ruby, mach-o, os x, compiler]
|
||||
---
|
||||
|
||||
This month I got back into an x86 compiler I started last May. It lives
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Basics of the Mach-O file format
|
||||
Title: "Basics of the Mach-O file format"
|
||||
Author: Sami Samhuri
|
||||
Date: 18th January, 2010
|
||||
Date: "18th January, 2010"
|
||||
Timestamp: 2010-01-18T00:00:00-08:00
|
||||
Tags: mach-o, os x, compiler
|
||||
Tags: [mach-o, os x, compiler]
|
||||
---
|
||||
|
||||
<p><i>This post is part of a series on generating basic x86 Mach-O files
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Working with C-style structs in Ruby
|
||||
Title: "Working with C-style structs in Ruby"
|
||||
Author: Sami Samhuri
|
||||
Date: 17th January, 2010
|
||||
Date: "17th January, 2010"
|
||||
Timestamp: 2010-01-17T00:00:00-08:00
|
||||
Tags: ruby, cstruct, compiler
|
||||
Tags: [ruby, cstruct, compiler]
|
||||
---
|
||||
|
||||
This is the beginning of a series on generating Mach-O object files in
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: 37signals' Chalk Dissected
|
||||
Title: "37signals' Chalk Dissected"
|
||||
Author: Sami Samhuri
|
||||
Date: 4th November, 2010
|
||||
Date: "4th November, 2010"
|
||||
Timestamp: 2010-11-04T00:00:00-07:00
|
||||
Tags: 37signals, chalk, ipad, javascript, web, html, css, zepto.js
|
||||
Tags: [37signals, chalk, ipad, javascript, web, html, css, zepto.js]
|
||||
---
|
||||
|
||||
<p><i>Update 2010-11-05: I dove into the JavaScript a little and explained most of it. Sam Stephenson <a href="https://twitter.com/sstephenson/status/553490682216449">tweeted</a> that Chalk is written in <a href="http://jashkenas.github.com/coffee-script/">CoffeeScript</a> and compiled on the fly when served using <a href="https://github.com/sstephenson/brochure">Brochure</a>. That's hot! (for those unaware Sam Stephenson works at 37signals, and is also the man behind <a href="http://www.prototypejs.org/">Prototype</a>.)</i></p>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: Lights
|
||||
Title: "Lights"
|
||||
Author: Sami Samhuri
|
||||
Date: 27th November, 2011
|
||||
Date: "27th November, 2011"
|
||||
Timestamp: 2011-11-27T18:11:00-08:00
|
||||
Tags:
|
||||
Link: http://lights.elliegoulding.com/
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: Recovering Old Blog Posts
|
||||
Title: "Recovering Old Blog Posts"
|
||||
Author: Sami Samhuri
|
||||
Date: 27th November, 2011
|
||||
Date: "27th November, 2011"
|
||||
Timestamp: 2011-11-27T01:15:00-08:00
|
||||
Tags: recover, old, blog, posts
|
||||
Tags: [recover, old, blog, posts]
|
||||
---
|
||||
|
||||
I'm in the process of recovering some old blog posts from the [Wayback Machine](http://web.archive.org).
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: I see HTTP
|
||||
Title: "I see HTTP"
|
||||
Author: Sami Samhuri
|
||||
Date: 15th December, 2011
|
||||
Date: "15th December, 2011"
|
||||
Timestamp: 2011-12-15T07:47:15-08:00
|
||||
Tags:
|
||||
Link: http://calendar.perfplanet.com/2011/i-see-http/
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: My kind of feature checklist
|
||||
Title: "My kind of feature checklist"
|
||||
Author: Sami Samhuri
|
||||
Date: 19th December, 2011
|
||||
Date: "19th December, 2011"
|
||||
Timestamp: 2011-12-19T20:20:05-08:00
|
||||
Tags:
|
||||
Link: http://www.marco.org/2011/12/19/amazon-kindle-vs-ipad
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: New Release of Firefox for Android, Optimized for Tablets
|
||||
Title: "New Release of Firefox for Android, Optimized for Tablets"
|
||||
Author: Sami Samhuri
|
||||
Date: 22nd December, 2011
|
||||
Date: "22nd December, 2011"
|
||||
Timestamp: 2011-12-25T18:54:11-08:00
|
||||
Tags:
|
||||
Link: http://daringfireball.net/linked/2011/12/22/firefox-android
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: Pure CSS3 images? Hmm, maybe later
|
||||
Title: "Pure CSS3 images? Hmm, maybe later"
|
||||
Author: Sami Samhuri
|
||||
Date: 11th December, 2011
|
||||
Date: "11th December, 2011"
|
||||
Timestamp: 2011-12-11T12:25:03-08:00
|
||||
Tags:
|
||||
Link: http://calendar.perfplanet.com/2011/pure-css3-images-hmm-maybe-later/
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
Title: A Static URL Shortener Using .htaccess
|
||||
Title: "A Static URL Shortener Using .htaccess"
|
||||
Author: Sami Samhuri
|
||||
Date: 10th December, 2011
|
||||
Date: "10th December, 2011"
|
||||
Timestamp: 2011-12-10T22:29:09-08:00
|
||||
Tags: s42.ca, url, shortener, samhuri.net, url shortener
|
||||
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 a neat [.htaccess][htaccess-wiki] hack. I want to automatically announce new posts on Twitter so short URLs are in order.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: The Broken Pixel Theory
|
||||
Title: "The Broken Pixel Theory"
|
||||
Author: Sami Samhuri
|
||||
Date: 25th December, 2011
|
||||
Date: "25th December, 2011"
|
||||
Timestamp: 2011-12-25T18:54:20-08:00
|
||||
Tags:
|
||||
Link: http://jtaby.com/2011/12/25/the-broken-pixel-theory.html
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: Fujitsu has lost their mind
|
||||
Title: "Fujitsu has lost their mind"
|
||||
Author: Sami Samhuri
|
||||
Date: 19th January, 2012
|
||||
Date: "19th January, 2012"
|
||||
Timestamp: 2012-01-19T20:05:33-08:00
|
||||
Tags:
|
||||
Link: http://tablet-news.com/2012/01/17/fujitsu-lifebook-2013-concept-incorporates-a-tablet-for-a-keyboard-phone-and-digital-camera/
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
Title: Recovering From a Computer Science Education
|
||||
Title: "Recovering From a Computer Science Education"
|
||||
Author: Sami Samhuri
|
||||
Date: 17th January, 2012
|
||||
Date: "17th January, 2012"
|
||||
Timestamp: 2012-01-17T00:00:00-08:00
|
||||
Tags:
|
||||
Link: http://prog21.dadgum.com/123.html
|
||||
---
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue