Fast ausgestorben. 🙁
Author: riyad
It’s like The Truman Show, at country scale
It’s like The Truman Show, at country scale.
Sophie Schmidt (daughter of Eric Schmidt) on her trip to North Korea.
Secrets of Search
Douglas Merrill from Google talks about what it takes to build a search engine for the web.
Besides that what strikes me as interesting is their choice of languages “focusing” (he didn’t exactly say that, but it’s what you understand, when he says they won a prize for it) their efforts in machine translation on: Arabic and Chinese … o.O
Discussions for GitLab landed
My patch for revamping the comments and adding proper discussion threads has been accepted and will be in GitLab 4.1 (due next week). 😀
Designing For The Empty States
Craig Dennis has an interesting blog post why and how you should design empty states in your apps.
Orchestrated Text
There is a cool experiment trying to make people understand classical music better. It does so by “narrating” pieces while they are played, hence “Orchestrated Text“.
Man’s First War: David Livingstone Smith
Default Values for Boolean Options in Ruby
Let’s say you read settings from a YAML file and have some sort of settings object. Then you check if certain options are set with custom values or you have to set default/fall-back values on them. If you are dealing with Boolean options you have to be careful … as I had to find out myself.
Initially you would probably do something like the following to set a default value on a Boolean option:
settings[:some_option] ||= true # set default value if nothing set
Do you see the problem? What happens if the option was deliberately set to
false
? You would overwrite it because both cases
nil
(i.e. nothing set) and
false
would evaluate to
false
in the context of the
||=
operator and you would in both cases assign the right hand value (and overriding an explicit user choice in one case) … *ouch*.
So the correct solution is something like the following:
settings[:some_option] = true if settings[:some_option].nil?
Just be careful … 😀
29C3
As you may have heard the 29c3 is over and there is a ton of great talks … 😀
A Mom’s Contract With Her Son
Awesome parenting: a mother’s contract for her son’s new iPhone. 😀