Search Results: "az"

13 June 2007

David Pashley: Atomic in-place rewriting of files with backup in perl

In my article on Perl's IO::Handle objects I talked briefly about IO::AtomicFile and IO::Digest. I've just had reason to use these very useful modules to create a script which edits a file in place. These modules allowed me to do the rewrite atomically and optionally make a backup if the contents have changed. The example assumes you have a function called perform_rewrite that takes two file handles as the first two parameters.
use File::Copy;
use IO::File;
use IO::AtomicFile;
use IO::Digest;
sub rewrite_file  
   my $file = shift;
   my $sub = shift;
   my $input = new IO::File($file,'r');
   my $input_md5 = new IO::Digest($input, 'MD5');
   my $output = new IO::AtomicFile($file,'w');
   my $output_md5 = new IO::Digest($output, 'MD5');
   $sub->($input, $output, @_);
   if ($input_md5->hexdigest ne $output_md5->hexdigest)  
           copy ("$file", "$file.bak");
           $output->close();
     else  
           # we haven't changed so don't bother updating
           $output->delete();
    
   $input->close();
 
rewrite_file("/foo/bar", \&perform_rewrite, $baz, $quux);
Read Comments (0)

MJ Ray: the Connection, paperless billing and post offices

Just got my copy of the Connection for June in the email today. Highlights: expansion of paperless billing and putting savings into a new sustainability fund that will be used to "green" the co-op further; profiles of Emerge, Cycle Training UK, Low Carbon Lifestyle, and Resurgence Magazine; not following BT's introductions of charges for 1571 ( 1/month), non-DD payment and late payment (up to 7.50/bill); free line transfers until end of August; new mobile phone services; previously-posted ADSL charging plan changes. (Note: I'm a member of this consumer co-op and my main company is Phone Co-op agent 471 if you'd like to join through us.) An interesting question is how that new sustainability fund will be allocated. I can't see an answer in this newsletter, but I've signed up for the extra paperless services anyway. I have mixed feelings about that: it may be helping save trees and fuel, but is it also further harming my rural post service by reducing the amount of post sent to me? Then again, it looks like the government has caused most harm to rural post offices by moving social service payments to banks and slowly reducing the number of services at rural sub-offices, while the Post Office themselves are doing "ludicrous" things like moving main post offices out of historic buildings and into the backs of newsagent chains. I care more about the offices than the delivery service and they don't seem very connected here.

12 June 2007

Wouter Verhelst: Linux Magazine on the DPL election

I bought me a copy of Linux Magazine last week or so, which contained an article on the DPL election. The parts that talked about me said something approximating
Apart from being a developer, Wouter Verhelst also represented Debian at FOSDEM
and
In his platform, Verhelst criticised organizational failures
I'm frankly stunned that "representing Debian at FOSDEM" is what really makes me stand out as a Debian Developer; especially as I don't, actually, represent Debian there -- I merely organize the Debian presence. Also, I went through great pains in trying to make it clear in my platform that I didn't want to criticise anyone. I guess that didn't quite come out right, then OTOH, I'm sure it's hard for a journalist to condense my platform into a single sentence, just as it is hard to describe who a person is in the same amount of text. But it's still... strange.

11 June 2007

Ingo Juergensmann: proftpd and SQL uid

Hmmm, maybe I'm missing a point, dear lazyweb, but it seems as if proftpd in Etch is somewhat broken.
Ok, I have a setup with proftpd, SQL backend (psql) and quota. First the SQL backend:


Table "public.users"
Column Type Modifiers
---------+------------------------+-----------
userid character varying(30) not null
passwd character varying(80) not null
uid integer
gid integer
homedir character varying(255)
shell character varying(255)
clear character varying(80)
Indexes:
"userid_pkey" PRIMARY KEY, btree (userid)
"users_uid_key" UNIQUE, btree (uid)
"users_userid_key" UNIQUE, btree (userid)


Proftpd.conf:

