Search Results: "tim"

2 May 2007

Michal Čihař: What happened on last day of April?

I just looked on server statistics and I was shocked by amount of spam and viruses rejected during last three days. Is there some new virus for Windows which tries random email addresses on all servers it can reach? I didn't analyse those messages, as they are rejected at RCPT time, because sender tries random addresses which do not work on my server. For now I try to reduce them by blacklisting in iptables, but this doesn't seem to help much as IP addresses change too often. I think that graph shows best what big change has happened: Mail graphs Update: It seems to be new Sober variant causing this mess.

Joey Hess: DebConf indecision

It's less than 2 days until the cutoff point for the decision, and I am still not sure if I'll be attending DebConf this year. I had been planning to give a talk, and had travel funding, but I'm not currently really interested in giving that particular talk. Partly because I haven't done some needed reseach, and probably won't in time. Partly due to the long gap between submitting a talk and DebConf, which offers plenty of time to get into a different mood and get more interested in other things, which it's then too late to submit a talk for. So I canceled my talk, and I assume this means I canceled my travel funding. Combined with the dreadful time I had on my last transatlantic flight, and the much larger sum I'd have to pay to attend now, clicking on that "buy" button is much harder.

Chris Lamb: April s search strings

This is clearly a meme now.

1 May 2007

Isaac Clerencia: Back from the States + so it turns out I m celiac

Hi there! I’m back :P I spent a really nice time in the United States with my friends. We stayed two weeks in Boston and New York, and basically did everything we had planned to do and more … We visited the MIT at Boston, went to several comedy shows, ice skated in Central Park, spent a whole day in the Barnes and Noble book megastore, went to an NBA basketball game, saw Monty Python’s Spamalot musical, discussed politics with fellow Americans, visited the Delaware Water Gap waterfalls, enjoyed an helicopter ride, even watched The Grindhouse in its first day in the cinemas, and well, did lots of other stuff. Now for the celiac thing … I was somewhat sick during the whole trip, I felt weary the whole day without any reason, so as soon as I got back to Spain I went to the doctor and after some tests that spanned over a week and a quick visit to the hospital they diagnosed me with celiac disease. That means that I can’t ever eat anything containing gluten, a protein present in wheat, barley and rye. It’s quite an inconvenient illness, but nothing more than that, as just following an strict gluten-free diet is enough to keep it at bay. The main drawback is that you have to be really careful when you go out for dinner. I have already been in sick leave for three weeks because I had lost weight and was a bit anemic, but I’m quite ok again, and I expect to be back at work really soon now :)

Russell Coker: LUG talks today

Today I gave three talks at my local LUG. The first was my latest SE Linux talk (I’ll put the notes online soon). The second was a talk about voting. I asked for a show of hands, who has already decided which party they will vote for at the next federal election (about 12 people put their hands up). I then asked people to put their hands down if they were not a member of the party that they intend to vote for, including myself there were only two raised hands in the room (including mine)! With the way party politics works nowadays the major parties are not very interested in representing their core voters. Why try to please for people who will vote for you anyway? Instead they try to appeal to swinging voters and pressure groups. If you have decided to vote for a party they have no reason to try and impress you. Therefore you should join the party and try and influence the policy decision making process from within. The issues that I believe are most important to the Linux community are free software use in government, sane intellectual property laws, the right to a fair trial, and not pandering to the US (which is related to the previous two points). If you have already decided who to vote for then you should join that party and make your vote count in the party room. One member of the audience said that he had been a member of one of the major parties but that the internal politics turned him off. If that is your experience then I think you should ask yourself whether you want to vote for a group of people that you can’t work with. The final talk I gave was about getting speakers for Linux Users’ Groups. There is always difficulty in finding speakers for clubs. Ideally we would have meetings planned a few months ahead of time so that they could be advertised in various ways. Newspapers often have columns dedicated to providing information about public meetings but the lead time is usually at least a week (and the meeting would have to be advertised at least two weeks in advance - so more than a month’s planning ahead is required). Getting a larger number and variety of speakers will attract new members, encourage existing members to attend more meetings, and inspire members in their Linux work. Talks can be given by almost anyone. There is a constant demand for speakers who have expert knowledge in the topic, but anyone who is a decent speaker and has the confidence to stand up at the podium can give a good talk. For expert speakers possibilities include academics, industry leaders, leaders of free software development projects, and journalists. But that’s not all, anyone who wants to spend the time researching a topic can give a talk on it. For example I’ve been learning about MySQL recently for my own servers and will probably offer a talk about MySQL aimed at sys-admins who don’t want to become DBAs but who just want to get a database running. I’m not a MySQL expert (and don’t plan to become one) but I believe that there are many people who want to do the things I do with MySQL and who could benefit from a talk that I might give. The best place to find speakers is a conference or trade-show. If they give a talk that works well you can suggest that they give it again for your local LUG. You can also find speakers at conferences that you can’t attend. If someone visits your country for a trade-show in a different city you could send them an email saying “unfortunately I can’t attend your talk, but if you are interested in visiting my city in the same trip then there will be an audience of X people interested in seeing you”. There’s no harm in asking, the worst that they can do is decline. Ask everyone who you think can do a good job. Also make sure that you don’t make any commitment (unless you are member of the LUG committee).

