Search Results: "mak"

15 June 2007

Benjamin Mako Hill: European Tour

I'm off on a short European tour for the next weeks -- in all likelihood my only trip to Europe this summer. I'll be visiting three conferences where I have planned talks. These include: Between 23-26 June, I'll be traveling through the UK from Edinburgh. I have tentative stops planned for a variety of places along the way including Manchester, Cambridge, and London. I suppose there will be pub nights or something similar in each place. Get in contact if you want to meet up along the way.

Matthew Palmer: Observations on Travel

Dirk Eddelbuettel: New York bound

On the second try I got lucky with the lottery for the New York Marathon on November 4 this year. So that may make it Boston, Chicago (on October 7) and now New York for 2007.

David Nusinow: Am I Emo Or Just Really Pissed Off?

In any graduate student career there are days where you just want to quit and do something else. Anything else. Like get a job in computers where you'll be making a lot more and potentially working a lot less. Today I've felt that urge more strongly than ever before. When I get back from Debconf I'm going to have to decide if it's worth sticking around for another year to finish my phd.

14 June 2007

Joachim Breitner: screen-message uploaded to Debian

By popular request (if you consider Lunar to be a pupil) I have packaged my old hack vlshow as screen-message to Debian. The small program (called sm on when installed) starts and displays a given text as large as possible, in big bulky black letters on white background. You can change the text while the program is running. This might be useful to quickly send a message across the room, say something to people who think they are reading your screen unnoticed, for make-shift signs, to marvel at nice unicode characters and all kinds of other funny purposes.
I used this as a chance to try out darcs-buildpackage, which is very nice, especially as it makes the separation of upstream sources and Debian changes possible in a non-troublesome way. I attended Enrico s tutorial on autotools and autotoolized the package during that talk, which meant that I could use cdbs for building the package nice experience as well. Darcs s dist feature is very nice when using autotools, although it makes darcs-buildpackage slightly inconvenient. (While dpkg-buildpackage uses darcs dist on the upstream sources to build the orig.tar.gz, it does not check the predist command in _darcs/pref/pref when building the debian package, which fails then. It works fine if I run that command, in my case predist autoreconf -i && rm -rf autom4te.cache/, before running dpkg-buildpackage.)The package is currently in the NEW-queue, until it was accepted, you can find packages on people.debian.org. Thanks to Lunar for some patches. I m keen to hear interesting stories about how and where you used the program.

Daniel Stone: avivo and donations