[...]
RequireValidShell off
DefaultRoot /home/%u
AuthOrder mod_sql.c
#PostgresInfo localhost dbadmin dcf1330 vftp
SQLAuthTypes Plaintext
SQLAuthenticate users* userset
SQLConnectInfo vftp dbadmin dcf1330
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID 2100000
SQLMinUserUID 400000000
#SQLUserInfo users userid clear "uid" "gid" homedir shell
SQLNamedQuery userinfo FREEFORM "SELECT userid, clear, uid, gid, homedir, shell
SQLUserInfo custom:/userinfo


The problem is now, that those files that are uploaded by ftp get owned by uid 65533 instead of the uid defined in the SQL table, whereas the gid is being set correctly. Example:


-rw-r--r-- 1 65533 2101 14838 2007-06-11 15:34 front.jpg


Both, uid and gid, have the same value within the database (exampel is "2101" here), but only gid will be used correctly by proftpd when uploading files. I would prefer to use usrquota instead of grpquota, though.
I'm appreciating tips to solve this problem or to confirm that this is a proftpd bug! :-)

Antti-Juhani Kaijanaho: Nixforce, cease and desist

Update Amazingly, they seem to have complied with this notice by taking down my content :) Nixforce, you are republishing (parts of) my blog without permission, and without indicating that you are republishing stuff written elsewhere. You are required to do all of the following, or cease and desist from republishing my content: If you do both, you have my permission to continue republishing my content. Additionally, you should verify that you have the legal right to republish content by the other authors. (This has been mailed to their contact email address.)

10 June 2007

Daniel Burrows: Dear Lazyweb: Mercurial Python API

So, in the midst of trying to convert some Darcs repositories to Mercurial repositories (see here for the reason), I hit an "interesting" bug: tailor processes "rename" patches by deleting the renamed file. A little debugging later, I get to this simulation of what tailor does:


>>> from mercurial import hg,ui
>>> uio = ui.ui(debug=True,verbose=True)
>>> r = hg.repository(ui=uio, path='.', create=True)
>>> f = file('A', 'w')
>>> f.write('Some data\n')
>>> f.close()
>>> r.add('A')
>>> r.commit(text='Add A')
A
'i\xe9\xb4\xc8\x9d\xb8\xeb\xbe\xb1k\xae\xb1\x182\xa9ao\x80\xd0'
>>> r.copy('A', 'B')
B does not exist!


Huh? Of course B doesn't exist, that's why I want to create it! So, we look at the code in localrepo.py to handle copying...


def copy(self, source, dest, wlock=None):
p = self.wjoin(dest)
if not os.path.exists(p):
self.ui.warn(_("%s does not exist!\n") % dest)
elif not os.path.isfile(p):
self.ui.warn(_("copy failed: %s is not a file\n") % dest)
else:
if not wlock:
wlock = self.wlock()
if self.dirstate.state(dest) == '?':
self.dirstate.update([dest], "a")
self.dirstate.copy(source, dest)


Double huh?


  1. Why is this method checking whether the destination exists before it does anything? It appears to me that this is actually necessary; just disabling this test leads to a crash later.
  2. How does mercurial work at all with such huge breakage in its core code? Does /usr/bin/hg use a different implementation of the repository code than mercurial.hg?
  3. Why, in the name of $DEITY, is this a warning and not a fatal exception? One example of what happens when you don't signal to your users that you're ignoring them is this bug: tailor happily goes ahead and removes the original file, safe in the knowledge that mercurial has copied it to the new location. Except, of course, that mercurial hasn't actually copied it. Whoops.


I'm hoping that someone will tell me that it's just too late at night for me and I'm being an idiot. Please tell me this. It would make me very sad if code like that was in my VCS.


