
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.

Yesterday I faced problem with VMware server that it can not run 64-bit guest
system. I'm using 64-bit SUSE and 64-bit VMware, so it should work, right? I
can select 64-bit system in VMware, but the guest is simply 32-bit without any
error.
In documentation, man can find only "VMware Server supports 64-bit guest
operating systems only on host machines with supported processors.". How
helpful! After a bit of googling, it turns out that VT needs to be enabled and
usually it is not enabled in BIOS (any reason for this?).
So let's reboot, go to BIOS, enable VT and it should work. Unfortunately not,
after reboot, still same problem. I was almost given up at this point, but I
decided to recheck BIOS, whether I really enabled the right thing. Yes I did,
but I did not notice small note, that to apply this setting, I need to power
off and on the computer. That was the trick! Now it finally works. I just
wonder why it has to be so complicated...
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.
I use Google's Analytics system for several web sites I run, but find it a bit cumbersome for just getting a quick overview of what's happening. For years, I've used my friend Salvatore's
visitors program to analyze web logs. It claims to be a "fast web log analyzer" and it is blazing fast - so fast that for all the sites I run, it only takes a few seconds to process a year or two's worth of log files. For instance:
3724130 lines processed in 68 seconds
55 invalid lines, 0 blacklisted referers
And that's not a particularly fast server that it's running on, and of course it's running with a high "nice" value. Visitors is probably not suited to huge sites, as that's its only mode of operation - it doesn't save data - but it's a great option for everything but the biggest of log files.
Using it every day, there are a few things that I wanted to improve or tweak, so with Salvatore's permission, I went ahead and put the code under version control over at Google Code:
http://code.google.com/p/visitors/