Joachim Breitner: A shelf for darcs

I recently did my first experiments with darcs: A friend of mine and I hacked on the same code, and by giving each other access to one s darcs repository, we could easily exchange our new code.One problem I had was that my friend recorded a patch that I did not want applied in my repository. Nothing else depended on it, so I could just say no everytime I use darcs pull , but it s still a hassle. Also, imagine that I m somewhere else and I suddently decide that I do want the patch?A similar problem would be if I created some patches that I temporarily don t want applied. I could branch, and then unpull them, but this is a bit too much work.In both cases a patch shelve would be handy. A seperate storage for patches in my repository that are available, but not applied. I d imagine that the darcs pull command would then allow me to pull and put on the shelf , and not offer me this patch again. There would also be put on shelf and get from shelf commands. So if anyone feels like hacking on darcs, this feature would be appreciated.Also filed as a withlist bug.

Simon Law: Party on for Net Freedom


CFP 2007
Originally uploaded by sfllaw.
Tonight, I'm going to be attending an open panel discussion at Computers, Freedom, and Privacy 2007. It's completely open to the public and will be a discussion on freedom on the Internet. There are going to be a number of famous people there, including Whit Diffie, Peter Neumann, Anita Allen, Bruce Schneier, and Ed Viltz. I'm not sure exactly what they're going to be talking about, but I bet it'll be thought-provoking. At around 20:30, I'll be down at the CFP Welcome Party, which is basically a big fundraiser for Creative Commons and EPIC. You've probably heard me mention Creative Commons a few times, because they're a big proponent of having a healthy body of creative work that artists can draw from. Almost all of the art I produce is available under a Creative Commons license, which I've chosen so that you can share, copy, and modify it. So I'm more than happy to socialize with interesting people and to support a good cause. Sounds interesting? You bet! How do you get there? Well, the panel is at Hotel Bonaventure, and starts at 18:30. Details here. Then the welcome party is at 20:30, at Austin's place. Details here. For directions to Austin's house, send me an e-mail. Austin's address is on this flyer. If you're leaving from the Hilton, try these directions. Hope to see you there!

Russell Coker: more about Heartbeat

In a comment on my blog post “a Heartbeat developer comments on my blog post” Alan Robertson writes:


