Search Results: "sf"

16 February 2006

Antti-Juhani Kaijanaho: The Belisarius hexalogy by Eric Flint and David Drake

Books in this series (all published by Baen):
  1. An Oblique Approach (1998)
  2. In the Heart of Darkness (1998)
  3. Destiny’s Shield (1999)
  4. Fortune’s Stroke (2000)
  5. The Tide of Victory (2001)
  6. The Dance of Time (2006)
The premise sounds a little silly: a cyborg and a crystalline artificial intelligence travel back through time from the far future into the Sixth Century. The cyborg’s mission: to create a totalitarian world government that will create the perfect future according to one branch of fanatics. The crystal’s mission: to aid the Byzantine general Belisarius to defeat the cyborg. Never mind that premise. Here is another. Gunpowder and associated technologies are introduced in the 6th Century, first in India and second in the (Eastern) Roman Empire. What happens next? Based on an outline for a trilogy by David Drake, Eric Flint has created a masterpiece in this six-volume story. It really is a united story, not a collection of six independent novels; the story starts in the first book and ends in the sixth. There will be no more books in this series (except, perhaps, as a “sequel” series, though the authors have not hinted about this). It is a masterpiece, all right. In an action-adventure story, plot is paramount, and the Belisarius hexalogy has an unusually tight plot for the word count. The characters are well drawn; evidence of this claim is that I wept, much like Belisarius himself, when one of the significant secondary characters died – in battle, yes, but by a fortune’s stroke and not by any enemy’s design. The characterization of the societies and countries involved is suberb in my admittedly history-challenged opinion; India is described vividly, although, as Flint has mentioned, it’s extremely anachronistic (Flint himself considers this appropriate under the circumstances, and describes his portrait of 6th Century India as “impressionistic”). After a slightly slow start – it takes several not so exciting chapters for the premise of the story to be revealed – the story starts climbing like an aeroplane after takeoff, and never stops. The mood in the beginning is downright depressing, with only a tiny bit of hope, but it steadily brightens, and the last book is pure payoff, immensely satisfying to this reader. It was so satisfying, that I haven’t suffered from story world withdrawal after finishing The Dance of Time. This is unusual. I have no other option but to rate this story 5/5.

David Pashley: A Bit of a Confusing Morning

So far, in the last 12 hours, I've discovered that my payslips from this time last year bear no resemblence to reality, my pension company has failed to recieve approximately 1900GBP of money that should have been paid into it and O2 have managed to transfer my mobile number to completely the wrong SIM. I'm still waiting for April so I can call the Inland Revenue to find out what happened to all the student loan repayments I made at my previous company (Approx 700GBP). Have spoken with O2, who are going to transfer my number ot the right SIM, hopefully in the next 2 hours. Need to speak to the guy that does payroll in the office, when he comes in next. Sucks to be me. Update: Phone now works.

15 February 2006

Erich Schubert: When XSLT gets really messy...

