Search Results: "hle"

7 February 2007

Meike Reichle: Planet weirdness or Dear Lazyweb

Should you be reading this blog via planet.debian.org, you may have noticed, that since a few days my posts stay on top of the page much longer than they should, usually for a few hours, and then start wandering down with the rest. The problem is: I am not editing my posts. Checking my rss feed shows a pubDate, e.g. Tue, 06 Feb 2007 20:26:00 CEST for my last post, and that pubDate doesn't change. Could it be a problem, that the pubDate is in CEST rather than, say, UTC? Or that it doesn't give the offset? I am using blosxom and this began happening when I removed the until then unconfigured timezone plugin from /etc/blosxom/plugins/ because I wanted the date of my posts to be at my local time and that (actually) works without having the timezone plugin, so I thought I wouldn't need it. I've now replaced it and set the timezone to CEST. This didn't affect the pubDate of my rss, but maybe it will fix my planet problem. If not, any other ideas how to fix this would be most welcome. UpdateAs I've been made aware by several people, we currently have CET, not CEST. Thanks for mentioning :) I am still trying to find the reason for all this. In the meantime, please excuse my planet b0rking.

Meike Reichle: Second and third day in Luxembourg

Right, back from Luxembourg and here's how the other two days went: I woke up pretty early on Friday. Damn sportsmen, seems they all jump out of bed at 6 am, to happily (and noisily) engage in their respective sports. Horrible. I've never heard so many people be in such a good mood at such an early hour.
Breakfast was great though! I spent the rest of the day at the LinuxDays site. It was situated in the ground floor of the Centre de Recherche Public Henri Tudor and consisted of two rooms for talks and workshops and a tiny exhibition area with tables from Lilux, CAcert and a book shop. (Oooh, the temptation!!) It was also possible, to sit in the nearby cafe, which was right next to the exhibition area. Unfortunately LinuxDays.lu don't provide any kind of hacking centre (read: chair + table + power plugs), but the friendly people from CAcert offered me a seat at their booth/table so I could do some work. My talk went quite good. I didn't feel as comfortable giving it as I usually do, since it weren't my slides. But I still think it went quite well and there were some interesting questions afterwards. There aren't any recordings of the talk, but the slides can as usually be found in the talks section of my homepage. The third day started as the second one, but this time I stayed in bed and watched the Sendung mit der Maus instead of getting up at such an inappropriately early hour. I had actually planned to travel back to Hildesheim by train, but the very nice guys from quintessenz.at offered me a ride to Mannheim, which made my journey back home a lot more pleasant and also much more comfortable, since I could then take a direct train from Mannheim to Hildesheim. Concluding, I'd like to thank the organisers of LinuxDays.lu for the really good service! (I've never before been at a Linux Day where speakers were provided with such a lot of stuff. (Free hotel, travel reimbursement, free food AND a book from the book shop! Yay!) It's been really fun, speaking at this event and I can recommend it to anyone. LinuxDays.lu may not be the biggest or most popular Linux Day, but it's a really nice local event and very professionally organised! PS: So, where are the pictures I promised?
They are in a directory on my home machine, and this will remain the only place they're at until I've found a simple script to generate web galleries (such as album, galrey, jigl, shalbum ...) that manages to generate a gallery that doesn't use tables but CSS or I found the time to rewrite or produce an according template for any of these scripts. Grrr.

6 February 2007

Mark Brown: In plain sight

Even worse than the usual multipart/alternative messages with a contentless text/plain part are messages like that when there quite clearly is a text/plain version of the message (for example, as another option when you sign up for a list) but it’s not been included and this unhelpful “error” has been included. This annoys me: my text mode mail reader is perfectly capable of coping with both multipart/alternative and (via whatever run-mailcap gives it) text/html messages; the error here is entirely in the sending software. It should either include the text/plain version which the sender is already going to the trouble of producing as an alternative in a multipart message or just not bother with the alternative at all. Given the general quality of implementation one finds the reasoning behind providing the alternative is probably that there’s some widely deployed piece of software out there which explodes horribly if it sees HMTL outside of a multipart/alternative wrapper. There are probably some users who are sufficiently keen on seeing the HTML version of the message to mean that they would actively wish to avoid using a plain version of it but there can’t be many - I expect the actual reasoning behind not putting it in is ease of implementation.

