
Not much to say. Just that I am back, now with a mixed English-Spanish blog. I will try to keep entries written in Spanish out of syndicated feed on Planet Debian, but I won’t promise that some entry can slip. It has been long since I had no blog, so it will be a new challenge to try to update it somehow regularly.
Regarding my Debian work, I have to admit that I have become mostly a ‘package and upload’ guy. I don’t have enough spare time to devote to other tasks, so I will mostly try to keep my packages as clean as I can.
My parents found it strange that I spend considerable time in the night doing "some Linux thing", so the other day I explained to them what Free software is and we talked about copyright and licensing. I was very happy that they were able to appreciate it. I also gave a Debian Installer demo.
While there are a bunch of Indian languages supported in the Debian Installer, (Telugu) isn't one of them. They noticed it and motivated me to work on te_IN translation for d-i and promised to help me. So the three of us have been discussing translation strings. I have been committing changes slowly and intend to complete this activity in a few months.
Lack of interest in translation meant that I never gave much thought to it but I see that translating software is rather difficult and it is an activity that would benefit a lot from two or three people doing it together. I found a
glossary at swecha.org but there are a bunch of problems
- Computing terminology is context sensitive and one word doesn't fit all uses.
- A lot of words in the glossary are rather contrived.
- Most words can be understood only by the elite of the Telugu speaking world.
I am using these simple guidelines for translation:
- Use language that is used in the newspapers today. Most people who can read would be used to this and understand it best. e.g password would be rather than .
- Do not invent words. If a certain computing term or a word doesn't have an equivalent colloquial Telugu word, use the English word written in Telugu script. Include the English word in paranthesis next to it. e.g. Registering modules... would be (modules) ...
- If a translated Telugu word sounds complex or ambiguous in the translation context, include the corresponding English word in Telugu as well as English in parentheses next to it. e.g Partitioning scheme: would be ( [partitioning]) :
A few resources that I have been using:
- lekhini - a browser based tool for transliteration based on RTS.
- en2te and uchicago.edu's Charles Philip Brown Telugu to English dictionaries.
- J. P. L. Gwynn's Telugu to English dictionary hosted by uchicago.edu
I will have to find a good quality comprehensive Telugu general knowledge book or an official A.P. govt. document to translate ISO 3166 codes etc. The
Manorama yearbook would've been great, unfortunately Telugu is not one of the few languages it is published in. I will also bring my copy of Sankaranarayan's dictionary from my next month Hyderabad visit.
If you have suggestions on any of these (pointers to guidelines, resources that are DFSG free and I could copy from etc.) that would make doing this easy for me, please do let me know.
Naidu does good one-off Telugu string translations in Launchpad (so does
praveenkumarg, btw), and Naidu has promised to do some of the work as well as review. If all goes well, I will try and create a debian-10n-telugu sometime in the future.

After a few years of only buying laptops with Intel hardware, today I bought something totally different. It's not really what I wanted (which was an HP HDX 16t) but I get the feeling that none of these 16" HD 1080 laptops will make it to New Zealand for a while yet, and the NZ dollar has done such a nosedive recently that it's better not to wait any longer.
In the places that hold stock there seem to be some good specials around at the moment, and as the owner of a new
free, open-source consulting business (i.e: a cheap bastard) I went shopping for the cheapest dual-core I could find with a half-decent screen, and I found the Asus X53K for $999 (USD$589) at Dick Smith, including a 2G ram upgrade to take it to 3G. It's entirely non-intel, with a 2GHz Turion dual-core, ATI Radeon X2300 with 1440x900 panel, Atheros AR2425 wifi and 160G HD. I'd bought a replacement 320G hard drive even before I got the laptop, so now I have a pristine, unbooted 160G hard drive with the install files for some other OS on it - no doubt I'll find a use for the disk, at least!
Since AMD got ATI to release all their chip documentation earlier this year I felt able to shell out for this, rather than the extra $100 for the model next to it, and it was nice too to get home and find that
Atheros have recently released the HAL for their a/b/g chips. Which presumably means that they haven't done so for their 'n' chipsets, and I should continue to steer clear of that technology for a while yet...
I'm running Debian GNU/Linux 'Sid' on the Asus X53K and, everything pretty much just works out of the box. My installation process was to rsync the old laptop onto a new disk, and boot the new laptop from that - after compiling a new kernel more appropriate to the changed hardware.
After overcoming my own stupidity in not syncing the /dev/ underneath udev, which I easily googled my way out of, the only problem I've found so far is that the free radeon driver doesn't do 3d for me. Presumably the non-free ones would, but they won't compile against my 2.6.27 kernel so I don't know for sure. Fortunately I don't use 3d for anything so it's not a huge inconvenience to me. With 3G RAM and a fast 320G hard drive the laptop actually
is an upgrade for me, too, and it has a webcam too, which I expect I'll look at in much the same way as I did the fingerprint reader on the old laptop. It will be good to finally hand that old one back to Catalyst, too, who have given me the flexibility to take my time on this.
Now to try and peel off all these stickers without damaging anything!

