Tuesday, July 31st, 2007

Kasparov explains Russia

Filed under: — Daniel Lemire @ 7:00

Kasparov is arguably the greatest chess player in history. It takes a man with a healthy brain, lots of memory, and an incredible determination, to achieve such a mythical status.

Unfortunately for Putin’s government, Kasparov is their opponent. Here is what Kasparov suggests we do to understand Putin:

If you are in a real hurry to become an expert on the Russian government, you may prefer the DVD section, where you can find Mr. Puzo’s works on film. “The Godfather” trilogy is a good place to start, but do not leave out “The Last Don,” “Omerta” and “The Sicilian.”

Of all people, I think Kasparov is one of the few the Russian government will not touch. Or, at least, I hope this is true.

Monday, July 30th, 2007

2007 International Symposium on Wikis (October 21-23, 2007)

Filed under: — Daniel Lemire @ 20:18

It is too late for the call for papers, but WikiSym 2007 will held in my home town. I like the slogan of the symposium: Open, Organic, Participatory Media for the 21st Century.

Source: Seb Paquet.

Eclipse Search Dialog box is killing me

Filed under: — Daniel Lemire @ 17:46

Eclipse is a great IDE. Up until I tried Eclipse, I thought that IDEs were for wannabes programmers. You know the type: why does programming have to be sooo hard, why can’t I just click and click? Well, programming is a design task and design is hard. So, just like there is no automated tool to generate the next iPod killer, there is no tool to generate great software.

Not so with Eclipse. That’s an IDE for real men.

There is one think that really annoys me with Eclipse, and that’s the Forward/Backward choice, see on the image:

Ok. What is the problem exactly? How often do I want to search for a string in a document, but only “Forward”. Never. I almost always want to know whether the string is present in the document. Period.

This is a case where the default option is a complex query while most people only needs something simple. Bad design. Bad. Bad.

Most of the time, I barely know where my cursor is. All this stupid dialog box does, most often, is lead me to conclude that the string I search for is not present. At the very least, the Eclipse people should have a warning when the string you are searching for was not found but could be found if you opted for the Backward option. This would take me exactly 15 minutes to implement this if I knew the Eclipse code base.

Disclaimer. This post is in no way sexist. Women can program as well as men. Or, at least, I have no evidence to the contrary.

Update. Thanks to Raghuram, I now know I am an idiot. Not that it takes me by surprise. Turn on the wrap search option.

Friday, July 27th, 2007

Web Development Bookmarklets

Filed under: — Daniel Lemire @ 22:34

These Web Development Bookmarklets are really great. I really enjoyed the JavaScript shell: you can actually “drop down to a shell” and write JavaScript code interactively. At last!

Scalable Web Development

Filed under: — Daniel Lemire @ 18:56

Here is a list of slides of various major Web projects where scalability had to be addressed. I am starting to think about a course project where this would be addressed specifically. Since I am not into software engineering, Web programming is nothing but a technical task for me, but if you throw in high scalability, the topic becomes very interesting and very database-related. In English, the course title is a given (Scalable Web Development), but I am unsure how to call it in French. I do not know exactly how to render the word scalable in French: vague terms are typically difficult to translate. Maybe a title like Programmation web et mise à l’échelle. It is a bit long, but it is the best I can do.

Scalability means three things, at least. First, you have to the number of hits that your server takes every second. That’s IO and CPU scalability. Then you have user-scalability (going from 3 users to 3,000,000) and everything it implies (abuse and spam). Finally, you have design scalability: how fast can you come up with the application, and how fast can you update it as things are crashing and burning.

Topics covered would include:

  • Memcache
  • Ruby on Rails
  • Python
  • PHP
  • MySQL
  • Custom data structures (flat files)
  • Partitions
  • ECMAScript and AJAX

Am I missing anything? Yes, Java is absent.

Students would conclude the course with a project that would have to be design to take a lot of abuse, or at least, design in such a way that if it did get abused, people could come in and fix it easily. For example, students would have to explain how they would partition it and so on. Maybe they’d have to run tests on how it scales (but that’s not entirely satisfying). I’d certainly allow students to come up with sites that they can turn into a business.

It would probably be a course from hell. But then, I am convinced that challenging courses is not what kills students. Boredom and couldn’t-care-less instructors do.

Update. Maybe facebook applications and map reduce should be included.

Wednesday, July 25th, 2007

Heh. Indeed.

Filed under: — Daniel Lemire @ 17:25

Stephen Downes cites Tom Hoffman:

A lot of IT infrastructure is fragile rickety crap, and the people responsible for it aren’t smart enough to fix it so they make rules and place blame based on little more than superstition.

You think this is false? Recently, Monday in fact, I asked a copy editor to install Open Office so that she could open the Open Document Format files I was sending her. The answer? The IT people say that Open Office is incompatible with Microsoft Office so it cannot be installed. Total nonsense, but the users buy this. Beautiful. IT people aren’t smart enough. The perfect way to become obsolete fast.

Digitalizing my old VHS tapes

Filed under: — Daniel Lemire @ 9:00

I started out a big project a couple of weeks ago. Using my MacBook, I decided to digitalize my stuff. I ordered from FrontierPC
(probably the best e-commerce site for techies in Canada) an ADS PYRO A/V Link Analog to DV Video Converter. Several years ago, I had bought an earlier USB-based ADS converter but it kept on crashing my PCs: the driver was poor and USB didn’t have the bandwidth. This last version is firewire-based which is much better suited for the task. You basically just have to plug it in and MacOS will recognize the video source, without any extra software. However, things are far from perfect: you can’t digitalize noisy video content since the ADS box will simply fail and skip video streams with too much noise. It is not clear either what constitutes “noise” since it failed on videos that looked nice enough to me.

However, if you have good quality VHS tapes lying around, this is a great time to digitalize them on the cheap. As an example, here is a TV interview I gave in 2001 for the TV show “C’est mathématique” (in French):

I consider that the quality is excellent, especially after all the compression Google Video does.

Next Page »

30 queries. 0.198 seconds. Valid XHTML

Powered by WordPress

Subscribe to this blog in a reader or by Email.