|
|
Thinking inside the box | |||||
|
Bio
Code Linux Quantian About Blog
|
R Project and Google Summer of Code: Welcome to our students!
Date: Mon, 26 Apr 2010 15:27:29 -0500 To: R Development List /computers/misc | permanent link Thu, 18 Mar 2010
R Project selected for the Google Summer of Code 2010
An R Wiki page had been created and serves as the central
point of reference for the R Project
and the GSoC 2010. It contains a list of project ideas, currently counting
eleven and spanning everything from research-oriented topics (such as spatial
statistics or automatic differentiation) to R community-support (regarding
CRAN statistics and the CRANtastic site) to extensions (NoSQL, RPy2 data interfaces, Rserve browser integration) and more. I also just created a
mailing list /computers/misc | permanent link Thu, 22 Oct 2009
From ORD Sessions to R-Forge in 12 hours with RProtoBuf
Sounded good, and I needed an excuse to try to mix the awesome Protocol Buffers with my favourite data tool, R. What are Protocol Buffers? To quote from the Google overview page referenced above: Protocol buffers are a flexible, efficient, automated mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the "old" format.and later on that page: Protocol buffers are now Google's lingua franca for data – at time of writing, there are 48,162 different message types defined in the Google code tree across 12,183 .proto files. They're used both in RPC systems and for persistent storage of data in a variety of storage systems.
So three hours later, I had an implementation of the 'addressbook
reader' C++ example wrapped in a tiny yet complete R package that
passed So before going to bed, I quickly registered a new project at R-Forge, everybody's favourite R hosting site, and thanks to the tireless Stefan Theussl (and some favourable timezone differences) the project was approved and the stanza available by the time I got up. So I quickly filled the SVN repo and, presto, we had the RProtoBuf project at R-Forge within 12 hours of the ORD Sessions hackfest. I will try to follow up on RProtoBuf in a couple of days, this may lead to some changes in my Rcpp R / C++ interface package as well. /computers/misc | permanent link Sun, 31 May 2009
Ubuntu Developer Summit in Barcelona
All told, a well-organised conference in a nice setting -- two stone throws from the legendary Camp Nou. Unfortunately, I had to leave by Wednesday so I missed what was undoubtedly quite a scene in Barcelona following Barca's dismantling of Man U in this year's Champions League final. /computers/misc | permanent link Sat, 23 May 2009
Temporary Debian mail outage
If you happened to have sent me mail to my debian.org address during that time period, you may have gotten a hard reject ('550 Administrative prohibition') as did a test mail of mine. In this case mail may not be respooled, so please do send it again. My alternate address, formed by my first name followed by the family name and the commercial top-level domain, remained functional as a fallback. /computers/misc | permanent link Thu, 30 Apr 2009
GSoC 2009 Chicago area meeting
/computers/misc | permanent link Tue, 28 Apr 2009
Google Summer of Code 2009: R / Quantlib
We had twenty-two applications to review for the R project, including three for the RQuantLib topic I had proposed. Khanh's application was clearly among the best, and I look forward to helping him do cool stuff over the summer. He already posted two short emails on the r-sig-finance and the quantlib-user lists soliciting suggestions and comments. So if you have comments regarding R and QuantLib, please get in touch with him or me! /computers/misc | permanent link Wed, 07 Jan 2009
Google Summer of Code 2009
/computers/misc | permanent link Tue, 28 Oct 2008
Google Summer of Code 2008 Mentors Summit
I had a blast. Chris, Leslie and the rest of the Google's Open Source Programs Office facilitated a really nice unconference that spawned a few really nice sessions, and they took very good care of us. And just about everybody met a number of folks in person that were previously known only via email or irc. As the saying goes: nothing like the bandwidth of a face-to-face meeting...
Last but not least I should issue a health warning. Sharing a room with the
fearless Debian DPL is not for the faint
of heart: His snooring is truly world-class. /computers/misc | permanent link Tue, 14 Oct 2008
RPostgreSQL 0.1.0
/computers/misc | permanent link Fri, 25 Apr 2008
Google Summer of Code 2008 projects assigned
For the topic 'create a PostgreSQL package for R that uses the standard DBI interface', a number of interested students contacted me, and a total of three applications were submitted. And while the R Foundation was only able to allocate four topics among a number of really good applications, Sameer Prayaga was our pick for this topic. It would be nice to fill this gap among the existing database connection methods for R, and I feel that Sameer can pull this off. For the second topic of 'create a cran2deb tool for converting CRAN sources into Debian package' which I had submitted within Debian, Charles Blundell wrote an excellent application. In a way, this topic is a '2.0' version of our previous attempts of a 'top-down' set of tools in the pkg-bioc project on Alioth. This time, we will try something smaller, maybe more modular and lighter and see how far we get there if we try it 'bottom-up'. And as we are currently in the community bonding phase, say Hi to Sameer or Charles when you come across them these days. Lastly, I'd like to thank everybody who submitted an entry at Debian or R, or who contacted me about one of the topics I posted. The respone was very humbling, many of you were imminently qualified and seemingly very motivated -- but even Google's pockets can only pay for a finite number of projects. Sorry if yours did not get picked. /computers/misc | permanent link Mon, 17 Mar 2008
Google Summer of Code 2008 projects are up
And just like in 2006 and 2007, I put up proposals and offered to act as a mentor. The first one is up at both Debian and R: an opportunity to help with the ongoing efforts of 'turning more CRAN package into Debian packages'. The second one is only at the R page: a proposal to fill the missing link of DBI database interface modules with a matching one for PostgreSQL. More details for either idea are at the respective pages. Anybody interested should ping me by email. /computers/misc | permanent link Sat, 21 Jul 2007
Dead disks, and lvm woes
If anybody has tips on recovering the lvm partitions, I'm all
ears. /computers/misc | permanent link Sat, 29 Jul 2006
Patch to build palm-db-tools_0.3.6 with recent g++ versions
A simple patch which removes trailing semicolons after class definitions, and adds virtual destructors for a few classes, is below. The mailing list archives show one other patch for a different (yet probably relevant :) problem, and its from November 2003.
By the way, would be nice if someone added the package to Debian. The Makefile's
diff -ru palm-db-tools-0.3.6.orig/libpalm/Block.h palm-db-tools-0.3.6/libpalm/Block.h
--- palm-db-tools-0.3.6.orig/libpalm/Block.h 2003-06-19 18:37:47.000000000 -0500
+++ palm-db-tools-0.3.6/libpalm/Block.h 2006-07-29 15:04:19.000000000 -0500
@@ -176,7 +176,7 @@
size_type m_size;
};
-};
+}
bool operator == (const PalmLib::Block& lhs, const PalmLib::Block& rhs);
diff -ru palm-db-tools-0.3.6.orig/libpalm/File.h palm-db-tools-0.3.6/libpalm/File.h
--- palm-db-tools-0.3.6.orig/libpalm/File.h 2003-06-19 18:37:47.000000000 -0500
+++ palm-db-tools-0.3.6/libpalm/File.h 2006-07-29 15:04:42.000000000 -0500
@@ -89,6 +89,6 @@
uid_map_t m_uid_map;
};
-};
+}
#endif
diff -ru palm-db-tools-0.3.6.orig/libsupport/infofile.h palm-db-tools-0.3.6/libsupport/infofile.h
--- palm-db-tools-0.3.6.orig/libsupport/infofile.h 2003-06-19 18:37:47.000000000 -0500
+++ palm-db-tools-0.3.6/libsupport/infofile.h 2006-07-29 15:07:08.000000000 -0500
@@ -33,6 +33,7 @@
{
public:
virtual void parse(int linenum, std::vector< std::string> array) = 0;
+ virtual ~Parser() {};
};
class ConfigParser: public Parser
{
@@ -40,6 +41,7 @@
ConfigParser(DataFile::CSVConfig& state)
: m_Config(state)
{}
+ virtual ~ConfigParser() {};
virtual void parse(int linenum, std::vector< std::string> array);
private:
DataFile::CSVConfig& m_Config;
@@ -50,6 +52,7 @@
DatabaseParser(PalmLib::FlatFile::Database& db)
: m_DB(db)
{}
+ virtual ~DatabaseParser() {};
virtual void parse(int linenum, std::vector< std::string> array);
private:
PalmLib::FlatFile::Database& m_DB;
@@ -60,6 +63,7 @@
TypeParser(std::string& p_Type)
: m_Type(p_Type)
{}
+ virtual ~TypeParser() {};
virtual void parse(int linenum, std::vector< std::string> array);
private:
std::string& m_Type;
/computers/misc | permanent link Thu, 20 Jul 2006
Undeleting from ext3
And it worked -- despite the dire warnings from the ext3
FAQ about the near impossibility of undeleting from ext3 partitions. But
a few things worked in my favour here: OpenOffice files are zip files 'under
the hood', and magicrescue
knows how to deal with certain file formats via its collection of 'recipes'
(which one can extend), and zip is among the shipped recipes. Also, I still
had the 'ls -l' session in one konsole
tab so I knew the exact file size I was looking for. And I wasn't in a
hurry. So this morning, after /computers/misc | permanent link Wed, 30 Nov 2005
Mail broken
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. /computers/misc | permanent link Fri, 04 Nov 2005
Smokes, that ain't pretty
Translation for non-propellerheads: Someone with a
Google
Gmail
account emailed me on August 22. It took eleven seconds to get from Gmail to
Debian (once you consider the different timezones), but Debian's mail system
took until today, November 5, to deliver it to
Comcast, my ISP.Yikes.
So if you, anonymous reader, happened to have emailed me lately and are still awaiting a reply ... please consider the possibility that I may not have received your mail yet. I should add that the underlying problem has been rectified at Debian's end as one of our hard-working admins stated yesterday. /computers/misc | permanent link Thu, 16 Sep 2004
Quite right
Bottom line: If you use Windows, you're asking for trouble. As they say, truer words have never been spoken... Other than recommending OS X in no uncertain terms, he listed a host of required add-ons to make that one dominant OS cope with its own lack of security. /computers/misc | permanent link Wed, 15 Sep 2004
Compiling afio under Cywgin
I sent it upstream to Koen, maybe it'll show up in a future versiom.
diff -ru afio-2.5.orig/afio.c afio-2.5/afio.c --- afio-2.5.orig/afio.c 2003-12-20 16:16:13.000000000 -0600 +++ afio-2.5/afio.c 2004-09-13 17:12:50.548515800 -0500 @@ -184,7 +184,11 @@ #include /computers/misc | permanent link Mon, 12 Jan 2004
That was fast
Shipment was supposedly to be in three days from now ... yet the box arrived today! It boots Knoppix as well as my Quantian just fine. A pIV 2.8 GHz and a mobo with sata support, gigabit lan, graphics, sounds, whathaveyou all integrated along with a puny little disk and a laughable amount of Ram (order for a gb from crucial is on its way), it all came to just over $500 of which $100 should come back via a mail-in rebate. /computers/misc | permanent link Sat, 03 May 2003
ATX power supplies suck
/computers/misc | permanent link Fri, 11 Apr 2003
Compiling a2ps under Cywgin and adding R / S support
I simply grabbed the most recent Debian tarball and diff.gz, unpacked the tarball and applied the patch. You then need to run the appropriate debian/patches patch from the a2ps sources directory as per sh debian/patches/10_s_support.dpatch -patch
After that, it's just a matter of adding a two-line patch in
#ifndef __CYGWIN__ _PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t)); _PTR _EXFUN(mempcpy,(_PTR, const _PTR, size_t)); #endifand configure --medium=letter; make; make installbuilds and install a shiny new a2ps for Cygwin. /computers/misc | permanent link |
|||||