April 25th, 2010
Témata a ideje současné mladé radikální levice se většině mladé generace jeví přinejlepším jako strašně vzdálené a odcizené. Anebo kladou nároky na sebeomezení vlastního hedonismu, což platí rovněž o jinak atraktivní ekologii. A tohle sebeomezení, to je přesně to, co se většině mladé generace nechce, ač by ho ráda předepisovala všem jiným, zejména nezaměstnaným a staré generaci.
April 14th, 2010
Many pundits have complained about the iPad’s inability to support multitasking, and while I can see how that makes it impractical as a tool for work, it’s actually an asset for someone who just wants to focus.
— Laura Miller, The iPad is for readers
April 12th, 2010
Geeks control the Internet because geeks built the Internet. We earned the freedom we have here. We earned it by creating something incredibly valuable and sharing it with millions and millions of people. What did we earn with the App Store? Did we build the App Store? Did we write iPhone OS? Did we design the groundbreaking hardware? Or are we just customers?
March 29th, 2010
We can honestly report that we’ve been unable to find the right monetization strategy, one that allows for us to provide the level of service that our users require.
March 18th, 2010

In 2008, a pair of researchers at the University of Texas showed that the customer data released for [Netflix first] contest, despite being stripped of names and other direct identifying information, could often be “de-anonymized” by statistically analyzing an individual’s distinctive pattern of movie ratings and recommendations.

By examining correlations between various online accounts, the scientists showed that they could identify more than 30 percent of the users of both Twitter, the microblogging service, and Flickr, an online photo-sharing service, even though the accounts had been stripped of identifying information like account names and e-mail addresses.

March 12th, 2010
So because of a dictum from the IT department, HP — one of the biggest, proudest, and most successful companies in the history of the computer business — has URLs that are cryptic, long, and ugly. Whereas anyone with, say, a Tumblr account, can get far nicer URLs for free.
March 9th, 2010

Fix Textmate’s Shoulda bundle broken shortcutes for deeply nested files

When you’re using Shoulda — and you should :) — on a Mac, you’re probably addicted to ⌘⇧R and ⌥⇧R shortcuts for running currently focused should/context.

That works rather well until your testfile is deeply nested (like in test/unit/my_module/something/complicated_test.rb) — then it falls on it’s face with Load Error: no such file to load — test_helper.

There is only one solution, and that is to tell Ruby to really, really include the test directory in $LOAD_PATH when running the script. One of the possible implementations of this solutions — and I am quite sure you’d come with much better one any moment — is this one.

Go to Bundles > Bundle Editor > Show Bundle Editor menu in TextMate and find the Ruby Shoulda bundle. Locate the Run Focused Should and Run Context entries and place the following snippet strategically at the bottom of the displayed shell script.

Notice how we drop to Ruby for massaging the TM_FILEPATH, a clear sign we’re no Unix geeks, no, mister.

One thing that’s become clear is that the film industry feels no confidence about the cultural significance of its own products. Hollywood’s self-appointed division of self-importance, the Academy of Motion Picture Arts and Sciences, passed up the chance to honor one of the most ambitious and successful films the American movie factories have ever made in order to hand out hardware to a mid-budget, semi-independent production made in Jordan without movie stars.
March 5th, 2010

Data structure for Salvatore’s Twitter clone in Redis

If you’re interested in Redis, you should definitely check real-world scenario, @antirez’s tutorial on building a Twitter clone in Redis and PHP. It’s worth to pay close attention how all the information is modeled in Redis, so I have put the overview of the architecture in the following gist:

You’ll notice the need for a really heavy de-normalization. It’s a useful reminder that you just can’t query anything by the value — as we are used to do in relational databases or CouchDB, MongoDB and such. In Redis and similar databases, the querying is done only by the key.

Note the same pattern again and again, in theory with a relational database the list of following and followers is a single table with fields like following_id and follower_id. With queries you can extract the followers or following of every user. With a key-value DB that’s a bit different as we need to set both the 1000 is following 1001 and 1001 is followed by 1000 relations. This is the price to pay, but on the other side accessing the data is simpler and ultra-fast.
February 17th, 2010
I myself don’t feel it is stealing, because I put all the material into a completely different and unique context and from the outset consistently promoted the fact that none of that is actually by me.
February 16th, 2010
Také samotné IT profese se mění – IT odborníci se transformují do kombinace IT specialisty a byznys konzultanta. Například systémový specialista se stává spíše IT architektem. Programátor se transformuje do analytika, který umí programovat. Případně musí odborníci zvládat více technologií najednou, takže jsou schopni nabídnout balíček řešení. Firmy očekávají, že za své peníze získají všestranného a velmi užitečného zaměstnance.
— Petr Krčmář, Root.cz
February 12th, 2010
CS is not like an English paper where you can just turn it in and there’s not a way to say if it’s a good paper or not,” [a computer science major and a teaching assistant] said.
“At 3 a.m, you can be looking at a program and definitively say that it’s not going to work.
February 3rd, 2010
This is really good stuff. But why did someone mute the laugh track?
January 31st, 2010