Received: from mail-pl0-f60.google.com ([209.85.160.60]:55420) by stodi.digitalkingdom.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1frdPY-0001ZP-GX for lojban-list-archive@lojban.org; Sun, 19 Aug 2018 23:11:33 -0700 Received: by mail-pl0-f60.google.com with SMTP id d10-v6sf9319093pll.22 for ; Sun, 19 Aug 2018 23:11:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1534745486; cv=pass; d=google.com; s=arc-20160816; b=bfBkTUYTOjBE3Er5oiqDRo6pRcBGc25UYMRa/Ixr6pyG6vsiGKC212Ds4YhQ/QqckQ 4FaPgYffa2gG5O59pqpnkPn5Jxek1Ni0suY/V+IUQE5w9G3rTb3GD/yG7ZXkmCb21U3A fxw9sHP1KIPg9yKQOpn6EecWtSGxV6Icg+bL49aVcKgxVip9yCWfYI0VFkIDWcon3vrt wy2UwSKU5t3RSpq9OE6n3ye0fWsp4Cz32yDJyo96Ftqu33b8vqtxtfNo5iV+DDKzygeu 2MwIS1543gWsIjmpwOTrQraOdFujgaE4JyMFPhFkQ72PchRQg5qr2MH7Hd47DGv4iBvE DPbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=OK7LRuoAH70lfJyt4Pin58r83gMFnmBZwe8Ru5NszZY=; b=Z5SytFS/P9MvURDSlUo7y3YXRTShIXaN1zD4Q3ovhwdQJQUd4Xt2NJEbxO6niIfjLG yoaf2BdrzY1AJPoT/l522SoicZroGBTg7Jpe6Txk0ZigpPXPtsOMqzsJAD8oXVzFOPge RJDp+v9X0ARke2p6UIh159Ce+nanEQnGLS44ZTlmZHB3iG8dL5kqegorRcqeqzJi4Oh6 YjbfBOpA3OQJDqkMW812ggwLdTwyaILPgVwL1ovtsbS50/y5B0KMpbalmL0wtlCa2UKn wj9+BlMCOQTeUiSsI2BagCpC9dBy1KGCfw7LDVTFEQ/nNDq5wMh1gIijykQEIRZbxhk1 bo1w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WxUwlZpU; spf=pass (google.com: domain of gleki.is.my.name@gmail.com designates 2607:f8b0:4003:c06::22f as permitted sender) smtp.mailfrom=gleki.is.my.name@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=OK7LRuoAH70lfJyt4Pin58r83gMFnmBZwe8Ru5NszZY=; b=fHUZCWK0lrIJx7zEk+7UH6+EiP9NFeABXzOmQ/qov4o+fAcwSkp8ZjbzyALnY/7nnK fUlqJx0b9/Hv9nRg99UTBXJOVI9tso4FMLJ+P+5OQExPiKz77+2HJpLDuycLYUC+QzKm AEnuoZWhw5n/YU+qhipWSqNUvguPvMbVSTReFE5tqyymjZ/2rXBJ+L+wooh7uea6iYR0 /HcvNxVzxRJ1VnC5t2Haw68tJnnTDFg2ExTP6ICfZx+54PTLhjnbfA97Y+CtkN3/hioA b+8B5d2du66Apo4JzKdGtLnqf+xWlMvbhJCLXwCOBnKmDaSCPUoPb3tLQjdjwGhPLLPe o/WA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=OK7LRuoAH70lfJyt4Pin58r83gMFnmBZwe8Ru5NszZY=; b=c1NKMfjKHJEJdsOoH/U74wdDZ6oNyjgAyW0TIN1vl1w9xHKbcqW8g39CcRPflOAWiF /M/R9sTMSrgqFv3gOpK2RmIdxZNesj5QgQ3ZXB3Uv92vA691PU9fifESOjw9pUsXAwpk hYN2w0nN+g7H5J5Rjgjjo+A/IVyvstcSFpEeBvqA8YKZFHEi7HB0/ciO9lQk0qpuWv9A UCZzoustC1Sw4aSnYE3N94YvQEPUVI6njb+dxV4HF5lpFCkBRIjKE43lrvkujJnrTm3X 5bgunkFxnjXzK3D1z9cChbUbzv/CHeHUZeJsbUYVOVP7F8ZKzqOs4DyF/TmnL5h4J0uT HyRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=OK7LRuoAH70lfJyt4Pin58r83gMFnmBZwe8Ru5NszZY=; b=NcGcqDQ9OgGt6gLkFb/6GNaQ9IcOPjNV71v8+aZkSXWh5oDxFeZunP/VHDGv9Bmjbu ixUQqKbIHxAF4736/KcrXoiSqMjpOQfLjZqR7SUTu+vHlY2HRRReIJJmlF771UwQezJE YY42gIlLg60aftJz8gQkNka0A9QGSJyJ9aQ1VmwoAVw37/kFLW/Li/NdZz82D12tNz1h Z3uXy8bt2lEoQBCAgchYn1U/ji6KWRn+dC+8NK2AO9qjgKoqJ0sf/CbH2CXxS9WUhMXF bK9U9g5hC9ZfelBL93scHV2G7dSmTJk+sviWN0ilfDD1wSEX4aHVXgTPm/d+DMb5UAYw u8vg== Sender: lojban@googlegroups.com X-Gm-Message-State: AOUpUlGdKMZoiPyAIFwGoM5c9OAjRaF6XlJE0GaUozGOz04d2OVKo7TR wfCAaqzhYKfKdEcppodsIWI= X-Google-Smtp-Source: AA+uWPyk4WWfLnIuhpKwruyICZ/YVEZFnT/MpoPd+yviMIdyVNJNMQUealX9zrvuRzOUZFV8AM6CTQ== X-Received: by 2002:a17:902:b697:: with SMTP id c23-v6mr25181pls.6.1534745486422; Sun, 19 Aug 2018 23:11:26 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 2002:a17:902:a5c8:: with SMTP id t8-v6ls4037025plq.11.gmail; Sun, 19 Aug 2018 23:11:25 -0700 (PDT) X-Received: by 2002:a17:902:54c:: with SMTP id 70-v6mr10699303plf.54.1534745485858; Sun, 19 Aug 2018 23:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534745485; cv=none; d=google.com; s=arc-20160816; b=tlra97CsH8MRbUUWVIsmkZonhOE+7xQDTfaf4VI77R8IXBZoWQhdm7BWOi3uHg4Yus HGLY4IDQawFOuGPG0ZtsIVHEXZdNFkeKSYL5i/6E20gzKX1KJJlbK1EtEcIZKfmQo6bT P+82rJX1k9j2+rwqJljU+hJ9BE6lIPvjgh3fL7oGJ1oAIcU2HE7CffrQydw48A82SLou q4TdvP3i9E7H5rlEmsMJOe8+cJZGrVwOxH0RtXIhDAhMQVveMretJ3Maqm27E1GARn6Q tmMceyXbrBYk1HPXYJZXifBSzGep1QBTxcQecKqpPi73P1/tTSXM+q4ae959aoscW/Hf 6+KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=jdKrFJmg9e4M1DDJwlKGPJ6GCNY0O77JEzfO1re4Q3s=; b=AmQlQvCQChz1zf8fR+dPNLdclZVnFGPy1B4YTt2Q+HyYtMRcU6kkiVUuIkcF9jGPL/ EiuigwHD4G6YosFqLQG+HAAjaUo0MwVVo2Zt6K+ttUyQVxfsujBHqKct8iQ3V2rCE9j2 w+CWZq5scERn91qgRMd3a0O5lhgky5uOt4qolmz6c6j/SL4h8I5IKTENijRxb3MdIdbk I6Twr9gLvpF4OSdau21AlYPTJW09PH26MttP9qt1I9CuyL0ts4M4DzApTNycwsDFuA2N AVQA6RvlLEmmztuSHD2AGemVZffVZWvyYDtcC+qxmdiwyme+CGdXq/Y77UEW6mDDtE6Z LksA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WxUwlZpU; spf=pass (google.com: domain of gleki.is.my.name@gmail.com designates 2607:f8b0:4003:c06::22f as permitted sender) smtp.mailfrom=gleki.is.my.name@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com. [2607:f8b0:4003:c06::22f]) by gmr-mx.google.com with ESMTPS id w11-v6si366293plz.2.2018.08.19.23.11.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 23:11:25 -0700 (PDT) Received-SPF: pass (google.com: domain of gleki.is.my.name@gmail.com designates 2607:f8b0:4003:c06::22f as permitted sender) client-ip=2607:f8b0:4003:c06::22f; Received: by mail-oi0-x22f.google.com with SMTP id w126-v6so23856596oie.7 for ; Sun, 19 Aug 2018 23:11:25 -0700 (PDT) X-Received: by 2002:aca:578b:: with SMTP id l133-v6mr13521773oib.329.1534745485486; Sun, 19 Aug 2018 23:11:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:72d:0:0:0:0:0 with HTTP; Sun, 19 Aug 2018 23:10:45 -0700 (PDT) In-Reply-To: <20180820052450.GN15098@stodi.digitalkingdom.org> References: <20180820052450.GN15098@stodi.digitalkingdom.org> From: Gleki Arxokuna Date: Mon, 20 Aug 2018 09:10:45 +0300 Message-ID: Subject: [lojban] Re: jbovlaste got a bug To: Gleki Arxokuna , lojban@googlegroups.com Content-Type: multipart/alternative; boundary="0000000000007baf970573d7c78f" X-Original-Sender: gleki.is.my.name@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WxUwlZpU; spf=pass (google.com: domain of gleki.is.my.name@gmail.com designates 2607:f8b0:4003:c06::22f as permitted sender) smtp.mailfrom=gleki.is.my.name@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: lojban@googlegroups.com X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -2.5 (--) X-Spam_score: -2.5 X-Spam_score_int: -24 X-Spam_bar: -- --0000000000007baf970573d7c78f Content-Type: text/plain; charset="UTF-8" 2018-08-20 8:24 GMT+03:00 Robin Lee Powell : > On Sat, Aug 18, 2018 at 10:35:35PM +0300, Gleki Arxokuna wrote: > > http://jbovlaste.lojban.org/dict/coi > > > > > > no idea why is that happening. probably we need to roll back > > latest commits? > > So it turns out the database needs to be cleaned more often; I've > fixed that. > > This revealed some further corruption; there should never be two > valsi with the same name in the DB, but there were. > I'm not completely familiar with jbovlaste's code but: 1. one valsi can have many definitions in many languages. 2. one valsi can have more than one definition in the same language! Is this okay? This has always been like that. People been adding several definitions for one valsi for years, that's a useful feature. > > There were two "ue'i"; one of them is now http://jbovlaste.lojban.org/ > dict/xue'i > > I would like y'all to move whatever useful data is there to the real > ue'i and then I'll delete xue'i; let me know when I can do that. > > There were two "jboselbau"; one of them had no definitions and I've > deleted it. > > jbovlaste=# select valsiid, word, typeid from valsi where word='ue''i'; > valsiid | word | typeid > ---------+------+-------- > 28921 | ue'i | 8 > 32520 | ue'i | 8 > (2 rows) > > jbovlaste=# update valsi set word='xue''i' where valsiid=32520; > UPDATE 1 > jbovlaste=# select valsiid, word, typeid from valsi where word='jboselbau'; > valsiid | word | typeid > ---------+-----------+-------- > 32454 | jboselbau | 4 > 32513 | jboselbau | 4 > (2 rows) > > jbovlaste=# update valsi set word='jboselxau' where valsiid=32513; > UPDATE 1 > > jbovlaste=# select * from definitions where valsiid=32520; > langid | valsiid | definitionnum | definitionid | definition | notes > | userid | time | selmaho | jargon > --------+---------+---------------+--------------+---------- > ---+--------------+--------+------------+---------+-------- > 1 | 32520 | 71019 | 71019 | sei ue'inmo | .i > {ue'inmo} | 523 | 1533291649 | UI1 | > (1 row) > > jbovlaste=# select * from definitions where valsiid=32513; > langid | valsiid | definitionnum | definitionid | definition | notes | > userid | time | selmaho | jargon > --------+---------+---------------+--------------+---------- > --+-------+--------+------+---------+-------- > (0 rows) > > jbovlaste=# delete from valsi where valsiid=32513; > DELETE 1 > -- You received this message because you are subscribed to the Google Groups "lojban" group. To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com. To post to this group, send email to lojban@googlegroups.com. Visit this group at https://groups.google.com/group/lojban. For more options, visit https://groups.google.com/d/optout. --0000000000007baf970573d7c78f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2018-08-20 8:24 GMT+03:00 Robin Lee Powell <rlpowell@digital= kingdom.org>:
On Sat, Aug 18, 2018 at 10:35:35PM +0300, Gleki = Arxokuna wrote:
> http://jbovlaste.lojban.org/dict/coi
>
>
> no idea why is that happening. probably we need to roll back
> latest commits?

