Search Results: "tb"

21 December 2005

Erich Schubert: Scammers - provide them with incorrect data?

I today received another obvious scam. Well, basically any email from a bank referring to PIN and/or TANs (for those poor US bank customers: german banks all use one-time-passwords) is ovisouly scam. Especially when it's a really bad translation... So I wonder whether I, as an intelligent user, should maybe still go to this scammers page - and enter deliberately incorrect data. For example by calling
wget "http://202.129.53.211:8081/postbank/privat/app/submit.php?konto=$RANDOM&pin;=$RANDOM&tan1;=$RANDOM&tan2;=$RANDOM&tan3;=$RANDOM"
Yeah, they probably have to filter their data anyway. But are you sure they can tell "good" from "bad" values apart? How likely do you think I accidentally hit a legitimate users' account number and he might suffer from his account becoming accidentially locked? Does this help the banks to detect this scammer, and filter him somehow (e.g. by saying "invalid PIN" even when it's valid) after enough incorrect tries? Hmm... maybe the banks should provide an API to request invalid account numbers to submit to scammers. Then they could e.g. set a cookie or setup IP filters and fight back these scammers.

Matt Brown: CRCnet Configuration System

CRCnet Configuration System
Now that the CRCnet Configuration System is nearing a releasable state, we’ve had approval from the University’s commercialisation arm that we are allowed to release it under the GPL. This is good, I’ve been working on the system for the last year at least and it is nice to know that it will be available to the community at large. I think what is going to be most interesting to me is to see whether there is any interest in using it from external people and particularly how easy they find it to use. The current plan is to release version 1.0 at LCA’06 in conjuction with our talk of everything that the CRCnet Project has achieved over the last few years. Debian Stuff
Haven’t made a lot of progress with my NM application over the last month. I think both Alexander (my AM) and myself have been too busy with other things. Alexander did get the latest PHPwiki packages that I had prepared uploaded and there have been no new bug reports yet, so I think we’re making progress. This package made use of the wwwconfig-common functions developed by Sean Finney which was a great help and we’re much closer to having a robust PHPwiki package (and one that is up to date) than we were a few months ago. The next step for the PHPwiki packages will be to try and migrate to the dbconfig-common structure for database creation and management. The hold-up there is that dbconfig-common does not support sqlite or sqlite3 at the moment. We use sqlite as the default database for the Debian PHPwiki package to save having to install a heavy-weight system such as mysql or postgresql. Reading the dbconfig-common documentation it seems that it will not be too difficult to add sqlite support so hopefully I will find some time for that over the Christmas break. I wrote some scripts to nicely automate VAP creation with the new madwifi-ng drivers for Atheros wireless cards and posted them to the Atheros mailing list. Kel Modderman picked them up and pointed me towards the pkg-madwifi alioth project where madwifi packaging for Debian is being co-ordinated. It will be good to get involved with that as working with madwifi is a fairly large part of my job at the moment, so it will be easy for me to justify spending time on Debian packaging tasks for it. The key issue we need to sort out here is whether udev rules or ifupdown hooks are the most appropriate way to create the VAP devices, or whether a combination of the two is required.

Joey Hess: PhatNoise Music Manager

Why do prioprietary pieces of software often have names like the above? (Other examples: Macromedia Flash, Chipmunk Scripts Guestbook, Mojo Mail, PeopleSoft PeopleTools, Golden FTP Server Pro, Invision Power Board) A walk though the CVE lists will turn up hundreds of hilarious examples of similar names. It's easy to guess whether a given security hole in that list affects Debian based just on the form of the software name even if one has never heard of the program before. Even free software projects that seem to partake of a proprietary mindset show it in the names: Mozilla FireFox, OpenOffice, Mozilla Thunderbird. So different than w3m, vim, mutt. A whole pile of history, cultural, and, I imagine, linguistic difference. Even if at first saddled with such a name, many free software projects seem to evolve in the other direction: Debian Installer -> d-i, X Window System -> xorg. As someone who can't name software, I find this strangely fascinating.

16 December 2005

Ari Pollak: How do I wrote irssi script?

Alexander Wirt had wondered if there was a page that tracked the topic of #debian-devel. There wasn't any, so I decided to whip up a tiny irssi script that used WWW::Mechanize to update this Debian wiki page automatically when the topic changes.

Personally, I think installing apt-listbugs/apt-listchanges and being aware of debian-devel-announce is more useful than reading the tiny topic, but to each his/her own. There's already a StatusOfUnstable page, but that has to be updated manually and right now just seems to reflect the /topic anyway.

