January 2012
2 posts
“Not only should your apps stop relying on the hardware Menu button, but you...”
– Android Developers Blog: Say Goodbye to the Menu Button
Jan 27th
“The share of adults in the United States who own tablet computers nearly doubled...”
– Tablet and E-book reader Ownership Nearly Double Over the Holiday Gift-Giving Period | Pew Research Center’s Internet & American Life Project
Jan 26th
November 2011
3 posts
OutOfMemoryError, ImageView and TransitionDrawable...
We like to use animations and gradual transitions instead of abrupt view changes, so a lot of our ImageViews use TransitionDrawable instead of directly displaying an image.  Definition of TransitionDrawables from the Android documentation: An extension of LayerDrawables that is intended to cross-fade between the first and second layer. Today we ran into a scenario that was resulting in memory...
Nov 20th
Nov 19th
Android Math Just Doesn't Compute (or The Anatomy...
A friend recently sent me a link to this post titled “Android math just doesn’t compute” The post starts by asking “What if I told you that you shouldn’t support Android?” and then goes on to list several supporting points. The points are extremely light on substance, but I’ll take the bait anyway and address them one by one. …that there isn’t a single Android...
Nov 13th
September 2011
1 post
A sneaky reason for the "No mountable file...
This is usually caused by corrupt .dmg files. However, if you keep seeing this error with every .dmg file you try, check whether your Migration Assistant is running, then shut it down.
Sep 18th
May 2011
4 posts
May 20th
1,921 notes
The problem with emulating Y Combinator's terms
There seems to be a trend among early stage investment companies towards offering terms similar to what Y Combinator does - let’s ignore the fact that these terms tend to vary, and just call it 20K for 10% - a 200K valuation. There is a problem with this line of reasoning, and this problem is: they are not Y Combinator. The reality is that Y Combinator is not a cash-for-stock deal. There...
May 14th
Audience Extension - a new trend among Ad Networks
We were recently approached by a well-known ad network, with an interesting proposition. They offered to pay us for providing an anonymized global user identifier - a hashed email address or phone number for each user. Anonymized, one-way hashed, so they don’t get the actual email or number, but using their hash so they can cross reference with their other publishers, for global user tracking...
May 13th
Troubleshooting the "conversion to dalvik format...
I spent a bit of time troubleshooting this obscure-sounding error today, so I thought I’d share the solution I found.  Turns out, this error is frequently caused by having multiple instances of the same class in your buildpath - e.g. importing 2 jars that both include the same third party library. Double-check the last thing you imported before the error occurred.
May 4th
March 2011
1 post
Mar 28th
October 2010
1 post
"Base SDK Missing" message after installing Xcode...
The short answer is: you are seeing the ”Base SDK Missing” message because the sdk your project is targetting is gone. Xcode 3.2.* ships with 3.2 and 4.* only. To fix it, you need to go to Project Settings (ctrl+click -> Get Info), then set the Architecture/Base SDK to 4.0. This is what you will be compiling against. Optionally, if you want to support pre-4.0 devices, also...
Oct 27th
September 2010
1 post
Exporting a Blackberry app for OTA (Over-The-Air)...
Build you project Sign the .cod file(s). Copy the .jad, .jar and .cod files to your web server (this is crucial) The .cod file generated by Eclipse is really an archive of .cod files. The .jad file instructs the device to look for the individual .cod files, which are still inside the original, single, .cod file and therefore cannot be found. You must rename the .cod file to .zip and extract...
Sep 1st
August 2010
1 post
BlackBerry - playing audio, in an application,...
I’m writing a BlackBerry app, that needs to play audio files from a URL, without downloading them first (streaming via HTTP) The javax.microedition.media.Player class can be used with a URL, like so: Player player = javax.microedition.media.Manager.createPlayer(audioUrl); player.realize(); player.prefetch(); player.start(); Unfortunately, when I run the code in a simulator, the audio...
Aug 5th
July 2010
3 posts
Installing the EVO 4G HTC Android 2.2 Froyo update
I couldn’t wait a couple of days for the official release, so I just manually upgraded my EVO using the update file from HTC. Had to dig around a bit for the instructions, so thought I’d share the love by posting a walkthrough for those of you who want to do the same. My phone is not a brick, but I can’t guarantee the same results for you. First, get the file (The direct HTC lnk...
Jul 31st
52 notes
How to modify the UI of a BlackBerry app from a...
The problem is that the event thread is the only thread allowed to modify the UI.   There are a couple of ways to do this 1) pass a Runnable to the event thread, with the code that modifies the UI, or 2) obtain the event lock. Method #1 is more foolproof. Here is how you do it: UiApplication.getUiApplication().invokeAndWait(new Runnable() { public void run() { //code that modifies UI...
Jul 20th
How to test/debug a BlackBerry app on a device...
I’ve spent a bit of time today figuring out how to debug my app on an actual Blackberry device rather than the simulator. No, it’s not just a matter of just selecting Run As -> Device. Yes, it should be. Yeah, I don’t know what they were thinking either. Main thing to note is that what RIM calls “testing” an app involves deploying an app to a phone, and...
Jul 13th
1 note
April 2010
1 post
Page.ClientScript.RegisterStartupScript not...
If your call to Page.ClientScript.RegisterStartupScript is not working - i.e. the javascript code is not being written to the resulting html page, make sure that you have <form runat=”server”> on your aspx page. It is apparently required, but it does not result in a runtime or compile time error. It just fails silently.
Apr 5th
December 2009
1 post
If you keep getting new instances of the ASP.NET...
…go to project properties for the web site project, Start Options, check Use custom server (instead of default)
Dec 3rd
April 2009
2 posts
“I firmly believe that widgets (local HTML/CSS/Javasctipt web apps) are the...”
– Peter Paul Koch - QuirksBlog: Introduction to W3C Widgets
Apr 20th
“the single most important factor in determining whether or not a person will...”
– Danah Boyd
Apr 19th
January 2009
1 post
“Presence always trumps presents.”
– Joe Kelly, Campaign for a Commercial-Free Childhood
Jan 1st
December 2008
1 post
 - Weird characters in Visual Studio 2008
