|
|
Thinking inside the box | |||||
|
Bio
Code Linux Quantian About Blog |
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 |
|||||