Search Results: "ina"

23 October 2005

Steinar H. Gunderson: Self-irony

It's good to see that Bruce Schneier has got a sense of self-irony :-) Update: I really dislike pymarkdown's syntax for URLs :-)

22 October 2005

Andreas Rottmann: Scheme48 fork update

Mike Sperber finally reviewed my patches; they unfortunatly were not deemed appropriate for the Scheme48 distribution, see this thread. Hopefully these issues can be sorted out in the not-to-far future. If you also need the one or other features from my hacks so far, and are adventurous, you can conact me on #scheme on freenode for help with getting and building my fork. Writing portable Scheme programs with scmxlate and spells For the conjure project, we are using scmxlate to make it portable across multiple Schemes. For that purpose, I slightly extended scmxlate and built a kind of meta-module system on top of it. Here is how that looks like: You write a description of the modules your application or library is made of; this is done in a sightly extended subset of the Scheme48 configuration language. For example (from this page, see there for more details):
 (define-structure conjure.foo.bar (export qux baz
					  ((froboz fribnitz)
					  :syntax))
  (open scheme srfi-1 srfi-13 conjure.util.files)
  (dialect (guile (open ice-9.syncase))
           (scheme48 (open extended-ports)))
  (files (foo basic-bar)
         (foo bar)))
This defines the module conjure.foo.bar, which exports the identifiers qux and baz, as well as the macros froboz and fribnitz. The open clause means: this module is written in R5RS Scheme (scheme), plus additionally using srfi-1, srfi-13 and the conjure.util.files module. The dialect clause can be used for specifiying additional modules needed for the dialect-specific code for the module. Finally, the files clause tells us that this module consists of the files foo/basic-bar.scm and foo/bar.scm. This file then gets processed by scmxlate, generating a file with the right module definitions for the selected target dialect, e.g.:
(define-module (conjure foo bar)
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-13)
  #:use-module (conjure util files)
  #:use-module (ice-9 syncase)
	
   #:export (qux baz)
  #:export-syntax (froboz fribnitz))
	
 ;; code for foo/basic-bar.scm and foo/bar.scm follows
will be generated for Guile. We recently split scmxlate and the meta-module systeem out of conjure, see the scmxlate category in the conjure archive, so it is available for other projects. Now the split-out of the general purpose modules into a separate project — SPELLS, (S)pell’s a (P)ortability (E)nvironment (L)ibrary for (L)ots of (S)chemes — is in preparation. This library will further aid writing portable code, by providing a consistent interface to functionality that has different APIs in different Schemes. These modules are already there: All of those are implemented for all of mzscheme, Guile, Scheme48 and Gauche, using native functionality where available. Other modules will surely follow, a project has been requested at Gna! to facilitate contribution. The spells library will also be used by my upcoming port of G-Wrap to Scheme48.

Andreas Rottmann: Getting paid for OSS work!

I’m going to get paid for open source developement! Wooha! More specifically, the company I work for since 2 months is going to switch away from CVS as SCM tool. We had a look several SCM systems, among them Subversion, GNU Arch and several commercial offerings, including BitKeeper :-0. The final contestants were GNU Arch and AccuRev. Subversion fell flat for its missing features (mediocre merging support, no distribution), and BitKeeper was not considered seriously because they don’t even list prices at their site (which indicates a fairly high price tag, normally ;) and due to opposition from myself (for the obvious political reasons). Well, finally the case was made for GNU Arch, and since it lacks a decent GUI (currently the GUIish guys here use WinCVS), it was decided to develop the GUI in-house, and as an open source project!. It will probably be developed using Python and GTK+, so it will run also on Windows (which is a requirement). Expect more news, including project announcement soonish.

Joey Hess: stuff

Slept in far too late this afternoon, easy to do on grey and chilly days. The d-i beta release that I've now been in the final stages of putting together for entirely too long was nearly 100% ready to go last weekend, only waiting on a few obscure architectures to finish building some stuff. Then secure apt entered testing and broke everything, and we had to add fixes to the fixes, and stuff like apt crashing on the alpha platform began to be potential beta blockers. Looks like this may get resolved yet, since mvo rocks, but it's been painful. And I'm still waiting on overly delayed builds for some architectures (cough sparc). The only thing I'm missing here at the farm now is a working oven. Otherwise it's been suprising how quickly I fell back into old modes.