Anand Kumria
wrote:
If IBM were to go bankrupt, would the government step in? Unlikely. Investors would lose (money), staff — another word for investors — would lose (jobs), but customers would win (their computers would keep working). Some customers would win more than others (especially those who had the equipment on lease); if no one is collecting, why pay?
I’m wondering here where Anand got the idea that once a company went bankrupt, that you don’t need to pay to that company anymore. When a company goes bankrupt, at least in Germany the following happens: A trustee/liquidator is selected. This liquidator is then collecting the information who owes money to the company and who still needs to get (how much) money from it. The liquidator also has to check the option of selling company assets (which might include the contracts of customers that still have to pay) to fulfill the debts of the bankrupt company. After he turned all assets into money, the money is distributed among those who still have to get money from the bankrupt company.
Anyway, regarding his main argument that the (average) customer of a company (bank in this case) should never have to pay for the failed speculations of that company, I somehow have to agree with him. Someone putting money into a regular bank account or papers with fixed interest rate should never lose his money. But there are also customers buying bank shares with a chance of higher revenue than with fixed interest rate papers. These should suffer from failure of the bank management, as they more or less explicitly wanted to be tied to the success (or failure) of the bank.
However, this is mostly irrelevant, since the failure of so many “investment banks” has side affects that might cost the average inhabitant of the affected countries even more than the discussed rescue plans. One of these effects is that the banks are now much more conservative regarding lease and mortgage plans, effectively leaving many home owners with no option to fulfill previous obligations (remaining debt after a previous mortgage expired can’t be refinanced by a new mortgage), causing them to have to sell their homes to pay the first mortgage. This is in some way stupid because this causes people who were perfectly paying their mortgage rates to loose their house, while the bank which would be giving them a new mortgage could get a new and good customer, improving their income. On the other hand, if the other side effects of the current crisis cause those “good” mortgage customers to loose their jobs, they might turn into bad customers who are unable to pay their rates. All in all, this is a spiral that could cause the whole economy to break down (a small example: The bank is not giving out mortgages, so no one will build new houses so the builders loose their jobs so they don’t pay their mortgage rates anymore,…. - over simplified, but still shows what I mean). Unless the spiral is terminated in time, before too drastic things happen.
All in all, I do understand why the politicians try to rescue those banks (or at least the customers of those banks), though I think that in an economy with slightly higher regulation, there wouldn’t be the need for such a rescue plan. I know there are some german banks affected by the crisis as well (among them Hypo Real Estate and others), but the average private customer of such banks shouldn’t loose money due to the regulations we have in place.
In general, there should be some security fund which makes sure that private customers never loose money put into regular bank accounts or fixed interest papers, vice-versa, banks should calculate mortgages so that they can be pretty sure their customers are actually able to pay off their rates - it doesn’t make sense if someone starts off having to pay 500$/month for their mortgage and has to pay over 1000$ a few years (as in 2-3 years) later, because the bank raised the interest that much. I have no problem with people loosing money from shares of banks or other companies directly or indirectly through investment funds.
ELF has two related concepts for managing symbols in your programs.
The first concept is the symbol binding. Global binding
means the symbol is visible outside the file being built; local
binding is the opposite and keeps the symbol local only
(
static) and weak is like global, but suggests that
the symbol can be overridden.
$ cat syms.c
static int local(void)
int global(void)
int __attribute__((weak)) weak(void)
$ gcc -o syms -c syms.c
$ readelf --syms ./syms
Symbol table '.symtab' contains 10 entries:
Num: Value Size Type Bind Vis Ndx Name
...
5: 00000000 8 FUNC LOCAL DEFAULT 1 local
8: 00000008 8 FUNC GLOBAL DEFAULT 1 global
9: 00000010 8 FUNC WEAK DEFAULT 1 weak
...
This is all well and good, but starts breaking down when you want
to load many different modules and keep strict API's (such as, say,
dynamic libraries!).
Consider that for two files to share a common function, the
function must end up with a global visibility.
$ cat file1.c
void common_but_not_part_of_api(void)
$ cat file2.c
extern void common_but_not_part_of_api(void);
void api_function(void)
common_but_not_part_of_api();
$ gcc -shared -fPIC -o library file1.c file2.c
$ readelf --syms ./library
Symbol table '.symtab' contains 60 entries:
Num: Value Size Type Bind Vis Ndx Name
...
53: 00000424 29 FUNC GLOBAL DEFAULT 11 api_function
55: 0000041c 5 FUNC GLOBAL DEFAULT 11 common_but_not_part_of_api
...
In the example above, both the function we want exported
(
api_function) and the function we don't wish exported
(
common_but_not_part_of_api) end up with exactly the same
attributes. Binding attributes are useful for the linker putting
together object files; but aren't a complete solution.
To combat this, ELF provides for visibility attributes.
Symbols can be default, protected, hidden or
internal. Using these attributes, we can flag extra
information for the dynamic loader so it can know which symbols are
for public consumption, and which are for internal use only.
The most logical way to use this is to make all symbols by default
hidden with
-fvisibility=hidden and then "punch holes
in the wall" for those symbols you want visible.
$ cat file1.c
void common_but_not_part_of_api(void)
$ cat file2.c
extern void common_but_not_part_of_api(void);
void __attribute__((visibility("default"))) api_function(void)
common_but_not_part_of_api();
$ gcc -fvisibility=hidden -shared -fPIC -o library file1.c file2.c
$ readelf --syms ./library
Symbol table '.symtab' contains 60 entries:
Num: Value Size Type Bind Vis Ndx Name
48: 000003cc 5 FUNC LOCAL HIDDEN 11 common_but_not_part_of_api
54: 000003d4 29 FUNC GLOBAL DEFAULT 11 api_function
Now the dynamic loader has enough information to distinguish
between the two, and can stop any external access to
common_but_not_part_of_api easily.
This extra information also has potential for performance
improvements. Any time a symbol may be overridden, the compiler must
generate a program lookup table (PLT) entry for the function so
that the dynamic loader can re-direct the function call. The PLT is a
trampoline which gets the correct address of the function being called
(from the global offset table, GOT) and bounces the function
call to the right place. An example should illustrate:

In the first example, there was not enough information to tell if
the function would ever be able to be overridden, hence a PLT entry
had to be created and the function called through it (disassemble it
to see the details!). With correct symbol visibility attributes,
there is enough information to know that
common_but_not_part_of_api is never to be overridden, hence
the PLT (and the associated costs of trampolining) can be avoided.
The internal attribute is even stricter; it says that this
function will never be called from outside this module (for
example, we might pass the address of
common_but_not_part_of_api to anyone). This can lead to even
better code, because on many architectures transitioning to another
module might involve flipping global pointer registers or other
similarly expensive operations.
So that's how symbol binding and visibility attributes can work
together to get you the best performance possible from your
program!
A recent news item is
the “hacking” of the Yahoo mailbox used by Sarah Palin (the Republican VP candidate) [1]. It seems most likely that it was a simple social-engineering attack on the password reset process of Yahoo (although we are unlikely to learn the details unless the case comes to trial). The email address in question had been used for some time to avoid government data-retention legislation but had only been “hacked” after she was listed as the VP candidate. The reason of course is that most people don’t care much about who is the governor of one of the least populous US states.
Remote attack on a mailbox (which is what we presume happened) is only one possible problem. Another of course is that of the integrity of the staff at the ISP. While I know nothing about what happens inside Yahoo, I have observed instances of unethical actions by employees at some ISPs where I have previously worked, I have no doubt that such people would have read the email of a VP candidate without any thought if they had sufficient access to do so. If an ISP stores unencrypted passwords then the way things usually work is that the helpdesk people are granted read access to the password data so that they can login to customer accounts to reproduce problems - this is a benefit for the customers in terms of convenience. But that also means that they can read the email of any customer at any time. I believe that my account on Gmail (the only webmail service I use) is relatively safe. I’m sure that there are a huge number of people who are more important than me who use Gmail. But if I was ever considered to have a reasonable chance of becoming Prime Minister then I would avoid using a Gmail account as a precaution.
There is a rumoured Chinese proverb and curse in three parts:
May you live in interesting times
May you come to the attention of those in authority
May you find what you are looking for [2]
In terms of your email, everyone who has root access to the machine which stores it (which includes employees of the companies that provide warranty service to all the hardware in the server room) and every help-desk person who can login to your account to diagnose problems is in a position of authority. Being merely one of thousands of customers (or millions of customers for a larger service) is a measure of safety.
As for the “interesting times” issue, the Republican party is trying to keep the issue focussed on the wars instead of on the economy. The problem with basing a campaign on wars is that many people will come to the conclusion that the election is not about people merely losing some money, but people dying. This could be sufficient to convince people that the right thing to do is not to abide by the usual standards for ethical behavior when dealing with private data, but to instead try and find something that can be used to affect the result of an election.
Mail that is not encrypted (most mail isn’t) and which is not transferred with TLS (so few mail servers support TLS that it hardly seems worth the effort of implementing it) can be intercepted at many locations (the sending system and routers are two options). But the receiving system is the easiest location. A big advantage for a hostile party in getting mail from the receiving system is that it can be polled quickly (an external attacker could use an open wireless access-point and move on long before anyone could catch them) and that if it is polled from inside the company that runs the mail server there is almost never any useful audit trail (if a sysadmin logs in to a server 10 times a day for real work reasons, and 11th login to copy some files will not be noticed).
One of the problems with leaks of secret data is that it is often impossible to know whether they have happened. While there is public evidence of one attack on Sarah Palin’s Yahoo account, there is no evidence that it was the first attack. If someone had obtained the password (through an insider in Yahoo, or through a compromised client machine) then they could have been copying all the mail for months without being noticed.
It seems to me that your choice of ISP needs to be partly determined by how many hostile parties will want to access your mail and what resources they may be prepared to devote to it. For a significant political candidate using a government email address seems like the best option, with the alternative being to use a server owned and run by the political party in question, if you can have the staff fired for leaking your mail then your email will be a lot safer!
Share This
One ongoing problem with TCP networking is the combination of RPC services and port based services on the same host. If you have an RPC service that uses a port less than 1024 then typically it will start at 1023 and try lower ports until it finds one that works. A problem that I have had in the past is that an RPC service used port 631 and I then couldn’t start CUPS (which uses that port). A similar problem can arise in a more insidious manner if you have strange networking devices such as a
BMC [1] which uses the same IP address as the host and just snarfs connections for itself (
as documented by pantz.org [2]), this means that according to the OS the port in question is not in use, but connections to that port will go to the hardware BMC and the OS won’t see them.
Another solution is to give a SE Linux security context to the port which prevents the RPC service from binding to it. RPC applications seem to be happy to make as many bind attempts as necessary to get an available port (thousands of attempts if necessary) so reserving a few ports is not going to cause any problems. As far as I recall my problems with CUPS and RPC services was a motivating factor in some of my early work on writing SE Linux policy to restrict port access.
Of course the best thing to do is to assign IP addresses for IPMI that are different from the OS IP addresses. This is easy to do and merely requires an extra IP address for each port. As a typical server will have two Ethernet ports on the baseboard (one for the front-end network and one for the private network) that means an extra two IP addresses (you want to use both interfaces for redundancy in case the problem which cripples a server is related to one of the Ethernet ports). But for people who don’t have spare IP addresses, SE Linux port labeling could really help.
Share This
One thing I am known to do is complain how the public/academic discourse surrounding/around technology/computers is overwhelmingly male (Lessig, Benkler, Zittrain, Shirky and I can go on and on). But one day I realized that if I am bothered by it, I should do more than talk the (often) empty talk of complaint. So I decided to enroll in a day long
training for writing OpEds, which kicks off tomorrow.
I am not sure if engaging in public debate is what I want to do, mostly because of piling more work and time commitments on a very full plate but I am starting to explore what it means and what it may take to leave the Ivory Tower. Here is a little more info about the OpEd Project:
The OpEd Project - featured by The New York Times, Feministing.com and Katie Couric on CBS News - is an initiative to expand public debate, with an immediate focus on targeting and training women experts across the nation to project their voices on the op-ed pages of major newspapers, online sites and other key forums of public discourse. The lack of diversity on the op-ed pages - which are a source for all other media - deprives the public of robust, democratic debate, especially important in this space which is intended to showcase divergent opinions. It also means we are only hearing from a tiny sliver of the nation’s best thinkers. Imagine a baseball team of only pitchers - how well would it do?
While incorporating some of the podlators fixes into the Perl that will be
released with lenny, Niko Tyni found more problems with the current
implementation. I'd written the test suite to force the output encoding
on the file handle used by Pod::Man and Pod::Text, but pod2man and
pod2text weren't doing that, and hence the output wasn't properly encoded.
I'm finding Perl's Unicode support very tricky, particularly if I want to
support the PERL_UNICODE option that adds input and output encodings on
all file handles. I can't use encode before output because PERL_UNICODE
encoding layers will then double-encode. The approach taken in this
release is to force the appropriate output encoding on the output file
handle (possibly destroying caller state). This works, but it's ugly.
Pod::Text had another problem. Its historic behavior is to copy the input
encoding to the output, but doing that with properly-tagged UTF-8 POD
input means printing out wide characters in the internal encoding,
resulting in Perl warnings. This version now, in the absence of the utf8
option, forces the output encoding to match the input encoding if
possible. This seems like the best compromise and matches its historic
behavior. pod2text now supports a
--utf8 option since it's now
useful to force a different output encoding.
I wanted to get something out to stop the bleeding, but there are a few
problems with the current approach. As mentioned above, I'm forcing file
handle encoding layers, which may destroy encoding layers created by the
caller that were intentional. This implementation also depends on PerlIO
support, which is an optional Perl feature and not always enabled.
I think the right long-term approach is to probe for PerlIO support, and
if present, use it to check the encoding layer on the output file handle.
If PerlIO is not set, or if no encoding layer is present, I can safely use
encode before output, which doesn't mess with the file handle state and is
much cleaner. If PerlIO is present and an output encoding is set, just
trust that output encoding (although if the utf8 option is set and the
output encoding is something else, it may be a good idea to throw a
warning).
I'm not sure when I'll have time to implement this, though, since it will
require another reworking of the code and more testing, and I'm behind on
a number of other projects.
In any event, the current version will work for most people in most
cases. You can get it from the
podlators
distribution page.

