Search Results: "willi"

30 November 2007

David Welton: One reason to think Rails is "all that"

The economics of programming languages point to Rails being significantly better than what went before it. I got to thinking about this when reading a comment on a site I like to read, which said:
Rails in itself is, to me, not that impressive. It does a lot of things right, but it does probably just as many wrong. Not the least of which is scaling.
It seems that these sorts of "after the fact" "I know better" comments are a dime a dozen in the world of programming discussions. It's easy to come along after something's been built and puff yourself up by pointing to defects in existing systems and show that, therefore, by comparison, you're a clever fellow. That's not my point, though - what I wish to explain is that yes, Rails really was that much better than what was around before it came onto the scene: "Switching costs" between languages are high. Less so for really sharp programmers, but for the masses that use one or two languages, learning a new language, tools, deployment, etc... is a big step to take, with potentially high risks. Even most A-list programmers I know use a few languages at a time - it's simply easier if you're not tripping over your own feet by switching to a different system every day. "Flow" is easier to attain when you're ensconced in the thinking of one language. For companies, this effect is magnified, and switching to something new is not done lightly. Since companies are beginning to explore Rails, successfully, I might add, you have to conclude that the big step into the unknown was worth it for some reason. Especially considering that a number of other languages rushed to copy various nice aspects of Rails, lessening the need for users of those systems to consider taking the leap. Of course, that's not to say it's a perfect system, without reproach, or has no negative aspects, but in the spirit of honesty, and credit where credit is due, Rails really did move things a step forward, and the willingness of people to incur high switching costs to obtain its benefits is strong evidence of that.

28 November 2007

Neil Williams: Next stages


emsource/emdebuild machine variants

Extending the customisation support in Emdebian so that the Emdebian package now becomes the source package for a machine specific variant build. Using the same principles as the machine variant handling in emsandbox, customised builds would apply patches over the Emdebian source to modify dependency chains, remove unwanted binaries etc.. emsource would use the existing Emdebian package (i.e. the package must have been cross built for Emdebian already) as the source, providing an unpacked package with the Emdebian patches already applied. emsource would use the ../machine/$machine/$variant directory instead of trunk/. Patches from the machine/$machine/$variant/f/foo/ subdirectory of your Emdebian work directory would then be applied. emdebuild would update those patches because the relevant $foo.old directory would contain the Emdebian source. The Debian source would always be available in trunk/ for comparison. Using the Emdebian package as source means that the variant build tree will not contain any .svn/ or CVS/ directories so machine/variant builds can use your preferred RCS. Expected in emdebian-tools >> 0.7.0.

langupdate and tdeb packages

The current Emdebian package search script will be adapted to handle the buildd.emdebian.org/locale repository and omit locale packages (tdebs) from the default search and package count. locale packages will be migrated into the locale repository with a cron task, removing them from the main repository at the same time. This way, uploads proceed as normal, no modifications are needed for the .changes file and the main repository apt cache is kept as small as possible. langupdate itself will use apt options to direct apt to the langupdate cache of locale packages. Unlike the main apt cache, this cache is removed after each langupdate run (actually it will probably be removed just before the packages are unpacked). langupdate will call apt to do the download and actual installation. Whilst this does mean that the installed tdebs will show up in the apt and dpkg cache data, it does prevent the other 90% of locale packages from also ending up in the main apt cache. Besides, the user should be able to see which tdeb packages are installed using the normal dpkg -l queries. tdeb packages are very small but hopefully apt-get autoclean will clean up the downloaded package files. langupdate will also automatically remove any tdebs and translation files for unsupported locales. Finally, langupdate will be run for the first time by the eventual Emdebian installer - as soon as the user has selected a timezone and set of supported locales. langupdate may well be extended in future to support handling the zoneinfo data from tzdata and the gconv data from glibc. langupdate currently uses libglib2.0-0 (because I like using it) but if anyone fancies developing it in plain C (or probably C++ to fit in better with apt), let me know. Code is in Emdebian SVN.


27 November 2007

Neil Williams: GPE in Emdebian

These are all just 'first-builds' so problems could well lie ahead but I have now built a set of cross built packages for Emdebian (ARM) that edos-debcheck says is installable for a basic GPE installation. Only one package remains as a problem - gpe-filemanager builds fine but the current dependencies of libgnomevfs mean that gconf is required which doesn't give an option to disable ldap which is something I would rather do without. Certainly, existing GPE installations do without ldap but that could just be because these tend to use older versions of the particular libraries.
The GPE team status report covers the rest of the package set with links to the Debian and Emdebian packages.
I've got a few ITP's to close and a few more to open and close before the full GPE toolset is available (and I need to work out what has happened to the source package for gpe-terminal) but things are looking good.
All the cross building problems were in the base packages and a few of the lower level system libraries - the X libraries and GPE applications cross build very easily, thanks mainly to CDBS support in emdebian-tools.
The hard task lies ahead - configuring the packages so that Emdebian can support pre-built installation images for specific devices with their specific hardware configuration (and nothing else).
I'm expecting a 70% reduction in the amount of space required for the same package set relative to Debian.
When browsing the Emdebian package set you may think that 1,736 packages (or so) is a lot but this is mainly down to the Emdebian Tdeb implementation which splits out each translation for each package into a package of its own.
The next stage of the Tdeb process is to migrate those packages into a separate repository and finish the development of langupdate. Then, each user can choose to install only the .mo files required for their specific needs instead of getting 250Mb of translations for languages that are unsupported on their machine anyway.
The main deviation from the existing tdeb proposal is that Emdebian needs finer granularity so that gettext translations are separate from translated manpages - because Emdebian doesn't include any manpages.

