digitalmars.D - Bounty Offered for .h -> D conversion (with working example)
- Scott Sanders <Scott_member pathlink.com> Feb 08 2006
- braddr puremagic.com Feb 08 2006
- Scott Sanders <Scott_member pathlink.com> Feb 08 2006
- clayasaurus <clayasaurus gmail.com> Feb 08 2006
- Scott Sanders <Scott_member pathlink.com> Feb 09 2006
- braddr puremagic.com Feb 09 2006
- James Dunne <james.jdunne gmail.com> Feb 09 2006
- Scott Sanders <Scott_member pathlink.com> Feb 09 2006
I hope no one thinks this inappropriate. I have been gone from D work for over 16 months, and trying to get back in the swing of things. I have a simple python app that uses BerkeleyDB (4.2), and I would like to port it to the D Language. Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Feb 08 2006
In article <dsegh2$1du$1 digitaldaemon.com>, Scott Sanders says...I hope no one thinks this inappropriate. I have been gone from D work for over 16 months, and trying to get back in the swing of things. I have a simple python app that uses BerkeleyDB (4.2), and I would like to port it to the D Language. Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Here's a partial conversion of 4.2 that I did for my purposes. It's far from complete but it might be enough to get you going: http://cvs.puremagic.com/git/?p=genesis-d.git;a=blob;h=7541e1d92010e8c7d25b75d1322ff08a6fae8d8e;hb=51d489e67ee68d121335f3dccf33501deed62f28;f=src/basiclibs/sleepycat_4_2.d Later, Brad
Feb 08 2006
Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Here's a partial conversion of 4.2 that I did for my purposes. It's far from complete but it might be enough to get you going: http://cvs.puremagic.com/git/?p=genesis-d.git;a=blob;h=7541e1d92010e8c7d25b75d1322ff08a6fae8d8e;hb=51d489e67ee68d121335f3dccf33501deed62f28;f=src/basiclibs/sleepycat_4_2.d
Brad, this is a great start! I am working on a sample program now. The only thing I see off the cuff that I also need is DB_ENV, but I may be able to translate between the .h and your conversion. I think that is good for half the money (email me privately to tell me where to send it to), anyone else want to take down the other half (port DB_ENV, and create a sample program)? Scott
Feb 08 2006
I've made a quick attempt and it compiles. Does it work? ~ Clay db.d http://svn.dsource.org/projects/warbots/downloads/db.d Scott Sanders wrote:I hope no one thinks this inappropriate. I have been gone from D work for over 16 months, and trying to get back in the swing of things. I have a simple python app that uses BerkeleyDB (4.2), and I would like to port it to the D Language. Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Feb 08 2006
Clay, I looks good, but where is requirement #3? :) I am slowly working on building a sample test program for brad's header. Clay, is yours in use right now, or did you just convert it for me? Scott In article <dsepmo$hvs$1 digitaldaemon.com>, clayasaurus says...I've made a quick attempt and it compiles. Does it work? ~ Clay db.d http://svn.dsource.org/projects/warbots/downloads/db.d Scott Sanders wrote:I hope no one thinks this inappropriate. I have been gone from D work for over 16 months, and trying to get back in the swing of things. I have a simple python app that uses BerkeleyDB (4.2), and I would like to port it to the D Language. Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Feb 09 2006
Some updates, I finished fleshing out the wrapper last night, and sent a pointer to a block of code that tests a few tiny parts of the library that I've been using for myself directly to Scott. For the rest of the world, the urls: all but complete wrapper: http://cvs.puremagic.com/git/?p=genesis-d.git;a=blob;h=c04e2bc382b9b177d2673eca34e82ab899635be2;hb=master;f=src/basiclibs/sleepycat_4_2.d sample test code: http://cvs.puremagic.com/git/?p=genesis-d.git;a=blob;h=41030f6f33062eedcaa5509fc7307e322a569f66;hb=master;f=src/binarydb/lookup.d Later, Brad In article <dsgesp$2her$1 digitaldaemon.com>, Scott Sanders says...Clay, I looks good, but where is requirement #3? :) I am slowly working on building a sample test program for brad's header. Clay, is yours in use right now, or did you just convert it for me? Scott In article <dsepmo$hvs$1 digitaldaemon.com>, clayasaurus says...I've made a quick attempt and it compiles. Does it work? ~ Clay db.d http://svn.dsource.org/projects/warbots/downloads/db.d Scott Sanders wrote:I hope no one thinks this inappropriate. I have been gone from D work for over 16 months, and trying to get back in the swing of things. I have a simple python app that uses BerkeleyDB (4.2), and I would like to port it to the D Language. Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Feb 09 2006
braddr puremagic.com wrote:Some updates, I finished fleshing out the wrapper last night, and sent a pointer to a block of code that tests a few tiny parts of the library that I've been using for myself directly to Scott. For the rest of the world, the urls: all but complete wrapper: http://cvs.puremagic.com/git/?p=genesis-d.git;a=blob;h=c04e2bc382b9b177d2673eca34e82ab899635be2;hb=master;f=src/basiclibs/sleepycat_4_2.d sample test code: http://cvs.puremagic.com/git/?p=genesis-d.git;a=blob;h=41030f6f33062eedcaa5509fc7307e322a569f66;hb=master;f=src/binarydb/lookup.d Later, Brad In article <dsgesp$2her$1 digitaldaemon.com>, Scott Sanders says...Clay, I looks good, but where is requirement #3? :) I am slowly working on building a sample test program for brad's header. Clay, is yours in use right now, or did you just convert it for me? Scott In article <dsepmo$hvs$1 digitaldaemon.com>, clayasaurus says...I've made a quick attempt and it compiles. Does it work? ~ Clay db.d http://svn.dsource.org/projects/warbots/downloads/db.d Scott Sanders wrote:I hope no one thinks this inappropriate. I have been gone from D work for over 16 months, and trying to get back in the swing of things. I have a simple python app that uses BerkeleyDB (4.2), and I would like to port it to the D Language. Since my C skills are "less than useful", I am offering a bounty of $100USD (payable via Paypal) to the first successful conversion of db.h (the header file for BerkeleyDB), with a working example in D. Caveats: 1) The .h file to be converted is here: http://dotnot.org/db.h 2) You do not need to convert from line 1894 on (historical API is useless to me). Up to line 1893, I need as full a conversion as possible. 3) You must include a sample program that creates a DBEnv, opens a db, put()s, get()s, and runs a cursor(). 4) It must run on Linux. It does not need to use GDC, dmd is fine, although either is acceptable. 5) The license of all code must be suitable for use with BerkeleyDB. 6) The work does not have to be original (I couldn't find one out there yet), but your bounty will be split 50/50 with the author. 7) I can only pay one winner, so be the first to satisfy the prior 6 requirements. Submissions should be sent to scott at stonecobra dot com with the subject "db.h conversion".
Amazing what people will do for money, isn't it? Incentives....
Feb 09 2006
Amazing what people will do for money, isn't it? Incentives....
Everyone (or nearly) does have a job, so yeah, it is. Brad already had the conversion nearly finished for another project, so he definetly didn't do it for the money. Scott
Feb 09 2006









Scott Sanders <Scott_member pathlink.com> 