Soeren Sonnenburg: Shogun got accepted at Google Summer of Code 2013
[1] http://shogun-toolbox.org/page/Events/gsoc2013_ideas
[2] http://google-melange.appspot.com/gsoc/org/google/gsoc2013/shogun
[1] http://shogun-toolbox.org/page/Events/gsoc2013_ideas
[2] http://google-melange.appspot.com/gsoc/org/google/gsoc2013/shogun
I like it very much
Working with dak is not exactly fun. The documentation is not that awesome, and dak contains many hardcoded stuff for Debian, e.g. it often expects the unstable suite to be present. Also, running dak on Debian Wheezy turned out to be a problem, as the Python module apt_pkg changed the API and dak naturally had problems with that. But with the great help of some Debian ftpmasters (many thanks to that!), dak is now working for Tanglu, managing the whole archive. There are still some quirks which need to be fixed, but the archive is in an usable state, accepting and integrating packages.
The work on dak is also great for Debian: I resolved many issues with non-Debian dak installations, and made many parts of dak Wheezy-proof. Also, I added a few functions which might also be useful for Debian itself. All patches have of course been submitted to upstream-dak.
This is also nearly finished
The Tanglu metapackages have been published in a first alpha version. We will support GNOME-3 and KDE4, as long as this is possible (= enough people working on the packaging). The Tanglu packages will also depend on systemd, which we will need in GNOME anyway, and which also allows some great new features in KDE.
Side-effect of using systemd is at least for the start that Tanglu boots a bit slow, because we haven t done any systemd adjustments, and because systemd is very old. We will have to wait for the systemd and udev maintainers to merge the packages and release a new version first, before this will improve. (I don t want to do this downstream in Tanglu, because I don t know the plans for that at Debian (I only know the information Tollef Fog Heen & Co. provided at FOSDEM))
The community
The community really surprised me! We got an incredible amount of great feedback on Tanglu, and most of the people liked the idea of Tanglu. I think we are one of the less-flamed new distributions ever started
Something else
I am involved in Debian for a very long time now, first as Debian Maintainer and then as Debian Developer and I never thought much about the work the Debian system administrators do. I didn t know how dak worked or how Wanna-build handles the buildds and what exactly the ftpmasters have to do. By not knowing, I mean I knew the very basic theory and what these people do. But this is something different than experiencing how much work setting up and maintaining the infrastructure is and what an awesome job the people do for Debian, keeping it all up and running and secure! Kudos for that, to all people maintaining Debian infrastructure! You rock! (And I will never ever complain about slow buildds or packages which stay in NEW for too long
)
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 (114.19 , thanks everybody!), then you can learn how I spent your money. Otherwise it s just an interesting status update on my various projects.
Simple-CDD and debian-cd
I tried to use wheezy s version of debian-cd and simple-cdd to generate an automatic installer. In this process, I filed a couple of bugs on simple-cdd (#701963: type-handling package is gone and should not be listed in default.downloads, and #701998: the --keyboard parameter is not working with wheezy s debian-installer) and I commited fixes for a few issues in debian-cd:
--no-check-gpg when querying debootstrap4 comments Liked this article? Click here. My blog is Flattr-enabled.
On Monday I took part in my first triathlon, a "sprint" distance race organised by Thames Turbo Triathlon Club.
(Full results)
When you type a commit message:Thanks in advance and happy coding (:
- start the first line with a bug reference like fdo#12345, if you have one for your commit (see details below)
- use the rest of the first line as a concise summary of your changes
- the 2nd line remains empty
- and starting on the 3rd line you can explain how and what changes have been made for what reasons.
Ben Goldacre (Bad Science), is running a campaign for all medical trials to be published.
It seems that best current evidence indicates that about half of the trials for treatments currently in use remain unpublished.
That's pretty astounding when you think about it. Given that many of the trials that are published only compare new treatments against placebo, rather than against the best available existing treatment, and often barely show them as being more effective than homeopathy^Wsugar, one has to wonder how dire were the results that are not being published.
If you prefer to have science done in the open, then I'd encourage you to visit www.alltrials.net and sign the petition and/or give them a donation.
The fix is pretty straight-forward: Simply insist that clinical trials have to register before they start in order to be considered valid, and that all registered trials have to report their results. It need not be expensive to do -- a git repo. shared across the industry, containing a file for each trial in a standard format would do the trick probably. I imagine they'll come up with a more expensive solution, but in comparison to the cost of running a decent sized trial, it'll still be pocket change.
(A note from the campaign, sent to existing petition signatories, is what prompted this blog post -- please read it and be inspired to help)
On the weekend of April 20-21, Students for Free Culture is going to be holding its annual conference, FCX2013, at New York Law School in New York City. As a long-time SFC supporter and member, I am enormously proud to be giving the opening keynote address.
Although the program for Sunday is still shaping up, the published Saturday schedule looks great. If previous years are any indication, the conference can serve as an incredible introduction to free culture, free software, wikis, remixing, copyright, patent and trademark reform, and participatory culture. For folks that are already deeply involved, FCX is among the best places I know to connect with other passionate, creative, people working on free culture issues.
I ve been closely following and involved with SFC for years and I am particularly excited about the group that is driving the organization forward this year. If you will be in or near New York that weekend or if you can make the trip you should definitely try to attend.
FCX2013 is pay what you can with a $15 suggested donation. You can register online now. Travel assistance especially for members of active SFC chapters may still be available. I hope to see you there!
git fetch and you have the upstream tags, and then pass the
flag --upstream-vcs-tag <tag> to git-import-orig whenever importing
the upstream release tarball. git-import-orig will handle the
construction of the merge commit for you and everything will just work,
exactly like it normally does with git-buildpackage except with a more
complete history.
This support was added in git-buildpackage 0.6.0~git20120324, so it's
available in unstable and testing.
(I was going to update my notes on
Debian packaging with Git to include this information before posting
this, but I see that it will require some restructuring and quite a few
changes to that document and I don't have time tonight. Hopefully soon.)
Let's work through each of the steps in the diagram:
The upstream release
configure.ac(sometimes called configure.in) and tags the code. (Usually this tag is on a dedicated release branch.)
make dist, which puts all the files,
| Attachment | Size |
|---|---|
| 3.97 KB |
| Series: | Alex Benedict #5 |
| Publisher: | Ace |
| Copyright: | November 2010 |
| Printing: | November 2011 |
| ISBN: | 1-937007-00-6 |
| Format: | Mass market |
| Pages: | 367 |
After
moving from a hard drive to an SSD
on my work laptop, I decided to keep the hard drive spinning and use it as a
backup for the SSD.
With the following setup, I can pull the SSD out of my laptop and it should
still boot up normally with all of my data on the hard drive.
fdisk, cfdisk and gparted to create the following partitions:
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 499711 248832 83 Linux
/dev/sdb2 501760 500117503 249807872 5 Extended
/dev/sdb5 503808 500117503 249806848 83 Linux
and then loosely followed
these instructions
to create an encrypted root partition on /dev/sdb5:
$ cryptsetup luksFormat /dev/sdb5
$ cryptsetup luksOpen /dev/sdb5 sdb5_crypt
$ pvcreate /dev/mapper/sdb5_crypt
$ vgcreate akranes2 /dev/mapper/sdb5_crypt
$ vgchange -a y akranes2
$ lvcreate -L247329718272B -nroot akranes2
$ lvcreate -L8468299776B -nswap_1 akranes2
$ mkfs.ext4 /dev/akranes2/root
Finally, I added the new encrypted partition to the list of drives to bring up
at boot time by looking up its UUID:
$ cryptsetup luksUUID sdb5_crypt
and creating a new entry for it in /etc/crypttab.
$ mkfs.ext2 /dev/sdb1
$ mount /dev/sdb1 /mnt/boot
$ cp -a /boot/* /mnt/boot/
The only other thing to remember is to install grub on the boot loader of
that drive. On modern Debian systems, that's usually just a matter of
running dpkg-reconfigure grub-pc and adding the second drive (/dev/sdb
in my case) to the list of drives to install grub on.
/etc/fstab):
/dev/mapper/akranes-root / ext4 noatime,discard,errors=remount-ro 0 1
/dev/mapper/akranes2-root /mnt/root ext4 noatime,errors=remount-ro 0 2
UUID=0b9109d0-... /boot ext2 defaults 0 2
UUID=6e6f05fb-... /mnt/boot ext2 defaults 0 2
I use this script (/usr/local/sbin/ssd_boot_backup) for syncing the boot
partition:
#!/bin/sh
if [ ! -e /mnt/boot/hdd.mounted ] ; then
echo "The rotating hard drive is not mounted in /mnt/boot."
exit 1
fi
if [ ! -e /boot/ssd.mounted ] ; then
echo "The ssd is not the boot partition"
exit 1
fi
nice ionice -c3 rsync -aHx --delete --exclude=/ssd.mounted --exclude=/lost+found/* /boot/* /mnt/boot/
and a similar one (/usr/local/sbin/ssd_root_backup) for the root
partition:
#!/bin/sh
if [ ! -e /mnt/root/hdd.mounted ] ; then
echo "The rotating hard drive is not mounted in /mnt/root."
exit 1
fi
if [ ! -e /ssd.mounted ] ; then
echo "The ssd is not the root partition"
exit 1
fi
nice ionice -c3 rsync -aHx --delete --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/boot/* --exclude=/mnt/* --exclude=/lost+found/* --exclude=/media/* --exclude=/var/tmp/* --exclude=/ssd.mounted --exclude=/var/lib/lightdm/.gvfs --exclude=/home/francois/.gvfs /* /mnt/root/
To ensure that each drive is properly mounted before the scripts run, I
created empty ssd.mounted files in the root directory of each of the
partitions on the SSD, and empty hdd.mounted files in the root directory
of the hard drive partitions.
10 */4 * * * root /usr/local/sbin/ssd_boot_backup
20 0,4,8,12,16,20 * * * root /usr/local/sbin/ssd_root_backup
20 2,6,10,14,18,22 * * * root /usr/bin/on_ac_power && /usr/local/sbin/ssd_root_backup
which includes a reduced frequency while running on battery to avoid
spinning the hard drive up too much.
seems like the release is imminent, at least I hardly find anything to work
on anymore. so this week's "report" contains just an upload for one old bug:
For one of my classes, the final project is to work on a personal project for four weeks. Since I have never done mobile programming before, I decided I would use this project as a chance to teach myself the basics of Android development. Paul Tagliamonte recently blogged about a Google Summer of Code project idea for a Debian Android application. It was this post that motivated me to create a Debian Android application for my final project. We are only in the middle of week one, but my plan is to have at least a basic BTS and PTS interface done by the end of the project. Then, depending on a few things, I hope to turn it into a Google Summer of Code project or simply continue developing it on my own.
As I mentioned, I am only a few days into the project. One of the first hurdles I encountered was interacting with the SOAP interfaces available for the PTS and BTS. There are a few examples available on the wiki, but there are not any for Java. A Google search also failed to return any clear and simple results. As a result, I decided I would create a Python script that would accept requests from the Java Android application via a REST API and pass them on to the SOAP API before returning the result as JSON. Before I could finish writing the script, Paul mentioned that he had already written a similar program a few months ago. I immediately stopped working on my script and began preparing a patch for Paul's program to add support for some missing PTS SOAP functions as well as the entire BTS. After a few hours, I had the ability to query the PTS and BTS via a REST API from Java.
While I normally prefer to use VIM for my programming, I decided to follow Google's recommendation and use Eclipse. I was able to follow their guide to get the SDK setup and a simple demo application running. One of the few hurdles I encountered was when I wanted to make web requests. Due to the ability for such requests to stall, you are required to perform them in a separate thread. This only becomes aparant when you try to test your application on an actual device; the emulator will happily run the process in the main thread. Regardless, I was eventually able to modify the demo application to allow me to make requests to my Python REST server and then parse and display the result.
Here are some screenshots of the application running.
If you have any feature suggestions, questions, or comments, feel free to send me an email (nhandler@debian.org). The source code for the Android application is currently not available, but I plan to put it up in a git repository sometime in the near future. The source code for the Python script that provides a REST API to access the PTS and BTS SOAP interface is available on GitHub.
The graph below is generated from popcon submissions. Since they include the version of the popularity-contest package, one can determine the Debian release that was used by the submitter (a new version of the popularity-contest package is generally uploaded just after the release to make that tracking possible).
The graph is similar to the one found on popcon, except that versions newer than the latest stable release are aggregated as testing/unstable .
Comments:
The annoucement below just went to the R-SIG-Finance list.
More information is as usual at the R / Finance page:
Now open for registrations: R / Finance 2013: Applied Finance with RSee you in Chicago in May!!
May 17 and 18, 2013
Chicago, IL, USA
The registration for R/Finance 2013 -- which will take place May 17 and 18 in Chicago -- is NOW OPEN! Building on the success of the previous conferences in 2009, 2010, 2011 and 2012, we expect more than 250 attendees from around the world. R users from industry, academia, and government will joining 30+ presenters covering all areas of finance with R. We are very excited about the four keynotes by Sanjiv Das, Attilio Meucci, Ryan Sheftel and Ruey Tsay. The main agenda (currently) includes seventeen full presentations and fifteen shorter "lightning talks". We are also excited to offer five optional pre-conference seminars on Friday morning. To celebrate the fifth year of the conference in style, the dinner will be held at The Terrace of the Trump Hotel. Overlooking the Chicago river and skyline, it is a perfect venue to continue conversations while dining and drinking. More details of the agenda are available at:http://www.RinFinance.com/agenda/Registration information is available athttp://www.RinFinance.com/register/and can also be directly accessed by going tohttp://www.regonline.com/RFinance2013We would to thank our 2013 Sponsors for the continued support enabling us to host such an exciting conference:International Center for Futures and Derivatives at UIC Revolution AnalyticsOn behalf of the committee and sponsors, we look forward to seeing you in Chicago!
MS-Computational Finance at University of Washington Google
lemnica
OpenGamma
OneMarketData
RStudio
Gib Bassett, Peter Carl, Dirk Eddelbuettel, Brian Peterson,
Dale Rosenthal, Jeffrey Ryan, Joshua Ulrich
Next.