22 November 2007

Neil Williams: Debian GPE team

I'd better put some details of this somewhere, so here goes.
Moray Allen and I have formed a Debian GPE team at Alioth. The idea is to gather all the GPE packaging stuff onto a mailing list as a single point of contact for all things related to GPE - the G Palmtop Environment.
I'm now busy updating the GPE packages to add the Debian GPE team as Uploader and taking advantage of these uploads to also add cross building support for all these packages for Emdebian as well as the normal upload tasks for keeping up with the Debian Menu transition and fixing lintian warnings that arose since the last upload, etc.
My basic idea is that everything under the "Debian GPE team" banner should be cross-buildable - it's only logical.
Once dpkg is fixed to once again allow cross-building properly, I'll upload these packages to Emdebian and lots more of their dependencies.
Next task is to file a few more ITP bugs and make good on my existing ones so that GPE can be a complete environment within Debian and Emdebian.

19 November 2007

Evan Prodromou: 28 Brumaire CCXVI

I'm glad to note that there's been a lot of movement over the last few weeks for the Montreal Coworking space. Patrick Tanguay, who's been organizing the project, let me know recently that we're closing in on a space. Which is just fantastic. Coworking is a loose term for a number of different ways of working together. The term is most commonly used for a kind of shared office where participants pay for either a fixed space (their own desk) by the month, or they pay for the use of a pool of free spaces (shared desks) on a daily or part-time basis. There are the kind of office resources, like WiFi, conference rooms, printers, copiers, etc. that you expect from an office, but unlike most shared-office situations, there's also an emphasis on community and communications. It's a great kind of work environment for people who would otherwise work at home or in caf s, such as freelancers, contractors, and startuppers -- or for people visiting from out-of-town. I've been to a couple of the Bay Area (California) coworking spaces -- the one at Citizen Space in San Francisco and the one at SocialText in Palo Alto. Both were convenient, fun, and social -- a good place to get some work done. Patrick's been working on a Montreal coworking space for a while -- talking to the City and neighbourhood development organizations -- and he's settled on a space in Mile End. It looks pretty fantastic. You can see the pictures and a map at the Montreal Coworking Web site. I've been working out of the house for about 5 years, and I really like the freedom and convenience it affords. That said, I'm really looking forward to having a more formal environment to work in than my home office. It's great here, and I feel very comfortable, but it would be nice to be out of the house. I also tend to meet with contractors and partners at local caf s, which can be distracting -- I'm looking forward to having meeting rooms. There's a 5 7 ("sank ah set" -- it's what we call a cocktail party here in Montreal) planned for people who'll be involved in the site planned for this Wednesday, November 21, at Bar Inc. (250 Mont-Royal Est). I won't be there -- we'll be in New Jersey by then -- but I hope others interested in the coworking take the chance to go. tags:

JS-Kit and data portability I've been a big fan of JS-Kit since I heard about it. I featured it in my list of 10 Web APIs for LinuxWorld, and I use it on my own personal site for comments. But one thing that concerns me, and that I've asked for clarification from JS-Kit about, is data portability. If they went out of business (heaven forfend), or if I figured out another cool way to do comments on my site, I'd like to be able to migrate old comments to the new system I'd build/use/buy. But as far as I can tell, there's no interface to download all comments on a site (either in HTML or some other structured format). I think this is going to be a key issue for people building Web sites with UI widgets in the future. It's a really, really useful way to make sites, but I don't think many developers are going to be willing to invest in a platform with no "insurance" that they can be flexible in the future. Sure, it's free of charge, and it seems kind of mean to use the poor JS-Kit folks and then move on to someone else -- but realistically it's an option you need for development. tags:

One-liners Some other stuff I'm thinking about today:
  • On the "upcoming events" front, we've got some plans to make BarCampCanada1 happen here in Montreal in May 2008. I'm not sure how that's going to shake out, but I'm excited about the possibility of a nationwide BarCamp.
  • I'm interested in Heather Ford's and Jimmy Wales's 50 parties idea - having fifty parties in one year to bring together local Free Culture people. I think we should have a party here in Montreal. Maybe in the Spring...? Maybe to coincide with BarCampCanada1?
tags:

16 November 2007

Ondřej Čertík: SAGE Days 6

From November 9 till November 15 I attended SAGE Days 6 in Bristol, UK. It was a conference and a coding sprint for the SAGE project, which wants to build something comparable to Mathematica, Maple, Matlab and Magma built only from open source components without reinventing the wheel. Sage also provides excellent novel implementations for many mathematical algorithms (not found in Mathematica/Maple etc.).

I was invited to give a talk about SymPy, which is a Python library for symbolic mathematics, that we are doing.

Here are my notes from each day:

Saturday: one, two
Sunday: one, two
Monday, Tuesday, Wednesday: one

Impressions

Very positive. I started SymPy two years ago, because I wanted to play with symbolic mathematics in Python, see for example my presentation I gave at this conference for details. SAGE at that time was just able to do some mathematics things, but it was very weak in calculus, which is the SymPy's main domain. This has changed last half a year, when SAGE people managed to wrap Maxima in Python (which I thought to be completely impossible), so I started to follow SAGE development more closely. After the SD6, I must say I became very excited about the project.

One problem with mailinglists, IRC and other online interaction is that it's very difficult for me to get an impression about the people and the project. Being able to meet the developers and discuss with them face to face gives me the impression very quickly and very accurately.

By far the biggest guarantee, why it is worthy for me to contribute to SAGE, is the project leader, William Stein. He is very rational and pragmatic (I like these two properties) and after many discussions with him, I came to realize that he has basically identical views on the important things as I do and were I on his place, I would do the same decisions as he did and does. That's very nice, because I can concentrate my energy on things that I like to improve and don't have to worry about other things, because I know he will do it right.

The other SAGE developers are experts and with similar attitude as William has. It's enthusiastic to be among people who make things happen. For example one of the authors of Cython, Robert, implemented during SD6 a very nice HTML output, that shows Cython code, with colors according to how many Python API calls are called on that particular line, and by clicking that line it shows the corresponding C code.

SAGE project has a high aim and it stricly goes for it, without looking too much to the right or left, and that's how it should be. And it does produce a lot of very useful and high quality stuff along the way, for example Cython (probably the best wrapper for C/C++ things now, only pypy could possibly beat it, but that's still more a research project) or the SAGE notebook, which looks like a Mathematica notebook, but better and in a browser (together with a revision history, sharing, SSL encryption, etc.).

