Search Results: "sto"

17 July 2006

Julien Danjou: My fingers' pleasure

Today I started hacking the us keymap of xorg to define my own custom keys. That's so funny. For people interested, here is how to do it:
% cd /usr/share/X11/xkb/symbols
% cp us mykeymap
% vi mykeymap
So far it's simple. Delete everything but keep the xkb_symbols "basic" part. The format is quite simple, so I won't explain it. I decided to use the right alt key to map several characters I want to use. For this, you have to add include "level3(ralt_switch)" after just before the last bracket. You can now add other characteres, for example I changed:
key <AB03>          [         c,    C         ]        ;
to
key <AB03>          [         c,    C,    copyright,   registered      ]        ;
So I can type the copyright symbole ( ) by pressing Alt right and c, and the registered symbol ( ) by pressing Alt right, shift and c. The characters name are located in the /usr/include/X11/keysymdef.h file. You can change your keymap with setxkbmap mykeymap and to change it definitely, just edit your /etc/X11/xorg.conf.

MJ Ray: The problems of English Enforcement

Is English Enforcement in free software programming a growing problem? I was surprised to see a call for all programs to be English-only [cakebaker] from a Swiss software developer. Half of the time, supposedly-English-speaking programmers use nonsensical variable names, so who cares if they mean something in another language? It may even help someone if they know that language. Not all programmers are monoglots and English-enforcement isn't healthy. Even many English-first-language(1L)-speaking programmers don't use English properly, having grown up in places like the USA or England since they stopped teaching language and grammar at school. What's a bit more language butchery between friends? [...]

Evan Prodromou: 29 Messidor CCXIV