I got in a hurry on my math because of the emergency. So, there are even more assumptions (errors?) than I documented. In particular, the probability model I gave was for a particular node to fail. So the probability of either of two failing would be double that, and either of three failing would be triple that. Note that the probability of multiple simultaneous failures goes up as a power, but the probability of either of only goes up linearly. I really need to sit down and do the math carefully - but the idea of the simultaneous failures going up as a power is true. And the “any of” probability goes up linearly. That’s also true. This is why people can actually use larger HA clusters ;-). The 5 years figure is the industry standard quoted figure for an average Intel-based server to fail. The four hours to repair is a common high-quality of service response time from a hardware vendor. I admit that’s not the same as actual repair time, but if some “repairs” are just reboots, then it’s not a horrible number to start with - if your vendor has cached some spares nearby. I suppose I should sit down and do the math right, and make a spreadsheet of it. (I wonder if I remember that much math?) I assume disk failures are taken care of by hot swap disks, RAID, etc. and so in effect they “never fail” (at least not totally) so that these failures don’t have to be accounted for by the overall availability model. Here’s an intuitive way of thinking about it “from your gut”… If I took your whole data center and made a cluster out of it, what’s the chance that at least half of your servers would fail at once? Pretty darn small, is the short answer ;-). If it’s not pretty darn small, you need to buy better servers, and IBM has just the servers for you ;-). Or maybe they need to hire a better SysAdmin ;-) If you ask yourself “when is the last time at least half my machines in my data center couldn’t communicate with the other half”, then hopefully that’s also a “pretty darn small” chance too. If not, there are well-known methods for making networks highly reliable too. [I’m still ignoring “catastrophes” that you haven’t accounted for in your HA architecture]. I’m not saying this is free, and it can be pricey. One of my other favorite sayings is “Paranoia is an expensive hobby”. How much do you want to spend? You tell me how much you want to spend, and you can figure out how to spend it. I’ll make a separate comment on quorum models later. It’s getting late here.

My only comment in response to that is to say that I still believe the calculations of probability to be correct in my original post and I am interested to see someone prove otherwise. Another comment by Alan:


Data corruption, no doubt, is almost always much worse than loss of availability. And some kinds of data corruption are worse than others. For example, mounting a non-clustered shared disk filesystem twice simultaneously is usually much worse, than updating two replicas of the data simultaneously. In the first case, you have to restore to your previous backups and lose all data since then. In the second case, you only lose updates that were made to one of the sides, and you instantly have a working copy of the data which is nearly always much newer than your last backup (with the possibility of recovering them by significant effort). Typically you would only lose a few minutes of updates at worst - and depending on the kind of networking failure, you might not lose anything. Heartbeats certainly aren’t enough. You need to monitor the health of your servers and the health of your applications. Heartbeat monitors applications and can easily be informed of and act on the health of your servers (with release 2 style Linux-HA Heartbeat configurations).


Followed by:


Since data corruption is so serious, this is why cluster designers worry so much about split-brain, which is managed using the ideas of quorum and it’s sibling fencing. This is all about keeping bad things from happening. This post is really about quorum, since Russ had expressed interest in it. Quorum is the idea that you can uniquely choose a subcluster to represent the whole cluster in those cases where communication failure has caused the cluster to split into separate sub-clusters which cannot properly communicate with each other. In this way, only one of the subclusters continues on, and the others will sit on their hands and do nothing waiting for a person to fix things. Some of the kinds of quorum mentioned below are better than others. But, most importantly, they can be used in combination as described later. The most common kind of quorum is that Russ mentioned in his earlier post - the majority quorum. In this method, for a cluster of n nodes, you grant quorum to a sub-cluster which has more than INT(n/2) members. This means that if you have a 3-node cluster, you have to have two nodes to continue. If you have 4 nodes, you have to have 3 nodes to continue. For 5 nodes, you have to have 3 nodes, and so on. Other basic methods include disk reserve, so that you have reserve a disk to have quorum. In this case, if only one node survives and it can reserve the disk, it continues to run. However, the disk becomes a single point of failure. This may not be a problem if this single disk is required to run any of the cluster services, since they would fail without it anyway. [Heartbeat does not support this method]. An analagous method is to implement a software resource which grants quorum to one subcluster in a fashion analagous to the disk reserve method. This has the advantage of not requiring disk reserves, or a shared disk, but it has the same SPOF disadvantage as the disk reserve method. Heartbeat does support this method using the quorum daemon. It’s incredibly useful for those cases (like split-site clusters) where you cannot use fencing. Another method is to grant quorum to any subcluster which can ping a certain set of nodes, and not grant it to any which can’t access those nodes. This isn’t a wonderful method, and has obvious disadvantages with respect to uniqueness, and single points of failure. (Heartbeat doesn’t yet implement this one). Another method is to grant quorum to any node which is a member of a 2-node cluster. This is better than losing quorum and stopping when one node stops, but obviously completely ignores the uniqueness requirement of quorum. Another method is to ask a human being if you have quorum. This is hardly an ideal circumstance, but useful in some contexts as described below. (Heartbeat doesn’t yet implement this one). Perhaps you say, really the only one of these that’s really good is the first one - the majority vote method. And, I would generally agree with you. But, Heartbeat has the ability to use these in combination which makes some of those methods that seem flaky to be much more reasonable. Heartbeat has the ability to have multiple quorum modules declared, and they’re used in this way: Any module can return HAVEQUORUM, NOQUORUM, or TIE. If they return HAVEQUORUM or NOQUORUM, then no further quorum modules are consulted. However, if they return TIE, then the next quorum module is consulted for its opinion. If the last quorum module returns TIE, it is treated the same as NOQUORUM. This enables you to use one quorum module to break the tie declared by a previous quorum module. You could then use the quorumd to break the tie created by a voting module. Or you could use the quorumd instead of the “two-node” module. Or you could use the “pingable” module instead of the “two-node” module. Or you could at the end always tack on a “human” module, in case all else returns TIE. This is kind of cool, actually. My favorites for next implementation are the pingable and consult human modules. And, of course, if your cluster loses quorum due to real server failures failures, there are always ways to work around it, with a little human intervention. One method is to tell Heartbeat to ignore quorum. Another is to tell Heartbeat to remove certain nodes from the cluster, after you verify that they’re really dead. And, I’m sure that in a pinch, some new methods will be invented. And some of them might actually work ;-).


