Search Results: "daniel"

12 April 2006

Daniel Stone: [tech/x] xlib abortions

Joe muses about Xlib and connection aborts. Two things:

Yes, libX11 is going away. It's unfixably broken (not only is the implementation utterly horrendous, but the concept is exactly what toolkits don't want), and we can't change existing behaviours because libX11 is just one of those API/ABIs you cannot break.

Yes, the ability to recover from connection aborts is essential. D-BUS is broken in the exact same way, yet some people feel inclined to defend it (e.g. mandating reboots when either of the D-BUS daemon, or libdbus, are upgraded; advocating segfaults in client applications when the bus dies as the right thing to do?!?). I don't think either behaviour is in the least bit sensible, and it would be really keen if both could be fixed (by using XCB in toolkits for the former, by fixing libdbus to be less obnoxious for the latter).

6 April 2006

Daniel Baumann: EiffelStudio is Free Software

Eiffel Software has finally relicensed EiffelStudio. The binary-only pain is over. Some weeks ago, roumors had it that Eiffel Software will only release the sources under a non-free license (non-commercial use only). The ceremony, where Bertrand Meyer pushed the magical red button to import the sources into the repository was held today. Unfortunately, I was not informed about the particular date and time, so I did not have a chance to attend it... too bad. However, EiffelStudio is now dual-licensed, under their previous non-free EULA and under the GNU General Public License. It have the impression that Eiffel Software does not understand the GPL, they're claiming that one is not allowed to create commercial applications with the GPL version of Eiffel Studio: "Users who write commercial proprietary software must purchase the corresponding licenses and may freely choose how to distribute their software. Users who donate their source code to the Open Source community can use the Open Source version and must distribute their software under the same license." Remember: The GPL does not restrict the act of running a program at all and the Eiffel standard library is licensed under the DFSG-compliant Eiffel Forum License (a BSD License derivative). There is no possiblity to enforce such a non-commercial use only of EiffelStudio with these two very licenses. Thanks Eiffel Software and Bertrand Meyer for finally doing the right thing, and to Eiffel Team at the ETH Zurich for constantly bitching them about the issue while the last years. Of course, I'll prepare packages for Debian based on my non-free unofficial packages.

4 April 2006

Ross Burton: Sound Juicer "It's Not Very Pretty I Tell Thee" 2.14.1

Sound Juicer "It's Not Very Pretty I Tell Thee" 2.14.1 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Lots of bug fixes here: Translators: Ales Nyakhaychyk (be), Clytie Siddall (vi), Daniel Nylander (sv), Ivar Smolin (et), Kostas Papadimas (el), Petr Tome (cs), Theppitak Karoonboonyanan (th), Vladimer Sichinava (ka).

1 April 2006

Daniel J. Priem: Solved Trap 3e. bilbao now online :)

after 2 days working around this Trap 3e bug i got it fixed today
typing:
0 ok nvedit
0: probe-all install-console banner ?
1: " Probing Ultra SCSI controller to work around Trap 3e error" type cr
2: " /pci@1f,4000/scsi@3" " show-children" execute-device-method drop
3:
0 ok nvstore
from now bilbao.f.d is additional to maurice online.
mikado will come later as soon as i get the fibre channel array working(needs "to be developed kernel" modul)
The IBM RS6000 / 340 starts booting from net but didnt finish.
I will have a look in the next days about this.

29 March 2006

Daniel J. Priem: New machines

Today i fetched some "new" hardware:
E420R Quad*UltraSPARCII 450Mhz 4GB Ram
E220R Dual*UltraSPARCII 480Mhz 2GB Ram
RS/6000 more details will follow later
and last but not least
an Compaq StorageWorks RAID Array 4100 FibreChannel wich i right now not know how to get it working (under debian)
i also have no more space or say it other i have more hardware than space for 19" Racks$ Does sombody from you have a really good working solution for:
Rebooting with command: boot
Boot device: disk0 File and args:
Trap 3e
0 ok boot
Boot device: disk0 File and args:
SILO Version 1.4.9
boot:
And then it runs i've tried this but this didnt help

Daniel Stone: [tech] it's just a *request* anyway

RFCs are hard, let's go shopping. You'd hope that people writing allegedly sensible mail clients would have slightly more respect for RFCs, but it appears not ...

