Photo courtesy of Miss Fipi Lele.
Google Translate’s Strange Results
Here’s something pointed out by a guy on Reddit, who took his cue from an entry in the French blog Zorgloob: take a look what happens when you enter sarkozy sarkozy sarkozy (as in French president Nicolas Sarkozy) into Google Translate and select a French-to-English translation:
Here’s some other input that yields interesting output:
- sarkozy is chirac – Blair is classless
- “sarkozy is chirac” (note the quotes) – Bush is classless
- sarkozy bush chirac – Bush defends Moss
Is it an Easter Egg by some politically-minded pranksters at Google? Or users abusing the “suggest a better translation” feature? Or a quirk of the way it translates, which one Reddit reader says is based on training by “feeding it documents which have been translated into many languages by the likes of the UN”?
Comic taken from the book Thinking Forth.
Click the comic to see it in its original context.
(If you’re wondering why someone would GOTO a number, it’s likely that you’re too young to have worked with versions of BASIC that required line numbers. Consider yourself very, very, very lucky.)
Tim “Ongoing” Bray’s Take
Tim Bray posted a blog entry on what drives adoption of a language in which he included some tables such as the only below:
Flawed
FoundersPolished
SuccessorsProcedural FORTRAN, COBOL, PL/1 C Object-Oriented C++ Java Higher-Level Perl, TCL Python, Ruby
This table of his should inspire a monkey knife fight on a number of blogs:
Flawed
FoundersPolished
SuccessorsWeb-Centric WebObjects, ColdFusion, ASP.Net, Struts, etc.,
etc., etc., PHPRails
Here’s an interesting one. What will JavaScript’s successor be? My guess for the short-term (by that, I mean “the next half-dozen or so years”) is “the next version of JavaScript”.
Flawed
FoundersPolished
SuccessorsMobile-Code JavaScript ?
The one about concurrent programming is a little more up in the air. Although there are other languages designed with concurrent programming in mind (either from the ground up or with concurrency retrofitted onto an existing language) and there have been for a while (I used Concurrent C in a course back at Crazy Go Nuts University in the early ’90s), Erlang is getting a lot of the attention these days since it has both a success story at Ericsson under its belt as well the clout of a Pragmatic Programmers book behind it. There is a feeling among some programmers (Bray included) that it isn’t going to be the language to turn concurrent programming from arcane art into mainstream practice:
Flawed
FoundersPolished
SuccessorsConcurrent Erlang ?
Shelley “BurningBird” Powers’ Take
Shelley Powers disagreed with Tim’s assessments in her posts Flaws are in the Eye of the Beholder:
I find it fascinating when a person marks as ‘flawed’ the languages that have, literally, defined not only the web but application development of all forms. Perhaps the metric shouldn’t be on syntax, form, or function, but on usability.
Here’s her own table on languages:
'Perfect', but barely used 'Flawed', but simple, approachable, powerful, popular Higher-Level *Ruby (every time I see 'Ruby' I mentally add, Mama's precious little…) *I’m giving Python a slide because Python has fairly widespread use today.
Perl Client side code (The to-be-created scripting language that will take a nice, clean, easy to use language and morph it until it satisfies the purists, while breaking faith with the millions of users just trying to do a job) JavaScript Object Oriented Java (bloated beyond recognition with senseless additions and overly complex infrastructures) C++ (which can kick Java's ass performance and resource wise) Web-Centric Rails (you know that thing they used for the one application?) Cold Fusion, ASP and ASP.NET, PHP
Those of you who recall Bjarne “C++” Stroustrup’s line “There are just two kinds of languages: the ones everybody complains about and the ones nobody uses” or the essay Worse is Better (or the essay that led to it or Jamie Zawinski’s commentary on it) should be feeling deja vu now.
As for Shelley’s table, I’d probably have put “PHP” where “Perl” is right now.
My Own Take
I think that right now, the “scripting languages” are stuck in something akin to “Three Stooges Syndrome”. That’s the disease where Mr. Burns from The Simpsons, being so old and frail, has so many diseases trying to get at him at the same time that they’re all “stuck in the door”. The doctors illustrated the syndrome with a model, shown below:
And since Tim and Shelley have their tables, I thought I’d make one too:
Scripting Stooge | What’s Driving It |
---|---|
Perl | Legacy: it was the original “duct tape of the internet”. |
PHP | Widespread adoption, drives a lot of apps, easy to program, easy to deploy. |
Python | Very readable, one of the 4 languages approved for use at Google (the others being C++, Java and JavaScript, according to Steve Yegge). |
Ruby | Ruby on Rails, which is a very nice framework from the web app developer’s point of view. That and maybe the fact that DHH is rather photogenic (although PHPer-turned-Pythoner Leah Culver could give him some competition). |
According to the Sybarites site, there’s a Ferrari-branded Segway:
Segway have teamed up with Ferrari to release a special limited edition version of their i2 Personal Transporter. Ferrari have used Segway’s as a transportation method around their Maranello factory for sometime now, the Segway PT i2 Ferrari Limited Edition comes in Ferrari’s signature color, red and features the Scuderia Ferrari logo at the base. It has a range of almost forty kilometers off one battery charge and can be easily stowed in the trunk of a car for longer journeys. It comes with a handlebar bag made of leather.
Here’s a YouTube video that shows all the startup screens and sounds for Windows, from version 1.0 up to the present. If they ever make a geek version of Koyanisqatsi or Baraka, they should include something like this:
Can’t see the video? Click here.
Google Tidbits
For your lazy (or perhaps not-so-lazy…maybe you’re hitting that Erlang book — and good for you if you are!) Sunday reading, here are some Google stories for your enjoyment.
-
The Google Way: Give Engineers Room – A New York Times article in which Google software engineer Bharat Mediratta talks about the “Google 20%” — the portion of their working time in which they are encouraged to work on something company-related that interests them personally.
For another Googler’s notes on the 20%, see Joe Beda’s oft-cited blog entry, Google 20% Time.
-
Google Execs Really Do Hate Evil: It’s a tiny part of a roundup of the last day of O’Reilly’s Web 2.0 Summit that took place in San Francisco this past week, but it’s interesting:
During a panel of former Google employees, they confirmed to moderator and conference chair John Battelle that, yes, Larry Page and Sergey Brin do factor heavily into business and technology decisions whether they will have evil consequences.
-
Google. Who’s looking at you? – The Sunday Times has an editorial piece on Google…
Google likes to think of itself as “crunchy” – wholesome and worthy – and, walking into the Googleplex, it looks, at first sight, a pretty crunchy kind of place. There’s free coffee and muesli in the No Name breakfast cafe. Everyone gets around the campus on free bicycles. In the car park, the canopies that protect the neat ranks of hybrid Toyota Priuses from the sun are made from solar panels that power each building in the 1.5-million-sq-ft complex. There are swimming pools, massage chairs and free medical checkups. A model of Sir Richard Branson’s SpaceShipTwo prototype commercial spacecraft hangs from the rafters in the lobby. This is rocket science, after all.
…
But as it prepares to celebrate its 10th birthday, Google has developed serious engine trouble. A series of missteps have left it facing claims that it has gone from a benign project – creating the first free, open-all-hours global library – to the information society’s most determined Big Brother. It stands accused of plotting some sinister link between its computers and us: that it wants, somehow, to plug us into its giant mainframe – as imagined in The Matrix or Terminator.
-
Google Turns Out the Lights: Google turned their home page’s background black in support of the event Lights Out San Francisco, an event in which people in the city by the bay were encouraged to turn out their lights between 8 and 9 p.m. last night.
It’s a good symbolic gesture, but there still seems to be some debate over whether a black Google screen uses less energy than a white one. I think the assertion was first made in the blog ecoIron, and Google has stated that black pages don’t necessarily use less energy than white ones. Can anyone point me to more info about the debate?