Normalize post tags onto a small canonical taxonomy

Existing Tags fields were messy (mixed case, duplicates, lots of
one-off tags) and 28 posts had none at all. Normalized casing,
deduped, mapped common synonyms (textmate/xcode/git -> tools, os x
variants -> mac-os-x, etc) onto a canonical set, and added 1-2
canonical tags to every previously untagged post so most posts now
carry at least one useful tag. Specific extra tags were kept
alongside the canonical ones rather than stripped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sami Samhuri 2026-06-21 20:15:53 -07:00
parent 65e9734b8e
commit 281272aa32
No known key found for this signature in database
76 changed files with 76 additions and 48 deletions

View file

@ -3,7 +3,7 @@ Title: "Girlfriend X"
Author: Sami Samhuri
Date: "18th February, 2006"
Timestamp: 2006-02-18T11:50:00-08:00
Tags: crazy, funny
Tags: funny
---
This is hilarious! Someone wrote software that manages a "parallel" dating style.

View file

@ -3,7 +3,7 @@ Title: "Intelligent Migration Snippets 0.1 for TextMate"
Author: Sami Samhuri
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, tools, rails, coding, migrations, snippets
---
*This should be working now. I've tested it under a new user account here.*

View file

@ -3,7 +3,7 @@ Title: "Jump to view/controller in TextMate"
Author: Sami Samhuri
Date: "18th February, 2006"
Timestamp: 2006-02-18T14:51:00-08:00
Tags: hacking, rails, textmate, rails, textmate
Tags: coding, rails, tools
---
<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!

View file

@ -3,7 +3,7 @@ Title: "Obligatory Post about Ruby on Rails"
Author: Sami Samhuri
Date: "20th February, 2006"
Timestamp: 2006-02-20T00:31:00-08:00
Tags: rails, coding, hacking, migration, rails, testing
Tags: rails, coding, migration, testing
---
<p><em>I'm a Rails newbie and eager to learn. I welcome any suggestions or criticism you have. You can direct them to <a href="mailto:sjs@uvic.ca">my inbox</a> or leave me a comment below.</em></p>

View file

@ -3,7 +3,7 @@ Title: "SJ's Rails Bundle 0.2 for TextMate"
Author: Sami Samhuri
Date: "23rd February, 2006"
Timestamp: 2006-02-23T17:18:00-08:00
Tags: textmate, rails, coding, bundle, macros, rails, snippets, textmate
Tags: tools, rails, coding, bundle, macros, snippets
---
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.

View file

@ -3,7 +3,7 @@ Title: "Some TextMate snippets for Rails Migrations"
Author: Sami Samhuri
Date: "18th February, 2006"
Timestamp: 2006-02-18T22:48:00-08:00
Tags: textmate, rails, hacking, rails, snippets, textmate
Tags: tools, rails, coding, snippets
---
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.

View file

@ -3,7 +3,7 @@ Title: "TextMate: Insert text into self.down"
Author: Sami Samhuri
Date: "21st February, 2006"
Timestamp: 2006-02-21T14:55:00-08:00
Tags: textmate, rails, hacking, commands, macro, rails, snippets, textmate
Tags: tools, rails, coding, commands, macro, snippets
---
<p><em><strong>UPDATE:</strong> I got everything working and it's all packaged up <a href="/posts/2006/02/intelligent-migration-snippets-0_1-for-textmate">here</a>. There's an installation script this time as well.</em></p>

View file

@ -3,7 +3,7 @@ Title: "TextMate: Move selection to self.down"
Author: Sami Samhuri
Date: "21st February, 2006"
Timestamp: 2006-02-21T00:26:00-08:00
Tags: textmate, rails, hacking, hack, macro, rails, textmate
Tags: tools, rails, coding, macro
---
<p><strong>UPDATE:</strong> <em>This is obsolete, see <a href="/posts/2006/02/textmate-insert-text-into-self-down">this post</a> for a better solution.</em></p>

View file

@ -3,7 +3,7 @@ Title: "TextMate Snippets for Rails Assertions"
Author: Sami Samhuri
Date: "20th February, 2006"
Timestamp: 2006-02-20T23:52:00-08:00
Tags: textmate, rails, coding, rails, snippets, testing, textmate
Tags: tools, rails, coding, snippets, testing
---
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.)

View file