25 March 2006

Daniel Burrows: No More Retail Electronics Stores

So, to wrap up the hardware saga I posted in the last few weeks, my memory chips finally arrived yesterday (after being delayed in Oregon for three days by "inclement weather"). I swapped them for the bad ones in about ten minutes, turned the computer on, and it worked. After I played a couple missions in Homeworld 2, I rebooted and let the memory test run all night, just to be totally sure. No problems :-).

Sadly, we seem to have lost the receipt from when we returned the first bad batch of RAM, so Fry's may get to keep Kate's money. Regardless, they've certainly managed to lose one or two customers, at least when it comes to computer hardware.

Daniel J. Priem: Goodbye Evolution / Mutt

Needed a mailclient wich can handle a lot of folders and is very customiable
also i more and more need to read my mails via ssh on very slow connections
so evolution was unusable
Mutt isn't the right thing when you have a lot of folders and subfolder
Switched to Gnus
Ganneff helped me a lot so now it works fine
Figured out that if you want imapS do:

(setq nnimap-address "mailhost")
(setq nnimap-list-pattern "*")
(setq nnimap-authinfo-file "~/.nnimap")
(setq gnus-select-method'
(nnimap "mailhost"
(nnimap-stream ssl)
))

and other than in all the documentation do not write the port thing into .nnimap
only write:

machine mailhost login username password topsecret

otherwise it will still doing IMAP without S

24 March 2006

Daniel Baumann: See you in .mx

Flying from Switzerland to Mexico is very expensive, I can't afford it myself. As I didn't get a ticket while the first sponsor round, I was quite sure that I will not get a ticket to DebConf6. Yesterday, on 23:53:04 +0100, things changed. I got an e-mail telling me, that I will get a ticket payed by an extra sponsor. So I'm able to attend from 6th to 22nd may, jippie! :) Thanks a lot to all who have made this possible. I do very, very appreciate it.

19 March 2006

Daniel Burrows: Memcheck good; Fry's not so good

So, after finding a CD that had memcheck on it, I ran a memory test on the new system I had assembled but couldn't get working. Unsurprisingly, it produced a bunch of errors, especially in test 8. I tested the memory modules one at a time, and confirmed that one of them reliably failed test 8 with, while the other survived multiple passes of memcheck's whole arsenal of tests without skipping a beat.

OK, no biggie; I got a bad RAM chip, I'll return it. So we take it back to Fry's, I explain that I ran a memory checker on one of the chips and it came up bad (I even helpfully gave them a note indicating which of the two seemed to be the problem), and asked to exchange it for a new chip. The customer service guy vanishes, then comes back a while later with a different chip in a box. As we're preparing to leave, Kate notices that the "new" box is opened. "Why's that?" she asks. "Oh, testing," the customer service guy says.

Testing. That's good, right? So we shop a little, take the chips back, and I plug them in. I figure, hey, never hurts to be too careful, and boot up memcheck. BAM! Within half a second the screen turns red with errors. In comparison, with the first set of chips I had to run the tester for up to fifteen minutes before I got a test failure. Trying the chips individually, I discover that 300MB on one is just (as far as I could tell) gone. It fails every single test. The other one survives the first few checks, but fails test 8 just like the other bad chip I had. [UPDATE: it's actually not that bad; it does seem to have problems, but it doesn't fail on every single run of test 8, and it was able to run the Kororaa live CD]

Now, as I see it, we have the following possibilities:

(a) My luck sucks and I just got three bad chips in a row.

Possible, but I've bought at least a half dozen memory chips in the past (not counting ones that came in preassembled systems) and I'm pretty sure this is the first, maybe second time I've seen a bad one. Three in a row? That's ridiculous.

(b) I screwed up and blew out the chips while installing them.

Unlikely for the same reason as (a). I may be shaky on some hardware stuff, but I know how to install DIMM chips. Killing one might be in the realm of possibility; killing three out of four? Don't think so.

(c) The chips aren't compatible with my motherboard.

