January 2011
1 post
Who's Afraid of the Verizon iPhone? →
marco:
The decision that people were discussing wasn’t “Do I get an iPhone or an Android whatever?”
It was always “Do I get an iPhone or do I stay on Verizon?”
Nailed it.
November 2010
2 posts
The Confusatory: Path: what the fuck? →
cbowns:
Path’s model is far stranger than this. If I want to follow Bailey, I’m stuck hoping she chooses to push her updates to me. And I sure hope she likes seeing all my cat photos, because I’m pushing my updates to her, possibly against her will. She could choose to “pause” her updates, but she can’t make me completely disappear from her “friends sharing things with you” list.
I...
July 2010
1 post
I’m always delighted by the light touch and stillness of early programming...
– Dick Gabriel
(via Rob Pike’s OSCON 2010 talk)
May 2010
1 post
Wallpaper
jimray:
A bit ago, I quipped about how I don’t really like the new wallpaper feature in iPhone OS 4. For some reason, it doesn’t bug me much on my iPad but on the phone it’s awful, especially the vibrant images that ship by default.
So I made a better one. Originally, I just wanted my black background back but decided to add just a touch of panaché — a little Fireball Gray rising from the...
April 2010
1 post
But let me explain something to you. The telephone was an aberation in human...
– (via rickwebb)
November 2009
1 post
I just want to drop files onto my Dock icon!
sulciphur:
I’ve spent days reading post after post after post after post that purported to solve the mystery of how to hook up the magic pieces just right to enable files to be dropped onto your app’s icon. However, since none of the links I trawled included both up-to-date and complete examples, I figured I’d put one together for whoever has to fight this battle in the future. Caveat...
October 2008
3 posts
It actually makes a lot of sense to me that Apple would be in favor of equal...
– Colbert Destroys His iPhone to Fight Gay Marriage
For Windows 7, management decided to alter the engineering structure of the...
– Engineering Windows 7 : Engineering 7: A view from the bottom
That’s a lot of people- if I did the math right, it’s about 1,000 people just in that division of Windows.
I understand that writing Windows is a huge undertaking, but when you have that many cooks in the kitchen things...
September 2008
4 posts
If you already know what recursion is, just remember the answer. Otherwise, find...
– Definition of Recursion
Felix http://bit.ly/1tWIab LOST his camp on burn night. Left the playa 2 days...
– One of the better Burning Man stories I’ve heard. That must have been one hell of a drug trip.
http://twitter.com/danger_ranger/statuses/917056761
You can read his thoughts on it on his twitter page
August 2008
2 posts
On certain operating systems(3), GDB is able to save a snapshot of a...
– Debugging with GDB: Running
I’m not sure how long this has been around, but it’s the first I’ve heard of it and it sounds pretty damn cool.
Quick Fact
rickyv:
The number of children in China who take piano lessons > the total number of US children
Cool stat, but I’m going to call [citation needed] on this one. Here are the numbers I could find:
“According to Music Trades magazine, published in Englewood, N.J., an estimated 40 million children in China take piano lessons…”
- China’s ‘piano fever’
...
July 2008
4 posts
Permanently Removing Files From a Git Repository
What do you do if you accidentally check in some large or confidential files to a git repository and you need to remove all traces of them?
You can do a `git reset —hard [commit id]^` to move head to one revision before those files were checked in. They no longer show up in a git log. They’re gone, right?
Resetting will remove the files from the history in the current branch, but...
hypotamoose.muxtape.com
→
Inspired by lemurmaster, I made my own muxtape of jazz.
Built-in Screen Capture Utility: With the iPhone 2.0 software installed, hold...
– Iphone 2.0: iPhone 2.0 Update to Add Polish (and Apps)
It’s finally out!
May 2008
8 posts
Good Programmer Resumes (or: Jake Marsh Is A...
sulciphur: Answer: yes, it does matter. Most of those acronyms and phrases aren’t even languages, and you’re trying to come off as a programmer, and a professional one no less? Let’s see you whip something up in “Ajax frameworks” big guy. Using buzzwords on your resumé to make yourself sound more learned is an immediate and epic FAIL. I agree, although with a little less spite (maybe I should...
Chess is a battle, Go is a war.
– (unknown)
“Congressman that ho!” Mike Gravel Lobbies for the Obama Girl Vote (via marco)
Mark Pilgrim on Mozilla not participating in the race to pass Acid 3: “C’mon, guys. It’s not the score that matters, it’s the followup. It’s the conversation you have, the promises you make, the progress you show the next day and the day after that and the day after that. And bitching about an openly developed test suite whose ultimate goal was just to get people excited about web standards...
My Favorite Easter Egg
For a short while, if you broadcast just the right bits into space at just the right time, you’d get this in response: (.|.) ).( "chicks dig satellites" ( v ) \|/
Apple, I believe, has evaluated these markets, and, being a highly...
– The Five ForcesCircles of Hell
April 2008
26 posts
Great Software License
** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** *************************************************************************sqlite.h
IsDownForEveryoneOrJustMeDownForEveryoneOrJustMe.co... →
Awesome.
For the first time, society forced onto an enormous number of its citizens the...
– Gin, Television, and Social Surplus - Here Comes Everybody
As if it were a swarm of bees, you should stay away from the SyncServices folder...
– Mac OS X: Stay away from the SyncServices folder
Reverting an accidental git merge
One thing that’s bit me a couple times while using git is that I forget that the git-merge command behaves differently than svn merge. A subversion merge creates a patch from the given revisions and applies the patch to your current working copy. You can then review the changes and commit if you’re happy with the result. Git works a bit differently. If you don’t specify any...
Counting the number of set bits in a number
for( n = 0; b; n++ ) b &= (b - 1); Clever trick. e2 has a good explanation of how it works.
We are looking to hire a few midgets to walk around in a Sombrero hat that has...
– Midgets wanted for Bachelor Party
Marco.org: iPhone application pricing →
marco: Third-party applications created with the iPhone SDK will be available for sale in June. Apple has created an incredible platform here — how much will these applications cost? I’ve analyzed the market from a developer’s point of view: how much can a developer expect to make at given price points? Good breakdown of how much iPhone application developers can expect to make.
Stupid bash_profile tricks
I have a couple of useful tricks saved up in my .bash_profile. I figured I should share them: alias psgrep='ps auxww | grep -v grep | grep -i' I use this one all the time. —— \`if [ \$? != 0 ]; then echo -e '\[\e[01;31m\]:('; fi\` It looks like line noise, but it’s incredibly useful when added to your $PS1. The prompt checks if the last command had a non-zero return value and...