We had a great trip to wt:Mauricie this weekend. It was quite an adventure -- we took off from Montreal on Saturday in the middle of a downpour, with no idea if it was going to clear before we got to the R serve faunique de St.-Maurice. But the rain slowed as we passed through wt:Yamachiche and by the time we were in wt:Shawinigan it was clear. Driving up the beautiful St.-Maurice River is real pleasure, especially when it's freshly-rained-on. The river is wide and slow (I think because of the hydro plant at Shawinigan) and sailboats and houseboats run up and down it. We got to the welcome center for the park too late -- it was closed -- so we had to go across the $12 (!) toll bridge into the reserve on faith alone. Which took a lot, since it's all dirt roads on the other side. It was a beautiful ride, but about 30 bone-jarring kilometers to our final campsite. We entertained the baby by making long aaaaaaaaaah sounds over the grading bumps -- by the end of the ride she was doing it herself. We saw a huge black bear on the way up -- maybe twice my size, long and lanky, loping across the road like it owned the place. Maj's face dropped when she saw it -- she'd never seen a bear before. It was an impressive animal, and it looked like Amita straight-leg crawling. We had a little hassle at the front gate of the Lac Normand campground, but we got settled down OK, put the baby in an insect-proof playpen, and Maj made a great pasta dinner while I put up the tent. I finished up the dishes and Maj and Amita walked down to the beach ("one of the best in Quebec", gushes S paq, and I'm inclined to believe them), and I was just starting a campfire when another storm hit. So we played in the tent for a while and went to sleep. Sunday we had a quick breakfast and headed down to la plage. The lake was beautiful, with a 4-5km sand beach ringing it on the north side. All three of us went for a swim in the water; Amita held onto Maj's back and made motorboat noises. On the drive out we tried to cut across the Parc de la Mauricie and the R serve faunique de Mastigouche to get to wt:Saint-Michel-des-Saints, which is a town in wt:Lanaudi re that I've wanted to visit for a while. But we took a wrong turn at poorly-marked crossroads, and ended up at the safe and sane exit instead. How often does that happen? Drive home was nice, and we had sushi from the Sushi Shop on Mont Royal. The cats were mad, but they always are. tags:

Kerblog Norsola Johnson passed along a link to Mazen Kerbaj's difficult Kerblog. Kerbaj is a expatriate Lebanese musician and comics artist caught in Beirut by the blockade and the destruction of the airport there. Stuck in the city under bombardment, he took the opportunity to start a comics blog. tags:

S3 I wrote about Amazon's crazy S3 (Simple Storage Service), which provides a Web interface for data storage. I was interested to see that Om Malik had an entry about it: StartUps Embracing Amazon S3. I guess it's a cheap and easy way to get a lot of storage when you don't have a lot of time to work on things like getting storage. Does it mean I've gone bad if I read Om Malik? He was a speaker at the Mesh Conference a couple of months ago, and I didn't like his talk. Now, I read his blog daily. Gar. tags:

Oh No Robot I just caught up with the latest Spamusement comic, and saw a "Transcribe This Comic!" link at the bottom. It goes to the fine Oh No Robot comics search and transcription service. I guess the idea is that readers transcribe comics into searchable text. A great idea, and a nice example of user-generated metadata. tags:

MicroID So, when ClaimID asked me to embed a MicroID into my home page to verify it, I thought they were nuts. But I did it anyways. Now, I'm trying to wrap my head around MicroID, and I'm starting to think it's very clever. I dunno... maybe a MediaWiki extension is in order... tags:

A couple of hours later... I dicked around a bit more with MicroID, and made my own MicroID verifier in Python. You're welcome to use it; see Software/Python/MicroID. tags:

Moon language From sneakums on #tron: I cannot speak your crazy moon language from Maciej Ceglowski a nice story about language and life in Montreal. tags:

16 July 2006

Christoph Berg: Becoming an early riser

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

John Goerzen: The Crew

Terah and I realized something the other day. This table should demonstrate:
>



PersonRelationAttends our church
Heating/Air PersonGreat UncleYes
PlumberFirst Cousin, Once RemovedYes
Interior DesignerFirst Cousin, Once RemovedYes
ElectricianSecond CousinYes
Phone Company Line InstallerFirst Cousin, Once RemovedNo
General contractorNoneYes
General worker #1None that we know of, but his great grandfather built the placeYes
General worker #2NoneYes
HistoriansYesYes

>



It seems this is typical for this sort of project around here.

John Goerzen: Israel and Lebanon

You know, I'm sick and tired of this whole "you wronged us, therefore you will pay" attitude that there seems to be in international politics today. Both sides of the whole terrorism thing seem to have that attitude.

But the latest sanity-defying news is that Israel is bombing wheat silos, food stores, and lines of civilians trying to escape Lebanon. Huh? What is the strategic value in having starving civilians in Lebanon? To me, it seems like a recipe to make things worse for Israel. You kill people's family in Lebanon, and you create large numbers of very mad family members that now have a reason to plan terrorist attacks on Israel.

It defies sense.

Why don't people try to value human life for once, everywhere?

15 July 2006

Erich Schubert: Extra exploit protection - SELinux

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

Evan Prodromou: 27 Messidor CCXIV

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

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

Holger Levsen: the joys of spam and css

Unwanted cc:s on debian mailinglists clearly qualifies as "unsolicited bulk e-mail" for me, aka spam. So from now on I will send personal replies to those people asking them to stop (because very often people reply to those emails and keep the cc:s). Also I will keep them in a list of shame. Please, read your email before sending and include the headers in this reading. Thanks.

In completly unrelated news yesterday I finally (after nine month) fixed the layout of this blog, so you can sensibly read it with a webbrowser as

Ian Murdock

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

Ian Murdock: The key to Web 2.0 interoperability is profoundly simple: Reciprocation

Boing Boing: “Steward Butterfield, the co-founder of Flickr, has promised that the service will allow any of its commercial competitors the API access needed to help customers switch away from Flickr to a competing service; the only gotcha is that these competitors need to offer the same deal to Flickr to help their customers switch, too.” Yes, this is old news by now, but this is so profound and sensible that I had to link to it anyway.

Eric Dorland: The Damage So Far

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

14 July 2006

Evan Prodromou: 26 Messidor CCXIV

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

Lars Wirzenius: Debian: The Debian Vacation Event

The Debian Project, in an inspired move to improve to reduce stress stemming from overwork, locked out its developers from debian.org machines. This experiment was a complete success. With no way to do uploads, or to read web logs on Planet Debian, Debian developers the world over had a very relaxing two days of vacation. "Morale is up 1.3%", boasts Debian Project Leader Branden "aj" Robinson, adding "it only took four hours to unstick my finger from the Planet reload button, so that I could get up and have a shower". Asked whether the project would recommend the same procedure for other free softare projects, Robinson replied, "You betcha". Open source mastodont Microsoft founder Bill Gates concurs. "We've been doing the same thing for years. We have an entire team devoted to keeping backdoors open for just this kind of opportunity." Independent IT expert Lars Wirzenius jumps on the bandwagon. "Yes! A very good idea! I'll happily sell my services to anyone who wants to add a backdoor to their system. I'll make two for the price of one!".

13 July 2006

Erich Schubert: #debian-devel on freenode is no more

lilo, one of the Freenode admins and a regular on that channel flagged it as "abandoned" by renaming it to ##debian-devel. There were still around 150 users on that channel (as opposed to 315 on OFTC, the new official home); but according to his stats "about 16 lines of discussion per day, versus 103" joins - yeah, I guess you can call that mostly dead. Apparently the "##" prefix of a channel means it's somewhat inofficial or abandoned... well, that is some FreeNodeish thing I wasn't aware of. Note: apparently we can't change the topic of the new channel, and can't put up a message there about the move to OFTC... that sucks. I didn't follow the rename, but parted. I still have some other FreeNode channels left (#debian.de is still more active on Freenode), and there is #selinux; but I guess in a few month I'll actually stop using FreeNode now. (The #selinux channel isn't really interesting for me; nothing Debian-specific happening in there, mostly Fedora or Gentoo users looking for assistance.) P.S.: 'e's not dead. 'e's just restin'.

MJ Ray: Biking to Bristol

I commented on planning application 06/P/1285/F for National Cycling Network Route 33 from Backwell towards Bristol. I'm surprised they don't seem to have involved the communities before filing and that the Ramblers Association are objecting.

12 July 2006

Adam Rosi-Kessel: Homophobic Airplanes in Boston

Airplanes pulling anti-gay marriage banners have been circling my building much of today, apparently in an attempt to sway public (or legislative) opinion during today’s constitutional convention (liveblog here). The banners don’t cast the organizers as the brightest bulbs. Two of the banners are opaque references to the Chief Justice of the Massachusetts Supreme Judicial Court, Margaret Marshall — the messages were “Marshall’s Courts Are A Disaster” and “Marshall Incompetent Says Judge Sosman.” Unless you are already a rabid member of the anti-Goodridge crowd, these aren’t going to mean a whole lot to you. The other one is printed too small to read, although after twelve or thirteen time circling past my window, I could make out that it said something like “let the people vote on marriage,” which at least is a little clearer on the message (if not the font). All three had a URL that was too small to read, at least from my vantage point. I finally pieced together that the banners were referring to massnews.com (I hesitate to link to the site and boost its PageRank, but ultimately I think the contents are so poorly written and reasoned that it probably advances the cause of gay marriage more than anything). The articles on that site really make these guys look like loonies. A great example is this article. Although apparently written by an attorney, the article demonstrates near total ignorance of how legal reasoning and constitutional principles. E.g.:
When Justice Sosman discussed who else could be applying for marriage after May if the decision is allowed to stand, she had to include the “buzz” words that Marshall and other judges and lawyers use to intimidate everyone else — even including most lawyers who know nothing about this arcane language.
The “arcane” language the article refers to are the standard terms of art in equal protection law: suspect classification, scrict scrutiny, rational basis, etc.. (See this wikipedia article). Any first year law student should be quite familiar with this sort of discourse. (See my class notes from my first year constitutional law course and search for strict scrutiny or suspect classification). “Most lawyers” know nothing about this “arcane” language? Similarly — the following apparently forms the basis of the writer’s claim that Justice Marshall does not have the intelligence necessary to be the Chief Justice of the state’s Supreme Judicial Court:
Justice Marshall was incapable of answering Justice Sosman. She felt it necessary to insert an unusual footnote to say she was unable to understand or to answer Sosman’s erudite critique. “In any event, we fail to understand why the separate opinion [of Justice Sosman] chastises us for adopting the constitutional test (rational basis) …”
“Failing to understand” in a court opinion (or brief) does not mean “we’re just not smart enough to get it.” It is a standard idiom used to criticize another position as lacking support. It is far from unusual to make that sort of statement in a footnote. It is generally a sign that the point being criticized is so weak that it does not merit full treatment in the main text of the decision. In any event, I’m happy to see the anti-gay marriage movement leadership so totally marginalized. In a few years, I expect we will wonder what all the fuss was about.

Carlos Villegas: testing ubuntu's readahead (SoC2006)

The base distribution I'm using for Sid changed slightly by installing ssh. There was no boot time difference. The new base bootchart (same time 49 sec) is here.

Based on a discussion in initscripts-ng-devel between Petter Reinholdtsen and Erich Schubert, I decided to try ubuntu's readahead to see if we will get a better or worst boot time. After installing ubuntu's readahead 1.0.1-2 but noticed not time difference. No difference was obtained by changing the boot order (S39 to S19 in rcS.d) nor by adding files read at /etc/readahead/readahead. The bootchart is here

Also tried the newer readahead from ubuntu readahead 0.20050517.0220-0ubuntu3 but now with a loss of 1 second. This includes two scripts S01readahead and S39readahead-desktop in rcS.d and S99stop-readahead in rc2.d. The bootchart is here

Next I'll try to analyze the SUSE static preload.

Besides I filed an bug (377941) to initramfs-tool I had with installing Etch on my laptop with a usb harddisk. Tried adding sleep 5 to /usr/share/initramfs-tools/scripts/init-premount/udev, then dpkg-reconfigure linux-image-.... but still fails :(

Sergio Talens-Oliag: Back from the V Jornades

As others, last week I was not waiting for the Pope and I managed not to be affected by his visit to Valencia; I left on Thursday at 15:30 to go to Barcelona for the V Jornades de Programari Lliure and didn't came back until Saturday at 20:00; at that time the show was still going on but I was not directly affected by it, as I live on a village that is about 5 Km. away from the city and probably around 10 Km. from the Pope's stage. Anyway, this post is about what happened on the JPL, so here we go. On Friday I gave a tutorial about Debian Packaging using liw's slides, it was planned for an hour and a half but I ended up using two. I believe that the tutorial went more or less OK, although they were not able to start doing anything on the computer. If I'm asked to give a similar tutorial again I'll try to have more time or to do a talk about the Debian Project and how it works before the tutorial, as that could reduce the time needed for the practical part (i.e., some of the people attending to my tutorial had no experience with the BTS or was not really aware about the available distributions). On Saturday I had a half an hour talk about Agile Documentation Tools; unfortunately I had not finished my article, but I had eight pages of reStructuredText and I transformed them into a S5 presentation in 20 minutes (the talk was about agile documentation tools, wasn't it?). As usually happens to me I had a lot of material and I ended up giving a two hour talk based on an unfinished article (I wanted to add a table comparing the features of different lightweight markup languages, but I was unable to complete it before leaving to Barcelona)... my excuse for doing such a long talk is that I asked to the public if they wanted me to stop, but they were interested and participative and I ended up using all the slides. As I talked so much I was unable to attend other talks, but I had a good time at the Jornades and met a lot of good people. I imagine that I'll probably will come back if they invite me again next year, it seems that they already had some requests for talks... :)

Simon Law: GCC Summit 2006


Forklift
Originally uploaded by sfllaw.
I look forward to going to Ottawa every June for the GCC Summit. I've gone every year since it started in 2003 and have no intention of stopping. That's because it feels so much like a family reunion. Let me explain. The core people who have worked on GCC have been doing it for years. They're people who used to work for Cygnus Solutions, back before they were bought out by Red Hat. They're people who work for CodeSourcery. And they're people working for Intel, HP, and IBM who are compiler writers first and employees second. And they all know each other like dysfunctional family. When I first showed up at the first Summit, Jim and I were the new kids. We had just finished typesetting the Using GCC manual that was published by GNU Press. So I went around absorbing compiler technology by osmosis, and trying to get as many developers to sign by pre-press draft. The nice thing about the GCC Summit is that there is only one track of talks. So you never have to choose between two talks that you're interested in. It's a little bad though, since you're always tempted to check your e-mail when there's a lull in the interestingness of the presentations. This year, the focus seemed to be on profiler-driven optimizations. I'm not really sure those are very profitable, as they actually require developers to run their applications as part of the build system. And we all know that humans are lazy. But perhaps I underestimate the heroics that build-systems people will go through to squeeze out that extra ounce of performance. Danny Berlin and Kenneth Zadeck talked about dataflow analysis and getting rid of the terrible implementation inside GCC. I had heard horror stories about flow.c before, but have yet to actually look inside it. Their talk has disuaded me even more. The last thing that sticks in my mind is the GDB talk, which seemed to be the only toolchain talk this year. But these things wax and wane. I skipped out on the afterparty this year, which meant that I couldn't help with the monumental challenge that awaits us after each summit. But I shall return.

Next.

Previous.