:-( --- sad Daniel

Amaya Rodrigo: Dear Lazyweb

In case you were wondering, the question is: can you see whether Phil is wearing any underwear under that lovey kilt from where you are seated?

MJ Ray: Please Stop Abusing the Redways

There are 1988 and 1989 papers by Cyclecraft Author John Franklin about poor accident records of the Milton Keynes Redways which are often cited by cyclists as showing why cycle facilities are dangerous or "farcilities". But I grew up riding the Redways and I think the closest I came to seeing a Redway-caused injury was when we accidentally rode onto an under-construction stretch by mistake and met a road roller. I journeyed to work all the way along the north-west edge when I was employed in MK one summer. (The cross-city Redway I used was fairly quiet on the journey to work around 0700 but quite busy on the return - looked like "school run" traffic.) I lived three miles from the MK boundary for a decade and so I've had some time to think about this. I think condemning the Milton Keynes Redways as dangerous farcilities is simplistic and misguided. Here's why: Milton Keynes was one of the first English cities to have cycle routes designed in from the start. This means that there are cycle tracks of types and in spaces that we hadn't seen before. Where else did you get a network of both low-friction surface high-speed cycle routes with sweeping bends and grade-seperated junctions and connecting routes to every estate? How many places have that added since? Almost nowhere. Milton Keynes is a massive cycle track experiment. In the 1989 paper, Franklin comments that it was "constructed with few limitations of space or finance" which simply doesn't ring true - the experiment didn't go completely to plan and the "secondary grid" of Redways between district centres mentioned in the 1998 paper has simply never appeared. Nevertheless, there are things that work amazingly well, but there are others which are now obviously stupid, like not protecting the sight lines at some junctions and putting late-80s estate routes alongside feeder roads, where they have more frequent and busier level junctions. I believe some of the London data also suggests that the non-separated junctions are one of the three most dangerous places, which suggests that Milton Keynes is not a cycle track advocate's perfect design in the first place. I'll continue to explain what else I disagree and agree with from the Franklin articles over a few more posts. If you have comments about the Redways or these articles, I'd like to hear them: please use the comments form at the bottom of my page.

Kai Hendry: Debconf7

Tech team Trip involved a lot of waiting. I arrived too early at London City Airport. It was really easy to get to from Tower Hamlets, so there are some advantages living in East London. Since I am of Scottish ancestry and it is the first time I am in Scotland, I was almost hoping for some welcoming party. Sadly, nothing of the sort and I ended up waiting at Edinburgh Airport for another DD, however his plane was late. Thankfully I discovered the multi-denominational “Prayer room”. After visiting some amazing mosques on my travels, I know it is quite permissible to go in a Islamic mosque and take a little nap, which I did. I wish they made Christian churches a little more comfortable in that respect. Laying down on the floor of a typical Western church and admiring the architecture would probably be bad for one’s health. Ok, I’ve started tagging debconf7 on my flickr uploads during my time here. I wonder if Aigars will do the same. ;) Edinburgh reminds me a little like Calcutta, with the soot stained buildings. Teviot house where the debcampers are is a great building. Up the road near a mosque was a cheap Indian eatery. I had a great chicken curry, nan and pakora. Fantastic.

Gustavo Franco: I'm in Edinburgh, my baggage isn't.

I arrived yesterday in Edinburgh for debcamp and debconf 7 after aprox. 14 hours and 3 flights from Brazil to Scotland (Rio->Guarulhos, Guarulhos->London, London->Edinburgh). The city looks really cool with a lot of interesting places to visit and the weather is ok for me until now. We're now in the main talks room, that's is a sort of hacklab at this moment too.

Unfortunately TAM and British Airways (they call each other partners) don't give me my baggage yet, at least I've my laptop and my friend Felipe (faw) to help me with essential stuff. Hopefully this problem will be sorted out really soon, so I can concentrate on real Debian related work.

See you!

Evan Prodromou: 20 Prairial CCXV

What a great day. The weather in Montreal has been fantastic the last few days -- we've had sunny, hot, clear days with showers at night to clean up the air. It's been really spectacular to be out. Of course, this is the time of year that Montreal really shines -- festival season. It kicks off this weekend with the Grand Prix du Canada, which includes a giant party in the downtown area, on St. Laurent, and in the rest of the city as well. In my neighborhood (old and new), we have the Nuit Blanche sur Tableau Noir, a street fair that closes down av. Mont-Royal for auto traffic from June 7 to June 10th. There are huge murals painted on the street itself, and every business, retail outlet and restaurant expands onto the street, while people rove up and down all day and all night. And soon we get the International Fireworks Festival, which kicks off in only two weeks. One of the hallmarks of summer in this city is that just about every Wednesday and Saturday there's a gigantic fireworks show on le Ste. H l ne, at La Ronde amusement park. You can see the lights all over the city, and feel the thumping in every house and bar. It's disconcerting and awe-inspiring. We've already started having Piknic lectronik events, with another going tomorrow. Wow. tags:

SXSW talk online So, my talk at South by Southwest 2007 is now available online as a podcast. You can get the audio at the sxsw.com site and you can follow along on the OpenOffice.org or Powerpoint slides at Talks/SXSW07. I liked listening to this recording, although I realize that I need to do some speech practice for future talks. I say "ummmmm..." after every sentence in this talk, which would probably drive me crazy if I were listening to it. I'm surprised that the applause at the end is so strong -- I'd probably have thrown food at this guy. tags:

Wikimania On that note, I'm glad to point out that my and Maj's talk for Wikimania 2007 was accepted. I guess that means we'll be going to deliver it in Taipei. The subject is Extending wikis with social networking tools. We're going to cover Wikitravel Extra: our motivations for it, implementation issues, and results. It's going to be pretty interesting. tags:

Russell Coker: costs of driving to work

Mark Greenaway expresses surprise that someone could spend $8000 per annum on petol. I own a 1999 VW Passat 2.8L that does 12.8L/100Km (based on my average driving habits - I record the amount of petrol purchased and the distance driven). I spend an average of just over $60 a month on petrol, so I’m approaching $800 per year. I catch the tram and train to work most days (probably drive to work less than 10% of the time) and use my car very little apart from that (most places that I drive to are close to my house). If I was to exclusively drive to work then that alone would make my petrol expenses approach $8000 per annum. If I was to shop at locations that weren’t so convenient or do recreational driving then the petrol expenses could be significantly greater. The $1000 a year I spend on public transport doesn’t seem so expensive! The http://www.smh.com.au/news/national/hybrid-cars-the-go-as-fuel-price-rockets/2007/06/09/1181089388315.html about the increase in sales of hybrid cars due to fuel price increases. In that article they note that Toyota representatives claim that Prius drivers travel more than the average 15,000 KM per annum. Recently the RACV magazine published an article based on the CNW report (the bogus report paid for by Exxon which claims that the Jeep Wrangler is better for the environment than the Toyota Prius). In response to this I reviewed all adverts for second-hand Prius and Wrangler’s on www.drive.com.au to determine how much these vehicles are driven. I counted a 2006 model as a 1yo car for the purpose of the average. On the 29th of April when I looked at the web site there were 90 Prius and 127 Wrangler on sale for which both the model year and the distance driven were published. Of these vehicles the average distance driven per year for the Prius was 15995Km, and the average for the Wrangler was 11,658Km. Someone who purchases a Prius instead of a V6 car (such as my VW Passat) can expect to save at least 7L per 100KM (based on the assumption of 12L/100Km for a V6 and 5L/100Km for a Prius - this is a conservative estimate, the savings could be greater). That would be a saving of at least 1120L of petrol per annum for the average Prius owner, giving a saving of >$1500 per annum with current petrol prices. Over the 20 year life of the vehicle the average Prius owner can expect to save at least $30,000 on petrol at current prices - but we do expect petrol prices to increase…

9 June 2007

Isaac Clerencia: How to hire great people: drive, curiosity and ethics

I’ve just come across this article from Marc Andreessen about hiring. It raises some interesting points about the hiring process, which he bases in three criteria. Drive
I like to see what someone has done. Not been involved in, or been part of, or watched happen, or was hanging around when it happened. If you’re a programmer: the open source project to which you’ve made major contributions. Something. If you can’t find anything — if a candidate has just followed the rules their whole lives, showed up for the right classes and the right tests and the right career opportunities without achieving something distinct and notable, relative to their starting point — then they probably aren’t driven. And you’re not going to change them. Motivating people who are fundamentally unmotivated is not easy.
Curiosity
Sit a programmer candidate for an Internet company down and ask them about the ten most interesting things happening in Internet software. REST vs SOAP, the new Facebook API, whether Ruby on Rails is scalable, what do you think of Sun’s new Java-based scripting language, Google’s widgets API, Amazon S3, etc. If the candidate loves their field, they’ll have informed opinions on many of these topics. That’s what you want.
Ethics
Pick a topic you know intimately and ask the candidate increasingly esoteric questions until they don’t know the answer.
They’ll either say they don’t know, or they’ll try to bullshit you.
Guess what. If they bullshit you during the hiring process, they’ll bullshit you once they’re onboard.
He also links to Software Interview, a site which lists questions and answers that several companies use in their hiring processes.