David Pashley: This is a multi-part message in MIME format.

Content-Type: multipart/alternative;
        boundary="----=25532899_4522_4927_1140_664401643181"
This is a multi-part message in MIME format.
------=25532899_4522_4927_1140_664401643181
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
This message is in MIME format. Since your mail reader does not
understand =
this format, some or all of this message may not be legible.
------=25532899_4522_4927_1140_664401643181
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
No, my mail reader understands it perfectly. It's your crappy mail client that sends out multipart/alternative mails which don't contain alternatives. Fuckers.

5 February 2007

Christian Perrier: fr: 99.817%, cs: 92.647%

These are the current translation ratios for French and Czech in unstable, after 18 days of "blitz l10n NMU". The sing package modifications lower French stats, as expected. However, the package has already been fixed by its maintainer (kudos!). viewvc has got an RC bug today so that gives me a very good excuse to push for an urgent update...including of course our beloved l10n bugs. That leaves us with dpkg-cross again, for which I have no answer yet. Small pause today in uploads as the Samba packaging team had to take care of a security update, which has been uploaded, for unstable, 3 hours after the official annoucement by the Samba Team. We are very grateful to these wonderful people, and more particularly to Gerald "Jerry" Carter who is not only a nice guy but also a very efficient developer. Thanks also to Steve Langasek for his commitment to this issue, to No l K the for being ready to upload in case I fail, to Eloy Paris for keeping the contact and to Moritz Muehlenhoff who prepared/is preparing the update for sarge.

David Pashley: Last.fm Events in Google Calendar

If you use Last.fm, you may have got around to using their events feature where you can search for events near you and mark yourself attending those events. I was manually entering the information into my google calendar, which was a pain. Fortunately, being one of those hip, friendly web2.0 websites, Last.fm allows you to get your data out in all sorts of useful ways, including you event calendar as an iCal file. Google being useful, allow you to display external iCal files in your calendar. Can you see where I'm going with this? To get this up, log into you Google calendar, go to "Manage Calendars", then "Add Calendar", then "Public Calendar Address". Finally type in the url of your last.fm iCal file, which will be http://ws.audioscrobbler.com/1.0/user/dpash/events.ics, although obviously you need to change dpash to your particular last.fm username. Now, you only need to mark yourself attending a gig to have it show up in your Google calendar. You can use something like this to get it into your Evolution calendar.

2 February 2007

Meike Reichle: First day in Luxembourg

MJ Ray: Bad Tech Links for 2007-02-02

