Search Results: "ag"

17 July 2006

Matt Brown: Patching the sc520 watchdog to reboot Soekris devices

We use a lot of Soekris devices at work which often get deployed to remote locations where its not easy to access them if things go wrong. I’ve recently been writing some software to act as a watchdog on the machine. As a very last resort this software makes use of the watchdog chipset provided by the Soekris boards so that if userspace goes away the machine will get rebooted back into what is hopefully a sane state. Unfortunately the in kernel sc520 watchdog device doesn’t actually reboot the Soekris when the heartbeat ping from userspace is lost. This makes it virtually useless. There has been a patch floating around since 2004 that fixes this problem, but it hasn’t made it in to the kernel for one reason or another. I think it’s Soekris specific… I’ve updated the patch to apply cleanly against the sc520 driver found in 2.6.16 and you can find it below. http://www.mattb.net.nz/patches/linux/soekris-sc520wd.patch

16 July 2006

Jordi Mallach: New SMS received

Message 1
I am in Spain!
What a fine country.
+1310XXXXXXX
2006/07/16 18:10:18
Dear sender,
I'm happy about you being so enthusiastic about your visit to Spain. I would probably be able to share the moment with you if I had the slightest clue about your identity.
Have a great night at nearly 30 C,
Jordi

Andreas Metzler: getting rid of gnutls11 and libtasn1-2

I have set some activity to finally get rid of archaic gnutls versions from sid by signalizing my intention to NMU some bugs and asking for the first binary NMUs. I got stuck at lock-keys-applet. I have got a nice binary package and diff that fixes the bug as far as I can tell. However I am not running Gnome on sid and have not been able to find a tester on IRC either. I would appreciate feedback per mail, TIA. Update: I have received some feedback on lock-keys-applet: Some positive user feedback ("Yes, it works.") and OTOH a pretty strange answer from the maintainer, which can be summed up as "Please do not NMU the package.".

Erich Schubert: On programming contests (ACM ICPC etc.)

Bart Massey and Mike Vanier talk about programming contests such as the ACM International Collegiate Programming Competition. Well, since I'm being told that I love ranting, I have to join this one. ;-) I never participated in a contest except the Bundeswettbewerb Informatik back in (pre-university) school. In my opinion that contest was quite different for a number of reasons: most of the participants didn't have any IT classes at school. And noone "trained" for that contest. Also the contest isn't a speed contest, but you have a couple of months to solve a number of problems that most of us would find rather easy - for pupils aged 15-18 with no real CS classes they aren't that easy. Even in the later rounds, time isn't the main constriction - you have several weeks - and the programs are also judged by their code quality, documentation and design. I think you were allowed to participate in teams during the first and maybe second round. A friend of mine pointed out the ACM chellege to me; but we never really managed to form a team since everybody was too busy. We never actually did a training session (though I myself solved a couple of the valladoloid online judge problems), and we didn't submit our participitation. Though we would have automatically won our local contest, since I'm not aware of any teams by our universities here (despite them being top-ranked universities). In general, Germany isn't very much involved in this contest, despite being an "international" contest. This has various reasons. On one hand, CS teaching in germany is not much about just writing code. You'll of course learn the basics, but even when they've finished their degree, most will be really slow in writing code. Instead, the focus is on modeling and the theoretical background. In my opinion, that is very good. You'll always be able to improve your "basic" code writing skills later; that is mostly experience and routine. But you won't be learning much theoretical background in your job later on. Having worked on a number of the old, archived, training problem sets, I'm not convinced that this contest makes much sense. To succeed with the problem sets you need to be able to I agree with the others that I don't think team-play is of much value in this contest; nor will you be doing much creative work. In my opinion it's all about reducing the given problem to one of the known problems (e.g. longest common subsequence, shortest path, maximum flow), then adopting an algorithm to it. I'd call that reproductive work. In my opinion, they're rather boring. Basically you're expected to solve them using a certain algorithm. You aren't judged by good or smart solutions either. Just by speed. The (high-school) programming contest mentioned earlier was more interesting. For example there was the task of navigating a robot on a factory floor without any state information, and only a limited view. The robot was not allowed to keep any information. Such as "I need to go out of this dead end" or "that is a dead end". It would easily walk into a path just to notice after a few steps (it had a limited view!) that this is a dead end, then try to walk out - just to walk in again, having forgotten that it's a dead end. You of course can't judge solutions without inspecting the code. Smart programmers found a few ways to "cheat" here - and got extra credit here. For example one robot, when noticing that it's in a dead end it might forget, would step up to the wall. And whenever it was close to a wall, it would follow it, and thus walk out of the dead end. Some heuristics making it step away from the wall again made it much more successful than others. Another "cheat" involved calculating "remaining steps allowed - distance to destination mod 2". It then could be programmed with two alternating behaviours and switch between them by just not moving for one turn. I don't think there is any room for such great ideas in the ACM contest.