Regarding the quorumd, it seems that this is an extra server that will generally run on another machine separate from the rest of the cluster. So if we had a two-node cluster with a quorumd then it would effectively be a three-node cluster where one node is not configured to run any resources. It seems that the simpler approach in many cases would be to merely have a three-node cluster with resources not configured to run on one of the nodes. For example if I was running a mail server cluster for an ISP I might configure a three node cluster of the two mail server back-end machines and one other machine that is lightly loaded (EG a DNS server) and have it configured not to run MTA resoures on the DNS machine.

30 April 2007

Mark Brown: One step forward

It depresses me to see people thinking that the way to get changes affecting many packages done in Debian might be via general resolution or that a number of people seem to feel that getting something accepted into policy is a first step in getting anything big done. Debian may be big and prone to arguments but it’s a shame to see people in Debian who think we’re that dependent on process to get things done. This makes me all the more happy to see something like the Smith review project ticking away. It’s all being done on the basis of “Hey, this seems like a good idea - anyone object or want to help?” and by the time it’s done it will have touched every package in Debian which is getting on for as ambitious as it’s possible to be. So far it seems to be getting positive responses from maintainers - I’m sure there will be problems somewhere along the line but I’d be surprised if they were anything other than a tiny minority.

Eddy Petrișor: I'll bite

You are wikipedia.org You are a know-it-all.  You are trustworthy, most of the time.  You are  versatile and useful.  You like volunteering.  You are free.
Which Website are You?

Cord Beermann: Listmaster vs. Gmail

We get regular requests from Gmail-Users that don't receive their own mails back, when they post something on a mailinglist to which they are subscribed.

So if this happens to you, first check if your mail shows up in our mailarchive.

If it appears there (wait some time that the archive can catch up) your mail has been successfully posted to the list, and your copy has also been send and is most likely accepted by Gmail. But Gmail seems to drop that mail internally (or sort it in a spamdropbox?) maybe because From and Receipient-address are the same. (We get two or three requests of that kind per week, and everytime we investigated, we found this is the case)

If it doesn't appear in the Mailarchive and your mail has been accepted by our mailserver murphy.debian.org, you most likely have lost against our Spamfiltering. (Did you know that ControlExtension matches the string Rolex?).

Then feel free to report to listmaster@lists.debian.org and provide as much info about your lost mail as possible, helpful would be:



Keep flamemailing.

Mike Hommey: Bug triaging