The chips are listed as being DDR400, which ought to be perfectly compatible with the motherboard. They are installed in the proper configuration (according to the motherboard's manual); besides, one memory chip worked just fine.


Assume that (b) and (c) are indeed false: the chips are really bad and I didn't destroy them. This, combined with the fact that Fry's "testing" didn't catch the blatantly obvious problems with one of the new chips, make me wonder if

(d) Fry's decided to save costs by handing me a pair (maybe even two pairs) of chips that another customer had returned, on the theory that returns are on average spurious.

The main problem with this theory is that I don't see why they wouldn't have resealed the package; maybe they just suck at testing memory or didn't bother to. On the other hand, I have seen a number of complaints online about Fry's and other big retailers engaging in this practice. (e.g., Google for "Fry's restock")

Either way, whether it's deceptive practices or just plain incompetence, I'm afraid this hasn't left a particularly good taste in my mouth about Fry's, and I'll probably just try to get a refund and buy the memory elsewhere. The only downside is that "elsewhere" more or less means "online", which means no instant gratification. However, since "instant gratification" in this case has been more like "instant non-gratification", I'm willing to live with that.

18 March 2006

Daniel Burrows: Windows stupidities

As I've had to use Windows on a daily basis, I've found that I am no longer able to maintain my air of detached tolerance for the foibles of the system. In fact, I'm starting to get really infuriated with the utter boneheadedness of so many facets of it. Not so much things that are broken, as things that are done badly, and done so in the face of widespread examples of how to do it right.

Here are two simple examples that are emblematic of what Windows users have to suffer through.

(a) Mandatory file locks.

On Windows, every access to a file, by default, acquires a mandatory lock on it. Want to recompile the program you're working on? Sorry, you have to track down and kill all its running instances. Want to read that file on the network server? Sorry, you'll have to run around the office and ask all the people using it to close it.

Last week I got an email asking me to unlock a directory on our local fileserver so it could be renamed. It turned out that I was running an acroread process to view a PDF file...and that locked the directory from being renamed. Because, of course, the universe would implode if someone were to rename a file I had already loaded into memory. This is, however, better than how shared libraries are treated; trying to register a new version of a shared library with the system (the Windows version of ldconfig) will silently fail if programs have the old version mapped into memory. WTF? No, really, WTF?

Windows users get around this by having tools to find out which processes have a file open so they can terminate them with extreme prejudice. This is considered normal and acceptable behavior for a computer in the Windows universe. After all, in the real world two people can't use the same document at once, so why should they be able to do so on a computer?

(b) C# events.

They've been invented many times. Signals, events, hooks, whatever you want to call them, they're collections of function objects that are invoked when some particular condition occurs. It's a great way to make it easy to connect together objects that don't know about each other, they're simple enough that your average CS sophomore could implement them in a half hour, and the concept is so obvious (besides having dozens of examples of working and deployed implementations) that there's no way to screw it up, right?

Wrong.

Now, C# is generally a somewhat clunky language, but this is nothing to do with that (I am not, for instance, surprised that it's cumbersome to bind extra parameters to an event in a language that has little support for higher-order programming anyway). No, this is one of those utter idiocies that just make you scratch your head and go what the *@&# were they on when they did that? You see, when you call an event with no attached listeners, C# throws an exception. Just, you know, as a friendly way of letting you know that you didn't connect to that event.

But wait! It gets better! In order to test whether the event has any connected delegates (the Microsoft term for a function object), you ... compare it to the null pointer. Yes, that's right. Every time you call an event, you have to do this:

if(Event != null)
    Event();


...because, of course, an empty collection of events is clearly the same thing as a nonexistant object.

I really wish I could be a fly on the wall at the meeting where this was decided. My imagination supplies a scene along these lines:


Scene: A smoke-free office somewhere deep in the sterile labyrinth of the Microsoft campus

Programmer 1: "...and we call this bold new innovation 'events'! It's a way for you to perform method calls without knowing which method you're calling. We've found that it's amazingly useful when doing UI programming. I'm sure that introducing this new idea to the world will be yet another chapter in the Microsoft story of advancing technology!"

Programmer 2: "Have you checked the corner cases? What happens if there is no method available to call?"

Programmer 1: "Oh, of course! In that case, the list of methods is null, so we throw a NullPointerException. We thought about adding an IsEmpty property, but who would want to look up properties on the null pointer? Besides, hardly anyone will ever want to create an event that might not get connected to."

Programmer 2: "Uhhh, sure, that makes sense to me."


...!!!?!?!?!

Daniel Burrows: So close, yet so far away...

So, thanks to Marc's helpful advice yesterday, I took another look at my power supply, and lo and behold, there was a second four-pin power cord that I hadn't seen!

Allow me to explain. In my previous post, I mentioned that I had been doing something "wrong" with the power cable. You see, the case we picked out (an Antec Sonata) has a 24-pin power cable of which 4 pins can detach for older systems. At first, I misread the manual and thought this was for newer systems, so I detached it and plugged it into the handy 4-pin plug next to the CPU. Doh. Having corrected that (without the extra 4 pins in the main plug, not even the fans turned on), I was under the further mistaken impression that the 4-pin plug on the motherboard was the backwards-compatibility plug. I did actually check for an extra 4-pin PSU connector, but I must have overlooked the one that existed.

In my defense, here's what the manual states about the power connector:


This motherboard provides two power connectors to connect ATX12V power supplier.

NOTE: This 24-pin power connector "ATXPWR1" is compliant to the former 20-pin type. Pay attention to the orientation when attaching the power cord. (Pin-11, 12, 23, and 24 should be left un-connected).

Note: It is recommended to connect to a power with 350W, 20A +5VDC capacity at least for heavily loaded system, and a 2A +5VSB capacity for supporting wake-up features.


Not exactly crystal-clear on what needs to be connected under what circumstances. The case manual is at least correct if you follow along carefully, and they even found someone who can speak the language. Unfortunately, this section is phrased in a way that's highly prone to misunderstandings, particularly if you have an incorrect idea lodged in your head to start with:

Connect the 24-pin Main Power Connector and the 4-pin +12V connector to your motherboard as needed. If your motherboard uses a 20-pin connector, detach the 4-pin attachment on the 24-pin power connector.


You have to read that quite closely to realize that there are two 4-pin connectors involved!


Anyway, so I can actually get the machine to post and boot. Unfortunately, it's highly unstable once it does boot. It runs for up to several minutes, but then exhibits various sorts of erratic behavior: freezing, spontaneous reboots, random error messages, that sort of thing. I've made sure all the cords are plugged in tightly and reseated a couple components (particularly the memory); about the only thing I haven't checked is the CPU+heatsink mess, which would be a real pain to disassemble and re-assemble.

Still, it's nice to make some progress. Maybe tomorrow I'll discover some other cable I forgot to plug in that will make everything work (hey, I can dream).

17 March 2006

Andrew Pollock: [life] Aussie Aussie Aussie!

Well we've just had two more Aussies arrive off the boat. Welcome to Daniel and Tanya. Daniel's starting at the usual place of employment next Monday, and we brought them along to the Thursday night outing to the regular watering hole. It's always good to hear more Aussie accents.

Daniel Burrows: I Hate Hardware Redux

After my last experience, you'd think I'd have learned. But nope, when my girlfriend needed a new desktop system, I enthusiastically offered to build one for her. Hey, this time it's desktop hardware, and I know desktop hardware, right? I built my last machine myself, and I've replaced a couple motherboards and done various other work on computers since then.

Well, it seems there were a few changes since my last computer. First of all, there's the whole business of heatsinks. I don't remember spending any time on the heatsink last time around. I suppose this is because it was pre-attached to the chip or because the assembly process was "place the heatsink on top of the CPU", but I don't remember which. For the Athlon 64s, the heatsinks are so ginormous that you couldn't place the CPU into its slot if it was attached to the heatsink. So there's no option but for them to ship the two separately and have the user assemble them.

Problems? Well, consider the documentation. The store sold us a supposedly complete CPU box packaged by AMD which, when I opened it, contained a stern warning not to attach the heatsink without first applying a thermal material. Contradicting this, though, was the fact that there was something that looked suspiciously like thermal material already on the heatsink, and after quite a bit of research I decided that the warning was for people who want to overclock their systems or replace the stock thermal compound. Nowhere in the documentation does it say whether the heatsink comes pre-treated with thermal compound, though, and since I have no desire to let the magic smoke out, I wasted a lot of time checking up on this.

A second problem with the documentation is that it suffers from severe Lowest Common Denominator syndrome: the installation instructions are entirely word-free. For simple purposes this might suffice, but it took me a lot of squinting and several incorrect tries to figure out WTF the diagrams were telling me to do; in fact, I didn't really figure out what to do until I found an annotated version online with actual words. AMD, there's a reason we quit using cave paintings and invented written language. Please use the stuff, it'll make the rest of us much happier.

On to the practical problems: it's apparently necessary to attach the heatsink so tightly that you need a latching mechanism the size of Wyoming to hold it onto the motherboard, and actually activating it seems to take several metric tons of force. OK, I exaggerate, but just this step (attaching the heatsink assembly to the CPU) took me at least an hour of prying at the latch mechanism to lock it down. In fact, I didn't finish until I finally gave up using my fingers and used a screwdriver to apply a good portion of my weight. Predictably, of course, the screwdriver slipped as I secured the latch, bouncing off the motherboard. More on that in a moment.

The motherboard (an Abit K8N) had better documentation than the CPU, but not by much (this is apparently a pattern with computer components that most consumers never mess with). I had to make educated guesses about the orientation of several connectors, especially some of the case connectors, and it took me at least a dozen reads to understand what I was doing wrong with the power cable.

Once I got all my initial stupidity worked out, I flipped the switch and watched some of the fans turn on and the hard drive spin up...and that was it. Nothing. Nada. No beeps. No POST. Not even a blank video signal (although the video card's fan runs just fine).

So, my best guess is that I killed the motherboard dead with my screwdriver, which means I get to go buy a replacement and install it. And, of course, disassemble all the stuff I carefully assembled already. Including the CPU assembly. And the thermal material on that probably won't be good any more, so I'll have to replace it with what's left over from when I rebuilt my laptop. And there's always the possibility that it's actually the CPU that's dead (although I can't imagine why)...in which case I could waste a lot of time and effort replacing the motherboard needlessly. Blah.

I begin to think that it might be worthwhile to pay the store to install the critical components for me, or even just buy from a real PC vendor. At least then I'd avoid wasting my time and (presumably) get my money back if they screwed up.

12 March 2006

Ross Burton: Sound Juicer "Let's Go Back, Let's Go Way On Way Back When" 2.14.0

Sound Juicer "Let's Go Back, Let's Go Way On Way Back When" 2.14.0 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Bug fixes: Translators: Ankit Patel (gu), Clytie Siddall (vi), Daniel Nylander (sv), Duarte Loreto (pt), Elian Myftiu (sq), Francesco Marletta (it), Francisco Javier F. Serrador (es), Funda Wang (zh_CN), Gabor Kelemen (hu), Gnome PL Team (pl), Hendrik Richter (de), Ignacio Casal Quinteiro (gl), Ilkka Tuohela (fi), J r my Le Floc'h (br), Jordi Mallach (ca), Kjartan Maraas (nb, no), Lasse Bang Mikkelsen (da), Leonid Kanter (ru), Maxim V. Dziumanenko (uk), Mugurel Tudor (ro), Petr Tome (cs), Priit Laes (et), Rajesh Ranjan (hi), Raphael Higino (pt_BR), Rhys Jones (cy), Rostislav "zbrox" Raykov (bg), Satoru SATOH (ja), Tino Meinen (nl), ygimantas Beru ka (lt).

11 March 2006

Daniel Stone: [tech] on autopackage

Mike Hearn's 'Linux Problems' page has some interesting assertions on how to 'fix' Linux and make it 'enterprise-supportable' (which seem to boil down to: distributions suck, so avoid them; Python sucks, so avoid it; C++ sucks, so avoid that too; glibc, gcc and headers suck, so they need fixing; shared libraries, too, are hard for us, so we'd like other people to avoid dealing with them because autopackage is king).

The Debian bit is just flat-out wrong:
  • Debians dependency scanner is broken anyway, as there's no way to tell what version of a library is actually needed. Only the developers know that. It works around that problem by assuming that the binary requires whatever version it was built against (which as we see elsewhere may be true or may not be).

  • Cute, but no. Packagers can specify in shlibs files, the last ABI break. So if your library adds a new interface in 2.1.3-1, then you can put:
    libfoo 1 libfoo1 (>= 2.1.3-1)
    in your shlibs file, and wham, anything built against libfoo now gets that dependency. Of course, if the downstream packages are really ninjastupid, they can hardcode in their library deps.

  • Why should the convenience of Debian packagers, who number in the low 2s, outweigh the convenience of people who download autopackaged binaries from the website, who number in the high 200s/day?

  • Actually, last I checked, there were close on 1000 registered Debian developers, who had gone through the long process. I don't know how long the New Maintainer queue is (except: really long). There are millions and millions of users of Debian and its derivatives (Ubuntu, Knoppix, Maemo, et al). If you're going to be a condescending twat, could you at least please try to be accurate, instead of picking on Debian for being insignificant compared to your hundreds of downloads per day?

    10 March 2006

    Ian Murdock: Demagoguery prevails, xenophobia at 11

    Daniel Griswold: “This will send a chilling signal. It is just assuming that if a company is from the Middle East it is de facto disqualified from investing in the United States, and I think that is a terrible message to send.” Technorati Tags:

    8 March 2006

    Jonathan McDowell: All the people.

    Last night I dreamt I went drinking in the Reindeer with Phil Daniels.

    6 March 2006

    Ross Burton: FOSDEM Quote Of the Weekend

    Relative to the rest of X, [XKB] is complete crack. That is quite an achievement. -- Daniel Stone. NP: Standard Time Volume 3: The Resolution Of Romance, Wynton Marsalis

    5 March 2006

    Daniel Stone: [tech/debian] codes of conduct

    David writes that, while momentum is a very good way to keep flames away, it's really solidified by proper code of conduct. I don't disagree with either of these positions, but they're both characteristics of a good culture that enables things to get done in a productive atmosphere, rather than the causes themselves.

    One of the problems is that you can't enshrine, 'don't be a tool' in a code of conduct. Yes, you can legislate away personal attacks, so there's no more Serious problems with Mr. Troup, but it's still entirely possible to completely subvert the development process while still remaining within the bounds of any particular code of conduct. The key here is that the code of conduct is just a rough guide to, and a method of enforcement of, any given culture that you wish to enforce.

    If you want to change Debian's current developmental culture, you'll need more than just a document: you'll need a landslide mindshift within the entire developer base, which will be extremely difficult to achieve, given that some particular developers seem to champion their lack of social skills, delight in annoying others, and glorify petty arguments on mailing lists as being superior to actually achieving anything. When you get this, the code of conduct is really just fluff, because it becomes almost entirely self-enforcing. The general tone of the list and attitude of the developers discourages people from being idiots, and you don't have to point to the code of conduct except in serious cases.

    So that's the really hard part. Debian has a destructive culture that has led to debian-devel and debian-private becoming the pointless landfill it is today. Which is no slight on Debian developers as a group, or any particular developers; it's just the way it is today. How it got that way is entirely unclear, but how it's going to move on from there is an equally perplexing question.

    And, in response to Joss, the two go hand in hand. Once you've stopped arguing for the sake of it, you're infinitely more productive as a result. So I don't think calling people advocating change in Debian's social norms 'teletubbies' is at all useful: these people aren't advocating turning Debian into a sewing club where we all turn up and talk about how much we love each particular developer. What they're advocating is change of the current Debian social culture such that trainwreck threads full of personal attacks, mindless bitching, and argument for the sake of it, don't exist anymore. You can have robust debate within that framework, and you don't have to completely vet every statement you make so it's a glowing reflection on everyone and everything mentioned. If you have the right culture, you can simply tell trolls once to go away, and they get utterly ignored, instead of having their threads blown up into huge all-consuming flamewars by people who seem to love seeing their name in the mailing list index. I don't see how you conclude that any hypothetical code of conduct exists purely to facilitate trolling either, but maybe I'm missing something.

    The current problems in Debian with people being unable to relate to fellow developers, so instead getting bored and flaming them into the ground instead, isn't a techincal problem in the least. It's a social problem. The entire point of this debate isn't, 'which MTA should we install by default, if any', but 'how do we fix Debian's current culture?'. I don't see how this is a technical problem, but it does have technical ramifications (e.g. releases take years of banging our collective head against a very large wall).

    Next.

    Previous.