Search Results: "hug"

22 December 2006

Evan Prodromou: 1 Niv se CCXV

I'm pretty happy about the way the 'Ten Web 2.0 APIs you can really use' episode of the LinuxCast came out so well. I'm not very used to talking for recording, and like everyone I don't particularly enjoy hearing my own voice recorded (do I really sound like that?), but it was fun to do, and I think it's a nice adjunct to the Ten Web 2.0 APIs you can really use article itself. tags:

Tijuana We're on a trip in Southern California this week, so we decided yesterday to go to Tijuana for the day. Maj, Amita June and I got out of the condo we're staying at in Encinitas early in the morning -- well, early for a vacation day -- and headed down to downtown San Diego. It's a trip of about 25 miles, with one tricky turnoff at highway 805 that seems to get me every time I visit this part of the world. Going into Mexico with a car can be a bit of a hassle. Many American insurers don't cover cars going into Mexico, and you'll often get asked about insurance when you cross over. There are some quick-and-dirty insurers on the border that can give you one-day insurance or other short-term coverage, but we have a rental car right now, and most (all?) rental car companies forbid with bitter, mouth-foaming forbiddance driving the car across the border. Fortunately for us, San Diego has a great way around this problem. Their trolley system goes from downtown San Diego right up to the border in San Ysidro. So, we picked it up in the Civic Center downtown, after a brief stop at the Downtown San Diego Vistors Center (to get tourist material), a shopping foray at a stall outside of the downtown Macy's (to get Amita June a pair of purple Crocs), and a side trip into the Westin for a bathroom break. Man, the Westin in San Diego has nice bathrooms! I'd heard about these trolleys in the past, and I guess I'd expected a kind of fancy tourist train, but it's really just the Blue Line for typical light-rail trains for San Diego and its suburbs. The seats were comfortable, but the train right-of-way went through some of the least scenic parts of Southern California I've ever seen. There's something about this corner of the United States of America that's depressing and end-of-the-world; I get the same feeling about other borderlands, like around Plattsburgh and Laredo. The end of the line for the trolley is completely opaque as to how get into Mexico. We wandered around past some ugly strip malls until Maj spotted a tiny oblique walkway that said "US PROPERTY SUBJECT TO SEARCH AND FINE" and in much smaller letters "a Mexico - to Mexico". We went through a wiggly walkway and across the no-man's land between the scary metal fence at the US border and the actual Mexican customs area. Nobody was there, but we got the feeling we were being watched. At the end of this weird walk was a very nice tourist info center, where we got some maps and brochures and such. Another 10 minutes walk through the streets up against the fence, we got to Avenida Revolucion, the central way through the Tijuana/Zona Centro. It had been a while since we'd been to a city with aggressive touts, so getting yelled at by people in shop doorways or in the street was a bit of a jolt. I hate the invasion of my anonymity, and I'm pretty reflexive about saying "NO NO NO NO NO" to everyone, but Maj is a little more practical. "If everything is run by aggressive sideshow barkers, you're going to miss out on everything," she points out. "Sometimes, you have to say 'yes', even if you don't like the way the question was asked." By the time we hit av. Revolution, we were pretty tired, so we stumbled into the first restaurant we found -- El Torito, a big nightclub with go-go cages, a mechanical bull, and a tattoo parlour on premises. I was attracted by the racy Absinth Mexico posters. "Family restaurant, family place," said the touts, seeing the baby in the stroller. Sure. The food wasn't bad -- I made the mistake of ordering the fish Vera Cruz, but the waiter made a smelly-face and suggested I get the shrimp instead -- and the cocktails at 1PM were generous and inexpensive. Probably the nicest part was a guy with a guitar who came over and asked to sing. "We've got enough music," said Maj, pointing at the ceiling where loud disco tunes were booming. But he was insistent, so we let him play, and he sang a loud Besa Me Mucho that drowned out the Ricky Martin and had us, the waiter, and nearby diners singing along by the end. Amita June was fascinated by the sounds, and clapped along when he was done. After lunch we walked down av. Revolucion, which had a dense layer of souvenir shops and discount pharmacies offering Viagra and Cipro without a prescription. One weird repeated theme was donkeys painted as zebras, hooked up to carts where you could sit and get your picture taken for $2. Some of the donkeys looked pretty good in their zebra stripes, but most looked pretty bummed out. I'm not sure why tourists would expect to get their picture taken with a zebra while in northern Mexico. It got a lot nicer as we got down to the end of the block, and we kicked ourselves for being so lazy when we passed Chiki Jai, a charming little restaurant with tiled walls and rough wood furniture. Much more to our tastes than El Torito. We stopped at the monumental Jai Alai courts, with a beautiful facade and a nice statue out front. Ducking into the Tia Juana's next door, we did a diaper-change break and had some chips and salsa and pineapple juice (and Dos Equis Dark on tap for Papa). Then we started walking back to the border. On our way back, we got off of Revolucion and walked over to the city's Cathedral. It was a much more realistic part of the town -- shopping and bars and restaurants, true, but less ridiculous touristy crap. When we got to the cathedral, there was a holiday street fair going outside, with games and food stalls and people laughing and walking around with kids. It felt a little more human than the pressure-tactics-dense world of Revolucion. On our way back to the border crossing, we dipped briefly into the red light district at the head of av. Constitucion (who knew?), then made the long slog back to the USA. We didn't get much in the way of souvenirs, but Maj bought a nice set of luchador dolls for her brother, complete with a tiny wrestling ring. The line at the border was huge, and we had to wait at the trolley station for another 30 minutes before one left for SD again. By the time we got back downtown, around 5:30, we really weren't up for a dinner in the San Diego/Gaslamp Quarter like we'd originally planned. So we piled into the car, paid the $20 parking to get out, and headed right into rush-hour traffic that led to the over-populated and under-networked North County (San Diego County). Would I take the trolley to Tijuana again? Maybe. Next time, I'd probably go to one of the stops between San Diego and San Ysidro, where there are free parking lots and a little less hassle. tags:

Hazards of vacation homes I was just rifling through the fridge here at the condo in Encinitas and found what I thought was a delicious Abita beer, the fine drink you have when you can't handle another hurricane in New Orleans. But it turned out to be an Abita Purple Haze, a gross raspberry-wheat beverage. Unfair! It has probably been stuck in the back of the fridge of this condo for years. Fortunately there was still another Stone Pale Ale, from the North County local microbrewery, to satisfy my lunchtime beer needs. tags:

21 December 2006

Erich Schubert: On military usage of FLOSS.

Sergey raised the issue of restricting use of software to non-military use, and Alan pointed out how much they've given back to the FLOSS community. However, I'd like to point out that any such restriction violates rules for opensource used by both the FSF and Debian. Debian is pretty clear about it in the social contract:
No Discrimination Against Fields of Endeavor

The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.
And in the GNU Free Software Definition:
The freedom to run the program, for any purpose (freedom 0).
So any such restriction would mean your software is no longer free software. It's not that I'm in any way pro military, but allowing usage restrictions will cause a huge mess. Next we'll have some application which may not be used by religious zealots (of any kind), paedophiles, and at some point end up with a huge licensing mess (maybe even full of discrimination). ("No, I can't sell you a web server, because your brother-in-law is in the military."?) Actually disallowing any military use is some kind of discrimination, too. Military is not only used to kill someone, but it can serve humanitarian purposes, too. Rescue people in flooded New Orleans etc. - if you are unhappy with what your government is using your military for, vote accordingly and do politics. It's fine if you as the author point out that you disapprove of any use of it to harm anybody, or commit crimes; but don't put up restrictions you couldn't verify anyway. (As if the military would care much for any such restriction, anyway.) Always remember: it's only the good guys playing by the rules. There is no use in disallowing use of some software for cracking, is there?

Uwe Hermann: Broken hard drive woes and viable backup options for huge data amounts