I am using VS 2008 while most of my team is on 2005. Recently after syncing with CVS, my solution would not build. One of my code-behind files had the characters “” prepended to it. After a bit of googling, I found this: “Those are the marks some Windows applications use to distinguish UTF-8 from ASCII (they are a translation of the U+FEFF byte order marks into UTF-8). I’ve...
Dec 15th
September 2008
1 post
WatchWatch
The Story of Stuff
Sep 25th
August 2008
1 post
“There are no longer ‘dancers.’ the possessed. The cleavage of men...”
– Jim Morrison, The Lords and the New Creatures
Aug 19th
July 2008
1 post
“To every man is given the key to the gates of heaven; the same key opens the...”
– Richard P. Feynman on The Value Of Science
Jul 9th
June 2008
1 post
New YouTube Beta Feature: Video Annotations  →
Jun 6th
May 2008
3 posts
May 23rd
“We are quite literally working ourselves into a frenzy just so we can consume...”
– The Gospel of Consumption | Orion magazine
May 7th
“People who hear about this suit will have a sour taste in their mouth about...”
– A great commentary by Orson Scott Card on The Harry Potter Lexicon lawsuit. J.K. Rowling, Lexicon and Oz
May 2nd
April 2008
2 posts
WatchWatch
This TED talk by Yochai Benkler is about a current, ongoing transformation of the ways in which we live, exist, cooperate and create. It is about the defining trend of our time. It is an exciting glimpse into a possible future, a better way of living and being. It is already here, not on the fringes, but at the very core of the most powerful economies. And while it is neither unstoppable nor...
Apr 22nd
“For of all sad words of tongue or pen, The saddest are these: ‘It might...”
– John Greenleaf Whittier
Apr 3rd
March 2008
4 posts
“Unlike Adobe AIR and Microsoft Silverlight, we’re not building a proprietary...”
– Mozilla Labs announcement of the Prism project (formerly Webrunner)
Mar 29th
If by Rudyard Kipling
If you can keep your head when all about you Are losing theirs and blaming it on you, If you can trust yourself when all men doubt you But make allowance for their doubting too,  If you can wait and not be tired by waiting, Or being lied about, don’t deal in lies, Or being hated, don’t give way to hating, And yet don’t look too good, nor talk too wise: If you can dream - and not...
Mar 23rd
WatchWatch
A very insightfull and funny TED talk by Sir Ken Robinson on the problems of the modern educational system, designed for the needs of the industrial society, end result of which is a system which is “educating people out of their creativity”, educating “from the waist up”, focusing on our “heads, and slightly to one side.” TED | Talks | Sir Ken Robinson: Do...
Mar 22nd
Live from Apple's iPhone SDK press conference -... →
Key points: iPhone in the enterprise Exchange on the iPhone push updates for Email, Contacts, Calendar global address list Cisco IPsec VPN authentication and certs enterprise class WiFi (WPA2 / 802.1x) security policies remote wipe SDK is out Leopard only! Interface Builder Simulator Remote Debugging SQLite APIs for Location, Audio, Video, Touch, Accelerometer, Contacts (SQLite) OpenAL...
Mar 6th
February 2008
9 posts
“It was true that I didn’t have much ambition, but there ought to be a place for...”
– Charles Bukowski, Factotum, 1975
Feb 23rd
“I see all this potential, and I see squandering. God damn it, an entire...”
– Fight Club, 1999
Feb 23rd
Why We Banned Legos - Exploring power, ownership,... →
Feb 20th
Feb 19th
“In a way, the world-view of the Party imposed itself most successfully on people...”
– George Orwell, 1984
Feb 14th
“But the company has declined to do banner ads, said Newmark. He added he already...”
– Craigslist founder talks about open source, banner ads - Yahoo! News (via sox) (via david)
Feb 8th
Feb 8th
“I have no special talents. I am only passionately curious.”
– Albert Einstein
Feb 5th
“The [Microsoft]-Yahoo merger won’t work. Here’s why. It’s like...”
– The Secret Diary of Steve Jobs: Monkey Boy’s three-legged race
Feb 4th
January 2008
4 posts
“True compassion, is more than flinging a coin to a beggar; it comes to see that...”
– The Martin Luther King You Don’t See on TV
Jan 21st
“The implicit message of the Macintosh, as unforgettably expressed in the great...”
–  from http://www.wired.com/wired/archive/4.02/jobs_pr.html this old quote sums up the amazing shift Steve Jobs underwent, from the idealistic hippie kid with dreams of changing the world, who famously and with much contempt and impudence told John Scully “do you want to sell sugar water for...
Jan 20th
“…knowing begins with the awareness of the deceptiveness of our commonsense...”
– ~ Erich Fromm, To Have or To Be
Jan 11th
“Companies that squelch creativity can no longer compete with companies that...”
– gapingvoid: “cartoons drawn on the back of business cards”: how to be creative
Jan 4th
December 2007
26 posts
“What little time is left us in this century is rehearsal time for the chief...”
– The Change Project: Kevin Kelly
Dec 28th