In November 2007 Roberto C. Sanchez filed bug #451690 in irssi: Please include a doc-base registration file.
Including this file isn’t that hard, and while reading the Debian doc-base Manual I found out that “Every Debian package that provides online documentation (other than manual pages) will register these documents to doc-base.”
So, if a missing doc-base registration file is important enough for someone to file a bug on, why does my /usr/share/doc-base/ only contain 69 files compared to the 1444 files in /usr/share/doc/ ?
Mid august, “responsability” will get a new meaning: my wife is into the 15th week of our third pregnancy.
My Apple Powerbook 5,4 just booted for the first time using
GRUB, with no manual
intervention, from Apple chime to GDM prompt. This is a great
milestone for GRUB2 on powerpc-ieee1275 and OpenFirmware, as until now,
multiple problems in the loader would drop you to OF console straight away,
although other PowerPC hardware with other firmware implementations did
manage to work.
Recent fixes by Pavel in the core and some other minor fixes for the
userland utils have taken grub2 to the point where it is usable on most
PowerPC hardware. On Apple, the only minor issue remaining is grub-probe
insisting on (hd) not being a valid device name, so for now I have to trick
it into believing it's really (hd1).
In parallel, many other GRUB2 improvements haven't stopped hitting CVS
in the last months, which have seen how new contributors joined
grub-devel and helped GRUB2 get the great momentum it's enjoying
right now. Vesa, Robert and Bean have been really active lately, and have fixed
long standing issues or written a lot of new code. One of the features GRUB2
acquired recently was image loading for background images. Much more powerful
than the implementation in GRUB Legacy, GRUB2 can now read images in multiple
formats, can handle up to 24bit colour and render a menu in arbitrary
resolutions. The menu can now show UTF-8, and the Debian package will
configure a pretty theme that matches the rest of the system if
desktop-base is installed:

GRUB2 speaking UTF-8 Catalan
Although I'm not sure if GRUB2 is completely up-to-par with GRUB Legacy
on i386/amd64, it seems the tricky bits, like video, LVM, RAID and the
standard filesystems are supported and working. What GRUB2 needs now,
in order to finally replace the aging and upstream-lacking GRUB Legacy
you probably have installed, is massive testing. Debian has traditionally been
a testbed for GRUB Legacy patches, and is also the platform where GRUB2 is
being more widely tested. Having GRUB2 included in lenny's debian-installer
would be a great step forward, and by the looks, I think we're well on time
to manage this.
Replacing GRUB Legacy with GRUB2 is trivial. On PCs, just install the
grub-pc package. You'll be offered to keep GRUB Legacy, but with
an added menu entry to chainload GRUB2. If you're worried that GRUB2 might
fail on your hardware, accept this, and try to load GRUB2 from GRUB. If it
works, you then know you can get rid of GRUB Legacy completely and keep GRUB2
in the MBR.
On PowerPC-based Macs, you'll have to work around the small issue I
mentioned above. Install the grub-ieee1275 package. You also
need a very recent powerpc-ibm-utils package, which was just
uploaded to unstable.
Mount your bootstrap partition, probably /dev/hda2 in
/boot/grub, and generate a device.map file with
grub-mkdevicemap. Check the contents. If your first device name
lacks a drive number such as (hd), it's probably correct, although this will
make things fail later. Change it to (hd0) for now. As
grub-install relies on grub-probe, you'll have to
generate your grub image by hand.
Copy all .mod files in /usr/lib/grub/powerpc-ieee1275 to your
bootstrap partition, and generate a core.img:
root@powerpc:/boot/grub# grub-mkimage -d . -o /boot/grub/core.img *.mod root@powerpc:/boot/grub# update-grub root@powerpc:/boot/grub# nvsetenv boot-device hd:2,core.imgThe generated
grub.cfg will have references to (hd0,X), which
you'll have to correct back to (hd,X) if necessary for your OpenFirmware.
After this, you are probably ready to reboot, cross two fingers and get a
warm "Welcome to GNU GRUB!" message at boot, which will then be followed by
a standard GRUB menu, but on your nice PowerPC box. Unfortunately, the
eye candy in the screenshot above isn't available yet in this platform, as
it lacks VESA. Does someone in the audience want to contribute a video driver
for powerpc? :)
In the past I was not blogging small things if they were not worth a full blog entry on their own (or if I did not have the time to make up a full entry of it :). Inspired by the example of Raphaël Hertzog <hertzog@debian.org> with "News for Debian developers" for <debian-devel-announce@lists.debian.org>, I am intending to do the same on a monthly basis about my own Debian related work. This first entry about January 2008 also covers a few things from the last month of 2007.
General News
icedove-l10n-*) which was an outstanding issue since August 2006.
Robert A. Heinlein: Starship Troopers (Putnam, 1959)
#!/usr/bin/env python
import linecache
import os
import os.path
import sys
def traceit(frame, event, arg):
if event == "line":
lineno = frame.f_lineno
filename = frame.f_globals["__file__"]
if (filename.endswith(".pyc") or
filename.endswith(".pyo")):
filename = filename[:-1]
name = frame.f_globals["__name__"]
line = linecache.getline(filename, lineno)
print "%s:%s: %s" % (name, lineno, line.rstrip())
return traceit
def main():
search_path = os.environ.get('PATH',
'').split(os.path.pathsep)
argv = sys.argv[1:]
if not argv:
raise Exception("No command to trace supplied")
args = argv[1:]
command = argv[0]
if os.path.sep not in command:
for path in search_path:
if os.path.exists(os.path.join(path, command)):
command = os.path.join(path, command)
break
del sys.argv[0]
source = open(command, 'rt')
exec_symbols = dict(globals())
exec_symbols['__name__'] = '__main__'
sys.settrace(traceit)
exec source in exec_symbols, exec_symbols
main()
The Brisbane flight was long, and I arrived just an hour before midnight. Now, my next problem was getting a place to stay.
I took an airport shuttle to the Royal on the Park, where the conference will be held, first to see if there are any free rooms, or barring that, some recommendation on nearby places to stay, even if only for the night. I was quite anxious because I wasn’t able to arrange for accommodation prior to this trip (short notice, remember?), so I decided to go directly to the venue to be the best way of trying my luck.
And try my luck it was! First, I was greeted by a front desk manager who turned out to be a fellow Filipino, and he helped me get a room in the hotel. At the time though, he could not guarantee that I can stay there for the duration of the trip (only for the night) but he would help me to find alternate accommodation instead on the next day. I thought that was good enough, since it was already midnight by the time I reached the hotel, and just a bed to sleep on for the night would do great for me to worry about moving elsewhere later.
And the next day: Day 1 of OSDC:
I was up rather too early that day; the worrying about moving elsewhere settled in too early as well, and had made me check out very early so I can hopefully look for that alternate accommodation by lunchtime. One by one, the attendees came, and soon enough more than a couple of hundred people were filling the main conference room, waiting for OSDC to begin. And we began with a keynote from Rusty Russell on C, the humbling language and Ian Clatworthy’s talk on distributed version control systems.
After the keynote, I was notified by the hotel management that instead of moving elsewhere, I can just remain there for the duration of the conference. I was quite relieved!
For the remainder of the day, I listened in on the Perl stream of talks from Kirrily Robert, Josh Heumann, and Jacinta Richardson, on packaging Perl modules, Perl 6, and Perl code optimizations, respectively. Kirrily’s talk was timely since I am writing a couple of Perl modules to be released on the CPAN (one, Tie::Amazon::S3, is now up
Later in the afternoon was Paul King’s talk on agile developer practices for dynamic languages, covering Groovy and Ruby. That was later followed by Leslie Hawthorn’s talk about the Google Summer of Code and the announcement of the Highly Open Participation contest for the young geeks who are not yet in college or university but would like to work on open source projects just like the SoC-ers.
After the day’s schedule of talks, there was a break before the conference dinner, allowing also for a short keysigning session and CACert identity check.
Then, we had the conference dinner, sponsored by Google. There was also a game held: every table makes up a team who, given some Play-dohs and imagination, are to make up a bug’; the best bug’ wins a free book. Unfortunately, my table/team didn’t win any books, but that was beside the point anyway, as the bugs that were made up were quite something:
On the last day, the morning talks I attended were all about Ruby and Rails. Nic Williams gave an introductory talk on Rails, then Paul King gave another talk, this time on Grails (the Java version of Rails,) and closing the morning session was Keith Pitty’s talk on Ruby for Java shops. For the afternoon, I followed Adam Kennedy’s talk on optimizing projects for wetware.
For the closing keynote, Nat Torkington talked about the future of software:
And with a day left before returning home, I went to sightseeing mode, bought a couple of books, and the mandatory pasalubong for the relatives. At midnight, my flight took me back to Bangkok, another long trip that touched down at the crack of dawn:
After a few hours’ wait, I took the plane back to Manila, returning home just after lunchtime.
This being my first international trip, making it alone seemed to be quite an adventure. But I wasn’t really alone in this endeavor: kudos goes to the UNDP International Open Source Network for their exchange grant program, to my relatives for their support, to Free and Open Source Software for really making things rock (and free ;), and to $DEITY for being there.
Until the next trip!
PDF on Kindle
I've seen plenty of good commentary on the Amazon
Kindle. Robert Love's hands-on review
and follow-up
cover both Linux-hacker and regular customer views. But
there's one question that I haven't seen
answered elsewhere: Why doesn't the Kindle support PDF
natively?
I think the answer is simple: The Kindle's 800×600
e-ink screen has too few pixels to render a typical
PDF file readably, and its refresh rate is too slow for
comfortable scrolling. The only practical solution for most
PDFs is to extract the text and convert it to a
reflowable format like HTML (which Kindle users can do with
Amazon's $0.10 wireless service or free PC-based service).
The US$700 iLiad
(with 64% more pixels) is much better for PDF reading, but
will still
run into trouble with some files. It seems that the
current generation of ebook readers comes with a
decision—cheap,
e-ink, or PDF: choose any two.
The refresh problem is one reason I'm not sold on e-ink.
I'm curious to compare the Kindle screen to my XO
laptop, which seems like an interesting compromise
between normal LCD and e-ink displays.
Disclaimer: I work for Amazon, but I don't know
anything about the Kindle except what I learned from the
user's guide and from playing with one at the office.
Debian has provided Rmetrics packages for financial
engineering and computational finance since the Rmetrics release for R 1.9.0 in the summer of 2004. Over the
years, Rmetrics has gotten more granular and changed from a handful of
packages to two handfuls --- and the most recent release extended this trend
even further to almost two dozen packages as shown in this chart.
Rmetrics now comprosises over twenty individual packages. Eleven new
packages were added in the 260.72 release for R 2.6.0, and they required
eight other new packages from CRAN.
While I would have preferred a more spread-out approach than the shotgun
approach of having to introduce all these new packages at once (which took
the last four weeks), I am in support of the reorganisation which should make
maintenance more easy going forward.
So to get all of these packages onto a Debian box, a quick sudo apt-get
install r-cran-rmetrics is all it takes. Currently supported only in
the always-fresh unstable flavour, but hopefully soon in testing
too.
A big Thank You goes to the Debian FTPmasters. Of the 20-some
packages that I added to Debian during
this Rmetrics expansion, many were added within a day or two.
Lastly, thanks also to Florian Hahne, Robert Gentleman and Elijah Wright
for much appreciated help with R's Rgraphviz and graph packages to create the
chart above. It only takes a handful of lines to create the basic graph, and
another few lines for the colours and titles. The code is available on
request, of course, but you need the current development versions of
the BioConductor packages Rgraphviz
and graph (which are not in Debian yet).
On Friday 2007-11-02, I watched Larry Lessig give a presentation at the University of Washington entitled Is Google (2008) Microsoft (1998)? Since it was Lessig, the talk was articulate and thought-provoking, and he used his slides very well (unlike many presenters who just read bullet points).
we reserve the right to terminate your use of this service for any reason or for no reason, and asked:
What if Microsoft had written this license agreement?
Supercapitalism) that the reason we consistently look for solutions in the market and in voluntary compliance is that our governmental system is broken and does not effectively regulate corporations in the public interest. But Lessig is optimistic that we can change things (he joked that his publisher was unhappy with this point of view, because his
brandhas been built on pessimism). In his view, the politicians in Washington, by and large, want to be honest and do good, but they aren't able to within the current political system. For instance, on the few occassions that he managed to get access to lawmakers to discuss copyright issues, it was often the first time they had heard that there was more than one side to the argument. He thinks we need a national political movement that will shame politicians into being less corrupt.
what is the social effect of my acceptance of the Facebook Terms of Service?and
If I become dependent on this service, will that possibly affect me in five years if the company decides to act against my interests?The problem with this is that these people are not representative of the population at large. The population at large thinks
why is this check-box getting in the way of me sending pictures to my friends?And I have no doubt that any kid who, e.g., refuses to sign up for Facebook as a protest against their TOS will be roundly mocked in their social circles for being a weird antisocial nonconformist. (of course, this may not apply to the small minority of people like myself whose social circles consist of weird antisocial nonconformists)
donationscan just take positions that they know will appeal to donors of that sort. The donors themselves can make this easier on the candidates by, e.g., posting public position statements on issues of the day. Secondly, and this is far more insidious, even if politicians honestly represent their positions, then because success in running for office is so tied to the amount of money the candidate can raise, only candidates who hold opinions favorable to large corporations and wealthy individuals will be able to get elected. In fact, for all I know this is what happens already!
Next.