Search Results: "dom"

23 May 2007

Gunnar Wolf: On sending out the right image

At my Institute, we get the El Financiero newspaper - I like it quite a bit. It's very well balanced, with opinions from all of the political and economical points of view. Of course, it has huge business and market sections which I don't usually even care on looking at, as I won't understand much anyway. Those sections usually include advertisements for potential courses and businesses.
Today, Nadezhda showed me an ad that's just beautiful - It shows off the level of commitment and seriousness a company has. It is so beautiful that it deserves me copying it in Spanish and translating it for your further enjoyment. Of course, if somebody stumbles upon this advertisement at my personal blog - I don't know them, they might just be serious but clueless :)
GRUPO DE ASESORES PROFESIONALES
CONVOCA
A acad micos, investigadores, intelectuales, economistas y expertos en reformas estructurales para el an lisis de las siguientes:
  • Econom a y finanzas
  • Educaci n y empleo
  • Seguridad y desarrollo social
  • Pol tica y Energ a
  • Reforma del estado
Para integrarse a un equipo serio y propositivo de Profesionales en estas reas que brinde asesor a puntual sobre las antes descritas.
REQUISITOS: Titulados con Maestr a y/o Doctorado. Contar con publicaciones especializadas.
Interesados enviar CV al correo electr nico:
juan_zzz_at_starmedia_dot_com
juan_3zzz_at_yahoo_dot_com_dot_mx
Bosque de Ciruelos No. 140, piso 12, oficina 1202, col. Bosques de las Lomas
And now, for your further amusement, in my hastily translated English, as faithfully as I can do it.
GROUP OF PROFESSIONAL ADVISORS
INVITES
Academics, researchers, intelectuals, economists and structural reform experts for the analysis of the following areas:
  • Economics and finances
  • Education and employment
  • Social security and development
  • Politics and Energy
  • State reform
To join a serious and propositive team of Professionals in the above areas that gives punctual advice regarding the aforementioned.
REQUIREMENTS: Holders of a title, with M.Sc. or Ph.D. studies. Having specialized publications.
Interested people, send your CV by email to:
juan_zzz_at_starmedia_dot_com
juan_3zzz_at_yahoo_dot_com_dot_mx
Bosque de Ciruelos No. 140, piso 12, oficina 1202, col. Bosques de las Lomas
Yes, several of the redaction mistakes are in the original text (and several more were introduced due to my English translation, of course).
Anyway... Would you believe in the seriousness of a professional-looking group of economists, paying around US$2000 for 1/4 page in one of the leading Mexican newspapers? By the way, their offices are located at one of Mexico City's most exclusive, expensive areas. But... For $ deity 's sake... COME ON! Please tell juan_zzz to get a decent-looking mail and domain! Having their main contact addresses at two free mail providers, Starmedia and Yahoo, does no service at all to their professional image! How can people still not pay even a bit of attention to those basic details?

22 May 2007

Holger Levsen: freedom is like health

You will probably only see its real value and scope, when you have lost it already.

Alastair McKinstry: Irish, Schools and the Election

Well, theres a General Election here in Ireland on the 24 May, and the politicans are well and truly on the last lap of the campaign trail. We're a bit rural to see them all, for those who don't make it to the door, here's something to think about. In Moycullen we are on the edge of the Gaeltacht. Various institutions, such as the main primary school, have been struggling to retain that status with the encroachment of the B arla 'burbs (suburbs of the Gaeltacht where English dominates). Our children go to Baile Nua, the villages' gaelscoil. To hold standards, the school has a policy of capping its current enrollment (to 84, I think), to keep class sizes small, until the potential intake is large enough to justify another teacher. Fair enough. However this has the side-effect that, in an area supposedly set aside to protect the Irish language, students are necessarily turned away from the only Irish-language school in the Village. Any comments? Tags , , ,

21 May 2007

Evan Prodromou: 1 Prairial CCXV