The only little problem is that currently SAGE developers are all mathematicians and as is well-known, mathematicians looks at mathematic from a very different prospective than physicists. :) And so I need calculus, advanced calculus and only when this is working, and working well, I can build on it some more advanced features. SAGE currently goes a little the other way - it has a lot of advanced features, from number theory, modular forms, elliptic curves, etc., but the basic calculus still needs a lot of improvements. SAGE wraps Maxima, because Maxima is quite fast, very well tested, so it works well. It's difficult to extend and written in LISP and that's very bad. That's where SymPy could help - it's in Python, very easy to extend, but currently slower than Maxima (rewriting parts of SymPy using Cython, or even C directly, will make it faster, hopefully as fast as Maxima or faster).

It's not yet in Debian, but SAGE people are working on it. It's not an easy task unfortunately.

Conclusion

SAGE is a very promising young project and I think it will succeed to provide an open source alternative to Maple, Matlab, Mathematica and Magma.

13 November 2007

Russell Coker: More About Living in Hotels

In the past I have spent about 18 months living in hotels with a couple of months of breaks in between. I have previously written about it in terms of living in London hotels [1], but I have been asked for more generic advice. Firstly the amount of possessions that you may have when living in hotels is seriously limited. For ease of travel you want to restrict yourself to one suitcase for checked luggage and one for carry-on luggage. Hotels often have short-term storage space for possessions of guests, so having a second suitcase of items that are not worth stealing (clothes and books) may be an option. But consumer electronics devices other than a single laptop computer are not an option. I read an interesting blog post on ZenHabits.net titled Minimalist Fun: The 100 Things Challenge [2] which advocates counting and limiting the number of possessions you own. When living in hotels if I considered my books as one collection and my clothes as another (having never been interested in trendy clothes they count as utilitarian items for work or leisure not objects that I seek to own) and as my mobile phone was a tool for work and my computer gear was strictly limited to items that were needed for work (and thus “tools”) my only possessions were a digital camera and some bottles of liquor! The lack of ability to accumulate possessions may be considered as an advantage or a disadvantage depending on what your aims are. If you are moving to another country for work there are three ways of doing it. The easiest is to be a permanent employee of a company that assigns you to work there - in which case they will probably pay to transport your stuff when you buy or rent a house. If you are a looking for new employment (either contract or permanent) in another country then you can either find the work before moving or after arriving there. Finding work before arriving in the country is difficult and generally only works for short-term contracts. So it’s most likely that you will either be looking for work immediately after arriving or after a short contract. In either case having better mobility increases your employment options - why restrict yourself to one city or region when you can choose from all jobs in an entire country or (in the case of the EU) half of a continent! The career benefits of being able to accept any job anywhere in the world at short notice are significant! There are situations where an employer will pay hotel bills. One example was when I was working for a London based company and they assigned us to work at the other side of London. My colleagues complained and the company paid for hotel bills for everyone Sunday night to Thursday night inclusive as well as an extra hour of pay per day as compensation for the inconvenience. For me of course one hotel was as good as another so it just meant that my employer was covering 5/7 of my living expenses. Then I had a meeting with the hotel manager and pointed out that having me check out every Friday would be bad for them as the hotel was mostly empty on the weekend and suggested that they make me a deal for the other two days - I ended up paying something like one night of hotel fees per week! If I had rented an apartment I would have still been paying the full rent (which while less than 30 days hotel fees per month would have been considerably more than 4 or 5 days of hotel fees per month). If you live in a hotel then there is always some sort of deal that can be arranged. Apart from certain busy days (such as around the Christmas and new-year time) they always want long-term guests and will be willing to reduce the price, give free dinner or drinks from the bar, etc. The cost of living in a hotel at times such as Christmas may be as much as five times the regular rate. That is a further incentive to visit friends or relatives at Christmas. If you can’t visit your family (which may be difficult if they live on the other side of the world) then finding a friend who has a spare room might be an option.

