The next 4th of September, the Portuguese Debian community will gather at the University of Aveiro for the third edition of the DebianDayPT
There will be several talks about about Debian/Free Software in Portuguese and as special guest, Martin Michlmayr will deliver a couple of talks titled Contributing to Debian and Project Management in Free Software . Like last year, there will be DVDs with Debian Live so people can discover, try and install upcoming Debian stable Squeeze .
You can find more information of the event and information of how to arrive at: http://debiandaypt.debianpt.org/.
I have been wanting to post for several days already, at least since this last Sunday. I have repeatedly bragged about taking part in the Ciclot n: The last Sunday every month, the city's government closes to automotive transit a ~33Km circuit, for cyclists to enjoy. And by cyclists, I mean people from all expertise ranges Well, the very elite bikers will not take part of such a massive thing, but there are people pedalling a couple of blocks, people taking their small kids to drive a bit, and I recognized an amazingly large proportion of people doing the whole route.
Well, this last Sunday one lap was not enough for me I did two laps, ~65Km.
For some reason, the distance numbers in that map were made... in miles :-P Anyway, the planned route will be:
--architecture flag on to cowbuilder and pbuilder.
update, create, or login, pass
any additional arguments to cowbuilder. Patch from Svend Sorensen.
use Spykee; Spykee::discover(sub $robot $_[0] = $_[1] ); my $host = (keys %robot)[0]; my $spykee = Spykee->new(); $spykee->contact($host, "admin", "admin"); $spykee->left(); sleep 2; $spykee->right(); sleep 2; $spykee->forward(); sleep 2; $spykee->back(); sleep 2; $spykee->stop();Thanks to the release of the source of the robot firmware, I could peek into the implementation at the other end to figure out how to implement the protocol used by the robot. I've implemented several of the commands the robot understand, but is still missing the camera support to make it possible to control the robot from remote. First I want to implement support for uploading new firmware and configuring the wireless network, to make it possible to bootstrap a Spykee robot without the producers Windows and MacOSX software (I only have Linux, so I had to ask a friend to come over to get the robot testing going. :). Will release the source to the public soon, but need to figure out where to make it available first. I will add a link to the NUUG wiki for those that want to check back later to find it.
Since I published How to make 110.28 EUR in one month with free software and Flattr , quite a few people joined the movement and I had less troubles finding projects to Flattr. That s great! This article is part of the Flattr FOSS project.
bugs.debian.org s bug database thanks to the
local-debbugs tool. But
what about upstream s bug tracker? Taking a (shamelessly
self-centered) example: X.Org packages are hosted on
FreeDesktop.org s bugzilla. Thanks to SD, it s possible to fetch
bugs from there as well! Here s the obligatory picture:
This means that you can browse/search them locally while being offline
(or well-connected, but without having to use that !$\ %$^ bugzilla
web interface). Many of the replica types support both reading and
writing, meaning you can also queue some changes locally, and push
them later. Currently, sd help sync says that read-write support is
available for RT, Hiveminder, Trac, Google Code, and GitHub. There s
also read-only support for redmine. Debbugs is being worked on, see
Christine s
blog post about her SD talk
for more info.
Given there was no support for bugzilla, I had a quick look and
reported my findings. The
main point being: \o/ Bugzilla s XMLRPC \o/
A little while later (I m not exactly fluent in Perl ), I came up with
a tentatively-mergeable
branch adding preliminary read-only support for bugzilla. There s
still a lot of work, but I m trying to work on it on a regular basis,
adding support for more properties, and fixing bugs (tests should be
written some day, too).
Frans Pop contributions to Debian has already been honoured: Frans Pop obituary by Steve McIntyre. One less known fact is that he hacked in upstream linux-2.6 too. Latest linux-2.6 git lists him with 80 commits. A bigger part of his work was testing latest linux-2.6 on different architectures. There are lots of patches with "Reported-by: Frans Pop <elendil>" and "Tested-by: Frans Pop <elendil>". Also in this field he was aiming for big coverage and a special responsive tester.
I am very sad to have missed the opportunity to meet you in person. You are missed. Rest in peace, my friend.
Two weeks ago, Maria and I completed
one of our dreams
when we arrived in Cap de Creus, where the Pyrenean range sinks in the
Mediterranean. To get there, we walked hundreds of kilometres during a month,
crossed dozens of steep valleys and enjoyed one of the richest experiences
of our lives.
We managed to complete this challenge without facing major problems or
pains, and after the first five our six days, our legs seemed to have
gotten used to the daily effort and it started to be easier and easier.
Our morale kept growing as days passed and we advanced east. When I
started walking on a cold and rainy morning in Hondarribia, after barely
no rest in the night bus to Ir n, I thought for myself that it was
improbable that we'd manage to get anywhere near Catalunya, that one of
us would get injuried way before, or we'd just give up and go for the easy
beach vacation in the Basque Country.