Christoph Berg: Becoming an early riser

At the beginning of this year, becoming an early riser was a recurrent theme on planet.debian.org. At the same time, the urge to put some order in my messy sleeping pattern had grown, so I was very happy to read Steve Pavlina's blog posting on that. Before, I would usually stay up until very late (3am), being over-tired, and then sleep 9 or even 10 hours, sometimes still being tired the next day. The advice Steve gives is very simple: Go to bed only when you're too sleepy to stay up, and get up at a fixed time every morning. This sounded exactly like what I wanted. Now, I'm still rather the night owl type, so I didn't pick something like 5am as Steve did, but a friendlier 9am. The first 2 or 3 days were somehow hard, but I soon realized how healthier the new rhythm was. I was getting up at the same time every day, including weekends, and go to bed around 1.30am. The downside was that 2..3am (CET) is often the best time on IRC and also very nice for hacking, but the additional time gained in the morning was well worth it. The hard part is to actually notice when you are tired. For me, it works best to read a book, and then go to sleep when I can't concentrate on reading any more. The difficulty for us computer people is that staying in front of the screen somehow makes you unaware of how tired you actually are - just turn the machine off and do something else (doh!). In the morning, it's important to actually get up, since the body will adjust to the additional time in bed. What I'm doing is to put the radio's timer at 9am, and the alarm clock at 9.05, so I don't have to jump out of bed. Many times, I would wake up myself just at that time. Of course, when going out late, I don't get up at 9, but try to get back to the rhythm immediately. Also, Debconf had thrown me out for some weeks, but luckily I managed to get back in.

15 July 2006

Erich Schubert: Extra exploit protection - SELinux