10 November 2007

Neil Williams: Emdebian Tdeb plans

Only an outline so far but most of this code already exists in Emdebian SVN.

  1. C/C++ application: langupdate using libapt-pkg and libglib2.0-0
    • Reads supported locales and silently installs only the supported translations for all installed packages, with fallback support where configured.

    • Silently removes all translations for all unsupported locales.

    • First run in langupdate postinst

    • Removes package translations on the next run after package removal.

    • Separate /etc/langupdate/tdeb.sources.list and /var/cache/langupdate/lists/ to keep apt cache size down. Manual changes will be overwritten so maybe it ought to live in /var/ or /usr/share/.

    • One source for each locale root, main_en, main_fr, main_pt etc. All sources maintained by langupdate directly, according to the list of supported locales.

    • Each source contains all translations for locales within scope: en_GB in en, pt_BR in pt etc. to support fallback correctly.

  2. XS-Package-Type: tdeb with a file suffix of .deb (not .tdeb) to reduce the number of patches needed for a working implementation.

  3. Server-side perl script: langmigrate that parses the .changes file:
    • Removes tdebs from existing repository.

    • Moves incoming tdebs into new layout.

  4. No descriptions, no dependencies. All tdebs are Priority: extra and Architecture:all. Possible support for a tdeb1 version suffix for updates that are not yet in Debian. (Allows for translation updates without package uploads.)

  5. Plan to remove (or support an alternative package) dependency on libglib2.0-0 but OK for Emdebian at the moment due to targetting of GPE.

  6. langupdate itself Priority: optional and not part of the default emsandbox

  7. langupdate is a native package, uploaded to and maintained in Emdebian. Migrate into Debian once infrastructure is ready.

  8. langupdate has little or no output, only a help option and possibly support for --clean but everything else automated.


