|
August 2004
[
bamboo
]
09:52, Tuesday, 31 August 2004
Simply amazing! Just watch and check the coincidences for yourself. It's quite a trip.
[
bamboo
]
09:05, Monday, 30 August 2004
Edd Dumbill talks about one of the IronPython niceties here.
[
bamboo
]
13:45, Monday, 9 August 2004
It's been some time now since my notebook
(as in "A light, portable computer that is generally thinner than a laptop") went
to the repair shop and I feel extremely free.I've been spending much more time with my family and friends ( including my books, comics and CDs). I still haven't got back to playing the drums but I'm sure I will... eventually. Cutting straight to the chase I decided to finally work on issue BOO-17 (automatic callable type conversion and adaptation) so I grabbed my notebook (as in "A book of blank pages for notes") and programmed away. Programming on paper can be so much easier sometimes! A simple solution was already there just waiting for me to uncover it. The problem I was trying to solve was twofold: first, delegate types (callables) are name equivalent not structurally equivalent in the CLI type system, in other words, the following valid boo code can not be directly translated to IL for being deemed unverifiable:
Second, boo compatibility rules for callable references go beyond simple
structural equivalence, a RVALUE callable reference can be assigned to any
LVALUE reference if any of the following conditions is true:
The SolutionIt's actually pretty simple and it works for both cases: get the compiler to generate an adaptor class containing:
Into something like this:
Unfortunately my current notebook can't run unit tests yet :)
[
bamboo
]
11:35, Monday, 9 August 2004
Nice essay on Patents and Linux.And just in case you are wondering I totally agree.
[
bamboo
]
15:28, Thursday, 5 August 2004
I've finally had the chance to watch Fahrenheit 9/11 last night. One of the funniest pieces I've seen in a long time. |