Steinar H. Gunderson: Today's positive surprise

If you just pull in a newer mount, NFSv4 suddenly works between our sid machines and our sarge (with backported nfs-utils and 2.6.12 kernel) file server. With Kerberos authentication and all. And autofs. Now, somebody, please fix #239610.

Steinar H. Gunderson: ATA over Ethernet

People have written in (thanks!) to suggest different ways to get a cheap NAS, and they seems to center around ATA-over-Ethernet solutions, including the NAS solutions from Coraid. The latter seems to be a too expensive ($4k + disks) for our uses still, but having a separate machine and exporting the block devices using vblade could actually work for expanding the number of disks, and not be too painful. Unsure how stable vblade is yet, though :-)

Steinar H. Gunderson: Good news and bad news

The good news is that initramfs-tools seems to support root on EVMS out-of-the-box, and even changing to root on EVMS; just change root=/dev/hda1 to root=/dev/evms/hda1, update fstab and it should work. Getting this to work with initrd-tools was always a huge pain, and since we don't have working EVMS in d-i (I hear Canonical might be doing this at some point, though) actually getting an EVMS-only system with Debian is quite hard. The bad news is that the 2.6.14 kernels in experimental don't support initramfs-tools at all currently, due to some silly flamewar over what API the kernel images should use to detect initramfs-tools or not, so I can't get to test it. I'm looking forward to this issue being resolved, so I can add a simple evms_debug kernel parameter which puts you into the EVMS command-line client, so you can convert your root volume to EVMS and then just boot from there.

Matthew Garrett

The DCC Alliance (not to be confused with the DCC Alliance, which is entirely unaffiliated with the former. But it's a recursive acronym, so there's NO TRADEMARK ISSUE) aim to produce a distribution which is entirely binary compatible with Sarge. A laudable aim. Sadly, there's a bit of a problem.

OpenOffice.org 2.0 was released this week. In common with previous versions, it's a horrid mixture of C++, Java and assembler. It's the Java that's the problem, of course. To compile it, you either need Sun's ridiculously non-free Java, or you can use gcj. That's gcj 4.0, of course. Which can be installed in parallel with gcc 3.3, so that's not a problem. Except. gcj 4.0 wants the libgcc from gcc 4.0 (unsurprisingly), which has the same SONAME as the libgcc from 3.3 (correct behaviour - code built against libgcc from 3.3 will run fine with libgcc from 4.0). However, libgcc from 4.0 adds some extra symbols - as a result, code built against libgcc from 4.0 will not necessarily run on systems with libgcc from 3.3.

Or, in other words, shipping libgcc from gcc 4.0 will result in a system that will build binaries that can't be installed on machines running plain Sarge.

So, there's a bit of a dilemma. Either



The DCC Alliance want to build a distribution base that's binary compatible with Sarge. It's an entirely laudable aim, and (regardless of any impression I may have given in the past) I hope it's successful. But. That level of binary compatibility inherently compromises your ability to use new software. To begin with, you can work around that - backport code to older versions of libraries, include local copies, do static linking, that sort of thing. Over time, it gets harder.

Optimistically, Etch will be released in December 2006. If we assume that DCC releases occur at roughly the same rate as Debian ones, we're looking at 18 months until we get a DCC based on etch.

In 18 months time, is it really going to be possible to build a useful modern desktop system that's binary compatible with Sarge without it being an utterly unmaintainable pile of ugly hacks? Even after 5, we're seeing pain.

There's a reason that derivative distributions tend to diverge from the original project. It's because it's really quite remarkably difficult to maintain sanity, technical correctness and not change any of the underlying structure. I'd like to see DCCA succeed in doing so, and I do admire them for not just giving up in exasperation already.

21 October 2005

Jordi Mallach: Network troubles get worse

