Listing all texts for September 2011

Monday, September 26th 2011

Misc. links Sep 12th - 26th

The fiction of the creative industries by Florian Cramer. From a Dutch perspective but translates well into the Portuguese reality. The gist of it — the ‘creative industries’ hype conceals centralism (and nepotism) under a veneer of advertising, and harms both non-profit Art and independent creative businesses. Agreed! Ricardo Lafuente ···

A Reddit group about explaining stuff in a way a five-year-old could understand. ···

JavaScript Garden: good documentation about the idiosyncrasies of the language. ···

Txt2re is a useful regular expression generator. Headache relief indeed. ···

An introduction to Arduino — a comic book. Perhaps I’ll start tinkering with electronics now? ···

This realtime face substitution demonstration is easily the creepiest video I’ve seen recently. It almost seems like a nasty device out of cyberpunk sci-fi. ···

A selection of the best moments from The Simpsons, according to Wired. ···

You Are Not a Photographer. Or, owning the kit and using it on occasion doesn’t make you a master — sometimes, hardly an apprentice, it seems. ···

Wednesday, September 21st 2011

Learning++

A couple of months ago, I’ve wrote about how impressed I was with Harvard University’s OpenCourseWare, namely the Computer Science 50 online materials. Back then I had just started watching a few videos of the lectures; now I feel as if I just completed the course — which I could, since you can be graded for a (expensive) fee. I watched the lectures (fastforwarding through the web programming and the silly parts) and completed almost all problem sets (again, skipping the PHP exercises): during the last couple of months, as per the exercises’ specifications, I wrote simple games such as a Sudoku with a rudimentary text-based UI, manipulated the raw data of BMP images, extracted JPEGs off a ‘formatted’ memory card, and implemented a command line spell-checker using some byzantine (at least for a newbie) data structures. All in good, old-fashioned C.

There’s something in the concept of video lectures that addresses both my instinct for self-learning and the inevitable need for some sort of formal training in technical subjects. Programming-wise, my learning process has been quite a mess, and my only formal training on the subject was a quick course in Visual Basic back in 1999, and a Web Technologies course during my Master’s, which may have filled some gaps in my knowledge of stuff such as HTML, PHP or SQL, but in the end didn’t add much to subjects I have been learning on my own since years earlier. Perhaps I could have dived into something more genuinely ‘computer-sciencey’ such as C as well, but these were matters I always found too arcane when read about. On top of that, I’d hear people referring to C++, perhaps because of its weird name (we all obvously missing the joke), as the ultimate in unnatainable programming-fu (which it is definitely not — unnatainable or ultimate in any way), and as my life took me to other places I just lost interest in learning more programming.

Slowly I came around as my plunge into web programming brought a few nagging questions I felt related to a lack of some basic insights. And in that process I noticed that indeed there are some matters that seem much easier and attainable if you listen to a verbal explanation instead of just reading a manual; and that is why I found video lectures the perfect balance between formal training (without the formalities of schedules or not wearing pajamas to class, etc) and self-teaching (without the dryness and the sudden inferences of readers’ knowledge found in most programming books*). And two particular insights are worth mentioning:

Firstly, C isn’t complicated: what it is is really basic, in a way that forces you to write everything. After learning about memory management in C, never again will I mumble when PHP forces me to type array(…) to get a hashtable — other languages may have prettier syntax, but I take PHP’s gladly over implementing the hashtable myself. Anyway, now I feel I able to take on learning any new language with more confidence. Perhaps I’ll have a go at some LISP, through the Abelson and Sussman MIT lectures. Or perhaps I’ll try the printed page again and Seven Languages in Seven Weeks.

Second, I found new respect for the command line. Like many who endured the MS-DOS prompt in order to get the right memory settings to play Dune II, I had a deep-set dislike of command line interfaces. But while learning C I started to get the Unix command line a lot better, moving a bit beyond a handful of often used commands or the incantations copied and pasted from help forums. Being used to the Windows desktop for my work, a decent Unix-like CLI like Cygwin quickly became an important part of it. I’m too old and wary of fetishism to engage in the h4x0r pretense command lines are the Only True Way, or to believe ordinary computer users are somehow ‘lusers’ **. I say go for what you need to do, and go for you want to do, the most confortable way. I found the CLI indeed more confortable for many tasks.

At the moment, I actually don’t intend to do much with my new knowledge in C. I might cross the short bridge into C++ in order to do stuff with OpenFrameworks, but don’t feel compelled just now. I wasn’t, after all, specifically motivated to learn C. What I wanted was to know more, and I got it.


* Which is why I found Daniel Schiffman’s Learning Processing such an incredibly refreshing exception.

** Something must be said of some communities’ pathological need to generate unintuitive jargon and drive towards user-unfriendliness (and quite often despite pleasing-looking websites). Look at the Unix man(ual) pages for (some) contrast, or PHP’s thorough and easy to read documentation, which I believe to be the reason for the runaway success of a language often derided as a ‘verbose monstruosity’.

Saturday, September 17th 2011

Zero Comments

Perhaps those guys at Tumblr were on to something when they decided to forgo commenting altogether from the start. It took me a while to realize — after all, one always wants more features in one's website (especially something as ridiculosly easy to implement) —, but I've come to believe they are right. Probably I should have taken the opportunity provided by last June's Great Redesign, but I finally removed the comments from this website.

I must stress this wasn't caused by any unpleasantness or moderation issues, but quite the opposite — the whole comments thing had gone stale, and it became annoying to have these useless UI elements after each blog post with 'zero comments' written on it. Given that the number of unique visitors to this site has been slowly but steadily growing for years, I guess RSS feeds and social networks just made comments irrelevant. After all, the site already points to enough other ways to interact with me.

Monday, September 12th 2011

Misc. links Aug 30th - Sep 11th

Free online courses by famous philosophers. Since I’m really getting into watching OpenCourseWare videos (at least until the fifth season of Mad Men starts), perhaps I’ll put some of these on my watchlist. ···

Was Marx Right? A very relevant article, published not in some Pravda but in the Harvard Business Review. Mind you, I think the fact that the author spends the first three paragraphs in apologies and explaining he isn’t a communist is quite revealing about our societies’ mindset. Even if the communist remedies tried in the past were catastrophic failures, that doesn’t necessarily mean the Marxist diagnostic is wrong. For the most part, it is not. ···

Ikea Heights is a soap opera filmed in Ikea stores. While open. And without the staff noticing. Good job! ···

License plate SQL injection for the win! Could this be real? I guess someone read this. ···

Codecademy is a good (and fun!) place to learn yourself some Javascript. The interactive tutorial is still pretty short, but hopefully it’ll grow. ···

3D computer graphics done in 1972, by one of the founders of Pixar. As impressive as it may be, I still find it short of the awesomeness of Ian Sutherland’s Sketchpad demonstration from nine years earlier. I mean, that one still is pretty awesome today. ···

What People Don’t Get About My Job — from A(rmy Soldier) to Z(ookeeper). An interesting set of testimonials. ···

The evolution of the Web. A cool visualization of the evolution of web browsers and technologies since 1990. Things really got out of hand in the last few years… ···