Just a quick note to say a huge thanks to everyone who's offered support (financial, hardware-wise, or just verbal) to the r5xx project -- we really appreciate it. A couple of FAQs:

  • Thanks! Where can I send money?
  • Sadly, money isn't the issue: we have jobs/university theses/lives to tend to. We just lack for time right now.

  • Thanks! Where can I send hardware?
  • If you have a card that you won't be needing back (we may lose or fry it), please email myself (daniel@fooishbar.org) and J r me (j.glisse@gmail.com), detailing what you have, and we'll get back to you if it'll be useful to us.

  • Will this work with the X2xxx cards (r6xx)?
  • Yeah, pretty much. It just needs someone to hack up the small amount of code to deal with it.

  • What's happening with X1650 and above (r530/r580)?
  • Most of the code is written, however, initialisation doesn't happen correctly for some reason.

  • What's happening with 3D support?
  • It should be relatively simple to implement from the existing driver, as the engine is believed to be extremely similar, but we want to get the basics working before we start attacking things like this.

  • Which tools do you guys use?
  • For tracing the video BIOS, we use a hacked version of xresprobe: vbetool will instrument the BIOS quite well. For tracing fglrx, we use a hacked version of valgrind: run it against the X server, making sure that it is not suid root. For getting impatient and playing with registers, we use avivotool.

  • Where does the development happen?
  • On IRC, #dri-devel seems to serve somewhat as the ATI development centre. This gets fairly well coalesced into The Irregular Radeon Development Companion, however, so you may prefer to just follow that.

  • Shouldn't all this be on a wiki page somewhere?
  • Yes, but I have to get up in less than four hours.

    Once again, thanks for the support, from all of us. It's been great.

    MJ Ray: Redway User Numbers and Preferences

    My second problem with people who use the Franklin Redways papers to claim all cycle tracks are dangerous is that I don't trust the user number and preference estimates in the papers. I noticed cycle counters (sensor loops cut into in the path, attached to a grey cabinet with solar panel) scattered around King's Lynn, but I don't remember any in Milton Keynes. Milton Keynes Redways and Leisure Routes: An Information Sheet includes phrases like 'It is evident from casual observation...' while noting the combination of this with other data suggests a 'paradox' - maybe there's no paradox and some of the casual observations are simply improbable? The main source of cycle use data seems to be surveys rather than counters. A survey with 120 responses has quite some potential for error when used to estimate a city catchment area of 200,000 people. An "accident rate" equals "accidents per use", so an incorrect use estimate can make a very big difference, especially if use is still sadly small. As the author says, he has no accurate usage figures for the Redways. Another survey is included in the references, so I find it surprising that no usage information is quoted from that survey. Perhaps it would help to explain the figures in some way unwelcoming to the general tone of the piece? Cyclist preferences seem to be taken from one cycle user group screenline count, rather than a cordon census or survey, which I also found surprising. I often rode parts of a trip on the 'least-bad' option for connecting the best route overall, not on the type of route I would have chosen if I had a choice. After all, when in my car, I'd probably choose to drive along a dual-carriageway from the edge of my village if I had the choice, but I don't, so I use a winding lane for the first mile or two. I don't prefer the winding lane to the alternative quarry road or the toll road: it's just a connection in a better route overall.

    Marc 'Zugschlus' Haber: Please test exim4 from experimental

    I have uploaded exim4 4.67-2 to experimental. Lots of changes and improvements. Quite some changes have gone into the Debconf stuff (for example, the split/unsplit config question is not asked first any more), and into update-exim4.conf (including input sanitazion, transformation of input to lower case, and getting rid of the DEBCONFsomethingDEBCONF stuff in the configuration). I’d like you to test the experimental package before I upload to unstable (probably on sunday). Please report your findings.
    exim4 (4.67-2) experimental; urgency=low
      - update-exim4.conf:
        - finally get rid of the DEBCONFfooDEBCONF stuff. That information
          is now passed to the configuration by ue4c by directly setting exim
          macros in the configuration. This has caused both the configuration
          and ue4c to be much shorter.
        - run with -e, -C and -u.
        - convert input read from update-exim4.conf.conf to lower case
        - barf if strange characters are found in ue4cc. Closes: #400294
      - Remove superfluous “x$foo” = “xbar” constructs from scripts
      - Add routers to reject mail to accounts with low UID.
        Closes: #400790.
      - Make daily cron job barf if /usr/bin/mail is not found. Have
        exim4-base recommend mailx. Closes: #427960
      - Have all -daemon packages provide exim4-localscanapi-1.0 and
        exim4-localscanapi-1.1 as requested by Magnus Holmgren while fixing
        #426425. Also include exim4-localscan-plugin-config script with
        exim4-dev. Thanks to Magnus for helping with this. Closes: #428274
      - remove /etc/exim4/email-addresses symlink and document this.
        Thanks to Josip Rodin. Closes: #420578
      - introduce conf.d/250_exim4-config_lowuid which optionally allows
        to reject (or alias away) mail to low-uid accounts that are not
        listed in an exception list. Thanks to Dominic Hargreaves,
        Marc Sherman and Ross Boylan. Closes: #400790, #307768, #331716
      - remove versioned depends on cron, since the version we need is
        well before sarge.
      - Add cron   fcron dependency. Fcron is going to be removed again
        at the first sign of trouble. Closes: #381806
      - remove move_exim3_spool debconf template. Closes: #391762
      - replace openssl gendh with openssl dhparam. Closes: #413235
      - adapt docs, README and manpages
      - have Hilko fix the lynx-dump postprocessing to repair generating
        README.Debian text version. Thanks!
      - increase README.Debian generation robustness. Thanks to Hilko.
      - debconf:
        - Partly apply Christian Perrier’s patch for reviewed
          templates and control file. Closes: #426980
        - Other minor template changes.
        - get rid of “mails” in debconf templates, use “messages” instead.
          Re-word local_interface debconf template. Other minor changes.
          Thanks to Jens Seidel and Christian Perrrier. Closes: #394976
        - re-work exim4-config.config logic to have split/non-split config
          asked last instead of first. This partly addresses #410756.
        - Add exim4-daemon-heavy.templates, exim4-daemon-light.templates
          and exim4.templates to POTFILES.in
        - Re-Word dc_other_hostnames debconf template.
          Thanks to Hans G. Ehrbar. Closes: #421860
        - translation updates:
          - French
          - Ukrainian. Closes: #427793
          - Bulgarian.
          - Thai.
          - Galician.
          - Swedish.
          - Punjabi.
          - Indonesian.
          - Italian.
          - Khmer.
          - Traditional Chinese. Closes: #428072, #428069.
          - Portuguese.
          - Simplified Chinese. Closes: #428072, #428069.
          - Marathi
     -- Marc Haber <mh+debian-packages@zugschlus.de>  Wed, 13 Jun 2007 14:00:38 +020
    0
    

    Ross Burton: Tasks 0.8

    After all of the mad Tasks hacking that I did over the last few weeks, I thought it really was time to make a release. So without much ado, here is Tasks 0.8. Tarballs and packages for Etch, Edgy and Feisty are on debian.o-hand.com. Packages for Sid are uploaded already. As a teaser, using the experience from working on both the Nokia addressbook and Tasks I've started working on a framework for the next generation of Contacts. Large amounts of the code are from Tasks but with s/task/contact/g applied, and it works quite well already. Hito screenshot That is a view of my entire addressbook, filtered on the OpenedHand group. There is no widget to select groups yet, so you'll have to trust me that it's live! To anyone who noticed that not all of OpenedHand are in the list, and are wondering if I'm subtly dissing people: No I'm not. We have an internal LDAP server, so I stopped keeping my local addressbook up to date some time ago. NP: What's Come Inside Of You?, Freescha

    MJ Ray: Saying that Green is Good

    I was asked:
    "How can I change the ways I communicate to set a good example of green-ness to company employees? Does anyone have some ideas? This is rather outside of my knowledge field. I guess anything that decreases carbon footprint is probably good?"
    Most of this is obvious. We know we should be doing it, but sometimes the usual "too hard" excuses get in the way. Just doing it and making it clear why you're doing it is the biggest step. Like hand-correcting a small error in an internal note instead of reprinting, using both sides of the paper or 2-up printing, or moving to electronic communication instead of paper where possible. Two of my consumer co-operatives ( the Cooperative Group and the Phone Co-op ) take it a stage further: communicate it to others and persuade them to take similar action. tCG does this with its Climate Challenge pledge and Climate Doctor online Q+As. Phone Co-op ask customers to switch to paperless billing and put profiles of green companies into their (online) newsletters. Two more asides: Carbon footprint is not the only aspect of green-ness. It's the most important and popular just now, but there are things that reduce carbon footprint but aren't very green (nuclear power, for example). Greenwashing is a danger. I feel that communicating that you're very green when you're not really will cause you more trouble in the long run than accurately communicating limited green-ness. How else would you practice green communication?

    Andrew Pollock: [life] Marfan's Syndrome

    Ever since Sarah started seeing Dr Liang at the Stanford Marfan Syndrome and Related Aortic Disorders Clinic for her aortic aneurysm, I've been meaning to write something about them and the condition to try and get them onto the first page of Google when doing a search for the disorder. So here it is. Whilst Sarah doesn't have Marfan's Syndrome, one of the symptoms is aortic aneurysm/dissection, which Sarah has a family history of. So that makes cardiologists that specialise in this field the best people to talk to.

    13 June 2007

    Eddy Petri&#537;or: NaughtySVN

    After the feedback related to my latest post about NaughtySVN I thought it would be nice to commit my pending changes about update, although they are not enough to make a functional update feature.

    I also thought is time to clarify a few things about the project:
    [1] see the comment starting from "A word of caution" in this message from Alexander Thomas

    David Welton: Ruby gems annoyance - GPL'ed libraries

    I tend not to be much of a license bigot, and think that they all have their places, but GPL'ed libraries are annoying, especially when they've been "blessed" by being inserted into an official repository like Ruby's gems. Consider:
    1. A big, large stand-alone application, like...Linux, for instance. I can see why people might GPL it - because there is a very real risk of someone "taking it proprietary" (or was - these days the comunity is too big and too fast to compete with). So I can understand the use of the GPL there.
    2. 200 lines of library code. There is no way anyone is going to "take it proprietary" and make any money off it. Even incorporated into some proprietary application, it's not going to make or break it. So, if it's GPL'ed, those working on proprietary software won't use it. If, on the other hand it uses a liberal license, then they can use it, and if they're smart, they'll contribute back any improvements to it.
    I suppose that in case 2, someone might still GPL the code if their goal is solely to keep it out of the hands of proprietary developers, even at the cost of having less utilized and contributed to free code, but it's not an optimal strategy otherwise. The problem that I've stumbled upon is that Ruby's Gem repository is full of randomly licensed code, including lots of GPL stuff. At the very least, this information ought to be very visible so that it's possible to weed out any GPL'ed libraries. At best, the Ruby guys would only accept MIT/BSD licensed code for the standard repository. This is something that's done well in the Tcl community. Tcl is BSD licensed, and so is everything that surrounds it. Sure, people at times consciously decide to GPL their applications, but that's their right, and it's much easier to understand than some tiny bit of random code that one might like to use for some particular function in an application.

    David Pashley: Atomic in-place rewriting of files with backup in perl

    In my article on Perl's IO::Handle objects I talked briefly about IO::AtomicFile and IO::Digest. I've just had reason to use these very useful modules to create a script which edits a file in place. These modules allowed me to do the rewrite atomically and optionally make a backup if the contents have changed. The example assumes you have a function called perform_rewrite that takes two file handles as the first two parameters.
    use File::Copy;
    use IO::File;
    use IO::AtomicFile;
    use IO::Digest;
    sub rewrite_file  
       my $file = shift;
       my $sub = shift;
       my $input = new IO::File($file,'r');
       my $input_md5 = new IO::Digest($input, 'MD5');
       my $output = new IO::AtomicFile($file,'w');
       my $output_md5 = new IO::Digest($output, 'MD5');
       $sub->($input, $output, @_);
       if ($input_md5->hexdigest ne $output_md5->hexdigest)  
               copy ("$file", "$file.bak");
               $output->close();
         else  
               # we haven't changed so don't bother updating
               $output->delete();
        
       $input->close();
     
    rewrite_file("/foo/bar", \&perform_rewrite, $baz, $quux);
    
    Read Comments (0)

    Eddy Petri&#537;or: Your next Gnome subversion client...

    ... is NaughtySVN.

    I have joined this project which was started by Alexander Thomas a few weeks ago and I have convinced him that is better to have a release sooner rather than later. The project is still in its early alpha stage[*] but I thought is better to have a rather minimalist and functional client first.
    So, I talked to Alexander and we came up with a roadmap; for the 0.0.1 release I am working on the update feature which is about 40% done[1][2] (update dialog screenshot).

    Of course, after the release I will probably make a debian package, too, unless someone else beats me to it :-) .

    So, the future is bright.


    Update: as a response to a comment, NaughtySVN is designed to be not only a Subversion client, but also a framework for other VCS-es and other clients. It just happens that we are working on the Subversion backend and client at the moment.

    P.S.: as curiosity of mine, I have written in python a small nautilus plugin that does the svn update (is a svn frontend) and I must say I really miss the development speed of python when writing in C (or maybe I am out of practice).

    [*] only a few features are implemented and can't be used yet as a SVN client without being forced to use another client.
    [1] according to my estimations
    [2] update related code is not committed yet

    Lucas Nussbaum: maintainer wanted for next generation tetrinet server!

    You probably all know tetrinet - if you don’t, you should really try that game. There are several servers for that game out there, and one of them is tetrinetx. It is packaged in Debian, but it has several problems: A few years ago, I worked with a few friends on improving tetrinetx. This resulted in: This is hosted on sourceforge under the name tetrinetx-ng, but it hasn’t seen any activity for the last two years. It would really be great if a tetrinet fan could take over the project and start making it alive again. Then tetrinet.debian.net could support tetrifast ;) Also, I could try to setup a server with tetrinetx-ng. Someone wants to host tetrifast.debian.net for me ? Needed: MySQL DB + Apache (for the stats), + not being afraid of insecure code (doesn’t need to run as root)

    Jacobo Tarr&#237;o Barreiro: Bike sheds

    I had prepared a modified version of this photo, making each bike shed door a different color, and with labels on them saying KB , MiB , Tb , Gib , etc. (It was in reference to this thread, in case you were wondering). But then I noticed that the original photo had a CC by-nc-nd license, which means that derivative works are forbidden without permission. I could have asked for it, but when/if I received it, it would already be too late for the joke. So, no modified photo for you. And how does something on which you cannot base your own work be a part of any sort of Creative Commons ?

    12 June 2007

    Matt Brown: Back on the Intarnets

    Now that we’ve settled into our new apartment in Dublin, the ADSL has been connected and I’m back on the net! Obviously I’ve had Internet access at work during this time, but there has been so much new information to take in that I haven’t really had time to do any Debian or WLUG work. I’m still waiting for the shipping company to deliver my computers, so it will be another week or two before I have a development environment that can build and test package. Once that’s setup again I have updates queued for the following: Unfortunately I’m not going to make it to Debconf this year, despite being the closest geographically that I’ve ever been. :(

    Biella Coleman: Housebreaking Your Health Insurance

    Are you having trouble with your health insurance? Are they stalling on paying a bill? Denying a claim? Not telling you what the heck is going on?? Well you can and should take action to eliminate some of the mystery and move forward, and possibly win fight against the health insurance company. Thanks to my unpleasant ordeals with BCBS of NJ, I have compiled some handy resources and tips to get you started. Good luck and I welcome any other tips that you think should be here. Please email them to me at biella(at)gmail(dot)com Can’t get a straight answer when dealing with health insurance representatives on the phone? Are different representatives providing different and contradictory information? Does talking to the representatives leave you with a pounding headache? Then the following may be helpful: 1. Ideally you should tape record all conversations. If this is not possible, get the name or employee number of the person you are talking to and write down what they told you along with the time and date. If they have agreed to something, make sure they send it to you in writing. This sort of documentation may come in handy later when you are trying to contest or prove something. Is your insurance company flip flopping on a claim? For example telling you that the claim is still being “reviewed” but sending you statements that indicate it has not been paid and never will be? What action can you take to inch things forward? The following may help: 1. Most states have a Department of Banking and Insurance and they are there to help you. Many (perhaps all) provide a service for filing a complaint against your health insurance company and other insurance and banking companies too. When I used the service in NJ , I got assigned an investigator and their service was prompt and helpful. It was my experience that even though they were not able to resolve my issue, the insurance company started to make firm decision on many claims and this alone has been helpful. Before this, it was impossible to get a clear answer from them as to the state of all sorts of claims. They said “NO,” & you think they should say “YES, YES, YES, YES!!!!” In other words, appealing a denial: 1. This site has some great information on how to avoid a denial and what you can do to fight one. 2. Included on their site is the Health Insurance Laws and Benefits Tool which will provide specific information about your rights in different states. For example, you will want to know if there is an external or independent grievance system to appeal your plan’s decisions. In the case of NJ, which is the state I am fighting, the tool provided the following helpful information:
    Does New Jersey require an external or independent grievance system to appeal your health plan’s unfavorable decisions? Yes, for all health plans.

    On what grounds can you file your external grievance?
    Investigational treatment appeal, medical necessity. What is the status of the external grievance panel’s decision?
    Binding. External grievance systems allow you to take a dispute with your health plan to a doctor or review board unaffiliated with your health plan. Thus, both you and your health plan receive an impartial ruling on its decision to deny coverage of services or treatment. Additionally, you can file a complaint against your health insurer with your state’s department of insurance.
    Additional Helpful Information and Resources 1. The message boards on lawyers.com are a great place to hit for information. I have found folks there helpful.
    2. You many want to blog about your experience as you may get an unexpected response directly from your insurance company. I think there are pro’s and cons to blogging about your experience but it does provide a public face to your ordeal and allows you to chronicle exactly what has transpired.
    3. If your cases is particularly shocking, do not hesitate to hit the local media.
    4. If your claim has been denied by an external review panel, you may not have much luck suing but if there is no external review panel, you can and should also try Small Claims Court or other legal action. Further, even if your claim was denied by an external review board, you may have other options for suing, for example, due to their bad faith handling of a claim. And on that note, here is a great legal resource covering the topic.

    Antti-Juhani Kaijanaho: Benja on denotational semantics

    My friend Benja Fallenstein got carried away in the comment section of my latest post on recursion and wrote a tutorial on how it all relates to denotational semantics. It’s a shame it is buried somewhere in the comments, so I am reposting the comment here with Benja’s permission. The tagline is, Denotational semantics tutorials. It s the new monad tutorials!
    Benja Fallenstein writes: Having read and understood [the] entire post, I can now summarize Antti-Juhani s complaint in a way that programmers with no theoretical background will understand: The definition is an infinite recursion. Sure, it s self-referential, but since it recurses forever, it doesn t actually define what recursion is! :-) That said, I find it kind of a pity to introduce all this theory without talking about why it nicely models the real world. Antti-Juhani argues that this pretty much the definition of popularized science, but I have to admit that, as definitions go, I like recursion: see recursion better. :) So let me have a quick go. [UPDATE: Didn t turn out to be quick at all. This is, in fact, as long as Antti-Juhani s original post. Proceed at your own peril.] All of this comes from denotational semantics, which is concerned with what expressions in a programming language mean and which ones mean the same thing. For example, 7 denotes the number seven, 7+2 denotes the number nine, and 5+4 also denotes the number nine. Now, here s the knotty problem. If we have f(x) = if x = 0 then 1 else x*f(x-1) then f(4) denotes the number twenty-four, but what does f(-2) denote? So, denotational semantics introduces a new, special value, recurses forever. An expression of type integer either denotes an integer, or, like f(-2), it denotes recurses forever. Now, about these partial orders. (Reminder: A partial order says, for every pair (x,y) of elements of a certain set, that x is smaller than y, equal to y, larger than y, or incomparable to y.) Here is Benja s guide to what the partial orders of denotational semantics mean: Let s say that you write a program where, in one place, you can plug in either x or y. If you can write such a program that prints foo when you plug in x and prints bar when plug in y, then x and y are incomparable. If you can t do that, but you can write a program that prints foo when you plug in y, and recurses forever when you plug in x, then x is smaller than y. If every program you can write will do the same thing whether you plug in x or y, then x and y are equal. (We ignore details like out-of-memory errors and *how long* a program takes to do something.) Examples: - 5 and 7 are incomparable. Proof: if ___ == 5 then print foo else print bar . - f(-2) f(2). Proof: if ___ == 2 then print foo else print foo if you plug in f(-2), this will loop forever, if you plug in f(2), it ll print foo . - (5+2) = 7. Whatever program I write, it will do the same thing, no matter which of these expressions I plug in. Now, with expressions of type integer, the resulting partial order is: Recurses forever is smaller than everything else. All other values are incomparable. Recall from Antti-Juhani s post that the bottom element ( ) is defined to be the smallest element of a mathematical universe (if such a beast exists). Since recurses forever is smaller than everything else, it s the bottom element of this universe. That s what denotational semantics calls it. (Haskell, too.) Of course, this partial order is kind of boring (the technical term is flat ). It gets more interesting when we consider functions. In general, we can talk about functions from values of type S to values of type T, where we already know the partial orders of S and T. In particular, we can talk about functions from integers to integers. Now, if you can find an x and a program that prints foo when you plug in f(x) and bar if you plug in g(x), then you can write a program that prints foo when you plug in f, and bar when you plug in g. (Exercise! ;-) ) Further, denotational semantics wants applying a function to a parameter and then doing something with the result to be the *only* way you can get information about a function. No f.get_function_name, please. (If your programming language has that, you can t map the functions of your programming language 1:1 to the functions of denotational semantics.) By my rule above, this implies that f = g if and only if f(x) = g(x) for all x. Since formal theories can t have fuzzy stuff like my rule, denotational semantics takes this as the *definition* of the partial order on functions. The bottom element of this mathematical universe, then, is the function that always returns bottom, no matter what it is given or in other words, a function that recurses forever, no matter what parameter you pass to it. (Side note. Denotational semantics allows only monotone functions that is, if x = y, then f(x) = f(y) for all f, x, and y. That s an example of how all these definitions allow us to make formal statements about the real world. In the real world, if you can find a function f and a program that prints foo when given f(x) and bar when given f(y), then you have a program that prints foo when given x and bar when given y so if f(x) and f(y) are incomparable, then x and y must be incomparable, and the other way around, if x and y are comparable, then f(x) and f(y) must be comparable, too. (This reasoning doesn t exclude the case that x = y and f(x) >= f(y). If you really care, prove it yourself. :) ) This ends the side note.) Recall, now, Antti-Juhani s definition of recursion: An equation of the form x = some expression (which may contain x), interpreted as a recursive definition, defines x to be the smallest value satisfying this equation. The models constructed in denotational semantics have the property that for any equation of this form, the set of values satisfying it does have a smallest element, so x is well-defined no matter what the equation is. It s important to note that this does not mean that x has to be bottom, because there are equations to which bottom is not a solution. Let s look at a slightly simpler example than the one Antti-Juhani gave. f(x) = if x = 0 then 0 else f(x-1) We have f(0) = 1, but bottom(0) = bottom, so f can t be bottom. The equation has more than one solution, though. It is satisfied by a function that returns 0 for x >= 0 and returns bottom (recurses forever) for x 0; but it is also satisfied by a function that returns 0 for every input. And by an infinite number of functions that return 0 for some negative inputs and bottom for others. We want the first of these solutions, of course, because that s what we get if we interpret the equation as a computer program, and computer programs are what we re trying to model. But we re in luck: The first solution is smaller than all the other ones, because for all inputs, they either return the same value, or the solution we want returns bottom and the solution we don t want returns 0 (and bottom 0). The point of it all is, of course, that when we interpret an equation as a computer program, we always get the least value satisfying the equation (if we use a partial order that follows my rule, above). And that, my friend, is denotational semantics.

    Next.

    Previous.