August 2011
4 posts
3 tags
Rogie's Blog: … var b =... →
rogieking:
<html> <head> … </head> <body> <script> var b = document.documentElement; b.setAttribute('data-useragent', navigator.userAgent); b.setAttribute('data-platform', navigator.platform ); </script> … </body>
</html>
An HTML5 boilerplate addon for CSS browser nitpicks
Gone are the days of CSS hacks…
1 tag
How You Should Go About Learning NoSQL →
nosql:
Yesterday I tweeted three simple rules to learning NoSQL. […] The rules are:
1: Use MongoDB. 2: Take 20 minute to learn Redis 3: Watch this video to understand Dynamo.
There’s something missing.
Original title and link: How You Should Go About Learning NoSQL (NoSQL database©myNoSQL)
2 tags
Refactoring Ever: Consuming SOAP Webservices in... →
refactoringever:
I know that’s not very common to use SOAP in Ruby, but this week i needed to consume and came across a gem Savon, a library in ruby very simple and easy to use, maintained by Daniel Harrington.
Install Savon
The Savon is available at RubyGems, to install, you can just run the command…
June 2011
2 posts
May 2011
3 posts
Rails Flash Notice, Case Closed
chuckjhardy:
Syed Aslam has written a good post on adding a close button to your Rails Flash Notice Messages using Javascript. Well worth a read. Here is a short extract…
<% flash.each do |name, msg| %>
<%= content_tag :div, :id => "flash_#{name}" do %>
<%= msg %>
<%= content_tag :span, :style => "float: right;" do %>
<%= link_to_function...
What Blag?: How I Organize My Mac →
whatblag:
Organization is a sort of obsession of mine. I constantly search for what I call “systems” in everyday life. I abide by an ideology of digital minimalism — I use only what I need, and nothing more. I check my email in a certain way. I stay connected with friends in another, and so on, and so…
April 2011
18 posts
Can Your Programming Language Do This? →
Making the Field Notes 2010 Fall Edition
Consider the Retina Display →
SproutCore Blog: SproutCore 1.5 Released →
sproutcore:
We’re excited to announce the final release of SproutCore 1.5. It’s been almost four months since 1.4.5 shipped, and we have lots of exciting new stuff for you.
Changes
Template View
SproutCore 1.5 offers a brand-new way to define your view layer. If you have an existing application,…
You never fail until you stop trying.
– Albert Einstein (via mnmal)
Recursively Setting Deep Hash Value
ilovemetaprogramming:
I’ve always wanted to be able to do something like:
my_hash = {}
my_hash["Cloud"]["Stats"]["Strength"] = 100
p my_hash # => {"Cloud"=>{"Stats"=>{"Strength"=>100}}}
So I whipped up the code below and now I can! Metaprogramming wins again!
class SuperHash < Hash
def initialize
super { |h, k| h[k] = SuperHash.new }
end
end
sh =...
1 tag
GUI in cinema →
March 2011
3 posts
3 tags
Wild west landscape
October 2010
5 posts
Steve had a rule that there could never be more than one hundred people on the...
– John Sculley On Steve Jobs, The Full Interview Transcript | Cult of Mac (via zenhabits)
September 2010
5 posts
There’s an old story about the person who wished his computer were as easy to...
– Bjarne Stroustrup (via mnmal)
Begin with the end in mind.
– Lana Rigsby (via mnmal)
Through return to simple living comes control of desires. In control of desires...
– Lao Tzu (via mnmal)
August 2010
4 posts
Mobile Flash Fail: Weak Android Player Proves Jobs... →
mnmal:
How bad is mobile Flash? When I went to ABC.com and tried to play a clip, I waited five minutes while the player said “loading.” During that time, it was nearly impossible to scroll around the page or tap objects on it. Eventually, I scrolled up to see a message that was previously obstructed and said ”Sorry. An error occurred while attempting to load the video. Please try again later.”...
Ryan Freitas: 35 Lessons in 35 Years →
My father always told me that the day we stop learning is the day we die. I wrote this as a sort of preparation for my 35th birthday last week. Some of these are poignant, others are simply trite; I attribute the latter to my growing sense of sentimentality as I age. That, and I need an editor.
…
Fudoshin
mnmal:
A spirit of unshakable calm and determination, courage without recklessness, rooted stability in both mental and physical realms. Like a willow tree, powerful roots deep in the ground and a soft, yielding resistance against the winds that blow through it.
July 2010
10 posts
The Five Spirits of Budo →
mnmal:
Shoshin: (初心) Beginners Mind
Zanshin: (残心) Lingering Mind
Mushin: (無心) No Mind
Fudoshin: (不動心) Immovable Mind
Senshin: (先心) Purified spirit; enlightened attitude
The Untold Story of the World's Biggest Diamond... →
Leonardo Notarbartolo strolls into the prison visiting room trailing a guard as if the guy were his personal assistant. The other convicts in this eastern Belgian prison turn to look. Notarbartolo nods and smiles faintly, the laugh lines crinkling around his blue eyes. Though he’s an inmate and wears the requisite white prisoner jacket, Notarbartolo radiates a sunny Italian charm. A silver...
The ever-arrogant Apple →
mnmal:
A must read. It’s too funny.
Look what they’ve done to poor Adobe, yanking away their right to spend more than three years figuring out how to run Flash on mobile devices. Look what they’ve done to the world’s developers, telling them to write specifically for iPhone rather than just port over apps designed for less capable phones. Compounding their sin, they have the unrelenting gall...