Junichi Uekawa: I think time flies.
I think time flies.
I think time flies.
I ve been a long-time user of GNU Screen, as almost every person I know that spend a lot of time in a terminal.
I must admit I was happy, I really was. I was used to my workflow with 4 terminals 8 25 and a bunch of screens, with several nested-screens. I used awesome-wm before, so definitely I felt I wasn t using all the space in my laptop screen (my laptop is a ThinkPad X61, so 1024 768 in a 12 inches-screen) but that was OK, after all my workflow was, well, good.
Until 2 days ago, I was told to try tmux, in fact, I was told and why are you using screen? use tmux . As a daily-user of Screen my first reaction was I m used to , I can use it as I want , and a lot of excuses for just not trying something new. But then I made a little research (on Google, of course). In about 30 minutes I ended up with a multiplexer working as I wanted and as I never got Screen to work. Finally I was using just a terminal and using all the space available in my tiny-laptop-screen and plus: saving a lot of bandwidth with my permanent SSH connection (a really big plus now that I m living with a capped link to the net with a GSM-modem).
I changed the Ctrl-b shortcut to Ctrl-a (b is too far for using it with only one hand), configured so I could use nested tmux es like screen when I push Ctrl-a a, activated visual monitoring and even got to use the tmux s buffer along with my X11 buffer when I press Ctrl-a >!!
It s all in my ~/.tmux.conf, use it at will. Later I will make a screencast about using tmux, so more people can get a working tmux easily.
ATM, I m even more happy than I was with GNU Screen, so, any other recommendation, people?
another weekly report about RC bugs I've fixed, this time mostly by applying
patches from ubuntu:
A continuation of my intermittent series on Emdebian and prompted by a query from Paul Wise, I thought I'd cover some of the uses to which a device running Emdebian can be put. It is a bit long this one...
Yesterday, I uploaded NBD 2.9.24-1 to Debian. The big new feature in
that release is that it now has an 'includedir' global configuration
variable, with which it supports a conf.d-style directory. This feature
was implemented by request of Vagrant Cascadian, of LTSP fame.
Only it didn't
build on kFreeBSD. The reason? The particular test that I added for
that new feature failed.
It turned out to be a simple bug in the code, which just didn't
trigger on Linux but which was a bug none the less. I hadn't noticed,
since my main development machine runs Linux; this is why I added a test
suite to the code.
Bug fixed, new package is in incoming. Whee.
D-I localization first moved backwards when some changes were
introduced to partman-nbd templates....then moves forward again. Full stats are here
Status for D-I level 1 (core D-I files):
The last month I was supposed to work on a OpenStack related
project, but for administrative reasons it has been delayed and I've tried to
do small tasks to be able to finish them quickly and start the work on the
main project when the issues get solved.
As the delay has been longer than expected last Wednesday I've realized than
on the last weeks I did a lot of small system administration tasks:
Just a quick note to remind everyone that the
Rcpp class in San Francisco, which
I am holding together with Revolution Analytics, will take place a week from today.
We are happy to report that the number of registrations has met our initial targets. But as a number of open slots remain, we have decided
to offer a few places at discounts of 25% for academics (with code acad1) and 50% for students (with code student).
Course details are at the
Revolution course page, registration is at
the Eventbrite page.
And just for completeness, here is what I wrote in the previous announcement:
The format will follow the workshop Romain and I gave during the tutorial day preceding this year's R/Finance conference. The style will once again be hands-on, with copious concrete examples and solid coverage of most aspects of Rcpp and related packages such as RInside, RcppArmadillo and others. The eight-hour schedule contains about six hours of instruction, split into four sessions of around ninety minutes. This leaves ample time for both lunch and coffee breaks, and for informal discussions and Q+A. The one-day class will be offered in San Franciso on Saturday, October 8, 2011. Please see the official course page for more details, concrete location info and maps as well as registration details.Feel free to contact me at the usual email address with questions. Or with suggestions for the after-party in San Francisco :)
One of the more classic jokes about not yet understood bugs is that
the
phase of the moon is somehow involved in causing it.
Being bored, I decided to spend some time to see whether "date of bug
filed" could somehow be correlated with "phase of the moon" for a given
source package.
Fast forward an hour of perl experimenting, and here we are:
#!/usr/bin/perl -w
use strict;
use warnings;
use constant PI => 3.1415926535;
use feature "say";
use SOAP::Lite;
use Astro::Coord::ECI::Moon;
my $soap = SOAP::Lite->uri('Debbugs/SOAP')->proxy('http://bugs.debian.org/cgi-bin/soap.cgi');
if (!defined($ARGV[0]))
die "E: must have a source package!\n";
my @bugs = $soap->get_bugs(src=>$ARGV[0])->result();
my $bugsdata = $soap->get_status(@bugs)->result();
my $moon = Astro::Coord::ECI::Moon->new();
my %count = ( 'new' => 0, 'first' => 0, 'full' => 0, 'last' => 0);
foreach my $bug (keys %$bugsdata)
my $time = $$bugsdata $bug -> date ;
my $phase = $moon->phase($time);
if ($phase <= 45 * PI / 180 $phase > 315 * PI / 180)
$count 'new' = $count 'new' + 1;
elsif ($phase <= 135 * PI / 180 && $phase > 45 * PI / 180)
$count 'first' = $count 'first' + 1;
elsif ($phase <= 225 * PI / 180 && $phase > 135 * PI / 180)
$count 'full' = $count 'full' + 1;
elsif ($phase <= 315 * PI / 180 && $phase > 225 * PI / 180)
$count 'last' = $count 'last' + 1;
say "Number of bug submissions during new moon : " . $count new ;
say "Number of bug submissions during first quarter: " . $count first ;
say "Number of bug submissions during full moon : " . $count full ;
say "Number of bug submissions during last quarter : " . $count last ;
This uses the (not packaged in Debian) Astro::Coord::ECI::Moon
perl module.
Use like so:
wouter@carillon:~code/perl$ ./debbugsmoon nbd Number of bug submissions during new moon : 2 Number of bug submissions during first quarter: 10 Number of bug submissions during full moon : 1 Number of bug submissions during last quarter : 3Apparently there's a reasonable correlation between 'the moon is in the first quarter' and 'people file bugs on nbd'. Note: no, the above is probably not very scientific. That's not the point.
No I don t really know any SQL. In fact, even at vocational
school, where we focussed on database normalisation anyway, I
tried hard to avoid the topic. Feel free to access here my entire
knowledge about SQL (I did use Amaya, Arena and Arachne
though. Liked only Arachne out of these three, and then, only
under DOS, not its Unix version. Maybe the WWW could be named
AAA instead? But then, lynx(1) is the one true browser )
Ah, well. While at it the entirety of my Perl knowledge is
here: perltoc(1) with quick links to perlfunc(1).
The entirety of my (X)HTML and ECMAscript knowledge, DE: SELFHTML; although, the spec and DTD helped;
and to write my notes on JSON, I took a peek at the formal ECMAscript spec
as well propos, does anyone know a (good enough) indent(1)
equivalent for ECMAscript, as I am trying to strip down some,
inherited (GPL, yes) code for a hobby project, but Geo-people
seem to produce illegible code?
After spotting an upload of mira, who in
turn spotted an upload of abe (the package, not an upload by
me aka abe@d.o), mira
(mirabilos aka tg@d.o) noticed that there are Debian packages
which have same name as some Debian Developers have as login name.
Of course I noticed a long time ago that there is a Debian package
with my login name abe . Another well-known Debian login and former
package name is amaya.
But since someone else came up with that thought, too, it was time for
finding the definite answer to the question which are the DD login
names which also exist as Debian package names.
My first try was based on the list of trusted GnuPG keys:
$ apt-cache policy $(gpg --keyring /etc/apt/trusted.gpg --list-keys 2>/dev/null \
grep @debian.org \
awk -F'[<@]' ' print $2 ' \
sort -u) 2>/dev/null \
egrep -o '^[^ :]*'
alex
tor
ed
bam
ng
But this was not satisfying as my own name didn t show up and gpg also
threw quite a lot of block reading errors (which is also the reason
for redirecting STDERR).
mira then had the idea of using the Ultimate Debian Database to answer this question
more properly:
udd=> SELECT login, name FROM carnivore_login, carnivore_names
WHERE carnivore_login.id=carnivore_names.id AND login IN
(SELECT package AS login FROM packages, active_dds
WHERE packages.package=active_dds.login UNION
SELECT source AS name FROM sources, active_dds
WHERE sources.source=active_dds.login)
ORDER BY login;
login name
-------+---------------------------------------
abe Axel Beckert
alex Alexander List
alex Alexander M. List 4402020774 9332554
and Andrea Veri
ash Albert Huang
bam Brian May
ed Ed Boraas
ed Ed G. Boraas [RSA Compatibility Key]
ed Ed G. Boraas [RSA]
eric Eric Dorland
gq Alexander GQ Gerasiov
iml Ian Maclaine-cross
lunar J r my Bobbio
mako Benjamin Hill
mako Benjamin Mako Hill
mbr Markus Braun
mlt Marcela Tiznado
nas Neil A. Schemenauer
nas Neil Schemenauer
opal Ola Lundkvist
opal Ola Lundqvist
paco Francisco Moya
paul Paul Slootman
pino Pino Toscano
pyro Brian Nelson
stone Fredrik Steen
(26 rows)
Interestingly tor (Tor Slettnes) is missing in this list, so it s
not complete either
At least I m quite sure that nobody maintains a package with his own
login name as package name. :-)
We also have no packages ending in -guest , so there s no chance that
a package name matches an Alioth guest account either
A fresh maintenance release version 0.9.7 of
Rcpp
went onto CRAN and into
Debian earlier today.
This release contains two contributed fixes. The first, suggested by
Darren Cook via the
rcpp-devel mailing list,
corrects how we had set up exceptions specifications, reflecting a bit of
Java-think on our part. The idiom is generally discouraged in C++, and we now
conform. The second came in two excellent patches by R Core member Martyn
Plummer which finally get us compilation on Solaris. This is much
appreciated as our hands were tied here for lack of access to such a box.
Otherwise, two new examples and a new unit test were added. The complete
NEWS entry is below; more details are in the ChangeLog file in the package and on the
Rcpp Changelog page.
0.9.7 2011-09-29
o Applied two patches kindly provided by Martyn Plummer which provide
support for compilation on Solaris using the SunPro compiler
o Minor code reorganisation in which exception specifiers are removed;
this effectively only implements a run-time (rather than compile-time)
check and is generally seen as a somewhat depreated C++ idiom. Thanks
to Darren Cook for alerting us to this issue.
o New example 'OpenMPandInline.r' in the OpenMP/ directory, showing how
easily use OpenMP by modifying the RcppPlugin output
o New example 'ifelseLooped.r' showing Rcpp can accelerate loops that may
be difficult to vectorise due to dependencies
o New example directory examples/Misc/ regrouping the new example as
well as the fibonacci example added in Rcpp 0.9.6
o New Rcpp-FAQ example warning of lossy conversion from 64-bit long
integer types into a 53-bit mantissa which has no clear fix yet.
o New unit test for accessing a non-exported function from a namespace
Thanks to
CRANberries, you can also look at a
diff to the previous release 0.9.6.
As always, even fuller details are on the
Rcpp Changelog page and the
Rcpp page which also
leads to the downloads, the
browseable
doxygen docs and zip files of doxygen output for the standard formats.
A local directory has
source and documentation too.
Questions, comments etc should go to the
rcpp-devel mailing list
off the R-Forge page
An e-mail by Andreas Schamanek had me revisit the topic of
archiving web
pages.
Andreas pointed me to the MHT format, which bundles
HTML pages and their dependencies into a plain text file using
MIME. Internet Explorer apparently already handles this format, and
UnMHT provides software for the
other browsers. As Firefox 6 is not yet supported, I went to try
the Mozilla Archive Format
extension, which seems to do the same thing and works quite well
so well (on first sight) that I wanted to share it with you.
NP:
Tortoise: Standards
There's loads of music on YouTube. However, when I want to
listen to music, I'm not necessarily interested in slideshows. And yes,
that's a euphemism.
Luckily, extracting the video and audio from a youtube clip isn't
very hard.
wouter@carillon:~$ mplayer -frames 1 -v <file> 2>&1 grep -i 'stream.*audio' [lavf] stream 1: audio (vorbis), -aid 0meaning, this particular file has Vorbis audio.
ffmpeg -i <file> -vn -acodec copy <output>.oggThe critical bit is the '-vn' part, which tells ffmpeg not to encode the video to the output file. The 'mplayer' step isn't strictly required; but since youtube only uses lossy audio codecs, re-encoding the audio to a different codec will cost you audio quality. You may not want to do that; hence the mplayer step (to figure out which codec the source file is using), and the '-acodec copy' argument to ffmpeg's command line (which tells ffmpeg to not re-encode the audio, but just store the unmodified original audio stream in a different container file). Tadaa, music without video.
Keith and I released version 1.0.2 of
AltOS, the open source firmware and
software system associated with our
Altus Metrum hobby rocket avionics systems.
This release includes a fix for the defect in version 1.0.1 that prevented
rebooting an altimeter from idle to pad mode over the radio link. This
affects both TeleMetrum and TeleMini boards, and re-flashing the altimeter
firmware is required to pick up this fix.
We also restored the pre-1.0 mode selection behavior for TeleMetrum at
power on. This is also an altimeter firmware change, but does not affect
TeleMini.
Today, German politicians decided, that Germany be liable for up
to 211 billion Euros for the debts of other EU countries. Or, put
differently: the politicians put the money of the current and
future generations on the line for a country that lived way above
its capabilities for too many years.
When the EU was founded, it was explicitly stated that no
country needs ever be liable for any other. I understand that
politics is hard, and letting Greece (and others) fall down might
carry heavy, unforeseen consequences. Also, I understand that the
Greek people are mostly innocent in all this and that the fault
lies with their politicians and other corrupt entities in the
nation.
However, what s happening these days is beyond the
comprehensible.
If I were in a non-Germany EU country, I d rejoice and continue
making debts. It is likely that this won t be the last time that
our politicians cave in to pressure by other nations who have a
lesser understanding of budgeting and saving.
Since I am German, I can only shake my head, look to Berlin and
ask myself whether this is the final straw that broke the camel s
back. How the heck do the people over there ever want to regain the
trust of their people? Politics has become the game of pleasing
each other, who cares about the people? And the German politicians
are (once again, remember credit default swaps?) at the forefront
of this stupidity.
To me, there is only one solution to Greece s debts: make sure
that what happened can never happen again, and then cut the debts,
or slice them in half. Let the banks carry the weight, for it was
them who gave out the loans too liberally. And if this forces a
bank or two to default, let it happen, for fuck s sake. The
consequences might be dire, but they ll subside. And that s surely
better than trying to pretend that we can keep juggling this
heavily inflated financial system.
Instead, the executives, elected to carry the trust of the
people, are setting precedents for other countries to follow
Greece, for it is likely that they wil be bailed out. By us. That
is not the way to teach anyone the basics of economy: you can only
spend as much as you earn, without exceptions. Debts will only come
around to hurt you. I could puke.
NP:
Godspeed You Black Emperor!: F# A#
Besides FusionForge stuff, I also kept busy with other things.
libcwiid) to
get the signals from the GH controller to a convenient computer
nearby, then turn them into MIDI signals and send them to the Roland
kit. So that I get not one but six extra pads (actually, five
and a pedal). Special effects, lasers, symphonic chords, cymbals of
all sizes, steel drums and more cowbell!
A summary of my FusionForge-ish activities this month:
The following is a quick HOWTO for the brave Debian users who want to
upgrade to GNOME 3. Assuming you have an up to date system running sid, and
experimental listed in your APT sources, perform the following complicated
steps to end up having a functional GNOME 3 desktop:
apt-get install -t experimental gnomeThanks go to Joss for putting together new GNOME 3 meta-packages, and the rest of the Debian GNOME people for months of hard planning and packaging work, and painful testing transition handling. Before you ask, yeah, not all of GNOME 3.x is in unstable yet, but will soon be, as precedent transitions start clearing the way. And yeah, GNOME 3.2 will come just after the two remaining package sets enter testing. To compensate, you'll find that you have some GNOME leaf packages pending an upgrade to 3.2.0-1 while you read this.
I've never had a dog of my own since I grew up, but there have always been
dogs in my life.
![]() |
Next.