Sometimes in programming one gets to concentrate for a
bit on a single, simple, pure program. A command line
utility which is completely in batch mode, does not handle
any kind of complicated data, does not need to deal with
other programs, or the network, or anything nasty like that.
Something where one can just look at the one or two
interesting parts and not have to worry about anything else.
This is the story of one such program.
I need a program to generate test data sets for backup
performance testing. The program needs to be reasonably
efficient, since the simulated backups may be rather large. My
first attempt was not fast enough. There were two reasons
for this: the way I was generating random binary data, and
the way I was generating filenames.
The program generates random binary data to simulate
large files, such as image, audio, or video files, and thus
it needs to be uncompressible with the usual compression
algorithms.
My first attempt was to generate each output byte with
the Python pseudo-random number generator (random.randint).
This only results in about 0.1 megabyte/s (on my laptop), so
I needed to improve it. After some iteration and advice, I
landed on the following: I generate random bytes with the
Python PRNG (random.getrandbits), and feed these to an MD5
checksum. After each byte, I get the current digest and
append it to the output. This way, for each random byte, I
get 16 bytes of output. It isn't completely random, but it
satisfies the uncompressibility requirement. This resulted
in about 2.5 MB/s.
I then tweaked the code a bit, doing things like avoiding
unnecessary arithmetic. I further decided to only feed the
first few dozen bytes from the PRNG, and the rest as the
same constant byte. The initial run of randomness is enough
to make sure the output is unique for different files, so
that compression doesn't find lots of duplicates of the big
files. This resulted in a speed of about 6.6 MB/s on my laptop
and about 13 MB/s on my server.
This still didn't make the program fast enough, but the
remaining problem was not that writing the contents of one
file was too slow, but operations on directories were very,
very slow. After benchmarking with zero-byte files, turns out
that at the slowest, with file counts in the millions,
it would create only a few tens of files per second. That's
empty files, so only requiring an update of indoes and the
creation of a new directory entry. Obviously, the problem
was that I was putting too many files in directories, causing
the filesystem to spend a lot time scanning them.
I was creating up to 250 files per sub-directory, and then
creating a new sub-directory. All of these sub-directories
were going directly under the user's chosen output directory.
To measure what the optimal size of a directory was, and
whether to create two levels of sub-directories, I wrote a
little benchmark program.
From the graphs I deduced that overall, having two levels
of directories and up to 1000 files per sub-directory was the
best option of those tested.
On the other hand, the bigger the files, the less it
mattered what the directory structure was. Perhaps the obvious
reason for the slowness wasn't that, after all.
Then I realized my code was slow because I was doing an
os.listdir (listing all files in a directory) for every
directory every time I creted a file. Fixing that idiocy
made the code so fast that any overhead from the directory
operations was no longer relevant. But at least I had some
nice graphs.
On the server I will be generating my test data the
program is now happily generating just over 11 MB/s of test
data. I wouldn't mind having it be a lot faster, but it's
fast enough. It will take hours to generate hundreds of
gigabytes, but I hopefully won't need to do that very often.
Thus, further optimization isn't worth my time, right
now.
The program is
genbackupdata,
in case anyone else cares about it.
I really believe we should not require repacking the original tarball
to strip non-free but distributeable stuff, as long as that non-free
stuff is not installed in the resulting binary packages, nor used in
any parts of the building process.
Minor bug fix and translation update release for pilot-qof and what was originally going to be a similar upload for gpe-expenses - until I decided that the PO files should really be split because apps using the expenses object library didn't need translated strings from the gpe-expenses application.
So what I learnt on gpe-cash has been put into place for gpe-expenses. A few consequences:
- Translators will now get two files per update, same number of messages.
- glib_gettextize dropped in favour of gettextize with its multiple po directory support.
- Labels for expense types (Mileage, Parking etc.) and expense payments (Cash, Cheque etc.) are now translated whilst retaining untranslated strings converted from the enum values for use in the backends. This retains human-readable data storage in XML or SQLite.
- Lots more files in CVS. gettextize isn't particularly nice to run in every ./autogen.sh operation.
You really have to be a fucking son of a bitch for living in a world where you go out and see everyday’s people living on extreme poorness, unfairness all over the place, six year-olds performing like clowns on red stops and your fellow compatriots dying on the streets, among hundreds of all other kinds of shit happening. You really have to be one when, after all of that, you finally arrive and seat on your so comfortable chair and start blogging, working with free software or playing a movie on your iPod.
We are all so cynic, and I’m particularly bitter.
[ UPDATE: abrotman also pointed me to the term hypocrite. Yes. ]
Hmh... It's hard to get to a decision on this aspect, although I'm mostly sure I'll vote for a "yes". I have read most posts on this subject on
debian-vote and on
the planet, and I'm still not too much at ease... Anyway, one of the most relevants so far is
Joerg's - And not because he is so involved with the NM process, but because he drives me to what I think is a very important point few people have addressed:
For long, we have been saying that
you don't have to be a programmer to help Debian - But so far, we have been unable to deliver
except for this funny French guy. And although the current proposal still focuses on getting a step closer to DDness, and for many people this seems like geared at reducing the frustration when going over the NM process, my impression is that this will help us implement something similar for other areas.
Some people have complained about implementing decisions per policy instead of doing so gradually. Thing is, I feel, this kind of proposals have been reiterated over the years - and they have always dropped into the silence because some actions need to be taken by the people who are less willing to. Maybe the
only way to break the inertia is to take a step by a GR vote. Maybe parts of it will have to be undone or re-done differently if we end up with the wrong results - but we
will have broken the status-quo. Maybe, who knows, this will serve as an experiment - and after another long series of long flame threads we will end up in 2010 in the same position are we currently at - but it won't be because of inaction.
I finally managed to learn
CTest enough to be able to add some test
cases to add some automatic testing to
Gammu. Well there is not
much to test until we have some fake driver for phones which can be used
to feed custom data, but at least some parsers can receive testing.
First thing I try to focus on is vCard parsing. I know this is currently
tricky and I'm trying to collect as many problematic vCards as possible.
For now I have collected some from issues in bug tracker and my emails
when people reported some problems. So if you have some vCard which
Gammu parses wrongly, please send then to me.
For now 3 of 5 vCard tests fail, but I hope to resolve those problems
until release will happen :-).
If you don’t follow debian-vote, you have
missed this.
It’s really worth a read before casting your final vote on this issue. As I explained in my
reply to Russ, this vote is not about details but whether we want to have an intermediate level between DD and nothing, or not.
If you don’t give an initial policy, then people against DM will use that “hole” to block it because “it’s not how DM must be done” (and then you’ll need another GR to define a correct implementation and overrule those who are blocking). Yet people keep mixing issues when discussing DM. For some, DM is okay if we had a working NM system. For some, DM would be okay if the responsibility to give upload rights didn’t rely on DD but on a sort of QA committee. For some, DM would be okay if it were integrated in NM. There are also people who are opposed to this second class of contributors but I don’t think they are a majority. Still we might loose a nice opportunity because people want to solve too many things at once instead of doing a first step in a new direction.
I've been busy doing various things, so I've not had a chance to
blog much lately. Time for a quick catch-up...
We've had a bit of a development panic at work, so I've been
working longer hours than normal. The scary thing is (and I've noticed
this in the past too), I seem to enjoy the job more when there's real
pressure involved. That's not to say I want it to
always be
stressful, but we've had more fun with a small group of us really
concentrating on a single project, working well together.
Outside of work, I've been really quite relieved to take a bit of a
break from Debian stuff since Debconf has finished. Debconf (as
always) was a really good way to be re-enthused about working on
Debian, but it has taken me several weeks to get over it
physically.
I've finally finished upgrading all of my machines at home to
Etch. In most cases it was easy, but the final one left was lump, the
firewall/mail/web/foo server. I'd chickened out of upgrading it
for quite a while due to the sheer number of services it hosts, and
also the substantial amount of local config it therefore holds. In the
end, things were thankfully mostly painless. The nice thing about
doing the upgrade was that finally lots of new software has suddenly
become readily available. Amongst other things, I've added iodine and
openvpn, and now I'm looking into playing with voice over IP (probably
Asterisk). My Nokia E70 has a VOIP client and wifi, so in theory I
should be able to use my regular mobile phone as a voip handset on my
wireless network at home and just get cheaper outbound calls. Yay!
I visited my friend Matthew a couple of weeks ago, and also helped
him upgrade/install his network of Debian machines. Unfortunately, his
main workstation (dual AMD64 goodness) is still left just running
Windows. BIOS/SATA RAID - just say NO! No matter what we did on that
machine, we could not make it dual-boot XP and Debian without forcing
him to reinstall it all from scratch. :-(
The SPI board elections have just
finished.
Congratulations to the new mugs^H^H^H^Hmembers of the board, and best
of luck in doing a good job. And comiserations to the people who lost
- I'm sure most of you would have been good, useful board members
too.
We're having a final Debconf 7 wrapup meeting next weekend in York,
where we're hoping to get the final conference report finished. There
are a few more T-shirts to get finished and delivered to people and
the sponsorship bags to go out, then it's all done for this
year. It'll be good to meet up with people again anyway.
Oh, and not long now until the
big BBQ at my
place. I've started getting some supplies in already, and I'm looking
forwards to a bunch of geeks coming round to wreck my house again. Or
something... *grin*
Last but not least - I'm changing ISPs shortly.
Noodles and
Huggie have provided
excellent service for nearly 3 years, but are exiting the business and
moving on to other things. So I'll be moving my home ADSL back to
UKFSN shortly. Hopefully the
disruption will be minimal.
I recently received an email from
RSA inviting me to read their blog (after having requested an evaluation copy of one of their products). They invited me to “join the conversation“. Often blogs are described as a “conversation” and I’ve been considering whether that analogy is appropriate.
The Collaborative International Dictionary of English v.0.48 has the following definition: Usage: Conversation , Talk . There is a looser sense of these words, in which they are synonymous; there is a stricter sense, in which they differ. Talk is usually broken, familiar, and versatile. Conversation is more continuous and sustained, and turns ordinarily upon topics or higher interest. Children talk to their parents or to their companions; men converse together in mixed assemblies.
There are instances of blogging that can approximate conversation when bloggers cite each other’s articles in turn and leave comments on each other’s blogs. But it’s usually not that continuous and sustained. An occasional patterin is that blogger A writes a post, blogger B writes a post disagreeing with it, blogger A comments on blogger B’s post, and that’s usually the end of it. Usually it’s just a case of multiple bloggers writing posts representing their own opinions with occasional references to other blogs and no sustained interaction. The blogging interaction seems to more closely resemble academics presenting papers with alternate solutions to a problem than a conversation.
One factor that I believe defines conversation but which isn’t mentioned in the dictionary is that the parties involved have an equal standing. The comments section of a blog is not such a forum, the blogger has a significantly more powerful voice (at least in connection with their own blog) than the people who comment. Someone who posts a comment may have it deleted, and it if is left then a rebuttal in another post will be seen by a significantly larger number of people (the number of people who read comments on a post is a tiny minority of the people who read the post). This doesn’t preclude conversation between bloggers who are of equal popularity in a community, for example most readers of my blog come from
Planet Linux Australia and
Planet Debian so any blogger who is also syndicated on those sites has an equal voice to me.
Another factor in conversation is whether responses are even read. Many blogs don’t accept comments and it’s never certain that a blogger will see a track-back from a blog that references one of their posts. When one party ignores the other (or appears to do so) then there is no conversation.
I’m not aware of whether a conversation with RSA people would be possible. While their blog refuses to send content to my Planet installation I guess I’m not going to find out…
Is the lack of conversation a bad thing? One problem with conversation is that it often degenerates into what GCIDE defines as talk, while that is good for a friendly mailing list (EG your local LUG) it isn’t so good for the exchange of technical information. A compounding problem for mailing lists is the number of posts that can not be interpreted without the context of a thread of discussion. This often makes mailing lists unreasonably difficult to use in the search for answers to technical problems. When reading google search results I will usually read blog URLs before mailing list posts as a blog post will usually stand alone and either give me an answer or be obviously not related to my problem - sometimes I have to read a dozen messages in a list discussion to determine that it’s not going to help me!
To improve things in this regard I plan to increase the number of posts I write with solutions to random technical problems that I encounter with the aim of providing a resource for google searches and to randomly inform people who read my blog. I find such posts by other people quite useful, I often get inspired to implement a technology after reading a blog post about it - there are many things that have a low priority in my todo list because they seem difficult, a blog post that reveals them to be easier than expected and advises how to avoid common problems can really make a difference!
Share This
I've been struggling with gettext most of the day but I've finally got the solution! gpe-cash builds an application and a shared library (with API, -dev, -dbg and -doc). Source files for the application contain translatable strings, as do source files for the shared library. Unable to find documentation for how this should work with gettext, I got no end of path related errors.
Here's the clue: Keep ./po/ for the $PACKAGE.pot file, add ./po-foo/ for the second POT file. My mistake was to try to use
po/ and
src/po or
src/po and
src/foo/po.
Then, remove the symlinked Makefile.in.in from
po-foo/ and copy the file from
po/ so that the
po-foo/Makefile.in.in can be edited to change the value of
GETTEXT_PACKAGE to the alternate file.
Then, add the LINGUAS file to each po directory.
Add
po-foo/ to the configure.ac output.
I also switched from glib_gettextize to gettextize (switching the configure.ac macros at the same time). I'm not sure if this is strictly necessary (and it added quite a lot of stuff to both po/ directories) but I'm not keen on breaking what I've just spent all day fixing!
Committed to
cashutil SVN: r619.
tags 388218 + pending
tags 270533 + pending
thanks
Ladies and Gentleman,
I am finally happy to mark this pending … upload should go to sid
today.
iceowl is the unbranded sunbird standalone application.
lightning, the sunbird based thunderbird extension will be called
iceowl-extension … and will be usable in icedove + thunderbird.
I will announce on debian planet once those are uploaded.
Have fun,
– Alexander
I'm getting myself ready to take off for
Taipei for
Wikimania 2007. It's going to be an exciting event -- my first time in
Taiwan, too.
I've been ambiguous about Wikimania each year, but I seem to keep going. The stated purpose of the conference is to be
solely for Wikipedia and other Wikimedia projects, but people seem to keep coming who don't have anything to do with Wikimedia projects, so I figure I might as well go, too. I like finding out what other people are doing with
MediaWiki, and I like getting pumped up about
Open Content, the Wiki Way, and freedom of information around the world.
I hope that eventually more general-purpose wiki conferences like
RecentChangesCamp and
WikiSym will get more public attention, and participation by Wikimedians, in the future. It would relieve some pressure on Wikimania to be something it doesn't seem to want to be.
I'm going to be speaking about
Extending wikis with social networking tools. We've done some interesting work with this on
Wikitravel Extra, and I plan on using the same technique for other wiki sites in the future. I think it's a powerful way to enhance the unity of consensus knowledge with a multiplicity of varying opinions.
I'm also looking forward to the
Debian Birthday Party 2007, thrown by local Debianistas. It should be a lot of fun! There's also a
Creative Commons conference happening during Wikimania, which will be pretty interesting. Lots to do in Taiwan this year.
tags:
wiki wikimania wikimedia wikipedia debian taiwan taipei
WYSIWYG and MediaWiki
I've been an advocate of WYSIWYG editing in MediaWiki for 3 years now. So I'm interested to see that the core dev group for FCKeditor have gone the distance to make a real, working WYSIWYG plugin for MediaWiki. The extension has just about everything that I'd want from a WYSIWYG mode for MW:
- It stores articles as Wikitext. Since in-browser editors generate HTML, plugins often try to store HTML in the wiki database, but this conflicts so much with other parts of the site, it's unworkable.
- It's implemented as a MediaWiki extension. This makes it possible for MW installations to experiment with the tool and remove it if they don't like it. It also shows that the tool isn't too invasive and should work with other extensions.
- It supports templates, tables, images, and citations. A lot of the advanced syntax for MediaWiki is supported.
- It's optional for users. Users can switch to Wikitext any time they're editing a page, and users who don't like WYSIWYG at all can turn it off with a user preference toggle.
I think that this tool has the capability to be the WYSIWYG editor for MediaWiki. The previous effort using Wikiwyg didn't handle most of these points. Jimmy Wales gave an impassioned keynote at Wikimania 2006 about the need for WYSIWYG editing on Wikipedia and elsewhere, and I hope we can use the FCKeditor MediaWiki extension to meet that need.
tags: wiki wysiwyg mediawiki fckeditor wikiwyg
Thanks to
Centauri Dreams for the pointer to the ESA DARWIN proposal now
here (high-resolution version also
here).
DARWIN is a space mission to detect the presence of life on other planets by
spectroscopy: looking for
biomarkers such as the presence of Ozone, water and methane together on terrestrial-sized planets. These are groups of gases that collectively would imply the presence of life.
Unfortunately it appears that DARWIN is slipping: its not currently hardware-funded, and has a planned launch-date of 2020, having slipped from 2012. This is when NASAs alternative
Terrestrial Planet Finder and
Space Interferometry Mission have been defunded indefinitely.
At the same time, the French
COROT mission has just announced its
first month-long series light-curves.
COROT hunts for Earth-sized planets: it's a small space telescope that stares at the same patch of sky for long periods, looking for changes in the
amount of light from stars that indicate a planet passing in front of a star.
It has been much more successful than expected, having already announced its
first exoplanet detection in April.
NASA is also launching a similar mission,
Kepler, in 2008.
So we face the prospect that any day now we may know of Earth-sized planets in a
Habitable zone, and yet be over a decade from determining if they could contain life.
So do we have any other tricks up our sleeves? Other possibilities include
the
James Webb Space Telescope, the successor to the Hubble. With a launch planned in 2013, it would be able to determine
some atmospheric features found in COROT detections, but would be too expensive to do the planet-hunting Darwin could do. Perhaps this could be imroved with occulters such
as
UMBRAS (thanks to
enzo).
Other novel detection missions include the
Voyager Interstellar Mission
(
via), reusing exisiting 'end-of-life' spacecraft as telescopes.
And finally, could ground-based telescopes do it?
tests have just started on a new 10M telescope
in the Canaries that could help; in terms of larger scopes, colleagues of mine in
NUI Galway have been collaborating on the design of
Euro50,a proposed 50 M telescope. Together with new techniques such as
spectral deconvolution (via
via) may help.
Tags astronomy, exoplanets
Last night I had a Visual Migraine that was significantly worse than the previous ones. It started in the usual manner (flickering lights in my central vision and an inability to read text on a computer screen in a font that is normally quite readable) but then developed a new feature. Grey clouds appeared in the periphery of my vision which left me with only central vision which was obscured by flickering lights.
About an hour later it was gone. I’m glad that I don’t drive much, such limited vision is enough to allow me to use public transport without serious problems (although crossing a road could be interesting). Spending an hour in a parked car at the side of a road waiting for a migraine to go away is not something I’m looking forward to.
Share This
In
my previous post, I briefly mentioned my K750i Sony-Ericsson mobile phone. I received it as a birthday gift this year, to replace my aging but trustworthy Nokia 3210 and, as with any multifunctional digital device, there was a learning curve during the adoption period. While some features were gladly and swiftly taken into use, some of the handset's usability issues became my pet peeve and, among them, the localization pack wins the jackpot.
First, let's make one thing clear: I fully understand that memory constraints prevent manufacturers from including support for every language known to man, so a handset can only be loaded with a limited set of languages for the User Interface and for T9 predictive text input dictionaries. My issue is with the concept of grouping languages by linguistic families or continental areas, when compiling the localization packs for those handsets.
In this particular case, I had a choice between the Baltic or Nordic packs. The former has UI language support for Estonian, Latvian, Lithuanian, Polish, Russian and Ukrainian, while the later has support for Finnish and the Scandinavian languages; English is also included in both cases. T9 support is a strangely mixed bag: the Baltic pack only includes predictive input for the Slavic languages, while the Nordic pack supports all the languages of its UI.
What's my problem with the above language combinations? For starters, I'm in Finland. We don't interact with Danes or Icelanders outside very occasional pan-Nordic meetings and that mostly concerns politicians. Meanwhile, average Finns travel for work and play to Estonia and Russia on a fairly regular basis, which makes sense, since they are neighboring countries. However, available language packs don't take this into account.
How should this be resolved?
Either language packs are produced with specific countries in mind, rather than generic geographic areas, or the users should be allowed to freely mix and match among all available languages and get the result flashed into their handset at purchase time.
The K750i language pack for Finland should therefore include: Finnish, Swedish, Estonian, Russian, English and Norwegian (essentially the current Nordic language pack, but with Danish and Icelandic replaced with Estonian and Russian). Then again, this only covers official state languages. Sam dialects, anyone? I guess not, because we'd soon be exceeding the handset's capacity. Hmm...
Thus, the only real solution is to allow people to freely mix and match UI and T9 languages of their choice at purchase time.
As a bonus, this would allow me to drop Norwegian and replace it with Joual... ... c lisse, French and finally have a language pack that I can truly find useful. I can easily picture a Transylvanian engineer working in Finland wanting to get Romanian support or a Kurdish immigrant preferring Turkish support instead.
Sony-Ericsson, how about it?
I really enjoyed OSCon. This was the first conference I've been to in years where I've felt a bit sad that it's over. I met a lot of interesting people, enjoyed most of the talks I attended (and especially this morning's keynotes), and also enjoyed Portland. I recommend OSCon. Last year, I went to Usenix ATC. Compared to Usenix, OSCon had more talks that were relevant to things I'm interested in, more people that I met with similar interests, more people that I knew online and met in person, and a more broad program. The one criticism I would level at OSCon is that it has a disproportionately high number of web-related talks.
On to other items...
Portland
Probably the friendliest "big city" I've ever seen. Everyone from cab drivers to bus drivers seems to go out of their way to be helpful and friendly. Somewhat different from, say, Chicago or Los Angeles.
The climate is very nice and the transit system is excellent as well. While it doesn't move as fast as below-ground systems, since it has to work within traffic, one nice thing for visitors is that you actually get to see the city and see potential places to stop. Last year, we went from Boston to Cambridge on the T, but you don't see much except a whole lot of concrete along the way.
The Japanese Gardens are wonderful and deserve a visit.
Compared to Indianapolis, where we lived for awhile, Portland has some nicer parks, and a better transit system. I think that Indianapolis had a nicer walking path. Portland had a lot of friendly people, including many that worked for TriMet. MAX was very nice, with frequent departures. The TriMet system had scattered electronic signs about the MAX lines, streetcar stops, and even some bus stops I think. These listed how many minutes until the next departure in each direction, and were very helpful. Stations were announced audibly and on signs on-board. There was helpful information at stops and platforms.
Indianapolis has a really quite awful transit system, which consists of, let's see, regular buses and small buses. These run infrequently, are known for not being on-time, and a former co-worker had trouble with them just not showing up at times. They also all seemed to run between downtown and the outskirts. So if you wanted to go from one area towards the outskirts to another area there, you'd have to go towards downtown and back out.
Because of all this, I never rode IndyGo, and wouldn't ever encourage visitors to. TriMet was very different, and if I lived in Portland, I'd want to live close to MAX.
Hotel
The DoubleTree Lloyd Center is a nice, friendly hotel. Everyone here has noticed that the elevators inexplicably stop on the 2nd floor every time they go down, but other than that, we have had no real problems (other than some water dripping onto the desk when we first were here, but maintenance fixed that). It's annoying that they charge for in-room Internet access, but that is unfortunately typical for hotels of this class.
The room is also a bit small, but has worked out OK. The hotel is very close to a MAX stop, and fairly close to the Lloyd Center mall, which is convenient. The staff is very friendly and helpful as well, especially the concierge staff, which are great and helping visitors find their way around the city and the transit system.
They give you cookies on check-in, but Terah was disappointed that they didn't offer any without nuts.
Restaurants
I had opportunities to eat with various people from OSCon, some Portland area people, and of course, Terah and Jacob.
Portland has some good restaurants, and a few more iffy ones...
The Multnomah Grill in our hotel was one of the iffy ones. I had the ribs, which were not at all good. The prices were about in line with other Portland restaurants, which is too bad because the food wasn't. Because of all that, I just couldn't bring myself to try the other restaurant in the hotel, Eduardo's Mexican/American Cantina.
I had heard about Jake's Famous Crawfish from a passenger on the train. It was also listed on the OSCon wiki restaurants page. It's a historic century-old restaurant, with excellent seafood. I had parmesean-crusted Alaskan Halibut, which was very good.
I also went to the Newport Seafood Grill, which is within walking distance of the hotel, just on the other side of the Lloyd Center mall. It was also good; I had a tuna dish served rare, with a sauce that complimented it well.
Blossoming Lotus Cafe is a vegan cafe in the Pearl District. I hadn't ever been to one of those before. It was OK, but not all that great.
Across the street was Sweet Masterpiece, a chocolate and coffee house. Excellent chocolate made in-house, all sorts of desserts, and good coffee.
Rock Bottom in downtown has some surprisingly good food options. I was there with a group of local and OSCon Haskellers, and it was a little bit hard to follow conversation all the time due to the background noise, but that's to be expected in this sort of place. I'm not into beer, but those that were enjoyed their selection, I think.
I also went to a couple of chains: Quizno's and Ben and Jerry's. Both were about what you'd expect from those chains. Good ice cream of course at Ben & Jerry's.
OSCon provided breakfast and lunch free to paid attendees. Breakfast consisted of a selection of various fruits, slightly stale pastries, and bagels. On the tutorial days, lunch was pre-made boxed lunch. For what it was, it was OK. On Wednesday and Thursday, lunch was served hot in buffet lines. They had chicken both days, which looked identical. I had tried it Wednesday so knew not to bother Thursday. Wednesday they also had salmon with cranberries, which was good. Their salads, breads, etc. were OK.
Oregon Convention Center
This is where OSCon was held. A very nice, but incredibly huge, building. They say it covers the equivalent of 13 square city blocks, and if you look on a map, you can see that it is indeed quite large. There was a lot of walking to get to everything, even though OSCon took up only one part of this huge place. Restrooms in particular were not in very convenient locations to just about anything. But it was a nice place and I wouldn't mind being there again next year.
Hey folks, we released some minutes ago finally
Debian-Edu/Skolelinux 3.0r0 ?Terra? which is based on Debian 4.0
with some modifications to work out-of-the box. Here are the
releasenotes:
Oslo - July 22., 2007
Skolelinux 3.0 is ready. This is an community release with
comprehensive support from regional and national projects in
Germany, Spain, France, Greece and Norway. The Skolelinux project
is now a part of Debian under the name Debian-Edu. Several other
projects have made additional functionality to Skolelinux tailored
for national needs. Skolelinux now supports more than 50
countries.
whats new in skolelinux 3.0:
based on Debian 4.0 ?etch? and therefore compatible to LSB 3.1,
using kernel 2.6.18 and KDE 3.5.5 Full support for networked Thin
clients,
?LowFat (diskless) clients, Workstations and Laptops.
With the
?LowFat clients users got full PC functionality with
extremely low maintenance cost. The use of
?LowFat clients gives full support for sound, video, USB
memory stick?s and DVDs without the need for a local
installation.
Skolelinux now got more than 80 applications selected for
pedagogic uses, supporting more than 50 languages. Many new
applications are introduced in addition to popular classic as
GCompris, KDE-Edu, Iceweasel (unbranded version of Firefox) and
?OpenOffice.org.
Installation is a breeze: Both the installation and source code
for all software are now distributed on a single DVD now supporting
three different processor platforms as i386, PowerPC and AMD64.
This makes it more easy to choose hardware, and to study the
recipes behind the software. Those interested can exercise their
freedom to learn, participate and share knowledge more easily.
Installation CDs are also available, but requires a working
Internet connection for installation.
about skolelinux
Skolelinux is a complete tailored software solution for the
needs of any educational institution or school. It is a ready
computer system were the school does not need to piece together the
components. Skolelinux is the result of the work of the Debian Edu
project and Debian Edu is an official Debian subproject. It is
installed in a great number of schools in Norway, Germany, France
and other countries. Municipalities and Commercial Service
Providers run Skolelinux across multiple schools, operated and
maintained centrally. Service providers report that the ?lowfat
clients? require half the maintenance cost of other desktop
alternatives.
The next milestone of Skolelinux development will be to merge
the Debian-based
?LinEx distro into Debian Edu. Currently
?LinEx is used by more than 250,000 students and public
employees in the region of Extremadura in Spain.
in depth
Lowfat clients is also known as Diskless workstations. They run
applications locally on the client. All software comes from the
server instead of locally from the client hard drive. Recommended
minimum requirement for client machines is > 256 MB RAM and 800
MHz CPU. Skolelinux now got improved tools for system surveillance
and maintenance. Roadmap for next merging of
?LinEx and Debian-Edu: *
http://wiki.debian.org/DebianEdu/LinEx2DebianEdu-Roadmap
Please note that the documentation for the 3.0 Terra release is
only available in English at the moment and contains some rough
edges. We have considered releasing before the end of the summer
holidays more important and we will fix those rough edges in the
coming weeks, when we also expect more translations to show up.
Those fixes will be included in the upcoming 3.0 r1 release.
It is not fresh news, but I haven't had time to comment about it before.
Very soon after launch of
Harry Potter and the Deathly Hallows,
which was only made available worldwide in its original English version, you can read
a free and non-academic
version in Spanish.
Spanish Hallows project, built up by a bunch
of Harry Potter fans have made completely ridiculous efforts of J.K. Rowling and
hers publishers (Bloomsbury Publishing) to try to delay versions in other
languages. Perhaps this was not made with other intention than to
avoid early publishing of copies sent to translators, which, as you
know yet,
happened anyway.
Once again we see how is not only impossible, but stupid, to try to keep information
in this new environment. I am pretty sure that most of books, movies and music
publishers will disappear soon. But not because of piracy: they are
not being able to adapt their corporate business model to the new environment. And
I am sure that there are little start-ups out there working in this
new model, and some of them will succeed.
But nothing new here... it is how business world has worked for
years now.
The key to productivity is avoiding other work.
The weekend has just started, and I've successfully hooked up a JTAG probe to a Linux box and implemented half of debian/xcontrol stuff.
xcontrol is a preprocessor for control files that accepts an extended syntax and compiles that into a policy compliant debian/control file, losing bits of information on the way (but whoever cares can just look into the xcontrol file).
For now, I am planning to support the following extensions:
- Build-Depends-Tool:
- An additional build dependency line useful in cross compiling packages. The normal “Build-Depends” is reinterpreted as packages required for the target architecture, while this line specifies packages required on the host during the build.
- Build-Depends[release]:
- This overrides the build dependencies for a certain release, and comes in handy when backporting. Of course, this is orthogonal, so -Indep and -Tool fields exist too.
- Optional: yes
- This package is not normally built; if you need it, you have to invoke the “build-package” and “binary-package” targets.
-
- per-package Build-Depends*:
- This allows specifying the build dependencies for “Optional: yes” packages without adding them to the main list.
The syntax is still debateable at this point. The non-orthogonality of Build-Depends-Tool is intended, by the way. :-)
The transformations done to make this policy compliant should be obvious: Build-Depends-Tool is folded into Build-Depends, the release-specific Build-Depends are omitted (or selected if xcontrol is told to target a specific release), Optional is stripped out and the per-package build dependencies for all non-Optional packages are accumulated.
I don't know whether I'm going to do templates yet, this will probably wait until the second release.
More on the JTAG adapter when I have the gdb stub working.
Now I'm going to go back to what I should really be doing.