Julian Andres Klode: this week: dh-autoreconf 3, and APT-related things
Filed under: Debian
Well, I still don t feel ready enough to go back to (real) work. So, once more, I had to get my fingers on something to hack and I picked the Buildd Status Pages once more. It s not my favorite project, but I decided to implement the few remaining ideas and get (temporarily) done with it. So, here we are with new features (and a few bug fixes):
On next Monday this cycle s Ubuntu Application Developer Week classes will start.
The topic that kept me busy most in this cycle was Python gobject-introspection, and porting pygtk2 apps to PyGI (see my initial steps and my report from the PyGI hackfest.)
To spread the love, there will be two talks about this next week: On Monday 17:00 UTC the very Tomeu Vizoso himself will explain what gobject-introspection ( GI ) is, why we need it, and how library developers use it to ship a good and useful GI binding ( typelib ) for application developers. I will then follow up on Tuesday 16:00 UTC about the app developer side, in particular how to use the GI typelibs in Python, and how to port PyGTK2 applications to PyGI.
For the most part these sessions are distribution neutral (we don t have any special sauce for this in Debian/Ubuntu, it all happened right upstream
It's incredible how many people are of the misguided belief that just
because I happen to run a company, I
am automatically interested in their newsletter about whatever it is
that they are doing, no matter how far it is removed from the kinds of
things my company actually does.
Are these people spammers? Yes, definitely, and I don't want to do
business with them. But there's a major difference between this kind of
mails and your common nigerian scammer or counterfeit blue pill
"salesperson". Unlike the latter, some newsletter spammers are
interested in forming a genuine business relationship with my company.
They're going about it the wrong way, but that doesn't necessarily mean
they're trying to trick me into doing something that would not be in my
best interest they're not just after my money.
Although their methods are wrong, that does not mean they're entirely
clueless. Some of these unwanted newsletters are sent with VERP-style
return paths, which suggests that if the mail bounces at SMTP time, I
would no longer receive their junk. So bouncing them is what I do. Exim makes this very easy:
acl_check_mail: deny message = Your domain has been blacklisted log_message = domain blacklisted condition = $ lookup $sender_address_domain wildlsearch /etc/exim4/blacklist-domains true false acceptWhat this does is use a wildlsearch lookup to verify whether the domain of the envelope sender (i.e., as specified in the MAIL FROM: SMTP command) exists in the /etc/exim4/blacklist-domains file. Since we use a wildlsearch, we can use the * as a wildcard
*grep.bewould mean 'grep.be, or any of its subdomains', whereas
*.grep.bewould mean 'any of the grep.be subdomains'. This is because at least one of the people I've blacklisted that way sends their newsletter through a distributed service, and the VERP-style header is based upon the server that actually communicates with my system; and others have a subdomain for the newsletter, but don't use it (or use a different one) for regular mail. If I'm not interested in their spam, I'm probably also not interested in their other mail, so therefore the wildcard (is this overkill? Maybe, but I don't care I don't do business with spammers). This ACL is then activated for the SMTP MAIL FROM: command (search for acl_smtp_mail variable in the exim specification). This makes it impossible for the spammer to reach postmaster@ from the same domain, too, but that doesn't matter; they can always use a different address. One might be wondering why I'm using this kind of domain-based blacklisting rather than a regular bayesian spamfilter, or anything of the sorts. The reason is fairly simple: because the general format of these newsletters is distinctly different from regular spam. For instance, some of these newsletter spammers are in fact competitors who didn't bother to check who they're sending mail to. As a result, their newsletters would contain key words that would appear in mails which I send to my regular customers, too; if I were to classify them as spam in my bayesian classifier, that would increase the chance of the classifier misclassifying a mail from an actual customer as spam. Most of these are very similar in format to newsletters that I did consciously subscribe to, and which are therefore not spam, etc. Finally, bouncing mail rather than blackholing it or filing it in a separate folder (as I have spamassassin do) has the added advantage of making it clear to a newsletter spammer that their junk is not wanted. Most (though certainly not all) will then remove me from their newsletter, saving me bandwith and processing power. And since we do this at MAIL FROM: time, rather than upon completion of the RCPT TO: or DATA commands, I'm not actually giving away any information that they don't have, either.
| Debian::Dpkg::Source | model | generated doc |
| Debian::Dpkg::Copyright | model | generated doc |
| Sshd | model | generated doc |
config-edit -model Sshd -model_dir lib/Config/Model/models -gen_pod lib
The generated pod files can then be converted to man pages, plain text, html depending on your needs.
Feel free to send a mail on config-model users list (config-model-users at lists.sourceforge.net) if you need help.
All the best
Reading GSoC applications is sometimes funny. This year I've decided to be active only in phpMyAdmin projects, but this still gives enough interesting texts.
Some people definitely did not even care about looking at our name and think phpMyAdmin is written in C:
I assume this project would require C/C++ programming and, of course, SQL.We ask people to tell us a little about their real life, in most cases this includes information where did the student study and so on, but sometimes it is just:
I'm a fairly standard guy.In some cases people rather use some random file sharing service to post their CV and I'm too impatient to wait for several minutes till free download is available and I'm definitely not going to pay to download it. PS: As usual, the last day we receive most incomplete proposals over the time. Generally I think that the best proposals arrive at beginning and the quality lowers. This is probably heavily influenced by our requirements for students to know the code before and advertising GSoC early, so that the really interested ones are ready to submit proposals as soon as the interface is open, while others trying to catch train later.
Filed under: English Phpmyadmin 1 comments Flattr this!
Volume 40 of of the (electronic)
Journal of Statistical Software
just came out. It contains my short review of Josef Adler's already pretty popular
R in a Nutshell from O'Reilly. You can my review as a pdf via
this local preprint,
or by visiting the JSS page of the review
and its official copy.
Another pure maintenance release, this time of RcppClassic, the package
supporting the deprecated older classic
Rcpp API defined in
the earlier 2005 to 2006 releases, is now on
CRAN
It contains no new code, but smoothes one or two edges in the build process
and noticed by the newest versions of
R CMD check, just like
yesterday's RcppGSL release.
Courtesy of
CRANberries, here are
the changes to
the previous release.
Diff between RcppClassic versions 0.9.0 dated 2010-12-20 and 0.9.1 dated 2011-04-07 RcppClassic-0.9.0/RcppClassic/build only RcppClassic-0.9.0/RcppClassic/inst/lib only RcppClassic-0.9.1/RcppClassic/ChangeLog 17 ++++++ RcppClassic-0.9.1/RcppClassic/DESCRIPTION 8 +-- RcppClassic-0.9.1/RcppClassic/inst/doc/Makefile 25 ++++++---- RcppClassic-0.9.1/RcppClassic/inst/doc/RcppClassic-unitTests.pdf binary RcppClassic-0.9.1/RcppClassic/inst/doc/RcppClassic.pdf binary RcppClassic-0.9.1/RcppClassic/inst/doc/unitTests-results/RcppClassic-unitTests.html only RcppClassic-0.9.1/RcppClassic/inst/doc/unitTests-results/RcppClassic-unitTests.txt only RcppClassic-0.9.1/RcppClassic/inst/unitTests/runit.RcppDate.R 24 ++++----- 10 files changed, 49 insertions(+), 25 deletions(-)Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
Adam D. Barratt is a Debian developer since 2008, in just a few years he got heavily involved to the point of being now Release manager , a high responsibility role within the community. He worked hard with the other members of the release team to make Squeeze happen.
You could expect the release managers to have some rest after a big release, but it s not really the case. With the long freeze, loads of transitions have accumulated and they are now busy to get all those updated packages in the new testing (wheezy). Despite this Adam took some time to answer my questions.
He shares with us his impression on the Squeeze release, his opinion on time-based freezes (regular/predictable freeze) and much more. Read on. My questions are in bold, the rest is by Adam.
Who are you?
I m a 31 year old software developer and part-time sysadmin for a software and IT services company based in the south of England. I have no children, no pets and a long-suffering partner who puts up with me spending far too much time tinkering with things and people making fun of her Macbook during Debconf.
As well as being on the release team, I m a member of the maintainer teams for devscripts and lintian.
Can you describe your journey in Debian and in the release team?
I was introduced to Debian as part of an infrastructure upgrade at work, moving from a set of Red Hat and Solaris-based systems. As part of that, we submitted some bugs for issues we found during the upgrade and for small patches we included in some software to add extra functionality we wanted. From that starting point I became more interested in Debian in general and began following some of the mailing lists and IRC channels.
When Julian Gilbey asked for help with the maintenance of devscripts, I submitted some patches for some of the outstanding bug reports and was invited to join the team which was being created to handle maintenance for the package. One of the then Release Managers was also on the team and asked if I d be interested in working on a couple of updates they wanted to the scripts which generate the proposed-updates overview pages. I added the new functionality which was merged in to the live scripts and a little while later I was invited to join the team, shortly before Debconf 9.
As most readers will be aware, we unfortunately reached a point during last year where we didn t have anyone filling the Release Manager role. During that period, I became more active in handling transitions and requests for updates to stable and as time went on more people started to suggest that I should put myself forward for the position, or refer to me as already being RM. I procrastinated over the decision for some time but after discussions during Debconf 10 I came round to the idea that we should have the RM role filled again and agreed to take it on, together with Neil. The rest, as they say
How much time do you usually spend working for the release team ?
I ve been trying to work out how to usefully answer this question. My initial answer was approximately two hours each day , but the longer I thought about it the more I started debating exactly what I should include under the umbrella of release work; after some to-and-fro I ve decided to stick with my initial answer.
During periods when Debian is frozen and particularly in the lead up to the release that time commitment increases significantly, particularly over weekends. I m reliably informed that at that point the correct answer to the question is too much time . No comment Liked this article? Click here. My blog is Flattr-enabled.
Whenever I develop a little command line tool, I end up writing
some boilerplate code. For example:
import optparse
p = optparse.OptionParser()
p.add_option('--output', metavar='FILE', help='write output to FILE')
...
Option parsing is one of those things that is easy to do, but doing it
over and over again gets tedious.
There's a bunch of things that pretty much all of my command line tools
end up needing to do, even if they're throwaways:
(from http://lists.debconf.org/lurker/message/20110213.040506.1beb418f.en.html)
To: debconf-video
Subject: [Debconf-video] Announcing debian/watch, the Debian Miro Community Hi all,
With help of dc-video people I've just finished generating RSS feeds from penta data and published all Debconf(5-10) available videos to our new Miro Community page: http://debian.mirocommunity.org/
Soon I'll upload the feeds to dc-video repository. The process had to be semi- automated since I noticed some inconsistencies in penta which I'll point later.
I've written the following description for this channel: http://debian.mirocommunity.org/about/ (english language fixes / suggestions are welcome!)
Other nice Miro Community channels for reference:
http://gnome.mirocommunity.org/ http://ubuntu.mirocommunity.org/ [...]
(from a recent email message to Debian Miro Community admins)
Your Site is Now Running Miro Community 1.2!
Hi,
We have just migrated http://debian.mirocommunity.org/ to the latest version of Miro Community. From here forward, we're asking our heaviest users to help support ongoing software development and server costs by upgrading to a paid account, which is very easy to do!
This release limits some features you currently use. You will have 2 weeks to upgrade your account or you will no longer be able to use the following features.
* You have more than one administrator. If you choose to remain at the Basic account level, the following administrators will lose admin privileges: valessio tiago
* You have 556 published videos. If you do not upgrade your account, we will unpublish the oldest videos to keep you within the 500 video limit. You can also cull videos you no longer want at http://debian.mirocommunity.org/admin/bulk_edit/ [...]Although I understand Miro Community needs of releasing paid accounts, I think the features are now too restricted for non-premium users.So, at the end I have to thank Valessio for his amazing CSS work on this and Holger for warning me in time to not announce Debian Miro Community as an official channel for Debconf videos.It seems Miro will unpublish 56 videos from our channel in two weeks. I'm thinking about keeping there only Debconf videos, which should then fit on their new quota... At least until we find another place to publish them. Suggestions are very welcome. Debconf and other Debian videos are currently hosted at http://video.debian.net. Debconf videos feeds are available at http://tiagovaz.org/videoteam/ and corresponding thumbnails at http://tiagovaz.org/thumbs/.
I realized I never announced this on the blog, so without further ado.... Rcpp Workshop in Chicago on April 28, 2011 This year's R/Finance conference will be preceded by a full-day masterclass on Rcpp and related topics which will be held on Thursday, April 28, 2011, on the University of Illinois at Chicago campus. Join Dirk Eddelbuettel and Romain Francois for six hours of detailed and hands-on instructions and discussions around Rcpp, inline, RInside, RcppArmadillo and other packages---in an intimate small-group setting. The full-day format allows to combine a morning introductory session with a more advanced afternoon session while leaving room for sufficient breaks. There will be about six hours of instructions, a one-hour lunch break and two half-hour coffee breaks. Morning session: "A hands-on introduction to R and C++" The morning session will provide a practical introduction to the Rcpp package (and other related packages). The focus will be on simple and straightforward applications of Rcpp in order to extend R and/or to significantly accelerate the execution of simple functions. The tutorial will cover the inline package which permits embedding of self-contained C, C++ or Fortran code in R scripts. We will also discuss RInside to embed R code in C++ applications, as well as standard Rcpp extension packages such as RcppArmadillo for linear algebra and RcppGSL. Afternoon session: "Advanced R and C++ topics" This afternoon tutorial will provide a hands-on introduction to more advanced Rcpp features. It will cover topics such as writing packages that use Rcpp, how 'Rcpp modules' and the new R ReferenceClasses interact, and how 'Rcpp sugar' lets us write C++ code that is often as expressive as R code. Another possible topic, time permitting, may be writing glue code to extend Rcpp to other C++ projects. We also hope to leave some time to discuss problems brought by the class participants. Prerequisites Knowledge of R as well as general programming knowledge; C or C++ knowledge is helpful but not required. Users should bring a laptop set up so that R packages can be built. That means on Windows, Rtools needs to be present and working, and on OS X the Xcode package should be installed. Registration Registration is available via the R/Finance conference at
http://www.RinFinance.com/register/or directly at RegOnline
http://www.regonline.com/930153The cost is USD 500 for the whole day, and space will be limited. Questions Please contact us directly at RomainAndDirk@r-enthusiasts.com.
I just received a strange call. Basically, someone phoned me up and tried to convince me to change my computer s settings. They called my direct line (not the co-op switchboard), so I think they might be calling other numbers in the Weston-super-Mare area. Watch out for this attack.
I d heard about these calls from Box Bush Farm a year or so ago, but this is the first one I ve had. They introduced themselves as calling from Kilman IT Services (if I heard it correctly I didn t find it in a web search, so hopefully they re not defaming a real company) and say they re calling about the critical error that I reported from my computer (I guess they mean the dialogue that some applications pop up when they crash). I said something non-commital like riiight and they continued.
Apparently, that error has been registered in my computer s files and could cause damage at any time! So, they need me to edit my computer s registers to remove the error. Then they started trying to talk me through the process of running regedit. I m guessing the changes would have allowed them to control a Windows computer somehow.
At this point, I introduced myself and hung up the phone. Of course, there was no caller ID shown. If only I d picked up the call from a phone with a record button, I would post a recording! It sounded like a call centre and the caller spoke English with a far-eastern accent, but of course it could be from anywhere.
This is a crude social engineering attack. Don t fall for it. As it says on Get Safe Online: How to spot social engineering: You get an unexpected call, email or visit from a technical support person . Better yet, make sure you know the names of your tech support providers and refer any unsolicited repair calls to them. I think real IT services would talk to your lead support provider.
This sort of obnoxiousness is part of the reason why our co-op doesn t publish our client list. I m posting this mainly so if anyone searches for Kilman IT Services they ll find details of the call.
Last week, I had to put my daily (real) work off for a bit, to get some rest. I took this occasion to implement a few ideas I had for the Buildd Status Pages. Mainly, I wanted to get rid of my external dependencies which are:
Imagine a conversation where some people would like to try to make
Debian better, and several people say things like this:
as soon as you make this particular change, I will stop using Debian and all my customers will stop using Debian tooQuite a number of different possible responses pop up in my head immediately.
A pure maintenance release of
RcppGSL---our
interface package between
R and the
GNU GSL using our
Rcpp package for
seamless R and C++ integration---is now on
CRAN
It contains no new code, but smoothes one or two edges in the build process
and noticed by the newest versions of
R CMD check. It also adds vignette from the unit tests as some
of our other packages do.
The short NEWS file extract follows below.
0.1.1 2011-04-05
o Unit tests produce a summary vignette as for some of the other packages
o The documentation Makefile now uses the $R_HOME environment variable
o The documentation Makefile no longer calls clean in the all target
And courtesy of
CRANberries, here are
the changes to
the previous release.
Diff between RcppGSL versions 0.1.0 dated 2010-12-01 and 0.1.1 dated 2011-04-06 ChangeLog 22 ++++++++++++++++++++ DESCRIPTION 8 +++---- inst/NEWS 8 +++++++ inst/doc/Makefile 28 ++++++++++++++++++++------ inst/doc/RcppGSL-unitTests.Rnw only inst/doc/RcppGSL-unitTests.pdf only inst/doc/RcppGSL-unitTests.tex only inst/doc/RcppGSL.pdf binary inst/doc/RcppGSL/RcppGSL.Rnw 43 ++++++++++++++++++----------------------- inst/doc/unitTests only src/Makevars.in 2 - 11 files changed, 75 insertions(+), 36 deletions(-)More information is on the RcppGSL page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
The Background
If you weren't online last Friday you probably have missed the big news announcement on the various community distribution websites. The main pages of them got replaced by a placeholder announcing the birth of The Canterbury Project. People started to wonder whether it is an April fool's prank or for real. This blog post is meant to shine a bit more light on it and address one comment received about it.
If you go to the news item on the Debian site you'll get your answer about that it indeed was an April fool's prank. The idea for doing something in coordination with other distributions came to me when I thought about last year's (or was it already two year's ago?) prank that the various web cartoon sites pulled: they replaced their main page with the page of another cartoonist. My original idea was actually along that lines. So I started to dig up website contacts from different distributions, I was aiming at the big names in the community distribution sector.
Given that my time is pretty limited these days with renovating the house we plan to live in soonish I knew I had to let in others in within Debian. I though didn't want to involve too many people, for several reasons: it should be a surprise to as many as possible, but more importantly, I didn't want to shy away other distributions by an overwhelming Debian involvement. That's also part of the reason why I didn't contact many Debian based distributions.
So first contacts where made, a dedicated IRC channel used for coordination, and people involved joined in. Then the thing happened which the Free Software community is so well known for: additional ideas came in, two people independently addressed me whether it wouldn't be better that instead of a circle replacement of the frontpage, why not display the same page on all of them. And one of them added that a corresponding news item might make sense.
So there we were, having to think about text to put into two things: the news item and the replacement page itself. At this stage Alexander threw in a project name with a background that was adopted. Francesca started with an idea for the news item, I started to put quotes in and asked for ones from the other involved people that fit their distribution well. Klaas came up with a template for the replacement page that we tweaked. Fortunately we ended up being five distributions and the colors of the banner did match the distribution ones rather well (except for one, we had to tweak the color of one banner).
The Credits
We were all set, and actually everything went fine. And it definitely caught the attention. This blog post goes out in thanks to the following people:
Collaboration Across Bordersactually is possible. And the background information put into the news section of the replacement site is real. Also, my personal quote in the news item was meant dead honest. I do believe that DEX has a limited point of view and only tackles part of the problem. Unfortunately, for such efforts to really come to life it takes people with a really long breath and dedication to it. Efforts like the VCS-PKG and the Freedesktop Games effort are more or less stalled. Even though a lot of people do believe in stronger collaboration to be a good thing, the basis is not working out too well. I'm in the fortunate position that for some of the packages I maintain there is exchange between packagers from different distributions to avoid common troubles. If it can't be done in the big it should at least be tried in the small. I want to specifically highlight again one part of the updates in the replacement page: the CrossDistro track at this year's FOSDEM. This one was more than fruitful, on several levels. From what I've heard a lot of discussion happened besides the talks too, and connections got established. It doesn't sound unlikely like this might be done again next year. So again, thanks for enjoying this April fool's prank, thanks to everyone who helped to deliver it, and especially a lot of thanks to the people who this might have got thinking of possibilities to improve on the collaboration front!
sudo sysctl net.ipv6.conf.interface.accept_ra_rt_info_max_plen=64Which will enable anything up to a /64 prefix to be advertised at us. Looking at how the kernel handles default routing tables, what would be really useful (to me at least) would be to be able to set default metrics per interface so that when a route is advertised at it it used the per interface metric rather than the (sortof) hardcoded kernel metrics.
Alright. If you ever come into the same situation I was in and need a newer kernel (2.6.32 or up, perhaps also 2.6.31) on some system with old iptables package (versions below 1.4.0 I think, 1.3.5 in my case: CentOS5/RHEL5), you might get this helpful error message when using the iprange module in your iptables rules:
iptables: Unknown error 18446744073709551615
Or even more helpful, if you use iptables-restore to load your rules, you will get an error in the line containing the COMMIT statement (iptables-restore: line X failed).
The reason for this is that the netfilter guys have removed an interface to the iprange module in kernel version 2.6.31 or 2.6.32 (see my bug report at #711 of the netfilter bugzilla).
Just posting this so it might hopefully help others if they get into the same situation.
Next.