Steve Kemp: Testing the blog feed
My previous entry, about templating, didn't make it into Planet Debian.
This entry is just a test to see if it is my fault.
My previous entry, about templating, didn't make it into Planet Debian.
This entry is just a test to see if it is my fault.
This is my monthly summary of my free software related activities. If you re among the people who made a donation to support my work (78.31 , thanks everybody!), then you can learn how I spent your money. Otherwise it s just an interesting status update on my various projects.
Debian packaging
I wanted to update publican to the latest upstream release but I stopped after a few hours of work during which I filed two bugs that a modicum of testing should have caught before release. So I decided to wait for the next minor release.
I uploaded python-django 1.4.4 and 1.4.5, new upstream maintenance and security releases which thus went into wheezy. I also prepared a stable update of Django (1.2.3-3+squeeze5) which required me to backport the last 2 sets of security patches.
I uploaded a new revision of wordpress to fix a problem with TinyMCE (#700289) and to update/add many translation files (#697208).
Bug reporting and misc fixes
Live-build issue. I experienced some intermittent failures when building HDD live images with live-build on armel. Daniel Baumann directed me to the problematic piece of code (the oversizing of the image size was not enough) so I committed a small fix by increasing the oversizing factor to 6%.
Live-config issue. I also reported another issue that I diagnosed in live-config (#701788), namely that the script which setups sudo was failing when the default user is root.
git-buildpackage issue. I filed #700411 after noticing that git-import-orig imported the debian directory provided by upstream. Those directories are not used with 3.0 (quilt) source package and their presence in the upstream branch is thus harmful: any change to the upstream debian directory will result in conflicts when you merge a new upstream release in your packaging branch.
rubygems integration. Later I had to package a bunch of ruby applications that were using Bundler and I wanted to reuse as many packaged ruby modules that I could. But for this, those modules had to provide the required rubygems meta-information. I filed #700419 to request those on rake-compiler and with the help of C dric Boutillier (and others on #debian-ruby), we identified a bunch of ruby modules which could get those with a simple recompilation. I filed bin-nmu requests in #700605.
Misc bugs. simple-cdd offers to select profiles to install but I noticed that the associated debconf template was not translated (#700915). The startup scripts (provided by initscripts) in charge of activating the swap are supposed to handle a noswap kernel command line option to disable swap. In #701301, I reported that the option was not working correctly if quiet was present first in the command line due to spurious break statements.
Debian France
Administrative work. We were late for some legal procedures so I wrote the report of the last general assembly and sent it to the Tribunal d instance of Sarreguemines to record the changes in the administrative board. I also completed the special register of the association, it s a notebook that is legally required and that must document any important change in the governance structure of the association (new members of the board, headquarters change, new bylaws, etc.).
Galette developments. Debian France is funding a few enhancements to the Galette free software that we re using to manage the association. I am in touch with the Galette developer to answer his questions and ensure that his work will meet our needs.
Librement
I have been looking for talented developers who have a genuine interest in my Librement project. I want to fund the initial development of the project but I don t have the means to fund it entirely. So I really wanted to find developers who would find an interest beside the money that I would pay.
I got in touch with the team of developers from Scopyleft and they look like very good candidates. But they re heavy users of the Scrum development method and asked me to play the role of product owner . So I started to describe the project with user stories (i.e. create the backlog in the Scrum jargon), you can have a look at them here on trello.com. If you re interested by the topic of free software funding, feel free to review and to send me your comments.
My goal is clearly to have a minimal viable product with the first iteration(s) that I fund and then use the platform itself to fund further developments of the project.
Thanks
See you next month for a new summary of my activities.
5 comments Liked this article? Click here. My blog is Flattr-enabled.
As folks know, I ve been hacking on Firehose. I ve been debating doing some work to modify / extend / replace DACA, and I could use some help writing new wrappers around static check code, so, who wants to hack?
Any UI folks? I could use a UI to view Firehose data, something spiffy and colorful.
Hackers? Send in some wrappers for your favorite static checking code. Send in pull requests or email me with a pointer to the repo :)
Hack on, folks!
If you use LVM with Wheezy on a solid-state drive, you really want to install the latest lvm2 update (i.e. 2.02.95-6, which contains the changes of -5). Otherwise, if you set issue_discards=1 in /etc/lvm/lvm.conf, you will experience severe data loss when using pvmove. Happened to me twice, once I didn't care (chroot data being lost), the second time (today) I did. Not fun, especially when the backup of the data was scheduled for the same day.
A new Armadillo version 3.800.0 is
now out. Conrad picked a new numbering scheme to coincide with the
relicensing from LGPL to MPL 2.0. The new version 0.3.800.0 of the corresponding
RcppArmadillo
package (which still uses GPL 2 or later) is now on CRAN. It also contains the updated version of our paper as
the package vignette.
The summary of the main changes follows:
Changes in RcppArmadillo version 0.3.800.0 (2013-03-01)Courtesy of CRANberries, there is also a diffstat report for the most recent release As always, more detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
- Upgraded to Armadillo release Version 3.800.0 (Miami Beach)
- Armadillo is now licensed using the Mozilla Public License 2.0
- added
.imbue()for filling a matrix/cube with values provided by a functor or lambda expression- added
.swap()for swapping contents with another matrix- added
.transform()for transforming a matrix/cube using a functor or lambda expression- added
round()for rounding matrix elements towards nearest integer- faster
find()- fixes for handling non-square matrices by
qr()andqr_econ()- minor fixes for handling empty matrices
- reduction of pedantic compiler warnings
- Updated vignette to paper now in press at CSDA
- Added CITATION file with reference to CSDA paper
Boot-Class-Path: oncrpc-1.0.7.jar gmetric4j-1.0.2.jar
As no absolute path is specified, the JVM will look for those JARs in the same directory where the jmxetric.jar is located.
Furthermore, the JVM will expect the exact filenames to match. If other filenames are used (e.g. for a newer version of gmetric), then the JVM command line needs to specify the filenames and locations, for example:
-Xbootclasspath/a:/opt/ganglia/jmxetric/gmetric4j-1.0.3.jar
Starting JBoss 7 with JMXetric
To start with, unpack a vanilla JBoss distribution:
$ mkdir ~/opt
$ cd ~/opt
$ tar xzf ~/Downloads/jboss-as-7.1.0.Final.tar.gz
Now get the JMXetric code and put it, together with dependencies, in the same directory:
$ mkdir -p ~/opt/ganglia/jmxetric
$ cd ~/opt/ganglia/jmxetric
$ wget http://search.maven.org/remotecontent?filepath=info/ganglia/jmxetric/jmxetric/1.0.2/jmxetric-1.0.2.jar
$ wget http://search.maven.org/remotecontent?filepath=info/ganglia/gmetric4j/gmetric4j/1.0.2/gmetric4j-1.0.2.jar
$ wget http://search.maven.org/remotecontent?filepath=org/acplt/oncrpc/1.0.7/oncrpc-1.0.7.jar
Set up a config file for JMXetric:
$ mkdir -p ~/opt/ganglia/jmxetric/etc
$ cd ~/opt/ganglia/jmxetric/etc
$ wget https://raw.github.com/ganglia/jmxetric/master/etc/jmxetric.xml
$ cp jmxetric.xml jmxetric-jboss.xml
$ vi jmxetric-jboss.xml
and insert the following code:
<!-- report web server request count --> <mbean name="jboss.as:subsystem=web,connector=http" pname="http"> <attribute name="requestCount" type="int32"/> </mbean>Finally, tell JBoss about the agent:
$ cd ~/opt/jboss-as-7.1.0.Final
$ vi bin/standalone.conf
and apply the following changes to standalone.conf:
--- bin/standalone.conf
+++ ../jboss-as-7.1.0.Final.for-jmxetric/bin/standalone.conf
@@ -4,6 +4,7 @@
## ##
##############################################################################
+JBOSS_MODULES_SYSTEM_PKGS="org.jboss.logmanager"
#
# This file is optional; it may be removed if not needed.
#
@@ -48,6 +49,8 @@
#
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+ JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:$JBOSS_HOME/modules/org/jboss/logmanager/main/jboss-logmanager-1.2.2.GA.jar -Xbootclasspath/p:$JBOSS_HOME/modules/org/jboss/logmanager/log4j/main/jboss-logmanager-log4j-1.0.0.GA.jar -Xbootclasspath/p:$JBOSS_HOME/modules/org/apache/log4j/main/log4j-1.2.16.jar"
+ JAVA_OPTS="$JAVA_OPTS -javaagent:$HOME/opt/ganglia/jmxetric/jmxetric-1.0.2.jar=host=jboss-host.example.org,port=8649,wireformat31x=true,config=$HOME/opt/ganglia/jmxetric/etc/jmxetric-jboss.xml"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
JAVA_OPTS="$JAVA_OPTS -Djboss.server.default.config=standalone.xml"
else
Note that we are adding some of the core JBoss logging code to the boot classpath - that is because JMXetric depends on the logger, and like many monitoring agents, it is impacted by JBoss bug AS-3681. Adding these extra classpath settings is the workaround.
Now go ahead and start JBoss, you should see a log message informing you that JMXetric is operational:
$ cd ~/opt/jboss-as-7.1.0.Final $ chmod a+x bin/*.sh $ bin/standalone.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: ... . . . ========================================================================= JMXetricAgent instrumented JVM, see https://github.com/ganglia/jmxetric 12:59:34,395 INFO [info.ganglia.gmetric4j.GMonitor] Setting up 1 samplers 12:59:34,536 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 12:59:34,617 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 12:59:34,653 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting . . .I hope this example is useful for you. Please feel free to share recipes you develop for collecting useful JVM metrics, and also any custom charts/reports through collaboration with the Ganglia community mailing list, the Ganglia wiki or your own blog.
rrs@zan:/media$ sudo lvextend -r -v -L 100G /dev/BackupDisk/DATA
This post is just a status update for the Openstack packaging, after the next version froze last week.
The Openstack bi-annual summit of next April will take place this year in Portland, Oregon, and if everything goes as plan, Grizzly will be released just before the summit. Grizzly will be out a bit before the next Ubuntu in April, as releases are following the one of Ubuntu. Openstack uses town names for it s release names: Austin, Bextar, Cactus (2011.1), Diablo (2011.2), Essex (2012.1), Folsom (2012.2), Grizzly (2013.1).
I started to seriously work on the Openstack packaging in October, and never stopped working on its packaging until now. Slowly, but surely, preparing all the packages and their dependency python modules. One package at a time, working all this every day. Folsom works now pretty well and can be used in production, and I maintain it for security (along with Essex, which is in Wheezy).
Then Grizzly was frozen last week, on the 22nd of February, with the G3 release. As I already worked on packaging the G2 release in January, managing the packaging of G3 was fast. On late Sunday, I had a repository with Grizzly built, and its corresponding python (build-)dependencies. But while just building your own repository is easy, having all the dependencies in Debian is a lot more work.
As of today, if I include all the python modules, I have (at least) touch around 50 packages in total when working on Openstack. Many of them were simply built from scratch. The only python dependency that needs an upgrade in Experimental, so that all dependencies are satisfied, is a new version of pep8. The rest of is new python modules that were not in Debian, and which are currently waiting in the NEW queue for ftp masters approval: python-pecan, python-tablib, python-wsme and websockify. Some of these python modules have been waiting there for a long time, like python-pecan (it s been waiting in the NEW queue for more than 35 days now), some like websockify and python-wsme have been uploaded only this week. I really hope it can be possible to have all of Grizzly in Debian before the next Openstack summit (this depends mainly on the ftp-masters).
Note that I do not intend to apply security patches in Grizzly until it is released as the new Openstack stable. So use my private Grizzly repository as your own risk. I intend to fix this by working on some constant integration to have nightly builds, like many people are doing with Openstack. If you want to try it out:
deb http://archive.gplhost.com/debian grizzly main
For the past few days I've been making minor changes to my static-site generator, templer (source on github). The recent changes have all had one aim, which was to allow me to rebuild my main site.
Now I've finished http://www.steve.org.uk is up to date, and the source code to the website is stored in a mercurial repository.
No real functional changes have been made, but I've rationolized several ad-hoc bits of the site, marked areas are depreciated/unsupported where appropriate, and removed a few things that were completely broken.
I almost removed the software for Microsoft Windows, but didn't. By a strange coincidence I was recognized as the author of a windows utility back in 2004 - almost ten years ago now - on Hacker News. Guess I made the right choice.
I'm going to spend a while working on my slaughter documentation in the next week or two, although "the definitive guide" is a great starting point.
"Yes, this is dog" - Landscape in The Mist (1984).
x-on-resize: a simple display configuration daemon
I like things to be automated as much as possible, and having
abandoned Gnome to their own fate and switched to xfce, I missed the
automatic display reconfiguration stuff. I decided to write something
as simple as possible that did just what I needed. I did this a few
months ago, and when Carl Worth asked what I was using, I decided to
pack it up and make it available.
Automatic configuration with a shell script
I ve had a shell script around that I used to bind to a key press
which I d hit when I plugged or unplugged a monitor. So, all I really
need to do is get this script run when something happens.
The missing tool here was something to wait for a change to happen and
automatically invoke the script I d already written.
Resize vs Configure
The first version of x-on-resize just listened for ConfigureNotify
events on the root window. These get sent every time anything happens
with the screen configuration, from hot-plug to notification when
someone runs xrandr. That was as simple as possible; the application
was a few lines of code to select for ConfigureNotify events, and
invoke a program provided on the command line.
However, it was a bit too simple as it would also respond to manual
invocations of xrandr and call the script then as well. So, as long as
I was content to accept whatever the script did, things were
fine. And, with a laptop that had a DisplayPort connector for
my external desktop monitor, and a separate VGA connector for
projectors at conferences, the script always did something useful.
Then I got this silly laptop that has only DisplayPort, and for which
a dongle is required to get to VGA for projectors. I probably could
write something fancy to figure out the difference between a desktop
DisplayPort monitor and DisplayPort to VGA dongle, but I decided that
solving the simpler problem of only invoking the script on actual
hotplug events would be better.
So, I left the current invoke-on-resize behavior intact and added new
code that watched the list of available outputs and invoked a new
config script when that set changed.
The final program, x-on-resize, is available via git at
git://people.freedesktop.org/~keithp/x-on-resize
I even wrote a manual page. Enjoy!
Daniel tells his story building a wooly mammoth, and throws some ideas on how this could be implemented easily with free software. But if I read his post correctly, Daniel still misses the precise ways to do it.
Our friends Octavio and Claudia (twitted hereby) have given some Blender courses here at our classroom at home (Guys! Come again! We miss you!), and host the Spanish-speaking g-blender community. At one of their courses, they showed how to model an object/character, and in order to color/texture its parts, you can unwrap it This process yields a flattened image with the surfaces that build your object, that you can then color. Well, you can also use it as a base pattern to cut and sew your plush!
It is not meant to be used for this (although it works), so it won't give you the extra tabs to be sewn in place, and the joints might not be at the most comfortable places. But it is base you can work from.
A maintenance release of inline is now
on CRAN, and is being uploaded to Debian. The release fixes two minor bugs kindly reported by users.
As the two previous releases appear to not have been announced here, their NEWS entries are included as well.
Changes in inline version 0.3.11 (2013-02-26)Courtesy of CRANberries, there is also a diffstat report for the most recent release. A few more details are available at the R-Forge page.Changes in inline version 0.3.10 (2012-10-03)
- Fix bug in
cfunctionfor.Cconvention with raw vectors.- Correct
cfunctionto use.Platform$dynlib.extas the file extension for the library file (unless on Windows).- Allow
rcppwrapper to pass another plugin (as eg RcppArmadillo)Changes in inline version 0.3.9 (2012-10-02)
getDynLib()error message corrected as suggested by Yasir Suhail- Added
rcpp()wrapper forcxxfunction()which setsplugin="Rcpp"- Converted NEWS to NEWS.Rd
- New maintainer, after having coordinated releases (along with Romain) since 0.3.5 in June 2010
- Uncoordinating hijacking of package by CRAN maintainers with a single word change in
cfunction.Rto prevent an error under an unreleased version of R
I feel like i've done a lot of blogging recently about failing to do things with proprietary software. That's annoying. This post is about something i made successfully with free software (and some non-software crafting): I made a Woolly Mammoth for my nephew!
I documented the pattern (with pictures!) that i came up with using Inkscape (and used markdown, pandoc, emacs, pdftk, and other free software in the process). i've also published the source for the pattern via git if you want to modify it: git clone git://lair.fifthhorseman.net/~dkg/woollyWriting up the documentation makes me realize that i don't know of any software tools designed specifically for facilitating fabric/craft construction. Some interesting software ideas:
Hi planet.ocaml.org.
Just a quick post to thanks Marek Kubica for his help on the planet.ocaml.org spring cleaning.
Here are the feeds that have been removed:
It's fairly straightforward to boot a UEFI Secure Boot system using something like Shim or the Linux Foundation's loader, and for distributions using either the LF loader or the generic version of Shim that's pretty much all you need to care about. The physically-present end user has had to explicitly install new keys or hashes, and that means that you no longer need to care about Microsoft's security policies or (assuming there's no exploitable flaws in the bootloader itself) fear any kind of revocation.
Two recent announcements have been made about how it's viewed that people should interact with each other. Both, in my opinion, are misguided.
Firstly, Yahoo's chief executive, Marissa Mayer has announced that she's banning staff from remote working. The idea behind this announcement is simple - that "some of the best decisions and insights come from hallway and cafeteria discussions, meeting new people, and impromptu team meetings". This is absolutely spot on, but the next sentence in the leaked internal memo is more problematic: "Speed and quality are often sacrificed when we work from home".
Also this year I registered a booth in the name of the Debian Project at Chemnitzer Linux-Tage.
Unfortunalety this is the second time in the row, that we seem to be short of manpower while preparing the booth. Actually just one person was able to commit his available time. A general offer was announced by 3 people (including me). This makes me a little sad, cause CLT is a very community driven event which is really nice organized. I always liked to chat and discuss with very interesting people from other projects and visitors.
As the CLT runs a 6 track lecture program with commonly very good lectures, it is not possible to get the booth running into good shape with such a small amount of volunteers. If you feel you are interested into visiting the Chemnitzer Linux-Tage and want to make our booth a success like last years for the Debian Project, please have a look into my announcment and our coordination wiki.
So please ... let come more brave people into our band wagon! Don't wait to long! Registration period for (possibly sponsored) Booth tickets (read here) ends on 4th March, many thanks!
In a way similar to my previous post about persisting graphs in PostGreSQL in PHP, here s similar examples for Python and MySQL.
Note that you may need to adjust the MySQL table creation templates if you re running librdf version 1.0.16 (see this bug for details).
The first example will load data from a file, and store the parsed model to the RDBMS, while the second example, will reload the model and issue queries on it.
These examples don t do much, but hopefully, they ll help you get started if you re interested in using redland/librdf.
One potential benefit can be interoperability with other languages like PHP, for instance if you re running harvesters in Python that will save facts in a triple store, which is then accessed by a PHP application that will publish a Web interface.
Next.