XSLT is an outright ugly language. Thats why I often just hate it. In some (rare) cases it's very elegant, but most often incredibly clumsy. I've been redoing my homepage completely, and I'm using XSLT to render my data XML files to the XHTML output. That works quite well so far, but I hit more and more special cases. First I wanted to add a language chooser. This required finding out which lanuages my document supports (read: blocks with that language attribute exist) and check for uniqueness. Some things where rather easy to solve (with some experience in XSLT), so where extremely ugly. First of all, I want my template file to be a valid XHTML file, I don't want to have any layout parts in XSLT. Then I have a separate sitemap, needed for generating the menu. So I have to process three documents at the same time in XSLT. Ouch. But doable, using variables. Basically I have three modes - in one mode, the template is mostly copied over, unless I've specified some special rule, e.g. to insert the page title, meta information or content. A second mode uses the current chunk of the template document as template for the contents a couple of times to iterate over data chunks from the data source file (read: put text blocks from my source files into the output template format). The third mode does the same for the sitemap. Unfortunately, it started to get even messier... Big problem number one: Make a list of the available languages for the current page. Make this information reuseable throughout the page transformation. Part one: make a list of available languages by finding unique (!) @lang attributes. (usual approach: grab all nodes with @lang attributes, check if they have the same node id like the first occurence with this @lang value for uniquness, then output. Ugly as hell, but string magic sucks as much.) Big issue number two: Assume we now have a variable with en in there, access these nodes to transform them. Unfortunately, the generated nodes are "result nodes", and you cannot iterate over them with for-each. Luckily the exslt node-set extension to solve this. But now came the third big issue along... this is where I give up. I want my pages to have a nice modification date... my data pages are stored in subversion... Subversion has keywords expansion like CVS, which I can use nicely to automatically update the last modification date of the file. Unfortunately, the date will look like this: $Date: 2006-02-15 21:29:10 +0100 (Mi, 15 Feb 2006) $ Whereas in a web page meta information it's recommended to use ISO8601. Now if I only had regular expressions and proper date handling functions... I guess I'll stop writing ugly, hackish XSLT code and chose pretty Python code instead. Maybe use TAL or KID for XMLish templating...

14 February 2006

Sergio Talens-Oliag: Shell Scripts Frontend Tool

Well, today I've started to upload things related to the CDDT code to Debian. My first upload is a simple package that has been splitted from the current CDDT runtime code, as it is useful by itself. I've called it SSFT, the initials of Shell Scripts Frontend Tool. It is a shell function library that includes functions to display messages and get data from the user; the functions use zenity, dialog or plain text to do their work, depending on the value of the SSFT_FRONTEND variable; the idea was inspired by the debconf frontends, but uses only shell code with standard utilities (with the exception of the optional zenity and dialog utilities and the use of gettext.sh from gettext to support L10N). I've tested the current code against a lot of Bourne Shell compatible shells, including posh (that one made me remove the use of the local built in and rename the variables to _l_ as a prefix), so it should work more or less OK on any modern Unix. I don't know if anybody but me will use the library, if anyone tries it and finds a bug please report it to the SSFT project or the BTS (well, that will need a little bit of waiting, but I suppose that no one will try the package until it gets into the archive).

Mike Hommey: How-to: switch your partitions to LVM and lose everything

