Search Results: "ean"

27 April 2007

Gustavo Franco: Debian.org website meets mentors layout

UPDATE: Thanks for your feedback, for those commenting about the 'grey-on-white' thing. I don't really know if that's bad or not for a11y. I've keratoconus (right eye) and it's ok for me. The point is that we can easily change the colors and implement the new CSS and "migrate" the index was trivial. Take a look at Christoph Haas GPLed CSS (mentors.debian.net) and give your shot on the colors, please.

I was thinking about the two threads going on debian-www mailing list, one about our website look&feel and other about the navigational structure. I've decided to take a break reading and arguing and do a mockup based on mentors.debian.net (and also now live.debian.net).

Pros:
Took me less than an hour to move the entire index content and then decided what to keep and what remove.
Looks cleaner, IMHO.

Cons:
Need to get rid of the swirl and debian.org text adding the official logo there on top

Notes:
Well, I don't think that debian-www will take my mockup seriously, but it's actually the easier to implement over our current infrastructure (again, jmo).

If somebody wants to mirror cvs.d.o:webwml (cvssuck didn't work for me), run tailor over that migrating for svn and experiment with new web site layouts over all the pages we've, let me know!

MJ Ray: Daddy or Chips? MJ Ray or Sony?

26 April 2007

David Welton: "Ideas are worthless"

In one of his many well written and thought provoking essays (Ideas for Startups), Paul Graham has this to say:
Actually, startup ideas are not million dollar ideas, and here's an experiment you can try to prove it: just try to sell one. Nothing evolves faster than markets. The fact that there's no market for startup ideas suggests there's no demand. Which means, in the narrow sense of the word, that startup ideas are worthless.
While I agree with his main point that execution counts, his affermation bugs me a little bit because it clashes with my understanding of economics. To wit, that ideas are "Non-excludable goods". As the linked page says,
Non-excludable goods are defined in economics as goods or service whereby it is impossible to prevent an individual who does not pay for that thing from enjoying the benefits of it. Market allocation of such goods is not feasible.
How would a market for ideas work, in any case? How could you prevent someone from listening to a bunch of ideas and just walking away with the ones they like? Perhaps with lots of lawyering and monitoring schemes, something could be kludged together, but at that point, since the ideas alone most likely aren't worth that much compared to well executed ideas, putting together that market would probably be more trouble than it's worth. So Paul Graham is right, for practical purposes, but his economics don't seem correct to me.

Gunnar Wolf: Dude, where's my country? Seems like Google doesn't know

I was trying to make a credit-card purchase on the web. The site I was trying to give money to prefers not to directly handle such messy details, and outsource their credit card application to Google. So far, so good - I got redirected to Google Checkout. Ok, I start filling in my personal data, until...

WTF? and yes, I do mean it. WTF?
I live, as many of you know, in a little country called Mexico. No, it does not appear on many world atlases. It's so very small, only slightly below two million square kilometers, that it's easily overlookable. Also, only a hundred million people live there - Not much. No, the 25,000,000 people that live together with me in Mexico City won't feel left out at all - We are used to it. But come on - In the listing I see our alphabetically neighouring countries (Malta, Mauritius, Moldova, Monaco)... Why did they get listed and we didn't? Of course, I tried editing the form data and substituting Moldova's MD for our dear MX, to no avail - We are not only off the map in their lists, but also in the database - and there are some integrity checks. Does somebody know which way should I whine in order to get the Google folks to fix this? :(

Gunnar Wolf: tbm's Release Management talk

Thanks to Romain Francoise, I found and watched Martin Michlmayr's Release Management in Large Free Software Projects talk on Google Video's Open Source Speaker series. Martin: Thanks a lot, great talk. I've been following your presentations lately, as I've given some talks on this topic - Quality Assurance on Free Software Projects (Spanish only) - However hard I try to remain faithful to the subject, I end up giving a talk on what Free Software is and how its processes are naturally more prone to yielding better quality than propietary projects.
Anyhow, with this post I want to do basically three things:

25 April 2007

Gunnar Wolf: Got my Debconf tickets!

And, while on my way there, I'll get to visit my family in New York (and get to know a bit of the city, I hope) for a couple of days as well! :D Leaving Mexico in June 7th, three days in NY, travel to Edinburgh on June 10th (arriving early on the 11th), and head back home on the 24th. Yay! BTW, attempting to save some money and the pollution caused by air travel, I asked Google for how to drive from New York to Edinburgh. It looks clear and easy, but in the end I settled for air travel. Specially for the estimated travel time (about 29 days 17 hours)... Oh, and item 23 slightly worries me: Swim across the Atlantic Ocean: 3,462 mi.

Jordi Mallach: natura upgraded to etch

Last week I started the final round of Debian upgrades for the servers I maintain here and there, which is mostly complete today. I haven't been so lucky with upgrades this time, for a long list of different reasons. In the end, the smoothest upgrades were those boxes I upgraded when etch froze or so. natura.oskuro.net is the box serving these pages. It's an old, extremely noisy Pentium 150 which I've been intending to replace for a while now. I started the upgrade early on Thursday, knowing it'd take a while (natura takes its time only to read the Dpkg database), and it had apparently finished when I was ready to leave the office. Three issues: The very same night of last Thursday, I decided to dist-upgrade the box which serves the Spanish Debian website mirror. That's the only purpose on the box, so you can imagine the upgrade should have been pretty straight-forward. And so it seemed, until, in the middle of unpacking, dpkg died with a horrible I/O error, and I dropped into an unusable remote terminal with no working commands. Fortunately, apache2 was still up and running, and the web service has been working without interruption since the hard drive crash, albeit with no syncs from www-master. Today, Sergio visited the campus and had a look. It was a XFS crash, which got cleanly repaired using an install CD. We have an empty partition in the box, and will probably move the system to it temporarily, and back to the RAID, but on ext3. When the box was back online, I just had to resume the upgrade process, make mdadm happy and update lilo.conf before rebooting into the new kernel. This box uses LILO for some obscure reason I can't remember too clearly anymore. The box has just one partition on a md array, on two SCSI disks on a aic7xxx-based controller. Can anyone hint me why GRUB would have failed on us back in sarge, and if any fixes in the etch version would work any better? Using LILO here is error prone, and basically feels like a step back. Anyway, www.es.debian.org is now back up and running with updated content. Sindominio.net had its bi-annual upgrading party last monday, but unfortunately I wasn't able to help much as when I tried to log into the server, I must have caught the system in the middle of some key lib upgrade or something, and again I was locked in a unusable shell which would only segfault. Given my previous experience, I assumed that something had gone wrong and the box would need to be fixed at the console, and after 20 minutes I gave up helping on that front. Until I noticed, quite a long while later that I was still getting mail from the server. I managed to log in to discover the upgrade was done, with just a few bits remaining to be done. The major issues were encountered with our pam and ldap setup, plus nscd kept dying causing quite a lot of mayhem all over the place. Great work from Seajob, Syvic, nogates, apardo and the rest of the people who handled it! With etch, we can finally move back to an official Debian kernel, something we've been longing to do for a long time. The only pending upgrade issue is that we need to move from our old jabber server to either the traditional jabberd 1.x or ejabberd; our current implementation is no longer supported in Debian. The last of the etch upgrades stories involves Sofcatal 's servers. The box was running on a CentOS 4.4, which was moved away into a subdir just after booting Debian-Installer, and then lobotomised so it would run as a Linux-VServer under a new Debian etch install. I'll probably write more details about it soon though, as it could be a maybe less scary alternative to Guillem's debtakeover. Yay for etch!

Christian Perrier: SambaXP

This is now established as my german annual pilgrimage. Every year since 2002, I migrate to G ttingen for 3 days to attend the SambaXP conference, the world conference of the users and developers of Samba. Halfway between a very classical conference (high-class hotel, nice conference rooms, drinks and food at will...and expensive fee) and a "geeky-style" conference (the whole Samba Team usually attends it as well as many users and developers), it is now established as the annual reference for people involved in Samba use and development. After an always interesting tutorial (this year, as often by Jerry Carter, Samba3 release manager) about making samba friendly to administrate to....Windows admins, the track continued with talks drawing the future of samba development. This year, I was however missing No l K the who could not attend, so the Debian crowd here is pretty small (but many Debian users and admins are around). I however could have interesting talks with Jelmer Vernooij (mostly involved in Samba4 development...and also in our NM queue). I also used some time to try cleaning out the Debian BTS for samba bugs, using the opportunity to show old bugs to upstream developers. I also could visit Alex and Meike who live not that far, which was a real pleasure, including the Real Swabian Sp tzle that make swabian women so strong and powerful. The conference will end up today. It will have been too short, as usual and I will feel like I'm running away on the A7 up to Hannover to catch the plane and come back home....and, as usual, I'll promise myself to come back next year and practice my German, which sucks. Tomorrow, leaving to Rome for a long week-end with Elizabeth. No laptop, no mail. Just enjoy the city. Gut!

24 April 2007

Pete Nuttall: Sites and Blogs going downhill

I have been living at home for the past few weeks, and as such have been reading the paper after breakfast. I can do this in Durham too, its just a bit more of a fight to get the paper. After a couple of weeks, I commented to my mother than the columnists seemed to be a bit dire. She pointed out that they all started well, and steadily when't downhill. One would assume that they just ran out of interesting things to say. I was looking at the Daily WTF today, now renamed to Worse than Failure, and I was reminded of this observation. When I found the site, I did look at the entries and go "WTF?", now I just look and go "meh". I'm guessing that its running out of spectacular material, and that each new posting pushes the boundary of what it takes to be a good posting, or in the case of the Daily WTF, a bad one. At the same time, the number of readers is getting bigger, so the numbers of comments are getting bigger, so there are more silly comments. Add in the bigger readership means more demand for material, and the site's operator starts accepting lesser quality stories and the comments go down hill. Slashdot is the worst example of this, with both dire stories and comments. OSNews has also fallen over this problem. All in all, this means that as a good blogger / news site, you have to accept the fact that you aren't going to post that often, and accept the fact that you aren't going to get lots of hits and have a steady readership. A few folk, such as Steve Yegge and Joel Spolsky, seem to do this. Of course, writing without readers means writing for yourself, which is the normal advice writers offer on how to get started. So the best way to start is the best way to continue, writing about stuff that interests you and not really caring about having readers.Oh, and incase you are wondering, I don't care about folks reading my blog, and sometimes wish they didn't. They tell me I'm wrong. They get me in the coffee shop and start arguing about stuff I wrote while drunk two weeks ago. anyway... Getting back to where I started, both newpaper columnists and sites going downhill doesn't really bother me. After a while, they slip into the crap threshold and I stop reading them. Its just sad that they slip away. PS: Edwin Brady tells the Daily WTF was always quite bad. Maybe its just me who takes ages to pick up on bad sites.

Russell Coker: booting from USB for security

Sune Vuorela asks about how to secure important data such as GPG keys on laptops.

I believe that the ideal solution involves booting from a USB device with an encrypted root filesystem to make subversion of the machine more difficult (note that physically subverting the machine is still possible - EG through monitoring the keyboard hardware).

The idea is that you boot from the USB device which contains the kernel, initrd, and the decryption key for the root filesystem. The advantage of having the key on a USB device is that it can be longer and more random than anything you might memorise.

In my previous posts about a good security design for an office, more about securing an office, and biometrics and passwords I covered some of the details of this.

My latest idea however is to have the root filesystem encrypted with both a password that is entered and by a password stored on the USB device. This means that someone who steals both my laptop and my USB key will still have some difficulty in getting at my data, but also someone who steals just the laptop will find that it is encrypted with a key that can not be brute-forced with any hardware that doesn't involve quantum-computing.

Also coincidentally also on Planet Debian in the same day Michael Prokop documents how to solve some of the problems relating to booting from a USB flash device.

Russell Coker: first look at CentOS 5 Xen

I have just installed a machine running CentOS 5 as a Xen server. I installed a full GUI environment on the dom0 so that GUI tools can be used for managing the virtual servers.

The first problem I had was selecting the "Installation source", it's described in the error message as an "Invalid PV media address" when you get it wrong which caused me a little confusion when installing it at 10PM. Then I had a few problems getting the syntax of a nfs://1.2.3.4:/directory URL correct. But these were trivial annoyances. It was a little annoying that my attempts to use a "file://" URL were rejected, I had hoped that it would just run exportfs to make the NFS export from the local machine (much faster than using an NFS server over the network which is what the current setup will lead people to do).

The first true deficiency I found with the tools is that it provides no way of creating filesystems on block devices. The process of allocating a block device or file from the Xen configuration tool is merely assigning a virtual block device to the Xen image - and only one such virtual block device is permitted. Then the CentOS 5 installation instance that runs under Xen will have to partition the disk (it doesn't support installing directly to an unpartitioned disk) which will make things painful when it comes time to resize the filesystems.

When running Debian Xen servers I do everything manually. A typical Debian Xen instance that I run will have a virtual block device /dev/hda for the root FS, /dev/hdb for swap, and /dev/hdc for /home. Then if I want to resize them I merely stop the Xen instance, run "e2fsck -f" on the filesystem followed by "resize2fs" and the LVM command "lvresize" (in the appropriate order depending on whether I am extending or reducing the filesystem).

Xen also supports creating a virtual partitioned disk. This means I could have /dev/lvm/xenroot, and /dev/lvm/xenswap, and /dev/lvm/xenhome appear in the domU as /dev/hda1, /dev/hda2, and /dev/hda3. This means that I could have a single virtual disk that allows the partitions to be independently resized when the domU in question is not running. I have not tried using this feature as it doesn't suit my usage patterns. But it's interesting and unfortunate that the GUI tools which are part of CentOS don't support it.

When I finally got to run the install process it had a virtual graphics environment (which is good) but unfortunately it suffered badly from the two-mouse-cursor problem with different accellerations used for both cursors so the difference in position of the two cursors varied in different parts of the screen. This was rather surprising as the dom0 had a default GNOME install.

23 April 2007

Erich Schubert: Missing option

Open Usability has a poll for the next default KDE theme or so. Oxygene or so.However it lacks options... the first real question "which icon [...] showing the menu with all applications" is lacking the "None is appropriate" option.The first icon has some windows on it. I don't want to configure windows. The second has a package on it, package manager. Next is a diary/notebook and a text editor. Looking glasses, the KDE logo, a computer and a help icon. I mean, there is nothing at all looking like an "applications menu" in there.Other questions don't fit into the usability category too much - for example, there is a poll about the 'back' button in the web browser. And there are like three regular left pointing arrows and one which is a reload turned the other way. I'd pick the other three; any of them is fine. But I have to pick one...Sometimes options are just stupid (e.g. offering a phone icon for email), and sometimes none is convincing (the chat icons, I actually find the 'small human figure' icons quite appropriate, but there was no such icon offered).Speaking of icons - I'd really appreciate some new Debian artwork. Our web site is looking like it's from the 90s. If it werent for '2007' dates occurring on the first page, it would look like it hadn't been touched since then. Ubuntu and Fedora have really nice pages (layout wise, I'm not talking about the contents which I didn't look at). Gentoo is as miserable as ours. OpenSuSE doesn't do language negotiation and looks somewhat odd. Probably too 'wikiesque'. FreeBSD just got a facelift last year. The artwork looks like 2003 style to me, and that the page has a 'monospace fonts' feeling might even be intentional. I certainly don't want the Debian website to look like a "web 2.0 beta" application, but some modern 'serious' design would be nice to have.

Sam Hocevar: Use sshd and httpd on the same port (almost)

Running sshd on port 443 is common practice, because even in a very hostile environment full of firewalls and proxies that only allow web access, it is usually possible to use the HTTPS proxy to open a full TCP connection to port 443. I use this a lot. The problem is that I also want to run my SSL web server on the same IP. Here is a hack to do both. One essential difference between the SSH and HTTP/HTTPS protocols is that upon connection the SSH server sends a banner to the client, while the HTTP and HTTPS servers wait for the client to send a request. Which means that after a reasonable amount of time, one can be fairly sure the client at the other end talks HTTP/HTTPS or SSH. Due to recent interest in it, I m publishing redirect.c, a small program that implements this technique. Use it at your own risk, and read about the limitations.

MJ Ray: Don't Let Europe Turn Its Citizens into Copycriminals!

Sign EFF's Petition Against IPRED2 On April 24th, the European Parliament will vote on IPRED2, the Second Intellectual Property Enforcement Directive. With one stroke, they risk turning thousands of innocent EU citizens and businesses into copycriminals. If IPRED2 passes in its current form, "aiding, abetting, or inciting" copyright infringement on a "commercial scale" in the EU will become a crime. (Source)

Erich Schubert: SELinux and object orientation

In a previous post, I claimed that SELinux uses a kind of object-oriented approach, and that this has several advantages over path name based access.Since SELinux policy isn't actually a 'program', the term is somewhat surprising. It's just one fragement of "object oriented programming" that is available in SELinux, and actually a rather simple fragment. Also it's not how it's evaluated; but the OOP 'design pattern' of 'classes' is somewhat present in the SELinux reference policy. The syntax is kind of twisted, too.Let me give you a simple example policy fragment:
type mylog_t;
logging_log_file(mylog_t)
This fragment defines a new type, and 'inherits' from the 'log_file' class. (you can think of "logging_log_file" as com.tresys.oss.refpolicy.system.logging.log_file if you are a Java freak)The logging_log_file 'class' (which technically is a M4 macro, and maps to the SELinux 'typeattribute' 'logfile' - this would be called an abstract class in other programming languages) in turn will make mylog_t also be a "file_type" type attribute.So above line means that the new mylog_t type will 'inherit' certain access rules. Namely those defined via the logfile type attribute or file_type.This means that I can write policy to grant access on "any file" (e.g. for security scanners such as 'samhain' or the SELinux relabeling utilities, backup application, etc.) or just to any log files (e.g. for logrotate). Independend of where they live or who wrote the policy for them.So if I write policy for a custom application, add mylog_t for files living somewhere in /home/myapp/logs, I don't need to modify the logrotate policy, because that policy contains:
logging_manage_all_logs(logrotate_t)
(You can again think of this as logrotate being derived from a "log file manager" class, though it's implemented differently this time. Also note that multiple inheritance is no problem in SELinux policy)Macro names in the reference policy usually start with a namespace prefix. In this example, it's logging_. Since it uses M4 for processing the files, the syntax is largely determined by what is easy to use in M4.

Russell Coker: licence for lecture notes

While attending LCA it occurred to me that the lecture notes from all the talks that I have given lack a copyright notice. So I now retrospectively license my lecture notes in the manner that probably matches what everyone was already doing. The Creative Commons web site has a form to allow you to easily choose a license. So I have chosen the below license, it applies to all lecture notes currently on my web site and all that I publish in future unless they contain special notice of different license conditions.

Update: From now on I am releasing all lecture notes under a non-commercial share-alike license. I had previously not given a specific license to the content on my blog - now I am specifically licensing it under a non-commercial share-alike license. This means (among other things) that you may not put my content on a web page that contains Google AdWords or any other similar advertising.

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

22 April 2007

Christian Perrier: Royal evening

So, second round will be S. Royal vs. N. Sarkozy. Noone will doubt where does my preference go. I've always supported S gol ne Royal and I will of course continue to do so. I however doubt she will make it. Sarkozy's advance is quite important in polls and polls fail less and less often. My personal hope is that the 87% participation ratio (the highest ever for a French presidential election) means that many people feel that our president is who we vote for...and if we want the right wing out, we have to vote. This is particularly obvious among the youngest people and I hope that it means a revival of the political conscience in this country.

Christian Perrier: Vote - 1st round

So, today is the first round of the French presidential election. I already explained where is my preference going, also who I fear the most and who I absolutely don't want ever (no link here: I will never give a link to this guy and his party's web site. You don't want to read the kind of crap they write, do you? This is of course Le Pen). For those reading this and not familiar with the French presidential eletion voting system, a few more hints: We have 12 candidates this year. on first round, a president may be elected if (s)he gets more than 50% of votes (not counting white and null votes). This is of course nearly impossible. The highest probability is thus for a second round. Here, the two best ranked candidates would stay and the president is elected among one of them two. That second round will happen on May 5th. Candidates are (non neutral comments!): Though choice, isn't it? Out of these 12, 4 have some chances to reach the second round: Bayrou, Royal, Le Pen and Sarkozy. It is pretty sure that Sarkozy will reach the second round (unfortunately, should I say). Bayrou and Royal have the best chances to be the second candidate (apparently the disaster of 2002 where Le Pen reached the second round will not happen, though still possible). So, let's vote and vote well...but, first of all, vote! See you at 20:01 +02:00.

Wichert Akkerman: Debian upgrade experience

With the recent release of Debian etch (usability note: why can't that URL be per-release? All the info on sarge suddenly is not reachable at the location people bookmarked anymore) I figured I would try upgrading some servers to it. Debian has always had excellent in-place migration handling, so this should be easy, right? If only.. I will stay with sarge for a while longer.

Christian Perrier: News from the debconf review project

Three weeks after I officially announced the launch of the Smith Review Project, it is time to send a status update. First of all, and again, this was not an April Fool's joke. Sent on April 1st, but mostly because that day was a Sunday, the day where I have enough time to work on such annoucements. The task of reviewing debconf templates (and debian/control files) began in March 2007, much before the project is officially launched. Up to now, 17 packages have been reviewed. Several others are under work (I have 15 of these for which I'm coordinating the various review steps). The traffic on debian-l10n-english is exploding. OK, up to now, more than half of this are messages from me, which I expect to slowly change. The process is very well accepted by package maintainers and it really seems there was a need for it. The challenge now is that there are many more texts to review in Debian such as man pages (for native packages), README.Debian files and many other documentation files. We really need help and not only from people whose native language is English. Yes, that means *you* who are still reading my logorrhea.

Next.

Previous.