Biad s refuge, under Posets
But we didn't, and after a somewhat painful start, with our boots soaking
wet during the stages that crossed the enchanting Selva de Irati
which ended up with me getting the biggest blister I've ever seen, we
started to walk farther every day, extending the stages when we
felt strong after reaching their official end. When we crossed from
Nafarroa to Aragonese territory, the mental wall that I had built over the
toughest stages in our quest started to fall apart. Days later, we found
ourselves climbing down to Pineta, leaving Ordesa behind and enjoying a
feeling that our adventure could not go better. The weather had been
perfect for over a week and our legs and back were strong to go all over
the way to the sea.

Ca n de A isclo, on our way to Pineta
When we finally saw that huge blue stain on the horizon, the day before
getting to the last mark, we got really excited. We had made it, but as we
walked towards the cape, happiness slowly got mixed with melancholy. An
unforgettable adventure was about to end, and we didn't want to face our
return to the city and our routines. It had been many days surrounded only by
awesome landscapes, and living without watches, with only sunlight and
weariness marking the time to get in our sleeping bags.

At the very last red and white mark of our journey
We've had plenty of time to meet great people. Starting with
the Navarrian brothers we met in the early stage, which provided us with a
good pace to follow while our leg muscles were still building up; or Kike
and Ana, who drove from Pamplona to visit us during the first Aragonese
stages (thanks for the supplies!). Tom s and Roger, young hikers from
Matar , surprised us with their maturity and experience as mountaineers;
we had the pleasure to join forces during four days, walking a really cool
variant through the Infiernos and Collado del Letrero
which avoided going through the ghost city of Panticosa. Roger and Tom s,
we really hope to meet you soon! Andreu, Manel, Ghandi and Ga la visited us
at the Vall de N ria and were unlucky to suffer a frightening
hail and thunder storm when they left our shelter on their way back to
their car. Thanks! All of you have been a very special part of our
experience!
This adventure through GR 11 has been incredibly positive for us for
several reasons. We've learned a lot about ourselves and strengthened our
relation, and now I know how powerful drive can be; to get somewhere, no
matter how far, it's really easy if you just believe you can do it and
desire to get there.
Maria and I are proud of what we've done, and no wonder we're looking
for new challenges. An obvious one would be repeating this experience,
going through the French side of the Pyrenees, but for now, the Corsican
GR 20 seems the most appealing. We'll see, next summer!
To quote the ftp-masters REJECT-FAQ :
What may not be obvious to the recently REJECTed developer is actually how to use help2man. To try t0 explain the process a bit more verbosely, I took the liberty of writing a tutorial on the Debian wiki. Comments and corrections are welcome.
Of course, help2man-generated manpages are no substitute for real, hand-written manpages made of sweat, blood, and the Maintainer s tears, and it won t work for all packages. This is just a start, and is much better than no manpages at all.
There was a discussion on #debian-devel a couple of days ago when I brought up my creation of the above, and some wondered if it wouldn t be better to add hooks to man-db to allow package maintainers to enable manpage generation at runtime. I m not sure if that idea will ever make it into a proposal, but, if the details of the implementation were worked out, would be much better than the above, manually generated method.
Swarmnation is a neat game, but I'm not sure if
it's for the reasons its authors intended. It may be interesting mostly
because of its bugs. Read on for spoilers and the story that developed
from an apparently abstract time waster game.
When I first saw the game, I saw a grid of squares moving around. I was
obviously one: A (Blue) Square. There seemed to be no pattern to the
movements. So, it seemed the game represented random passers-in-the-night
on the net, unable to communicate except by dashing back and forth.
Then after a few minutes, a geometric shape was highlighted in
yellow from out of the mass of squares. Woah! I'd been missing something
here. It turned out my display was too small, and I had not noticed that
the gameboard scolled over to show a tetris-style "next shape" display.
Which the other squares had been busily trying to make before time ran out.
Now all their movements made sense. Now with a shared goal, we could
communicate. Some of us were trolls and blocked shapes from forming. A few
of us became leaders, boldly taking that center position in the
hollow-square-with-spot-in-the-middle shape. Most of us herded into place
as soon as a shape began to form, and stayed there, frantically hoping our
neighbors would also conform and keep property values high. We were playing
the game. We were accumulating scores.
We split into two groups, both playing the game, and then some of us
defected from one group to the other, which seemed to be doing better
at making a particular shape, and there was no reason to go back to
that first group, I felt strongly that I was part of the second, better,
group.
Then, as I was getting bored and feeling the neighbors all around stifling, I
noticed my square highlighted yellow for a shape that I was not currently part
of. Oh, this must be a bug I thought. I hacked around, and got it to happen
again. I thought maybe it was just being a bit fuzzy in accepting shapes, but
no, it turned out to be more interesting.
The game didn't care if we stayed in the shape. Just being part of the
shape for an instant was enough. With this realization, whole new ways to
play the game opened up. Dash left and right, near a forming shape, and
you'll probably, for an instant, be part of it. Hang back and have your
fun, spot an instant to plug a hole, and then get out and let someone else
also take part. Try to form the same shape in both groups. And so on.
So a grid of squares hooked up to keyboards on the net has let me watch the
invention of politics, rebel from conformity and hack the system, in an hour?
That's what games are about!
My good friend Frans Pop died on the 20th of August, just over a
week ago. We had worked together for several years within Debian
(especially within the Debian CD team), and we had become firm friends
during that time. He was great to work with, always ready to help
design new features or pick holes and find the bugs in the stuff I was
developing myself, happy for others to dig into his own projects. On
the more personal side, we met up many times at different Free
Software events like DebConf and FOSDEM, and also for pure social
things like BBQs and parties. We shared a lot of good times.
Last week, along with some other Debian people who had worked with
Frans, I headed over to the Netherlands for his funeral. His family
also asked me to talk about him, and I was honoured to do so. I spoke
briefly about Frans' work in Debian, highlighting the areas where he
worked and the number of people he had worked with in various teams. I
also told the group about the massive number of messages of sympathy
and condolence which I had been asked to pass on from all over the
world. His family knew that Debian was important to Frans, but were
not aware of just how wide his influence and effect had been. They
were especially surprised and grateful that people had travelled so
far for the funeral; I told them that I would not have missed it for
anything.
Rest In Peace, my friend.
You will be
missed.
-c, -l selftest,
etc.)smartctl -a reads a while, and then:
Error SMART Error Self-Test Log Read failed: Input/output error
Smartctl: SMART Self Test Log Read Failed
real 0m39.029s
The timeout above also has generated lots of errors in the drive's
error log. I don't know how to read these properly, but in any case
they don't seem too scary:
Error 144 occurred at disk power-on lifetime: 13552 hours (564 days + 16 hours)
When the command that caused the error occurred, the device was doing SMART Offline or Self-test.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 00 80 ae 39 40
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 80 70 80 ae 39 1c 08 41d+08:07:45.052 WRITE FPDMA QUEUED
b0 d0 01 00 4f c2 00 08 41d+08:07:45.038 SMART READ DATA
ec 00 01 00 00 00 00 08 41d+08:07:44.958 IDENTIFY DEVICE
2f 00 01 10 00 00 00 08 41d+08:07:44.957 READ LOG EXT
61 80 70 80 ae 39 1c 08 41d+08:07:37.960 WRITE FPDMA QUEUED
For some of the errors, all preceding commands are WRITE FPDMA
QUEUED, but all are during a "SMART Offline or Self-test" phase.
When a self-test is not being done, reading all the SMART data
(smartctl -a) is very very quick, taking half a second.
The only thing I can think of is that the drive's own area for storing
SMART data is unhealthy, and reading it takes time, and a concurrent
SMART test and I/O load makes it hard for the drive to do so. But
again, I can't trigger any real I/O error, nor at the beginning of the
drive neither at the end, so
This also happens when the drives is connected to a plain SATA port,
skipping the RAID controller, so it's not just the controller playing
games on me.
I'm really confused now. Given my previous experience, this drive will
die, should already have died, and yet, no I/O errors, just some
timeouts. Do I just need to wait a couple more weeks?
Blog Update
I've just updated the home-grown javascript I was using upon this blog to be jQuery powered. This post is a test. I'll need to check but I believe I'm almost 100% jQuery-powered now.AJAX Proxies
It is a well-known fact that AJAX requests are only allowed to be made to the server the javascript was loaded from. The so-called same-origin security restriction. To pull content from other sites users are often encouraged to write a simple proxy:ObQuote: "You're asking me out? That's so cute! What's your name again? " - 10 things I hate about you.Simples? No. Too many people write simple proxies which use PHP's curl function, or something similar, with little restriction on either the protocol or the destination of the requested resource. Consider the following requests:
- http://example.com/ serves Javascript & HTML.
- http://example.com/proxy/http://example.com allows arbitrary fetching.
If you're using some form of Javascript/AJAX proxy make sure you test for this. (ObRandom: Searching google for inurl:"proxy.php?url=http:" shows this is a real problem. l33t.)
- http://example.com/proxy.php?url=/etc/passwd
- http://example.com/proxy.php?url=file:///etc/passwd
% ln foo bar ln: creating hard link bar' => foo': Function not implemented %I have not yet found time to implement a test for this in my file system test code, but believe having working hard links is useful to avoid surprised unix programs. Not as useful as working file locking and symlinks, which are required to get a working desktop, but useful nevertheless. :) The latest version of the file system test code is available via git from http://github.com/gebi/fs-test
The last few weeks I have been using LaTex a lot, to write the final report
for my master's course. During that period I found a couple of LaTeX goodies
that might be interesting to share: the memoir class, gnuplot integration, and
some stuff to help preparing cover pages.
The memoir class is a kind of all-in-one package. It is meant to be
used in place of the book and report classes, but it
can also replace simpler environments, such as article. It
provides many ready-to-use templates, and loads of commands to easily customize
them. It seems to be specially tailored for dead-tree publication, dedicating
an entire chapter in the manual to page layout.
It also aims at removing the usual cruft you have to add into any medium
sized project, it is macro-compatible with: abstract,
appendix, array, booktabs,
ccaption, chngcntr, chngpage,
dcolumn, delarray, enumerate,
epigraph, framed, ifmtarg,
ifpdf, index, makeidx,
moreverb, needspace, newfile,
nextpage, parskip, patchcmd,
setspace, shortvrb, showidx,
tabularx, titleref , titling,
tocbibind, tocloft, verbatim, and
verse. Furthermore, it provides functionality equivalent to the
following packages: crop, fancyhdr,
geometry, sidecap, subfigure,
titlesec. In the end, you have a project that only needs a couple
of packages, and a few customisation commands, which is nice and also eases distribution.
Other nice thing I have found is that there is not one, but many ways of
merging gnuplot graphs into your text
while having LaTeX typeset all the labels. There is some LaTeX packages aimed
at this, but I have more success using a special gnuplot terminal. Again, there is more than one option:
eepic,
epslatex, latex, lua, mp,
pslatex, pstex, pstricks,
texdraw, and tpic. While I could not try them all, I
tried a few and the easiest and prettiest was epslatex. This
terminal creates two files: a EPS file, as would have been created with the
usual postscript terminal, except that it does not contain any
text; and a LaTeX snippet meant to be included with
\input foo . Finally, I could generate graphs that match the rest
of the document!
To end this post, a couple of things about creating the dreaded cover page.
First, a suggestion: don't fret too much about finding a ready-made template,
once you understood the basics of how to insert arbitrary spaces around text,
it is quite easy to roll your own cover! Having said that, the memoir manual
has some sample cover pages that can be useful to use as a base, and there is
another really useful resource I have found: titlepages.pdf, a collection of 40 sample title pages with source
code for you to choose.
Tags: Planet Debian, Planet Lugfi, latex
Next.