Apparently (as analyzed by Joshua Brindle), SELinux with the commonly used policies prevents the latest exploit (the one using a race condition on /proc/self/environ). Another way of preventing this would have been to mount /proc with "noexec, nosuid". I wonder why that isn't the default anyway? It would be good to have more people work on Debian SELinux. Currently, I'm not aware of anyone working actively on Debian SELinux. So although it was called a "pet release goal" earlier, this seems very utopic to me right now. The SELinux toolchain has received some important fixes/features (modular policy linking should finally be working!) but these are not yet in unstable, nor has the reference policy package been updated recently. Running SELinux on the main Debian servers probably is some work... there will be custom policy that needs to be written. It would however increase our security a lot, especially for boxes such as gluck that probably are our weakest point (because all developers need to be able to log in). Sometimes I have the impression that I'm the only one running a Debian system with SELinux and the reference policy... and I'm still busy with my exams, and I don't know yet if I'll have more time afterwards (a 6-month thesis is next after the exams, and I'm actually thinking about some business opportunities, too...)

Julien Danjou: The new DeDuBu contest

Dumb bugHey, I'm sure you're wondering what DeDeBu is, aren't you? That's the Debian Dumbest Bug contest! This is a new monthly contest which consists to choose the more stupid, silly, obvious and fun bug. How to win? Simply drop me an email with the bug number. I will maintain a list of candidats. Then, a selected and feed jury will choose the best of them.
If the bug you reported win, you and the reporter will win something like your weight in Ubuntu CD or the right to write my new book, Debian for dummies. For example, I give you a bug reported by Florent Bayle, #355455, which the first candidate for July. (Please note that I do this for fun, not for raising personnal attacks ;-))

Evan Prodromou: 27 Messidor CCXIV

I'm extremely excited to see that Creative Commons Salon Montreal will be launching on Thursday 20 July. The event will be at Le Pistol, 3723 St. Laurent, 7PM. Should be extremely fun -- Marcus Bornfreund, national director of CC Canada, will be there, and he's always good to see and talk to. tags:

Camping We're heading off to the wt:Mauricie for a weekend of camping at the R serve faunique de St.-Maurice. It's extremely difficult to get any camping reservations for the second half of July in Quebec, since it's the official Construction Holiday. This is a 2-week work holiday built into the union contracts of most (all?) construction workers in Quebec, as well as for many other unionized works. Which means that most Quebec vacation spots are completely packed for this period -- especially ones that are affordable. I managed to get us a weekend in St.-Maurice, which apparently has great lake swimming, but it's raining cats and dogs right now in wt:Montreal, so it might not be such a fun trip. I promised Maj we'd get out of the city this weekend, though -- they're predicting highs of 35C. tags:

Andreas Barth: xorg-x11 removed from testing

Yesterday, we pushed some packages with force into testing:
force-hint gnome-media/2.14.2-1 sound-juicer/2.14.4-2 nautilus-cd-burner/2.14.2-1 libsexy/0.1.8-1 rhythmbox/0.9.5-1 gnome-python-extras/2.14.0-2 gnome-system-monitor/2.14.4-1 libgtop2/2.14.1-2 libgksu/1.9.4-3 wmfire/1.2.3-2 gnome-python-desktop/2.14.0-2 totem/1.4.1-2 evolution-data-server/1.6.2-3 gnome-panel/2.14.2-1 evolution/2.6.2-4 That means that all these source packages (and associated binary packages) are put into testing independent of what they break - but we assured before that they won't break anything bad. So, the result of that was that a few packages were broken on a few architectures, but we prevented that this large transition sticked together with the next large transition. These changes allowed us today to remove xorg-x11 (6.9) from testing, which brough uninstallabilities down to a very good level on most architectures: If you are interested in the detailed stats, they are at http://ftp-master.debian.org/~aba/test-issues/. If you are a porter of a not-as-good arch, you might be interessted to work on reducing the amount of broken packages - our goal is to have none at release. After this task is done, the next difficult one is already approaching.

Ian Murdock

Simon Phipps: “Stewart is spot-on with Flickr’s policy and paradoxically will keep my business by allowing me to leave at any time.” Absolutely. This post nicely explains something I’ve noticed about my own actions recently, namely why I’ve remained a del.icio.us user even as I’ve become less than enthralled with its new owner: I can export my data at any time from del.icio.us and take it to a competing service. As Simon so eloquently explains, I remain a customer because it’s easy to stop being one. To compete, a rival service needs to not only provide a better product but also make it equally simple to take my business elsewhere, and most service providers don’t seem to be in any hurry to let me do that. Furthermore, the usual reasons for moving data elsewhere, better integration with other providers’ services or more compelling features in a competing service, are less important when the service I’m already using has an open, well-documented API that allows me to do whatever I want with my data without needing to export it.

Steve Kemp: On the second day I brought her a flower

My Apache module for filtering incoming HTTP requests, mod_ifier, has had a lot of loving. Yesterday I reworked the structure of the code to make it more generic and extensible. Taking advantage of the cleanup I added a new match-target. In addition to matching Referers, User-Agents, headers, Paths, and CGI parameters/values it will now also allow you to match on the HTTP Request method. (ie. GET POST OPTIONS PROPFIND SEARCH TRACE). I’ve made a 0.5 release, and a new package will be uploaded to unstable shortly. There was a tiny bugfix too - parsing/matching of CGI POST variables will work 100% correctly! ObAudit: I looked over the Debian Mentors Website and reported an XSS attack against it. Package names/descriptions were not filtered before being displayed so anybody with a mentors.debian.net account could upload a package causing an XSS attack - stealing the login session of any user who viewed the package details.

Lars Wirzenius: Random thought: Understanding, accepting, agreeing

"I can understand why he said it." "Why do you defend him? How can you of all people agree with him?" In everyday language, to "understand something" is often interpreted as "agree with something" or "accept something". Usually, that is also what is meant, but it would be better if it weren't. There is a subtle difference between these meanings, and it is annoying when this is lost in the communication and misunderstandings happen. For example, I can definitely understand the urge of breaking into computers without permission. It is an intellectual, technical challenge, and there's the intense thrill of doing something you're not supposed to be doing. However, I do not, emphatically do not, agree, accept, condone, or otherwise suggest that it should be allowed. On the contrary, crackers should be taken out and spanked. Let's agree to understand and accept this subtlety. On the other hand, if making a point, it's good to know that not everyone understands subtlety, especially not all the time. Making the distinction clearer can prevent unnecessary disagreements.

Joachim Breitner: Bringing Free Software to Ghana

In less than a month, I'll be flying for one year to Ghana, where I was offered a job as a teacher and network administrator at an International College in Tema. The school wants to get started using Free Software and so Ralph Amissah, a fellow Debian Developer, asked me if I'm interested. I was, so I got the job.I don't know yet my exact tasks there, and I don't know yet if I can make a difference, but if I can, I'll try to spread the word about Free Software. In my opinion, Free Software can play a role in giving a country like Ghana technological independence and allows for their own developments in this area. My favourite Linux distribution will be Debian, of course, and I'll keep you, especially on planet.debian.org, updated on my progress. I have orginially looked for a project in the developing world to work on after my Abitur (German Highschool Diploma), but I haven't found something in time, so I started my studies in mathematics and computer science. Last year at DebConf 5, I talked with a few people about things to do to fight the Digital Divide, including Kurt Gramlich, Mark Shuttleworth and Ralph, who contacted my in the winter. @Ralph: Thank you!Note that the non-technical reports are blogged in German and won't appear on the planet, so if you're interested, see my blog directly. Pictures will appear at the usual place.

Eric Dorland: The Damage So Far

So I've spent the last 8 days at Fantasia, neglecting friends, family, my health and Debian work. Probably a good time to look back at what I've seen so the memories don't melt away has they have other years. So only 8 movies left to see. So far it's been pretty good.

Erich Schubert: JSP-like C++ webpages

TNTnet, just uploaded to Debian, looks interesting. Basically it offers JSP-/PHP-like embedding of C++ code into web pages (or the other way round). Well, if you want to be precise, the syntax is actually much closer to HTML::Mason, a perl-based web application framework I've used some years ago. You can bet that these pages, compiled into native code, are hard to beat speed-wise... Think of compiling your website into your webserver. It's obviously not suited for wide audiences - you can have your users upload PHP files, but you probably won't allow them to upload C++ code - but more for high-performance sites with specialized applications. I have, however, one major gripe with it: The syntax is not XML. I wish they would have picked true XML as data format, instead on basically using string processing. I hate how many people treat webpages as mere character strings with some special characters instead of structured data serialized in some way or another. I don't want to be stuck using a line-based editor for structured data forever. I'm still using vim, and I'll probably continue for a while, but for XML I'm actually just waiting for an editor with a true understanding of XML and the power and speed-of-use of vim... KID remains my favourite way of generating web pages. It's templating transparently embedded in a XHTML file using a separate XML namespace. And it's actually compiling the templates into python modules. P.S. if your ever need the Dummy 16 and Dummy17 functions, get them from microsoft (excel) now! No need to write them yourself anymore! (Dummy 1-15 are apparently discontinued.) P.P.S. I just wanted to point out, that I'm convinced that embedding much code into a layout file is a bad idea (one of the reasons why I despise PHP). Keep logics and layout separate. KID for example is quite good at that. In my DNSoupdate tool for example, all the template contains is loop constructs and simple case disinctions. This also brings me to my biggest gripe with KID: it depends on python. I don't see a way of using the same template with a different language. So maybe I'll actually go back to some TAL solution or so that is a bit more portable templating-wise (and still perfectly reuseable XML).

14 July 2006

Julien Danjou: Blogging is hard today

It began with heavy spam load in comments, last month someone tried to DDoS my blog (had to block 50 IP), and now I am fighting against spam in referers. YOU WON'T MAKE ME SILENT !!! THE WORLD WILL KNOW THE TRUTH !!!

Erich Schubert: Apropos english words in the german language...

Martin F. Krafft mentions the trend of (ab-) using english words in german product names, and even constructions like "downgeloadet" (i.e. using english words with german grammar). What I'm most annoyed by is that many people (especially techs...) think that these words are actually the proper terms. That this is actually "more correct" than "heruntergeladen". Just because that is the only way we've been using the term doesn't make it the proper word. To a native speaker, many of these words might sound rather odd, and they are just being used because there is no better match in the english language. So if there is one in the german language, we should be using them... for example "to indent". I guess for many people here this will solely apply to text formatting in editors. But I assume that for native speakers, this always will bring up "dents", too. Something negative, some slight damage. The german word, "einrücken" however doesn't have such a meaning. I still believe that to regular native speakers, terms such as "bump mapping" have a very funny sound. And that it's just us techs that probably learned the "bump mapping" term first, and "speed bumps" second, that this sounds "good".

Evan Prodromou: 26 Messidor CCXIV

I keep my Google Alerts keyed for news about Wikipedia, so I just got a link this morning to an article in the Guardian about Larry Sanger. Sanger was the original editor of Wikipedia, when the project had some semblance of editorial organization. When he was laid off from Bomis in 2002, Sanger left the project, and has been a gadfly for the project ever since. His article on Kuro5hin, Why Wikipedia Must Jettison Its Anti-Elitism, was a call for better quality on the project. I think Sanger is wp:Stuart Sutcliffe of Wikipedia -- the wp:Fifth Beatle who missed out on the project's success. I'd be a pretty bitter Herb myself if it was me in that position. I also think his criticisms are way off the mark. Not that Wikipedia doesn't have quality problems -- it does. Grievous ones. But the quality problems aren't with the factual accuracy, but with the poor level of writing, kitchen-sink compositional strategy, and sloppy logical development. Sanger makes the same mistake that many Wikipedians do -- overemphasizing the characteristics and needs of contributors. Wikipedians are great, and their generosity of time and energy has made one of the crowning achievements of the Internet. (Disclaimer: I've been a Wikipedian since 2002, and I'm an admin on the English Wikipedia, so I have some bias.) But their value comes from serving readers, not from serving themselves. Many of Wikipedia's quality problems come from a feeling of entitlement on the part of editors -- that the most important thing is to make sure every contributor gets their say. Too often, we use the wp:NPOV rule as a conflict-resolution mechanism rather than as a guideline to writing good articles. Sanger's solution -- putting "experts" back in the driver's seat -- will drive his new Digital Universe project. But I'm not sure he's focusing on the right part of the problem. Sure, scientists and historians know their subjects in-depth, but that typically means they don't have the perspective to create accessible articles for the general public. The hoi polloi probably do a better job writing their own summaries at their own level than the Ivory Tower can. Grand plans for saving Wikipedia are like favorite characters on the Simpsons -- everybody's got one. Still, I'll give mine (plan, not favorite): what Wikipedia needs isn't scientists and historians, but writers and editors (in the traditional sense -- r dacteurs, redactors). Engaging that community's time and energy is going to be crucial to the project's success. Oh, also: Manjula. tags:

Kenshi Muto: For those who care about the backported debian-installer -- kernel 2.6.16 version is released

Today I built the backported d-i image with kernel 2.6.16. I updated many codes also. You can download the image from backported d-i images portal. Note: Although I'd tried 2.6.17 version once, finally I gave up. I succeeded to build kernel image from unstable source on Sarge. But linux-kbuild package, for linux-kernel-headers helper, was failed to build with gcc-3.3. Gcc-4.0 or above works, but they don't exist on Sarge. (Don't nag me about CUPS... Most problems are upstream's matter and upstream is preparing 1.2.2 release at this time. I'll run again after it's released.)

Andreas Barth: Uninstallability even more down

Today, the uninstallabilities went down even more. Istanbul has been updated from unstable, and is now installable again. So, this leaves us with:

Next.

Previous.