From nobody@digitalkingdom.org Sat Jul 05 13:13:23 2008 Received: with ECARTIS (v1.0.0; list lojban-list); Sat, 05 Jul 2008 13:13:23 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from ) id 1KFE8J-00011s-JZ for lojban-list-real@lojban.org; Sat, 05 Jul 2008 13:13:23 -0700 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from ) id 1KFE8J-00011l-Gc for lojban-list@lojban.org; Sat, 05 Jul 2008 13:13:23 -0700 Date: Sat, 5 Jul 2008 13:13:23 -0700 From: Robin Lee Powell To: lojban-list@lojban.org Subject: [lojban] Re: Is massive upload to Jbovlaste possible? Message-ID: <20080705201323.GP17855@digitalkingdom.org> Mail-Followup-To: lojban-list@lojban.org References: <8900cc410807021226gfac15fbl64c7bd68df92b222@mail.gmail.com> <20080704061847.GF17855@digitalkingdom.org> <8900cc410807041117q6de5bd6dka1eae6bee27b9faa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8900cc410807041117q6de5bd6dka1eae6bee27b9faa@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-archive-position: 14589 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: rlpowell@digitalkingdom.org Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list On Fri, Jul 04, 2008 at 10:17:14PM +0400, Dmitry Shintyakov wrote: > 2008/7/4 Robin Lee Powell : > > On Wed, Jul 02, 2008 at 11:26:20PM +0400, Dmitry Shintyakov > > wrote: > > >> translations was really tedious process. I would better like to > >> upload all the data at once. Can anybody help me with it? > > > > Yes, this is possible. In the past, I've been the only one to > > write the code; I'd love if someone else did it this time. I > > can supply the code that was used to upload the English gismu > > list as an example; it's in Perl. > > It would be very kind of you, to send me that script. http://teddyb.org/~rlpowell/media/regular/jvs_import/ There's all the snarf (import) scripts, a gismu list that was imported with them, and the current schema. > Interface of jbovlaste seems to be changed a lot since last time I > saw it, and the script, probably, needs to be upgraded, am I > right? I doubt it, actually; the word definitions haven't changed much. > Actually, I had a hope that keeper of jbovlaste can manually merge > data, The keeper is only me, and I'm very, very busy lately; I don't have much time for Lojbanic things. I'd love for other people to work on jbovlaste, but no-one does. > prepared by me with jbovlaste database, but upload script is also > fine thing too. Merging two databases is hard; referential integrity gets very tricky. All you should really have to do, though, is give me lists in the same format as the official gismu and cmavo lists. > I am also afraid that debugging this script can produce several > spurious entries in database. This is one of reasons why I tried > to avoid making such script by myself. Sure, but that's an easy thing to deal with for me: shut everything off, take a backup of the database, work until the script is correct, restore the backup, run the script, turn things back on. -Robin -- Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo Proud Supporter of the Singularity Institute - http://singinst.org/ http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ To unsubscribe from this list, send mail to lojban-list-request@lojban.org with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if you're really stuck, send mail to secretary@lojban.org for help.