I just got back from taking Zach Copley to the airport, and for the first time in a few days I'm sitting in front of my desktop computer again, trying to get back on track. I think it's probably a good idea to get my notes about RoCoCoCamp down on electronic paper while the experience is still fresh in my mind. (I wrote about the first day in Journal/29 Flor al CCXV). Saturday morning I got up considerably later than I had the day before, and I took my time getting to SAT. Which was OK, since things went much smoother in the morning. The only really annoying thing about Saturday was that I had to wash about 50 cups by hand -- we'd run out of clean cups, and I couldn't figure out how to run the dishwasher. It didn't take long, but it meant that I had my head down in the sink as people came in and didn't get to spend as much time talking to them. I was glad to hear that people had a good time going to L'Utopik on Friday night. Apparently a few people who'd flown in late on Friday got a chance to meet up with the experienced crew at L'Utopik, so they were well-prepped for Saturday. Probably the biggest buzz of the pre-sessions was SJ Klein's pair of functional OLPC laptops. They were cute and fun -- I got a few minutes to play with them, and I enjoyed the interface tremendously -- although it took me a few tries to open it. People were fiddling with them throughout the day -- including Amita June, who came late in the afternoon -- and Tristan P loquin even blogged about them. My first session was about wiki and other technologies, which I titled Wiki And.... (I borrowed the name from Last Exit to Brooklyn, in which it seems no-one eats anything but "coffee and".) My main point was that a) wiki people tend to overuse wiki where other software tools may be more appropriate and b) we need to be careful with impedance mismatches when using wiki with technologies with other cultures behind them. Wikis and blogs mismatch; wikis and forums mismatch. You need to work out ways to make them work culturally. As a proof-of-concept that there are ridiculous applications for wiki, I created in about 3 minutes before the session the wikiclock. It's a computer clock that runs on wiki technology: the time is kept up-to-date by human beings editing the page, rather than with software. I was so pleased with myself that I twittered about it, and from there it's taken on a life of its own. The clock is implemented on the amazing minimalist system pageoftext.com. I heard about p.o.t. from Liz Henry's April report from Palo Alto Wiki Wednesday, and I think it's totally great. It's a cross between a pastebin and a wiki -- like an open-edited ImageShack for text. Brilliant. The second session I did was a hyper-focused one on a particular Semantic Web problem. Both Wikitravel and Open Guides have tons of information on "places" in various cities. (That is, restaurants, bars, nightclubs, hotels, museums, parks, etc.). It would be good to export our data on these places to each other, so we could possibly keep them in sync. For example, if a restaurant changes its hours , that info could be updated on The Open Guide to London and automatically synched to the Wikitravel page on London. So we went over some ways to do this kind of interchange; we'd brainstormed before about it on the Open Guides' RDF Workshop, but it was good to sit down with Earle Martin and do some face-to-face hacking on the idea. We don't yet have a vocabulary for it, but we'll get something going on the new wikirdf.org site (which also emerged from this session). I had a great lunch with a lot of people from RoCoCo on the terrace at the Bar St. Sulpice, about 8 blocks away on rue St. Denis. The sun was out, it was cool, and we had a very nice time. It was especially nice to see Marcus Bornfreund and Tina Pipers of Creative Commons Canada, who'd come to talk about the PDwiki, a project to collaboratively document Canadian works in the public domain (see Canadian Public Domain Registry Announced). We talked quite a bit about the social challenges of getting a community excited about such a dry subject, but I think we got some good ideas about it. In the afternoon I led a session on MediaWiki. We were lucky enough to have Tim Starling sit in, and he told everyone about the new developments going on with MW. He's refactoring some very deep parts of the storage and rendering sections of the code, which will result in considerably better reliability, performance, and flexibility. I think it sounds great. I had to work the registration desk for the last session of the day, which was pretty great because I ended up baby-sitting Anoushka Jaroski-Biava for most of the time. But I missed Robin Millette's cool talk about BuzzyBee, which looks to be really fun to play with. We rounded out the evening with music, pizza, and beer at the SAT. tobias.dj played some great dance music, and we had some wiki-collaborative VJ-ing using the SAT's fancy screen systems. All the kids were there -- Mark and Allegra's daughter No ma as well as Amita June. Fun. Sunday morning I didn't have to start coffee until 9AM -- luxury! We had a great Open Space Technology convergence -- a way to turn the discussions of the previous few days into action items for going forward. I did a convergence session on the future of RecentChangesCamp. We had most of the interested parties available (except for the RCC Portland organizers, who had to fly out early that morning). We made some decisions about future RCCs, and we made some plans for next year's RCC -- in the Bay Area (California). Last night we brought back the Keiki gang to our house, since it was great to have them all in Montreal for the event. We did a big brainstorming session on next steps to launching the project, and we also did some graphic design review of potential logos. We have some great designs coming; I'm really happy we got Sarven Capadisli and Bridget to work on the site. I had to crash out at 10:30PM -- Amita and I fell asleep together -- but others were up late talking and thinking. I don't know how they did it -- I was all talked out by the end of RoCoCo. All in all I had a fantastic time -- the event far surpassed my expectations. It was hard -- too hard. I bit off far more than I could chew. But I think we did a good job of establishing Montreal as a technology city -- Wiki City Canada -- in the international mind, and I think we also brought together some really interesting people for some fruitful and productive work. You can see some of the projects that came directly out of RoCoCo on the FutureChanges page -- an ingenious name courtesy of Pm. And there are some indirect ones that we can expect soon. tags:

Cause and solution So, Technorati has a good listing for rocococamp items, but I especially liked Steve Faguy's post: Wiki: The cause of, and solution to, all of life s problems. Steve was an extremely game participant in the event, which I think was pretty incredible. He wrote a good overview of wikis in the Montreal Gazette this year. A funny thing happened on Friday evening during the daily wrap-up known as "Evening News". We had Open Space's minimalist instructions posted on the walls of the SAT, so people would see and remember them. Steve pointed out that the first of Open Space's "four principles" is grammatically incorrect: Whoever comes is the right people. He said, "In the spirit of wiki, I'm going to correct it right now!" And to applause, he got up with a marker and changed the "is" to "are". This stimulated an interesting discussion. One person noted that the "is" is there because possibly only one person could show up for a session, and that's OK. Finally, Brandon CS Sanders stood up and said, "I like 'is' because when we come together like this, we form a cohesive group, however temporary -- 'a people'. So I'm going to change it back." And he did -- to lots of applause, again. Steve came up to me at the end of the night, laughing. "I got reverted! I should have started an edit war!" It was a hoot; he's got a good sense of humour. tags:

Benjamin Mako Hill: National Free Culture Conference

Harvard Free Culture is helping to organize this years' National Free Culture Conference -- the meeting for North American Free Culture student groups. The whole shindig is planned for May 26, 2007 at Harvard University here in Cambridge, Massachusetts. The schedule is solidifying and I will presenting and arguing for adoption or support of the Free Cultural Works Definition within the FC student movement and probably also be talking about community building and advocacy in some free software groups I've worked with. Housing is available and the event is open to the public. If you d like to attend, speak, or help out with the conference, please email freeculture@hcs.harvard.edu or check out the Facebook event. If you're on the fence about attending, you can read this glowing endorsement of the conference by high protectionist James DeLong at IP Central.

20 May 2007

Daniel Burrows: System 76

I've got a new desktop system, after going two years without a desktop at all. My last desktop, which served me well for about five years, was one that I built myself from parts. This time, though, I was feeling a little lazy, and I decided to order a computer from System 76, one of the few companies that will assemble and ship a computer to you with Linux (in this case, Ubuntu) preinstalled.

DSC00497.JPG

The cats were curious about something new appearing in our apartment. They were even more excited when they found out it was full of cat toys! Sadly for them, though, I confiscated all the styrofoam peanuts and stuck them in a cat-proof trash can.

DSC00499.JPG

The usual box of random CDs still exists when you have preloaded Linux. I was surprised to discover that it did not include an Ubuntu CD or five, which seems to me like a no-brainer.

DSC00501.JPG

Of course, this post wouldn't be complete without a picture of the actual box. It looks just like it did on the system76 web site; no surprise there.

DSC00504.JPG DSC00505.JPG

I used the included Ubuntu install for a little while, and it looked like everything was configured reasonably well. The one piece of weirdness was that Ubuntu uses a program called network-manager to configure the network; while it has some nice features (like doing network discovery for wireless, letting programs easily get notifications when network devices go down or come up, etc), these are offset, at least for me, by the fact that it likes to randomly break the computer's network access. This isn't exclusively an Ubuntu problem, of course; etch also installs and configures network-manager by default, and I had the same problems on etch until I purged it. I assume that network-manager works for someone, so probably something to do with the network environment here breaks it.

The system is currently running Debian etch, with Xen domains booting testing and unstable that I use for development. Even without the NVidia graphics drivers and with one of the Xen domains running a computationally intensive job, it's quite snappy; a lot snappier than any other desktop system I've owned recently. And while it's doing this, it's one of the quietest computers I own.

So, in summary, I'm quite happy with this system and I'd suggest System 76 as an option for anyone who wants a Windows-free computer.

Steve Kemp: Change my pitch up