A week ago, I started the long overdue task of triaging bugs reported on iceape/mozilla. When I started, the count was 364, duplicated excluded. I’m still not halfway through the bug list, but already the bug count is down to 263, as of today. That is about a hundred bugs closed or merged. I can’t believe there were still bugs so old but yet not merged to even older occurrences of the same bugs. Since it is easier to appreciate the effort with nice colors, I started graphing the bug counts for iceape. Sune Vuorela started some similar things for kde a while ago, so, thinking this could be useful for a whole lot more people than KDE and Mozilla maintainers, I also started graphing the bug counts for all packages. There is not enough backlog to have more than the last week, though. I’m a bit concerned about the fact that the RRD updates take a lot of time and may induce some load on gluck… Please DSA hit me if you want it to be moved elsewhere. Anyways, back to iceape bugs, the oldest bug I closed was #80787, which was actually fixed as soon as I first uploaded xulrunner a year ago. On the other hand, the oldest I didn’t close is #78654. There are some other winners that I’m amazed they’ve not been treated upstream in the last 6 years. Now, while I tried to correctly and conveniently tag these oldest bugs, I didn’t take the required amount of time to track them in upstream bugzilla. So if you, dear reader, have a little bit of time, I would really appreciate if you could go through the list of bugs* that are tagged upstream, but not yet forwarded and either find them in upstream bugzilla, or file them if they don’t exist there. * strangely enough, the raw=yes argument to the BTS doesn’t seem to work properly. You can get a raw list (with no ordering by status or severity) through the LDAP gateway with the following command line:
ldapsearch -p 10101 -h bts2ldap.debian.net -x -b dc=current,dc=bugs,dc=debian,dc=org '(&(debbugsSourcePackage=iceape) (debbugsTag=upstream) (!(debbugsState=forwarded)) (!(debbugsState=done)))'
Note the LDAP query is probably not optimal. You can add debbugsID at the end of the command line if you’re only interested in the bug numbers.

Simon Richter: Heh.

You are .cgi Your life seems a bit too scripted, and sometimes you are exploited.  Still a  workhorse though.
Which File Extension are You?

Enrico Zini: tg-quirk

Turbogears form quirk I had a great idea:
@validate(model_form)
@error_handler()
@expose(template='kid:myproject.templates.new')
def new(self, id, tg_errors=None, **kw):
    """Create new records in model"""
    if tg_errors:
        # Ask until there is still something missing
        return dict(record = defaults, form = model_form)
    else:
        # We have everything: save it
        i = Item(**kw)
        flash("Item was successfully created.")
        raise redirect("../show/%d" % i.id)
It was perfect: one simple method, simple error handling, nice helpful messages all around. Except, check boxes and select fields would not get the default values while all other fields would. After two hours searching and cursing and tracing things into widget code, I found this bit in InputWidget.adjust_value:
# there are some input fields that when nothing is checked/selected
# instead of sending a nice name="" are totally missing from
# input_values, this little workaround let's us manage them nicely
# without interfering with other types of fields, we need this to
# keep track of their empty status otherwise if the form is going to be
# redisplayed for some errors they end up to use their defaults values
# instead of being empty since FE doesn't validate a failing Schema.
# posterity note: this is also why we need if_missing=None in
# validators.Schema, see ticket #696.
So, what is happening here is that since check boxes and option fields don't have a nice behaviour when unselected, turbogears has to work around it. So in order to detect the difference between "I selected 'None'" and "I didn't select anything", it reasons that if the input has been validated, then the user has made some selections, so it defaults to "The user selected 'None'". If the input has not been validated, then we're showing the form for the first time, then a missing value means "Use the default provided". Since I was doing the validation all the time, this meant that Checkboxes and Select fields would never use the default values. Hence, if you use those fields then you necessarily need two different controller methods, one to present the form and one to save it:
@expose(template='kid:myproject.templates.new')
def new(self, id, **kw):
    """Create new records in model"""
    return dict(record = defaults(), form = model_form)
@validate(model_form)
@error_handler(new)
@expose()
def savenew(self, id, **kw):
    """Create new records in model"""
    i = Item(**kw)
    flash("Item was successfully created.")
    raise redirect("../show/%d"%i.id)
If someone else stumbles on the same problem, I hope they'll find this post and they won't have to spend another two awful hours tracking it down again.

Ben Hutchings: Introducing dvswitch

