From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-drill extremely slow with Org 9.2.5 Date: Sun, 25 Aug 2019 18:37:12 -0400 Message-ID: References: <87lfvhjets.fsf@zamazal.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f2d08a0590f8aea4" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37512) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i218d-0003NH-3h for emacs-orgmode@gnu.org; Sun, 25 Aug 2019 18:37:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i218a-0002AR-TK for emacs-orgmode@gnu.org; Sun, 25 Aug 2019 18:37:31 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i218a-00029a-Eq for emacs-orgmode@gnu.org; Sun, 25 Aug 2019 18:37:28 -0400 Received: by mail-wr1-x436.google.com with SMTP id s18so13513233wrn.1 for ; Sun, 25 Aug 2019 15:37:27 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Oleh Krehel Cc: Milan Zamazal , org mode --000000000000f2d08a0590f8aea4 Content-Type: text/plain; charset="UTF-8" One thing I used to do with org-drill is learn names from photos, e.g. I would put an image of a student with the answer corresponding to their name. This doesn't seem possible with pamparam at the moment because the links to images get broken when the cards are copied into the directory. Do you (Oleh) know how difficult it would be to make that happen? One way to do it might be to fix the paths of any image links to point to the right place. I have a new roster to learn, so if you can point me in the right direction, and it works, I would be happy to submit a pull request on it! John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sun, Aug 25, 2019 at 4:30 PM Oleh Krehel wrote: > Hi Milan, > > > Are there any tricks to speed it up? > > I noticed org-drill being slow three years ago when I tried to learn it. > So I wrote my own package: https://github.com/abo-abo/pamparam/. > It's quite fast: it takes 0.6s to sync my 3300 cards from the master Org > file. > And day-to-day learning operations like building a schedule or > fetching a card are instantaneous. > The master file is relatively small, since it stores no metadata: less > than 10000 lines. > The metadata is stored per-card, each card is in its own file. The > whole thing is backed by Git. > All your learning sessions are stored in commits as well. > > Check it out. It might have less features, but it's really fast and > has served me well. > > regards, > Oleh > > --000000000000f2d08a0590f8aea4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0One thing I used to do with org-drill is learn names= from photos, e.g. I would put an image of a student with the answer corres= ponding to their name. This doesn't seem possible with pamparam at the = moment because the links to images get broken when the cards are copied int= o the directory. Do you (Oleh) know how difficult it would be to make that = happen? One way to do it might be to fix the paths of any image links to po= int to the right place.

I have a new roster to learn, so= if you can point me in the right direction, and it works, I would be happy= to submit a pull request on it!


John

-----------------------= ------------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Depar= tment of Chemical Engineering
Carnegie Mellon University
Pittsburgh, = PA 15213
412-268-7803

<= /div>
--000000000000f2d08a0590f8aea4--