"Guidelines for the Secure Operation of the Internet" (RFC1281)
Read it and weep.
Techblogging: DoSing spammers
I've done this in the past, by having a CGI rabbit-hole in a semi-hidden link near the start of the page which just generated 1000s of invalid email addresses. For bonus points, use addresses with MX servers which will never be online again, or maybe with a MX that tarpits and rejects all mail eventually. Get enough points and the spammer will either stop scanning your site or waste a lot of time on you.
Google scanned by spammers [Techblogging]
I don't use pingomatic, but a few of my pages are ranked high enough to attract spammers every time I update them. I think blog spammers probably are using subscription tools to find the most active/most syndicated sites to spam. Can we redesign the tools to defeat them?
BBC News Technology UK Edition: Ads help Google profits triple
But hey, why should Google care about spammers when their externalisation to date is making Google rich?
Techblogging: Web 2.0 security issues incoming
I dislike Web 2.0 so far because it is often inaccessible - this suggests it's often insecure too.
Software Patents Petition
Need more brains... come on, sign the petition, even if it has a bit of hyperbole/invective and a typo or two. Last I heard, it's behind adopting Spandau Ballet's Gold as national anthem, for crying out loud!
The Irascible Professor-commentary of the day 06-07-06. Calculator dependence.
Parents, don't let your children grow up to be calculator junkies!
Zugschlusbeobachtungen: Which kind of software suspend?
I think I heard Matthew Garrett give an interview somewhere (LUG Radio?) which summarised the suspend situation as something like "it works well except when it doesn't." My computer usually software-suspends, but sometimes it crashes and sometimes is often enough to deter me from suspending it often. I really ought to debug it, but it's not a priority yet.
'Cheap and tacky' wedding email that went global - 19 Nov 2006 - National
"The marquee company's CEO, Klaus Jorgensen, said he had sacked the employee responsible - who turned out to be his wife"
NoDaddy.Com - Exposing the Many Reasons Not to Trust GoDaddy with Your Domain Names
"They didn't give me a chance to dispute or resolve the problem -- just a voicemail saying my domain was scheduled for suspension , followed up by a Domain Suspension Notice exactly 52 seconds later. Note that neither of these included a phone number for the abuse department or a reason for the shutdown."
The 'Ow' starts now / freedom bits / greve / Fellows / The Fellowship - Fellowship of FSFE
FSFE's Georg Greve won't be upgrading to Vista, which I saw called "Windows Fista" on the BBC's site - disgruntled journo, over-aggressive MS PR or typo?
BBC NEWS Have Your Say Will you be getting Microsoft Vista?
Nearly 2000 comments, most "No" AFAIS
Microsoft files for patent on "modular operating system"
Microsoft patents Linux?
Hacking gadflies: Marechal, A dystopian future''
Another comment on the MS patent.
BBC NEWS Technology Triple threat targets Word users
While I'm boggling at Microsoft, I hope all their customers saw this little Christmas present from 20 December.
BBC News Technology UK Edition: Sony CD compensation agreed
No Christmas for Sony, remember? They pay out a year or so late.
BBC Trust - On-demand Services' consultation
A remarkable consultation that includes a question "How important is it that the proposed seven-day catch-up service over the internet is available to consumers who are not using Microsoft software?", but the questionnaire doesn't work in all browsers. Do you think this biases the responses? Yes, yes or yes?
Digg - Pressure the BBC to embrace open standards, not just Microsoft technology!
Digg is the new slashdot. Just add hot grits.
BBC News Technology UK Edition: Vista has speech recognition hole
"for the flaw to be exploited the speech recognition feature would need to be activated and configured and both microphone and speakers would have to be switched on." Well, my speakers are embedded in the screen, my microphone doesn't have an on/off switch and I leave it switched on in the mixer so that I can answer the softphone quickly... I doubt I'm the only one who doesn't switch the mic off after every use. Are Microsoft living in the real world any more?

30 January 2007

Meike Reichle: They're at it again

