Search Results: "Dirk Eddelbuettel"

31 March 2006

Dirk Eddelbuettel: RQuantLib updated

A new RQuantLib package 0.2.2 has just been released to CRAN and Debian. As with 0.2.1, Dominick did all the lifting and further improved on the C++ interface between R and QuantLib using his RcppTemplate package.

24 March 2006

Dirk Eddelbuettel: Beancounter bug fix release 0.8.6

A nasty little bug snug into 0.8.5: price data without open/high/low/volume (as e.g. for mutual funds) failed with the new SQL chunk creation -- this is now fixed. We now also pick up $host if set in ~/.beancounterrc, and made the two helper scripts setup_beancounter and update_beancounter actual bash scripts as they were reported to fail under the smaller/simpler dash shell. The bug fix release 0.8.6 is now in Debian's incoming area, uploaded to CPAN and onto my beancounter page and an announcement has been registered for the corresponding Freshmeat record.

20 March 2006

Dirk Eddelbuettel: Another March Madness Half Marathon in Cary

As spring is near, it was time today for the season's first race -- the March Madness Half Marathon in Cary, some 40 miles northwest of Chicago. Beautiful, sunny, no wind -- pretty good conditions. Shooting for a 7:30 pace, I went out fairly fast for the first few miles and tried not to crumble coming in a pretty decent 1:35:51 -- almost three minutes faster than last year.

17 March 2006

Dirk Eddelbuettel: Small fix for beancounter 0.8.5

Yesterday I announced version 0.8.5 of beancounter. My testing over the last few days must have been with a, ahem, preceding version as the daily cronjob today promptly aborted when some of the data came with incomplete fields. [ This is common for e.g. mutual funds which do not have high, low, or open values but just closes and previous close. ] This quick patch fixes the issue by inserting proper undef values which PostgreSQL groks much better. A revised beancounter version 0.8.6 should be forthcoming in a few days. My apologies for any inconveniences caused.

16 March 2006

Dirk Eddelbuettel: Another month, another quick beancounter release: 0.8.5

Thanks to a set of excellent patches by Pieter du Preez, a new beancounter version went out to Debian, CPAN and my beancounter pages here along with an announcement via the Freshmeat beancounter page that should appear shortly. Pieter's patches improve database access, make things a tad faster, check for a few more error conditions, and reorganise a function or two. Nice work, and my thanks to Pieter.

2 March 2006

Dirk Eddelbuettel: Quantian 0.7.9.2 released

A new release of Quantian is now available! Release 0.7.9.2, available as a iso file of 2.7 gb, contains almost 7.6 gb of quantitative, numerical or scientific software. This release is the second one based on Knoppix 4.0.2 and features: Downloads are available via the Quantian site at the Fred Hutchinson Cancer Research Center in Seattle and at from Greg Warnes' machine at Yale. European mirrors should be in sync within a day or two, Bittorrent support via the Linux Mirror Project should also be available soon. Note that http transfers seem to be problematic due to the file size of over 2gb; rsync and bittorrent are probably a better approach. More information is as always available at the Quantian pages.

20 February 2006

Dirk Eddelbuettel: New beancounter release 0.8.4

