Search Results: "ag"

4 September 2006

John Goerzen: Lazy big-O and Haskell Answers

First, Evan has a host of interesting articles about Haskell, and I found his lazy big-O article particulary interesting.

Next, Eric Warmenhoven has recently taken up Haskell and posted some Haskell questions on his blog. Eric, here are some answers for you.

First, regarding shared libraries. While Haskell can be compiled to machine code, and GHC is a popular way to do that, a standard C way of representing information about a library (.h and .so files) is not really rich enough for Haskell. Consider, for instance, that functions may accept arguments of a wide range of types (or even things such as lists of any type). Haskell also performs type checking, and thus must know the type of arguments a function expects, as well as its return type, at compile time. So you do not generally compile Haskell code directly to .so files, but rather use the compiler's module or package support to do that. See Cabal for more information on packages. Through the FFI (Foreign Function Interface), it is possible to both call into C and be called from C with Haskell code, if that's where you want to go. It is actually easier in Haskell than in any other high-level language I've dealt with before.

Regarding circular module deps -- I've never used them and can't really comment. I can say, though, that the .boot files are internal files created by GHC.

Regarding practical stuff in tutorials -- I share your complaint there. I have found a few that are better than the others: Yet Another Haskell Tutorial, and Haskell: The Craft of Functional Programming, 2nd ed., by Simon Thompson. Several of us are working intermittently on a project called Haskell V8 -- take a look and darcs send me patches! I would say that Haskell's I/O system is the most powerful I've seen in many ways -- especially with regard to laziness -- and in the upcoming GHC 6.6 release, it will be both lazy *and* blazingly fast. Very nice.

There isn't much Debian-specific documentation, but there is a draft policy and a mailing list (link to it is in the policy doc).

Hope this helps!

Joerg Jaspert: Forking cdrtools as cdrkit

As you can read in this mail we went and forked the cdrtools suite and named the fork cdrkit. I wont repeat all the reasons again here, please read this if you are interested. If you are interested to join us start with a
svn co svn://svn.debian.org/debburn/nonameyet/trunk
and join us in IRC, server irc.oftc.net, channel #debburn.
Personally I really hate that we got forced to fork, I never did want that to happen. For most of the past I was able to ignore most of the random flamewars that JS always seems to get in. But unfortunately that did not work this time, so I joined the running flamewar. Read the thread following that yourself to make your own opinion, but maybe its better to just not read it, the time can be used better.

Marco d'Itri: I like receiving (some) bug reports