@ -3,7 +3,7 @@ Title: "Urban Extreme Gymnastics?"
Author: Sami Samhuri
Date: "15th February, 2006"
Timestamp: 2006-02-15T10:41:00-08:00
Tags: amusement
Tags: funny
---
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.

View file

@ -3,7 +3,7 @@ Title: "Generate self.down in your Rails migrations"
Author: Sami Samhuri
Date: "3rd March, 2006"
Timestamp: 2006-03-03T21:38:00-08:00
Tags: rails, textmate, migrations, rails, textmate
Tags: rails, tools, migrations
---
<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!

View file

@ -3,7 +3,7 @@ Title: "I don't mind FairPlay either"
Author: Sami Samhuri
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
---
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.

View file

@ -3,7 +3,7 @@ Title: "Spore"
Author: Sami Samhuri
Date: "3rd March, 2006"
Timestamp: 2006-03-03T21:43:00-08:00
Tags: amusement, technology, cool, fun, games
Tags: funny, technology, cool, fun, gaming
---
<a href="http://video.google.com/videoplay?docid=8372603330420559198&amp;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.

View file

@ -3,7 +3,7 @@ Title: "zsh terminal goodness on OS X"
Author: Sami Samhuri
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, 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.

View file

@ -3,7 +3,7 @@ Title: "OS X and Fitt's law"
Author: Sami Samhuri
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, usability
---
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.

View file

@ -3,7 +3,7 @@ Title: "WikipediaFS on Linux, in Python"
Author: Sami Samhuri
Date: "7th May, 2006"
Timestamp: 2006-05-07T20:49:00-07:00
Tags: hacking, python, linux, fuse, linux, mediawiki, python, wikipediafs
Tags: coding, python, linux, mediawiki, 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.

View file

@ -3,7 +3,7 @@ Title: "Apple pays attention to detail"
Author: Sami Samhuri
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.

View file

@ -3,7 +3,7 @@ Title: "Never buy a German keyboard!"
Author: Sami Samhuri
Date: "9th June, 2006"
Timestamp: 2006-06-09T01:17:00-07:00
Tags: apple, apple, german, keyboard
Tags: 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.

View file

@ -3,7 +3,7 @@ Title: "Late static binding"
Author: Sami Samhuri
Date: "19th July, 2006"
Timestamp: 2006-07-19T10:23:00-07:00
Tags: php, coding, coding, php
Tags: php, coding
---
*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.*

View file

@ -3,7 +3,7 @@ Title: "Ruby and Rails have spoiled me rotten"
Author: Sami Samhuri
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, 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.

View file

@ -3,7 +3,7 @@ Title: "Ubuntu: Linux for Linux users please"
Author: Sami Samhuri
Date: "13th July, 2006"
Timestamp: 2006-07-13T08:34:00-07:00
Tags: linux, linux, ubuntu
Tags: linux
---
<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.

View file

@ -3,7 +3,7 @@ Title: "Working with the Zend Framework"
Author: Sami Samhuri
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, 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

View file

@ -3,7 +3,7 @@ Title: "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"
Author: Sami Samhuri
Date: "16th September, 2006"
Timestamp: 2006-09-16T22:11:00-07:00
Tags: amusement, buffalo
Tags: funny, buffalo
Link: http://en.wikipedia.org/wiki/Buffalo_buffalo_buffalo_buffalo_buffalo_buffalo_buffalo_buffalo
---

View file

@ -3,7 +3,7 @@ Title: "Some features you might have missed in iTunes 7"
Author: Sami Samhuri
Date: "22nd September, 2006"
Timestamp: 2006-09-22T16:59:00-07:00
Tags: apple, apple, itunes
Tags: apple
---
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.

View file

@ -3,7 +3,7 @@ Title: "Coping with Windows XP activiation on a Mac"
Author: Sami Samhuri
Date: "17th December, 2006"
Timestamp: 2006-12-17T23:30:00-08:00
Tags: parallels, windows, apple, mac os x, bootcamp
Tags: apple, windows, mac-os-x
---
**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.

View file

@ -3,7 +3,7 @@ Title: "Digg v4: Reply to replies (Greasemonkey script)"
Author: Sami Samhuri
Date: "8th March, 2007"
Timestamp: 2007-03-08T23:19:00-08:00
Tags: coding, digg, firefox, userscript
Tags: coding, digg, web
---
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.