Hardware sucks. It just totally and utterly sucks. I purchased a 300 GB hard drive (plus a 3.5" USB disk drive enclosure) roughly 8 months ago which I encrypted using dm-crypt and then used it as a backup medium. And now the disk has died. No, this is not a software problem (that would be easy to deal with), the hardware is simply dead (it's making funny "klck" noises all the time). Mounting it via USB (using the USB enclosure) doesn't work at all anymore. I connected the disk via IDE in a PC and was able to mount it just fine (with cryptsetup luksOpen and all). A simple ls works, too (at least in the top-level directory). So I tried to copy the data over to another medium, but when accessing certain directories or files the system simply hangs and I get tons of funny kernel errors (and the disk makes even more and louder funny noises). Great. Stupid as I am, I also put data on the drive which I did not have backups of on other media (mostly because the data is huge, e.g. conference video recordings, large amounts of Creative Commons MP3s etc). OK, so I managed to get at least some small parts of my data, but now the disk is completely dead, I fear. I'll try to convice the vendor to give me a new drive, but I won't let them get their fingers on my data, i.e., I will not send the disk to them (yes, even though it is encrypted; crypto can be broken). Any ideas what else I could do? A professional "data recovery" service is not an option either, they usually cost 1000-2000 Euros (in the best case). What do you do for storing huge amounts of data nowadays? The only viable option I can think of is a RAID-5 (mdadm) with 3 or more disks in a silent PC which I can leave turned on 24/7. Unfortunately that costs non-trivial amounts of money. CDs are too small and they don't last too long either; the same is true for DVDs. Sigh...

20 December 2006

David Moreno Garza: You

Hugo Ch vez wins “Person of the Year” poll … Time magazine ignores result. More on Spanish here and here.

Jesus Climent: I could not agree more

More here

Ian Murdock: Software installation on Linux: Tomorrow, it won t (with some cooperation) (part 2)

In part 1, I described the problem of software installation on Linux; in part 2, I’ll describe the solution we came up with at the recent LSB Packaging Summit. After reading through the comments to part 1, let me first point out that our goal is to create a vibrant third party software ecosystem around Linux—you know, like the one Microsoft has built around Windows. No, it’s not about imitating Microsoft. It’s about being competitive. A platform is only as good as the applications that run on it. Bottom line: Many third parties have built their businesses around proprietary software, and we can’t just ignore them. And “ecosystem” implies decentralized, which I argued in part 1 was a key tenet of open source development anyway, i.e., this should be playing to one of our core strengths. So, if your “solution” is to tell ISVs (independent software vendors) to give us their source code so the distributions can include it because that’s just how we do things, you can safely skip the rest of the post below. You’re simply not going to agree that any of this is a problem. Ok. Assuming our goal is to create a vibrant third party software ecosystem (and everyone still reading agrees that’s a good goal, right?), we have the following challenges. First of all, the distribution vendors are hugely invested in their existing package systems, and for the most part, those package systems work extremely well. As I said in part 1, “if [an application] is in your distro of choice, you re only an apt-get or a yum install away from running it.” (I’m saying it again here because some of the commenters apparently didn’t see that. The tricky bit is “in your distro of choice”, which by definition is not the case with third party software.) Furthermore, a variety of highly sophisticated systems management solutions are built above those package systems, such as Red Hat Network and Novell ZENworks. This is a pretty important consideration, because these days, the “software management problem” largely involves managing software across the entire infrastructure, not just a single system. What problem then? This: ISVs have thus far been reluctant to use the native package systems. Why? THEY’RE hugely invested in “package systems” for other platforms, and every Linux specific thing they have to support costs money. In a world where decisions are ruled by cost vs. benefit, this is a pretty important consideration too. How do ISVs handle this today? For the most part, they ignore the package systems on Linux and do their own thing. Trouble is, while doing their own thing gives ISVs the flexibility to work cross platform, it ultimately makes their products integrate poorly in the broader systems management context because the package systems know nothing about them. What is needed is a way to bridge the gap between what the distros provide and what the ISVs want. But how? First off, we have to understand what ISVs want. The answer is simple: ISVs want to treat Linux as a single platform, which means they want to offer a single package for Linux, much as they do for Windows. So, if one commenter is right that “[t]he problem is that people (including software distributors) believe there s such [a] thing as ‘Linux’ as a target platform” and that “[i]f you re distributing software for ‘Linux’ then it won t be simple to install it, ever”, well, then Linux is destined to suffer the fate of UNIX. I’m not ready to give up so easily. Several commenters suggested that what we need is a brand new package system. That’s a non-starter—for one thing, the distros aren’t going to be too keen on replacing something they’re hugely invested in, and if ISVs aren’t going for RPM today, why would they go for something different tomorrow? No, to find a way forward, we need an evolutionary step from where we are today. From there, perhaps we can do more, but even the first steps can be quite valuable in their own right. To help find those first steps, we put some of the leading minds in Linux packaging in the same room (including the maintainers of RPM at Red Hat and Novell and the authors/maintainers of APT, yum, alien, and klik) along with ISVs large and small, server and desktop. The discussion pretty quickly converged on constructing a single API that could be implemented across the various package systems, because APIs make for nice evolutionary steps and can, done right, mask underlying implementation differences. Question is, what do ISVs need in such an API? Limiting the scope is key here, because providing an API that spans all the functionality of, say, RPM and dpkg is overwhelming to the point of being unworkable, not to mention more work to implement, which in turn makes it less likely to get into the distros so that ISVs can count on it being there, the whole point of this exercise in the first place. Fortunately, the ISVs don’t really need much. At the most basic level, an installer just needs to be able to query the system to see if it’s LSB compliant, and if it is, what version of the LSB it’s compliant with; and it needs to be able to “register” with the package system, so the package system knows about it, including what files it has installed. And that’s really about it. Importantly, because we assume an environment that’s LSB compliant, we don’t have to worry about dependencies, because everything is covered by the single LSB dependency, and dependency management is 95% of the package systems right there. We still need minimal dependency support—components can extend the LSB, and applications can depend on those other components being installed—but we’re talking on the order of a handful of components, not the tens of thousands of components typical package systems have to deal with. We only had a day, so we obviously don’t have a complete solution yet. For one thing, we barely touched on the issue of uninstallation (should we allow applications to register GUI uninstallers?), and the issue of how applications go about changing the system configuration still needs discussion (in a lot of cases, the assumption of LSB compliance means the installer is going to be well behaved, but there’s undoubtedly corner cases to be explored). And it’s going to take time for the API to be implemented and put into widespread enough use that ISVs can depend on it. However, everyone in the room did come to consensus pretty quickly that this was an important problem, and that providing a simple API that provides the minimum necessary functionality was the way to go. Perhaps most exciting, the very people whose support are needed to put the API into widespread use were in that room, and active participants in the discussion too. Everyone is certainly motivated: The distros get more applications, which makes the shared platform more attractive; and ISVs get lower cost, which tilts the cost vs. benefit equation in their favor, making Linux versions more economically attractive and potentially opening new markets. Because this is just a start, the FSG is launching a Packaging workgroup to continue the discussion we started at the Packaging Summit. If you’re interested in this topic, I’d encourage you to join the mailing list and get involved. There’s still plenty to be done. Update: One more thing: In addition to making it easier for ISVs to better support Linux by simply extending their existing installation scripts, the API approach really comes into its own when you imagine it implemented in things like Autopackage and InstallAnywhere. Let the market decide!

19 December 2006

Pierre Habouzit: Let stop FUDing, or let's kill the "dunc-bank delayed etch" troll

Given the recent articles or blog posts that may lead some people to think that dunc bank made people work against Debian, maybe some explanations are needed. Dunc-bank is a single web page that some humourless people may find unfunny, YMMV, but that is nothing else than satirical. There was no conspiracy, undermining work, or power games. People claiming the contrary are just making complete fools of themselves. Really. The people that contributed to dunc-bank, meaning that did report most of the RC bugs in the last month are for some, even disgruntled when it comes to dunc-bank (I'm thinking e.g. of Lucas Nussbaum that did a full archive rebuild and reported many bugs). No, dunc-bank is not the evil masonery club that some depict. The sole thing I think really happened, is that people are nowadays really concerned about QA, and that there is a whole lot of issues that can be tracked automatically, at home (a good ADSL line and a GHz grade CPU is largely enough to do an archive rebuild in a week nowadays). What is really a shame in fact, is that those checks are not performed by Debian for any package, and on a regular basis. The other factor is that I think many people had concerns with etch quality, as many discussions in the past month may have let think that its quality could suffer from the announced release date. Now that this bad joke is now officially a dead-line, I think this is less and less a concern. That said, Yes, I do think some people that usually did good work in debian diminished their work considerably, and that it hurt the release. We lost some developpers (our locales + X-keyboard expert and that's a huge loss), some orphaned a lot of packages, and recent events do show that you can't improvise beeing the libpng maintainer a month before the release, and so on. Yes it's true that recent events and surroundings in Debian[1] have led people to feel they are strangers to what Debian is becoming. And blaming them for not beeing supportive is very distateful and shocking. When you do pursue actions, that will lead to big changes in the community, then blaming the community members for those changes is a shame. So no, you can't blame the people behaviours (that have been reduced to dunc-bank supporters because that's so easy) for etch beeing late, because you can't blame the direct consequences of an action for beeing the cause of its failure.
Notes [1] and not only dunc-tank, even if that's IMHO one of the biggest.