(almost) I’ve had some problems with disk space for a while, so much that I was “creating space” by creating an lvm logical volume of 5GB over 3 files (through loop devices) on 3 different partitions (/usr, /var, and /home) that all had less than 5GB free. But I needed 5GB free. So, instead of continuing relying on such brain damaged solutions, I decided to just switch everything on lvm, which, incidentally, would allow me to use lvm snapshots for pbuilder or similar tools (pbuilder doesn’t support lvm snapshot, as far as I know). Since my / partition is quite small (so small that I sometimes have space problems at kernel upgrade), I just decided to keep it and just transform my /usr, /var, and /home partitions into a big lvm physical volume. The challenge was to move all the files without any resort to external devices. Yes, I have other devices on other PCs, but they all are in about the same shape : full as hell. No way I could possibly free 40GB for backup. I couldn’t even burn some data : my DVD burner died a few weeks ago and I still haven’t bought a new one. I could’ve waited but well, I wanted to do it. So, the week-end before last, I decided to go on, and do it the painful way. I used my swap partition to move /usr and /var around, so that I could free the space from these 2 partitions to create the premises of the lvm physical volume. First trick: not enough space in the swap partition, so I just deleted a bunch of files (mostly /usr/share/doc/ and /usr/share/locale files) so that all would fit. After moving all around, I’d just unpack all installed debian packages so that the files are there again. Then, I managed to move everything by packs of 4~5GB, which was laborious. It involved creating temporary lvm physical volumes on temporary partitions and then moving the logical volumes’s chunks from physical volumes to other physical volumes on the same disk. Brain damage. Anyway, the big fright came when I had this stupid idea to delete partitions and create them again. Why ? because neither fdisk (no surprise) nor parted can resize a partition. Well, parted can, but it apparently can’t without playing around with the underlying filesystem. So, I deleted and recreated the partitions. And guess what ? They didn’t end up on the same sectors… The second stupid idea was to run pvcreate on the newly created not quite the same partitions… I thought I just lost everything. Pictures, personal repositories (especially 6 months worth (well, it took 6 months of real time, not of work time, but still) of work on xulrunner), everything. It’s actually not the first time I (almost) lose everything. I once did rm -rf / in a chroot… in which /home was mounted bound… and wrote a program to scan the file-system for the precious files (that’s the story of ext3rminator, which I still have to release once and for all). That was 3 years ago. First, calm down. Second, the bits are still on the disk (except maybe the bits overwritten by pvcreate). Third, calm down. Fourth, think. All I obviously had to do was to find the correct location of the partitions, and pray that the pvcreate didn’t blow everything. Which was almost okay. I could find 2 of the LVM volumes out of 3, while the third one seemed in a pretty bad shape. A bit of search with my friend google on another computer hinted me on vgcfgrestore. So I pvcreated once more over this broken volume, and used vgcfgrestore to get the volume group correct. It seemed okay. I could mount the volume. That was close. Well, to be sure, let’s run a fsck… ouch… inconsistency in some inodes. Okay, correct it. Once, twice… a couple times. Waw, is it that fucked up ? It can’t be that fucked up. So I took another look and discovered that the third volume was offsetted by a sector. 512 octets. Ouch, letting the fsck correct things was definitely not a good idea. Correcting again the partition table, pvcreating and vgcfgrestoring again, fsck, and let’s rock and roll. Conclusion(s):
- I only lost 150MB of MP3. I don’t care.
- Never ever use parted again, and never ever use fdisk in basic mode again.
- Avoid tricky procedures with stuff you are trying for the first time.
- Backups are for the weakest.

Pierre Habouzit: satisfaction

Yesterday, one user of whitelister reported me a bug. That made my day : this meant that there was actually users in the world that used whitelister, and thought it worth the effort to report a bug ! It motivated me to fix a couple of problems that I knew where there, and I released (and uploaded) a new version yesterday. I have to mention that whitelister will also soon be in production of a quite big mail system (even if not a FAI, we talk about MX that do more than 300k mails per week, which is not nothing). I have to mention that I also changed the license to BSD, I'm quite afraid of the direction the GPL is taking, and BSD is definitely better, spam is a too big problem, and if people want to do money with my idea, let them do it, if that can stop spam GPL has no sense at all when you don't plan to exploit the software yourself. When I'll release 1.0 (there is a couple of things I'd like to fix in how the configuration file is handled before) I'll try to give some public visibility to the project, because I really think it's based on a really good idea.

13 February 2006

Ross Burton: More Avahi Love

Today's Avahi Love posting covers publishing SFTP servers. My NAS box runs SSH, so I can use the ssh: method in gnome-vfs to browse the filesystem (it uses SFTP). The magic service file is:
<?xml version="1.0" standalone='no'?>
<service-group>
  <name replace-wildcards="yes">Remote Files on %h</name>
  <service>
    <type>_sftp-ssh._tcp</type>
    <port>22</port>
  </service>
</service-group>
Restart Avahi and then with a suitable Avahi-enabled gnome-vfs, there will be entries in Places → Network Servers for each machine that file is installed on. Kick arse!

11 February 2006

Paul van Tilburg: Almost Returning

