April 2011
1 post
Debug oneliner
To quickly get the rect of a view add this to your .pch #define RectLog(x) NSLog(@"%s rect: %@",#x, NSStringFromCGRect(x.frame)) Now you can do UIView *aWellNamedView = [[UIView alloc] initWithFrame:CGRectMake(0,0,250,300)]; RectLog(aWellNamedView); Which will print out: aWellNamedView rect: {{0, 0}, {250, 300}} Which is nice.
Apr 18th
March 2011
1 post
“90% of coding is debugging. The other 10% is writing bugs.”
– Bram Cohen (of BitTorrent fame)
Mar 28th
January 2011
1 post
“Enlightened trial and error succeeds over the planning of the lone genius.”
– IDEO
Jan 5th
November 2010
2 posts
Proposal for a new acronym
STO Stating The Obvious.
Nov 23rd
2 notes
“Everyone can be taught to sculpt: Michelangelo would have had to be taught how...”
– Alan Perlis
Nov 14th
October 2010
1 post
“I can work 25 hours a day if necessary, live on any reasonable salary, and...”
– Hunter S Thompson in the best job request I’ve ever read.
Oct 3rd
September 2010
1 post
“For four years we have offered the synchronization service for no charge,...”
– http://blog.xmarks.com/?p=1886
Sep 28th
July 2010
1 post
“Debugging is twice as hard as writing the code in the first place. Therefore, if...”
– Brian Kernighan
Jul 1st
June 2010
1 post
“This will take science. It will take art. It will take innovation. It will take...”
– I’m mentally replacing medecine with computer science
Jun 24th
May 2010
4 posts
‘The future of magazines is now.’ - No, it’s not. The future is never now. source
May 28th
“It always takes longer than you expect, even when you take into account...”
– Hofstadter’s Law (via)
May 20th
“It’s been cool to see so many Flash sites work on mobile devices. However because there is such a variety of Flash content out on the web, it’s important to understand that not all of it is going to run on devices like the Nexus One, both because of lower hardware capabilities of devices and because of user interface design.” - source Then why do it at all ? If Flash had...
May 12th
“If sleep doesn’t serve an absolutely vital function, it is the greatest...”
– Allan_Rechtschaffen
May 10th
April 2010
7 posts
“Great minds discuss ideas; Average minds discuss events; Small minds discuss...”
– Eleanor Roosevelt
Apr 27th
“We are at the beginning of a significant change in the industry, and I believe...”
– Meanwhile Flash isn’t open sourced-either, put up or shut up
Apr 21st
1 note
Go: Quickly to your projects
If you’re reading this, you probably already know that I’m: a. A fan of Terminal.app b. A fan of Oh-my-zsh Now a and b got even better, thanks to a little function that helps me cd directly to my projects. I’ve called it go and it’s largely based on the work of @atog (he made the function without the autocompletion) and the rake-completion in oh-my-zsh (I’ve...
Apr 20th
1 note
“The intrusion of ads into my stream seems like a fairly small issue overall. I’m...”
– Tweetage Wasteland aced it
Apr 14th
Keyboard Macros: The greatest feature you've never...
You might have read my previous post on podcasts and wondered how much time I’ve spent creating that list with its URLs and short descriptions etc. Fortunably/regrettably (depending on wether you liked that post) this is a matter of minutes thanks to the wonderful invention of Keyboard Macros (available in Textmate and Emacs and probably others). So if you’re willing to play along...
Apr 8th
“As anyone who uses MS Word will tell you, software that goes out of its way to...”
– Damn skippy. via
Apr 7th
Podcasts
Ever since I discoverd podcasts I haven’t bothered complaining about my commute. These are the ones to which I’m currently subscribed. Entertaining Mark Kermode and Simon Mayo’s Film Reviews Mark Kermode discusses the latest film releases with Simon Mayo. Lively, controversial and unmissable movie discussion. Broadcast live on Fridays at 2pm on BBC Radio 5 live. link ...
Apr 5th
March 2010
5 posts
After closing the Sun deal and winning the America’s Cup race, Oracle chief executive officer, Larry Ellison, has the smug turned up past 11 all the way to 13. “Every quarter we grab huge chunks of market share from SAP,” Ellison said in the statement accompanying Oracle’s financials. “SAP’s most recent quarter was the best quarter of their year, only down 15...
Mar 29th
1 note
“First make it right, then make it beautiful, then make it efficient.”
– Jay Anderson
Mar 23rd
“That makes the monthly player base of FarmVille larger than the entire...”
– I think this is starting to lean to the left. (via highscalability)
Mar 15th
Units: Quick conversion
I came accross this tweet Today Dr tells me my “ideal” weight is 165lbs. I then laughed in his face. My son is rail thin and weighs that. I have no idea how much a lbs weighs, get with the program and use the metric system already, it did remind me of a post I meant to write a year ago, yes dear reader; this is that post. (Don’t think too hard about that it won’t...
Mar 13th
2 notes
Web 2.0 in my editor
I’m trying out something new: a ridiculously large font size in my editor. By ridiculous I mean a 16pt DejaVuSansMono and after using it for 1 day I can honestly say I’m smitten by it. I can see less code but the code I do see I can read with much more ease, which in my humble opinion is the lesser tradeof. So without further ado: If you want to see it basking in its full glory,...
Mar 9th
February 2010
6 posts
“For a successful technology, reality must take precedence over public relations,...”
– Richard Feynman (as he told to NASA after the Space Shuttle Challenger disaster)
Feb 24th
“A perfect example of that delightful stage of language learning where you know...”
– Tales of a Wayward Classicist: Latin Tattoos (via wolfr)
Feb 23rd
“Source code is the programmer’s user interface into the software”
– Jonathan ‘wolf’ Rentzsch
Feb 12th
Themes are the future?
The themes that have been floated truly reflect what people have been looking for years and it will change the way people think about PCs and the way they use them. It is the future of PCs… on why Windows 8 will blow your mind Themes will never change the way you use your PC, it will only change its looks. Car stereos suck for that exact reason, they’ve changed the theme (blue bars...
Feb 11th
Aw shucks
In 1905, Einstein came up with the concept of special relativity, published his paper on the photoelectric effect, finished his doctoral dissertation, devised the E=mc^2 concept, published a paper on Brownian motion, was approved for his doctorate, and turned 26. via kottke I’m 26, I’m not behind schedule; I’m just giving him a head start…
Feb 10th
1 note
Tabs don't scale
Even Firefox, the other big place I live, really wants to be Emacs. Tabs don’t scale. Tabbed browsing was revolutionary in the same way adding more tellers to a bank was revolutionary: it’s, like, 4x better. w00t. Emacs offers the unique ability to manage its open buffers in another first-class buffer, as a list. Imagine what your filesystem life would be like if the only view of a...
Feb 5th
January 2010
4 posts
On the iPad…
From Arthur C Clarke* ‘s 3001 The Final Odyssey Poole had been surprised - and a little shocked - to discover that the crew’s knowledge of Goliath’s systems was very superficial. Often he had asked questions which should have been easily answered, only to be referred to the ship’s own memory banks. After a while, however, he realised that the sort of in-depth training...
Jan 29th
Great expectations
1. Single Sign-on No idea if Open ID will be it, hope so, but it’s more and more tipping toward Facebook will be our default ID supplier. Which is not good, see 4. I like Mozilla’s idea of letting the browser being the propietor of your identity. It being a Mozilla idea usually means one of two things: great or dumb-by-committee 2. The fall of Flash HTML5 and the rise of...
Jan 26th
“Si jeunesse savait, si vieillesse pouvait.”
– Henri Estienne
Jan 26th
1 note
10 Rules of Good Design by Dieter Rams
Good design should be innovative Good design should make a product useful Good design is aesthetic design Good design will make a product understandable Good design is honest Good design is unobtrusive Good design is long lived Good design is consistent in every details Good design should be environmentally friendly Good design is as little design as possible
Jan 7th
December 2009
2 posts
“Stare, pry, listen, eavesdrop. Die knowing something. You are not here long.”
– Walker Evans
Dec 18th
Useful keybindings
Following are some keybindings that are really useful if you spend large portions of your day in some kind of texteditor. These are available in each and every Cocoa-app (read: almost every current mac app). If you want to know more about the Cocoa Keybindings go here. If you’re a touch typist, if not read this: Programming’s Dirtiest Little Secret , learn to type, then come back and...
Dec 1st
September 2009
1 post
Bloody Apple →
(via http://waffle.wootest.net/2009/09/07/removed-snow-leopard-faq/)
Sep 8th
August 2009
2 posts
“There are basically two types of people. People who accomplish things, and...”
– Mark Twain
Aug 28th
“Illtyperacy is the bastard incest child hiding in the industry’s basement”
– Steve Yegge
Aug 26th
July 2009
3 posts
“Specialization is for insects.”
– Robert A. Heinlein (HT @netlash)
Jul 27th
“There are two types of people—those who come into a room and say,...”
– Frederick L Collins
Jul 23rd
1 note
Nice guys finish last, but we get to sleep in.
Prelude If, like me, you get your TV fix via the intertubes (aka the-not-entirely-legal-but-the-way-it-should-be) you’ll encounter the .rar-fileformat. Nothing special about rars, they’re like zips but better, they compress to smaller files and take less time doing so. I mostly do my unrarring in batch (aka I’ve downloaded the episodes of a new season and want to unpack all of...
Jul 9th
June 2009
5 posts
My normal approach is useless here
Jun 19th
iPhone on a 24" screen
I’m guessing what they’re doing is: Make the iPhone do video-out (look here ) Fake all the interactions with the iPhone offscreen I would <3 to be proven wrong.
Jun 15th
“Do not worry about people stealing an idea. If it is original you will have to...”
– Howard Aiken
Jun 7th
“If I had asked people what they wanted, they would have said faster horses.”
– Henry Ford
Jun 3rd
“Do you need cocaine ? No, I already had breakfast.”
– Spike Slawson (during a live show of Me First)
Jun 2nd
May 2009
1 post
“Nationalism is an infantile disease. It is the measles of mankind.”
– Albert Einstein
May 23rd
April 2009
7 posts
Presenting beech - Oak's little cousin.
INTRO Inspired by Oak, an iPhone app by 10to1 that quickly sends out a tweet without being bothered by reading other tweets and losing time. I wanted a similar thing on my mac so I “made” beech. (+ I use two different user accounts at work and wanted to be able to tweet from both but only read from one) Installing beech Add the following to your .bash_profile : function...
Apr 29th
1 note