I hope to be back to normal in a week or so.
Right. A week later, my connectivity issues have gotten so much worse... Yesterday, I was trying to do some of my neglected Debian work at my mother's house (namedly, updating some packages for GNOME 2.12.1), when the ADSL modem lost its link and didn't come up again. As it was a bit late, I just cursed the nth incident with Wanadoo and left until the next day. Today, when I go back there, my sister asks if I can have a look, because there's no Internet. I suspect that the Wanadoo people have finally freed us and have cancelled our contract as we asked for two weeks ago. I phone and they confirm this is it. I then ask, innocently, if I am free to sign up with any other telco. They say I now need to wait, without any internet service, until the telephone line is freed so any other company can take care of it. That will happen in thirty or fourty days. WTF! I'm sure this can be reported somewhere, it's totally unacceptable. I've had to come to my father's house, out of the city, to do the most urgent pending tasks, and it'll be a pain to do this throughout the week. The good news is that today I got a call from Telefonica telling me that my modem should arrive at home on Monday, and some other day my own DSL link will start working. Hopefully that'll happen even before I leave to my American adventure. I am sure The Acetarium will be ready for my arrival. If you're waiting for some upload from me, please have a bit of patience because my current situation is making it quite difficult.

Jonathan McDowell: Goddamn stupid firewalling

Dear World, ping is a very useful command. It lets me see if a host is up. If you block ICMP ECHO/REPLY then I instead have to play the "Guess what service might be listening" game. Or I assume your machine is down and might worry (because I care). So please don't do it. I really don't see what you're trying to gain; it strikes me as firewalling without actually thinking about it. Are you by chance ignoring things like destination unreachable as well? And breaking PMTU discovery? Well done you.

Zak B. Elep: Any Linux users in Naga City?

Hey guys and gals, are any of you in Naga City? I’ll be there tomorrow to take my natsci final exam at USI, and I thought it would be nifty if there are some Linux geeks to meet up with. I hear there are some Fedora users at AdNU; how about Debian dudes or Slackers? =) If any want to meet up, just text me at 0915-5380648. =)

MJ Ray: Will the last ex-UEA-er to leave Norfolk please switch out the light?

A surprisingly high proportion of ex-UEA people stay in the area after finishing at UEA. Over 40% want to, according to the local chamber of commerce. Eventually, that number falls: with John and Brett leaving, I think I can now count on one hand those from my Norwich years (1994-1998) who I know are still here. Most left some time ago. Why? Small place syndrome? Underpaid work? Both? Possibly. It feels like only in Norfolk could the train station start to expand its car park to cope with demand and the same week most train services to it are cancelled because a Cambridgeshire farmer drove onto the single line stretch, was killed and it takes at least a day for access and safety checks in this sparsely-populated area. From the BBC's picture, the unit involved was one of the commemorative King's Lynn "picture trains". You seldom hear what happens to the damaged trains and injured drivers. I guess the railways and the media doesn't like to worry passengers. Even the Potter's Bar investigation ending only got brief mentions that I saw. Also at the train station, local police put out a picture of people they would "like to interview" about the spate of recent bike thefts. Possibly as a result, they've charged one man. Someone I know had a bike nicked, which meant a long walk to/from work until it was replaced. Very annoying. The sort of petty bike vandalism/theft which annoyed savs is also on the increase here again. I'd've expected nicked bikes to sell better in summer, but maybe the local crims are thick or there are more easy-to-nick bikes in September. At least it's not Fakenham, (which is one of the most boring places on earth, you may remember - original source ) where the headline story is that the kerbs are too high. I'm sorry someone was hurt, but kerbs here seem tiny compared to the ones in Northamptonshire. Probably they've all been lowered for safety there too now. As a result of adding Dave's blog to Planet ALUG, I noticed BritBlog for the first time. I spent a while browsing the other Norfolk-based blogs on it one evening. Unsurprisingly, I knew about most of the ones I found interesting already, apart from Ztroller who links to me... erm, why? Does he read this? Most listings are from blogspot and I still won't add Atom support to my blogging software - I want to read, not edit, so Atom is mostly extra cache filler. I only added Really Simple Syndication as well as RDF Site Summary because it was fairly cheap to do and I didn't know about the obvious way to get RSS 1 from Wordpress. Finally, in local(ish) concerns, Northern Ireland, from Noodles' emptiness:
"while I'm ranting, why is the adjective for someone from the UK "British"? Britain doesn't cover all of the UK. I wasn't born in Britain yet I'm British. Can't I be UKish or something?"
I'd hate to be called UKish. I don't have any particular affection for this Kingdom's political boundaries. If the UK ended tomorrow, would anyone besides its rulers mourn? I'll not thank you if you call me British. I'm English, a midlander and Towcestrian. British nationality is a side-effect. (And why is it so hard to get .gb domains anyway?) It's odd that there's such argument over England's anthem. So there is imagery or irony involved in Jerusalem, depending how you want to view it: who cares? It's rousing (unlike the UK dirge) and mentions England past. Yikes, I've just discovered I'm agreeing with Billy Bragg of all people. As for the UK, why don't we work together with others when we agree and work independently when we don't agree? Unfortunately, few politicians advocate English self-rule, apart from racist bigots and English imperialists. The really depressing thing is that those sort of people would probably easily get a majority in any English legislature, if backed by the mess media. Maybe Britain is diverse enough that it balances the extreme English... diverse we are or de verse it gets... (ouch)