My internships seems to have passed in an instance. I have been here in Edinburgh for almost three months already and it is time to prepare my return. It still feels kind of strange that everything happened so fast, though my arrival on December 1st 2005 seems ages ago. Two weeks ago I came down with a cold. I have found it to be a rather strange cold. The symptoms were not always there, just sometimes. I had (all mixed) headaches, fever (during a cold?), losing of salt taste, losing my voice, sleeping badly, coughing without reason, sneezing and it took almost 10 days to recover which is kind of long for my doing IMO. People that I seem to have infected though, have “normal” cold symptoms. Visitors As mentioned in a previous post I have received some visitors here. First my parents and then my friends came over. Together we have seen a lot. My aim was to show them as much of what I have been experiencing the past two months in the short period that they were here. I hope I was successful and all enjoyed themselves, at least I have. Group photo of me and my friends on top of Arthur's Seat The photos of when my parents were here and when my friends arrived are available in my Edinburgh album. However, during the visit of my friends, Christian made photos with a far better camera and I have put them in a separate sub-album (see also his own album). London Last weekend I also visited my friends in London. I can’t just be in the UK for three months and not visit them and join a party.
The KnowWhere Party
So, I planned the trip, bought flight and party tickets. Just before arrival I lost my voice. When I finally met my friends, I couldn’t talk to them at all. At the KnowWhere party it was even impossible to say anything. It was a funny experience to transfer things I wanted to say to them or order drinks using my mobile and T9 input in the SMS application. The party was great, but it completely wrecked my rhythm and prolonged my recovery. Report Last week I started working on my internship report, since the end is near. I have about 10 days left to finish it and it is still a lot of work. I’ve found it to be quite a challenge still, to say exactly what you want to say without cluttering it and in the right order so that it is understandable. Considering that I have written many many reports for my study in the past, I still want to make this one the best.

10 February 2006

Gerfried Fuchs: PHP mail() Considered Harmful

I know for myself that picking up unparsed userdata is teh evil. But we also all know that the usual webpage and mailer script coder isn't thinking. And to my knowledge the php mail() function is the only one that perverted to parse the headers additional to an explicit given recipient list for additional recipients. Yes, you read right. Often enough people use things like mail("myown@addre.ss", "subject", $body, "From: $_POST['name'] <$_POST['email']>") without thinking about it, because, there is this extra to field anyway. Right?
Wrong! SPAMers will come and send things like email="some@jo.ke\nBcc: my@sp.am, list@is.bigg.er, than@you.rs". People that put up such webmail scripts usually don't notice it anyway, they just delete the spam right ahead, not noticing that it was an abuse of their form. And the ISP has to deal with having to get the system out of the blacklists again.... At least none of the hosts on which customers are able to put up such scripts directly affect our own mail system, it's just the shared hosts they use... Still, deadly annoying. And then people are claiming that such misfeatures aren't a problem in PHP but in the coders? If it would at least be documented in the description of the function, but if one can claim it that it is it's at most just very vague hinted...

Erich Schubert: Why a blog software should be XML based

Simple answer: because RSS and Atom are XML formats. So please generate valid output. Adhere to the standards! The RSS feeds of Planet Gnome and Planet Ubuntu, for example, are currently broken. (Planet Gnome due to a bug in Planetplanet AFAICT, Planet Ubuntu due to a broken RSS feed from Wordpress... Yes, you must escape single < characters in XML...) Templating systems such as the default templating of the Django Framework, or the popular Clearsilver templating engine are unfortunately not suited for XML output. Oh, and please never ever write XML using 'print' commands either. Use a proper XML writer, which can handle charset issues and escaping properly. Good examples for XML-enabled templating engines include TAL and METAL used by Zope (but available for a variety of languages), and KID (again python, used by the Turbogears Framework). Closely related is the "HTML fragments" issue, which basically is why I want XML to be used internally, too (you could also store StructuredText only, and convert it to XML just for transformation to the output): HTML fragments in my blog should be valid slices of an XHTML file, to avoid issues when generating both the web pages as well as when integrating the feed into other pages. With RSS, the HTML code is AFAICT escaped in one big data chunk, so it doesn't matter there. It probably does for Atom. So what a good blog tool (including a rewrite of planetplanet which has way too many bugs) needs to do is to parse it's input data (plain text, HTML provided by a web browsers WYSIWYG edit component, mail, structured text, XML, ...) and either reject broken entries or try to guess whats intended, but guarantee that the output is valid XML. Then generate proper feeds and output from that. Thanks to all those who already replied to my previous posting. One thing I was pointed at, and I'll probably look into is Apache Forrest. Although I likely will use KID instead, if I happen to write my own tool after or despite my upcoming final exams.