This is built on the emlocale method (from emdebian-tools) and emlocale will be modified to fit this plan in 0.5.4.
langupdate (and langmigrate) cannot be part of emdebian-tools themselves, so will be separate packages.
(and yes, it is 4am, I'm not sleeping well due to a viral infection.)

6 November 2007

Christian Perrier: RWC: Stunning Georgia

We watched either parts or the entire three matches yesterday. So, long report..:-) The day began with the most unbalanced game of this world cup, featuring New Zealand, world's top rugby team, against Portugal, ranked 22nd. Rugby in Portugal is played by about 4200 people only, in less than 50 clubs. All players are amateur but one (Gon alvo Uva, playing in Montpellier, France), being dentists, students, etc...and coming to RWC during their holidays. The result (108-13 and 16 tries) was expected but the feeling when Portugal scored a try was great, with the 40,000 attendees in Lyon supporting Portugal. Personnally, I had great time chatting on IRC with Miguel Figueiredo, one of the leaders of the portuguese l10n team in Debian, during the match. We watched Wales-Australia (20-32) during the evening. That game was obviously the key match of this pool, with the winner very probably finishing 1st in the pool. Wales playing in Millenium Stadium in Cardiff is always astonishing and show how much the Welsh people love this sport. During 1st half, Australia strongly dominated and logically lead 25-3 with 3 tries. Berrick Barnes, their new fly half (Stephen Larkham injured), is a very promising player and, imho, the match's MVP (even after being severely bashed by Gareth Thomas on Australia's first try). After half time, the Welsh team courageously fought and came back to 13-25, menacing Australia which was more hesitating. Unfortunately, Australia scored a try after a big mistake by Stephen Jones. So, even with good play by Wales and another try by the incredible wing player Shane Williams, Australia logically won this game. Again, a southern hemisphere team dominated a northern hemisphere one. This is probably what will happen during this entire WC and I bet that New Zealand, Australia and South Africa will end up in semi-finals, quite probably along with Argentina, unless France does a miracle and ends up 1st in their pool. I think that Australia is slightly weaker than NZ and RSA, though. So, my current bet is NZ-RSA for the final (this can happen, given their respective track to the final and given that they certainly will end up first of their respective pools). Finally, we watched the second half of Ireland-Georgia (14-10). *That* was quite a surprise. Ireland was very close to lose this game with Georgian forwards crushing them repeatedly at the end of the match and nearly scoring a try that would have made them win. Everybody was waiting for Georgia to swell after their strong 1st half (3-7) but they managed to fight until the last second, supported by Bordeaux 40,000 attendees (minus a few thousands of Irish supporters, of course). So, while the initial question was whether Ireland would score a bonus point, the final question became about them to *win* the match. This gives even more credit to Argentina's victory last Tuesday. Full standing ovation for Georgia at the end of the match. Today is again a busy day. I'll probably skip Fidji-Canada (which happens at the same time than France-Namibia) but certainly won't miss Samoa-Tonga and, of course, France-Namibia. Samoa have to win to keep their chances of qualifying (they can beat England, really) and, well, France has of course to win *and* score a bonus point. In this world cup where to so-called "small" teams are not that small, everything can happen and France is anything but safe, ehre.

28 October 2007

Neil Williams: cross-building transition complete

The rewritten apt-cross using the code from NorthernCross in libcache-apt-perl has just migrated into testing. Hinted alongside the new dpkg-cross and libdebian-dpkgcross-perl and emdebian-tools, this completes the first part of the transition.
I've been waiting for the migration to upload new versions but there isn't a new transition to start - yet.
Next stage will be to complete the support for the new dpkg-cross in dpkg itself (439979) and migrate the cross-config.$arch files into dpkg-dev. That only then leaves the dpkg-cross script itself, starting the next transition. On course to remove dpkg-cross before Lenny.

25 October 2007

Neil Williams: Emdebian root filesystem installable

Been a bit busy for the last week or so. Apologies to those who were waiting for other things but I've been dedicating my time to Emdebian in preparation for CELF in Linz, Austria which is now less than a week away.
I spent three days as a guest of Wookey and his employer, TobyChurchill, in Cambridge. TCL are sponsoring Emdebian at CELF and also assisted with this work session so that Wookey and I could work together to fix the root filesystem. I'm very grateful to TCL for donating a balloon3 board that I can use to test all the new packages I'm cross building for Emdebian. Various bugs in emdebian-tools have been fixed, allowing the rootfs scripts to be tested and improved.
Other improvements include outline support for machine-specific customisations of the rootfs from within the tools. Support includes per machine-type and per machine-variant combinations and at three points in the rootfs generation process: package selection, post first_stage_install and post_second_stage_install. I hope to create some extra documentation for those who want to go the whole hog and write a new debootstrap suite-script.
The rootfs uses busybox, dpkg, apt and includes support for ntpdate and cdebconf. Current tarballs are about 14Mb to download, installing to about 25Mb. Two main reasons: Emdebian doesn't recognise "Essential:" and Emdebian doesn't install perl.
I have some more testing to do tomorrow but the current Emdebian target repository does have packages sufficient for a usable root filesystem within a chroot. The remaining stage is combining the kernel modules into the rootfs to make a bootable system.
Support for these new features will be in emdebian-tools 0.4.3, due for upload to Emdebian tomorrow, hopefully. All Debian users of emdebian-tools have access to the emdebian repository so the upgrade will be available immediately after the upload.
Watch the debian-embedded list for full details of the new features (as well as the expanded manpages).

22 October 2007

Russell Coker: Lentil as Anything

I just read an interesting post by Kylie Willison [1] which mentions the restaurant Lentil as Anything [2]. The restaurant chain is noteworthy for charging what people believe that the food is worth (poor people can eat for free). I think that there are cultural similarities with the Linux community, so we should have a Linux meeting at one of those restaurants some time. Comment or email me if you are interested, I’ll probably arrange the details on the LUV-talk mailing list [3].

18 October 2007

Russell Coker: Reach Out - Only to People with New Computers

There are currently some adverts on Trams in Melbourne for some sort of community organisation. They have an amusing picture of an “Amazon” character from an RPG with statistics such as Self Esteem at zero. They have a web site at www.reachoutcentral.com.au which firstly tries to launch a popup window (did the web designers not notice that almost everyone blocks popups?) then uses a refresh for a redirect (with a message to click on an icon if it doesn’t work) and finally demands that Flash be installed. So someone who is in need of whatever counselling the Inspire Foundation (the organisation that registered the domain) offers is likely to be told that their computer is not adequate, I’m sure that they’ll appreciate that. As will the visually impaired people who will get even less out of the site. Is the web site offering a service that might tend to be needed by people who don’t have the latest computer gear and can’t run the latest version of Flash? It’s not only Linux users who are unwilling or unable to use Flash, older Windows installations also apparently have problems. Are people who can’t afford a broadband net connection likely to need the service in question? Dial-up network access is cheaper (and many people will be hesitant to visit a web site related to personal problems in a public place such as an Internet Cafe).

16 October 2007

Neil Williams: A little humour from dpkg

This arises from upgrading a cross-built package where the prerm maintainer script wanted to use install-info and as Emdebian doesn't use info or man pages, the prerm script failed. I'd already removed the same from postinst but got this little comment from dpkg when I installed an upgraded package on the Balloon3 ARM board:
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.

Nice trick!

Emdebian postinst patch.

This is the full apt output:

/ # apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
apt
The following packages will be upgraded:
busybox libreadline5 readline-common
3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 563kB of archives.
After unpacking 12.3kB disk space will be freed.
Do you want to continue [Y/n]?
Get:1 http://buildd.emdebian.org unstable/main readline-common 5.2-3em3 [1882B]
Get:2 http://buildd.emdebian.org unstable/main libreadline5 5.2-3em3 [249kB]
Get:3 http://buildd.emdebian.org unstable/main busybox 1:1.1.3-5em2 [312kB]
Fetched 563kB in 7s (70.5kB/s)
(Reading database ... 489 files and directories currently installed.)
Preparing to replace readline-common 5.2-3em2 (using .../readline-common_5.2-3em3_all.deb) ...
/var/lib/dpkg/info/readline-common.prerm: /var/lib/dpkg/info/readline-common.prerm: 3: install-info: not found
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement readline-common ...
Preparing to replace libreadline5 5.2-3em2 (using .../libreadline5_5.2-3em3_arm.deb) ...
Unpacking replacement libreadline5 ...
Preparing to replace busybox 1:1.1.3-5em1 (using .../busybox_1%3a1.1.3-5em2_arm.deb) ...
Unpacking replacement busybox ...
Setting up readline-common (5.2-3em3) ...
Setting up libreadline5 (5.2-3em3) ...
Setting up busybox (1:1.1.3-5em2) ...

This is inside a chroot on the Balloon3 board using cross-built packages from the Emdebian target repository. The chroot was created with the 'emsandbox' utility from emdebian-tools 0.4.1 (due for upload to Emdebian tonight) and a little manual help. A few more tweaks to the relevant packages are needed before the chroot (and therefore a root filesystem for Emdebian) can be installed without assistance.

14 October 2007

Russell Coker: AUUG 2007

Today was the final day of the AUUG 2007 conference [1]. Yesterday I gave a talk about SE Linux for about an hour (not sure exactly as I forgot to make an MP3). AUUG is well known for having conferences with very technical delegates and I wasn’t expecting an easy audience. At the start of my talk I asked for a show of hands as to who has used SE Linux before, about 1/3 of the delegates raised their hand. Someone requested that I poll the audience as to who had used SE Linux involuntarily, it wasn’t what I had planned to ask but it’s best to get these things out in the open so I asked the question. More people raised their hand as being unwilling users of SE Linux than those who had firstly admitted to using it! A theme of the AUUG conference was quality, and I had planned to cover some of the ways that SE Linux improves the quality of code by making certain classes of bugs show up (EG file handle leaks) and by allowing the developers and sys-admins to know exactly what programs are doing. But I ended up explaining why you want to use SE Linux, the concepts of policy analysis tools (as compared to the absence of such tools for Unix permissions), the benefits of MAC and why SE Linux is worth using. I believe that the talk did some good and conversations with delegates afterwards revealed that some of them had done some positive things with SE Linux. Today I wore a T-shirt advertising the root password for my new SE Linux Play Machine [2] which will be online shortly (hopefully tomorrow) which got some interest (AFAIK I’m the first person to wear a root password on a T-shirt). When I have my play machine online I plan to wear the shirt whenever I visit an electronics store or any other location where geeks are likely to congregate. ;) After the conference finished about 1/3 of the delegates went to Ginza Teppanyaki [3] for dinner. Some of the guys wanted to photograph me wearing my shirt. Finally, the conference went pretty well, the delegates and speakers all seemed to enjoy themselves and learn some useful things. Congratulations to the AUUG conference organisers!