View file

@ -3,7 +3,7 @@ Title: "Diggscuss 0.9"
Author: Sami Samhuri
Date: "25th March, 2007"
Timestamp: 2007-03-25T08:03:00-07:00
Tags: coding, digg, firefox, userscript
Tags: coding, digg, web
---
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.

View file

@ -3,7 +3,7 @@ Title: "Full-screen Cover Flow"
Author: Sami Samhuri
Date: "6th March, 2007"
Timestamp: 2007-03-06T13:51:00-08:00
Tags: apple, coverflow, itunes
Tags: apple, coverflow
---
<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.

View file

@ -3,7 +3,7 @@ Title: "A triple-booting, schizophrenic MacBook"
Author: Sami Samhuri
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 wont get into detail here but if you have a backup and can wipe your disk all you do is:

View file

@ -3,7 +3,7 @@ Title: "Cheating at Life in General"
Author: Sami Samhuri
Date: "16th May, 2007"
Timestamp: 2007-05-16T02:46:00-07:00
Tags: cheat, vim, emacs, textmate
Tags: cheat, vim, emacs, tools
---
*NB: My definition of life is slightly skewed by my being somewhat of a geek*

View file

@ -3,7 +3,7 @@ Title: "I Can't Wait to See What Trey Parker & Matt Stone Do With This"
Author: Sami Samhuri
Date: "9th May, 2007"
Timestamp: 2007-05-09T14:34:00-07:00
Tags: crazy
Tags: funny
---
I'd just like to say, <a href="http://news.com.com/8301-10784_3-9717828-7.html">bwa ha ha ha!</a>

View file

@ -3,7 +3,7 @@ Title: "iPhone Humour"
Author: Sami Samhuri
Date: "18th May, 2007"
Timestamp: 2007-05-18T11:34:00-07:00
Tags: apple, funny, iphone
Tags: apple, funny, ios
---
Love it or hate it - even though it's not even out yet - the iPhone has spawned at least 2 good jokes.

View file

@ -3,7 +3,7 @@ Title: "Back on Gentoo, trying new things"
Author: Sami Samhuri
Date: "18th June, 2007"
Timestamp: 2007-06-18T18:05:00-07:00
Tags: emacs, gentoo, linux, vim
Tags: emacs, 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.

View file

@ -3,7 +3,7 @@ Title: "Emacs for TextMate junkies"
Author: Sami Samhuri
Date: "23rd June, 2007"
Timestamp: 2007-06-22T19:17:00-07:00
Tags: emacs, textmate
Tags: emacs, tools
---
*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.*

View file

@ -3,7 +3,7 @@ Title: "A TextMate tip for Emacs users"
Author: Sami Samhuri
Date: "3rd July, 2007"
Timestamp: 2007-07-03T09:45:00-07:00
Tags: emacs, keyboard shortcuts, textmate
Tags: emacs, keyboard shortcuts, tools
---
*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.*

View file

@ -3,7 +3,7 @@ Title: "Captivating little creatures"
Author: Sami Samhuri
Date: "26th August, 2007"
Timestamp: 2007-08-26T05:35:00-07:00
Tags: games, lemmings
Tags: gaming, 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! :)

View file

@ -3,7 +3,7 @@ Title: "Cheat from Emacs"
Author: Sami Samhuri
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).*

View file

@ -3,7 +3,7 @@ Title: "Cheat productively in Emacs"
Author: Sami Samhuri
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.

View file

@ -3,7 +3,7 @@ Title: "Opera is pretty slick"
Author: Sami Samhuri
Date: "11th August, 2007"
Timestamp: 2007-08-11T05:11:00-07:00
Tags: browsers, firefox, opera
Tags: web
---
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.

View file

@ -3,7 +3,7 @@ Title: "Gtkpod in Gutsy Got You Groaning?"
Author: Sami Samhuri
Date: "29th October, 2007"
Timestamp: 2007-10-29T14:14:00-07:00
Tags: broken, gtkpod, linux, ubuntu
Tags: broken, gtkpod, linux
---
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.

View file

@ -3,7 +3,7 @@ Title: "A preview of Mach-O file generation"
Author: Sami Samhuri
Date: "20th January, 2010"
Timestamp: 2010-01-20T00:00:00-08:00
Tags: ruby, mach-o, os x, compiler
Tags: ruby, mach-o, mac-os-x, compiler
---
This month I got back into an x86 compiler I started last May. It lives