9 February 2006

Ian Murdock: Yahoo?

Lily Tomlin As regular readers of my blog should know by now, I’m a big fan of SaaS (software-as-a-service). I’d go so far as to say it’s the future of software. Like all things, though, SaaS has its drawbacks, the biggest of which are questions of reliability, as the recent outages of salesforce.com have made painfully clear to its customers. It’s great if your data lives on the network, but what happens when your data isn’t available, either because the network isn’t available or because the servers it lives on are down? (The rhetorical question brings to mind Leslie Lamport’s famous observation that “a distributed system is one in which the failure of a computer you didn’t even know existed can render your own computer unusable”.) Security and trust are important too. Prime example: saleforce.com’s less than forthright acknowledgment of the recent outages. Another: Just today, Google launched version 3.0 of its desktop search software, which gives users the incredibly useful ability to search their local documents from any computer in the world. Of course, it does this by storing the index (and, apparently, the documents themselves) on Google servers. Hmm. Do I really want my business plans stored somewhere on the web outside of my direct control? Then again, an increasing number of people keep their email on the web, so chances are, if I’m collaborating with someone, they’re already there. As much time as I’ve spent thinking about SaaS, though, this was a new one: A friend of mine managed to get himself locked out of his Yahoo account, and after hours on the phone with Yahoo support, he seems unable to convince the Yahoo bureaucracy he is who he says he is so they will let him back in. He even offered to fly to Sunnyvale to present his driver license. Apparently, the zip code Yahoo has on file is different than the zip code he’s had his entire life, and the support staff say they can’t unlock his account until he gives them the right answer, which he’s already doing. (Apparently, the best one particularly dim bulb in Yahoo customer service could come up with is that he call back each day with a different guess till he gets it right.) In short, there seems to be some sort of an immovable object/irresistible force thing going on, and he’s not sure how to break the deadlock so he can get back to his data. The most pressing problem is that he’s got some tax related information in his email account, and on the current path, there seems to be no way for him to get to it by April 15. So, I pose two questions here: First, if you work at Yahoo, how in the hell can my friend get his access back? As already stated, he’s spent hours on the phone to no avail. I’ve tried inquiries on the backchannel but have received no responses. Second, for the larger SaaS community, if our data lives on the network, what happens if Google, Yahoo and the like become the phone company?

Erich Schubert: Anyone knows of a nice XML-based blog software?

Dear Lazyweb, Anyone aware of a nice blog software that And I bet I forgot some additional restrictions... Thanks for any suggestions..

Michael Koch: Fwd: Hacking for beer!

As Robert Schuster stats in his blog we are looking for people who can help with porting issues of GCJ and other free runtimes for Java. For example we have problems with GCJ on arm, hppa, mips/el and m68k in Debian. I extend Robert’s offer to all architectures Debian supports. Earn a beer or another drink at your choice at FOSDEM.

7 February 2006

Edd Dumbill: Scripting for the Semantic Web

I have the honour of having been asked to be on the programme committee for the 2nd Workshop on Scripting for the Semantic Web. Whereas a lot of semantic web conferences are heavily academic, this workshop mixes the learned approach with real world deployment experience and sharp-end grassroots semweb hacking. The topics the workshop seeks to cover are close to my heart and represent the place where a lot of discovery and experimental deployment of the semantic web is taking place. So, you should consider submitting a paper to this workshop if you're doing serious implementation work around RDF, wikis, syndication, FOAF and related topics. I was a little flattered to see DOAP in the list of buzzwords in the call for participation too! The workshop also includes the Scripting Challenge, where an iPod nano is up for grabs for "the most innovative small scripting application or mashup. The application must be implemented using a scripting language and Semantic Web technologies. It should access, visualize or combine information from different sources in new unforeseen ways." You can find the call for participation online at semanticscripting.org. The workshop itself will be held on June 11 in Budva, Montenegro--the day before the 3rd European Semantic Web Conference.