18 December 2006

Amaya Rodrigo: The difficult art of communication

Kudos to Adam Kennedy, who explained more details on his very controversial Acme::Playmate talk and sort of apologized for his failed attempt at satire. He also writes about it here.

Food for thought:

17 December 2006

Clint Adams: Next week: why everyone should go to tech shows topless

Kathy Sierra writes about how conference T-shirt distributors are not trying to make their attendees look sexy enough, by providing tees that attempt to hide breasts. She doesn't mention underwear though, and this suffers from exactly the same problem. The free logo-branded boxers you get at these things are almost always poorly-made and ill-fitting. Why not provide Speedos or bikini bottoms or anything which will tightly-hug the pubic region and showcase one's junk? Does this guy want to hide his genitalia? No, he wants to strut, proud and trouserless, across the expo floor, knowing full well how much the conference organizers care about him. Bless his courage and rejection of societal norms.

14 December 2006

Matthew Garrett

Note from Ken Hughes: Hey guys you remember Novell. The tall leggy blonde that stayed up at the buffet in every man's face? You knew she was for sell....standing there with all her Yast hanging out! I am glad we stayed away from her! She has caught Mono from a contact with Microsoft! The payback will be greater than she can bare......she will be back to cry on each man's shoulder. Just kick her to the curb. Oh, me? I have a excellent girl named Debian. We just hang out with our friends and work it! Where is my copy of GPLv3 do you know?