I suddenly realised that I like receiving bug reports. In a recent bout of structured procrastination I fixed more or less all the bugs I could fix in my packages (except ppp. I don't feel like working on ppp right now, does anybody want to help me?) and now this is a quiet period. Obsessively checking the bugs mailbox for new messages is a clear withdrawal symptom. I am addicted to bugs for a very simple reason: they are a challenge. I stopped working on mutt because it was not interesting anymore to me and then I adopted ppp and packaged udev because I tough that maintaining them would require solving many interesting problems. It's too bad that solving some needs the collaboration of other developers, but this will be the topic of a different rant. But not all bugs are an interesting challenge. Some are just a total waste of my time, which usually is much more valuable than the time of the submitter. I will show some examples. So, if you can follow these simple rules I will probably not flame you to ashes the next time you will report a bug on one of my packages.

3 September 2006

David Nusinow: So Much For One Entry A Day

Too many good responses not to reply now. Both aba and buxy suggest merging the steering committee with the DPL, thus allowing such a committee to be elected democratically. This has its merits, but I'm hesitant for one main reason: Project SCUD was a complete and utter failure from the point of view of many DD's, myself included. There were reasons for it, and I'm sure they're valid, and I'm not blaming anyone, but it does make me distrust that structure for anything useful. The DPL as an office has had the opportunity to create this sort of structure and make it work for a long time now, and it hasn't happened. I'd imagine it's because the DPL is simply bogged down with other things. If the DPL could make this happen, I'd be fine with it, but our past experience suggests that we need a different solution than a non-functional DPL team.

The current setup, with the 2IC, seems to be working very well, but it's not actively going after issues in this way, even though it has the authority to do so. Indeed, I think if the DPL did start exercising his authority in this way, people would complain and threaten to resign and so forth. While many of us might envy Ubuntu's success, I don't think we really want the DPL to become a dictator.

The tech-ctte, on the other hand, works very well when things are brought before it, even moreso now that it's been revitalized. Allowing the DPL to delegate the steering committee would allow fresh faces to replace inactive ones each year, which would be a further check on the committee's powers (which I've done my best to limit to the scope of the problem). Also, by acting as a delegate of the DPL, the committee is essentially a focused extension of whatever team the DPL has assembled. By having a group of people who are focused on this specific task, it allows them to get work done without being bogged down by most of the issues that the DPL faces. I admit that this takes some of the glamor out of being DPL, but there's nothing wrong with having the DPL as a member of the steering committee that I can see, provided the committee is large enough. One possibility I've considered is to make the DPL the chair of the steering committee by default, which would give them the same powers as that of the tech-ctte chair.

As for how the steering committee would work with the release managers, it would, as madduck said, be a fairly close relationship, with some very likely overlap. The RM's are currently loaded up with plenty of work just making the current set of packages and features tight enough to release. Adding the burden of crafting and helping implement a vision isn't something I'd want to force on them. The RM's should be, as they currently are, concerned primarily with getting a high quality release out the door. They would remain the focal point for transitions and RC bug fixes, as well as determining what is actually release critical. The steering committee would give people the power to work towards release goals (hence working closely with the release team) but they don't have the power to say that the release should be held up for any given feature. That power would belong to the release team, the same way it currently does. I'd imagine that any release goals set by the release team would be approved by the steering committee without much effort.

One final issue. The tech-ctte works out in the open, on public mailing lists and the BTS. Team SCUD, as well as the DPL in general, does not really work out in the open. While I think having some things taken behind closed doors is good, I feel very strongly that the steering committee would have to do its work out in the open in the same manner as the tech-ctte. This is a major reason why I don't want the DPL office to take on this power.

Jonathan McDowell: Please look after this geek

I have been abandoned. Just over a week ago Kathy was offered a job at the University of Ulster, in particular on their Coleraine campus. She starts tomorrow (they wanted her to start last Friday) as a Lecturer in English, so yesterday she flew back to Northern Ireland. Leaving me in Norwich (well, actually I was in Cambridge, but I'm back in Norwich now and will continuing to live here). We've done the long distance relationship thing before, while at university. It wasn't particularly fun and I'm not really looking forward to doing it again, but her contract is only for 9 months and as such it doesn't make sense to have a massive upheaval for what's a relatively short period of time. If she gets extended then we'll need to rethink, but at present that doesn't look that likely given that it's maternity leave cover. One thing is that I'm a bit worried I'm going to become very strange. Working from home will mean I'll not see anyone during the working day and there won't be anyone else around in the evening. I'm going to need to make more of an effort to seek out human contact otherwise I'll turn into an odd hermit. Especially given the fact I've a whole bunch of tech toys to play with (more on which later). Overall I'm very glad Kathy's got a job; it may be in a bloody inconvenient location, but she was understandbly getting a bit down about the lack of English lecturing jobs that are out there. Hopefully now she's had one the next will be easier to get hold of...

Raphaël Hertzog: Steering committee or board?

There’s a new idea floating around: creating a steering committee for Debian. I like the principle but I think we should aim for a broader change in the constitution. I don’t think creating a new separate structure is a good idea, because in my opinion the DPL should be the steering committee. Of course a single individual can’t play that role. And in fact, this is true for almost any task that the DPL currently has to handle. So we need to get rid of the DPL and to replace it with a board. And that board would be the steering committee and would also have the responsibilities that come currently with the DPL hat. Why? First of all, the role of DPL is to provide a vision but most recent leaders have not been able to do that as they tend to get overwhelmed by simple administrative work. If you remove the hope to effectively lead Debian by giving that power to a committee, then you scare everybody that wanted to be DPL because it effectively become an administrative position with no interest. Then, in recent years, the DPL position tended to become a multi-person thingie, first with the DPL team idea and this year with the 2IC (sort of a “DPL assistant”). So it looks like we’re ready to switch to a fully multi-personal leadership: one of an elected board. And last point, since the DPL tends to be active only on internal organizational issues, for most persons he’s only working on “political” stuff and he’s not valued as contributor leading the distribution where it needs to be lead: to the next release. That’s why I suggest that the board should be elected for an entire release with a maximum of 21 months. After each release we elect a new board and it should be in place for 18 months ideally. Tying the term to a release seems like the right approach to me: at the beginning the board is effectively doing most of its work as steering committee (setting/approving release goals) and at the end, during the period where we’re freezing it has more time to concentrate on organizational issues. The questions is now: how is that going to work with the release managers? Will that position become only an administrative work of low-level coordination without any influence on the whole distribution?

Andreas Barth: Steering comittee ...

I completly agree with the idea of a steering committee. However, due to the great power such a committee would have, I think the committee should be directly elected. One cannot merge it with the technical committee, as that is an appeal body, but one could merge it with the task of the DPL (well, bascially, both tasks overlap already quite much). That would be a complete overhoul of the current structure of Debian - currently, the DPL has only very limited power and cannot steer if the delegates disagree (unless he de-delegates). But I think that change would be a good change.

Marc 'Zugschlus' Haber: Old articles appearing on Debian Planet

Well, after reconfiguring my blog on Debian Planet, a few old articles have shown up again. Most probably the Planet had forgotten about having seen these articles before I left Planet weeks ago.It isn’t so bad, since most of the articles are still current - adduser is still beingn worked on, exim4 needs GnuTLS knowhow desperately, and clamav-data packages are still being built automatically for volatile.

Marc 'Zugschlus' Haber: aide 0.11 in unstable

After over two years without a release, and after having release candidates in experimental since October, aide 0.11 was released a few days ago, and I have just uploaded 0.11-1 to unstable. This time, I even haven’t forgotten to use the -v option to svn-buildpackage to have the changelog entries for the package versions uploaded to experimental in the unstable upload notice as well.aide is the Advanced Intrusion Detection Environment, a program which compares the real state of the file system with a database which holds various file attributes such as inode data and/or cryptographic checksums. In 2005, the Debian maintainer of aide, Mike Markley, has accepted me as a co-maintainer, and since I have done the biggest part of the work in the last months, I have adopted the package as responsible maintainer in January 2006. Mike is still listed in Uploaders and can commit to our alioth svn, though.

Marc 'Zugschlus' Haber: Why translate Debian stuff to German?

Disclaimer: I am not comfortable with technical documents in my native language, German. I generally find German translations of technical stuff clumsy, overly complicated and badly worded. I might have a “special” feeling for the language, but some output of translators is just too bad to tolerate.For example, I constantly keep stumbling over the german translation of the Debian security team FAQ, which I consider horrendously badly done. Especially the use of the german word “Gutachten”, which basically means “opinion” in the legal sense (as the document produced by an expert called by a court of law) to translate “advisory” is a very very bad choice. My toes curl when I read the german version.In April 2005, I suggested to the German translation team to review the translation of the security team FAQ. I might not have chosen the right wording for that request, but besides a lot of flamage and “the translation is just fine”, I received the usual “send a patch”. Which I did in April 2005.No answer. In October 2005, I asked again, and received answer from the translator that my patch was just too intrusive. Well, a bad translation was rewritten, and the bad translation is still being used.Consequences for me? I’m not going to bother any more about German translations. English is just fine, and when somebody needs a German translation, I’m going to translate the stuff myself. Pointing people to the official German translations is just too embarrassing. A pity.

Marc 'Zugschlus' Haber: Looking for useable CA software

To support my experiments with OpenVPN, I have been trying to evaluate different CA software packages in Debian. With devastating results.I tried pycaProsConstinycaprosconseasy-rsaprosconsopencaopenxpkiconclusionAll software sucks. Does Debian have CA software that is actually useable?

Marc 'Zugschlus' Haber: About developers with no interest in their users

After months of complete silence, ICQ spam has started again. Unfortunately, it is not even possible to put these people on ignore since kopete does seem to have lost its ignore option. Or, at least, I cannot find it any more in the menus. At least, kopete doesn’t show a message from a new contact before one has decided whether to add or not to add the new contact. A very good idea. Not.I decided to query #kopete on freenode where the Ignore button has gone to. But, I didn’t get any information. They said “your kopete, 0.11.1, is old. Please update to 0.12, this is the supported version.”WTF? I am using Debian unstable, with has the latest released KDE, and kopete 0.11.1 is part of current kdenetwork. And the developers refuse support for a package which has been built a mere six weeks ago? Have these people lost their grasp with reality? This sooooo ridiculous.Is there any other useable ICQ client that integrates well with KDE?

Marc 'Zugschlus' Haber: wpa_supplicant

The new wpa_supplicant packages have removed the /etc/wpa_supplicant.conf file. Wireless LAN is now configured via special commands from /etc/network/interfaces, which looks like an elegant Debian way to do things. While setting this up, I have learned the following: Well done, maintainers! Thanks! Next time I’ll figure out how to configure wpa_supplicant to automatically associate to the correct wireless LAN regardless of location

Marc 'Zugschlus' Haber: Debian loses DPL election, Cabal wins by tiny margin

Anthony Towns will be Debian’s next project leader. I am not happy with that outcome at all. With just a tiny margin, aj has won over Steve. Steve was not my favorite candidate as well, but he’d be better than aj, who in my opinion stands for the cabal that is running Debian from their positions of power for years now. Only 421 DDs have cast their vote, which is 43.3128% of all possible votes. Voter participation has thus been lower than the historic low Germany’s state Sachsen-Anhalt recently had in its Landtag election. More than half of the DDs do not seem to be interested in who makes Debian’s external policy and who represents the project to the outside. On the other hand, debian-vote sees a number of people who are not currently allowed to vote, but regularly contribute to Debian. It looks like the people who could vote don’t, while people who do good things to Debian are not allowed to vote. Bad. But, IMNSHO, the really bad thing is the new DPL itself. I think he has won the election with saying that he will increase Debian’s speed. On the other hand, he is member of ftpmaster, the team that might be one of the biggest causes for Debian’s slow speed. He is generally regarded to be close to the “Cabal”, which of course does not exist. I don’t see how the speed increase is can be accomplished giving this background. However, the vote can easily be interpreted as a vote of confidence in the Cabal, which in itself is a good thing. It shows that even the voting DD’s are comfortable to be ruled by the secret club of most senior DDs. I don’t have to like it, but I’ll have to live with it. aj is also one of the founders of #debian-tech, an IRC channel which has been created as a “nice” channel for technical discussions. The channel has a very strict code of conduct, and people are being removed from the channel if they do not comply. I am really really really afraid of this “be nice or else” attitude being extended to other Debian communications media during aj’s term. Being robbed of the right to speak one’s mind might adversely affect many people’s motivation to spend time with Debian in the future. In a nutshell: This is a sad day for Debian. But, otoh, every project gets the leadership it deserves. And it looks like Debian didn’t deserve any of the better candidates. jftr, I voted 63571824 Be warned: I have a bad history of mis-judging new DPLs just after their election. A year ago, I was quite happy about Branden being elected, and was convinced that things would change during his first term of DPLship. I really believed that he could remove the Cabal from the power, and that Debian would change to a more co-operative environment. I surely hope that I am as wrong this time as I was a year ago. It’ll be more positive this time.

Marc 'Zugschlus' Haber: Is parallel bootup already useable?

I am wondering whether it is currently possible to run a personal laptop with Debian unstable and some init scheme that allows parallel startup of the services. Naturally, it would be very good to start the X server early to be able to log in faster. Is this concept ready for testing and use? Which packages should I investigate? Any URLs that might be enlightning?

Marc 'Zugschlus' Haber: about bug reporters reporting bugs against reportbug

The last days, Debian suffered a bug in the reportbug package which made it fail in postinst. This bug was promptly fixed, but reported like THIRTEEN times as a bug in the BTS. If I were reportbug maintainer, I’d have gone ballistic at this ignorance of bug reporters. Guys, all of you who have reported this bug are running Debian unstable, an unreleased development version of your distribution. Is it asking too much to follow basic etiquette to look in the BTS whether a fatal bug might already been reported? I mean, THIRTEEN nearly identical reports?

Marc 'Zugschlus' Haber: Which kind of software suspend?

My notebook is an hp compaq nc8000 running Debian unstable, and I’d like to know whether it is “already” possible to use software suspend (hibernation). To my knowledge, there is a lot of different ways to do suspension, all of them differently broken and/or incompatible. I’t like to run with an unpatched vanilla kernel, use suspend-to-ram and suspend-to-disk according to my choice at suspend time, and have the notebook wake up with the X session unhampered and the important hardware (sound, synaptics) still useable. Additional bonus points if wireless and/or wired network remains useable and USB/PCMCIA devices don’t need an unplug/plug cycle. Which solutions should I investigate, which web pages should I read?

Marc 'Zugschlus' Haber: No more sl-modem-modules for me

A few months ago, I have reported about getting the winmodem in my hp compaq nc 8000 to work. Aside from the abysmally slow performance, the dependency on out-of-tree, non-free modules has been cause of grief since it has almost constantly forced me to keep an outdated kernel version around just in case that I would need the modem. Fortunately, this is over now since more recent kernel versions (I suspect somewhere in the 2.6.16 era) support my winmodem natively without out-of-tree modules. All I need to get only on a POTS line is sl-modem-daemon, which is reasonably painless.

Marc 'Zugschlus' Haber: DHCP challenges

My notebook’s DHCP setup seems to be a challenge for DHCP servers around the world. Looks like almost no server implements the standard in a decently complete way. My notebook has a wired Fast Ethernet, and a wireless 802.11bg network interface. Of course, both interfaces have their own MAC address. I want the thing to work at least at home, regardless of whether wired or wireless is in use, with preferably the same static IP address, and on the office wired network, again, with the static IP address allocated to me there. Configuring this is considerably harder than I expected. At home, I am using a Linksys WRT54G router with OpenWRT, which has dnsmasq as DHCP server. Unfortunately, dnsmasq does not support the case where multiple MAC addresses are statically assigned to the same IP address: Only the first dhcp-host statement in the configuration file is honored, all others are ignored. So we need to resort to using a dhcp client-identifier. In DHCP request option number 61, the client can send an identifier, which the Server can then use to determine the client’s identity and assign a static IP address. The client identifier, according to RFC2132, is to be treated as an opaque string by the DHCP server. This works fine with dnsmasq, solving the issue at home. But it causes more grief in the office network. My office is the kind of place where a non-Microsoft solution is rarely considered. Thus, our network is fully buzzword compliant and the network infrastructure, including DNS and DHCP servers, is based on Windows Server System. I am the only one using a non-MS operating system in my work environment. When I plugged my notebook into the network this morning, I noticed that I didn’t receive my static IP address but a different one from the dynamic pool. After verifying that the Windows guys didn’t touch the DHCP server in the last days, I began to think what I changed locally and naturally remembered configuring the DHCP client identifier. Removed it for testing, got my normal static IP address, so the client identifier was quickly pinned down as the culprit. After my Windows colleagues decided that it must be a client issue, I began investigating how to configure the Windows DHCP server to honor a client identifier. MS Knowledge Base article #172408, “Custom DHCP Client Identifiers for Windows NT”, is a high hit on Google, but is like three years old and shows that somebody at MS has badly misunderstood the DHCP standard - they think that the Client Identifier is a 4 byte number in little endian order. I couldn’t believe that and investigated further. But it looks like the Windows DHCP server really cannot handle free-form client identifiers at all. I tried coding my free-form identifier in ASCII and entering it as MAC address, big endian, little endian, to no avail. So, I have come to the conclusion that MS has - again - only partly implemented a very important protocol for their network software. “Embrace and extend”, my <censored>, DHCP wasn’t extended at all. Looks like they stopped developing after the first developer box had successfully received an IP address, and shipped the resulting code. Woah. If somebody can tell me how to configure the Windows DHCP server to properly handle a free-form string DHCP client identfier, I’ll be most graceful for that information. I finally resorted to setting the DHCP client identifier of my notebook to the MAC address of the wired ethernet interface, which has at least brought my static IP address at the office back. I hope that the dnsmasq at home will successfully grok this or I am - again - back to square one. All software sucks

David Moreno Garza: Cat Power!

Yay!

Cat Power is coming town. Yay! If you, by any chance, have an spare ticket, I definitively can do slave work to get it :-) Because, just as my magical way to concerts, I simply don’t get tickets on time and then I just have left the tears for missing nice concerts (and also, I prefer concerts where tickets are sold by SmartTicket and not by TicketMaster, which is an evil way to get tickets :P ).

Next.

Previous.