12 October 2007

Raphaël Hertzog: The DSA dilemma

For once, Clint blogged on something that I can understand. :-) I don’t buy everything he says, but in the case of DSA, the part where he says “you cannot have a functional and respectable subgroup if it maintains autonomy like that” is a real problem. The leadership problem I mentioned is real. And it can theoretically be solved by undelegating one of the problematic side of this DSA-internal dispute. But which one? Given the unwillingness of Joey to discuss the problems, he makes an easy target… which would leave DSA up to Ryan, James and Phil. But is that a desirable thing? If DSA is perceived as being an “autonomous” group which is not involved in Debian’s main discussions and which is somewhat disconnected from Debian’s day-to-day life, it’s largely due to the behavior of James and Ryan. E-mail communication with them is very difficult as they’ll respond only if they really care about something. And despite the setup of the request tracker, they have barely been able to make proper usage of it… the idea was to use RT tickets to track everything that DSA does but they don’t use it as such. For example, James setup a “wikiadm” group and he never reported anything to the related ticket (#194) (I did it myself once I found out). Also there’s an internal ticket about the replacement of ftp.debian.org (that I created because ftp.d.o ran out of space regularly) and AFAIK Jeroen has been in touch with James to setup that replacement, but nothing got reported to the tracker. Ryan promised me once to put his DSA TODO list in the tracker so that other people can jump in and help out. He never did. So while Joey is definitely a pain for DSA, at least he’s a visible participant of the team and he interacts with the community. James and Ryan are not, they interact only through private channels and do not share their opinions or their vision of Debian.
I believe this is a real problem. On the other hand, most of the interesting changes in the last months are the results of James’s work. But he’s also implicitly blocking addition of new members as long as the leadership problem is not solved. I tried to fill the communication void of the DSA team by various means. I follow everything as closely as I can so that I can report changes on other channels, mailing lists when needed. I made efforts to document stuff on the wiki page, etc. But this is not a long term solution, the communication issue must be fixed within the team. The path ouf of this mess is still not very clear, but something is going to change soon. Not quite sure what though. What would you suggest? And if you were DPL, what would you do? Since private discussions and negotiations lead nowhere, it’s tempting to bring the issue in the public area. In theory, they have no way to escape discussions and they’ll have to communicate their grudges against the other side if they want to have some fair judgment between both parties. Unfortunately, given the habits of James and Ryan, they probably won’t participate in any public discussion and either resign or stay where they are waiting for any decision… Comments welcome. Partagez cet article / Share This

8 October 2007

Neil Williams: dpkg-cross 2.0.0 - fragility expected!

OK, changes in dpkg-dev 1.14.7 have forced my hand a little and dpkg-cross 2.0.0 has now been uploaded to Debian unstable (not experimental).
apt-cross 0.2.9 has been uploaded to Emdebian unstable - dependent on
dpkg-cross >= 1.99
apt-cross 0.3.0 has been uploaded to Debian unstable but will spend some time in the NEW queue (hence the 0.2.9 upload to Emdebian). apt-cross 0.3.0 is functionally identical to 0.2.9
emdebian-tools 0.3.9 has been uploaded to Emdebian unstable - dependent on apt-cross >= 0.2.9 and dpkg-cross >= 1.99
All three comprise extensive rewrites. apt-cross, in particular, is barely recognisable. dpkg-cross is a shadow of the former package and v2.0.0 signals the beginning of the long goodbye to both packages. dpkg developers expect to be able to merge all dpkg-cross functionality into dpkg before Lenny. Once that is done, it should be trivial to merge apt-cross behaviour into apt.
Only the new libcache-apt-perl package (containing the modified NorthernCross code from virtuoso) will persist. Once this whole transition is over, I'll upload Cache::Apt::* to CPAN so that it can become its own source package in Debian once apt-cross is removed.

IMPORTANT
dpkg cross-building support is HIGHLY EXPERIMENTAL!
Significant changes are still pending, including remapping the build paths during the
dpkg-buildpackage build and utilising the updated dpkg-shlibdeps code which is a decade ahead of what we had in dpkg-cross 1.39.

  1. dpkg 1.14.7 included dpkg-buildpackage as a perl script instead of shell which breaks dpkg-cross <= 1.39 but the new code to support dpkg-cross >= 1.99 is not implemented yet.

  2. The breakage that Zumbi experienced when using the dpkg version from
    experimental will now occur in unstable.
    http://lists.debian.org/debian-embedded/2007/09/msg00067.html. Note that this breakage would be severity "critical" if filed as a bug because it prevents not only cross-builds but normal Debian builds.

  3. dpkg-cross 2.0.0 fixes this issue. Hence the urgency in uploading dpkg-cross 2.0.0

  4. dpkg-cross 2.0.0 removes the old diversions of dpkg-buildpackage and dpkg-shlibdeps.

  5. dpkg is set to support the removal of the dpkg-cross diversions and code to support this is coming this weekend. This means that there will be a GAP where cross-built packages will fail to find the correct shared libraries. HOWEVER, installing dpkg-cross 2.0.0 restores the ability to build normal Debian packages whilst keeping dpkg-cross installed. This is a far more important gain than a temporary problem in packages that hardly anyone is using yet (our Emdebian crossbuilt packages).

When dpkg-dev 1.14.8 becomes available, apt-cross, dpkg-cross and emdebian-tools will be updated to depend on this version.
Everyone: please note - cross-building support in Debian will be "fragile" for the next week or so. The rewritten packages are being uploaded against experimental dpkg support I expect bugs. :-(

The benefits of these changes are:
  1. The removal of diversions that are a decade out of date.

  2. The implementation of virtuoso's NorthernCross code that transforms apt-cross and fixes lots of awkward bugs.

  3. The incorporation of cross-building support in the heart of dpkg.

  4. The beginning of the long goodbye to dpkg-cross and apt-cross.


RESULTS
With the new packages installed, some packages will produce:
 emdebuild: ERROR /usr/bin/ contains files for the wrong architecture!


i.e. the build appears to succeed but until dpkg-dev 1.14.8 includes support for looking for the correct libraries in /usr/$arch/lib instead of /usr/lib, we get unusable packages. This at least means that packages can be test built and the patches updated.

7 October 2007

Jeff Bailey: Life, laptops, and happy T-day!

Hmm. Quick update of life: Last weekend Leif pushed out a third tooth. This weekend, I fed him for the first time. So far it's been Angie actually putting things in his mouth, but on a visit to Cha Ya, I fed him some miso soup. Totally fun. Our current experiment with him is to get him to sleep at night without nursing to sleep. It used to be that I could get him to sleep just by lying next to him in a dark room, and lately I haven't been able to. So, he's now nursing just before and then switching to cuddling to sleep. It's not ideal but it at least moves us from something only Angie can do to something both of us or a babysitter can do.

That's right, we're starting to think about babysitters. We don't know people here well enough that we can leave him with, but when we do, baby, there's a bottle of port with our name on it. (Yes, it's the same bottle of port I got for my 30th birthday. I didn't want to pass a sip for each of the 100 people that were there at the time, and the next major event that came along was Angie getting pregnant)

A quick geek moment: current Ubuntu Gutsy now suspends and resumes on both of my laptops with reasonable consistency. For a long time, I could suspend my Toshiba once, and the second time, it would lose keyboard but that seems to be fixed. My work laptop has suspended and resumed generally fine all along, but Network Manager still occasionally forgets the settings. This is really annoying when there's a pile of 802.1x stuff to key in. I can't reliably reproduce it, but maybe during the next Gnome cycle, I'll try to figure out why it does that. Other than that it's working really well. The wine that's in Gutsy claims to support iTunes, but it doesn't. Even if it did, it probably wouldn't work with the iPhone, but I'm sure that'll get fixed sometime. Or perhaps the lawsuit will yield something useful and make hacking it safe. Given that it's pretty trivial to get the browser into a state where it's worth power cycling the phone, I'm not willing to forgo updates in the meantime. Assuming I could do one, that is.

Lastly a happy Thanksgiving to everyone! We were attempting to meet a pile of people this weekend, but amazingly enough 4 different people ran into trouble getting here. It'll be a cozy event then.

3 October 2007

Neil Williams: Working Balloon3 board

After quite a few struggles with power supplies, serial cables, the never-ending pain of minicom and the (almost) solved pain of ethernet over usb, my recently received Balloon3 board it up and running. (i.e. recent = less than 12hrs old. 8 hours of that was spent trying to work if I had a compatible power supply and it's been running for nearly 3 hours already). I can ssh into it from anywhere on the network, I have the basic system installed and I've set the date and time. :-)
The task ahead is now clear:
  1. Continue to work with Guillem to merge dpkg-cross into dpkg so that the dpkg-cross transition can release the rewritten apt-cross and the dependent emdebian-tools

  2. Test and fix the Emdebian rootfs packages to at least support login to a chroot on the Balloon (which I've called genesis.codehelp)

  3. Simplify the installation with sensible defaults in the Emdebian packages and improvements to the emdebian-tools scripts that create and could install the chroot itself

  4. Document the process for the CELF tutorial in Austria in 30 days time.


Busy, busy . . .

2 October 2007

Neil Williams: 64bit time support

Just a note on the 2038 overflow post, libqof1 has had this support since v0.7.0 which was included in the Etch release.
pilot-qof (>=0.1.1) uses 64bit times from libqof1 and also made the Etch release so dates on all devices supported by pilot-link in Etch can be handled as true 64bit values already, as long as the relevant date is part of the main 4 Palm applets, calendar (datebook/appointments), expenses, tasks and contacts(addresses).
Note that although the Palm 'contacts' applet supports birthday reminders, this extension of the contacts database is not supported by pilot-link because it has yet to be reverse engineered. All dates entered into tasks, expenses and calendar are supported so if you create genuine appointments for each birthday (instead of using the Palm reminder support in Contacts), these appointment dates will be safe from overflow until long after our Sun has died, at which point dates based on the rotation of the Earth become irrelevant anyway.
:-)
(Sometimes, it would have been handy to have 48bit systems - if everyone adopts 64bit time, someone is going to have to come up with a calendar *not* based on the rotation of a planet or any other object as all physical matter - even the universe as we know it - becomes temporary on a 64bit timescale. It is hard enough to grasp geological time, let alone 64bit time.)

Next.

Previous.