David Welton: Conditional Compilation in Java

We've hit something of a stumbling block with Hecl, and it's proving tricky. Far from being "write once run anywhere", Java has many versions, when you take into considerations the wide array of devices that run one of several configurations roughly lumped together as "J2ME". My cell phone's implementation doesn't have floats, for instance. This necessitates that the J2ME and J2SE versions contain different code, but Java doesn't make this easy, because there are no macros or other ways of conditionally compiling code. The solution we've adapted so far is problematic because it's not very fine grained: we have two separate directories, one for 'core' Hecl (sans floats) and another that contains the exact same classes, but with floating point. For instance: BasicMathCmd.java - no floating point. BasicMathCmd.java - the floating point version. As you can imagine, this means that code is replicated in two places, and each change has to be done twice, carefully, keeping track of the actual differences between the two files. This can only get worse as the code grows. I've seen some hacky ways of doing macros and things like that, but they don't look very satisfying. I'm too much of a Java novice to think of anything better than what we've got, though.

Mike Hommey: xulrunner 1.8.0.1-1

Checking Signature on .changes
(…)
Good signature on /home/mh/pbuilder/sid/result/xulrunner_1.8.0.1-1_i386.changes.
Checking Signature on .dsc
(…)
Good signature on /home/mh/pbuilder/sid/result/xulrunner_1.8.0.1-1.dsc.
Uploading via ftp xulrunner_1.8.0.1-1.dsc: done.
Uploading via ftp xulrunner_1.8.0.1.orig.tar.gz: done.
Uploading via ftp xulrunner_1.8.0.1-1.diff.gz: done.
Uploading via ftp libnspr4-dev_1.8.0.1-1_all.deb: done.
Uploading via ftp libmozjs-dev_1.8.0.1-1_all.deb: done.
Uploading via ftp libsmjs1_1.8.0.1-1_all.deb: done.
Uploading via ftp libsmjs1-dev_1.8.0.1-1_all.deb: done.
Uploading via ftp libxul-dev_1.8.0.1-1_all.deb: done.
Uploading via ftp libnss3-dev_1.8.0.1-1_all.deb: done.
Uploading via ftp xulrunner_1.8.0.1-1_i386.deb: done.
Uploading via ftp xulrunner-gnome-support_1.8.0.1-1_i386.deb: done.
Uploading via ftp libnspr4-0d_1.8.0.1-1_i386.deb: done.
Uploading via ftp libmozjs0d_1.8.0.1-1_i386.deb: done.
Uploading via ftp spidermonkey-bin_1.8.0.1-1_i386.deb: done.
Uploading via ftp libxul0d_1.8.0.1-1_i386.deb: done.
Uploading via ftp libnss3-0d_1.8.0.1-1_i386.deb: done.
Uploading via ftp xulrunner_1.8.0.1-1_i386.changes: done.
Successfully uploaded packages. I wonder how long it will take to the ftp-masters to accept it. It seems the NEW queue is not as fast as it used to be. It’s been a week I’ve been waiting for libxml2 and libxslt to get through, and they still haven’t made it. If enough people is interested in the package before it comes out of NEW, I’ll probably upload it in my repository. I have a patch for epiphany-browser that I’ll send soon to the BTS. I’ll come up with a patch for yelp as well. Then, bye bye mozilla-browser. I’m also going to build an unofficial firefox on top of xulrunner, and maybe upload it to experimental, so that we can have some feedback about that. I’ll see with Eric about that.