(Almost all links in this text lead to German sources. Sorry, but this is a local topic and there aren't any English sources.) Unfortunately, Hildesheim is home to some rather prominent figures of the German neo-nazi scene. One of them has now registered for a protest march through Hildesheim on the 24 February 2007. The reason for this is, that an other neo-nazi event, that had been disguised as a "birthday party", but was in fact a propaganda event featuring talks by "contemporary witnesses" and "an evening of ballads" and was arranged by "National Forces of Hildesheim and the Association of German Women" had been prevented by the Hildesheim police. As a reaction to this, the aforementioned gentleman has now registered for a demonstration with the Hildesheim city council. (In Germany you need to register demonstrations.) Official head of the whole thing is this other gentleman, who has a history of trying to organise nazi demonstrations. He occasionally does so in Leipzig, where he tries to organise such demonstrations about twice a year. Their attendance is dropping though and they are usually met with about ten times as many counter demonstrators and thus have to be ended prematurely, exposing them as the unwanted and ridiculous farces they really are. However, the fact that people still try to register demonstrations such as this one is worrying. And the fact that this one is meant to be in the town I live in makes me pretty angry. Fortunately the demonstration is met with broad opposition. An alliance has been formed, consisting of the German adult education centre of Hildesheim (VHS), the Federation of German Trade Unions (DGB), Verdi, our public services union, Attac, the Antifa, the refugee council of Lower Saxony and the political parties with the Hildesheim Greens as the most active part at the moment. It is good to see, that such neo-nazi endeavours are met with such a broad opposition, and that this opposition does not only originate from the "usual suspects", but from the centre of society. (The VHS for example is usually a non-political organisation, and seeing them engage in such an alliance and even hosting its meetings is pretty cool!) It's not sure yet, whether the demonstration will be approved. It probably will, but with a bunch of extra conditions. If it is approved, it is even more important to meet it with the resistance it deserves! So, if you are living near Hildesheim, watch this space for announcements of the planned counter measures.

David Pashley: Pension issues

In the continuing saga I like to call "Dave, what's wrong with your ex-employer today?", I'm still missing large chunks of my pension. Finally had enough of my former employers not giving me any answers or claiming to be looking into it, as I've been asking since around last March. As per this guide, I've started making efforts to resolve the problem myself. The first step has been to formally request a copy of the pension scheme's dispute resolution procedure. I sent them an email last wednesday and hand delivered a letter last night, giving them until the 9th February to supply me with the procedure. If by then they haven't I'll contact the The Pension Advisory Service. I'm hoping it won't come to that, but given the lack of any progress in the past, I'm not holding out much hope.

28 January 2007

David Pashley: Lazy Class Infrastructure

Do you ever feel you should implement equals(), hashCode() and toString, but just can't be bothered to do it for every class? Well, if you aren't bothered by speed, you can use Jakarta Commons Lang to do it for you. Just add this to your class:
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
class Foo  
   public int hashCode()  
      return HashCodeBuilder.reflectionHashCode(this);
    
   public boolean equals(Object other)  
      return EqualsBuilder.reflectionEquals(this,other);
    
   public String toString()  
      return ToStringBuilder.reflectionToString(this);
    
 
And that's it. Your class will just do the right thing. As you can probably guess from the function names, it uses reflection, so may be suboptimal. If you need performance, you can use tell it to use particular members, but I think I'll leave that up to a future article. I also recommend you don't use this technique if you are using something like Hibernate, which does things behind the scenes on member access; you may find it does undesirable things. :)

27 January 2007

Meike Reichle: LinuxDays.lu anyone?

I'll be going to the LinuxDays in Luxembourg next week. As far as I know, there won't be an exhibition, so, no Debian booth. But I'll be giving a talk. It's not on one of my usual topics, but on security this time. The reason for this is, that I am giving this talk instead of Lukas Grunwald, who originally registered the talk but then couldn't give it. I am really looking forward to going there. I've never before been to Luxembourg and I am curious what it's going to be like. I am also looking forward to giving the talk, since it will be something very different from my usual ones and I am curious to see what differences there will be. If anyone of you is going to LinuxDays.lu too and wants to meet for coffee or a beer, drop me note!

26 January 2007

David Pashley: Eddie 0.2 RSS and Atom Parser

I noticed today that Mark Pilgrim linked to Eddie, my liberal RSS and Atom parsing library for Java, so I figured I should make a new release. It's been a few months since I did any serious work on the parser, but in the last few days I've reduced the number of test case failures to less than 100 out of 3502 test cases which come as part of Mark's Feedparser parser for python. The majority of the failures are in the date parsing routines and due to bugs in the Jython library which cause literal dictionaries not to match with classes inherited fro PyDictionary. Improvements in this version include:
  • Massively improved support for different character encodings. With Java 6, it also has support for UTF32 feeds.
  • CDF Support.
  • Optional support of TagSoup for sanitizing of HTML in entries.
  • Improved support for different input sources including String, InputStream and byte[].
  • Numerous bug fixes, with 97% of test cases passing, up from 90%
If you use Eddie, drop me an email. I'd like to thank Mark Pilgrim again for providing the community with a fantastic and comprehensive suite of test cases, extensive documentation and a first class Python library.

25 January 2007

David Pashley: Speedy Java 6

I was quietly minding my own business, fixing some encoding bugs in Eddie, my liberal RSS and Atom parser, when I noticed that Java 6 included support for UTF-32, which is one of the encoding tests that was failing. I downloaded and installed the Ubuntu packages and installed it, and decided to run a quick benchmark using my unit tests. First up was the Sun Java 5 JVM. I'd been running the unit tests all night, but timed it this time,and got these results:
Ran 3502 tests
Passed 3322 tests
Failed 180 tests
real    1m10.293s
user    0m40.375s
sys     0m3.632s
Next I tried the Sun Java 6 JVM, using the same jar files and got;
Ran 3502 tests
Passed 3326 tests
Failed 176 tests
real    0m56.059s
user    0m39.198s
sys     0m4.212s
One thing to note was that it spend a couple of seconds noticing new jars to read, so I decided to run it again and got:
Ran 3502 tests
Passed 3326 tests
Failed 176 tests
real    0m45.317s
user    0m34.770s
sys     0m3.516s
Wow, I'd gone from 70 seconds to 45 seconds using the new runtime, and interestingly enough, past 4 more tests in the process. I'm assuming they are the UTF-32 tests, although I have't checked yet. The other thing for me to try is recompiling the code to see if that has any additional benefits. Update: Got around to checking what Java 6 fixed and it turned out it was the additional support for koi-u and cspc862latinhebrew encodings. After I fixed the UTF32 support in Eddie, it passed an additional 16 tests. Down to just 160 out of 3502. I just wish they would add support for some of the stranger encodings. Maybe this will happen when it's open source.

David Pashley: Ogg Player Recommendations and Upcoming Gigs.

Dear Lazyweb, I'm after recommendations of a portable music player, which is small and can play ogg vorbis files. I'm not sure I need something with a large capacity; 2GB should be fine. Basically want something I can use in the gym, so I don't have to listen to the god-awful dance music they keep playing on MTV Dance. Reasonable audio quality a bonus. Last.fm support would be amazing. I would be tempted by something that could run Rockbox, but I suspect they are going to be on the top end of the size scale. Spent some time checking upcoming gigs and I've settled on And You Will Know Us By The Trail Of The Dead, The Killers, 65daysofstatic, and The Barfly's Great Escape mini-festival, 3 days of gigs over 20 venues. Trying to decide if I want to go to see Inspiral Carpets and Electric Six in the world's dirtiest club.

19 January 2007

Meike Reichle: Storm's over

Kyrill crossed Hildesheim yesterday evening. Some parts of the city got hit rather badly with roofs being completely untiled and trees falling on buildings. It seems we were lucky to only lose a few tiles, since there have been reports of debris flying about in our street yesterday and the little park opposite our house looks not too good today. No disrooted trees though. However, in the next street a poplar tree was disrooted and fell on a car killing one man and injuring two others, one of them severely. Guess that explains the many ambulances going by yesterday :/ This morning, with daylight back most things seem back to normal. There's quite lot of stuff lying about and the river has really high water and also carries a lot of debris, mainly boughs and twigs though. PS: What bothers me most, ist that most news services today have headlines such as "Storm "Kyrill": The best Photos from our readers" and similar. I hate it when people have nothing better to do than to pull out their f***ing mobile phones and take pictures whenever something bad happens and this is not exactly helping!

15 January 2007

Meike Reichle: Difficult nicks and a new domain

When I was home for christmas there was also a class reunion. As it is with such occasions I had to give out my email address a number of times. Now, when I chose my domain I decided to use my online nick (alphascorpii) since it was adequately unique to be still available and could easily be associated with me. However, my nick is almost only used in writing and thus mostly copy-pasted or entered using tab-completion. Those who do use it in real life too know how it's spelled (or at least pronounced). At the reunion though I had to spell it out for a few people and the 'ph' and even more the 'ii' often caused confusion. As a result of this, alphascorpii.net can now also be reached via a10i.net! I hope this will simplify things for those who are not familiar with Alpha Scorpii.

12 January 2007

Meike Reichle: Happy New Year! and some resolutions

Slightly belated, but still: Happy new year everyone! We spent the holidays with my parents, pretty relaxing, didn't do much but lie on the couch, do crosswords and watch my sisters dwarf rabbit, that my mom hat to "rabbit-sit". Christmas was as usual a three-generations celebration and quite nice. On the 4th we went to see Irie Révoltés. Absolutely great concert!! We danced our hearts out. But, you know what? The best is not only seeing a great concert, but having the next day off. Sleeping in 'til way past noon, waking up with a beep in yours ears, a smelly pile of cloths beside your bed and every muscle sore. Have a wonderful breakfast with eggs and sausage, spend half an hour under a hot shower and spend the rest of the day humming melodies and tending to your aching muscles. Wonderful! Unfortunately the new year didn't continue that great. I caught a nasty cold and spent the last four days in bed. But, oh well, it's getting better, I can almost breathe soundlessly again!. Generally, this is going to be a very important year! In the middle of December I registered my Magister (comparable to a master's) thesis. I've got six months to finish it, so the first half of this year will be used for that. Once the thesis is handed in, the final (really final this time) exams start, first a very long written one, than an oral one, this will take until October. After that ... well, we'll see. I've set my mind on a PhD, since I'd like to pursue an academic career, so the next step will probably be trying to get a PhD grant. First things first though ... Resolutions Finally this is probably the first new year I really made some new year's resolutions. I'll put them here, so I can nail myself down to it over the year:
  1. First off, there are some things that I simply hope to keep the way they are:
    • I live in a wonderful relationship that I hope will simply go on forever :)
    • Also, I have quite a cool job (several actually), that I hope I can keep for another while.
    • I changed my eating habits quite drastically during the last months. I used to love everything "Just add water": teas, soups,puddings ... RAMEN!! Luckily it didn't reflect on my weight, which is pretty constant, but still I know that stuff is 90% chemical crap and who knows what it will lead to. (I know the optimal human would have three eyes, but I am actually quite happy with my average two.)
      So, I've cut down on that quite a bit and now have a subscription with an organic farm nearby that delivers so called Abokisten (subscription boxes?) that are delivered weekly and contain different vegetables, fruit, a loaf of bread and some cheese. The boxes' content is kind of randomized, so you get something different every week. It's a pretty neat service, since the food is really great, the price is reasonable, it's delivered right to my door, and (most of all) it makes me cook! So, here's another Keep that up!
  2. So much for the keeping, now for the changes/tasks: I guess the first is, of course, my thesis and exams. I plan to do those as good as possible. I'll be something of a challenge though. This is the first time I do such a large "project" (the thesis takes six months) all on my own, and (most worrying) at home. So here's a test on self-discipline!
  3. Although I've done a lot of acting in my "younger years" (haha) I've always been rather unmusical. This has been nagging on me for quite a while, so I've taken up playing the Blues Harp last month. I picked that instrument since I love the Blues and it's also easy to learn but still very flexible (and cheap). So far it's been huge fun but the art is, as always, keeping it up.
  4. There's this little blog I'm maintaining, that has been horribly neglected over the last year, so another resolution is to post here more often. (This way posts also won't have to be so horribly long, such as this one.)
  5. I couldn't help but notice that that geek girls top ten which Erinn mentioned (congrats by the way :)) contains but one European women. So here's something to do as well. There's quite a bunch of pretty impressing ladies over here, too. (Even AFTER 1950,dear CNET) And it seems, they need a bit more visibility. Maybe there are some things that can be done about that too ...
So, lots of plans. I hope publishing them here will help sticking to them. This also concludes my "little post", I hope the next will follow in a more timely manner.

9 January 2007

David Pashley: Reason 82973 why MySQL is a toy

MySQL cleverly maps
CREATE INDEX foo_bar ON Foo(Bar);
to
LOCK TABLE Foo WRITE;
CREATE TEMPORARY TABLE A-Foo ( .... INDEX foo_bar (Bar));
INSERT INTO A-Foo SELECT * FROM Foo;
ALTER TABLE Foo RENAME TO B-Foo;
ALTER TABLE A-Foo RENAME TO Foo;
DROP TABLE B-Foo;
If you have a very large table, expect this operation to take a) a lot of disk space, b) a very very long time and c) block any writes to the table in the process. I don't recommend adding indexes or altering any very large tables that are in production on MySQL, because you won't be in production for quite some time. Update: Tom Haddon asked me if this applied to recent versions of MySQL or to PostgreSQL. Looking at the docs, it appears to still apply to 5.1:
  • http://dev.mysql.com/doc/refman/5.1/en/create-index.html
  • http://dev.mysql.com/doc/refman/5.1/en/alter-table.html
    In some cases, no temporary table is necessary:
    • If you use ALTER TABLE tbl_name RENAME TO new_tbl_name without any other options, MySQL simply renames any files that correspond to the table tbl_name. (You can also use the RENAME TABLE statement to rename tables. See Section 13.1.16, RENAME TABLE Syntax .)
    • ALTER TABLE ... ADD PARTITION creates no temporary table except for MySQL Cluster. ADD or DROP operations for RANGE or LIST partitions are immediate operations or nearly so. ADD or COALESCE operations for HASH or KEY partitions copy data between changed partitions; unless LINEAR HASH/KEY was used, this is much the same as creating a new table (although the operation is done partition by partition). REORGANIZE operations copy only changed partitions and do not touch unchanged ones.
    If other cases, MySQL creates a temporary table, even if the data wouldn't strictly need to be copied (such as when you change the name of a column).
  • http://dev.mysql.com/doc/refman/5.1/en/alter-table-problems.html
