Wednesday, April 28, 2010

Russian government uncovers secret documents related to Katyn

The scanned originals are here on the RusArchives site (in Russian). That's big. The Poles should've discovered those natural gas deposits of theirs earlier, I say -- these documents would've been public for years now.

Guido van Rossum and David Pollak on Scala

There's an insightful blogpost and thread followup on Guido van Rossum's blog from 2008 on Scala. Guido skims through the Programming in Scala book and comes out nonplussed:
I have to agree with Steve -- if this is what it takes to have compile-time type-safety in a language, I'll take dynamic typing any day. There's got to be a better way -- perhaps Haskell? Haskell is a pure functional language with a fast implementation that seems to have solved the I/O problem of functional languages well -- while its Monads are truly deep and take real work to create, their use seems quite straightforeward.

Perhaps my biggest disappointment in Scala is that they have so many rules to make it possible to write code that looks straightforward, while being anything but -- these rules all seem to have innumerable exceptions, making it hard to know when writing simple code will work and when not.
David Pollak, the guy behind Lift web framework then makes a valuable point that I think I agree with very much. Scala is about tradeoffs, and getting the compiler involved in validation of your library design while keeping the glue code / code that uses the library pretty and transparent.
Unlike any other language I've used (C, C++, Objective-C, Java, Ruby, etc.), the kind of thinking I have to do as a library consumer and library producer are radically different.

As a library consumer, I rarely concern myself with Scala's type system... or most of the other language complexities. My consumer code looks and feels a lot like my Ruby code did. I've got great DSL support. For the most part, the types that the compiler doesn't infer are the ones I need to document anyway. But, unlike my Ruby code, I only need 50%-60% test coverage (vs. 95% coverage) to have stable, deployable code.

As a library producer (http://liftweb.net), I spend a lot of time reasoning about the types of parameters. This allows the compiler to flag illegal types (e.g., passing an Int into a query against a VARCHAR column). The type system also allows me to reason about my code and how the consumers will use my libraries in a way that I could not do in any other language I've ever used.

Tuesday, March 2, 2010

Nostalgia in Times Square


Yea, I was hanging out in Times Square, reminiscing to the rhythm of the city.
Walking up and down Broadway, checking out all them fine babes.
Dancers on their way to class. Birdland, the jazz corner of the world!
Yea, I played with Mingus at Birdland one night. I said, Charles, can I play one with you?
He said yeah, come on, man. As long as the union don't bust us.
Well, no sooner said than done, Mingus counted off Charlie Parker's "Coco", fast as he could play it.
And man, that was fast.
Well, I got off two choruses without getting too bruised. And then when the set was over James Hoodie came over and gave me a big hug, and said, man, you made it! Made me feel real warm. Gave me the courage to keep on keeping on, Jack. Yeah! Well, I sure felt good that night.

The Mingus Big Band, "Nostalgia in Times Square"

Wednesday, January 20, 2010

Max Raabe and the Palast Orchester: party like it's 1929!

"If you are in a mood to party like it's 1929, then the anachronistically dapper Max Raabe can take you there with his revival of Weimar-era cabaret and tin pan alley classics. While the lyrics of tunes like "You are my Greta Garbo" betray a sense of irony that is surprisingly in tune with our times, Raabe's dedication to the sound and spirit of these old songs is fully in earnest." -- German Missions in the US

Here's a little sampler of their tunes from their website.

Also, search for Max Raabe on Youtube for another set of their gorgeous performances.




Wednesday, December 23, 2009

Another BlackBerry™ BIS outage.

CrackBerry reports there's been another BlackBerry BIS outage yesterday. Yay! A Christmas reminder to the devs: avoid BIS like the plague in your apps. I do.

Tuesday, December 8, 2009

IntelliJ Idea 9.0 is out!

Good news, everybody! IntelliJ Idea 9.0 is out! Go grab it, there's enough for everybody!

In case you didn't know, this year's release comes with a Christmas present for all you good-behaving boys and girls: an open-sourced Community edition. There's a ton of goodness in the Community edition, and a ton more in the Personal $249 edition ($149 if you're upgrading). If that sounds like a lot of money, compare ingredients and price with the MS Visual Studio.

So ditch your Eclipse into the gutter right now, and run to get your very own copy of Idea!

Thursday, December 3, 2009

Speaking about Austria

In my previous post I jokingly mentioned that we shouldn't be surprised if Austria follows the Swiss lead on banning the minarets. I don't claim to know much about Austria, but it turns out I wasn't exactly wrong here. Farid Hafez has an article (Google English translation) in Austrian Der Standard on 30. Nov which argues, very reasonably, that the Swiss ban is only a manifestation of a much more serious phenomenon of widespread paneuropean islamophobia. He also mentions that whereas in Switzerland it looks like an absurd paradox, a very controversial decision with no unified majority behind it, in Austria the support for such hypothetical measures has much more of a consensus behind it. An in fact, an Austrian land has approved exactly such a ban a minarets, although more covertly, two years ago in 2007:

In fact, Austria was the first country where such a ban was implemented. While a resolution of the FPÖ in the first half of 2007 was soundly defeated in the National Assembly still took advantage of the Carinthian governor a chance, a mosque and minarets of launching. Such however, could not use the votes of his own party alone prevail. Thus, the Austrian People's Party agreed with Carinthia.
But what's even more worrying is true is the fact that a party of the "center" in another state, this law still half a year earlier decided. While in Carinthia, the law on 18 December was implemented in 2008, was in Vorarlberg ÖVP under a majority, 20 June 2008, the first mosque in Europe and Minarettbauverbot blessing. All these laws were in Austrian style of course less clear and direct than in Switzerland (change of Ortsbildpflege Act and the Building and Regional Planning Act formulated). It turns out that even in this part of the political elite of the "middle" such a ban is supported. A consensus of the parties, churches and civil society against such a ban in Switzerland can not be found. On the contrary, the Feldkircher diocesan bishop at that time supported such a mosque and Minarettbauverbot. Even members of the Federal Government appropriate arguments were heard.
Sorry about the automatic translation -- maybe Greg can provide a better one.