Andrew McMillan: For Brenda...

I followed the advice of the lazywebs a while ago and bought myself a phone (Nokia 6100) on the local auction website then went around to the local Vodafone dealer and bought a SIM card for it. When I signed up I ticked the box saying "Enable Global Roaming" and now that I'm travelling I realise I should have actually confirmed that happened before I left the country, because it didn't happen. Now I'm sitting in Melbourne with only the (free :-) Wifi to keep me company. So looking at the Vodafone site, it appears that I could dial "777" to enable global roaming. Apparently I should have done that a few days ago, because it sure won't work now. Perhaps this "Manage Your Account" thingy will work? A period of perusing pages of FAQs follows, and I eventually conclude that it would work. Except that when I try and register for the service I am told that my phone number is not valid. Yes, I moved my old number across to Vodafone, about the same time Brenda was lamenting the inadequate preparation Vodafone did for Mobile Number Portability, and while the actual phone has been working, Brenda did note back on April 1st that "you can't use the website to manage your account". Two months on and it still isn't possible, which is pretty poor really - you would think Vodafone would be actively encouraging people to move across to their network. So I'm effectively phoneless until I get to Edinburgh and can buy a SIM card. At least I can still get on IRC and ask someone to call Heather and tell her why I'm not phoning.

8 June 2007

Ian Murdock: Where do I download OpenSolaris ?

Quick poll: What do you think of when you hear the name “OpenSolaris”? It’s an operating system? The community version of Solaris? Right? Not quite. Like Linux, OpenSolaris is a kernel. Except that it’s more than a kernel. Or, rather, more than a kernel but not quite a complete operating system. Are you confused yet? This comment from a recent Register article sums up the problem quite nicely:
If you go to the OpenSolaris web site, all bright eyed and eager to download a new operating system, you will walk away in bitter disappointment. Sure, it says the word “open” in two dozen languages on the web page, but when you go hunting for an installer disk to download, suddenly you are cast into a maze. Nevada builds? What the hell is Nevada? Oh, it’s what they’re calling the OpenSolaris code base. You’ll need to download these components and build them. Well, how do I install it? Oh, you can’t do that, you need to have a Solaris machine up already to build on. But you can get started if you go to Sun’s site and download their Solaris Express Enterprise Pro Champion Edition (after dutifully registering), and then enjoy that pleasant install experience. And when that’s done, you still have the work ahead of you of getting ON (what the hell is that? Oh, OS and Network. Sorry, I don’t work at Sun) built and updated. Did I miss anything? We haven’t gotten to packages to make the system usable yet.
Now, I’m willing to wager most of you reading this have probably heard about DTrace, ZFS, Zones, and the other great stuff Solaris has to offer, not to mention that Solaris is about as enterprise grade as they come, having been at the heart of the data center longer than many of the alternatives have even existed. And don’t forget about more mundane but critical things like backward compatibility, where Solaris has excelled for a very long time. But how many of you have actually experienced this great stuff first hand? How many hands go down if you’re under 30 and don’t remember the Sun workstation—i.e., you’re one of the many for whom Linux = Unix for as long as you’ve been in the computer business? How many of you would take Solaris for a spin if doing so was as easy as, say, downloading the latest version of Ubuntu and installing it? In other words, with all the buzz about making Solaris more familiar to Linux users, it turns out the widest part of the familiarity gap isn’t even technological. So, how do we bridge it? We need to make “OpenSolaris” something you can touch, something you can “Download Now!” and run on your laptop to try out the latest and greatest from the OpenSolaris community. We need to clearly articulate the link between Solaris and OpenSolaris in ways the industry understands—namely, that OpenSolaris is the rapidly moving version that delivers the latest innovations, and that Solaris is the enterprise-grade, supported-for-many-years, backward-compatibility- guaranteed version for the data center. Furthermore, the link needs to be more than just “OpenSolaris as upstream for Solaris”. Given how many more copies of Fedora and Ubuntu are running in the world than the enterprise Linuxes, there is significant opportunity here if we can get the model right. In short, to make OpenSolaris (and, by extension, Solaris) more familiar to Linux users, the first thing we need to do is make it a “distro” in the Linux sense of the word. After all, when people say they know “Linux”, that’s what they’re talking about—how many people really care about the Linux kernel underneath? What they care about is the GNU tools, the desktop, the development environment, and all the other things their favorite distro bundles—and the package system that holds it all together. There’s no reason in the world why (Open)Solaris can’t deliver those same things. Oh yeah, and DTrace, ZFS, Zones, enterprise grade security/scalability/performance/etc., backward compatibility, etc. too. Put this way, it’s easy to imagine what OpenSolaris needs to look like. That’s why the issues here are not primarily technological. This is the essence of the Project Indiana you’ve read so much about in the past several weeks. Our goal is to create a binary distribution of OpenSolaris that simultaneously delivers what people have come to expect from “Linux” alongside the great stuff that make Solaris unique. What comes next? We’re working that out in real time. If you’re interested in following along, participating, or just giving us your two cents, I encourage you to join the indiana-discuss mailing list we just created. We’re particularly interested in hearing from you if you consider yourself a “Linux user” and have been interested in taking Solaris for a spin but, for whatever reason, have considered the gap too wide. What would it take to get you running Solaris?