6 weeks since my last post here, which I guess sums up how busy I am with things, primarily off-line but with a reasonable amount of development work coming out too. Thanks to Radu Spineanu xen-shell made it into the archive, and work has restarted on a multi-dom0 Xen control panel. So far there is a node daemon, a central server, and a shell-based admin tool, all written in Ruby. Coming soon a web-based control panel, implemented in Ruby on Rails. Exciting times.

Christian Perrier: Samba week

Last week has been mostly dedicated to samba, again. After last week's hurry dealing with 3 security announcements, the announcements were published by the security team. This was a not-so-simple process as even sarge was affected by the security issues and, to make things less simple, only two of them. I also slightly messed up in uploads to the security upload queues which added more work to Noah Meyerhans to deal with them. Anyway, we still were pretty happy of the result. However, immediately after the packages hit unstable and etch, a few problem arised: Dealing with all these bugs was time consuming but finally convinced me to re-subscribe to a few upstream mailing lists...which is slowly taking samba out of the "maintenance mode" we adopted last years. I hope we'll be able to sustain the load. Anyway, we already succeeded during that week in helping upstream to investigate some issues in their recent release. More samba uploads will soon come, so if you use samba, please update your systems regularly.

18 May 2007

Russell Coker: SE Linux in Debian

I have now got a Debian Xen domU running the strict SE Linux policy that can boot in enforcing mode. I expect that tomorrow I will have it working with full functionality and that I will be able to run another SE Linux Play Machine in the near future. After getting the strict policy working I want to build a Debian kernel with CONFIG_AUDITSYSCALL and an audit package so that I can audit system calls that an application makes and also so that the auditd can collect the SE Linux log messages. Other people have talked about packaging audit for Debian, hopefully one of them will do it first and save me the effort, but it shouldn’t be too difficult to do if they don’t. Then I need to investigate some options for training people about SE Linux. As I don’t currently have the bandwidth for serving large files I’m thinking of basing some SE Linux training on Xen images from the jailtime.org repository. My rough plan at the moment is to have people download Xen images, run through them while consulting a web page, and ask questions on an IRC channel. I’m not sure what the demand will be for this but some web pages teaching people about SE Linux will be a useful resource even if the IRC based training doesn’t work out. Another thing I want to do is to get PolyInstantiated Directories working in Debian. The pam_namespace.so module needed for this is written for a more recent version of PAM, so I might just work on merging the Debian patches with the latest upstream PAM instead of back-porting the module to the ancient Debian PAM.

Russell Coker: SE Linux in Debian

I have now got a Debian Xen domU running the strict SE Linux policy that can boot in enforcing mode. I expect that tomorrow I will have it working with full functionality and that I will be able to run another SE Linux Play Machine in the near future. After getting the strict policy working I want to build a Debian kernel with CONFIG_AUDITSYSCALL and an audit package so that I can audit system calls that an application makes and also so that the auditd can collect the SE Linux log messages. Other people have talked about packaging audit for Debian, hopefully one of them will do it first and save me the effort, but it shouldn’t be too difficult to do if they don’t. Then I need to investigate some options for training people about SE Linux. As I don’t currently have the bandwidth for serving large files I’m thinking of basing some SE Linux training on Xen images from the jailtime.org repository. My rough plan at the moment is to have people download Xen images, run through them while consulting a web page, and ask questions on an IRC channel. I’m not sure what the demand will be for this but some web pages teaching people about SE Linux will be a useful resource even if the IRC based training doesn’t work out. Another thing I want to do is to get PolyInstantiated Directories working in Debian. The pam_namespace.so module needed for this is written for a more recent version of PAM, so I might just work on merging the Debian patches with the latest upstream PAM instead of back-porting the module to the ancient Debian PAM.

17 May 2007

Jordi Mallach: Google shuts down the Google Translation program

Via Quico Llach's blog, I just learned about Google no longer hiring independent translators to work on their many web applications. Since Quico was hired by them to do their Catalan translators, a few millions of users have been benefitting from his very professional work in Google's most used services: mail, maps, search... Like Quico, I really hope they already have deals with translation companies to take care of minorised and minority language translations. When Catalan translations were made by random volunteers, I remember the results were quite... unsatisfying, as each one of them used their own glossary and style. When Quico took over, the interfaces were normalised using the Guia de estil and everything improved dramatically (this problem is something people involved in Rosetta as a developer, translator and team leader know well, and is tricky to solve). Having Google suddenly drop Catalan as a supported language would be a huge step back for Catalan on technology. Either way, we'll find out soon.