Matthew Garrett

This is excellent. Every time I need to write a new piece of software, I find that it's just been added to Vienna. I'm beginning to get a little suspicious.

Also, party.

14 December 2005

Aigars Mahinovs: Another idea came to me in shower - I've been read...

Another idea came to me in shower - I've been reading up about MS Office 12 UI changes and I think there are some very nice ideas there, but we can do better.
The main principle of the Ribbon is that all functions are there, but some are smaller then others based on their priority.
It came to me that when you design an UI in, for example, Glade you are basically creating a dynamic structure that can scale up or down. The only two things missing to make it a Ribbonesque interface are: 1. unique priority for each widget to decide which widgets to reduce/increase in size, 2. multiple size versions for each widget - buttons from 128x128px to 16x16px, ...
For situations when 16x16px is not enough for the widget (editbox, for example) one could make a micro button that brings up the rest of the widget as a popover when pressed or simply not show the widget. Less important widgets would simply not be displayed at smaller screen/window sizes (hidden behind a generic "+" icon meaning more functions in a category).
This would allow an application to use those huge screens of the future for bigger and more detailed buttons/widgets and at the same time would increase usability of applications at small screen sizes. Or maybe I am just thinking too far.

11 December 2005

Adeodato Sim : KDE lightbulb

So let’s add one more image to the linux washing power -like images:
NP: Jay-Jay Johanson, The Last Of The Boys To Know

9 December 2005

David Moreno Garza: Germany 2006: Get ready, get set...

If you don't like football (real football, the one which you play a ball with your feet), skip it. 
 
The Final Draw for FIFA's World Cup Germany 2006 was held tonight at the Messe in Leipzig. This is a very interesting moment towards the event next year for all countries. In spite of US complaints, Mexico was considered head-of-group (thing that also took us by surprise), although we were 2nd on the region (I can't understand why we were 2nd since we had the same points as the US and we had more GF, which is the first criteria to undraw a tie).
 
Anyway, it's good to be head-of-group since we don't get to play in the first round against football potences (such as Brazil, France, Italy, etc.).
Group A
Germany
Costa Rica
Poland
Ecuador Group B
England
Paraguay
Trinidad and Tobago
Sweden Group C
Argentina
Côte d'Ivoire
Serbia and Montenegro
Netherlands Group D
Mexico
Iran
Angola
Portugal Group E
Italy
Ghana
United States
Czech Republic Group F
Brazil
Croatia
Australia
Japan Group G
France
Switzerland
Korea Republic
Togo Group H
Spain
Ukraine
Tunisia
Saudi Arabia
 Anyway, I think Portugal is not, at all, a small team, and I think, on group D, is the one that we have to pay more attention. Iran qualified as the 3rd out of 4 on the Asian seats, and we cannot minimize them, neither. And Angola qualified as the first of their group on the African zone; they made 21 points, just behind Côte d'Ivoire. Group D is a hard group, yes it is. In case Mexico qualifies to the second stage, the 1st and 2nd place of group D would go against 2nd and 1st places (respectively) of group C, where I, personally, fear Argentina :) Go Mexico! :) 

Clint Adams: Ancient history

Once upon a time, there were people that would operate buildds, look at failed buildd logs, diagnose build failures, file FTBFS bugs, and quite often would send patches to fix bugs. Were they called porters or buildd admins ? I can't remember.

7 December 2005

Paul van Tilburg: Arrival In Edinburgh

The flight to Edinburgh went just fine. I believe it’s my first time flying 10 minutes ahead of schedule because everyone was already in the plane. I left on 12:35 CET, landed on 12:35 GMT, so no time lost :). After arriving I was dying for something to eat (which I took with me in my coat but it wasn’t really reachable in the plane). So I ate, got some money and took a taxi to the Heriot-Watt University campus. The university campus Main reception of the Heriot-Watt University I got dropped off on the campus at the main reception. There I was able to store my luggage and I was kindly directed to the Mountbatten building, home of the school of MACS. There I met Fairouz Kamareddine and two of my direct colleagues: Manuel Maarek and Krzysztof Retel. Fairouz quickly arranged that I got registered as a HW(Heriot-Watt) student, got my MACS account, the accommodation, etc. The Thomson Hall where I live in With keys, luggage and instructions I took off to the Lord Thomson Hall to find my room. At 17:00 I was completely settled in already. I met my (all Chinese) four kitchmates (yes, it’s a strange word) and went back to the university refectory for dinner. My room is a quite small, at least, smaller than I am used to (about half the area), but it has a bathroom (with shower), gets cleaned weekly and all the heating is included… so I am not complaining. I must say that the people on campus are very nice. I can ask anyone if I need to know something and I always get help or a kind reply. There are really a lot of foreign students here (about 25%) who all share the same fate.