View file

@ -3,7 +3,7 @@ Title: "Basics of the Mach-O file format"
Author: Sami Samhuri
Date: "18th January, 2010"
Timestamp: 2010-01-18T00:00:00-08:00
Tags: mach-o, os x, compiler
Tags: mach-o, mac-os-x, compiler
---
<p><i>This post is part of a series on generating basic x86 Mach-O files

View file

@ -3,7 +3,7 @@ Title: "37signals' Chalk Dissected"
Author: Sami Samhuri
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, ios, javascript, web, 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>

View file

@ -3,6 +3,7 @@ Title: "Lights"
Author: Sami Samhuri
Date: "27th November, 2011"
Timestamp: 2011-11-27T18:11:00-08:00
Tags: web
Link: http://lights.elliegoulding.com/
---

View file

@ -3,6 +3,7 @@ Title: "I see HTTP"
Author: Sami Samhuri
Date: "15th December, 2011"
Timestamp: 2011-12-15T07:47:15-08:00
Tags: ios, web
Link: http://calendar.perfplanet.com/2011/i-see-http/
---

View file

@ -3,6 +3,7 @@ Title: "My kind of feature checklist"
Author: Sami Samhuri
Date: "19th December, 2011"
Timestamp: 2011-12-19T20:20:05-08:00
Tags: coding
Link: http://www.marco.org/2011/12/19/amazon-kindle-vs-ipad
---

View file

@ -3,6 +3,7 @@ Title: "New Release of Firefox for Android, Optimized for Tablets"
Author: Sami Samhuri
Date: "22nd December, 2011"
Timestamp: 2011-12-25T18:54:11-08:00
Tags: web
Link: http://daringfireball.net/linked/2011/12/22/firefox-android
---

View file

@ -3,6 +3,7 @@ Title: "Pure CSS3 images? Hmm, maybe later"
Author: Sami Samhuri
Date: "11th December, 2011"
Timestamp: 2011-12-11T12:25:03-08:00
Tags: web
Link: http://calendar.perfplanet.com/2011/pure-css3-images-hmm-maybe-later/
---

View file

@ -3,6 +3,7 @@ Title: "The Broken Pixel Theory"
Author: Sami Samhuri
Date: "25th December, 2011"
Timestamp: 2011-12-25T18:54:20-08:00
Tags: coding, life
Link: http://jtaby.com/2011/12/25/the-broken-pixel-theory.html
---

View file

@ -3,6 +3,7 @@ Title: "Fujitsu has lost their mind"
Author: Sami Samhuri
Date: "19th January, 2012"
Timestamp: 2012-01-19T20:05:33-08:00
Tags: funny
Link: http://tablet-news.com/2012/01/17/fujitsu-lifebook-2013-concept-incorporates-a-tablet-for-a-keyboard-phone-and-digital-camera/
---

View file

@ -3,6 +3,7 @@ Title: "Recovering From a Computer Science Education"
Author: Sami Samhuri
Date: "17th January, 2012"
Timestamp: 2012-01-17T00:00:00-08:00
Tags: coding, life
Link: http://prog21.dadgum.com/123.html
---

View file

@ -3,6 +3,7 @@ Title: "SOPA lives - and MPAA calls protests an \"abuse of power\""
Author: Sami Samhuri
Date: "17th January, 2012"
Timestamp: 2012-01-17T02:46:40-08:00
Tags: life
Link: http://arstechnica.com/tech-policy/news/2012/01/sopa-livesand-mpaa-calls-protests-an-abuse-of-power.ars
---

View file

@ -3,6 +3,7 @@ Title: "The $40 Standup Desk"
Author: Sami Samhuri
Date: "9th January, 2012"
Timestamp: 2012-01-09T00:16:40-08:00
Tags: life
Link: http://opensoul.org/blog/archives/2012/01/09/the-40-standup-desk/
---

View file

@ -3,6 +3,7 @@ Title: "Yak shaving"
Author: Sami Samhuri
Date: "4th January, 2012"
Timestamp: 2012-01-04T13:24:00-08:00
Tags: coding, life
Link: http://blog.hasmanythrough.com/2012/1/4/yak-shaving
---

View file