I received
some
feedback on
my previous
BeID post, where I explained how to log in to a remote system by use
of your digital ID card.
Philip and Guy both claim it possible or likely that the crypto keys
on eID cards are stored on a system of the government somewhere and that
you therefore should not be using them.
I find this to be jumping the gun a little. Security is always a
trade-off; indeed, if you want to hide stuff from the government, then
using eID-based authentication might not be a very good idea. However,
there are other cases where eID-based authentication really
is
the correct option; and it is nice to know that this kind of thing is
possible. Security always is a trade-off; and if you make an informed
choice, there's nothing wrong about giving someone else access to your
server.
The fun bit is that Philip actually advocates
carrying
a clear-text printout of a list of still-valid passwords. Now
that, I feel, is unacceptable, security-wise. Personally, I'd
rather use a smartcard that only some secret government agency
might be keeping copies of rather than a list that any random
thief might make use of. The question really boils down to this, I
think: how likely do you think it is that someone else will be able to
get at your password by guessing or stealing it?
- Using a password that's related to your person or someone near
you, or is based on a dictionary: rather likely. There are scripts out
there that will guess these passwords. Don't use them.
- Using a printout of a list of one-time passwords: somewhat less
likely (they can't be guessed by script), but still not very hard
(wallets get stolen by the hundreds every day, and it usually takes a
while before one notices)
- Using smartcards with keys generated by someone else: somewhat
unlikely (there may be a few people who know my private key,
but one can't be sure of that; and, color me naive, but I tend to trust
the government to abide by its own laws—for the most
part—laws that prevent this kind of behavior)
- Using strong password: rather unlikely, provided you take care of
them.
What I mean by that last bit is that you should always generate your
passwords with a tool that generates fully-random passwords ('pwgen -s',
for example), and never write them down in cleartext anywhere. That of
course makes it slightly hardish to memorize them; what I do is to store
the password encrypted to my GPG key on my laptop, and I memorize the
password by changing it on a remote server that I need to access fairly
often (Debian's systems will do), but leaving my GPG passphrase and
laptop password as is for the time being. Every time I need to log in to
the remote server, I first try to remember the passphrase. If I can't
remember it, I look it up in the encrypted file (again taking care not
to store the file on disk). Once I start being able to log in to the
remote server
without having to look it up in the file, I
change all my other passwords. This process usually takes a few
weeks. Then, the
only way someone can get my password is either
by coercing me or by killing me and disecting my brain. And then
still.
Unfortunately, in the real world, I realize that many people do not
wish to go through all this trouble just to get a secure login, and
instead just choose a weak password. I guess that's why I think the next
best thing might be slightly better than using strong passwords...
One thing I am known to do is complain how the public/academic discourse surrounding/around technology/computers is overwhelmingly male (Lessig, Benkler, Zittrain, Shirky and I can go on and on). But one day I realized that if I am bothered by it, I should do more than talk the (often) empty talk of complaint. So I decided to enroll in a day long
training for writing OpEds, which kicks off tomorrow.
I am not sure if engaging in public debate is what I want to do, mostly because of piling more work and time commitments on a very full plate but I am starting to explore what it means and what it may take to leave the Ivory Tower. Here is a little more info about the OpEd Project:
he OpEd Project - featured by The New York Times, Feministing.com and Katie Couric on CBS News - is an initiative to expand public debate, with an immediate focus on targeting and training women experts across the nation to project their voices on the op-ed pages of major newspapers, online sites and other key forums of public discourse. The lack of diversity on the op-ed pages - which are a source for all other media - deprives the public of robust, democratic debate, especially important in this space which is intended to showcase divergent opinions. It also means we are only hearing from a tiny sliver of the nation’s best thinkers. Imagine a baseball team of only pitchers - how well would it do?

As mentioned I bought an EEE 901. The battery life was the clincher.
I've had it for about 3 weeks now, but have only really been using it
for a week - since I finished doing my mobile broadband survey and got
an
Orange contract.
I can't really comment on the supplied Xandros install. I used it for a
week or so, with Firefox + a shell for ssh (Ctrl-Alt-T IYF) but once I
found time I installed
Debian. I used the
EEE installer which I think
mainly does the appropriate ethernet driver magic without faff.
Certainly went smoothly and all up and running minus wifi, which was
soon sorted out with the rt2860-source package. Ethernet, bluetooth and
camera all seem fine. SD reader is a USB device that appears when a card
is inserted.
Battery life rocks. I can use it on the morning on the train (1hr30 or
so), suspend to ram all day, use it on the train on the way home and
then around the house in the evening without needing to charge it up.
And that's while powering the USB 3G dongle and without any real tuning
in terms of trying to save power by dimming the screen etc.
The keyboard *is* small. I wouldn't want this to be my main machine.
However it is just about touch typable and the overall machine size is
superb - even if I get a bad seat on the train I can still unfold the
screen fully and it's my arms/elbows that end up being the issue rather
than the laptop itself. I also notice the decrease in screen resolution
down to 1024x600 (my old laptop is 1024x768); I can't fit enough xterms.
:)
Speed seems fine too. I've not really pushed it hard (I've been
resisting installing build-essential) but for a handful of xterms and
Iceweasel it's doing a fine job. Equally firing up mplayer resulted in
perfectly smooth playback of some mpeg4 over the network. Must actually
remember to put something on it to watch on train journeys...
Speaking of train journeys the Orange dongle has integrated without too much hassle. 2.6.27-rc kernels have the appropriate hso driver but I found it caused crashes in areas of low/no signal. Patching up to the latest 1.6 driver solved the problem and adding PPTP to my work VPN into the mix means I can use offlineimap to pull mail locally and then read it with mutt on my journey even when the signal is fluctuating. Hopefully ridiculous starts can be mostly a thing of the past if I can get work done on the train.
What else to say? I'm quite liking the trackpad. The buttons are a bit
stiff, but I'm getting used to the double tap, or tap and drag gestures
in a way I never seemed to on the R200. Wifi reception seems fine. All
in all I'm happy with my choice; the small keyboard is the main drawback
and that's the (acceptable) price I pay for a small laptop.