6 December 2005

Alexis Sukrieh: New electricsheep package

A new package of electricsheep is coming (uploaded this morning). This package brings a new upstream version (basically a CVS snapshot) which solves some buffer overflows. Moreover, I patched the sources in order to avoid the use of xsetbg which has a very annoying bug: it keeps opening X clients without closing the old ones. As electricsheep is a screensaver that computes new fractal animations continously, you are likely to let it run all the night for days… and that leads to consume all your X displays… I then disabled the two calls to xsetbg. In the meantime, the severity of the xloadimage bug has been raised to grave, and it has been tagged security.
I hope we could find a solution for this problem.

5 December 2005

Anthony Towns: Security Infrastructure Changes

Delays suck. I’m actually skipping ahead here, I’d meant to blog about updating the dak codebase into shape for whatever changes were coming up first, but it turns out I’m not in the mood for that. Besides which, most of this entry is preprepared. In the last few entries we went over the background for updating our security infrastructure to make it possible to have security team members that don’t worry about vendor-sec issues (process, overview, NIv2 aka NINJA, queue-build issues), all the while skipping fairly lightly over the question of what has to actually happen. That happens to be the way I prefer to work, lots of background tinkering, then spend as little time on actual implementation as possible; it has it’s drawbacks, but hey, I like it. Anyway, the second last step is working out in detail what’s going to happen. The delay in question was trying to get the security team to sign off on it, but unfortunately they’re busy enough that that looks like it’ll being an indefinite delay, so I’m going with the “well, ftpmaster maintains the dak/katie infrastructure for the security team, so in the end it’s our call on what’s best anyway” line of thought, and just plunging in. Fortunately the current and final plan should make pretty minimal changes to how the existing security team operate anyway, even assuming a massive testing security operation happening in parallel with them – so the downside risk is already pretty minimal. (And it was, afterall, developed in consultation with Joey, and then shopped around a few folks who’ve been doing security work for testing and kernels) What is that plan, you may well ask. It’s something like this: First, let’s restate the idea:
Concept Allow two teams to exist, the current security team as the “vendor-sec subteam”, and the full team which can expand to also include the testing-security people and others interested and able to help out with security work but who do not have access to vendor-sec.
Then, we want to think about the processes that are involved at a global level. First for uploads that can’t be made public until some later date, and can only be worked on by the “vendor-sec” enabled security team.
  • Source upload to queue/unchecked (as now)
    • Upload is authenticated etc
    • Upload is moved to queue/embargoed
  • Upload is autobuilt
    • Logs are sent to a procmail address
    • Logs are forwarded (by procmail) onto the vendor-sec subteam
    • Logs are signed and sent back
    • Binaries are uploaded to queue/unchecked
    • Binaries are moved to queue/embargoed
  • Uploads (source + binaries) are approved from queue/embargoed by
  • running amber
    • Uploads are moved into the archive
    • The archive is mirrored
  • The approver issues an advisory
And likewise for issues that don’t need so much secrecy:
  • Source upload to queue/unchecked-disembargo (new directory)
    • Upload is authenticated etc
    • Source+version added to unembargo table
    • Upload is moved to queue/unembargoed
  • Upload is autobuilt
    • Logs are sent to a procmail address
    • Logs are forwarded (by procmail, after checking unembargo table) onto the full team
    • Logs are signed and sent back
    • Binaries are uploaded to queue/unchecked
    • Noting that the source is in the unembargo table, Binaries are moved to queue/unembargoed
  • Uploads (source + binaries) are approved from queue/unembargoed by running amber
    • Uploads are moved into the archive
    • The archive is mirrored
  • The approver issues an advisory
Processes are great, but they have to be supported by proper information handling, so it’s worth looking at what the above actually means for the on-disk structures, too. This is particularly important, since filesystem level security is mostly how we wall off vendor-sec stuff from other users of the system (whether they’re also working on security issues, or doing, eg, web page maintenance or something equally random). Voila:
queue/unchecked, queue/unchecked-dismebargo
    world writable
    accessible only by katie
    contents automatically cleared every 15m
queue/embargoed
    writable only by katie
    accessible by vendor-sec subteam
    amber allows packages to be ACCEPTed
    [...] allows packages to be REJECTed
