| |||||||||||
|
24.1.14
Gagging Law---still a problem
22.1.14
Craftsman or Scientist?
More from Dijkstra (see previous entry), this time on whether computing is a craft or a science. Of course, it is both. Spotted by Sebastian Fisher.
My somewhat elliptic title refers, of course, to the programmer; so much you may have guessed. What, in all probability, you could not have guessed, is that I have chosen to use the words "craftsman" and "scientist" in a very specific meaning: they have been chosen to characterize the results of two extreme techniques of education, and this luncheon speech will be devoted to a (be it short) discussion of their role in the education of programmers, in the teaching of programming. For the transmission of knowledge and skills both techniques have been used side by side since many centuries.
Dijkstra on Haskell and Java
A letter from Edsgar Dijkstra, written in 2001, argues that Haskell, not Java, should be used to teach introductory programming at the University of Texas. Blogged by Chris Done, spotted by Shayan Najd.
Colleagues from outside the state (still!) often wonder how I can survive in a place like Austin, Texas, automatically assuming that Texas’s solid conservatism guarantees equally solid mediocrity. My usual answer is something like “Don’t worry. The CS Department is quite an enlightened place, for instance for introductory programming we introduce our freshmen to Haskell”; they react first almost with disbelief, and then with envy —usually it turns out that their undergraduate curriculum has not recovered from the transition from Pascal to something like C++ or Java.
A TED talk about what's wrong with TED talks
19.1.14
The Ziebell projection of the world: 30 people's sketches combined
Spotted on Boing-Boing.
Zak Ziebell, then a 17-year-old San Antonio senior, challenged 30 people to sketch a map of the world, then combined them into a vague smudge. Then he produced this unnervingly realistic map of the alternative Earth lurking in his subjects' collective memories.
18.1.14
My friends wonder why any intelligent Scot would vote Yes
David Donnison on Bella Caledonia presents a concise argument for independence that puts, far better than I could, my own views.
They asked me about many of the dilemmas we have been pondering in Scotland in the aftermath of our white paper – and most of them could not understand why any intelligent Scot would be voting for independence. It was an afternoon that compelled me to clarify my own thinking.Spotted via @cstross and @andrewdrucker.
What matters most, I said, is not how an independent Scotland will fare. Independence will of course bring teething troubles of many kinds; but the Scots, if they choose to break away, will make their way in the world pretty successfully. What matters most, I said, is what you are doing in England; what kind of country you want to make of the UK; and whether we in Scotland want to be part of it.
...
The Scottish ‘political class’ assume that proposals for new policies should help to create a fairer and more equal society where there will be greater social justice. They assume that proposals for solving social problems should be prepared in active consultation with the kinds of people who experience these problems. Of course they do not always live up to these aspirations; but our political class assume that they will be generally accepted by Scottish governments, whoever wins our next elections. They are not contentious. None of that can be said of England.
I could give various examples of the impact of these divergent cultures, but one will have to do. When our first minister was taking questions at the press conference launching the independence white paper, a correspondent from the Daily Telegraph said (roughly speaking – I took no note): ‘Your plans for Scotland’s future are splendid. But in a country with high rates of unemployment and high proportions of pensioners, how can you pay for all this?’ To which Salmond replied: ‘That would indeed be difficult if nothing changes. But an independent Scotland will attract more young workers’. To which the Telegraph man – thinking he had a killer question – said: ‘You mean more immigrants?’. ‘Yes,’ said Salmond. ‘They make an important and creative contribution to our society and we need more of them.’ Could any serious English politician have said this? And if it had been said, would it have passed unnoticed, as it did in Scotland?
...
We shall all have to make our best guesses at England’s political trends when the referendum comes – eight months before the next Westminster election which may give us a few pointers. But if staying in the UK seems likely to mean living in a country that leaves the European Union (Miliband, if he wins the election, has not yet promised a referendum on that, but neither has he refused one); if it is to be a country that continues to impose increasingly punitive and humiliating sanctions on its poorest citizens who live on social security benefits (Labour spokespersons on this subject seem determined to show they will match the Tories’ brutalities); if the Human Rights Act is to be repealed (as our present home secretary promises); if the UK continues to have the most centralised government in the Western world (strangling local governments and killing off civic leadership); if ‘green’ policies are to have low priority; and if our armed forces are to remain mercenary outriders to American foreign policy; then I would rather get out, whatever the hazards of independence.
It’s a white paper, agreed by the main political parties, on the future plans and priorities, not of Scotland but of the rest of the UK, that I need. I guess I’ll have to place my bet without waiting for that.
15.1.14
ADT and GADT implementations of simply-typed lambda calculus
Lennart Augustsson posted a nifty description of a compiler from a simple expression language to LLVM that included a conversion from expressions represented as an ADT to expressions represented as a GADT. The ADT requires a separately implemented type checker, while the GADT piggybacks on Haskell's type system to ensure expressions are well typed. However, Lennart's expression language does not include lambda abstraction.
Based on Lennart's code, I implemented ADT and GADT versions of simply-typed lambda calculus with de Bruijn indices, integer constants, and addition, plus the conversion between them, without the distraction of compiling to LLVM. The code was cleaned and improved by Shayan Najd, and made publicly available via github. Thanks to Josef Svenningson for the pointer to Lennart's post.
Based on Lennart's code, I implemented ADT and GADT versions of simply-typed lambda calculus with de Bruijn indices, integer constants, and addition, plus the conversion between them, without the distraction of compiling to LLVM. The code was cleaned and improved by Shayan Najd, and made publicly available via github. Thanks to Josef Svenningson for the pointer to Lennart's post.
12.1.14
Scotland, the UK, and the UFP
In response to a recent post, Josh Graham (@delitescere) tweeted
While my knee-jerk reaction is to support larger groupings, upon reflection I realise that the issues are not so clear cut. In favour is the argument for peace: the UK, the EU, and the UN (not to mention the UFP) promote resolution of conflict by negotiation, avoiding warfare—clearly a good thing. Neither in favour nor opposed is the argument for trade: while removing trade barriers is a good thing, organisations like NAFTA and the WTO can impose the agenda of prosperous nations against the interests of the less prosperous. Opposed is the argument that democracy is more effective at a smaller scale: it is easier to make an electoral impact in Edinburgh that in Scotland, in Scotland than the UK, in the UK than in the EU, and in the EU than the world. Though my heart yearns for World Government (or a Federation of Planets), my head finds the issues more equivocal.
How do these arguments play out when considering independence for Scotland? On the issues of peace and trade, independence will have little impact. While there are many uncertainties concerning independence, none believe it will lead to war and it seems unlikely to seriously impair trade. It is the issue of democracy that I find most compelling in this case.
I want to live in a country that promotes education, provides for the health of its citizens, takes good care of its elderly, and eschews nuclear weapons. Scottish voters support free tuition for higher education, free prescriptions under the NHS, free personal care for everyone aged over 65, and oppose Trident nuclear submarines. The UK as a whole takes none of these positions. Britain faces grave economic decisions, and I trust Scots to make a better fist of these than I do the entirety of the UK. For me, it is the argument for local democracy that carries the day.
@PhilipWadler I'm proudly for Scottish identity but shouldn't our species look to the stars and remove borders, not remake old ones?Good question. I approve of the United Nations and (alluding to @delitescere's wording) the United Federation of Planets. So why should I agitate to undo the 1707 Act of Union?
While my knee-jerk reaction is to support larger groupings, upon reflection I realise that the issues are not so clear cut. In favour is the argument for peace: the UK, the EU, and the UN (not to mention the UFP) promote resolution of conflict by negotiation, avoiding warfare—clearly a good thing. Neither in favour nor opposed is the argument for trade: while removing trade barriers is a good thing, organisations like NAFTA and the WTO can impose the agenda of prosperous nations against the interests of the less prosperous. Opposed is the argument that democracy is more effective at a smaller scale: it is easier to make an electoral impact in Edinburgh that in Scotland, in Scotland than the UK, in the UK than in the EU, and in the EU than the world. Though my heart yearns for World Government (or a Federation of Planets), my head finds the issues more equivocal.
How do these arguments play out when considering independence for Scotland? On the issues of peace and trade, independence will have little impact. While there are many uncertainties concerning independence, none believe it will lead to war and it seems unlikely to seriously impair trade. It is the issue of democracy that I find most compelling in this case.
I want to live in a country that promotes education, provides for the health of its citizens, takes good care of its elderly, and eschews nuclear weapons. Scottish voters support free tuition for higher education, free prescriptions under the NHS, free personal care for everyone aged over 65, and oppose Trident nuclear submarines. The UK as a whole takes none of these positions. Britain faces grave economic decisions, and I trust Scots to make a better fist of these than I do the entirety of the UK. For me, it is the argument for local democracy that carries the day.
3.1.14
A Tour through the Visualization Zoo
Focus
A handy reminder of the real issue. Spotted on Bella Caledonia.
Subscribe to:
Posts (Atom)