The original spec for today: Go out to Anna's. Run some cables.
Use case: Joey is in
yurt. Joey has power, and even interwebs.
But this means parking the truck in the area where it got stuck the last two
times. Ok, let's add in getting a load of gravel to fix that. Hmm, if we're
going to get one load of gravel (over one ton already!), might as well
get two...
Hmm, we didn't notice that unloading tons of gravel, for three people with
shovels, is 95% of the planned work for today. Oh well, let's do it
anyway...
Darn, that super-long ethernet cable that was part of the original plan
doesn't work. No link at all, no lights on the cable tester. (Bisection
shows the problem affects only half the cable.) At least the power cable
worked. I guess that ethernet will have to be dealt with in version 2.0..

On my parents' small laptop, Windows would just reboot. Even the repair
functions of Windows would just reboot. No error message you could read, just
reboot, repeat. Linux still worked fine (and my family is fine with using
Linux, fortunately).Linux also allowed us to quickly find out what is wrong with Windows: the hard
disk is damaged (I like operating systems that give you useful error messages
such as "Unrecoverable Error" on your harddisk). And most likely the laptop is
out of warrenty since a month ago, as usual.So I'm now investigating if the Linux partition also contains hardware errors,
or if we might get away with just disabling Windows altogether for some time,
until I get around to buy a replacement harddisk (and a replacement battery,
too). So far, our experiences with Medion/Aldi/Tchibo have been rather bad. The
TFT screen for the main computer is often flickering, but they failed to repair
it in two attempts now. The MP3-CD-Player had stopped reading and the
replacement didn't play MP3 at all. And the laptops batteries were crap (and
why did they put in two small batterys instead of a reasonably sized one?), I
know of a friend where the CD drive of that same model doesn't work anymore,
and now our harddisk is dead with just some 11 days of use total (it was meant
to be a portable system, and my parents have better computers for daily use at
home).If we buy a replacement, it will most likely be a so called "Netbook" with
Linux preinstalled. These tiny systems often come preinstalled with Linux
(because a Windows licence would increase the price by like 50%) and would
fit our requirements pretty well. Not sure which one, though. Maybe an EEE.
The first thing you need to do to get started using the
Amazon Elastic Compute Cloud (EC2) [1] is to install the tools to manage the service. The service is run in a client-server manner. You install the client software on your PC to manage the EC2 services that you use.
There are
the AMI tools to manage the machine images [2] and
the API tools to launch and manage instances [3].
The AMI tools come as both a ZIP file and an RPM package and contain Ruby code, while the API tools are written in Java and only come as a ZIP file.
There are no clear license documents that I have seen for any of the software in question, I recall seeing one mention on one of the many confusing web pages of the code being “proprietary” but nothing else. While it seems most likely (but far from certain) that Amazon owns the copyright to the code in question, there is no information on how the software may be used - apart from an implied license that if you are a paying EC2 customer then you can use the tools (as there is no other way to use EC2). If anyone can find a proper license agreement for this software then please let me know.
To get software working in the most desirable manner it needs to be packaged for the distribution on which it is going to be used, as I prefer to use Debian that means packaging it for Debian. Also when packaging the software you can fix some of the silly things that get included in software that is designed for non-packaged release (such as demanding that environment variables be set to specify where the software is installed). So I have built packages for Debian/Lenny for the benefit of myself and some friends and colleagues who use Debian and EC2.
As I can’t be sure of what Amazon would permit me to do with their code I have to assume that they don’t want me to publish Debian packages for the benefit of all Debian and Ubuntu users who are (or might become) EC2 customers. So instead
I have published the .diff.gz files from my Debian/Lenny packages [4] to allow other people to build identical packages after downloading the source from Amazon. At the moment the packages are a little rough, and as I haven’t actually got an EC2 service running with them yet they may have some really bad bugs. But getting the software to basically work took more time than expected. So even if there happen to be some bugs that make it unusable in it’s current state (the code for determining where it looks for PEM files at best needs a feature enhancement and at worst may be broken at the moment) then it would still save people some time to use my packages and fix whatever needs fixing.
Share This

