Dear Lazyweb,
What is the JSF 1.2 XML-Syntax equivalent for
<img src="<c:url value='/static/foo.png' />" />
(this will make the URL relative to your application root, not to your
web server; so if the app is installed in /foobar, the resulting URL
will be /foobar/static/foo.png)
My preferred solution would have a useful src= value so an XHTML browser can
still display the page. Same for CSS stylesheets, links and similar.
Please send me an email at erich@debian.org, I'll update the entry.
(Comments are intentially not enabled.)
Thanks.
[Update: at least in apache myfaces, this should work (untested):
<c:url value="/static/foo.png" var="url" />
<img src="$ url " />
However, the template file won't render approximately in a regular browser.
For easy-to-edit templates it would be nice to have an actual value in the src
property. I have an idea how that could work with custom tags...]
I was sorry to see the announcement by
Danny O'Brien of among other things
Need To Know that
he's been doing poorly. Danny's a stand-up guy of the old school, and although we've never been hugging friends I consider him a pal of some sort.
So it's bad to hear that he's Down and Out. I hope that he gets back Up and In, and returns to his
m tier of stickin' it to the Man.
tags:
danny obrien poorly get well soon
Aubanerie
Amita June and I took a walk up to the Aubanerie on Mont-Royal to get some winter accessories. Winter in a snowy country means that you have to have a large stock of the little bits of knitted cloth that keep the ambient air from freezing the skin off of your bones: hats, gloves, scarves, woolly socks, ear muffs, long underwear.
Our first winter in Montreal, I had like 1 hat, 1 pair of gloves, 1 scarf, etc. I spent maybe 30 minutes a day wandering around the house looking for one or the other of them before going outside. Given that when it's -20C outside, you just can't leave the house without any of these accessories, it was kind of a big waste of time.
So now we have a common pool of wintery clothes for the household. 5-6 toques, a few scarves, a vaguely sinister basket of gloves that look like severed hands, a ton of socks, etc. Sometimes I leave the house with two toques -- one in my pocket and one on my head -- Just In Case.
The Aubanerie up the street is pretty great for buying cheap-o accessories. They have some stuff at Dollarama and other $1 stores, but they tend to be either really thin, really small, or sold in separate chunks so each item costs only a dollar. The Aub has OK stuff that doesn't look too ridiculous.
Amita June is getting to be quite a walker -- we didn't bring the stroller for this trip. She just toddled up the street, and although we stopped and looked at a lot of sticks and pebbles and porches, we made pretty decent time for a 15-month-old and her papa. On the way home I wore a new toque and Amita June had a new pair of mittens linked with string, as if one were the astral projection of the other.
Now she's asleep -- shopping is hard work -- and papa gets to work a little more on trying to make Wikiwyg work.
tags: amitajune shopping montreal winter clothes aubanerie
Mon Qu bec
While searching for info on the Aubanerie on Google, I stumbled across Wiki Mon Qu bec, a Russian-language wiki about Montreal and Quebec. Fantastic.
tags: monquebec quebec russian wiki
Winter is mercilessly arriving in Mexico City. This is the third day we get an average temperature of 10 Celsius (although the first day it happens with a nice, unclouded sky, as Winter is usually offered here). People wear jackets everywhere, and every conversation starts with mention of the cold weather. Of course, remember very few people have any kind of heating here, as the lowest we ever get is close to the freezing point.
In general lines, I enjoy our winter. However, something happened today that made me have apocalyptic visions: Automatic, synthetic and terrible Christmas music. Yes, somebody brought to the office musical Christmas decorations. I have two choices: Listen to my music loud enough to bother other people (and drown the Christmas chimes) or just go nuts. Well, three choices. If they don't stop it, I might just short-circuit it so it goes to hell forever.
Working as much with the US as with the UK, Thanksgiving is always a noticeable holiday for me, even if I still have to work. If I had the luxury of the holiday this year, I'd be
- Staying up all night to follow The Ashes. Sporting competitions founded in the 1880s don't have much regard for television and radio audience hours, alas.
- Going to evensong at York Minster. The intimate and historic choir is an amazing experience at this time of year, as the candles take over from the weak winter sun.
- Encouraging people to use the holiday to prepare their submissions for XTech 2007. Springtime in Paris and top technology seems like something to look forward to.
As it happens, I'll do No. 3 anyway and reluctantly miss out on the others. Happy Thanksgiving to my friends and colleagues in the US.
Kinnison points out a fantastic
patent application,
in which claim nine makes the attorney, and 'inventor',
simultaneously look incredibly stupid (but the attorney in the first place
reasonably clever, up to a point).
Funny though that is, it still has nothing on the patent for a
circular
transportation facilitation device that a Melburnian took out a few
years ago. I don't know what's worse: that it got through, or that you just
expect it to have gone through.
There has been a lot of interest recently in the
VFX VoIP service launched by WorldXchange (WXC), no doubt partly driven by the fact that there is no monthly charge until April 2007. I had a spare Linksys PAP2T so I thought I would try the service out to see how it performed.
The signup process didn’t go anywhere near as smoothly as it did when I signed up for my WXC DSL connection. The online signup form tried to force me to select a new WXC DSL Plan (I don’t want to do that, I want to keep my old plan with free National traffic). Despite trying several times and making sure that the only checkbox ticked was VFX each time, it refused to let me go any further.
Giving up on the web form, I rang the WXC helpdesk who answered promptly. It is easy to see why WXC won the 2006 award for best call centre. Every time I deal with them over the phone it is a pleasant experience. This time was no exception. The CSR I was talking to explained that the webform was dying because I tried to use a VFX username that differed from my WXC DSL username. There was no mention of this restriction on the website! Anyway, 15 minutes later, with my MAC address taken down and my voice recording completed, I was told we were all done and that I would receive my welcome email and account details with 2 working days!
24 hours later I received the email with the details, followed promptly by a phone call from WXC CSR who was ready to talk me through the process of setting up my PAP2. Configuring the PAP2 was a simple procedure, I had to copy and paste a URL into the Provisioning Rule field of the web interface and reboot the device. It then downloads configuration information directly from WXC (based off the device MAC adddress) and configures itself. I was up and running with dial-tone about 2 minutes after receiving the email. Very smooth. I understand that the process is even easier if you purchase a pre-configured PAP2.
The downside to the whole scheme is that in trying to make the process as simple as possible WXC has locked the entire system down very tightly and remove a lot of the flexibility that I would desire. In particular my PAP is now completely locked, I can’t access any of the web interfaces, and even the dial-in prompt on the PAP2 replies with a curt “cancelled” before hanging up. There is no way for me to configure the second line of the device to talk to a second SIP provider. Apparently WXC will create a custom configuration for me so that I can still use the second line, but I imagine this requires giving them all my account details for my second SIP provider, which I’m not sure I’m comfortable doing.
It also appears that WXC has an arrangement with Linksys such that every PAP2 now sold in New Zealand comes pre-configured to be used with WXC. I haven’t had a chance to look at one of these PAP2s yet, but if it were to turn out that I had to contact WXC to remove the locking on my PAP2 before I was able to use it with another VoIP provider I would be fairly annoyed.
The MyVFX portal is very underwhelming. It insists on opening itself in a new browser window, and isn’t integrated with the rest of the WXC/VFX website. From what I can make out it’s just a branded frontend on to the management system that WXC has purchased. The user interface is reminiscent of the design of the 1990s. I think there is a lot of potential for WXC to improve the experience in this area and I doubt that the average user would be comfortable updating settings via MyVFX in its present state.
On the technical side of things the VFX service seems to be fairly well designed and secured. The devices are provisioned and configured using the Linksys/Sipura provisioning tools, which appear to encrypt all conversations with the device. The setup process downloaded two configuration files and a firmware file (v 3.1.10) to my PAP2. Both of the configuration files were binary and appear to be encrypted. Interestingly it appears that WXC downgraded the firmware from 5.1.1 to 3.1.1 during the provisioning process. The MyVFX portal and SIP server appear to be using some sort of
BroadWorks device.
The device fetches it’s configuration file from the WXC server every time it is powered on, so it will be easy for WXC to push out updates and configuration changes as they desire. The VoIP side of things is performed using SIP, which appears to be using standard HTTP Digest authentication. The username and passsword for this being hidden inside the encrypted configuration files which are downloaded to the device. The voice data uses the G.729 codec inside an RTP stream, and from a few short calls seems to be relatively good quality.
Conclusion
Overall, VFX seems like a very easy to use and simple service. Simple being the keyword. By locking down the devices so securely and preventing people from using softphones and devices other than Linksys equipment I imagine many people like myself are excluded from the potential market. I can’t see myself keeping the service after I have to start paying money for it. But I would definitely recommend it to friends and family who are looking for a simple, easy to use VoIP system.
I skipped a week or two due to injury and lack of energy, but here are
some more items for dwn.
d-i etch RC1 was
released,
featuring a 2.6.17 kernel, easy setup of encrypted LVM, improved
installation automation, and the return of installation floppies for i386,
plus many other improvements and bug fixes. The improved NSLU2 support in
this release in particular seems to be attacting a lot of attention. An RC2
with 2.6.18 is due soon.
A release update was
posted by
Steve Langasek, it discusses an update of the timeline for release, calls
for increased testing of etch, updates the release goals, and last but not
least, unveils the codename for etch+1:
lenny
Changes are afoot to ftp-master.debian.org. While not yet officially
announced anywhere, it's moved to a new, much more powerful
server with
terabytes of disk. Also, a new gpg key has been added that will be used to
sign etch's release files for the lifetime of etch. Since this key isn't
yet in the
debian-archive-keyring package, there might be some minor
issues when using apt, and
debmirror is known to be broken by the unknown
key. For now, the new key (6070D3A1) can be downloaded from
subkeys.pgp.net.
apt-zeroconf was
announced
by Franz Pletz. This is a decentralised apt cache that uses avahi to find
other instances of itself on the LAN and share packages back and forth.
Perhaps this will be useful at the next DebConf, which is now
open for registration.
The browser generally known as Firefox 2.0 has reached unstable as a
new
iceweasel package.
Bug #354622
contains the sad backstory to this renaming.
I'm using SMTP over dialup to my smarthost. Unfortunately that doesn't stop spamassassin
to think I am a spammer:
Received: from tesla.df7cb.de ([88.198.227.218] ident=postfix)
by merkel.debian.org with esmtp (Exim 4.50) id 1Gm6h1-0001Fw-26
for ???@qa.debian.org; Mon, 20 Nov 2006 03:48:03 -0700
Received: from volta.df7cb.de (dslb-084-058-218-241.pools.arcor-ip.net [84.58.218.241])
by tesla.df7cb.de (Postfix) with ESMTP id 2F5364475D
for <???@qa.debian.org>; Mon, 20 Nov 2006 11:48:24 +0100 (CET)
Received: by volta.df7cb.de (Postfix, from userid 1000)
id BBABE18E95; Mon, 20 Nov 2006 11:49:32 +0100 (CET)
0.1 FORGED_RCVD_HELO Received: contains a forged HELO
0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address
[84.58.218.241 listed in dnsbl.sorbs.net]
1.8 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
[Blocked - see <http://www.spamcop.net/bl.shtml?70.103.162.29>]
2.5 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL
[84.58.218.241 listed in sbl-xbl.spamhaus.org]
1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP
[84.58.218.241 listed in combined.njabl.org]
My previous solution was to use an openvpn tunnel to the smarthost, but my
current one (provided by
codebreaker)
is a vserver, so that doesn't work.
Ganneff
provided the workaround: make postfix drop the Received: header.
[0] cb@tesla:~ $grep header /etc/postfix/main.cf
header_checks = pcre:/etc/postfix/header_checks
[0] cb@tesla:~ $cat /etc/postfix/header_checks
/^Received: from [a-z]*\.df7cb\.de \(dslb-[0-9.-]*\.pools\.arcor-ip\.net/ IGNORE
Received: from tesla.df7cb.de ([88.198.227.218] ident=postfix)
by merkel.debian.org with esmtp (Exim 4.50) id 1GmX3t-0000Pw-4I
for ???@qa.debian.org; Tue, 21 Nov 2006 07:57:27 -0700
Received: by volta.df7cb.de (Postfix, from userid 1000)
id 69AB218EAC; Tue, 21 Nov 2006 15:58:57 +0100 (CET)
Of course this is a gross hack, but I'm happy with it :)
(No, this is not security related. Some people call screensavers hacks . But I did get your attention, didn t I?)
Whenever I happen to run gucharmap, I like to just browse and have a look at all those weird characters other people, especially asian, are using: A lot of them look really cool. So I thought: This would be a great screensaver.After some API digging I created that screensaver. It uses fontconfig to open the FreeSans and the DejaVu Sans fonts, selects a random glyph from these and display s it full screen. Below, the unicode code point and characer name are printed. After a few seconds, the next character is displayed nothing else, nothing hectic, quite relaxing.When you
download the code, you will find a file uncode.c , which is the hack itself, a file unicode-names.h , which is taken from gucharmap and only slightly modified, as well as a buch of files from the xscreensaver distribution. To re-compile the binary, use the script compile , which runs gcc with flags I stole from the xscreensaver Makefile. I know this build system is everything but correct or sensible, but it works for me...Unfortunately I don t think it can be included in xscreensaver, as it depends on libfontconfig. If someone would rewrite it using only libX11, this might be possible, so if you like it, feel free to steal the idea.
Well, I finally got around to doing it -- I signed up for an
i-name on
2idi.
i-names are a universal identification format for the Internet -- kind of like
OpenID, but a lot more centralized and a lot more authoritative.
My i-name, for example, is =evan.prodromou -- a brief little string that doesn't really say that much. But you can make it an URI with an "xri:" prefix, and it can be resolved at
http://xri.net/=evan.prodromou is the canonical link to my blog, and
=evan.prodromou/(+work) is the canonical link to my work. I can change the forwarding when I change blogs (or work, or whatever).
It's a neat system, and I guess it's pretty complimentary with OpenID.
OpenID 2.0 will support i-names for login, although I'm not sure how well it works. I'm going to be upgrading Wikitravel to use the new OpenID libraries soon, so it'll be i-names capable... and I'll need a testing account, of course.
tags:
i-names openid identity
Contributions from iterating.com
ITeRating has contacted me looking for ways of
exchanging data with Debtags.
There have been various outcomes of this:
One of Sarah's co-workers at VMware invited us to a "no so very
thanksgiving" Thanksgiving dinner/shindig at her house this weekend.
One of the other co-workers had a relative with a liquor store that had some
surplus kegs of beer, so there was a keg there as well.
Turns out from conversation that one of the things that happens in College
(or maybe it's a Frat-house thing) is the keg stand. This involves one doing
a handstand on top of the beer keg, whilst two other people hold you up
there, and third person shoves the hose in your mouth and you drink until
beer comes out of your ears or something. Mmm, hygienic.
Anyway, somehow it was decided that that had to be done, and the key who
brought the keg was only going to do it if someone else would do it, so I
volunteered, to see what all the fuss was about.
It wasn't terribly eventful. No beer came out of my nose. I don't think I
got exceptionally
pissed from it, either. I think it's got
mythical status for rapid intoxication like drinking through a straw
supposedly has.
So now I know what a keg stand is, first hand.
Everyone was very polite at the party. We couldn't stand around for very
long without other people introducing themselves to us. It was nice. Turns
out it's a small world, and we met Carol, who knew Kate, the receptionist in
my building at work.
In two weeks (Dec 3rd) there will be presidential elections in Venezuela. This will be the third time where Hugo Chavez, the current President, will be participating in the elections. The first time, in 1998, he won by 62%, then dropped to 59% in 2000 and currently some polls are giving him between 50 and 60 percent of vote intention. Since 1998, we’ve got a very active electoral movement and controversial situations which have raised very diverse opinions about our electoral system. If I recall correctly, in 1998 people voted using optic forms. In that moment, spanish Indra was the company in charge for the machines and most of the technology used in the elections. That was the time where the Supreme Electoral Council depended on the Executive power, i.e., the President. In 1999, Chavez proposed to rewrite the Constitution, and the National Electoral Council became an independent power. This Constitution was approved in two referenda in 1999, where touchscreen machines were used.
In 2000, after the new Constitution was approved, new presidential elections were made. The same touchscreen machines were used and we made a transition between Indra and a multinational holding named Smartmatic. In 2004, after two millions and a half of signatures were gathered to recall Chavez presidency, the revocatory referendum was made, using the Smartmatic machines. Almost six million people voted to maintain Chavez in power. Of course, after eight years of the same party in the power, as well as other problems (namely a national strike and a Coup d’Etat in 2002), several ideas arised regarding the legitimacy of the election process.
Today, the National Electoral Council released a flyer in the press, where they try to issue these topics. I must recognize that, being a newbie voter, I was unaware of several of the things they published today. For example, 8 of every 10 venezuelans over 18 are signed for voting in the elections. That’s one of the higher percentages of public awareness about elections in Latin America, higher than, for example, Colombia. That means 16 million people are able to vote, and we’re used to get around 60 percent of participation.
We do vote with touchscreen machines, and the results are completely computerized. The military guards all the equipment, and provides security to the randomly elected civilian which work as temporary personnel. Members of every involved party are present in all the election centers, as well as national and international observers. After you’re checked to vote, you have to give your fingerprint in a special biometric device. This is transmitted live, were possible, avoiding two people voting in the same day. After you vote, your finger is marked with silver nitrate, which goes away after two days or so. Of course, you’re only allowed to vote if you don’t have the mark in your fingers. The touchscreen machines prints a paper which you put into the traditional box. After the voting has concluded, more than half of the boxes will be opened and checked against the information in the machine. The boxes subject to this check are randomly selected, as well.
A brief thought about the software used in the machines. In 2004 or so, we (the Free Software Community in Venezuela) struggled and made pressure to the National Electoral Council to reveal the code and publish it wide open. This has been achieved until some point, since every interested person or organization is allowed to take a peek at the code. Dozens of organizations have already done so and are impressed by the features that are now present in the code. Before the first vote is registered, the machine prints a zero-vote confirmation, and then subsequently randomizes the order of the votes registered in memory. Only after all the election centers are closed, the machines start transmitting information.
This year, three hours past the closing time we’ll have the results. The final and most important, from my point of view, argument held to support our election system is the random queue organization at the election centres. The registry is sorted by ID number, the votes are randomly stored in the memory and the biometric device is used in a per-arrival basis. Therefore, since nobody takes the same time to vote, the queues will be unarranged therefore making it quite difficult to determine a possible vote sequence. This has been certified lately by the European Union, the Organization of American States and other organizations. Whoever wins this election, I’m quite confident about our election system. I just hope that other institutions in our Country start using reliable systems (for example, the national ID office) in order to give at least the feeling of being in a rightful State.
I've been playing with Google for your Domain over the past couple of weeks for Angie and my's email. A few observations so far:
1) Still a bit worried that Google now has a pile of my data. I don't know that there's a way to resolve this. I'm wondering if there's a way of doing GPG overlays onto gmail? For the most part I don't really care, but it would be nice to preserve the option of doing a local decryption.
2) It's nice to use my email address for my Jabber account finally. No more having to remember to check the gmail account from time to time to see if someone decided sending an email there would be a good idea. I should probably do the same with my hotmail account.
3) Google talk and Orkut don't play along with GfyD.
4) Google's incremental improvements are cool. In the past week they added customised start pages, which means that I can see my mail and calendar from a start page. The start page isn't as fully featured as the original start page (historical searches, various customer applets, etc. don't work), but looks alot like it did awhile ago.
5) gmail doesn't have a way of filtering on mailing lists. This annoyed me at first, but now is more of a reminder that I should unsubscribe from lists that I don't actually read anyway. The volume on the rest is low enough that I can continue to filter by hand.
Update: It seems that gmail *can* filter on mailing lists, it's just not documented. I've just setup a filter for listid:bug-gnulist.gnu.org and it seems to work. Use it in the "Has the words" section of the filter. Bug #83778177 filed with gmail for an update to
http://mail.google.com/support/bin/answer.py?answer=7190
Sound Juicer "Wish I Could Stop You From Talking" 2.16.2 is out.
Tarballs are available
on
burtonini.com, or from the
GNOME
FTP servers. Loads of fixes!
- "None" directory path shouldn't create blank directory name (#374831, Adam Petaccia)
- Don't disable re-read when playing (#347218, Stephen Cook)
- Update bacon volume (#369490)
- Set a11y relationships (Robin Sonefore, #364386)
- Fix prefs dialog spacing (#332561, Christian Persch)
- Fix dates with 0s in (#364976, Alex Lancaster).
- Replace spaces with underscores in path_patterns and file_patterns when "Strip
special characters" is selected (#357111, Luca Cavalli).
- Port to automake 1.9, update desktop file for new Bug Buddy (#357682,
Christian Persch)
- Reset the extract speed on every track just in case (#343544).
- Initialise the authentication manager (#356578)
- Show error messages when the pipeline doesn't link (Tim-Philipp Muller, #361151)
- Add 32x32 icon
I'm reporting to you live from Stockhom, where the
Northwestern European Programming Contest has started. Our teams (some even have their own
website) have yet refrained from beating every other team but are trying hard. As expected, team Messed Up from Twente is taking the lead, even though their key contestant just flew in this morning from San Diego...
There's a
live scoreboard available for those at home, and maybe just as interesting, a
live video stream.
The guys here at KTH are doing a good job in organising, even though it was mostly a copy of last year, up to exactly the same lunch and same dinner. We (Jan, Jaap and I) have been participating in the organisation so we'll be prepared for some of the caveats when the contest is coming to Utrecht
next year.
I live almost across from the
Greater Roslindale Dental and Medical Center. I noticed this on a short walk this morning, viewing the Medical Center basement
from the east looking west on Washington Street. I took these photos with my cell phone (I apologize for my thumb in the bottom image — it’s not the most ergonomic design for snapshots). Click on either image for slightly larger versions:

I overheard someone say that an 87 year old man driving a car just flew into the building (not an easy feat considering the design of the intersection — no street actually points in this direction). He apparently at least survived the crash and was taken to the hospital. It’s hard to avoid thinking that this is an eminently predictable and avoidable problem. There are a lot of people out there who shouldn’t be driving. The state should revoke their licenses. The state should also provide a workable alternative for them to get around.
pbuilder tips
Many thanks to Arnaud Fontaine for providing me with the solutions to all
pbuilder problems I had during the last years.
This is what happens to me: someone reports
a bug in
debtags, and it turns
out that the bug needs fixing in
libwibble.
I start by fixing libwibble, then I need to recompile libtagcoll2-dev, then use
it to recompile libept-dev, which I can finally use to rebuild debtags.
A normal pbuilder setup would only take dependencies from apt sources, so I need
to create an APT source with the packages I just built and feed it to pbuilder.
Now, thanks to Arnaud's suggestion, I have the easy way to create the APT
repository:
$ cat update-aptsource
#!/bin/sh
cd /var/cache/pbuilder/result
dpkg-scanpackages . /dev/null gzip -9 > Packages.gz
echo "Running pbuilder update..."
su -c "pbuilder update"
Since pbuilder works in a chroot environment, the easiest way of making it
access the repository is via http. First I put the new repository online:
ln -s /var/cache/pbuilder/result /var/www/debian
Then I add it to /etc/pbuilderrc:
OTHERMIRROR="deb http://localhost/debian/ ./"
Then I tell pbuilder to update the configuration inside the chroots:
pbuilder update --override-config
And finally I can build my stack of packages.
This is probably not rocket science for many DDs. What I'm really appreciating
here is using the minimum amount of pbuilder customization and of lines of code
of extra infrastructure to maintain.
Now, at every compile round, I just need to run that
update-aptsource script
to inject into the system the dependencies that I have just built.
Update: Josh Triplett sent the configuration options to avoid using an HTTP
server and use pbuilder's bind-mount facility:
OTHERMIRROR="deb file:/var/cache/pbuilder/result/ ./"
BINDMOUNTS="/var/cache/pbuilder/result/"