So it turns out the database needs to be cleaned more often; I&= #39;ve
fixed that.

This revealed some further corruption; there should never be two
valsi with the same name in the DB, but there were.
I'm not completely familiar with jbovlaste's code but:=
1. one valsi can have many definitions in many languages.
<= div>2. one valsi can have more than one definition in the same language!

Is this okay? This has always been like that. People= been adding several definitions for one valsi for years, that's a usef= ul feature.
=C2=A0

There were two "ue'i"; one of them is now ht= tp://jbovlaste.lojban.org/dict/xue'i

I would like y'all to move whatever useful data is there to the real ue'i and then I'll delete xue'i; let me know when I can do that= .

There were two "jboselbau"; one of them had no definitions and I&= #39;ve
deleted it.

jbovlaste=3D# select valsiid, word, typeid from valsi where word=3D'ue&= #39;'i';
=C2=A0valsiid | word | typeid
---------+------+--------
=C2=A0 =C2=A028921 | ue'i |=C2=A0 =C2=A0 =C2=A0 8
=C2=A0 =C2=A032520 | ue'i |=C2=A0 =C2=A0 =C2=A0 8
(2 rows)

jbovlaste=3D# update valsi set word=3D'xue''i' where valsii= d=3D32520;
UPDATE 1
jbovlaste=3D# select valsiid, word, typeid from valsi where word=3D'jbo= selbau';
=C2=A0valsiid |=C2=A0 =C2=A0word=C2=A0 =C2=A0 | typeid
---------+-----------+--------
=C2=A0 =C2=A032454 | jboselbau |=C2=A0 =C2=A0 =C2=A0 4
=C2=A0 =C2=A032513 | jboselbau |=C2=A0 =C2=A0 =C2=A0 4
(2 rows)