I still don't know why but many GTK+ applications use something called eggtrayicon. As far as I know,
eggtrayicon.c is a file written in 2002 by Anders Carlsson which implements the
Freedesktop.org system tray procotol for GTK+ applications.
Problem is that this C file is used in dozens of programs and maybe more, and is a bit bugged. I've already send patches for
mail-notification and
Audacious.
pidgin is the first fixed implementation I found and works quite well. Many other applications are probably affected.
That seems to me like a real problem. Multiple copy of bad code instead of using
native GTK+ system tray implementation.
So please stop using this bad implementation
There is a lot of discussion and speculation about The Singularity. The term seems to be defined by
Ray Kurzweil’s book “The Singularity Is Near” [1] which focuses on a near-future technological singularity defined by significant increases in medical science (life extension and methods to increase mental capacity) and an accelerating rate of scientific advance.
In popular culture the idea that there will only be one singularity seems to be well accepted, so the discussion is based on when it will happen. One of the definitions for a singularity is that it is a set of events that change society in significant ways such that predictions are impossible - based on the concept of the
Gravitational Singularity (black hole) [2]. Science fiction abounds with stories about what happens after someone enters a black hole, so the concept of a singularity not being a single event (sic) is not unknown, but it seems to me that based on our knowledge of science no-one considers there to be a black hole with multiple singularities - not even when confusing the event horizon with the singularity.
If we consider a singularity to merely consist of a significant technological change (or set of changes) that change society in ways that could not have been predicted (not merely changes that were not predicted) then it seems that there have been several already, here are the ones that seem to be likely candidates:
0) The development of speech was a significant change for our species (and a significant change OF our species). Maybe we should consider that to be singularity 0 as hominids that can’t speak probably can’t be considered human.
1) The adoption of significant tool use and training children in making and using tools (as opposed to just letting them learn by observation) made a significant change to human society. I don’t think that with the knowledge available to bands of humans without tools it would have been possible to imagine that making stone axes and spears would enable them to dominate the environment and immediately become the top of the food chain. In fact as pre-tool hominids were generally not near the top of the food chain they probably would have had difficulty imagining being rulers of the world. I’m sure that it led to an immediate arms race too.
2) The development of agriculture was a significant change to society that seems to have greatly exceeded the expectations that anyone could have had at the time. I’m sure that people started farming as merely a way of ensuring that the next time they migrated to an area there was food available (just sowing seeds along traditional migration routes for a hunter-gatherer existence). They could not have expected that the result would be a significant increase in the ability to support children and a significant increase in the number of people who could be sustained by a given land area, massive population growth, new political structures to deal with greater population density, and then wiping out hunter-gatherer societies in surrounding regions. It seems likely to me that the mental processes needed to predict the actions of a domestic animal (in terms of making it a friend, worker, or docile source of food) differ from those needed to predict the actions of other humans (who’s mental processes are similar) and from those needed to predict the actions of prey that is being hunted (you only need to understand enough to kill it).
3) The invention of writing allowed the creation of larger empires through better administration. All manner of scientific and political development was permitted by writing.
4)
The work of Louis Pasteur sparked a significant development in biology which led to much greater medical technology [3]. This permitted much greater population densities (both in cities and in armies) without the the limitation of significant disease problems. It seems that among other things the world-wars depended on developments in preventing disease which were linked to Louis’ work. Large populations densely congregated in urban areas permit larger universities and a better exchange of knowledge which permitted further significant developments in technology. It seems unlikely that a population suffering the health problems that were common in 1850 could have simultaneously supported large-scale industrial warfare and major research projects such as the Manhattan Project.
5) The latest significant change in society has been the development of the Internet and mobile phones. Mobile phones were fairly obvious in concept, but have made structural changes to society. For example
I doubt that hand-writing is going to be needed to any great extent in the future [4], the traditional letter has disappeared, and “Dates” are now based on “I’ll call your mobile when I’m in the area” instead of meeting at a precise time - but this is the trivial stuff. Scientific development and education have dramatically increased due to using the Internet and business now moves a lot faster due to mobile phones. It seems that nowadays any young person who doesn’t want to be single and unemployed needs to have either a mobile phone or Internet access - and preferably both. When mobile phones were first released I never expected that almost everyone would feel compelled to have one, and when I first started using the Internet in 1992 I never expected it to have the rich collaborative environment of Wikipedia, blogging, social networking, etc (I didn’t imagine anything much more advanced than file exchange and email).
Of these changes the latest (Internet and mobile phones) seems at first glance to be the least significant - but let’s not forget that it’s still an ongoing process. The other changes became standard parts of society long ago. So it seems that we could count as many as six singularities, but it seems that even the most conservative count would have three singularities (tool use, agriculture, and writing).
It seems to me that the major factors for a singularity are an increased population density (through couples being able to support more children, through medical technology extending the life expectancy, through greater food supplies permitting more people to live in an area, or through social structures which manage the disputes that arise when there is a great population density) and increased mental abilities (which includes better education and communication). Research into education methods is continuing, so even without genetically modified humans, surgically connecting computers to human brains, or AI we can expect intelligent beings with a significant incremental advance over current humans in the near future. Communications technology is continually being improved, with some significant advances in the user-interfaces. Even if we don’t get surgically attached communications devices giving something similar to “telepathy” (which is not far from current technology), there are possibilities for significant increments in communication ability through 3D video-conferencing, better time management of communication (inappropriate instant communication destroys productivity), and increased communication skills (they really should replace some of the time-filler subjects at high-school with something useful like how to write effective diagrams).
It seems to me that going from the current situation of something significantly less than one billion people with current (poor) education and limited communications access (which most people don’t know how to use properly) to six billion people with devices that are more user-friendly and powerful than today’s computers and mobile phones combined with better education as to how to use them has the potential to increase the overall rate of scientific development by more than an order of magnitude. This in itself might comprise a singularity depending on the criteria you use to assess it. Of course that would take at least a generation to implement, a significant advance in medical technology or AI could bring about a singularity much sooner.
But I feel safe in predicting that people who expect the world to remain as it is forever will be proven wrong yet again, and I also feel safe in predicting that most of them will still be alive to see it.
I believe that we will have a technological singularity (which will be nothing like the “rapture” which was invented by some of the most imaginative interpretations of the bible). I don’t believe that it will be the final singularity unless we happen to make our species extinct (in which case there will most likely be another species to take over the Earth and have it’s own singularities).
Share This

It's been really strange coming back from DebConf then
Extremadura and having to fit my code time around paid work and housework and general stuff again. I keep wondering why I'm not getting things done and then realising that I've only got so many hours a week nowadays compared to the entire week during the worksessions. What makes it worse is the short gap between the conferences. I misjudged the length of time without income and didn't make any days available for paid work between DebConf and Extremadura. OK, it was only about a week but it was a further week without income followed by the week getting to and from Spain.
I'm now doing extra days to recover from the extra time without income and it makes the contrast even more noticeable. The tiredness from the extra work then makes it hard to get started on what I thought I'd get done. I've done a little bit on emdebian-tools and apt-cross, I've done a little bit on a few RC bugs and I've not done a load of stuff I thought I would have done by now.
If you're wondering why something I said I'd do has not been done, file a bug and I'll get to it. (The bug lists for buildd.emdebian.org or emdebian-tools are my main ToDo lists, if it appears in that list of bugs, I'll not forget. If it appears in an email, I probably will forget.)
Here is
a module-assistant friendly source package for realtek’s driver for 8187SE
boards found in
MSI U100 at least. It’s pretty much as ugly as what you would
get in a binary only driver, but it’s
GPL and it works.
Recipe:
wget http://nohar.t1r.net/debian/rtl8187se-source_1016.0716.2008_all.deb
sudo dpkg -i rtl8187se-source_1016.0716.2008_all.deb
sudo m-a a-i rtl8187se
It’s a copyright mess, and the package still needs work.
Btw, hello planet.