I just released version 0.5.0 of dvswitch, the software DV mixer intended for use at DebConf 7. I believe I've met all of the video team's essential requirements and most of the desirables. Unfortunately real video mixing seems to take a faster machine than I have at the moment and I very much doubt I'll have time to improve that much. Although I have implemented picture-in-picture mixing, it won't be usable and may result in frame dropping, so I've started a stable branch intended for DebConf 7 that doesn't include it. Version 0.5.0 is released from this branch and can be considered the first alpha test version. There's now a little over a month to test, fix bugs and make minor improvements on this branch.

Randall Donald: Just some misc bbspot quiz stuff


You are Python You are slower than others, but easier to understand. You are a minimalist, who doesn't like clutter.
Which Programming Language are You?




You are .pdf  No matter where you go you look the same.  You are an acrobat.  Nothing is more important to you than the printed word.
Which File Extension are You?



You are Jolt Cola. You are syrupy sweet.  You used to be cool, but times have passed you by.
Which Caffeinated Beverage are You?

29 April 2007

MJ Ray: Daddy or Chips? (Presenter comments)

I boggled at getting used as a throwaway line in LugRadio and then: Jono Bacon's PA (is this for real?) commented:
"I will get Jono to schedule a call with you sometime to discuss these problems if thats fine with you. He can probably fit you in before Bill Clinton at 2pm on Tuesday."
It also appeared (with a few comments from me) on as days pass by: Die Broadcom (and yes, Die Broadcom!)

Matthew Garrett

If you are running a low-resource or slow system, then more running processes
will consume more RAM and more CPU time. This will result in a slower
system. One option is to lower the number of PIDs. This will reduce
the number of running processes. Fewer running processes reduces the
number CPU and RAM requirements.


If you have published a book by someone who believes this, you may already have lost.

Cord Beermann: Blog established.

I sometimes find myself in a state that needs to write out what i feel or mean to a topic. So i decided to establish an own blog. And here it is.

I read for some time the Blogs of my friends and cow-orkers corona and wusel and both decided to use this nice Blogsoftware called Simple PHP Blog. It is very featureful, but the deciding thing is, that it doesn't need a Database running in the Background.

As this package isn't available from Debian yet, i made a package of it, and applied as Maintainer (see Debian-BTS #421513).

I will wait some days and will then upload the package. For now you can find it at http://debian.cord.de. The package is currently useable for stable, testing and unstable.

Biella Coleman: Blogus Christ, My Savior

Academics in the humanities and social sciences often struggle with their writing. I just figured that as you did more and more, you got better and better. Well this recent post by Radical Tenure was pretty eye opening because she confesses about losing her writing groove (in part because of sh*t going down at her university) and then she gives a fascinating account about how blogging “saved” her. Now I am stunned because her writing is pretty darn succulent. Really. I love reading her( and am proud that she is a lady blogger too given how many males dominate the “famous” scene). Now I am more inspired because I think indeed writing, especially in very competitive environments, can be a torturous and fraught task. And while it may get easier, there are circumstances that may derail even the strongest of writers. It is great to see this confronted head-on, in ways positive, honest, inspiring. Here are the relevant bits:
Another reason being anonymous didn t work for me is really internal to Zen - er, Wesleyan, stultifying features of which I was trying to escape following the Unfortunate Events. Like being watched and talked about all the time and treated like yesterday’s news for having done the teaching and institutional work I was asked to do while struggling to find time for my scholarship even as other people were chosen to be groomed as “the scholars.” What happened to me during the last three years nearly destroyed me as a writer and an intellectual (I am actually not joking about this), and I had to start all over again, recreating a literary voice for myself and a confidence that I could command an audience with my thoughts and prose, from the ground up. It was either that or quit. ….
Do not dare feel sorry for me about this, and let me underline the point: I am a highly privileged, senior faculty member at a very wealthy institution, and many other bloggers are not. Furthermore, regardless of this messy coming-out period, my strategy actually worked. Because of this blog *and its audience*, I was able to start writing again, to finish articles that were lying about undone, to write a book review for the Village Voice, to write a book proposal, to get going on revising the book that various people and committees eliminated all over during the Unfortunate Events, to do a ton of research on a new project and to begin speaking about some critical reforms that might really help faculty on the right and the left enjoy their work as academics again. In other words: I Saved Myself. And I have been transformed into something more powerful as a result of my trials.

Next.

Previous.