queue/unembargoed
    writable only by katie
    accessible by full team
    amber allows packages to be ACCEPTed
    [...] allows packages to be REJECTed
queue/accepted
    packages only sit in accepted briefly while amber is running
And finally, to sum things up, this is what a member of the security team should expect to actually do to release an advisory:
  • Upload package to queue/unchecked (or queue/unchecked-disembargo)
  • Wait for build logs to be sent to your address
  • Check and sign those build logs
  • Check the final packages in queue/embargoed (or queue/unembargoed)
  • Run amber over the packages to accept them
  • Fill in the template advisory generated and send it to the -announce list
The differences between that process and the current one used by the security team is pretty minor, ttbomk: currently uploads sit in queue/accepted not queue/embargoed, and currently the security team ignore the template advisories amber generates preferring to make their own – aiui, this is mostly due to delays in actually receiving the advisory template since amber mails it instead of leaving it somewhere convenient on disk. Anyway, that’s what the plan looks like. We should see how well it survives contact with the enemy, or at least reality, remarkably soon. (Of course, I guess “political issues” could always foul it up completely anyway, particularly going by the fact that it’s been more or less the only problem raised by the folks I’ve passed this on to… Oh well, reconstruct that bridge when we get to it, I guess)

Matthew Garrett

Various samples of code:

#* In all cases CONFIG_SMP redetermined bye 'cpu0'-line in /proc/stat.

do if (smbusDebug & (1 << ( 1 ))) printk(KERN_DEBUG "smbus(%d):" "asus_PowerDown(%p,%p,%p)\n" , (int)(jiffies-jiffies0),CmdBuffer, ResultBuffer, fSmbiExec ); while (0) ;

typedef char CHAR;
typedef CHAR *PCHAR;

* All rights reserved
MODULE_LICENSE("GPL");


Thanks, Fujitsu Siemens. You COPYRIGHT INFRINGING INCOMPETENT FUCKMONKIES.

I mean, christ.

CHRIST.

UNBELIEVABLE HOLY CHRIST ON A FUCKING BIG STICK.

4 December 2005

Matt Brown: Linux Australasia?

I’m pleased to have prompted a bit of a discussion on the linux-aus mailing list about Linux AU and the relationship with NZ. James Purser kicked things off with a blog post on Friday and so far the discussion is going really well. I’ve outlined a few more of my thoughts below. I think the issue of national identity is probably the key to this whole discussion. It is important for the NZ community and LUGs to retain their own identity and not be subsumed into Australian identity. When Craig, John and I started the Linux NZ discussion, it came in part from a fair degree of envy from what we were seeing Linux AU acheiving. If you read our initial invitation it was quite clear that we were looking for support to “duplicate” Linux AU into NZ. We didn’t get there, and after taking a month or two to think about it, I believe that trying to duplicate Linux AU into NZ was the wrong approach to take. As beneficial as it would be in terms of creating a distinct identity there are far too many other things that it just doesn’t make any sense to duplicate at all. LCA, the podcasts and Advocacy preparation are the three key things that pop immediately to my mind and I’m sure there are others too. I think the biggest thing we learnt from our LinuxNZ endeavours is that we don’t (currently?) have huge numbers of people available to do things in NZ, and we are always going to suffer from problems of scale to some extent. In many ways the more duplication we can avoid the better. That allows us to free what people we do have to focus on the things that are NZ specific. This is the key reason that I’m pushing to see if there is support for Linux Australasia. It’s not that we want LinuxAU to adopt or subsume NZ LUGs, the idea is that LinuxAU would grow to include NZ and become a bigger, better and more inclusive organisation as a result. I guess the flipside for Australians is that the resulting organisation would be less nationalistic…. More on that in a minute. ISON probably fits in here too, I only just become aware them yesterday so I’m still reading their site. However my impression is that while it is definitely an organisation we should be linked with, its aims and goals are orthogonal to what I’m trying to achieve by proposing Linux Australasia. The impression I’m getting from talking to Pia, and lurking on this list is that LA is working very hard to empower the members to be the workers rather than the committee. With the committee providing the organisational oversight, legal structure, vision and authority needed to keep everything hanging together. I think it’s a great strategy, and would fit in perfectly with the bigger, broader Linux Australasia that I’m proposing. Give NZ members the opportunity to work on the press, publicity and advocacy sub-committees too and you’re pretty much there in terms of
achieving Linux Australasia! The sub-committees as a whole can work on their specific areas (avoiding unnecessary duplication) and then the
NZ/AU components of each sub-committee can do the necessary (hopefully minor) localisation work if and when required. Following from this, if there is a need for a more nationalistic component then it’s simply a matter of creating a sub-committee to do the work required to “promote national identity”… perhaps we need to have FOSS competitions across the ditch so we can beat each other in something other than sport… :) Plenty to think about and as many have pointed out the key place to resolve all this is probably going to be at LCA’06 in Dunedin. I think as James has pointed out though, it is going to be very beneficial for us all if we can do much of the talking beforehand and at least get an idea of where everyone is at, even if we are poles apart in terms of what we think.

30 November 2005

Erich Schubert: Pyroman V0.1 finished

I just finished rewriting an old firewall tool from Perl to Python. Since it's in Python and about firewalling I dubbed it Pyroman. I investigated a dozen of firewall-tools before, including shorewall and firehol. Each had it's stength and its weaknesses. After writing iptables rules in a shell script every now and then for a more complex project (with like 6 networks of which 3 are bridged together) and two dozen of differently configured hosts, NATs, VPN, everything. My predecessor had written a shell script to configure the firewall, but this was really bad to maintain. So I ended up writing a perl application to generate the rules from a modular configuration (read: usually one file per host, containing a perl hashmap) Well, after happily using this script for two years, I dedcided it's about time to rewrite it and document it extensively. I chose python for the rewrite. You can get the result here: Pyroman 0.1.1. The good: The bad: To tease you a little more into testing, here's an example host configuration: ("dmz" is an interface alias - where the web server is connected to -, as are "INT", "DMZ" and "ANY" for clients on these interfaces)
"""
A really simple webserver configuration.
These examples are just boring... ;-)
But without NAT they would be even more boring. ;-)
"""
# web server
add_host(
        name="web",
        ip="10.100.1.2",
        iface="dmz"
)
# offering, well, web service.
allow(
        client="ANY DMZ INT",
        server="web",
        service="www ssh ping"
)
# internal hosts may access FTP, too
allow(
        client="INT",
        server="web",
        service="ftp"
)
# setup NAT
add_nat(
        client="ANY INT",
        server="web",
        ip="12.34.56.80"
)
(Yes, this is a python script. No, you probably won't care to write your configuration in a programming language, will you?)

29 November 2005

Erich Schubert: SELinux up and running

My "test" boxes (well, they are in fact production systems) are now all up and running SELinux with a "strict" policy and in enforcing mode, after some weeks in "permissive" mode to detect the last missing policy rules (well, maybe I'm still missing something in cron.monthly?) What took most of the time was in fact to write policy for some services or custom applications that didn't have one before. And that I basically was just checking the logs every day to see if some new audit errors had appeared. Oh, and inbetween we completely emptied the server racks and their wiring and redid the room... Just to mention a few things that were "missing": My OpenVPN is running a custom script to update DNS on login and logout, which obviously was missing from the SELinux policy. I'm also using heartbeat to failover between the two firewalls and two mailservers; that policy took me probably one hour (without much previous experience) to write. Then I have another custom LDAP to aliases for a Lotus directory (which hopefully will be replaced by a sane application soon... whoever invented "implicite email adresses" should be shot. Just put all email adresses into the directory, so any app can look them up without trying to guess what your generation rules are... firstname.lastname@domain.tld sounds easy, but what with non-ascii characters?) Anyway, the systems are doing pretty well. Maybe I'm going to enabled SELinux on the web server next. ( (cra-)PHP and typo3 will probably make that more difficult, though...) Oh, and I need to sort out which of my policy changes are local changes, and which I should feed "upstream".

24 November 2005

Jonathan McDowell: Network installing FreeBSD

So, Black Cat Networks have a bunch of nice dedicated servers and I've been working on various network installs for them. Debian was of course easy; there's a nice netboot.tar.gz that has everything you need (including configs for serial consoles). Fedora Core was a bit harder; there's mention about network boots and installs, but not a lot of docs. A pxelinux entry like:
label fedora
	kernel fc4/vmlinuz
	append initrd=fc4/initrd.img ramdisk_size=8192 console=ttyS0,9600n8 serial
does the right thing, with vmlinuz and initrd.img coming from http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/images/pxeboot/. Fedora's a bit annoying in that it doesn't offer you a selection of mirrors to network install from though, so you need to have worked that out for the install. FreeBSD however, was much harder. Firstly, there aren't any decent docs about it that I could find. Secondly, it really wants to use NFS, even though TFTP will be required anyway for the PXE boot stage. So, I ended up recompiling the pxeboot loader with LOADER_TFTP_SUPPORT enabled and LOADER_NFS_SUPPORT removed (though it still tries to do NFS mounts it seems). Of course, you can't do this under Linux easily. Nor can you do it on FreeBSD 4.10 it seems (I was recompiling the FreeBSD 6 loader). However you can on FreeBSD 5.4. You need the lib and sys source trees to do so. Or you can have my prebuilt copy, freebsd.0. pxelinux config looks like:
label freebsd
	kernel boot/freebsd.0
assuming you put it in a boot subdirectory under your tftpboot root dir. You then need http://ftp.uk.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-bootonly.iso to get the rest of the /boot contents from. Burn it to CD or loopback mount it or work whatever magic does the trick for you to get access to the files in that image. Then copy all of /boot on it to boot in your tftproot. You don't actually need boot*, cdboot, loader or pxeboot, but they're all small files. Then, add the following to loader.conf:
boot_serial="YES"
console="comconsole"
kernel_options="-h"
vfs.root.mountfrom="ufs:/dev/md0c"
So, now you can type "freebsd" at your pxelinux boot prompt and it'll boot up the installer. Rock. I don't quite understand why I had to include the kernel_options line above - I thought setting boot_serial would do that for me. However, it works. With the only real pain being having to recompile pxeboot and the lack of docs. Which I've now sorted for you. ;)

Matt Brown: Irony

I had to laugh today while reading the NZ Herald when I came across the an article entitled Using the net to get the story. The article talks about the rise of Computer Assisted Research (CAR) and prominently quotes Francis Till, the webmaster and a technology contributor for the National Business Review. Mr Till says that CAR can be used to "produce better-researched, more in-depth articles"! I wonder if perhaps Mr Till is thinking of well researched (not!) articles like his vitriolic attack on Linux and Open Source Software published in the NBR several weeks ago. Apart from the incredibly unprofessional tone of the article, it appeared to rely almost completely on facts from Microsoft press releases and made many factual assertions that have since been thoroughly refuted. The irony of the author of such a badly researched article wanting to teach other NZ journalists how to use the Internet to research their article is hillarious.

23 November 2005

David Welton: Reading material

Via Ugo Cei I found this reading list: http://www.joelonsoftware.com/articles/FogCreekMBACurriculum.html, some of which looks to be interesting, but I'm not convinced that it's a selection where each book is a 9 or a 10. Books like the Mythical Man Month stand the test of time, and some of the books there are good ones by that measure, others look less convincing, at least judging by their contents (too focused on the 90ies, the bubble, a particular company), or some of the reviews on Amazon. Perhaps those aren't always worthwhile, but the real winners don't seem to have much flack thrown at them. I'd enjoy hearing why Joel et al. recommend them. I've read these: in addition to Microeconomics (6th Edition) as a textbook on Economics. What are your recommendations? All things considered, though, I have a hunch that it would be better to be out trying to *do* rather than reading books about doing...

Antti-Juhani Kaijanaho: Safety is the beginning of wisdom, not its end

I wrote a couple of days ago about safety in programming languages. A certain comment reminded me that people (even programmers) misinterpret technical terms from the area of programming languages. It reminds me of that old joke about the C programmer who is very hurt when somebody claims that C is not a functional programming language - of course it is functional, our hero says, as it functions perfectly. It also reminds me of a quote Christopher Strachey has been said to have written in the 1960's:
It has long been my personal view that the separation of practical and theoretical work is artificial and injurious. Much of the practical work done in computing, both in software and in hardware design, is unsound and clumsy because the people who do it have not any clear understanding of the fundamental design principles of their work. Most of the abstract mathematical and theoretical work is sterile because it has no point of contact with real computing.
In programming languages jargon, safety is the property of a language that all well-formed programs have a well-defined semantics. That is, in a safe language, programs that the compiler does not reject, do not go beserk (corrupt the stack or heap or otherwise invoke nasal demons). A well-defined semantics might be a forcible halt of the program, which is often not the ideal way of dealing with problems (sometimes it is even harmful), but it is beyond the scope of safety to specify a programmer-friendly semantics for such occurrences. Safety is the minimum requirement, not by any means sufficient for all contingencies. There is a related slogan attributed to Robin Milner:
Well-typed programs do not go wrong.
(Wrong, in this case, is an abstraction denoting nasal demons, heap corruption and other such nasty things.)

Next.

Previous.