Erich Schubert: On "encrypting" (read: obfuscating) P2P: Please don't!

Recently there was a discussion on whether BitTorrent should get some encryption (or obfuscation, more likely) added. Right now, you can filter out BitTorrent traffic with the following iptables command (note: this needs iptables 1.3.4 and a recent kernel):
iptables -I OUTPUT -j DROP -m string --string "BitTorrent protocol" --algo bm --from 0 --to 100
(Note: match is not optimized, the range of 0 to 100 and algo bm is arbitrary) The nice thing is, that this match is very unlikely to match non-Bittorrent traffic. Linux users can use it to filter out all BitTorrent traffic or mark it for speed restrictions. Network operators are very interested in filtering this traffic: it slows down more important traffic (and if you are e.g. using stochastic fair queing, the large number of connections for P2P filesharing will make it get a larger share than other apps!) and can cause costs. If you have mobile users, who e.g. connect their laptop to your network, they will occasionally use BitTorrent at home, and forget to disable it when they connect to your network. That's really bad, it happens and it's not like this is intentional "malbehaviour" or "sabotage"! So back to the original topic - obfuscating BitTorrent traffic. Let me explain what network operators might do when BitTorrent can't be slowed or filtered any more (Note that this already applies to some services such as Skype or Kazaa as far as I know): First of all, they might decide to filter all connections to non-standard ports. This effectively eliminates (most of) filesharing - but also e.g. Skype and some IM and chat services. Basically any non-standard service. (Note that "professional" VoIP services using SIP may still be whitelisted). Secondly, they could decide to slow down all connections to non-standard ports. This would make filesharing, Skype, IM etc. still possible, but for example file transfers via IM will be really slow. No video via Skype, probably, depending on the limits set in traffic shaping. Thirdly, they could disable all outgoing connections and require you to use proxies for that. Then you need to enable/disable your proxy all the time when switching networks, and you'll only be able to use a limited set of services. Again, Telephony via SIP is still technically possible, using a SIP proxy or by whitelisteing major SIP providers. Skype is no longer possible. IM needs whitelisting, and will likely be blocked, too. None of these options are very favourable for the users. So please do not support "obfuscated" Protocols such as Kazaa or Skype, or an obfuscated variant of BitTorrent. Stick with stuff administrators can set up policies for - and be nice to your admins. Tunneling via non-standard ports, hiding services will only get you into trouble, and probably even make innocent other users suffer. After all, filesharing - especially illegal downloading movies and music - is not THAT important, is it? So please make the important services not suffer from it. Thank you. Oh, and please use SIP, not Skype. Because your admin can whitelist your SIP provider if you tell him you need it for work or setup a proxy for that - and with Skype, he might be afraid that you become a supernode and cause high traffic costs. And then there is a much larger software choice for SIP, including many OpenSource solutions, including PBX software such as Asterisk.

Zak B. Elep: Whirlwind < 48h Manila Tour

Heh, its been more than a day now since I got back from Manila after the Ubuntu AsiaBusinessTour, and even then I have some stuff to do here (both IRL and IOL work) before I could find some time to blog ;) Here are the highlights of my trip: I’ve adopted opendchub, rccp, and xshisen from Grzegorz Prokopski too :D Heh, I’ll be quite busy this coming week…

6 February 2006

Enrico Zini: Italian screen reading