7 June 2007

Amaya Rodrigo: Walking Around

Update: Aprox. translation

Sucede que me canso de ser hombre.
Sucede que entro en las sastrer as y en los cines
marchito, impenetrable, como un cisne de fieltro
Navegando en un agua de origen y ceniza.

El olor de las peluquer as me hace llorar a gritos.
S lo quiero un descanso de piedras o de lana,
s lo quiero no ver establecimientos ni jardines,
ni mercader as, ni anteojos, ni ascensores.

Sucede que me canso de mis pies y mis u as
y mi pelo y mi sombra.
Sucede que me canso de ser hombre.

Sin embargo ser a delicioso
asustar a un notario con un lirio cortado
o dar muerte a una monja con un golpe de oreja.
Ser a bello
ir por las calles con un cuchillo verde
y dando gritos hasta morir de fr o

No quiero seguir siendo ra z en las tinieblas,
vacilante, extendido, tiritando de sue o,
hacia abajo, en las tapias mojadas de la tierra,
absorbiendo y pensando, comiendo cada d a.

No quiero para m tantas desgracias.
No quiero continuar de ra z y de tumba,
de subterr neo solo, de bodega con muertos
ateridos, muri ndome de pena.

Por eso el d a lunes arde como el petr leo
cuando me ve llegar con mi cara de c rcel,
y a lla en su transcurso como una rueda herida,
y da pasos de sangre caliente hacia la noche.

Y me empuja a ciertos rincones, a ciertas casas h medas,
a hospitales donde los huesos salen por la ventana,
a ciertas zapater as con olor a vinagre,
a calles espantosas como grietas.

Hay p jaros de color de azufre y horribles intestinos
colgando de las puertas de las casas que odio,
hay dentaduras olvidadas en una cafetera,
hay espejos
que debieran haber llorado de verg enza y espanto,
hay paraguas en todas partes, y venenos, y ombligos.
Yo paseo con calma, con ojos, con zapatos,
con furia, con olvido,
paso, cruzo oficinas y tiendas de ortopedia,
y patios donde hay ropas colgadas de un alambre:
calzoncillos, toallas y camisas que lloran
lentas l grimas sucias.


Pablo Neruda

Joerg Jaspert: Laptop suspend

