2004-05-27 Book Store
Expenses:Books $20.00
Liabilities:Visa
The concept seemed interesting enough for me to check it out and
look for others using it. I found blog posts from
Christine
Spang,
Pete
Keen,
Andrew
Cantino and
Ronald
Ip describing how they use it, as well as a post from
Bradley
M. Kuhn at the Software Freedom Conservancy. All seemed like good
recommendations fitting my need.
The ledger
package is available in Debian Squeeze, while the
hledger
package only is available in Debian Sid. As I use Squeeze, ledger
seemed the best choice to get started.
To get some real data to test on, I wrote a
web scraper for
LODO, the accounting system used by
the NUUG association, and started to
play with the data set. I'm not really deeply into accounting, but I
am able to get a simple balance and accounting status for example
using the "ledger balance" command. But I will have to
gather more experience before I know if the ledger way is a good fit
for the organisations I am involved in.


| Publisher: | John Wiley |
| Copyright: | 2012 |
| ISBN: | 1-118-14330-2 |
| Format: | Hardcover |
| Pages: | 285 |
The text below just went out to r-sig-finance
along with updates to the R/Finance website and
its Call for Papers page.
Call for Papers: R/Finance 2013: Applied Finance with RSo see you in Chicago in May!
May 17 and 18, 2013
University of Illinois, Chicago, IL, USA
The fifth annual R/Finance conference for applied finance using R will be held on May 17 and 18, 2013 in Chicago, IL, USA at the University of Illinois at Chicago. The conference is expected to cover topics including portfolio management, time series analysis, advanced risk tools, high-performance computing, market microstructure, and econometrics. All will be discussed within the context of using R as a primary tool for financial risk management, portfolio construction, and trading. Over the past four years, R/Finance has included attendees from around the world. It featured presentations from prominent academics and practitioners, and we anticipate another exciting line-up for 2013. We invite you to submit complete papers in pdf format for consideration. We will also consider one-page abstracts (in txt or pdf format) although more complete papers are preferred. We welcome submissions for full talks and abbreviated "lightning talks". Both academic and practitioner proposals related to R are encouraged. Presenters are strongly encouraged to provide working R code to accompany the presentation/paper. Data sets should also be made public for the purposes of reproducibility (though we realize this may be limited due to contracts with data vendors). Preference may be given to presenters who have released R packages. The conference will award two (or more) $1000 prizes for best papers. A submission must be a full paper to be eligible for a best paper award. Extended abstracts, even if a full paper is provided by conference time, are not eligible for a best paper award. Financial assistance for travel and accommodation may be available to presenters at the discretion of the conference committee. Requests for assistance should be made at the time of submission. Please send submissions to: committee at RinFinance.com. The submission deadline is February 15, 2013. Submitters will be notified of acceptance via email by February 28, 2013. Notification of whether a presentation will be a long presentation or a lightning talk will also be made at that time. Additional details will be announced at this website as they become available. Information on previous year's presenters and their presentations are also at the conference website. For the program committee:
Gib Bassett, Peter Carl, Dirk Eddelbuettel, Brian Peterson,
Dale Rosenthal, Jeffrey Ryan, Joshua Ulrich
I've just pushed out the release files for Obnam version
1.3, my backup application, as well as Larch,
my B-tree library, and cliapp, my Python
framework for command line applications. They
are available via my home page (http://liw.fi/). Since Debian is
frozen, I am not uploading packages to Debian, but .deb files are
available from my personal apt repository
for the intrepid. (I will be uploading to Debian again after the
freeze. I am afraid I'm too lazy to upload to experimental, or do
backports. Help is welcome!)
From the Obnam NEWS file:
open(2) system call with
the O_EXCL flag to create the target file. This should allow things
to work with both NFS and VFAT.--log=syslog message format improvement by Daniel Silverstone.
No longer includes a timestamp, since syslog adds it anyway. Also,
the process name is now set on Linux.help,
unless one already exists.qemu-user-static and binfmt-support to allow us to run ARM
binaries:
$ sudo apt-get install debootstrap qemu-user-static binfmt-support
I'm using schroot's lvm-snapshot mode so we need an LVM volume,
formatted with a filesystem and mounted in a temporary location:
$ sudo lvcreate -L8G -n sbuild-wheezy-armel /dev/VG
$ sudo mkfs.ext3 /dev/VG/sbuild-wheezy-armel
$ sudo mount /dev/VG/sbuild-wheezy-armel /mnt/
Next we need to create the chroot. For this we use debootstrap in
foreign mode which does a 2 stage setup, firstly by using the
--foreign option:
$ sudo debootstrap --variant=buildd --include=fakeroot,build-essential \
--arch=armel --foreign \
wheezy /mnt http://<DEBIAN-MIRROR>/debian/
Now we (temporarily) copy the qemu-arm-static binary into the chroot
(at the place where binfmt-support expects it), change into the
chroot and run debootstrap's second stage to finish the basic chroot
setup:
$ sudo cp /usr/bin/qemu-arm-static /mnt/usr/bin/
$ sudo chroot /mnt
(chroot)# ./debootstrap/debootstrap --second-stage
(chroot)# exit
Now that we have a basic chroot in place it needs a little bit of
tailoring. I've found the easiest way to do this is to use
sbuild-createchroot and then tweak the result:
$ sudo sbuild-createchroot --arch=armel --foreign --setup-only \
wheezy /mnt http://<DEBIAN-MIRROR>/debian/
If we were building a native chroot then we could have skipped the
debootstrap stuff and let sbuild-createchroot handle
things. Unfortunately this doesn't seem to play nicely with
--foreign.
Now we can remove the qemu-arm-static binary from the
chroot. schroot will automatically bind mount the version from the
host into the chroot which ensures it remains up to date. We can also
unmount the chroot since we will let schroot manage that from here
on:
$ sudo rm /mnt/usr/bin/qemu-arm-static
$ sudo umount /mnt
Next we need to tweak the resulting schroot/sbuild configuration
since sbuild-createchroot assumes the use of schroot's directory
mode. First remove the symlink to /mnt which it created:
$ sudo rm /etc/sbuild/chroot/wheezy-armel-sbuild
Lastly we need to edit /etc/schroot/chroot.d/wheezy-armel-sbuild-<SUFFIX>
(where is randomly generated) and reconfigure it to use
lvm-snapshot mode, by apply the following changes:
[wheezy-armel-sbuild]
-type=directory
-directory=/mnt
+type=lvm-snapshot
+device=/dev/VG/sbuild-wheezy-armel
+lvm-snapshot-options=--size 2G
description=Debian wheezy/armel autobuilder
groups=root,sbuild
root-groups=root,sbuild
profile=sbuild
That's it, we now have a chroot which we can trivially invoke via
sbuild to build armel packages:
$ sbuild --arch=armel --dist=wheezy <... other options...>
We can also use sbuild-update to keep the chroot up to date:
$ sudo sbuild-update -udcar wheezy-armel
You can also use schroot to login to the chroot directly, although
for that case you'll likely want to create a different chroot using
schroot's directory or block-device mode instead lvm-snapshot
and drop some of the sbuild specific setup. I expect I'll blog about
this configuration in some more detail at some point in the future
since I'll want to document it to give a more convenient build
environment for Xen on
ARM
than the build
farm
which we have at work.
Sometimes it's easy to forget that Debian's unstable branch is...unstable. Unfortunately today I have to remind you of that unpleasant fact. Dovecot 2.1.7-6 which I just uploaded has removed some features present in -5.
I haven't used my yurt much at all lately. It was an excellent getaway
when I needed to get away; these days I don't. Or, perhaps, some would
say, I've gotten away...
So yesterday, since I happened to be over there, and after we'd played
board games to our hearts content, we decided to take it down. This had
been on the todo list since last fall, so it was not entirely spur of the
moment. Still, the days are short this near to solstice and this one only
had a few hours of light left.
It'd been up for well over 4 years, in a wet environment. The roof is
pretty well shot and will need to be replaced, but the canvas walls are
still in good shape. There was a surprise; it seems a mouse or something
started nibbling on all the wood of the walls recently, and even the center
ring is pitted and worn by rodent teeth. It all seems still structurally
sound. And looking back at my setup pictures, I'm not bothered by the yurt
having aged, it just makes it seem more real.
We left the bones of the yurt standing on its hill, seeming very
appropriate under the bare winter trees. Will return soon and finish taking
it down. And perhaps in some years I'll find a need for it again.
(Pictures by my sister, who will be annoyed at me linking to this
not-yet-formally published post about the yurt from her POV:
Decline and fall of the yurt)
For an upcoming introductory Haskell talk of mine (next Tuesday in Karlsruhe please come and join if you will) I was looking into data visualization as a example application. With libraries like gloss, getting some nice vector graphics up and running within one talk is quite possible.
For some reason, I want to arrange multiple circles of varying size so that they do not overlap and use as little space as possible. My first approach was to use general purpose optimizers such as cmaes, Numeric.GSL.Minimization from the hmatrix package and force-layout. I especially liked the interface of cmaes, which is able to minimize a function of, say, type [(String, Double, Double)] -> Double by automatically finding the values of type Double in the input, as described by Takayuki Muranushi. That would have looked great in the talk. Unfortunately, none of these libraries gave sufficient good results in a reasonable amount of time for this problem.
I then reviewed some of the academic literature on the circle packing problem and there were some algorithms proposed, but no simple one and none of the papers had a concise pseudo-code description that I could transfer to Haskell.
So eventually I set out to implement a relatively dump and slow greedy algorithm myself: I place one circle after another, starting with the largest, and among the valid positions where a new circle touches two already placed circles, I choose the positions closest to the center of mass. The result, available in the circle-packing package, looks surprisingly well, here visualized using the diagrams library (See the documentation of Optimisation.CirclePacking for the code used to generate that image):
Once upon a time a company started using distributed version control,
and setup several project repositories using darcs.
Over time people became more sane and new projects were created in mercurial.
Later still Git became available, and was used by a few of the brave.
Sadly each of these projects is hosted on the same host, and in the home directory of the same user. This means these two commands work:
hg clone ssh://projects@dev.host/foo git clone ssh://projects@dev.host/barI'm now wanting to setup per-repository ACLs and have hit a problem... There are several git-wrappers such as gitolite and gitosis. There is also the excellent hg-gateway and mercurial-server for dealing with mercurial. However I've yet to find a wrapper which will handle both git & mercurial repositories, under the same UID. (+ Darcs too, of course). So my question - is there such a beast out there, or do we need to write it? I expect such a thing would be useful for many people, so I'm surprised I've not yet found it.
When I was a boy and I would see scary things in the news, my mother would say to me, Look for the helpers. You will always find people who are helping. To this day, especially in times of disaster, I remember my mother s words, and I am always comforted by realizing that there are still so many helpers so many caring people in this world.Sometimes I think that Fred Rogers wisdom is so often under-appreciated. What he says is true, very true. I know what it s like to fear for my child s life. And sometimes the shoe has been on the other foot, when I have been one of the helpers. Many of you know these last few months have been the most difficult in my life. And despite having gone through the deaths of three relatives, nothing has quite compared to this. I can not even begin to express my gratitude for all the care, compassion, and love that has come my way and towards the boys. People I barely knew before are now close friends. Random strangers have offered kindness and support. I have never before needed to be cared for like that, and in some ways perhaps it was hard to let myself be cared for. But I did, and all that caring and generosity has made an incredible difference in my life. Most of us don t see our pain on CNN or BBC, but that doesn t mean it s less real. And it doesn t mean there s nobody that cares. Open up to others, let them care for you. Things can and do get better. The people in Newtown did nothing to deserve this. No matter what evidence is found, they will never get an adequate answer to why? Children have been frightened, families torn apart, lives ended, for no reason at all. But they will survive the terrible pain. In time, they will find happiness again. And they will feel love and compassion from people around the world something to sustain them in their grief. I am certain of this. I recently read this quote, part of a story about a dying cancer patient: Don t forget that it doesn t take much to make someone s day. Yes, the world is still a good place.
(Apologies for putting this on Planet Debian,
but it says the one or other non-English post is okay as long as it s an
exception. I feel I need to reach more people with this, but don t feel
like translating this into English right now.)
Update: Tanguy asked
for a short English summary: it s me ranting against the rioting against
muslims and the call for more CCTV surveillance after a possible
bomb was found at the train station.
In Bonn herrscht immer noch Bombenstimmung , wenn man z.B. auf die
Webseite der Lokalzeitung schaut von dem Amoklauf in Connecticut, ber
den sich im IRC gewunder wird, ist immer noch nichts zu sehen, daf r wird
flei ig wider Islamisten gehetzt.
Ich finde das besorgniserregend, mu doch jetzt jeder Angeh rige des
Islams f rchten, verfolgt oder benachteiligt zu werden. Das reizt doch
erst recht zum Gegenschlag, bei dem dann auch Menschen, die absolut
nicht mit der hier vorherrschenden Meinung und Politik
bereinstimmen, getroffen werden k nnen.
Ich pers nlich habe kein Problem mit Menschen anderen Glaubens oder
anderer Weltanschauung, solange wir friedlich miteinander leben k nnen.
Ich teile eure Unzufriedenheit mit dem herrschenden Staat, der immer
weitergehenden berwachung, Unterdr ckung von Leuten, die nicht dem
vorherrschenden Menschenbild entsprechen (egal an welchen Kategori n),
und bitte die, die dies lesen, nochmal nachzudenken, bevor sie etwas
tun, was hinterher Unschuldige trifft oder gar in friendly fire
ausartet.
Hat eigentlich wer die in Bad Godesberg ausgegebenen Koran-B cher
sich mal angeschaut? Als ich davon las, war ich ja zugegebenerma en
neugierig, weil ich vom Koran leider eher wenig kenne, wei aber nicht,
wie neutral oder eben nicht die bersetzung gehalten ist. Anhand dessen,
was ich bereits mitbekam, sollte das eher friedlicher sein als
was durch sp tere Theologen festgelegt wurde wie ja auch zum Beispiel
im Christentum, aber ber die Horrorepisoden der christlichen Kirche will
ich jetzt auch nicht mich auslassen, in der Hoffnung, da auch diese sich
mit den Jahren gebessert hat. (Ist nur halt das Problem mit den Leuten,
die die alten Hetzparolen jetzt noch verbreiten. Ist wie im Netz mit
den Groupies von Theo de Raadt, die noch asiger zu Leuten sind als er
selber.) (Au erdem mu man ja bef rchten, durch Besitz eines Korans schon
vorverurteilt zu werden heutzutage *seufz* ich finde das nicht gut!)
Update (ich verga ): auch der Ruf nach mehr Video berwachung ist nur
Panikmache. Das geht nur zu Lasten des Normalb rgers. Vielleicht lassen
sich noch Kleinstdelikte wie Taschendiebstahl damit abschrecken, aber
gerade diese Bomben und dergleichen sind doch oft von Leuten, die vor
Konsequenzen keine Angst haben, organisiert. Die werden dann maximal
M rtyrer. Ich wiederhole nochmal f r die Politiker und die ganz langsamen
unter den Lesern: berwachung verhindert keine Straftat.
After long-time without updating my blog, I decided to give it life again, but this time I wanted it to look different and started to make a new theme. Remembering the good-bad old days with WordPress was not an option, so I started prototyping right away with jekyll and things were fast, considering my 30-minutes a day approach since 3 days ago.
Of course, is yet a work-in-progress, and in the meantime I wrote 320Stylus so things could came up faster working mobile-first. But I will write more about that later.
This week, I accepted a job on the faculty of at the University of
Washington Department of Communication. I've arranged for a
post-doc during the 2013-2014 academic year which I will spend at UW
as an Acting Assistant Professor. I'll start the tenure-track
Assistant Professor position in September 2014. The hire is part of a
"big data" push across UW. I will be setting up a lab and research
projects, as well as easing into a teaching program, over the next
couple years.
I'm not going to try to list all the great people in the department,
but UW Communication has an incredible faculty with a strong
background in studying the effect of communication technology on
society, looking at political communication, enagement, and collective
action, and tracing out the implications of new communication
technologies in addition to very strong work in other areas. Years
ago, I nearly joined the department as a graduate student. I am
unbelievably happy that their faculty has invited me to join as a
colleague.
Outside of my new department, the University of Washington has a
superb group of folks working across the school on issues of
quantitative and computational social science, human-computer
interaction, and computer-supported cooperative work. They are
hiring a whole bunch of folks, across the university, who specialize
in data-driven social science. I already have a bunch of relationships
with UW faculty and students and am looking forward to expanding and
deepening those.
On a personal level, Mika and I are also very excited to return to
Seattle. I grew up in the city and I've missed it, deeply, since I
left now nearly half my lifetime ago! It will be wonderful to be
much closer to many of my family members.
But I know that I will miss the community of friends and colleagues
that I've built in Boston over the last 7+ years just as deeply. I'm
going to miss the intellectual resources, and the intellectual
community, that folks in Cambridge get to take for granted. That said,
I plan to maintain affiliations and collaborations with folks at
Harvard and MIT and will have resources that let me spend time in
Boston doing that.
If you are curious what I'm going to be up to and what the future is
likely to hold in terms of my research you should check the material
I've put online as part of the job market this year. I've posted just
about everything on my academic website. This includes a little
four page research statement which describes the work I've done and
the directions I've been thinking about taking it.
The academic job market is challenging and confusing. But it's given
me a lot of opportunity to reflect, at length, on both the substance
of my research and the academy and its structures and processes. I've
got a list of blog topics queued up based on that thinking. I'll be
posting them here on my blog over the next few months.
A long time ago, I spent many many hours playing Frontier (Elite 2) on
the family Atari ST. It was nice-looking (oh, those sunrises on
distant planets!), playable, varied, had ample room for progression,
very different possible roles, a huge universe of which nobody could
ever hope of exploring more than a tiny fraction, and it was basically
the first game I encountered with no set goals. You are a spaceship
pilot in a galaxy colonised left and right, and it's up to you to
decide what you want the game to be. Pirate, headhunter, mercenary,
trader, taxi, explorer, there's no end goal to achieve except what you
fix for yourself. That was, for me as a youngster, a mind-opening
experience, which I never felt as strongly since (with the possible
exception of the Creatures game, but I barely tried it).
Then came modernity, the PC, and the First Encounters sequel
(Elite 3). It added moderate complexity to the gameplay, some sort of
political evolution among the factions and a kind of plot so the
galaxy was no longer quite so static, but the end results were still a
bit disappointing. It felt like Frontier with a few
not-exactly-overwhelming textures stuck onto the ships, a loose plot
arc, and a third faction, the Alliance of Independent Systems, beyond
the Federation and the Empire. Not that exciting, although the name
of the Alliance's capital star system stayed in my mind.
So, like many others, I came to wait for Elite 4. That wait started
in 1995, more than seventeen years ago. During that time, Duke Nukem
Forever was announced, promised, developed, postponed, abandoned,
found again, developed again, and it was even actually released in
2011, while Elite 4 went into the same kind of hell only without the
actual release (yet).
At some point I started trying various substitutes to help pass time.
There was Parsec which was a nice-looking space combat simulator,
multiplayer and all, but never felt like finished. Development slowed
down to a thin trickle, and it seems like it only recently started
again as Open Parsec. Hopefully it won't
wither off again, but since it's only focused on combat, it's not
exactly the same spirit as Elite.
There's Oolite, but it looks and feels very
much like a lightly-modernised Frontier. Better textures, sure, but
the UI still looks like it got taken from the times where games
mentioned they required an EGA/VGA video card.
There's Vega Strike. It's very promising
too, and I did try it at some point, but it was crashing too often for
my tastes. Development seems to have slowed down, but not stopped;
maybe it's time I gave it another go.
I just recently found out about
Pioneer, and I admit I'm excited.
Really excited. It feels like like Frontier felt at the time. It's
not finished yet (the on-planet cities in particular look a bit
weird), but from the alpha I tried and the videos on the website it's
really impressive. I'm going to keep an eye on that, knowing I could
spend quite some time in there even before it's quite finished, if
only to fly a spaceship in the canyons of Europa with Jupiter rising
in the distance. I'll let you know if I find a black monolith.
But the main event triggering this blog post is that apparently
Elite 4 is not dead (yet). Much better, it's under heavy development,
under the Elite Dangerous name, and the current state seems to be
rather good already. And Frontier Developments, the company behind
it, opened a
Kickstarter campaign
to fund the project. The screenshots and the videos look impressive,
and the interviews of the lead developer imply that the gameplay will
be awesome. The galaxy will apparently be really dynamic, and the
player's actions could really influence its geopolitical
(galactopolitical?) evolution, the profitability of trade routes, the
prevalence and repartition of space pirates in various sectors, and so
on. Combine with a multi-player mode, and this could become the
greatest game ever made (for my personal taste at least). So I'm very
much hoping the funding campaign reaches its target.
The release date is set to March 2014. It's going to be a long wait,
fraught with incertitudes.
But then again, Duke Nukem Forever was eventually released, wasn't it?
[No, I never played the original Elite. I'm not that old.]
I started using LastFM probably around 6 years ago, and loved its offering. I discovered a huge amount of music I would have never found otherwise.
Then, some time later, it changed its terms of use, and those of us not in some selected countries lost the ability to stream them for free. Bummer.
About one year ago, I decided to purchase a subscription. After all, getting to know new music is always good And listening to recommendations for friends with interesting music tastes is fun as well!
Of my last music purchases, both in CD and as MP3 downloads (not a spectacular volume, probably some 15 albums in the last year), I can only point to two that I knew the interpreter beforehand. So, we could say I have bought approx. 1 album per month completely thanks to LastFM.
But, as of January 15, they are changing their licensing terms, and LastFM streaming service will no longer be available in Mexico. All it will continue to give me is recommendations based on my listening habits, given I continue "scrobbling" - Much less useful, not to say completely useless given my usual patterns.
So, I'm sadly cancelling my subscription, and quite probably will stop using the service altogether. And yes, this will make me reevaluate freely licensed music services. But while I know of several free music distribution sites such as Jamendo, I will long for this LastFM abililty to deliver me music that is aligned to my current tastes (instead of looking them up by myself)
Any suggestions on where to look for a similar service?
Next.