So far, it has been a fairly happy hacking day. I wanted to see how far I could go to make a Linux desktop accessible for the blind. Platform of choice is Breezy because:
  • it uses gnome, which is the most accessible stuff at the moment;
  • it's the distribution with the least amount of raw edges at the moment;
  • its gnome accessibility stuff is more up to date than the stuff in sid (I got in touch with Mario Lang and I'll see if I can help)
Step number 1: installing a fully working Breezy chroot inside my sid
  1. lvcreate -L2G -n breezy vg
  2. mkfs.jfs /dev/vg/breezy
  3. mount /dev/vg/breezy /chroot/breezy
  4. debootstrap --arch i386 breezy /chroot/breezy http://archive.ubuntu.com/ubuntu/
  5. chroot /chroot/breezy
  6. dpkg-reconfigure locales
  7. tzconfig
  8. base-config new
  9. fixed gdm configuration to work along with the sid X server
  10. fixed /etc/fstab, resolv.conf and /etc/hosts
  11. reduced the lart-delay of /etc/rcS.d/S04udev from 60 to 5 seconds
  12. "booted" the Breezy system running /etc/rcS and /etc/rc 2
Believe it or not, it works. I have another gdm login screen, I login and I hear the Ubuntu startup music. A couple of warnings about ACPI and HAL not working... well, I can imagine why. gnome-panel would refuse to show the menus. It turned out to be connected to Gnome bug #323064 (debian bug #338438) and I found out that Alt+F2 (run) and then killall gam_server would be enough to stay displayed.
Step number 2: getting the screen reader to work Note: the menu names might be incorrect as my system is localised in Italian and I'm now translating back to English.
  1. Install gnopernicus
  2. Go into Desktop/Preferences/Audio and disable the sound server
  3. Go into Desktop/Preferences/Assistive technology, enable assistive technology and screen reader
  4. Logout and in again
Now, coolness ubercoolness, the desktop starts to speak with the voice of a depressed 40 years old dude from the USA. Thanks to Luke Yelavich of ubuntu-accessibility for supporting me and for explaining me that if esd is running then the voice tends to disappear because esd steals the sound device to festival. He also explained me that if one tries to run festival through esd then it works, but since esd is a mixer then one starts hearing various voices for different events all mixed together. Now, the English speech engine often mentions the "barra dei sacramenti". In local Italian it means "toolbar for blaspheme curses". Time to move on to step 3.
Step number 3: getting the screen reader to work in Italian I'm very proud of the Italian speech engine that recently entered Debian thanks to Riccardo Vestrini and the Debian Italian Maintainers Task Force, I've already put it to good use in the past and have great plans about it for the future. It's now a good moment to turn the knowledge previously acquired with creative timewasting into something serious. So, on to work:
  1. get the italian festival voice packages from sid (the packages are festlex-ifd, festvox-itapc16k and festvox-italp16k)
  2. install them all in Breezy
  3. sudo patch /usr/share/festival/languages.scm /usr/share/doc/festlex-ifd/languages.scm.patch (and ping again Matthias Urlichs for a fix for bug#335845)
  4. log out
  5. kill all the festival servers, drivers and whatnot (need to do it when logged out, but one can just install the voices before starting gnopernicus for the first time)
  6. log in again
  7. go into gnopernicus configuration and select the new voices.
It SO WORKS! I configured some voices a bit at random, so now according to what I do the desktop speaks like the depressed dude, Adriano Celentano or the Italian dubbing of the Enterprise computer (without reverb effect). An extra cool unexpected side effect of this chroot setup is that now I can go back to my Sid X session and the Breezy X session will keep talking in the background, so I can even keep an ear on what happens in the other Virtual Console. Now, on to the applications. The menus, work. Abiword works, but I couldn't find out how to read the things I type on the editing area (not so useful until that one is solved). OpenOffice2 does not work. Firefox 1.5 works. gnome-terminal works. gedit works. It could be better, but I was fearing much worse. Now, gnopernicus has various powerful features accessible using the numeric keypad, but I haven't found a way to activate them in my laptop. It may be that with the keypad functions abiword becomes readable. I'm quite satisfied today.

5 February 2006

Andreas Metzler: Switched to nanoblog

As I did not feel like debugging and extending Romain Francoise's ConveyorBelt weblog engine I have now switched this blog to NanoBlogger. It also produces static content and only requires $EDITOR to to use. Input is html instead of the Wiki-like syntax which I always got wrong. Importing the old entries was pain. ;-)

Next.

Previous.