As far as PostgreSQL is concerned, it doesn't mention anything about doing the same thing, but does mention that it does a full sequential scan of the table. During this time writes are blocked. You can use the CONCURRENTLY keyword to allow writes to happen, but it does two scans and will take longer, but you can still use your database. http://www.postgresql.org/docs/8.2/interactive/sql-createindex.html

6 January 2007

Joey Hess: a clean BTS is a sign of a sick mind

Marc, I disagree. Solving every issue and whim that every user files against a popular package, while not letting the package degenerate into a mess, is hard. Taking some time to gather opinions and produce a well-designed fix that strikes to the core of an issue, rather than treating symptoms, is a good thing for many classes of bugs. (Other classes should instead be fixed immediately.) The existence of many open bugs against a package in Debian is not an indication that it's of lower quality than the corresponding package in Ubuntu -- which in fact probably has 99% of the same bugs anyway. As a user, I also regard a BTS as perhaps the best form of documentation there is about real-life problems that I might encounter while using the package, the general quality of the code in the package, etc. It's the first thing I look at when installing some new peice of software. It's also a good way to gauge how well the package is maintained -- not by counting bugs, but by reading how the maintainer responds to bugs. What I look for in a BTS is an indication that the maintainers care about a bug. The fact that bug #725 took ten years to get fixed doesn't mean that X's maintainers suck, it means that for ten years, we were able to document a minor problem to the few users who cared about it, and that we were able to keep track of it until someone finally figured out how to fix it. That's quite an accomplishment. Another example, to keep picking on X, the fact that bug #216933 is marked wontfix is not an indication that the bug is worthless; in fact the bug documents a quite subtle issue in the Crusoe's code morphing software, and has been an invaluable reference to a lot of Crusoe users. I'm much more concerned about all our users who don't know about the BTS and are unwilling to bother to file bugs than I am about the total number of unfixed bugs in the BTS. Getting 100% of our users to file good bugs on every issue they run into would do much more to increase the overall quality of Debian than fixing every > 1 year old bug in the BTS would.

Next.

Previous.