Eric Warmenhoven: Upgrades

There’s a subtle difference between a replacement and an upgrade, and in my mind it has something to do with the relative qualities of the old and the new. I like my current car and don’t expect that my next car will be particularly better, but different, and for a different purpose. My old and new RSS aggregators are both complete crap. Lisa and I have been living in our home for almost exactly one year now; the exact day that we moved was July 23. It’s been a good starter house, but there are a few factors lately that have convinced us that it’s getting time for an upgrade. Recently we discovered that the air conditioning didn’t work; it didn’t cool the air that came out, and it no longer blew into the downstairs area. It’s taken us two weeks to get it working, and it’s still not fixed; there’s a leak and it’s so slight that to find it will take a week, during which we won’t be able to use the system. Since it’s the middle of summer we opted to postpone fixing it and will just have it refilled periodically, until we’re willing to not have heating or cooling (like October). It’s under warranty so it’s not our expense. Also, being in a townhouse has made us keenly aware of our neighbors, and our desire to have a bit of distance from them. So last weekend we started getting an idea of places and types of homes that we’d be interested in looking at. We’ll probably end up moving in a year or so. As a housewarming gift, my dad bought us a rather nice television. We have DirecTV with TiVO, but it’s not the HD service, so recently I’ve been thinking about getting it. The satellite dish is actually currently owned by our homeowners’ association, and they’re absolutely miserable to try and get anything done through. So I think since I’m the only one in my building who has DirecTV, that I’ll just replace the dish myself, and put back the original one when I move out. Is there more than one HD DirecTiVo box? The one that Best Buy has on their website is $700 for 250GB.

20 October 2005

MJ Ray: Selling, the web, chipping and bloody hacking

The Internet Advertising Bureau thinks the UK spend could be over a billion for the first time. It's now 5.8% of the national advertising spend and is growing at a pretty remarkable rate. Is Christmas coming early for online? OSCommerce - the future will be templated. We're doing more OSCommerce work and 2.2 MS2 is a fairly typical PHP application, with some structure, but also lots of spaghetti code. The next version is looking a lot better, including this announcement from the lead developer. Templating and styling has to be the most-requested work. I find it a little worrying that OSCommerce is not more openly developed, but it'll be good when the new release ships. Jakob Neilsen has announced the top ten web design mistakes of 2005 and "Legibility Problems" are number one. This isn't a surprise to me. Many websites, including some big names, are totally broken if your browser defaults are light text on a dark background, because that's easier on your eyes. I once spotted the Disability Rights Commission getting this wrong. Even planet.debian.org is missing a:link color: ... . The second top mistake is bad linking, including:
"In particular, don't open pages in new windows"
.which is another thing which I find irritating on many sites. If I want a new window, I'll pick the link for a "new window" from the context menu, or by shift-clicking. Does Mozilla or Firefox or something have an "ignore _blank link targets" option yet? It's only a matter of time. My own company's web site has been updated and I've tried to take these on board. We don't do any of the worst things, but there are always things we can do better. Our site isn't that high a priority - there's so much else to do. The W3C's internationalisation working group has issued a note on working with time zones. I get a lot of unusual time zone requests while programming, but I'll remember these explanations and I think I usually follow the recommendations in s1.5 anyway. Also from W3C is a Working Draft of "Mobile Web Best Practices 1.0" which they'd like feedback on, if you use or develop for mobile web devices. At first glance, it seems that many of the items are stronger versions of the Web Content Accessibility Guidelines. PlayStation chipping is legal in Australia but not in the UK, where it was ruled illegal last year. Chipping is the practice of adding a part to the games console so that it can play imported titles. If the chipping and the risk of breaking it costs less than the difference between imported and domestic releases, some people will want to do it. It's competition between markets. I remember similar things for the old cartridge-based machines of my youth. UK law-makers seem to be trying to kill off that trade in favour of foreign companies that want to tightly control the consoles long after they've been sold. The ruling from Australia might bring the start of a backlash against the increasingly restrictive UK laws, but it's more likely that the EU, US and others will press Australia to fall into line. Copyright seems to be one of the few areas where free trade is being reduced, rather than increased. And finally, I remember the feeling of getting sparc32 Linux working.