Summary: If programs would have useful man pages or error messages, man would
not have to look into source code.
I just set up Debian sid chroot on my computer and have to sign something
inside this chroot (dpgk-buildpackage). Okay, I want it to use gpg-agent in my
host system, that should not be hard. Looking at gpg man page, GPG
AGENTINFO
variable is used to forward information about agent socket, PID and protocol
version, so I set this variable according to host system, but it still does
not work, giving nothing saying error that agent is not working.
So let's debug this beast - strace reveals, that communication with agent
works, but it replies "113 Server Resource Problem". Hmm, still not much
useful information, but let's google for this problem. Fortunately Google
reveals related
Seahorse code, where man can find, that not set DISPLAY
variable is causing this issue. Could not the error be more friendly, so that
it tells me directly what is wrong?
Currently we have a huge husing crisis in the US which involves significant political corruption including
the federal government preventing state governments from stopping predatory banking practices [1].
The corrupt plan to solve this is to simply give the banks a lot of taxpayer money, so the banking business model then becomes to do whatever it takes to make a short-term profit and then rely on federal funds for long-term viability. The bank employees who caused the problem by aggressively selling mortgages to people who could never repay them if the housing prices stabilised - let alone if the prices fell.
If the aim is to protect families, then the first requirement is that they not be evicted from their homes. The solution to this is to void the mortgage of anyone resident home owner who purchased a house on the basis of false advice from the bank or who unknowingly entered into a mortgage that any reasonable person who is good at maths can recognise as being impossible for them to repay. The bank would end up with clear title to the property and the ex-homeowner would end up with no debt. Then such properties could be set for a controlled rent for a reasonable period of time (say 5 years). The bank (or it’s creditors) would have the option of renting the property to the ex-mortgagee for a minimum of five years or selling the property to someone else who was willing to do so. Of course the ex-mortgagee (who would not be bankrupt) would have the option of seeking out a new mortgage at reasonable rates and then buying thier home again.
Also to benefit families the rent control period could be extended for as long as they have dependent children.
The losers in this would be the banks and the people who purchased multiple investment properties (the ones who caused all the problems).
Finally what is needed is a cultural shift towards
austerity (as described by Juan Enriquez and Jorge Dominguez) [2].
Glen makes an interesting point about the irony of typical homeowners in the US demonstrating more financial literacy than the people who run banks [3].
Share This

So last week, a relative commented to me that a solicitor sent a letter in reply to an email. I suggested that it might be because the email reply address was on one of the major free web email providers. “What’s wrong with my webmail?” So I explained…
First of all, as far as I know, no Big Webmail service supports encrypted email (and there are complications in how you’d provide such a thing on webmail anyway) and it can be fairly easy to trick the webmail service into giving access to other people. My relative was sceptical, but within a day,
US vice-presidential candidate Sarah Palin’s Yahoo mail was cracked and splashed across the news. (By the way - gov.palin counted as a personal email address? Huh? Her name isn’t “gov”.)
Even without passwords going astray, there’s no telling that the intended recipient is the only person reading the email. Here’s a fun paragraph from the Google Mail Terms:-
“Google maintains and processes your Gmail account and its contents to provide the Gmail service to you and to improve our services. The Gmail service includes relevant advertising and related links based on the IP address, content of messages and other information related to your use of Gmail.” (emphasis added)
The Electronic Privacy Information Center
suggests this includes wiretapping.
There’s finally a growing awareness that free webmails are not safe, built on artificial anti-competitive encouragements like “you need a Yahoo!ID to subscribe to this yahoogroup” (no - the old “stick -subscribe after the group name, before the @” still works, just like it did before they bought it from egroups). Internet Psychologist Graham Jones writes:-
“It’s time to review your online security and think about whether you actually need Google and its like at all. Probably not.” (source)
I agree with that. Both of my phone companies (
The Phone Co-op agency and
3) include webmail - although I have some personal domains (for long-term contactability), those webmails are fine for lists and short-term use. The sort of thing most people seem to use Big Webmail for.
The other main point in my argument was that free webmails are unreliable, thanks to tactics like
Yahoo’s shoddy anti-spam attacks on other mailservers. There’s no telling whether the email will get through such bad behaviour and delivery-receipts are unreliable. I can quite understand why a solicitor won’t send email to the likes of hotmail, even if I think it’s just as probable that the solicitor doesn’t “get” email.
“Oh” said my relative. I think she’s still using Big Webmail though.