Note from alain Baeckeroot: This agreement is a trojan for soft patents (like ooxml). As pointed on groklaw, as both disagree the contract is null.

Note from Jacek Krysztofik: MicroSoft is a good name for those who have not created anything of their own in the software. Since the days of DOS, which was bought and redistributed on a fraudulent license, they have bought and stolen many technologies (IE is Mosaic). They have not even improved the products they gained that way. It is gruesomely stupid to give something good to that company of talent-lacking greedy impotents. They will claim as their own and degrade it and so everyone but them will lose.

Note from Anthony Dodson: I praised Novell for opening the code to Ximian Connector, YaST, and other programs. I now rescind my praise. Novell is SCO to me.

:(

13 December 2006

Steve Kemp: Do you know what it feels like in this world

Sexism Amaya was right to point out an example of sexism at a recent open source developers conference. She makes reference to the Debian Women group as an example of a good thing. I was talking to Erinn recently and told her that my impression was that the Women project had stalled/ceased. Mostly because there didn’t seem to be anything happening. I think that this is both a good thing, and a bad thing. Good in the sense that the idea of female developers isn’t a suprise (as it shouldn’t be) and that the previously overt sexist hostility is going away. But bad in the sense that there should be ongoing work so that we don’t start to take it for granted and ignore other newcomers and women. There are several reasons why projects like this stall; one of the most obvious is that writing documentation is hard. Really. You don’t know how hard it is until you try to do a little every day for week after week after week. (And there are times when I think of writing a book. Ha!) There are other reasons too; such as the difficulty in attracting volunteers who are matched to their jobs, and who in turn have the time to do useful things. So Planet Debian how are you going to help our women today? I’ll make sure I avoid sexist lyrics in my titles from here on out.. not a huge change since I tend to avoid it generally, much as I would love to fill entries with Depeche Mode lyrics I guess I have better places for emo-rants. One small step ..

12 December 2006

Ian Murdock: VMware as operating system?

Now this is interesting: BEA is coming out with a version of its application server that runs directly atop VMware. With this move, VMware takes another step toward becoming a full fledged operating system in its own right. VMware is already promoting the distribution of applications as virtual machine images, and operating systems are first and foremost application platforms. If VMware is an application platform, why not cut out the middle man entirely, particularly given that the middle man adds a few hundred megabytes of largely invisible baggage to the application, not to mention an enormous amount of maintenance burden for the ISVs that make or break an application platform? For me, the real question is: Why BEA and not VMware? A JavaOS makes a lot of sense, since it builds on one of the world’s largest developer communities—it’s a well known environment among developers, and there are a huge stable of applications that could take advantage of the new platform with minimal porting. Furthermore, applications are increasingly server based, with the browser providing the UI, so this matches well with industry trends and nicely addresses the problem that VMware would have a very hard time building any sort of graphical user interface into its platform, just given the nature of what it is. That said, VMware should really want to provide the JavaOS directly. With Xen and Virtual Server moving aggressively to bundle their products with widely deployed operating systems, the game’s already afoot, and if virtualization becomes just another operating system feature, VMware is at a distinct disadvantage, as it owns no operating system to bundle its product with. Finally, what about standards? New kind of operating system or operating system feature, there are going to be multiple application platforms if history is any indication (and it usually is), so how do applications take advantage of the new platforms without the inevitable fragmentation? It’s going to be an interesting space to watch, that’s for sure.

11 December 2006

Yves-Alexis Perez: NM Queue, Xfce 4.4rc2 and Etch freeze...

It's been more than one year that I'm waiting on NM queue, waiting for an Applicant Manager, performing Philosophy & Procedure part 1 & 2, then Tasks & Skills.

When applying for NM, it's really appreciated to already maintain a few packages in the archive, so for T&S the AM can check them and appreciate the work done. I guess people applying for NM first start by taking care of some package, before submitting.

But for me, it was the opposite way. I joined pkg-xfce team more than 18 months ago, and got my first packages in the archive a few weeks later.

I only applied to NM 6 months later, because, as I was dedicating more time to pkg-xfce, it would be more efficient for me to be able to upload directly, without
bothering huggie or ema (the two DDs in the team). It wasn't really required, but
it interested me, and huggie said me that it'd take some time so the sooner, the better.

Now, due to personal reason, huggie and ema don't have time/motivation anymore to work on pkg-xfce. I'm currently the one in charge, as I spent some time on it, and tries to spent some time on debian-desktop team, so we have a nice and consistent look for desktop environments in Etch. But I can't upload my packages myself, I need to find a sponsor. Xfce represent more than 50 packages (including goodies), that's quite a lot, and we have scripts and procedure to be efficient when rebuilding everything. If I could do everything myself, Xfce 4.4rc2 (released 2006/11/05) would have been in Etch since a long time. But I can't, because I'm stuck in NM queue.

Most of 4.4rc2 packages have been uploaded by my AM, Dafydd Harries (which I want to thank, though), but not everything, and few packages won't be in Etch, now that it's frozen. Yeah, that means that Etch will have half rc1 and half rc2, which isn't really good. Not really bad either, but still... (ok, and not as bad as shipping broken svn snapshots...)

I'm interested in beeing a Debian Developper because I *know* it'll make my work and my time more efficient. And not beeing able to push rc2 to Etch because of that really makes me sad...

Erich Schubert: Solving AJAX issues - error handling

Ajax, when used properly, can be a great user experience. Badly written ajax however can be a pain. Often huge javascript libraries are loaded, it makes your browser and system slow and sometime you just end up staring at an spinning animated gif for "Loading ...". Good Ajax makes the application snappy, responsive, fast, and avoids screen flicker. But with your traditional "get new HTML page" model, error handling is done by your browser. DNS issue? Your browser will say server not found. Connectivity issues? Browser will inform you of the timeout. Slow connection? our browsers throbber [wikipedia] gives you an indication something is happening. With AJAX, it's up to the authors of the Ajax application to do proper error handling. And many AJAX application have serious issue here. User proofing Ajax application [A list apart] is a good article on some basics on how to improve your Ajax applications. Ajax is in the need for some software engineering for QA. Right now, it's so much low level hacking there, it makes you expect 90% of Ajax applications have serious usability and reliability issues.

10 December 2006

Holger Levsen: security? get over it

It seems, that GnuPG has much more problems then the recently fixed security hole. The linked post is unfortunatly in german (except for a quote of some appearantly pretty bad code in gnupg). Fefe (who does code reviews for a living) points out the following highlights: gnugp2 now includes graphical outputs (why o why), links non-optionally to libusb and a smartcard-library, and the code size has tripled since version 1.0. And basically Werner Koch agrees with him: in the announcement he writes, that the whole codebase needs a security review, but they cannot afford to do it. Doh.

Stefan Esser retired from the PHP Security Response Team. Until reading his post I basically believed PHP code basically has so many problems, because it's so easy to code. Today I just want to thank Alexander Wirt, Jan Wagner and Stefan Esser, the author of suhosin.

Last but not least, firefox or iceweasel also seems to have problems. /me hugs dillo but misses its CSS support...

8 December 2006

David Moreno Garza: More wins in Latin America

I have to congratulate my Venezuelan buddies for making a nice and democratic reelection for President Hugo Ch vez, last Sunday. Venezuela confirms again that is a grown, mature and social-oriented country.


Fight continues. And after Ecuador elections, a couple of weekends ago, more and more social democracy has been made in Latin America, after the win by the leftist Rafael Correa.


Another strap. We cannot forget neither the Nicaraguan elections in early November where sandinist Daniel Ortega won.


Daniel, the menace. So sad that Mexico is involved in fraud and without the hope that at least the previous friend countries have.


No wall will defeat hunger.

6 December 2006

Jonathan McDowell: Making DVDs hurts

I bought a Sony DCR-HC24E for the purposes of recording my wedding ceremony. I could have borrowed my parents', but it's an ancient analogue thing and although I don't really have a use for a camcorder I talked it through with Katherine (making it clear that part of the appeal was just sheer toy value) and we went ahead with it. (I should point out the driver for recording any of the wedding came from my mother-in-law and I wasn't that fussed about the whole thing, but having experienced the "day was a blur" thing I'm glad we have it. Though I've watched it too many times as I'm about to explain.) The Sony comes with both USB and Firewire. My desktop doesn't do Firewire, but I figured USB would be fine. First issue is that Linux doesn't seem to support it in USB mode. I don't know if this is easily solved, as reading the manual I discovered that Sony claim USB isn't as good quality and Firewire is better. Huh? It's all digital. What gives? The best I could come up with is that Firewire is better at guaranteeing latency/bandwidth so you don't end up with dropped frames. Anyway. I buy a Firewire cable and dig out a Via EPIA-M board which has Firewire. Some poking about leads me to the conclusion that I want dvgrab. I fire it up, it seems to do the right thing, I end up with a huge file. Point mplayer at it and discover it's dropping frames. It appears raw DV is about 30Mb/s. The HD in the Via is an old 6GB one that only does ATA-33. So I find a newer ATA-133 capable one, double the RAM in the box (on Adam's recommendation) and try again. This goes better. So now I have a bunch of AVI files, all of them about 1G in size. avimerge is employed to combine them (I might have been able to just get dvgrab to output a big file, but I was wary of large file support). Then I did ffmpeg -i bigfile.avi -target dvd smallerfile.mpg resulting in a couple of DVD format MPEGs (one for the ceremony, one for the speeches). My first attempt at a DVD image was with DeVeDe. It seemed to work fine, but I ended up with something that the DVD player didn't like and neither did mplayer or xine. So I fell back to qdvdauthor, which I've used in the past but don't deem the most user friendly of programs. I finally end up with something that mplayer and xine seem happy with in terms of a menu and a pretty picture of us signing the register and working video. And so to burning a DVD. I used growisofs for this. Firstly with a DVD-R, which mostly worked but had annoying pauses on my real DVD player. So I tried with a DVD+R and this seems to be much better, however there are some minor pauses. This might be my ancient DVD player not coping well I guess. I'm sure DVD creation shouldn't be this painful. I bet if I ran Windows I could point and drool my way to a DVD with the software Sony supply with the camcorder. All I wanted was a basic menu with a background picture and some video attached to the menu options. I'm pondering doing a version with a picture gallery as well, but can I be bothered with the hassle?

4 December 2006

Matthew Palmer: Automatic Ordering Systems

Reading about Jamie Zawinski's problems with purchasing plumbing parts (look for 'side-outlet elbows' and read until 'Construction'), I started wondering about the automatic ordering system that shop used. To compensate for the obvious stupidity in the staff, I wondered whether their ordering computer might have a system of automatic adjustments for stock re-ordering quantities. Then I wondered what the thresholds might be to increase the per-restock quantity. Finally, I entertained myself with the idea that, just maybe, jwz's rampant purchases triggered the stock computer to put in an order for some huge number of 4-way pipe joints, which then sat in stock for years and years, because the average consumption rate for those pieces is probably a hell of a lot less than the 10-per-week that the computer saw over the month in question.

Erich Schubert: Software mixer with ALSA

The "high definition audio" in my laptop is rather minimal. Apart from the mic not yet working, it has a line out and a single volume control. Thats it. However, I'd like to have multiple applications use the sound card, for example my music player, eventually some video player or flash, and some system events. ALSA to the rescue. It's not easy to configure, but really powerful: Mixer screenshot with MPD volume control Yes, that is a separate volume slider in my regular mixer for MPD, my music player. Here's how to do that: First we'll need to create a huge /etc/asound.conf:
# the real device
pcm.realdev  
        type hw
        card 0
        device 0
 
# software mixing
pcm.dmixer  
        type dmix
        ipc_key 3129397
        ipc_key_add_uid false
        ipc_perm 0666
        slave.pcm "realdev"
        slave  
                period_time 0
                period_size 1024
                buffer_size 8192
                # we're enforcing 44100, since thats what most apps use
                rate 44100
         
        bindings  
                0 0
                1 1
         
 
# software volume
pcm.softvol  
        type softvol
        slave.pcm "dmixer"
        control  
                name "Software"
                card 0
         
 
pcm.mpdvol  
        type softvol
        slave.pcm "dmixer"
        control  
                name "MPD"
                card 0
         
 
# input
pcm.input  
        type dsnoop
        ipc_key 3129398
        ipc_key_add_uid false
        ipc_perm 0660
        slave.pcm "realdev"
 
# duplex device
pcm.duplex  
        type asym
        playback.pcm "softvol"
        capture.pcm "input"
 
# default devices
pcm.!default  
        type plug
        slave.pcm "duplex"
 
pcm.dsp0  
        type plug
        slave.pcm "duplex"
 
I won't go into all the details (I don't know all of them either), but the basic idea is that I setup the dmixer plugin for software mixing, and attach two software volume controls to it. I'm keeping the permissions to 0666, since my MPD is running as a different user, and I didn't find a way to say I'd like to have the permission set to group "audio". The default device is the regular microphone jack (untested, since there are driver issues with my chipset and recording) and the "Software" volume control. If you have an ~/.asoundrc you might want to move it out of the way. Next I need to configure MPD to use its own volume control via /etc/mpd.conf:
audio_output  
        type            "alsa"
        name            "my ALSA device"
        # 'mpdvol' is the device name I used in asound.conf
        device          "mpdvol"
 
You'll probably need to restart all applications currently accessing your audio devices to have them pick up the new config. The new volume control will also only appear after you've started an application using it AFAICT. Sometimes you need to restart them twice for the new volume control to be effective. When alsa-utils restores the volume controls after reboot it should work right away. The "Software" volume control is optional, but that way I can tune down the default applications volumes below the MPD volume if ever needed. Oh, and I think you can safely keep one or all of the software volume controls to maximum without distortion happening (this doesn't hold for all sound cards, where it's often best to keep the sliders at ~75% max to avoid distortion)

28 November 2006

Gunnar Wolf: Are Debian people real Free Software zealots?

Wow... The amount of press/coverage inside the FS community (not necessarily good press) the Ubuntu people are receiving lately is huge. I smell the possibility where Canonical might face what many people call the ugly side of Debian - But what we, the insiders, call it the most important part of it: Our people's devotion to the Free Software ideals. Of course, even inside Debian there are all kind of opinions (to the point that Debian's main activity seems at times to be debating rather than coding), but the general perception is that we are the fundamentalist zealots.
It's only funny to imagine what lies ahead. No, I'm not talking (for people not following planet.debian.org) about Ubuntu's latest big media scandal, although it might share some connections. Apparently, Canonical wants to grow and bring more people in. And, of course, being a commercial desktop-oriented distribution, being flashy (or in their words, going for the bling) is needed to keep up with the Joneses.
This time, it starts (for me) with Scott's interesting and worthy posting regarding the future of binary blobs and clearly non-free drivers inside Ubuntu. In short: Scott explains why Ubuntu will apparently sacrifice some of its ideals for (what I read as) some extra popularity, and states he is not too happy with it. This, of course, has triggered a load of postings - not necessarily in chronological order, but: Mako, also an Ubuntite, asks people (users, developers) to tell their opinions on this - But he is not at all happy with the direction this might take. Many Ubuntu enthusiasts are voicing their opinions in Wiki form. I guess that Joey's peace of mind comes also because of this discussion (although I'm only stretching my views).
...There is always the debate of whether Ubuntu is good or bad for Debian, as Norbert points out. I've tried to stay away from it, quoting one of Luis Echeverr a's famous it's neither good nor bad, it's just the opposite. I do think the two systems will eventually diverge too much - But I'm not at all involved in Ubuntu, and I refuse to back my claims ;-)
The point of this posting is: When forming Canonical, obviously Mark wanted to gather the best of the best, people who knew their way developing and coordinating an eminently Free and high-quality distribution, but without the distraction of 1000+ developers trying to pull the whole distribution their way. By being the boss, he can ensure a single vision (and not a multitude of egos) drives the excellent work of talented hackers. However, there might be a subtle mistake: Maybe his team are too Debianites? Maybe they will show they are as strongly Free Software (and not Opensource) oriented as they were when they joined Debian? Maybe, even with the unlimited powers that being a SABDFL gives, Mark and the Ubuntu technical committee/community council will have to concede on not having the latest and flashiest, just to keep his elite team happily working?
I'm not, of course, blaming them for selling their principles - Of all the commercially-oriented Linux distributions, Ubuntu is clearly the one that stays closer to what I'd like. And it's not by mere chance that it derives and keeps in constant sync (at least until now) with Debian. Still... This has the potential to make a big dent on their structure and vision.

Next.

Previous.