jbovlaste=3D# update valsi set word=3D'jboselxau' where valsiid=3D3= 2513;
UPDATE 1

jbovlaste=3D# select * from definitions where valsiid=3D32520;
=C2=A0langid | valsiid | definitionnum | definitionid | definition=C2=A0 |= =C2=A0 =C2=A0 notes=C2=A0 =C2=A0 =C2=A0| userid |=C2=A0 =C2=A0 time=C2=A0 = =C2=A0 | selmaho | jargon
--------+---------+---------------+--------------+-------------+-= -------------+--------+------------+---------+--------
=C2=A0 =C2=A0 =C2=A0 1 |=C2=A0 =C2=A032520 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A071019 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 71019 | sei ue'inmo | .i {ue'= inmo} |=C2=A0 =C2=A0 523 | 1533291649 | UI1=C2=A0 =C2=A0 =C2=A0|
(1 row)

jbovlaste=3D# select * from definitions where valsiid=3D32513;
=C2=A0langid | valsiid | definitionnum | definitionid | definition | notes = | userid | time | selmaho | jargon
--------+---------+---------------+--------------+------------+--= -----+--------+------+---------+--------
(0 rows)

jbovlaste=3D# delete from valsi where valsiid=3D32513;
DELETE 1

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsub= scribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http= s://groups.google.com/group/lojban.
For more options, visit http= s://groups.google.com/d/optout.
--0000000000007baf970573d7c78f--