Once more, a new beancounter version went out to Debian, CPAN and my beancounter pages here along with an announcement via the Freshmeat beancounter page. This version contains only a few mundane fixes, and one behavioural change. We no longer set the host argument (via Perl's DBI) if the host variable equals localhost. This way, we default to socket communication which is easier on less experienced users who are struggling to make either one of the MySQL or PostgreSQL backends network-aware (as sockets-only is the more secure default for both). We also added a check for empty currency symbols, and realigned one output screen to 79 columns.

3 February 2006

Dirk Eddelbuettel: RGtk2 packages available

Michael Lawrence announced the release of RGtk2 yesterday on both r-packages and r-sig-gui. This follows his impressive presentation at DSC 2005 and finally makes the code available. RGtk2 is, as the name suggests, an update of the older RGtk package (that I'd been maintaining in Debian as r-omegahat-rgtk) to the 'newer' version 2 of Gtk (aka The GIMP Toolkit). It provides Gtk goodies for the amazing R language and environment many of us dig for its use in statistical computing, visualization, data analysis, estimation and more. RGtk2 is quite an achievement. The source package is huge at 1.9mb, the resulting Debian package even huger at 5.3mb, and it all seems to work fine based on some initial tests of running the demos. Based on the two source packages, I created two packages of RGtk2 (as r-omegahat-rgtk2) and the Cairo device (as r-omegahat-cairodevice) which you can fetch from here. Not sure if I feel the urge to maintain them, but if someone else wants to step forward, let me know. Sources and diffs are in the same directory. Feedback welcome. Update: By the way, what do we need to build with gtkmozembed? I didn't find a proper Build-Depends: for this.

29 January 2006

Dirk Eddelbuettel: BHL, as reviewed by the NY Times

Having lived in France for a few years in the early nineties, it was hard not to notice BHL. Also called Bernhard-Henry L vy. In France, if you are somebody, you get called by your initials. BHL, the philosopher turned into a media-savvy writer and journalist was just about everywhere. Even I ended buying one of his tomes. [For those unaware of the cult of BHL, compare the very lengthy and admiring French Wikipedia article with the disclaimer-sporting short and sceptical English counterpart, or even, for completeness, the barely existing German one.] Well, fast-forward a dozen years and who marches onto Jon Stewart's stage at the Daily Show this Wednesday: Bingo, BHL himself. In the usual uniform: suit, spotless white shirt, perfect hair, though less of it than in the days. In rather passable English he gets to plug his new book on travelling the States. Of course, it's tough to be French and to write about the US as de Tocqueville is the inevitable comparison... So tough that the comparison has to turn into a take-down somewhere. Today's NY Times has a review of said book that is so highly entertaining that I cannot help but recommend it most highly, even if you never heard of BHL before. If the Times is this vitriolic, I can't even begin to imagine what a review in the WSJ would do to the poor man...

27 January 2006

Dirk Eddelbuettel: New beancounter release 0.8.3

A new beancounter version has been uploaded to Debian, CPAN and my beancounter pages here; the Freshmeat beancounter record has also been updated. This version contains a few fixes and enhancements: we can now use FX data backpopulation via the PACIFIC server at the Sauder School of Business at UBC in Vancouver. Also, a new command 'lspositions' was added to show non-aggregated positions; thanks to Robert Schmied, we now catch (bad) market caps in trillions (as sometimes seen from the LSE); we updated the default currency mappings for Yahoo!'s semi-broken FX data service and make a few code cleanups and fixes here and there.

Dirk Eddelbuettel: New smtm bug fix releases 1.6.7 and 1.6.8

Minor (Debian) bug fix releases 1.6.7 and 1.6.8 went out for smtm, and to CPAN to keep things in sync. As we no longer need to depends on an explicit Tk::PNG package--it appears that the default Perl-Tk package can now deal with PNG images. No actual code was changed, only the Debian dependency (and, a minor mistake, Build-Dependency) were updated so no need to grab the CPAN versions.

11 January 2006

Dirk Eddelbuettel: RQuantLib updated

A new RQuantLib package 0.2.1 just went out to CRAN and Debian; it contains a few updates in the C++ code contributed by Dominick Samperi.

1 January 2006

Dirk Eddelbuettel: Another New Year's Day 5k run in Lincoln Park

For the fourth time in a row now, and thanks for some friendly prodding by a local runner and friend via a 8:30am phone call, I started the new year with a race at the New Year's Day 5k in Lincoln Park. Nice conditions, temperature in 30s and little wind. Just like last year, I went out rather fast and was not maintaining the initial pace. However, the final time of 20:3968 is quite allright and almost a minute faster than last year.

31 December 2005

Dirk Eddelbuettel: Quantian in VMWare Player: Create a virtual disk with qemu

A few days ago, I blogged about booting/running the Quantian iso via VMware Player, a 'free as in beer' virtualization tool. Over the last few days, I have experimented a little more, perused the VMware Player Forum and googled a bit. It turns out that you can employ the 'free as in speech' virtualization tool qemu (using version 0.7.2 from Debian unstable is fine, looks like a newer 0.8.0 it out upstream) to create a virtual disk image in vmdk format suitable for VMware. For example, the command
qemu-img create -f vmdk Quantian.vmdk 512M
creates a 512mb file of the given name in the in required vmdb format. By the way, qemu is smart and creates a much smaller file -- an 'empty' 512mb partition occupies only 12mb. It is then only a matter of updating the previously posted Quantian.vmx file to add the 'new disk'. I.e. instead of defining just one ide device, we now use two as per
# CDROM Info
ide0:0.present = "TRUE"
ide0:0.fileName = "quantian_0.7.9.1.iso"
ide0:0.deviceType = "cdrom-image"

# edd 31 Dec 2005 adding a virtual disk file
ide1:0.present = "TRUE"
ide1:0.filename = "Quantian.vmdk"
ide1:0.redo = ""
ide1:0.deviceType = "ata-hardDisk"
On the next reboot, Quantian will display a disk symbol for hdc. It it then a matter of starting a root shell in Quantian, running cfdisk or fdisk to partition the new "empty" disk drive and to add a /dev/hdc1 partition (or more), running mke2fs -j dev/hdc1 to add a filesystem --- and on a subsequent reboot, the disk is ready for use. It should thus be possible to create a suitable disk file of, say, ten or so gigabytes (given that Quantian expands to around seven gigs), create a filesystem and then run knx2hd to install Quantian onto the new virtual disk, make the disk bootable and, presto!, have a virtual instance of Quantian on stateful read/write media. While my tests have been limited to using a Linux host, this procedure should work just the same way in Windows. Oh, and as it's still early afternoon here: Best wishes for 2006 to everyone!

21 December 2005

Dirk Eddelbuettel: Boot/run the Quantian iso via VMware Player

Tom Short, author of Rpad, emailed me today saying that he was running the newest Quantian inside an instance of the free (as in beer) VMware Player. And indeed, lo and behold, it works. Quite well, actually. Hhere is what I did:
Grab the VMware Player
I tried the rpm first, but the installation needs some post-installation mojo for kernel modules, networking, etc which the alien-created deb did not provide. So take the tarball, expand it and configure the player running vmware-install.pl All defaults were sane on my Kubuntu desktop, no complaints.
Adapt the definition of the .vmx file
Tom sent me this Quantian.vmx file based on something from Damn Small Linux. It worked for me (TM) -- accept the suggested creation of a new uuid.
Launch vmplayer
And select the (suitably adapted) Quantian.vmx. At the bootprompt, say 'knoppix' or 'linux24' And the bootprocess should proceed. Tom reported he also needed the Knoppix cheatcode 'noscsi'. I didn't.
I then tried to be cute and started two Quantian instances (which can be done if you copy the .vmx file to a new file), started both in kernel 2.4 and tried openMosix, It didn't start immediately, presumably because the test for /proc/hpc got tricked by the /proc filesystem of the non-openMosix host. A quick 'mkdir mfs; /etc/init.d/openmosix start' later, things started to roll. However, while the two machines 'saw' each other, no actual job sharing seemed to occur. They also did not 'see' the laptop running outside the hosted VMware setting even though all machines were on the same 192.168.1. subnet. Maybe a simple configuration issue, maybe not. All in all, a pleasant surprise that I was able to set all this up in a couple of minutes. Update: Fixed URL for the Quantian.vmx file.

Dirk Eddelbuettel: Boot/run the Quantian iso via VMware Player

Tom Short, author of Rpad, emailed me today saying that he was running the newest Quantian inside an instance of the free (as in beer) VMware Player. And indeed, lo and behold, it works. Quite well, actually. Hhere is what I did:
Grab the VMware Player
I tried the rpm first, but the installation needs some post-installation mojo for kernel modules, networking, etc which the alien-created deb did not provide. So take the tarball, expand it and configure the player running vmware-install.pl All defaults were sane on my Kubuntu desktop, no complaints.
Adapt the definition of the .vmx file
Tom sent me this http://dirk.eddelbuettel.com/blog/computers/linux/debian/quantix/Quantian.vmx file based on something from Damn Small Linux. It worked for me (TM) -- accept the suggested creation of a new uuid.
Launch vmplayer
And select the (suitably adapted) Quantian.vmx. At the bootprompt, say 'knoppix' or 'linux24' And the bootprocess should proceed. Tom reported he also needed the Knoppix cheatcode 'noscsi'. I didn't.
I then tried to be cute and started two Quantian instances (which can be done if you copy the .vmx file to a new file), started both in kernel 2.4 and tried openMosix, It didn't start immediately, presumably because the test for /proc/hpc got tricked by the /proc filesystem of the non-openMosix host. A quick 'mkdir mfs; /etc/init.d/openmosix start' later, things started to roll. However, while the two machines 'saw' each other, no actual job sharing seemed to occur. They also did not 'see' the laptop running outside the hosted VMware setting even though all machines were on the same 192.168.1. subnet. Maybe a simple configuration issue, maybe not. All in all, a pleasant surprise that I was able to set all this up in a couple of minutes.

17 December 2005

Dirk Eddelbuettel: Building ivtv kernel modules under Kubuntu

Note to self: following the next kernel upgrade, when wondering how to rebuild the ivtv modules needed for MythTV, just remember that apt-get install linux-headers-686 really helps: it then really reduces to cd driver; make; make install. Thanks to this page for the reminder.

14 December 2005

Dirk Eddelbuettel: Quantian 0.7.9.1 released

A shiny new release of Quantian is now available! Release 0.7.9.1, available as a iso file of 2.5 gb, contains almost 7 gb of quantitative, numerical or scientific software. This release is the first one based on Knoppix 4.0.2 and features: Downloads are available from the Quantian site at the Fred Hutchinson Cancer Research Center in Seattle and at from Greg Warnes' machine at Yale. European mirrors should be in sync within a day or two, Bittorrent support via the Linux Mirror Project should also be available soon. Note that http transfers seem to be problematic due to the file size of over 2gb; rsync and bittorrent are probably a better approach. More information is as always available at the Quantian pages.

1 December 2005

Dirk Eddelbuettel: Mail broken

Comcast, in their infinite wisdom, decided to RBL block (at least one of) Debian's mailhost(s), master.debian.org. As essentially all my mail is forwarded from Debian to Comcast, mail traffic was affected. At first, I noticed dropped posts from mailing list subscriptions relative to the list web archives. I posted the suggested noticed to the Comcast RBL admins, so far to no avail other than a to yield a more complete stop. The mail forwarding has been disabled for now, and I am dealing with this more manually. If you tried to contact me in the last few days and have not gotten a response, please resend your mail. I should now be in a position to receive it. Sorry for any inconveniences. Offers of better mail hosting would be gladly accepted, of course.

19 November 2005

Dirk Eddelbuettel: Cringely on what Google may be up to

In another installation of my pointing to Cringely's columns, let me mention yesterday's column speculating about Google. Choice quotes:
[...]
Google hired a pair of very bright industrial designers to figure out how to cram the greatest number of CPUs, the most storage, memory and power support into a 20- or 40-foot box. We're talking about 5000 Opteron processors and 3.5 petabytes of disk storage that can be dropped-off overnight by a tractor-trailer rig. The idea is to plant one of these puppies anywhere Google owns access to fiber, basically turning the entire Internet into a giant processing and storage grid.
While Google could put these containers anywhere, it makes the most sense to place them at Internet peering points, of which there are about 300 worldwide.
Two years ago Google had one data center. Today they are reported to have 64. Two years from now, they will have 300-plus.
[...] There will be the Internet, and then there will be the Google Internet, superimposed on top. We'll use it without even knowing.
[...] All this is based, of course, on Google's proven network and hardware expertise. Have you seen Google's Search Appliance? They ship you a 1U prebuilt server. You connect it to your network, fill out a simple configuration screen, and it scans and indexes your web site (or sites) for you. Google monitors and manages it remotely, and sucks up the data and adds it to theirs. You just plug the thing in and turn it on. It just works. You need do nothing else to keep it running. Google understands how to do this stuff. Microsoft definitely does not.
[...] Microsoft can't compete. Yahoo probably can't compete. Sun and IBM are like remora, along for the ride. And what does it all cost, maybe $1 billion? That's less than Microsoft spends on legal settlements each year.
Game over. And yet next week I'll take it one more step.
Fact? Fiction? Feasible? As they say, read the whole thing.

Next.

Previous.