It started harmless when
Thomas asked on
Linux User Group Switzerland mailing list if someone
knows a
tux-shaped alarm clock. But the topic of that thread quickly
moved to two other things in tux shape: the
Tux Droid, a device similar to the
Nabaztag, but needs a
Linux host with
USB, and
ACME Systems’
Tux-Server, a
ETRAX CRIS based Foxboard inside a tux-shaped case.
We found out that
Telion, the Swiss importer for Foxboards, also imports ACME
Systems’ Tux Case — although the Tux Case is not mentioned on
their website. Even better: They had a few old Tux Cases in stock
which don’t fit anymore on current Foxboards since the position of the
power socket changed. (So only one hole in the case was missing.) And
they wanted to get rid of them quite fast: They offered us the Tux
Cases for 10 CHF (6€) each instead of 28 CHF each (17€) if
we buy all of them. Of course we couldn’t reject this offer and bought
all five remaining cases.
Another part of the thread was about performance. Although ETRAX CRIS
is used by its inventor
AXIS in many of its products (they’re famous for the Linux based
web-cams) many were not sure if the board’s performance would be
sufficient for their ideas. Another disadvantage of the ETRAX CRIS
architecture is that no mainstream Linux distribution supports it.
Another point was the Foxboard’s price (169€, ca. 268 CHF).
Bones just mentioned that
an
NSLU2
costs only about 100 CHF (60€).
Probably on
IRC someone (probably Bones, too) wondered if it’s
possible to fit a NSLU2 into such a quite inexpensive Tux Case. We
took
Wikipedia’s picture of the NSLU2 board, compared the size of the
USB ports on that picture, compared them with real-life
USB ports and
found out the size of the board that way. And when I got my Tux-Case I
noticed that the NSLU2 board really could fit into the Tux-Case.
Since
I’m already building a bigger NAS-like home server, I have no use
for another, much slower NAS. But since I more or less gave up the
also ARM-based Thecus N4100, another ARM-based machine in my hardware
collection wouldn’t be bad.
So it didn’t took long and the idea was born to build the NSLU2 board
into a Tux-Case and let the website
tux.ethz.ch run on it. (I inherited its administration
from
Beat and
it’s currently just a virtual host on one of our webservers.) Then it
would be a server named Tux, serving Tuxes, looking like a Tux and
running Tux’ operating system Linux. :-)
I ordered an NSLU2 at Brack for 117.60 CHF (ca. 70€). Played
around with the original firmware for a moment, but it’s horrible from
a security point of view: You can’t even change the admin password
(default: “admin”) if no
USB harddisk is attached. And no, a
USB stick
doesn’t suffice. So I didn’t wait long and tried to install
Debian’s “armel”
(ARM, Little Endian) port on it. But the NSLU2 refused the “new
firmware” with the error message “Upgrade: no enough free space.”.
While this is not in the
Debian specific
NSLU2 FAQ, it is
mentioned
in the general troubleshooting FAQ. As described in there, first
upgrading to the most recent firmware version and then uploading the
Debian installer worked fine.
After I had successfully installed Debian Lenny on a
pqi
4 GB USB sticked into the NSLU2 and verified that everything is
working fine, I
opened the
NSLU2 case and checked if it really would fit into a Tux Case.
It does, but very, very close. You’ll have to drill some holes and the
ethernet socket will stick out Tux’s shoulder, but everything else
should fit perfectly after a few mounting parts inside the Tux Case
have been removed. As a proof of concept I laid the NSLU2 board on the
Tux Case’s back:
Pictures taken with my Nokia E51
So later the LEDs will be in Tux’ one shoulder while the network
socket will be in his other shoulder. And the
USB stick will be inside
his paunch via a
USB hub.
One of the most interesting new technologies that has come out recently is Cloud Computing, the most popular instance seems to be
the Amazon EC2 (Elastic Cloud Computing). I think it would be good if there were some open alternatives to EC2.
Amazon charges $0.10 per compute hour for a virtual machine that has one Compute Unit (equivalent to a 1.0 to 1.2GHz 2007 Opteron core) and 1.7G of RAM. Competing with this will be difficult as it’s difficult to be cheaper than 10 cents an hour ($876.60 per annum) to a sufficient extent to compensate for the great bandwidth that Amazon has on offer.
The first alternative that seems obvious is a cooperative model. In the past I’ve run servers for the use of friends in the free software community. It would be easy for me to do such things in future, and Xen makes this a lot easier than it used to be. If anyone wants a DomU for testing something related to Debian SE Linux then I can set one up in a small amount of time. If there was free software to manage such things then it wuld be practical to have some sort of share system for community members.
The next possibility is a commercial model. If I could get Xen to provide a single Amazon Compute Unit to one DomU (not less or more) then I wouldn’t notice it on some of my Xen servers. 1.7G of RAM is a moderate amount, but as 3G seems to be typical for new desktop systems (
Intel is still making chipsets that support a maximum of 4G of address space [2], when you subtract the address space for video and PCI you might as well only get 3G) it would not be inconceivable to use 1.7G DomUs on idle desktop machines. But it’s probably more practical to have a model with less RAM. For my own use I run a number of DomUs with 256M of RAM for testing and development and the largest server DomU I run is 400M (that is for ClamAV, SpamAssassin, and Wordpress). While providing 1.7G of RAM and 1CU for less than 10 cents an hour may be difficult, but providing an option of 256M of RAM and 0.2CU (burstable to 0.5CU) for 2 cents an hour would give the same aggregate revenue for the hardware while also offering a cheaper service for people who want that. 2 cents an hour is more than
the cost of some of the Xen server plans that ISPs offer [3] but if you only need a server for part of the time then it would have the potential to save some money.
For storage Amazon has some serious bandwidth inside it’s own network for transferring the image to the machine for booting. To do things on the cheap the way to go would be to create a binary diff of a common image. If everyone who ran virtual servers had images of the common configurations of the popular distributions then creating an image to boot would only require sending a diff (maybe something based on
XDelta [4]). Transferring 1GB of filesystem image over most network links is going to be unreasonably time consuming, transferring a binary diff of an up to date CentOS or Debian install vs a usable system image based on CentOS or Debian which has all the updates applied is going to be much faster.
Of course something like this would not be suitable for anything that requires security. But there are many uses for servers that don’t require much security.
Share This