19 October 2005

Ari Pollak: The only way to read Planet

You should be good text file get at a place as we set window type a different countries, and fun way of code which is said I'm a drink! We point and displays it can be to the server and Free Software weblog at Debconf this has a place as a working at this unusually cheap used Google AOL, real: post Microsoft Apple hype going to be rid of the second one internal structure, explained how that he'd been a few more important. Ian Murdock Developers! As if I needed to take the man claiming to look at some relevance and he said the test cases.

Obviously this before and a bit of Launchpad team: have several staff who didn't plan to finally on the code, we want it.

Scott James Remnant: Parallel Peer Programming

Here at Canonical Towers we have several staff who worship at the altar of Extreme Programming, and as such many of the methodologies and rituals prescribed by that religion find their way into our day-to-day working practices. A few of these came together in an interesting way a few weeks ago, and it was suggested by a cow-orker that I blog about it so he could give the URL to people. The first ritual is that of the sprint, I don’t think this is orthodox XP but rather something inspired from it that we picked up from the Python community. With all of the Canonical developers scattered across the globe mostly working from their own homes, it’s become a useful tool; particularly for the Launchpad team. The basic idea for those that haven’t heard of it is simple, and perhaps obvious; you get a selection of the team together in one place, sit them around the same table with particular goals to complete. In effect it’s highly compressed facetime and high bandwidth interaction to nail those tasks that need it, before you head off again and work at a more sedate pace. The second is directly from XP doctrine and is that peculiar observance known as pair programming, something that is often coupled with sprints. For anybody who hasn’t encountered this before, it’s something I’ve always found rather odd. You get two programmers together, both itching to code, and you take one of them’s laptop away; and you don’t just force them to fight over the keyboard either, the laptop-less soul isn’t allowed to touch it. The theory here is that it frees the deprived individual of the hassle of coding and allows them to direct the programmer in ways that may not be immediately obbious, or alternately think about the next bit of work that needs doing. Another interesting side-effect is it can be an interesting way to learn code you’ve not worked with before, if you’re the one doing the coding and you’re being guided what to do by a sage who already knows it. I have a funny story here, so I’m going to digress from the main stream for a moment to tell it. A few months ago I was working in the London office, Mark had been up all night coding and had then given me responsibility to get his changes landed onto the Launchpad mainline. I’m not that hot on quite a bit of Launchpad, and fade to utterly clueless the nearer the code gets to the web application itself; and when trying to merge the two there were conflicts which I needed Mark’s help to resolve. Now as anybody who’s met Mark knows, he’s a pretty good example of a Type-A personality, yet he suggested that we do a spot of pair programming to get the code in and I’d be the one with the laptop as it’d help me get to grips with the affected parts. This hilighted something I’ve always seen as a problem with pair programming, dealing with it when the a person with the keyboard has a totally different way of working to you. In particular, I’m an emacs user, whereas Mark is a die-hard vim user; but also right down to the working directory I would work from, how I test results, etc. When you’re the one without the laptop, this can be quite infuriating, as you know exactly how to solve a problem and the idiot with the keyboard is dithering about doing things you don’t understand just to get there. If you’re a Type-A personality, you generally snatch the laptop away at this point and do it yourself; or at least you would, if you could drive the strange editor the other person uses. I swear Mark was sulking as he gave the laptop back and let me do it. Anyway, there is some relevance to that and we’ll come to it in a moment. The third and final methodology is the concept of unit tests and more specifically test driven development. For anyone who hasn’t come across this before, I highly recommend it; I was suspicious too when Robert Collins took it upon himself to teach me the true way, but now I’m sold. Simply the idea is that if you have any code that doesn’t have another piece of code in a test suite that checks that it’s working correctly, that code is broken. More particularly unit testing involves checking just one feature or requirement at a time, and stacking them together to test all of the code paths. I’ve actually found that this improves the APIs I design, as I write the code in small blocks and functions to make them easier to test. Test driven development takes it even further, you write the unit tests first, before you write the code they’re supposed to test; usually one or two at a time. Obviously these tests will fail at first, it’s then your job to write as little code as possible to make them pass. If your code isn’t right, you add a unit test that will fail, and modify the code to make it pass. This really comes into its own when you’re fixing bugs later, once you’ve identified the bug you write a test case or two that cause the problem; these will of course fail. You can then modify the code to make them pass, and at the same time be sure you’ve not broken other functionality because of the existing test suite. I’ve also found it really useful for particularly complicated or tricky pieces of code, especially those intricate algorithms that do particularly heavy lifting. So onto the event itself, this was a sprint in our London office to indoctrinate Gustavo Niemeyer with the various projects he’d be working on. The goal for this sprint was decided to start the conversion of HCT to Bazaar-NG, and to do this Gustavo and I would pair program. Now my last experience of pair programming had been that story with Mark (see, it had some relevance) and I knew I’d be just as bad if I wasn’t allowed to have the keyboard. I was also acutely aware that if Gustavo was just sitting by and watching, he wouldn’t get much benefit from it either, so he needed to be actively involved in the coding so he could learn the things he’d be working on. I came to what I thought was a pretty neat, and obvious, solution to these problems. We set up my laptop with the code we’d be working on, and on my display were two side-by-side terminals both running screen sessions. Gustavo then set up two same-sized terminals on his, ssh’d into my laptop from both of them and joined the screen sessions. In the left-hand one he ran vi, and in the right-hand one I ran emacs. Thus we both had keyboards, and both had editors, yet could see each other working and even steal the keyboard without danger of violence. We didn’t just sit side-by-side and code on different things though, that’s not pair programming and is just ordinary programming with a bit of a voyeuristic twist. What we did was: in my terminal I started writing the test cases for the code we needed, it was Gustavo’s job to write the code that would make them pass. We actually added a third terminal in which we could run the test cases themselves; so I could run them when I’d added something that would fail, and Gustavo could run them when he thought he’d made them pass again. This turned out to be a rather fun way to work, and at one point I was almost able to try and convince myself that the code was writing itself to pass the test cases I was writing. It also got me thinking that it’d be really neat to use genetic algorithms to breed code to pass test cases.

