After 4 months of waiting, I finally got my new Watch: The Basis. You can read more about it here. It has a whole bunch of sensors in the form factor of a watch, that makes it really convenient to monitor your body. It continuously captures heart rate patterns, motion, perspiration and skin [...]
I ran into this problem recently. It was pretty hard to correlate the error to the solution.
hitting my /users/new method had suddenly produced this error
undefined method `model_name’ for NilClass:Class in my view on this line <%= form_for(@user) do |f| %> The obvious thought was that somehow my controller did not define @user – [...]
As usual, I discovered I knew something because someone asked me how I do something they had observed me doing. This has become an interesting pattern for me: I am unaware of things I am competent at. This is not a good place to be because it means you cannot teach it to others. Being consciously competent, [...]
My 2007 macbook pro was too old to take the mountain lion upgrade. Fine, I took the plunge and forked over the money for the new retina macbook pro.
You don’t normally use words like ‘breathtaking’ when talking about laptops, but I am tongue tied. This laptop is like nothing you might have used before. [...]
The Shopify blog put together a list of 12 talks for entrepreneurs. Here is my list of the major points of the talks:
Dan Ariely: Are we in control of our own decisions ?
(read his amazing book, predictably irrational)
We are not always in control of our decision making – and [...]
A recent conversation with a colleague left me thinking about decision making, and the effectiveness of decision making.
How decisions are made impact the effectiveness of the decision, and it is not obvious that everyone thinks through this before deciding.
Imagine that you are a manager. You can
Mandate a decision Make a decision, but [...]
Like many others, I mourned Steve Job’s demise. I chanced upon an article which described how he quit Altair because he wanted to visit India.
The obvious thought after reading this was to indi-fy his picture.
Of course, this work was done on a mac, using pixelmator from the macos [...]
An interesting article doing the rounds is one titled ‘Why Women Rule The Internet‘. It is authored by Aileen Lee, who is a partner at Kleiner. The article is just strange. I fail to understand the premise and the conclusion it draws.
The premise of the article is
– Women are the [...]
I was experimenting with the Canvas tag, and the code below worked great on Firefox, but would not on Safari or Chrome:
function draw(img) { var canvas = document.getElementById("canvas"); if (canvas.getContext) { var image = new Image(); image.src = "http://localhost:3000" + img; var context = canvas.getContext("2d"); context.drawImage(image,0,0); } }
Quite baffling. No errors on the [...]
Websockets have the potential to make a big difference to loading on webservers, and improve interactivity characteristics of client side.
Coupled with Redis for persistence and Node.js for a fast web server can make a huge difference to the performance of your web server. I will focus on websockets in this tutorial: Redis [...]
-
Categories
-
Calendar
May 2013 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta

