Saturday, February 10, 2024
2024
Thursday, January 18, 2024
Sunday, December 31, 2023
Dot selection
Koka is a function-oriented language where functions and data form the core of the language (in contrast to objects for example). In particular, the expression
s.encode(3)does not select theencodemethod from thestringobject, but it is simply syntactic sugar for the function callencode(s,3)wheresbecomes the first argument. Similarly,c.intconverts a character to an integer by callingint(c)(and both expressions are equivalent). The dot notation is intuïtive and quite convenient to chain multiple calls together, as in:fun showit( s : string ) s.encode(3).count.printlnfor example (where the body desugars as
println(count(encode(s,3)))). An advantage of the dot notation as syntactic sugar for function calls is that it is easy to extend the ‘primitive’ methods of any data type: just write a new function that takes that type as its first argument. In most object-oriented languages one would need to add that method to the class definition itself which is not always possible if such class came as a library for example.
Minimal but General
Koka has a small core set of orthogonal, well-studied language features – but each of these is as general and composable as possible, such that we do not need further “special” extensions. Core features include first-class functions, a higher-rank impredicative polymorphic type- and effect system, algebraic data types, and effect handlers.Koka - A Functional Language with Effect Types and Handlers
Friday, December 29, 2023
Sunday, May 08, 2022
The Great Translation Movement
And so they’ve pretty much given up on trying to sway the Chinese public to the “Light Side of the Force”, and have chosen instead to poison the well - by depicting the Chinese people as wholly alien, fanatical, weird, irredeemable, and inhuman.
In other words, "hate the Chinese government, and the Chinese people too".
Sunday, March 20, 2016
Analysis followed through to conclusions
"This particular operation means to render unthinkable the idea that people could arrive at revolutionary politics via a clear-headed analysis followed through to conclusions. Instead they must be in the grip of some hidden compulsion which they obey relentlessly, all the while insisting that this obedience is freedom."Review of 'The East'
Sunday, March 06, 2016
Tuesday, March 01, 2016
But what then?
Friday, February 26, 2016
Equity
As all Western legal systems have known since Aristotle, literal interpretation of any legal material will sometimes produce unintended unjust results, which can and should be corrected by the invocation of "equity."The Linux Kernel, CDDL, ZFS, Dtrace
Wednesday, December 02, 2015
Die Gedanken sind frei
Die Gedanken sind frei, but if you don’t understand the language, thoughts aren’t free: getting access to them is difficult and expensive.
If you conceive of science as an information system, as an accumulation of data and logical relations between data, then you will probably feel that the efficiencies of English monolingualism outweigh its disadvantages. But Gordin also (and too briefly) introduces a different conception of science, not much taken up by philosophers, which emphasises the importance of metaphorical extension in scientific change. Scientific notions like wave, force, law, heredity and fact have different semantics when expressed in different languages: as metaphors imported from everyday life, they have different resonances and affiliations in different cultures and languages, and therefore different bearings on the resources scientists have to extend their meanings through research and theory. (Science itself is such a notion: its semantics in English are not exactly the same as les sciences, Wissenschaft, наука or επιστήμη.) So, depending on whether you think of science solely as an information system or as encompassing the dynamic exploration of metaphors, you come to different conclusions about the significance of monolingualism. If metaphor is central to science, then the language in which science happens matters a lot.
The road from universal Latinity to universal English was full of twists, turns and bumps
Monday, November 02, 2015
Thank you, Your Grace, for your kind advice
Fisher: I have come to give you some advice about my successor. Whomever you choose, under no account must it be Michael Ramsey, the Archbishop of York. Dr Ramsey is a theologian, a scholar and a man of prayer. Therefore, he is entirely unsuitable as archbishop of Canterbury. I have known him all his life. I was his headmaster at Repton.
Macmillan: Thank you, Your Grace, for your kind advice. You may have been Dr Ramsey’s headmaster, but you were not mine.
Tuesday, July 21, 2015
What would John Rawls say about... the GPL?
I sometimes wondered about how Rawl's philosophy would apply to certain contemporary issues and how the general approach can be reconcile with the specificity of the concern.
I say sometimes, because I didn't think about Rawls at all when reading about permissive licensing versus copyleft. But then, I found a most cogent argument in favor of copyleft, and it used the exact argument that Rawls made: "what is the better option for EVERYONE?":
"People who really care about freedom care about it for EVERYONE, and licensing that maximizes freedom for everyone trumps the "strings attached" in that regard, that is such a simple thing to see that it challenges credulity to think that someone who cares about freedom could say otherwise."
Monday, February 16, 2015
In other words, it means nothing
Uh, hello National Security Letter?
MS adopts first international cloud privacy standard
Wednesday, February 11, 2015
and in it, we'll be the fools and oppressors
Cromwell: "... and do you know what I hate most? He's writing an account of today for all of Europe to read and in it, we'll be the fools and oppressors, and he'll be the poor victim with the better turn of phrase. He wrote this play years ago, and he sniggers every time I trip over my lines."Consider, for a minute, that you were brought up with a not-insufficient awareness for a certain philosopher, statesman and humanist, and perhaps this awareness even extends to acknowledgement and admiration. What would it take for such an idol to be brought low? For this, a devastating scene of Thomas More's trial in Wolf Hall:
More: "Ask yourselves, gentlemen, why would I open my mind to a man like Richard Rich? Why, when the learned and the pious have implored me, when the King himself with weighty reasons has sought to persuade me."
Rich: "Because you think I don't matter."
Sunday, February 08, 2015
Most of the issues, however, are eternal
'When due to deliver her daughter, 26 years ago, she wrote six weeks’ columns in advance to cover her maternity leave. The morning she was due to have her baby, her editor called her to ask for an extra piece. “I said, ‘I’m just about to go and have a caesarean’.” To which he replied, “It’s just routine surgery.” She wrote it.'The joys of being a newspaper agony aunt
'Most of the issues, however, are eternal: loneliness, difficulty in forming and sustaining relationships. '
Monday, July 28, 2014
'Content'
Some time ago, one of my co-workers told me, as if he is doing me a big favor, that "you need to have your own opinions." Yeah, ok. I suppose he gets to judge whether an opinion is my 'own'?
This reminds me of a particular self-aggrandizing strand of make-believe: everything that is not one's own is bad.
That is to say, people conflate ownership and actual value, and give free pass to aggressively ignorant attitudes: "So long as the opinions are my own, who cares about the truth?"
Wednesday, November 06, 2013
Operación Masacre
- Operation Massacre
Tuesday, June 11, 2013
The desperate and the dissembling
See, this open letter is fantastic:
me
that seems to be missing the point.
isn't the point that the capability exists to forego these legal formalities and access confidential data by executive fiat with little or no proper oversight?
the fact that such executive power is declared "legal" by a legislative body like Congress does nothing to dampen its menace and abusive potential
if Google is serious about privacy, then it would take action to strengthen end-to-end protection of data
unless I'm missing something I'm entirely unsure why this piece of spin is fantastic
it seems desperate and dissembling
V
I think that desperation is good
In fact, I think it's excellent.
me
I think the pleading tone belies the fact that it is always groveling to certain powers
why does't it go ahead and make a grand gesture and pull out of business operations in the U.S. indignantly? Oh wait, because it can't afford to
V
Well, I think an even better part of it is that it pulled out of overseas operations on proof of malfeasance.
This is not the same. This is the company suffering for an appearance of overeager complicity with a programme that is, itself, of unclear legality.
This is better, though. It really doesn't matter if the charges are true or false. It matters that the appearance or implication that the charges are true is enough to make the company squirm. And I think that it is wrong to say that the situations are identical.
What is an organisation overseas that has equivalent political influence? The same lobbying structures don't really exist, as I understand.
So they withdraw and take the hit
Here, the lobbying structures are very advanced
Twitter apparently refused to participate in this programme. I think it's a positive thing if the organisations who agreed to participate are penalised in the market for the mere implication.
If this intensifies, which I hope it does, then I think the only way to fight this implication is to prove noncompliance, which means doing what they should have done from the start and allow end-to-end encryption.
me
I guess the company is now in a position in which it will have to say something, anything, and make some gesture, any gesture - however empty (and hoping that the reader doesn't notice), to get away from the implication
Monday, May 13, 2013
Children's books. French children's books.
Voilà