Steinar H. Gunderson: Firefox emacs keybindings

Robert: A quick Google search on Firefox emacs key bindings gives you what you want. (Bonus points to Google for finding a page that mentions keybindings when I asked it for key bindings .)

Peter Van Eynde: Gains and losses

I've removed the hoary and hoary24 sections of the CL package repository I host on p.d.o.
On the other hand I and David D. Smith will adopt the clisp and libsigsegv packages that Will Newton took good care off up until now. We will coordinate the work through the darcs archives on cl-debian.alioth.debian.org.

Andrew Pollock: [life] I'm feeling lucky redux

Today we finally got our E3 visas in the mail, so I've resigned from Cybertrust, and I'll be starting at Google in Mountain View, California, in probably 5 or 6 weeks time. Much bubbly to be consumed tonight.

John Goerzen: Control Room

Have you ever wondered why so many Arabs hate Americans? Why they view us as occupiers? Why they want to be rid of both Saddam Hussein and us? We watched Control Room tonight. What a fascinating documentary. There was no narration. Just journalists talking. Arab journalists, American journalists, Pentagon spokesmen. Lots of different viewpoints. Lots of insight. It was hard to watch at times -- they showed footage of how events were covered in different countries, and it was graphic sometimes. They also showed the journalists talking about why they covered things in a certain way. It was very moving, and thought-provoking. Sometimes it is useful to have a view from an outsider (to America) or an insider (to the Middle East).

Next.

Previous.