Gunnar Wolf: When bad system design leads to pain...

A long time ago, I wrote the system that still manages the Cuerpo Acad mico Historia del Presente group in the Universidad Pedag gica Nacional. Yes, I'm happy a good portion of my project, which took me over a year of work... But I must admit a nice deal of shame as well.
Of course, it comes from not properly understanding the domain data and information volume my system would be working with - and coming up with a stupid way to implement searches. I won't get too much in detail because, even if you had access to the full search facility in the system (no, it's not available for the general public), I would not like a swarm of curious people to make last week's events come back... Anyway, the group works by daily filling in tens or hundreds of articles in the system, and having some interesting search sessions every couple of months.
I knew the performance problem was caused by an inefficient searching mechanism (explicitly, category exclusion is the prime killer). I knew loadavg jumped through the roof, memory usage did so as well... But it was not until some weeks ago we installed the mighty Munin on the machines at UPN that we got this jewel - Thanks, Victor, for putting the graphics somewhere they can be shown! ;-)
So... How much does memory usage increase during searches?

Whoa. The system has 640MB real RAM. It has as well 1GB swap. Don't ask me how the hell it reports it was using ~2GB swap - but still... And how is our load average?

Have you ever seen a (single CPU, Pentium 4 1.7GHz) Linux system with a loadavg of 80?! For those who don't know, loadavg gives you the general status on how many jobs are pending scheduling by the CPU. 1 means that all of the CPU's time during a specified timeframe was used (and, on single-core systems, it's the optimal usage level). On this machine, things start getting uncomfortable at 6 or 7. I had never before seen values even half this large.
Sigh... Well, in my defense, I must say I've warned them about this problem for over two years. My contract with them has long passed - I've repeatedly recommended them to hire somebody to fix it. So far, they have not.

Andrew Stribblehill: Timing random disk seeks

I asked an interviewee how long it takes for a disk seek, and he replied that he thought it was between 4 and 8 milliseconds. Speaking with colleagues, the conventional wisdom was that it was around 10 ms. I was unsatisfied so I thought I would try it for myself.

time sudo perl -we '$disk="/dev/sda"; $n=1500; $blocks= blockdev --getsz $disk ; if (!$blocks) print "Enter capacity in manufacturer GB\n: "; $blocks=1953125*(
) ; use Time::HiRes "time"; open DISK, $disk; $start=time; for (0..$n) seek DISK, int(rand($blocks))*512, 0; sysread DISK, $x, 512 die; $now=time; $times[int(($now-$start)*1000)]++; $x=$now-$start; $s2+=$x**2; $s+=$x; $start=$now ; for (0..$#times) if ($t=$times[$_]) $tot+=$t; $median =$_ if $tot>=$n/2; printf "%3d %s\n", $_, "x" x ($t/2) . ($t%2?":":"") ; printf "\nTook %3.4gs for %d seeks of %s (%d GB)\n", $s, $n, $disk, $blocks/2097152; printf "Mean: %2.03gms; Median: %d-%dms; Std dev: %2.03gms\n", 1000*$s/$n, $median-1, $median, 1000*sqrt($s2/$n - ($s/$n)**2);’
It should be obvious that before you run this, you should check for yourself that it doesn’t do anything dangerous. Or at least check that $disk is set appropriately for your hardware and operating system. If you don’t have blockdev, estimate the number of 512-byte blocks and set $blocks to that value. (There are 1953125 blocks in a hard disk manufacturer’s "Gigabyte".) The graph it produces prints an ‘x’ for two seeks of a given number of milliseconds and a trailing ‘:’ if there was one left over. For me, on my one year old Linux 2.6.18 workstation with a 160 "GB" Western Digital (WDC WD1600JS — quoted seek time 8.9 ms) the typical output is:
  0 :
  3 :
  4 :
  5 x:
  6 xxxx:
  7 xxxxxxx
  8 xxxxxxxxxxx:
  9 xxxxxxxxxxxxxxxxx
 10 xxxxxxxxxxxxxxxxxxxxxxx
 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 12 xxxxxxxxxxxxxxxxxxxxxxxxx
 13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 16 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 19 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 23 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 24 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 25 xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
 26 xxxxxxxxxxxxxxxxxx
 27 xxxxxxxxxxxxxxx
 28 xxxxxx:
 29 xxxxx:
 30 xxxx
 31 :
 32 :
 34 x
 35 :
 57 :
Took 27.69s for 1500 seeks of /dev/sda (149 GB)
Mean: 18.5ms; Median: 17-18ms; Std dev: 5.24ms
real    0m27.859s
user    0m0.116s
sys     0m0.044s
Why might I care? 18 milliseconds is almost a lifetime compared with anything else a modern PC does. It’s slower than my monitors’ refresh period! I can read around 1 MB from disk, 10 MB over a GigE link or 20 MB from RAM in this time. I can ping from Ireland to England, crossing 40 routers there and back, in the time it takes for my disk head to seek. Every time you read something from a previously unread file, it costs on average EIGHTEEN MILLISECONDS even before it starts reading. That’s just 55 in a second. This has obvious implications for I/O program performance, i.e. that of most servers. If anyone has a concern about my method, I’d be interested to hear it. I’d also like to see the timings for different disks. Either post the whole histogram or just the stats, plus the make and model of the disk. On Linux you can get this from dmesg or hdparm -I device. Update: I’ve made the script more robust under non-existence of blockdev.

Ross Burton: GTK+ Tip of the Day, Sound Juicer news

First, a tip of the day. Thanks to Matthew Garrett for pointing out that GLib 2.14 will have API for creating timers with second granularity (instead of millisecond): g_timeout_add_seconds(). This means that multiple timers scheduled to go off at roughly the same time will be fired at once, resulting in power savings. I'm pleased to see this land in GLib, and can't wait for GLib 2.14 now as it is looking really good: GRegex and GSequence in particular are interesting new additions. In Sound Juicer news, Luca Cavalli has ported the gedit/Epiphany plugin code to SJ. It's definitely work in progress at the moment, but it is coming together nicely. Follow #311688 if you want to keep up with the changes. The first two plugins I'd like to see from both feature and proof of concept angles are more complete CD playback controls (repeat and random), and downloading of album cover art. NP: Delay, Dub Tractor

Steve Kemp: Would you choose to walk or stay

Once upon a time I wrote a collection of shell scripts for managing virtual hosting. Combined these allow me to easily. These work well, but every now and again I think I want a web-based control panel . After mulling this over for a while and remembering how many of the existing control panels are tricky I m actually going to do it. There are two hard parts: The last point is the part I m worrying about right now. So far I have a list of mail domains, and a list of web domains and the two are unrelated. This becomes obvious when they are listed:
DomainFacilities
steve.org.ukMAIL
bar.steve.org.ukWEB
foo.steve.org.ukWEB
See? No link I d expect to see the domains listed as just steve.org.uk with links to Mail showing the mail setup, and web showing the subdomains. Or maybe they really should be listed seperately I can t decide. (For reference here is my live listing of domains where the problem becomes obvious. Note that you ll not have permissions to see my server stats ) So I need to decide how to handle this I also need to be "inspired" by OSWD. I think the plan right now is to store all data in a database, then regenerate the plain text configuration files on demand. That should give me the best approach if I restrict myself to running HTTPS on a custom port and avoid the ability to modify the files by hand Feel free to tell me this is misguided, or inspired. Although I remember the last time I talked about control panels and I m still not seeing a good solution. I want to be able to:

Simon Richter: I'm in ur serverz, managing ur domainz

Steve talks about a tool some of us have needed for a long time, but never actually bothered to implement because applying the necessary changes in vim is still faster than writing a script to do it. The biggest issue for me is that the UI would have to represent grouping of items efficiently. If I have a number of domains registered to my company, I want my employees to be able to receive email at "firstname.lastname" in each of them, without ever duplicating the grouping information. For HTTP, the grouping works slightly different: a set of domains could be variants of the same name with different misspellings, abbreviations or top level domains. To keep things tidy, I redirect everyone who is not using the "canonical" name, using mod_redirtoservname. Thus, the group needs a "leader". Subdomains are usually independent setups, since there is not much point in having multiple names in the same domain for the same service. It may also be a good idea to somehow be able to configure delegations using SRV records.

16 May 2007

Evan Prodromou: 26 Flor al CCXV

It's been a busy week here and I've been lax in updating my blog. It's probably a good thing to put on the chopping block -- of all the possible things going on in my life -- but I'm regretting not keeping up with it. We had a good weekend last weekend. Maj's Mother's Day present request was to clean out all our closets in the house and take extra clothes to the Petits Fr res up the street. It took most of the day Saturday, and we finished with twelve garbage bags full of clothes for the Fr res. Check out Maj's photo of the pile of clothes. Sunday morning Amita June and I made Mama a nice breakfast of waffles and (tofu) sausage. Amita's job was to stir the batter (which she did a good job at) and not to touch anything hot (not so good). That afternoon, Maj went to get a haircut at the salon down the street, and I took the opportunity to give Amita June her first haircut. I think she looks like Twiggy. This week has been a maelstrom of activity. We have RoCoCoCamp coming up on Friday, and we're still tying all the loose ends together. I had most of my tasks done yesterday, so at the organizational meeting last night I saddled myself with more. D'oh! I think my main work this week is going to be encouraging local Montreal tech scenesters to come. I especially want to make sure that important women in the local Internet scene are present, so I'm going to copy Hugh McGuire's invite for BarCampMontreal2 and do some link-baiting: tags:

Interview There's a really good interview with me and Maj on the Internet Brands Developer Blog. It's gotten into the short list of interviews I point press to when they want background about Wikitravel -- along with the Creative Commons interview. I'm really glad that IB has started this blog to give the outside world a peek at what's happening out there in El Segundo. And it's also a great way for IB to highlight some of the Open Source work they're doing, like the neat-o new AJAX tool kit IBDOM. tags:

Andrew McMillan: Contracts for people to work on Open Source Software

A few years ago we needed to introduce employement contracts for all staff at Catalyst. When we got the example contract back from our HR consultant, she had quite naturally biased it strongly in the employers favour, and as a consequence it had a very anal and lawyerly clause in it regarding the ownership of intellectual property. This clearly wasn't going to work well in our environment so I decided to take the opportunity to try and write a clause which was fair and reasonable, which considered the likely desires of both parties, and which expressed an understanding of the sort of environment which often happens with free open-source software. It seems that many people who are interested in working on open source software are also people who will work on (i.e. fiddle with :-) things in their spare time, but they will not necessarily consider the possible consequences of using conmpany resources to do so. I have heard of situations where employment contracts (or perhaps even government enacted legislation) will give ownership of an individual's work to their employer in such situations, so I also wanted the contract to make it clear where and how this might happen. I would like to hear people's comments on the contract clauses which we use here. Is this fair to both parties? Have I missed something? Is the meaning clear? Also, I need to make it clear that it is OK for people to use this text, so I hereby place the text of the following Intellectual Property clause in the public domain. Intellectual Property
  1. All intellectual property, including source code, objects and documentation, relating to work carried out while in the employment of $ COMPANY , remains the property of $ COMPANY , subject to the exceptions outlined below.
  2. All intellectual property, including source code, objects and documentation, owned prior to joining $ COMPANY remains your property. If you choose to use such intellectual property, including source and objects during your time at $ COMPANY , $ COMPANY will have the rights to their continued use in perpetuity, including access to the source code of all versions of such software in use at $ COMPANY .
  3. If $ COMPANY asks you to do something, then we expect that while you work on that something, you will be being paid by us and we (or our clients) will own the IP. In some cases we may elect to open-source that, and may decide to jointly own the IP or make some other arrangement, but it would be at $ COMPANY s option.
  4. If you work on something by your own choice, and on your own time, then you are welcome to own the IP, but if you use the premises or computers of $ COMPANY to do that work then you must license it under a free, open-source license agreed with $ COMPANY .
  5. $ COMPANY may choose to fund some part of your time to work on OSS projects in a non-directed way. $ COMPANY will expect to own the IP for such work, and to participate in the choice of license for such code.
  6. All of the above is subject to confidentiality of client information, and constraints which clients may specifically request in relation to specific project work from time to time.
Over To You I wrote that because I couldn't find examples around the place of similar things. I guess I still see people looking for that sort of thing so I'm publising it here with the idea of providing a seed which can perhaps grow into something else. A few specific questions I would like you to think about: Then, perhaps, if we can see some general agreement on what would, or would not, be a useful standard we can encourage people to use it in their future contracts. I am hoping that through your collective wisdom I will be changing this clause in Catalyst's standard employment contract.

14 May 2007

Jordi Mallach: Data disaster on pusa

pusa, a server I administer at uni, suffered a massive data accident on Wednesday. When I went to see why it didn't come up from a reboot on Friday, I found out the initrd hadn't been able to mount /. Weird... Luckily, the two new disks were already installed in the host and waiting for me to finish the migration to the RAID1 and the new Linux-VServer setup, but unfortunately I've been way too busy and it was too late for some of our data. A fsck of /dev/hda1 resulted on large portions of the data going to /lost+found. Discovering this made me feel like a great fool after not having dd'd the device before doing this (a dry-run of fsck had not reported anything useful). I found out some of the lost data in random directories, but in general lots were missing, and others made no sense:
/oldpusa/etc: gzip compressed data, was "libpng.txt", from Unix, last modified: Wed Dec 20 00:58:51 2006, max compression
I hoped for my PostgreSQL stuff being intact, so after dd'ing /dev/hda5, I fsck'd the image. The result was an empty filesystem, and a lost+found full of stuff. I can't find a directory with stuff that resembles postgresql data at all. I did find a directory with a PG_VERSION file in it, but the rest of the files in it (around 100) had numeric names and little more. If anyone thinks I might be able to rebuild my /var/lib/postgresql from this, I'll be infinitely grateful. Anyway, I haven't written to the corrupted after I fucked up the root partition. I'm very interested in knowing what could cause corruption on all partitions, making them unmountable, but still recognisable by fsck, even if the result is not good at all. Maybe a corrupted partition table? If so, what does the Dear Lazyweb recommend me to try out? I suspect the first portion of all partitions were damaged, but maybe just that. Some partition table shift , which makes the filesystems lose the first superblock (trying other superblocks didn't work either)? Suggestions is very welcome by comment or email, and detail on what tools and how to use to try out things, better. My backup of PostgreSQL is not so recent, and recovering some SmartList data would also be great. As for the mandatory where are your backups , the answer is basically we had no resources to store them until very recently, and when we finally got the disks I've had no time until now to set it up entirely, so some bits (db, lists, web) were still not running off the new drives. The luckiest people have been the MUD owners, who have had no data loss at all, as they were living entirely on /dev/md0. Losing MUD data probably means getting angry calls at 4AM or so. :)

Matthew Palmer: A Lesson In Critical Reading

Yes, Microsoft have started swinging their patent bat a little harder. However, before everyone gets all screamy about the "235 patents" thing, read a little closer:
the Linux kernel [...] violates 42 Microsoft patents. The Linux graphical user interfaces - essentially, the way design elements like menus and toolbars are set up - run afoul of another 65, he claims. The Open Office suite of programs, which is analogous to Microsoft Office, infringes 45 more. E-mail programs infringe 15, while other assorted FOSS programs allegedly transgress 68.
While I can forgive a journalist the sin of not knowing the difference between Linux-the-kernel and Linux-the-entire-FOSS-ecosystem, can people who should have a clue about this please stop perpetuating the inaccuracy? Yes, 42 patents is still pretty bad, but it's not 235, and getting facts straight is what we do on this side of the debate -- the frothing and bullshit is what the other guys do. Once you start looking at the various categories of patent, it really does make it obvious that there's some straw-grasping going on here. If GUI elements really infringe on 65 Microsoft patents, it seems reasonable to assume that KDE and Gnome have a subset each, so presumably nobody gets the full brunt of that lot. Also, those 68 "assorted FOSS programs" patents probably includes such widely-used classics as this pearler of a program (chosen at random from Freshmeat for it's likely small userbase; no other ridicule is intended or implied). What galls me, though, isn't the bandying around of random inaccurate numbers, it's classy things like this:
[some Microsoft sock-puppet] refuses to identify specific patents or explain how they're being infringed, lest FOSS advocates start filing challenges to them.
Yeah, we'd hate it if the patent system were at all used in the manner in which it were intended. I don't suppose anyone else is getting SCO-style "we've got 100,000 lines of infringing code, but we're not going to tell you which ones" flashback at this point? Personally, I think that if Microsoft ever does starts with a patent smackdown, it won't be 235 patents, it'll be two or three, the strongest ones they can find, and 90 minutes after the plaintiff(s) is/are served the infringing code will be history, and we'll go back to living our lives as normal. That's even assuming that the patents are legit, which is by no means a given (even with the US' insanely broad patent provisions). As the linked article explains, the US Supreme Court has started getting a bit noisy on the subject of over-broad and pointless software patents, so perhaps Microsoft is just getting it's licks in before the Supremes take it's noisy rattle away from it. There's some side-commentary on this issue at Groklaw, and the Patent Law blog has a quick mention of it too (with all sorts of nice frothy comments, to boot).

Next.

Previous.