Dear Lazyweb, some time ago I got a new notebook, a HP nw9440. It’s all nice and great and stuff and does what I want. Except two little things that I couldn’t fix yet, but maybe you have some suggestions? The first is only a little bit annoying. X does not like DPMS after a suspend/resume cycle. Running
xset dpms force off
will turn off the display, but the next acpi event received (according to acpi_listen) turns it on again. Restarting acpid fixes this, until next resume/suspend. For some reason the restart trick only works if done some time after the whole resume finished. Adding it to the scripts so its done automagically doesn’t fix this. The second thing, mostly time consuming, is the fact that this laptop does not like Suspend-to-RAM, so only Suspend-to-Disk working. It happily suspends to ram and goes to sleep and it also gets back on. Just that it doesnt turn the display back on, no matter what I try. I tried all combinations of options for s2ram I could find, nothing. Is there someone out there that has the same laptop and got it to suspend to ram and can tell me what screw he had to jump on? Update: Looks like the first problem is fixed in Xorg upstream.. Just that it didn’t got into etch anymore. Looking at xserver-xorg that probably means updating to sid right now, which I don’t want to do. So well, lets wait until a newer version is in lenny, maybe someone backports Xorg at some point? :)

Jonathan McDowell: Is it cos I is ginger?

I have to say "Yes" to the BBC. People say things about redheads they would think twice before saying about any other discriminated group.

Adam Rosi-Kessel: Religion, Secularism, and Mystery

To follow up on my early post Christopher Hitchens v. God, Jonah at the Frontal Cortex has some insightful comments on religion and secularism. The money quote:
When people like Dawkins attack wimpy agnostics or moderate believers, they forget that many atheists aren’t uber-rationalists. They carry around tarot cards, not The Selfish Gene.
Jonah also makes a good point that science and religion may not have irreconcilable differences:
It’s important to note that science isn’t necessarily in conflict with our need to believe in some sort of mystery. Modern science, after all, has discovered some of the craziest ideas around, from the principles of quantum physics to the fact that our head holds a trillion cells trafficking in minor jolts of electricity. These ideas are both materialist and mysterious, since they hint at a universe that exceeds the current capacities of our imagination. What Hamlet said to Horatio is still true.
This sort of analysis seems to me far more nuanced and interesting than that advanced by what I’ll call the “vulgar atheists” — Dawkins, Hitchens, Dennett, et al.

DebConf team: Wireless setup for DebConf7 (Posted by Holger Levsen)

Only in the beginning of May it became clear that we need a new wireless sponsor this year, which quite quickly was found: www.freifunk.net, which is a german grassroot movement, connecting people and communities with mesh networks. As some of them are also upstream OpenWRT developers, we didn’t only get 19 accesspoints, but I also got quite some intensive training, which resulted in this wikipage with quite extensive documentation and a nice 3D map, how+where+why to place accesspoints. So we’ll use the Kamikaze version of OpenWRT, whereever possible. Despite it’s name, Kamikaze is the new stable release of OpenWRT, the successor of WhiteRussian. The accesspoints will be simply running in bridge mode (and using DHCP to get their IP and not running a DHCP server themselves) and provide unencrypted wireless (authentification via chillispot, you’ll have to login once via a webfrontend, then your MAC address will be recorded and you don’t need to login again) on the ESSID DebConf7. We’ll have 802.11b+g everywere and additionally 802.11a in some places. We calculated that for Teviot we’ll need approximatly 15 accesspoints and three extra for the hackcenter we’ll be using at night. As we got 19 from freifunk, we should have enough. But I like to have some more, to be on the safe side and to be able to replace the least powerful ones with better ones. If you can bring an accesspoint that runs OpenWRT, please send a short mail to debconf-infrastructure@lists.debconf.org. We prefer OpenWRT, so we can easily include them into our monitoring with munin and because it’s a PITA to deal with lots of different web interfaces for administration (and look up lots of different manuals on different webpages…). If you really want to bring an AP which doesn’t run OpenWRT, make sure the config described above is possible and please pre-configure it like that. You can check if your accesspoint can run OpenWRT, a modell with broadcom or atheros chips would be best, simply because I already have preconfigured images. Alternativly, the above mentioned wikipage has instructions how to build an image. (And I have a build environment on my laptop. But that’s easy to setup.) On a personal note, I intend not to be much involved in the wireless setup this year after unpacking the hardware, there is a nice admin team this year and I want to concentrate on the video team and our work there. And last but not least, but again: don’t just plug your AP into the network in Teviot. God might kill a kitten, and we might loose our uplink if you do :-)

Next.

Previous.