Benjamin Drung: Poll: How to call the library?
survey software </noscript>
It's summer in Spain, and outside there's a dry heat, but in the hack lab,
it's frigid. I'm sitting across the table from Otavio, and each of our
laptops is showing the same identical screen of text, editing the same
file. Slowly. The file is located in Colorado, and we're fighting serious
conference lag, plus transatlantic lag. Type a few lines, wait a minute,
hope it shows up, and restart the converter to see if it worked.
We're struggling with figuring out how to make it work, and pair
programming across the table like this helps -- although we also struggle
with each others accents sometimes, so we're eventually mostly communicating
via text on the computers.
Eventually Otavio rolls off to bed. Later, everyone else in the conference
goes to bed or whatever -- I don't really notice. At some point a cleaning
woman comes in, and seems suprised to see me. I muster up enough Spanish to
ask if this muy fio air conditioning can be turned off. A bit later, I make
this commit and then go out, look at storks in early morning light, and go to
bed.
r59731 joeyh 2009-07-24 12:30:52 -0400 (Fri, 24 Jul 2009) 1 line up to r15000; also skip the packages/po accient revsThat would have been 6 am local time. The log shows us back at it by 11 am local. There's so much detail in these logs, and it's hard to tell how any individual bit will turn out useful, but the value in aggregate is undeniable and that's why we struggle to retain it as technology marches on.
bts command as a way to open the bug mbox in mutt, that makes it really easy to answer the bug.bts -m show $n where $n is the bug number, and I can then answer the bug from mutt.
My friend Jeff deserves a sincere congratulation for finally unveiling his rebranded R
consultancy Lemnica. One notable
feature of the new website is a section called
esoteric R which
discusses less frequently-visited corners of the
R world.
It even boasts its own
CRAN package esotericR
with the example sources.
esoteric R currently
holds two articles. Jeff had sent me the one about
introducing closures
a while back, and I like it and may comment at another time. What caught me
by surprise when Lemnica finally opened
was the other article:
R calling C.
It is a fine article motivated by all the usual reasons that are e.g. mentioned in the
Google Tech Talk which
Romain and I gave last October about our work around
Rcpp. But it is
just not simple.
Allow me to explain. When Jeff showed this C language file
and then needs several paragraphs to explain what is going on, what is needed to compile and then how to load it --- I simply could not resist. Almost immediately, I emailed back to him something as simple as this using both our Rcpp package as well as the wonderful inline package by Oleg which Romain and I more or less adopted:#include <R.h> #include <Rinternals.h> SEXP esoteric_rev (SEXP x) SEXP res; int i, r, P=0; PROTECT(res = allocVector(REALSXP, length(x))); P++; for(i=length(x), r=0; i>0; i--, r++) REAL(res)[r] = REAL(x)[i-1]; copyMostAttrib(x, res); UNPROTECT(P); return res;
Here we load inline, and then define a three-line C++ program using facilities from our Rcpp package. All we need to revert a vector is to first access its R object in C++ by instantiating the R vector as alibrary(inline) ## for cxxfunction() src <- 'Rcpp::NumericVector x = Rcpp::NumericVector(xs); std::reverse(x.begin(), x.end()); return(x);' fun <- cxxfunction(signature(xs="numeric"), body=src, plugin="Rcpp") fun( seq(0, 1, 0.1) )
NumericVector.
These C++ classes then provide iterators which are compatible with the
Standard Template Library (STL). So we simply
call the STL function reverse pointing the beginning and end
of the vector, and are done! Rcpp then allows us the return the C++ vector
which it turns into an R vector. Efficient in-place reversal, just like Jeff
had motivated, in three lines. Best of all, we can execute this from within R itself:
Lastly, Jeff shows a more complete example wherein a new vector is created, and any potential attributes are copied as well. Naturally, we can do that too. First, we usedR> library(inline) ## for cxxfunction() R> src <- 'Rcpp::NumericVector x = Rcpp::NumericVector(xs); + std::reverse(x.begin(), x.end()); + return(x);' R> fun <- cxxfunction(signature(xs="numeric"), body=src, plugin="Rcpp") R> fun( seq(0, 1, 0.1) ) [1] 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 R>
clone() to make a deep copy (ie forcing
creation of a new object rather than a mere proxy) and use the same R API
function he accessed---but it our case both prefixed with ::Rf_
for R remapping (to protect clashed with other functions with identical names) and a global
namespace identifier (as it is a global C function from R).
Both theR> library(inline) R> src <- 'Rcpp::NumericVector x = Rcpp::clone<Rcpp::NumericVector>(xs); + std::reverse(x.begin(), x.end()); + ::Rf_copyMostAttrib(xs, x); + return(x);' R> fun <- cxxfunction(signature(xs="numeric"), body=src, plugin="Rcpp") R> obj <- structure(seq(0, 1, 0.1), obligatory="hello, world!") R> fun(obj) [1] 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 attr(,"obligatory") [1] "hello, world!" R> obj [1] 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 attr(,"obligatory") [1] "hello, world!" R>
obj variable and the new copy contain the desired data
attribute, the new copy is reversed, the original is untouched---and all in
four lines of C++ called via one
inline call. I have
now been going on for over one hundred lines yet I never had to mention
memory management, pointers, PROTECT or other components of the
R API for C. Hopefully, this short writeup provided an idea of why
Romain and I think
Rcpp is the way to
go for creating C/C++ functions for extending and enhancing
R.
Last year I shared my Debian related goals for 2010 . I announced that I would not be able to complete them all and indeed I have not, but I have still done more than what I expected. Let s have a look.
Translate my Debian book into English and get it published: NOT DONE
Or rather not yet done. It s still an important project of mine and I will do it this year. When I wrote this last year, I expected to find a publisher that would take care of everything but we failed to find a suitable one so we re going to do it ourselves.
Cleanup the dpkg perl API and create libdpkg-perl: DONE
libdpkg-perl has been introduced with dpkg 1.15.6.
Create dpkg-buildflags: DONE
dpkg-buildflags has been introduced with dpkg 1.15.7. It s not widely used yet and it won t really be until debhelper 7 supports it (see #544844). It would be nice to see progress on this front this year.
Ensure the new source formats continue to gain acceptance: DONE
The adoption rate has been steady, it clearly slowed down since the freeze though. I have implemented quite a few features to satisfy the needs of users, like the possibility to unapply the patches after the build, or the possibility to fail in case of unwanted upstream changes.
Design a generic vcs-buildpackage infrastructure to be integrated in dpkg-dev: NOT DONE
I believe it s something important on the long term but it never made it to my short-term TODO list and it s unlikely to change any time soon.
Continue fixing dpkg bugs faster than they are reported: PARTLY DONE
We have dealt with many bugs over the year, but we still have 20 more bugs than at the start of last year (370 vs 350). We re not doing bad compared to many other Debian teams but we can still benefit from some help. Start here if you re interested.
Enhance our infrastructure to ease interaction between contributors and to have a better view of how each package is maintained: NOT DONE
I am convinced that we need something to have a clearer idea of the commitments made by each contributor. I don t put the same amount of care in maintaining smarty-gettext that I do on dpkg. If we had a database of the stuff that we know we don t do well enough, it s easier to point new contributors towards those.
Anyway, this project is still unlikely to come to the top of my priorities any time soon.
Work on the developers-reference: NOT DONE
We have switched the Maintainer field to debian-policy@lists.debian.org to have more review of the changes suggested through the bug tracking system but that has not changed much on the global situation.
I still hope to become more active on it sometimes this year. Maybe by trying to make it more fun and creating the text for some of the wishlist bugs as blog articles first.
Rewrite in C the last Perl scripts provided by the dpkg binary package: DONE
Dpkg 1.15.8 was the first version working without Perl, I announced it in July.
Integrate the 3-way merge tool for Debian changelogs in dpkg-dev: DONE
dpkg-mergechangelogs is part of dpkg-dev since 1.15.7.
I enjoy it regularly. Unfortunately it doesn t work well for cherry-picks. Would be nice to see this fixed, anyone up to the task? Click here to subscribe to my free newsletter and get my monthly analysis on what s going on in Debian and Ubuntu. Or just follow along via the RSS feed, Identi.ca, Twitter or Facebook.
One comment Liked this article? Click here. My blog is Flattr-enabled.
Every time I review some package for sponsoring, I usually end up suggesting to fix some of more picky things which lintian finds. It looks like everybody is using default set of checks and does not look at others. Indeed the defaults tell about things which are really errors or need override, but --pedantic and --display-info show also useful hints. However you need to take them more as a suggestions than as a errors.
What I usually find interesting is --pedantic, because it tells about several things, which might be good idea to have in your package. Missing Homepage in debian/control is one of them and I believe this should exist for every package which has a homepage.
The --display-info (or just -I) is also useful, for example it does spell checking of texts in binaries and man pages. Registration into doc-base is also useful integration into the system and you should definitely do it if the package provides documentation in HTML.
To run these checks every time, you can create alias in your ~/.bashrc:
alias lintian='lintian -I --pedantic'
Filed under: Debian English 7 comments Flattr this!
The good folks at
Bespoke Investment Group
frequently show charts of so-called overbought or oversold levels; see e.g.
here for the most recent global markets snapshot.
Classifying markets as overbought or oversold is a popular heuristic. It
starts from computing a rolling smoothed estimate of the prices, usually via a
(exponential or standard) moving average over a suitable number of days
(where Bespoke uses 50 days, see
here).
This is typically coupled with a (simple) rolling standard deviation.
Overbought and oversold regions are then constructed by taking the smoothed
mean plus/minus one and two standard deviations.
Doing this is in R is pretty easy
thanks to the combination of R's rich base functions and its add-on packages from
CRAN. Below is a simply function I
wrote a couple of months ago---and I figured I might as well release. It relies
on the powerful packages
quantmod
and
TTR by my pals
Jeff Ryan and
Josh Ulrich,
respectively.
After downloading data and computing the rolling smoothed mean and standard deviation, it really is just a matter of plotting (appropriate) filled polygons. Here I used colors from the neat RColorBrewer package with some alpha blending. Colors can be turned off via an option to the function; ranges, data length and type of smoother can also be picked. To call this in R, simply source the file and the call, say,## plotOBOS -- displaying overbough/oversold as eg in Bespoke's plots ## ## Copyright (C) 2010 - 2011 Dirk Eddelbuettel ## ## This is free software: you can redistribute it and/or modify it ## under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 2 of the License, or ## (at your option) any later version. suppressMessages(library(quantmod)) # for getSymbols(), brings in xts too suppressMessages(library(TTR)) # for various moving averages plotOBOS <- function(symbol, n=50, type=c("sma", "ema", "zlema"), years=1, blue=TRUE) today <- Sys.Date() X <- getSymbols(symbol, src="yahoo", from=format(today-365*years-2*n), auto.assign=FALSE) x <- X[,6] # use Adjusted type <- match.arg(type) xd <- switch(type, # compute xd as the central location via selected MA smoother sma = SMA(x,n), ema = EMA(x,n), zlema = ZLEMA(x,n)) xv <- runSD(x, n) # compute xv as the rolling volatility strt <- paste(format(today-365*years), "::", sep="") x <- x[strt] # subset plotting range using xts' nice functionality xd <- xd[strt] xv <- xv[strt] xyd <- xy.coords(.index(xd),xd[,1]) # xy coordinates for direct plot commands xyv <- xy.coords(.index(xv),xv[,1]) n <- length(xyd$x) xx <- xyd$x[c(1,1:n,n:1)] # for polygon(): from first point to last and back if (blue) blues5 <- c("#EFF3FF", "#BDD7E7", "#6BAED6", "#3182BD", "#08519C") # cf brewer.pal(5, "Blues") fairlylight <- rgb(189/255, 215/255, 231/255, alpha=0.625) # aka blues5[2] verylight <- rgb(239/255, 243/255, 255/255, alpha=0.625) # aka blues5[1] dark <- rgb(8/255, 81/255, 156/255, alpha=0.625) # aka blues5[5] else fairlylight <- rgb(204/255, 204/255, 204/255, alpha=0.5) # grays with alpha-blending at 50% verylight <- rgb(242/255, 242/255, 242/255, alpha=0.5) dark <- 'black' plot(x, ylim=range(range(xd+2*xv, xd-2*xv, na.rm=TRUE)), main=symbol, col=fairlylight) # basic xts plot polygon(x=xx, y=c(xyd$y[1]+xyv$y[1], xyd$y+2*xyv$y, rev(xyd$y+xyv$y)), border=NA, col=fairlylight) # upper polygon(x=xx, y=c(xyd$y[1]-1*xyv$y[1], xyd$y+1*xyv$y, rev(xyd$y-1*xyv$y)), border=NA, col=verylight)# center polygon(x=xx, y=c(xyd$y[1]-xyv$y[1], xyd$y-2*xyv$y, rev(xyd$y-xyv$y)), border=NA, col=fairlylight) # lower lines(xd, lwd=2, col=fairlylight) # central smooted location lines(x, lwd=3, col=dark) # actual price, thicker invisible(NULL)
plotOBOS("^GSPC", years=2)
which creates a two-year plot of the SP500 as shown here:
This shows the market did indeed bounce off the oversold lows nicely
on a few occassions in 2009 and 2010 --- but also continued to slide after
hitting the condition. Nothing is foolproof, and certainly nothing as simple
as this is, so buyer beware. But it may prove useful in conjunction
with other tools.
The code for the script is
here and
of course available under GPL 2 or later. I'd be happy to help incorporate
it into some other finance package. Lastly, if you read this post this far,
also consider our R / Finance
conference coming at the end of April.
Edit: Corrected several typos with thanks to Josh.
Let's say you set up a machine using an encrypted disk with LUKS (debian-installer's partman makes this wonderfully easy!). You choose an initial passphrase, get the machine working, and it's working great. Then, you need to restart it, and realize that (for whatever reason) you've forgotten or lost the passphrase for the volume. oops! (i'm sure this has never happened to you -- let's just pretend it's your less-fortunate friend). If your system is still running, and you have superuser access to it, you can actually set a new passphrase for the LUKS volume using information that the dm-crypt kernel module has about the in-use mapping. In my examples, i'll imagine that the source volume is /dev/XXX2 and the exported cleartext volume is known by the device-mapper as XXX2_crypt In the bigger picture, this should serve as a reminder that even though your disk is encrypted, if someone gets live access to the superuser account on a system with the encryption keys loaded, your data is no longer secret. Before you do any tweaking, you might want to back up your LUKS header, just in case: 0 root@example:~# umask 077 0 root@example:~# cryptsetup luksHeaderBackup /dev/XXX2 --header-backup-file XXX2.luksheader.backup 0 root@example:~#Maybe also copy that off the machine, since a copy of the LUKS header stored within its own volume isn't terribly useful for a backup-recovery situation. You might also be interested in looking at the contents of the LUKS header:
0 root@example:~# cryptsetup luksDump /dev/XXX2 LUKS header information for /dev/XXX2 Version: 1 Cipher name: aes Cipher mode: cbc-essiv:sha256 Hash spec: sha1 Payload offset: 2056 MK bits: 256 MK digest: 93 51 6c 66 ec ce 32 54 6f 6b 52 d1 27 9b 5a 62 6f 6b 52 d1 MK salt: b2 ca 20 49 9f 78 49 c2 fe 15 b4 0f 74 11 23 49 64 9e 61 bb f2 82 60 47 a5 76 fa a4 24 0e 5a 7e MK iterations: 10 UUID: 052f1da0-21a1-11e0-ac64-0800200c9a66 Key Slot 0: ENABLED Iterations: 218733 Salt: f2 ae 8c 53 48 a5 f0 bf e1 2c 06 5f 5a bd ff d9 9a 2e d1 49 3a 63 f8 49 82 ed ae 86 7b 7b 7e 76 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED 0 root@example:~#Now, the fix: We pull the live "master key" from the running device map, and fill a new luksKeySlot from it (this example uses bash's <() syntax for process substitution -- if you use a different shell, i'm sure you can find a different way to do it):
0 root@example:~# cryptsetup --master-key-file <( > dmsetup --showkeys table awk '/^XXX2_crypt: / print $6 ' tr -d '\n' perl -e 'print pack("H*", <STDIN>);' > ) luksAddKey /dev/XXX2 Enter new passphrase for key slot: abc123 Verify passphrase: abc123 2 root@example:~#(note that the luksAddKey invocation above returned an error code of 2 even though it succeeded. I think this is a bug in cryptsetup's return code, not a bug in the password resetting -- it should have returned 0 instead of 2). You can check to see that a new key slot was enabled by re-running cryptsetup luksDump And if you really want to double-check before you reboot, you can try enabling a third keyslot using the passphrase you just added, since this would not succeed if your new passphrase failed to unlock any of the existing keyslots:
0 root@example:~# cryptsetup luksAddKey /dev/XXX2 Enter any passphrase: abc123 Enter new passphrase for key slot: anotherpassphrase Verify passphrase: anotherpassphrase 0 root@example:~#You can also get rid of the original keyslot (which you don't know the passphrase to) like this:
0 root@example:~# cryptsetup luksKillSlot /dev/XXX2 0 Enter any remaining LUKS passphrase: abc123 0 root@example:~#(the above commands were all demonstrated using debian testing, with cryptsetup 2:1.1.3-4 and dmsetup 2:1.02.48-4) Tags: cryptsetup, dmsetup, luks, tip
This week in brief:
Last night was the last time I came back from a pub with my clothes
stinking due to tobacco smoke. The Spanish congress has finally approved a
real anti-smoking law which will ban smoking on public areas, with no
exceptions or ways to workaround the ban. Starting on January 2nd, the
Spanish state will be a smoke-free region (or mostly, it seems it'll be
permitted in open-air events like football stadiums or bullrings, and I
don't think that will be a great problem for me, specially the latter).
For years, my intolerance to smoke has been increasing and I'm really
expectant to see the benefits of this law in my habits. After more than 30
years dealing with smoke around us, it's our turn now. I've been speaking
to a few barmans. In general they seem worried this will affect their
business, but I can't see how it will. Spain has a big culture for having
mid-morning almuerzos in bars, and people are not going to give
that up due to not being able to smoke. They will just do it after they
get out, not during the coffee, and that's it. The barmans of the two bars
I visit most are non-smokers, but have to breath the smoke of hundreds of
cigarretes every day, and can't do anything about it. Until tomorrow, when
this will end and everyone will have a right to breath better air. I hope
this kind of legislation continues to be adopted throughout Europe, because
the FOSDEM welcome party is probably the next smoke horror I'll have to face
soonish. :)
I knew walking all
over the Pyrenees during a whole month would come with some side
effects. I could imagine having a few muscular issues in my legs and some
back pain for a while after getting back; after all we did over 7 hours of
exercise every single day during a month. What I got after our hike was
totally unexpected...
I should have run a half marathon in Gandia on the 21st, and instead I
stayed at home doing some assignments. When we came back, I was in a
really good condition, and wanted to keep the good shape we had built the
month before. Given I haven't been able to swim for nearly a year now,
due to the Misterious Shoulder Injury and I don't have enough time to go
out cycling regularly, I centered my efforts in running, with the idea of
starting to get prepared for cross/mountain races this season.
Training had to wait a little because some days after getting back, I
got a sudden pain on both knees, which even made climbing stairs
difficult. It stuck for a while, and when it finally went away, more or
less, I went ahead and tried going out for a run. I haven't been training
for over two years, so I indended to increase the distances
proggressively. The first day I went out, I ran really nicely for the
first 25 minutes, and suddenly I started getting an intense pain in the
outer side of my right knee, to the point I could barely walk back
home.
I've tried letting them rest for weeks, and every time I try them, the
pain comes back. My physiotherapist says my body has developed quite a few
asymmetries, probably caused by the many days I had to walk crippled by a
big blister in my right foot. As time passes, I feel I'm losing all the
physical improvements I had developed during the summer, and I can't do
anything about it.
The new approach to tackle this is yoga. I know my body isn't too
elastic, and the lack of stretching during the walk made it even worse, so
I'll try to forget about real traning during some time and focus on
healing my muscles. Hopefully, this will help me resolve the nastiest
physical problem I've ever come across.
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!
Having complained about the GPL compliance of the Fusion Garage Joojoo tablet in the past, I'm thrilled to say that I spoke to their new CTO earlier in the week and they now have full source availability here[1]. Previous engineering practices involved editing binary Debian packages rather than rebuilding from the Debian source packages, so there may be a small number of cases where it's awkward to rebuild an identical binary, but I think it's pretty clear at this point that they've done everything practical to make up for past mistakes. I've been assured that all further product development will take license compliance into account from the start, so while things may have taken a little longer than I'd have liked I think everything has worked out for the best. I'd like to say thanks to Fusion Garage and Megan Alpers at McGrath Power for their help in getting all of this resolved.
Reading Scott's recent
announcement
on his move to Google was both surprising and a pleasure. Surprising,
because it'll take time to stop associating his name to Ubuntu, Canonical,
and the nice experiences I had while I worked with them. A pleasure,
because his blog post was full of reminiscences of the very early days of
a project that ended up being way more successful in just a few years than
probably anyone in the Oxford conference could imagine.
Scott, best of luck for this new adventure!
Scott's write-up includes a sentence that made me remember I had been
wanting to write a blog post related to all of this, but was pending Mark
Shuttleworth's permission for posting:
Ok, Mark wasn t really a Nigerian 419 scammer, but some people did discard his e-mail as spam! Scott James RemnantMany know the story of how I ended not being part of the Super-Secret-Debian-Startup Scott mentions. I even wrote about it in a blog post, 3 years ago:
[...] nothing beats the next email which sat for some dramatic 6 months in my messy inbox until I found out in the worst of the possible scenarios. Let's go back to late February, 2004, when I had no job, and I didn't have a clue on what to do with my life.When the usual suspects in the secret Spanish Debian Cabal channel read this blog post, they decided Mark deserved a reply, even if it would hit his inbox more than three and a half years late. :) With great care, we crafted an email that would look genuinely stupid in late 2007, but just arrogant and idiotic in 2004, when Ubuntu was just an African word, and the GNU/Linux distribution landscape was quickly evolving at the time, Gentoo Linux had the posh distribution crown, that Debian had held for quite a few years. I even took enough care to forge theI'm not sure if I totally missed it as it came in, or I skimmed through it and thought WTF?! Dude on crack or I just forgot I need to reply to this email , but I'd swear it was the former. Not long after, no-name-yet.com popped up, the rumours started spreading around Debian channels. Luckily, I got a job at LliureX two months later, where I worked during the following 2 years, but that's another story. I guess it was July or so when Ubuntu was made public, and Mark and his secret team organised a conference (blog entries [1] [2] [3] [4] [5]), just before the Warty release, and I was invited to it, for the same reasons I got that email. During that conference, probably because Mark sent me some email and I applied a filter to get to it, I found the lost email, and felt like digging a hole to hide for a LONG while. I couldn't believe the incredible opportunity I had missed. I went to Mark and said "hey, you're not going to believe this", and he did look quite surprised about someone being such an idiot. I wonder if I should reply to his email today...From: Mark Shuttleworth <mark@hbd.com> Subject: New project to discuss To: Jordi Mallach <jordi@debian.org> Date: Sun, 29 Feb 2004 18:33:51 +0000 [...] I'm hiring a team of debian developers to work full time on a new distribution based on Debian. We're making internationalisation a prime focus, together with Python and regular release management. I've discussed it with a number of Debian leaders and they're all very positive about it. [...]
X-Operating-System and User-Agent headers so
they matched whatever was current in Debian in February 2004, and of
course, top-posting seemed most appropriate.
So Mark woke up that Monday, fired up his email client, and got... this:
As you can imagine, his reaction was immediate:Date: Mon, 1 Mar 2004 09:47:55 +0100 From: Jordi Mallach <jordi@sindominio.net> To: Mark Shuttleworth <mark@hbd.com> Subject: Re: New project to discuss Organization: SinDominio X-Operating-System: Debian GNU/Linux sid (Linux 2.6.3 i686) User-Agent: Mutt/1.5.5.1+cvs20040105i Hi Mark, Thanks for your email. I nearly deleted this e-mail because for some reason I thought it was targetted spam. Your project looks very interesting, almost like a dream come true. However, I feel a bit uneasy about your proposal. Something just doesn't fit. Why would someone start a company to work on /yet another/ Debian derivative? Have you heard about Progeny's sad story? I think it's a great example to show that Debian users don't want Debian-based distros, they want people to work on the "real thing". Besides, I don't think there's much more place for successful commercial distros, with Red Hat and SuSE having well-established niches in the US and Europe. Also, why focus on Debian specifically, Why not, for example, Gentoo, which has a lot of buzz these days, and looks poised to be the next big distribution? To be honest, I think only a few people have the stamina or financial stability to undertake a project like this, so I'd like to know a bit more about you, and details on how you plan to sustain the expenses. Those are the main issues that worry me about your project. Other than that, I would be interested in taking part in it, as I'm currently unemployed and working on something Debian-based would be just too good to miss. You can reach me at +34 123 45 67 89, or if you feel like flying people around Europe, I probably can be in the UK whenever it fits you. Thanks, and hoping to hear from you again, Jordi On Sun, Feb 29, 2004 at 06:33:51PM +0000, Mark Shuttleworth wrote: > Hi Jordi > > We haven't met, but both Jeff Waugh and Martin Michelmayr recommended that > I get in touch with you in connection with a new project that I'm starting. > > I'm hiring a team of debian developers to work full time on a new > distribution based on Debian. We're making internationalisation a prime > focus, together with Python and regular release management. I've discussed > it with a number of Debian leaders and they're all very positive about it. > > Would you be available to discuss it by telephone? I'm in the UK, so we > could probably find a good timezoine easily enough ;-) Let me knof if > you're keen to discuss it, when and what number to call. > > Cheers, > Mark > > -- > Try Debian GNU/Linux. Software freedom for the bold, at www.debian.org > http://www.markshuttleworth.com/
With thanks to all the Spanish Cabal members who were involved!Date: Mon, 22 Oct 2007 11:13:54 +0100 From: Mark Shuttleworth <mark@hbd.com> To: Jordi Mallach <jordi@sindominio.net> Subject: Re: New project to discuss Jordi! I just got this now! Did you recently flush an old mail queue?
Not for the first time, I ve seen the suggestion in the echo chamber that Mono packages should be moved from Debian into the non-free repository, which is not formally part of Debian. The reason, as it so often is, is patents specifically this time, the searing risk posed to Debian and its users that Mono s packaging does not (and technically could not without forking from upstream) provide base class libraries which implement only the content of ECMA-335 4th Edition. As I understand it, this implies three things about the suggestion/demand: firstly, that the individual in question believes that Mono end users are at risk from patent litigation from Microsoft Corp because Mono s implementation of Microsoft.NET beyond the content of ECMA 334/335 infringes on Microsoft patents; secondly, that the Microsoft Community Promise which promises not to assert legal claims over third party implementations of ECMA-335 4th Edition (and ECMA-334 4th Edition which defines the C# language) would render a pure ECMA-only runtime safe if it existed (which it does not); thirdly that without the protection offered by the Microsoft Community Promise, the source code licenses of Mono are irrelevant the patent risk renders the software non-Free.
It appears, unfortunately, that the community of Free Software Advocates don t actually understand what Free Software actually IS. That explains an awful lot, but should surprise nobody. So here s a lesson on what, exactly, is being advocated for.
The Free Software Foundation defines four Software Freedoms these are the minimum criteria required for something to be considered Free Software by the FSF:
git svn rebase
I got a
Connection refused: Can't connect to host 'frisch.fr': Connection refused at /usr/lib/git-core/git-svn line 2310
The svn upstream repo moved to google code. It took me a moment to figure
out that this can be fixed easily with:
git config svn-remote.svn.url http://nostalgy.googlecode.com/svn/
git config svn-remote.svn.rewriteRoot svn://frisch.fr/nostalgy
git svn rebase
Just replace the url with the new svn repository url and set rewriteRoot
to the old svn repository url and you're done.
This blog is flattr enabled.
Next.