@ -3,6 +3,7 @@ Title: "A bitcoin miner in every device and in every hand"
Author: Sami Samhuri
Date: "19th May, 2015"
Timestamp: 2015-05-18T19:53:54-07:00
Tags: life
Link: https://medium.com/@21dotco/a-bitcoin-miner-in-every-device-and-in-every-hand-e315b40f2821
---

View file

@ -3,6 +3,7 @@ Title: "Apple Watch Human Interface Guidelines"
Author: Sami Samhuri
Date: "10th May, 2015"
Timestamp: 2015-05-09T18:57:19-07:00
Tags: apple, ios
Link: https://developer.apple.com/watch/human-interface-guidelines/
---

View file

@ -3,6 +3,7 @@ Title: "Constraints and Transforms in iOS 8"
Author: Sami Samhuri
Date: "15th May, 2015"
Timestamp: 2015-05-15T07:26:35-07:00
Tags: ios, coding
Link: http://revealapp.com/blog/constraints-and-transforms.html
---

View file

@ -3,6 +3,7 @@ Title: "GitHub Flow Like a Pro"
Author: Sami Samhuri
Date: "28th May, 2015"
Timestamp: 2015-05-28T07:42:27-07:00
Tags: tools, coding
Link: http://haacked.com/archive/2014/07/28/github-flow-aliases/
---

View file

@ -3,6 +3,7 @@ Title: "Importing Modules in LLDB"
Author: Sami Samhuri
Date: "12th May, 2015"
Timestamp: 2015-05-11T19:03:35-07:00
Tags: ios, tools
Link: http://furbo.org/2015/05/11/an-import-ant-change-in-xcode/
---

View file

@ -3,6 +3,7 @@ Title: "Lenovo ThinkPad X1 Carbon"
Author: Sami Samhuri
Date: "22nd May, 2015"
Timestamp: 2015-05-21T17:36:29-07:00
Tags: life
Link: http://www.anandtech.com/show/9264/the-lenovo-thinkpad-x1-carbon-review-2015
---

View file

@ -3,6 +3,7 @@ Title: "Magical Wristband"
Author: Sami Samhuri
Date: "27th May, 2015"
Timestamp: 2015-05-26T22:17:29-07:00
Tags: life
Link: http://www.wired.com/2015/03/disney-magicband/
---

View file

@ -3,6 +3,7 @@ Title: "Undocumented CoreStorage Commands"
Author: Sami Samhuri
Date: "24th May, 2015"
Timestamp: 2015-05-23T19:58:36-07:00
Tags: mac-os-x, tools
Link: http://blog.fosketts.net/2011/08/05/undocumented-corestorage-commands/
---

View file

@ -3,6 +3,7 @@ Title: "Debugging Layouts with Recursive View Descriptions in Xcode"
Author: Sami Samhuri
Date: "2nd June, 2015"
Timestamp: 2015-06-02T16:35:35-07:00
Tags: ios, tools
Link: http://jeffreysambells.com/2013/01/24/debugging-layouts-with-recursive-view-descriptions-in-xcode
---

View file

@ -3,6 +3,7 @@ Title: "The Unofficial Guide to xcconfig files"
Author: Sami Samhuri
Date: "1st June, 2015"
Timestamp: 2015-06-01T08:16:51-07:00
Tags: ios, tools
Link: http://pewpewthespells.com/blog/xcconfig_guide.html?utm_campaign=iOS%2BDev%2BWeekly&utm_source=iOS_Dev_Weekly_Issue_200
---

View file

@ -3,6 +3,7 @@ Title: "Scripts to Rule Them All"
Author: Sami Samhuri
Date: "1st July, 2015"
Timestamp: 2015-07-01T07:37:04-07:00
Tags: tools, coding
Link: http://githubengineering.com/scripts-to-rule-them-all/
---

View file

@ -3,6 +3,7 @@ Title: "Swift: New stuff in Xcode 7 Beta 3"
Author: Sami Samhuri
Date: "9th July, 2015"
Timestamp: 2015-07-09T09:17:13-07:00
Tags: swift, ios
Link: http://ericasadun.com/2015/07/08/swift-new-stuff-in-xcode-7-beta-3/
---

View file

@ -3,6 +3,7 @@ Title: "Acorn 5's Live Help Search"
Author: Sami Samhuri
Date: "25th August, 2015"
Timestamp: 2015-08-24T22:00:27-07:00
Tags: mac-os-x, apple
Link: http://shapeof.com/archives/2015/8/acorn_5_search_index.html
---