I would like to add some clarifications to the debate on linux sound APIs that happened last friday on planet. First, despite being
portrayed as such, I am nothing like an OSS zealot. I was just recently surprised that OSS developpement still exists and that no one cares. Hence, my initial motivation for my post was to correct false informations, not to advocate for any solution. Now, since the debat has been opened to the issue of linux sound APIs, I feel like adding my two bits. In particular, unlike Josselin, I don't believe that the debate is irrelevant. I, too, would like that we consider two levels for sound APIs:
- Low level, decidated to some specialized applications
- High level, used for simple sound applications, in particular in a desktop environement.
However, there are few points that are missing in Josselin's claim:
- This distinction was not an initial design for ALSA. ALSA was aimed at being both low level and high level, in particular with the pcm virtual devices. However, the lack of documentation and the absence of any high level programming interface for the high level pcm virtual devices just made this goal totally fail.
- Desktop environements didn't agree on a common standard. Even though there seems to be some solutions that are emerging now, like pulseaudio, this is not at all a standard yet. For instance, all graphical mixers I know about only support ALSA.
So, yes, I believe there is still a debate which should not be closed be throwing away idealistic solutions, but by discussing the real issues and trying to settle real solutions. Lennart also commented on previous message that he had adressed most of the remarks concerning the initial guide. In particular, he notices that OSS4 does a lot of audio processing in-kernel, objecting that this means that OSS4 will never be part of the official kernel. This is true, but it doesn't mean there are no
life outside of the stock kernel. Here, again, it is a matter of liberty of choice. If some audio applications are better suited for OSS4, then I don't see why we shouldn't provide this alternative.

annoying long-standing bug with apt-listbugs and debbugs.
484789 is one of the longer-standing bug.
soap4r doesn't like invalid data stream, it throws an exception and refuses to parse the message.
debbugs server side, it seems like it's not fixed.
So, everytime texlive is upgraded, I get an error.
And no, 2007-14 isn't year-month. It's the version number.