(long post, you've been warned)
With his
his 'Omelette Post' about FOSS.IN/2008 Call for Participation, Atul Chitnis, the
FOSS.IN team 'leader' indeed sent an strong sign.
For those who aren't aware of it, FOSS.IN is the longstanding major FLOSS event in India and, still (just like our beloved Debconf) only run by volunteers.
Last year, along with Sam Hocevar, I had the chance to attend the event and share the groove of that big, huge, conference, with over 2,000 participants.
Some other Debian fellows also made it in the past (Jaldhar, Bdale...).
During the Debian Project Day as well as regular conference days, we
had the great opportunity to meet with the people who currently
participate in Debian (and Ubuntu) in South Asia, as well as first
meeting some major contributors from other projects. For me, and, I
think, of all people I met up there, this was a great *and
productive* event.
Maybe not productive at the moment it happened, but productive in terms of mutual awareness, knowledge and friendship. All people who attended such conferences (should I say "Debconf" or "FOSDEM"?) know what I'm talking about.
The conference was still quite focused on "real" FLOSS contribution more than evangelizing or politics. And I think it succeeded in it quite well.
This year, I already planned to not attend...mostly because such event, with the associated long travel time, is something I can't really fit in my real life right now. Also, because it conflicts with a planned Extremadura work session, indeed.
Still, I would indeed not have attended it.
Atul's post makes it clear: the even will only be about coding. The point is to put focus on people who code and we do 'real' code. Bug fixing is not coding. Translation effort is not coding. Work on support for complex languages is not coding.
Actually, what FOSS.IN/2008 organizers are trying to do is a kind of big Debcamp. I'm afraid it won't work this way.
From what I have seen in years of participation to Debian, things just don't come up this way. People don't sit down and code because they're invited to. And, still, are only "people who code" the only people that matter in a project?
Debian is sometimes seen as one of the biggest FLOSS projects all around (probably shared with the Linux kernel). How many people in Debian just "sit down and code"? What about those people who maintain our web site, our archive, setup our infrastructure, our new maintainer queue, our communication channels? What about those dozens of people who nicely maintain packages and keep the link with upstream developers, or fix bugs.... Those people do not seem welcomed at FOSS.IN/2008.
"Not only bug fixing" is said in this announcement. This, I don't get it. At all. Why would "bug fixing" be second class work? Why would it be more noble to "code" new stuff? Maybe Atul did not mean to say this. He wants to have Indian contributors in FLOSS to be more visible....but I don't share this. Indian contributors in Debian *are* visible. Giridhar Appaji Nag is visible, "my" translator crew is visible, Kartik Mistry is visible (he once was too visible, even, by maintaining a little bit too many packages...).
Bug fixing is the most noble task I see in FLOSS development. This is what we need the most. I recently blogged about how I feel APT to be 'poorly' maintained (once again, that was not targeted to current APT maintainers). What I would respect deeply is to see a bunch of Indian contributors stand up and take this task over. Atul, that would certainly not be "outsourcing code/package maintenance" and, no, these are not things one can get involved with instantly.
Really, I don't buy this vision and that saddens me. That saddens me mostly because I know the folks there. I know the FOSS.IN organizers and I have deep respect for them. I just think they're missing the target and are too ambitious: one cannot change an event so drastically by just saying it has to change..:-)
And, really, I'm even more sad to see localization work be called a
low-hanging fruit from a country where there are 22 official
languages. Or take words such as "talk is cheap, show me the code" as
$ DEITY 's Holy Word just because it was once said by Linus Torvalds
(who said many stupid things). Code is just one part of FLOSS
development. Certainly one of the important parts but still one part. What would have happened to FLOSS if only "coders" had been working on it all over those years? It would be something used by about 10,000 people all around the world, that's all.
We should not make an opposition between those who code and those who don't. By the way, do *I* code? When I'm sitting at 07:00AM on a Saturday morning, hacking on Samba packages and try to have Samba 3.2.4 built with the set of patches we have on Debian....do I code? I'm not *producing* code....the code was produced by those wonderful Samba Team folks.
Does Karolin Seeger code
when she's releasing samba with such a precise and constant schedule as she's doing since early 2008?
Or Ana Guerrero when
she (not alone!) compiles dozens of KDE packages and organizes and bumps the maintenance of KDE in Debian for the best of our users.
Or Miriam Ruiz when
she picks up each and every possible free game and tries to get it in Debian, talks with upstream developers, help them to fiw their code to suit the severe requirements of the Debian policy?
Or Clytie Siddall when she translates about every major FLOSS in Vietnamese (nor URL here, sorry)?
All these folks are part of the FLOSS game. You want Indians to be part of FLOSS game? Then allow the potential Karolin, Ana, Miriam or Clytie to be part of Indian FLOSS game and don't try to make FOSS.in the place where you seek the future Indian Linus Torvalds and only him her.
Talk is cheap, show me the contribution.