View file

@ -3,6 +3,7 @@ Title: "Cloak's Updated Privacy Policy"
Author: Sami Samhuri
Date: "27th August, 2015"
Timestamp: 2015-08-26T19:56:54-07:00
Tags: life
Link: https://blog.getcloak.com/2015/08/25/updated-privacy-policy/
---

View file

@ -3,6 +3,7 @@ Title: "Moving Beyond the OOP Obsession"
Author: Sami Samhuri
Date: "28th March, 2016"
Timestamp: 2016-03-28T09:08:47-07:00
Tags: coding
Link: http://prog21.dadgum.com/218.html
---

View file

@ -3,6 +3,7 @@ Title: "Reduce the cognitive load of your code"
Author: Sami Samhuri
Date: "30th March, 2016"
Timestamp: 2016-03-30T07:10:29-07:00
Tags: coding
Link: http://chrismm.com/blog/how-to-reduce-the-cognitive-load-of-your-code/
---

View file

@ -3,6 +3,7 @@ Title: "Tales of PRK Laser Eye Surgery"
Author: Sami Samhuri
Date: "12th April, 2016"
Timestamp: 2016-04-11T20:52:53-07:00
Tags: life
---
Today I scheduled PRK laser eye surgery on April 19th. Exciting but also kind of terrifying because the procedure sounds a bit horrific. Most accounts from people don't sound very bad though so the operation itself should be a breeze! I scoured the web for PRK recovery stories to get an idea of what I was in for and found some good quotes.

View file

@ -3,7 +3,7 @@ Title: "Easy Optimization Wins"
Author: Sami Samhuri
Date: "10th August, 2016"
Timestamp: 2016-08-10T10:30:49-07:00
Tags: ios, git
Tags: ios, tools
---
It's not hard to hide a whole lot of complexity behind a function call, so you have to be very aware of what the functions you are using actually do, and how long they take to do it.

View file

@ -3,7 +3,7 @@ Title: "A Git Pre-commit Hook for iOS"
Author: Sami Samhuri
Date: "4th August, 2016"
Timestamp: 2016-08-04T09:38:03-07:00
Tags: ios, git
Tags: ios, tools
---
[Krzysztof Zabłocki][kztwitter] wrote [a nice article on using a git pre-commit hook to catch mistakes in iOS projects][link] before you push those mistakes out to the whole team/world. It's a great idea! But the shell script has some problems, so let's fix those.

View file

@ -3,7 +3,7 @@ Author: Sami Samhuri
Title: "A nil-coalescing alternative for Swift"
Date: "6th October, 2017"
Timestamp: 2017-10-06T14:20:13-07:00
Tags: iOS, Swift
Tags: ios, swift
---
Swift compile times leave something to be desired and a common culprit is the affectionately-named [nil-coalescing operator][nilop]. A small extension to `Optional` can improve this without sacrificing a lot of readability.

View file

@ -3,7 +3,7 @@ Author: Sami Samhuri
Title: "Reverse-engineering the photos-navigation URL scheme on iOS"
Date: "18th April, 2024"
Timestamp: 2024-04-18T20:08:02-07:00
Tags: iOS, Swift, hacking
Tags: ios, swift, coding
---
It would be cool to open up the Photos app to a specific asset on iOS, just like the Photo Shuffle lock screen.

View file

@ -3,7 +3,7 @@ Author: Sami Samhuri
Title: "Type-safe notifications and async stream monitoring with Swift 6"
Date: "6th June, 2025"
Timestamp: 2025-06-06T14:27:11-07:00
Tags: Swift, iOS, notifications, async, concurrency, AsyncMonitor, NotificationSmuggler
Tags: swift, ios, notifications, async, concurrency, asyncmonitor, notificationsmuggler
---
Swift 6 concurrency checking made handling notifications without warnings kinda tedious. The old Combine approach doesn't work with `@Sendable` closures and manually managing tasks gets repetitive. I made a couple of tiny Swift packages to help out with the situation: [AsyncMonitor](https://github.com/samsonjs/AsyncMonitor) which wraps task management, and [NotificationSmuggler](https://github.com/samsonjs/NotificationSmuggler) which adds a type-safe interface on top of `Notification` and `NotificationCenter`.