Good news everyone, after long time of inactivity and huge development over
past month, new stable
Gammu release is out. Since 1.20.94, there are
only minor fixes in handling some corner cases in AT parser, but full list of
changes since last stable 1.20.0 is quite long:
- Handle properly empty SMSC (bug #722).
- Disable AT/OBEX for Motorola K1v (bug #721).
- Automatically switch to nodtr connection if DTR/RTS setting fails.
- More verbose debug messages in API.
- Free phone data after testing model to avoid memory leaks.
- Properly handle if IMEI is too long (bug #709).
- Try to handle situation when CMGL does not list all messages.
- Fix typo in MySQL file (bug #716).
- Better parsing of USSD replies (bug #718).
- Properly restore caller groups on Nokia 2630 (bug #706).
- Fix listing of used calendar locations on Nokia (bug #710).
- Properly encode class and coding to SMS (bug #714).
- SMSD for MySQL no longer fails when sending message (bug #715).
- SMSD stores signal and battery state in PostgreSQL.
- Properly handle multiline firmware information.
- Fix crash when decoding EMS pictures (bug #549).
- Motorola phones sometimes reply in UCS2 instead of HEX (bug #712).
- Use native functions sleep/usleep if available.
- Improve FBUS initialization sequence.
- Fixed reading for ringtones from Nokia 5510 (bug #529).
- Do not crash if ringtone name is too long (bug #529).
- Fix possible crash while reading of messages using AT.
- Increase timeout when writing SMS message (bug #596).
- Cleaned up issues with reading from Bluez (bug #670).
- Fixed Windows binary (define properly MSVCRT to use) (bug #683).
- Fixed compilation with CURL on Windows.
- Windows binary now has only MySQL and CURL support (bug #683).
- Fill in timezone information (bug #696).
- Detect reserver message type (bug #691).
- Increase timeout for switching to OBEX (bug #690).
- Disable postal address for Nokia 2600 (bug #659).
- Encode phone number only with phones which need it (bug #654).
- Increase timeout for writing memory entry (bug #654).
- Handle properly when phoned does not tell SMSC (bug #616).
- Initial support for waiting calls in AT engine (bug #551).
- Fixed dialing on some AT phones (bug #471).
- Support for skipping location when reading (bug #467).
- Improved detection of serial port Bluetooth channel.
- SMSD reconnects to MySQL (thanks to Wouter D'Haeseleer).
- SMSD stores signal and battery state in MySQL (thanks to Wouter D'Haeseleer).
- Initial support for reading messages in simple text mode.
- Report if monitor failed because of an error.
- Handle not found errors on OBEX connect (bug #705).
- Report more verbosely that some feature has been disabled on compile time.
- Add ID for Nokia 5200 (thanks to Andreas Metzler).
- Add two IDs for Nokia 2600 (bug #659).
- Add ID for lot's of Sony Ericsson phones.
- Use AT parser for AT+CPBS? reply.
- Use all possible ways to get memory status (bug #687).
- Detect more error codes from Nokia phones (bug #659).
- Fix decoding of text using iconv (bug #687).
- Fix linker flags check, caused failures on MacOS X.
- Add second ID for Nokia 2610 (thanks to Nicolas Forget).
- Add ID for Nokia 6060.
- Try to use OPP and PBAP Bluetooth profiles also (not tested!).
- DumpMessage is not printing last char (bug #692).
- Support for favorite messaging number (bug #693).
- Add ID for Nokia 2630 (bug #693).
- First attempt for Bluetooth support on OS X.
- Do not open debug file for second time when using global debug.
- Fix DC memory name printing (bug #698).
- Add API function GSM_MemoryTypeToString.
- Report correct size of DC/RC/MC memory on DCT4 phones (bug #699).
- Store favorite messaging as phone number, not only as ID (bug #693).
- Avoid empty line at beginning of vCard backup (bug #701).
- Add ID for Nokia 2760.
- Catch not acceptable errors in OBEX (bug #702).
- Operation not allowed is not an unknown problem (bug #678).
- Add ID for Nokia 5000 (bug #677).
- Increase limit of files for DCT4 and check array size (bug #676).
- Allow to enter PIN code from stdin (bug #633).
- Handle HEX reply instead of UCS-2 from Motorola (bug #697).
- Avoid decoding of @ in email address (bug #697).
- ABI change, because of increasing some limits.
- Config file option rsslevel no longer works, superseded by 'gammu checkversion'.
- Dropped GSM_ReadHTTPFile from API, gammu now uses CURL instead.
- Support for longer notes on Nokia phones (bug #607).
- Add deleteallmemory command.
- Ignore trailing spaces in AT commands.
- Fix crash on long lines in vCards.
- Compatibility with broken iWOW responses (bug #650).
- Do not use hard delete flag for updating entries (bug #634).
- Identify Nokia 1200 (bug #649).
- Fix parsing of date/time reply on Sony Ericsson G900 (bug #647).
- Increased limit for folder name (bug #646).
- Fix parsing of empty date (bug #643).
- Recognize general number on Nokia 6230i (bug #655).
- Fix writing of phone number using HEX charset (bug #512).
- Recognize more CME errors, thanks to Paolo oopla@users.sf.net.
You can download from usual place:
http://cihar.com/gammu/, Binary packages
will be available soon.
A comment on Facebook yesterday got me thinking what American "traditional values" are all about. We hear it a lot, and I suspect it means something different to different people.
Here's what it means to me.
It starts with an ethic fundamentally informed by the central tenets of Christianity -- which are also excellent standards of decency by secular standards. We are called to have a relentless drive to care for the repressed, poor, downtrodden. As Jesus said, "whatever you do to the least of these, so you do to me." It means extending the hand of friendship and compassion to all, in our own neighborhood and around the world. It means taking good care of the resources we have, acting responsibly, and affirming and supporting others so they can do the same. It means that, as our founding fathers emphasized, remembering that all people are created equal, are equally deserving of a good life, and deserve liberty and freedom. Finally, it means a constant realization that we are creating a human institution, and will always have an imperfect answer to these ideals, but that we can -- and must -- recognize our faults and strive to make things better.
How do these apply to our time?
We must start with the poor, the repressed, and habitually think of their situation in everything we do. That means remembering that when we drop a bomb in Afghanistan to kill a terrorist, we also usually kill 50 innocent bystanders, and devastate their families. It means remembering that illegal immigrants from Mexico come here because all they want is refuge from drug wars, food on the table, and a roof over their head. It means showing compassion in deportation proceedings: when illegal immigrant parents have a child born in the United States, the child is an American citizen and can't be deported, but deporting the parents will create an orphan. It means actively helping the repressed people of the world, whether they be in Sudan, Georgia, or AIDS victims in Africa, Muslims in New York. It means reducing taxes on the poor, giving them the skills and tools they need to make their way in life. It means caring for those with alcohol drug addictions, helping them to summon the strength to get past those problems, rather than locking them up or throwing them out on the street. In days past, this might have meant sharing firewood with the family down the road that was at risk of freezing in winter. Today it might mean assistance with winter heating bills.
Remembering that all people are created equal means that we must provide good education for everyone, whether they live in suburban California, inner city Detroit, or rural Appalachia. We owe quality health care to everyone; those without means to pay for health care, or to pay for a car to get to a clinic, should be treated with dignity and respect, and have equal access to medicine.
Remembering that all people are created equal also means that we must provide equal justice under law, and give everyone a fair trail. We must abandon the death penalty, because we have a shocking number of people on death row -- hugely disproportionately black and poor -- that have been shown innocent of their crimes thanks to advances in DNA testing. We must maintain the integrity of checks and balances in government, and support judicial oversight over search and seizure. We must avoid warrantless wiretapping because it subverts judicial oversight and corrupts our justice system by making the exercise of power secret. We must denounce torture, and refuse to employ it, because no human, being created equal, deserves to be treated in such a way -- and we have been applying it to innocent humans.
We owe the opportunity to grow up in a loving family, in a safe community, to every child. We must make sure that gangs no longer have the run of our streets, that drugs aren't displacing hard work as the currency of the community, and that adoption is inexpensive and practical for more families, rather than costing thousands of dollars. Doing so will help every child grow up knowing that they are valued, are important, rather than being unwanted and therefore abused or neglected.
Extending the hand of friendship and compassion to all starts with being a good example -- that shining city on a hill that Reagan talked about. We have to run an open, just, and fair society ourselves. We must not fear those that are different than us, just because they're different. We have to recognize that citizens of Iran, Russia, North Korea, Palestine, and the United States fundamentally are humans, created equal, seeking the same thing: a safe and secure future for themselves and their families. Being able to coexist peacefully means starting from that point, and being willing to talk to them, and yes, even their leaders, regardless of how distasteful they may be.
Acting responsibly with our resources starts at home -- things like not driving up credit card debt, not living outside our means. The same applies to government: massive deficits each year are exceptionally irresponsible and place us at great risk both at the present and in the future. We also have a duty to care for the planet and the environment in which we live, which means actively working to curb the things we do to harm the planet and cause global warming.
What about recognizing our faults? Perhaps the most patriotic duty asked of Americans is dissent. It is never easy, but is essential to keeping our democracy functioning. This country has a long history of successes, and also a long history of failures. We failed so many by keeping slavery legal for so long, and discrimination and lynching legal for even longer. We failed that Native Americans by forcing them from their lands and treating them with brutality. We have, to some extent, risen above these failures thanks to the ability to recognize them and try, to the best of our ability, to fix them. This is what the civil rights movement was about, and why we have a holiday for Martin Luther King, Jr. He spoke out against a society that said some couldn't eat in a restaurant because of the color of their skin, or who were repressed because of their economic status. He recognized that problem in America, and by speaking out against it, helped to change this country for the better.
Today we have to recognize the things we are doing wrong, and try to change them. We are torturing potentially innocent people. We are discriminating against Muslims and homosexuals in our midst. We are giving extraordinary power to big media companies through changes in copyright law, to big communications companies through failure to enact network neutrality laws. And we are labeling people that disagree with war as unpatriotic.
Notice some things I didn't mention, such as abortion. It's not really relevant, and the lines we are fed by both sides present us with this false pro choice vs. pro life debate. In reality, it seems to me that both sides want the best for the children: for every child to grow up in a loving family, where he or she is wanted. We all know from research that laws banning abortion do not actually reduce it. So we ought all to come together and try to make it more rare by providing more support to single parents, by making it easier to adopt children, by trying to make the perceived need for an abortion to go away.
So, in this election, I look at the candidates and it seems pretty clear which one is promoting traditional values and which one isn't. Obama is actively trying to reach across the aisle and find common ground. Even in his convention speech, he suggested ways to work together on abortion like I just mentioned. In the debate, he listened carefully to his opponent and acknowledged when he thought McCain was right. This is a necessary first step in working together to move forward. McCain subsequently released an ad mocking Obama for this.
What about caring for the poor? Again, Obama's tax policies, education policies, and health care policies take care of them far better than McCain's. About responsibility? McCain supported these deficit-busting budgets of the last 6 years, supported the oil-centric energy policies, and has been only lukewarm towards dealing with global warming. McCain and Palin mock Obama for trying to help poor Chicago neighborhoods 20 years ago, for being willing to just talk to our supposed enemies, for actually reaching across the aisle.
So yes, I am a values voter, and that's why I can't possibly do anything but vote for Obama.

As some of you may or may not be aware, I'm hacking on a new build tool that has a purely descriptive language for project descriptions, with lots of sensible defaults.
Right now, the only thing I really require users to do is to declare the name and type of the project, for example
Program: foo
This will just take all files in this directory that it understands, compile them, and link them to an executable called "foo" (or "foo.exe"). So far, so good.
However, there are more complex examples, specifically those where multiple outputs are installed to different directories, for example in the case of libraries:
Library: foo
Public: foo.h, foo.c
I've omitted the library versioning stuff from the example, because it isn't necessary to understand the problem. This means "take all compilable files, link them to "libfoo.so" (resp. "foo.dll") and only mark the symbols defined in foo.c as exported (not listing code generating files will fall back to exporting everything); then install foo.h into /usr/include (or make it available as <foo.h> to dependent projects).
Now, I'd like to add an optional parameter to place a "published" resource into a namespace. How that is defined is dependent on the type of the resource (exported symbols could be tagged with a symbol version, while include files would be installed into a subdirectory of /usr/include).
And this is where I would like to get some input. How should such a declaration look like in the project description file?
The file is in RFC822 style format, with one section per project (multiple projects in a single directory are permitted if you list the inputs explicitly), and I'd rather keep it that way.
Ideas so far:
-
Public[foo]: foo.h
Public[FOO_1_0]: foo.c
This means multiple lines and dividing .c and .h files since their "namespace" attributes mean something entirely different.
Public: foo.h [foo], foo.c [FOO_1_0]
This ends up becoming pretty repetitive if I have a lot of header files.
Neither of these looks as "clean" as I'd like a new file format to look.
I'm pretty much sure "built-in" tagging of certain things will be handled by separate top-level tags (similar to automake):
User-Public: userdoc.sgml
Developer-Public: devdoc.sgml
I'm open to criticism on this one as well though.