Update notes for 2019-03-19

This commit is contained in:
Alan Orth 2019-03-19 11:33:51 +02:00
parent 33cb0325c1
commit fa99c86dd2
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 41 additions and 8 deletions

View File

@ -485,4 +485,19 @@ $ xzgrep 'Can not load requested doc' cocoon.log.2019-03-08.xz | grep -oE '2019-
- I'm not sure if it's cocoon or that's just a symptom of something else
## 2019-03-19
- I found a handful of AGROVOC subjects that use a non-breaking space (0x00a0) instead of a regular space, which makes for a pretty confusing debugging...
- I will replace these in the database immediately to save myself the headache later:
```
dspace=# SELECT count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id = 57 AND text_value ~ '.+\u00a0.+';
count
-------
84
(1 row)
```
- Perhaps my `agrovoc-lookup.py` script could notify if it finds these because they potentially give false negatives
<!-- vim: set sw=2 ts=2: -->

View File

@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-03/" />
<meta property="article:published_time" content="2019-03-01T12:16:30&#43;01:00"/>
<meta property="article:modified_time" content="2019-03-18T15:32:22&#43;02:00"/>
<meta property="article:modified_time" content="2019-03-18T21:55:08&#43;02:00"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="March, 2019"/>
@ -55,9 +55,9 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca
"@type": "BlogPosting",
"headline": "March, 2019",
"url": "https://alanorth.github.io/cgspace-notes/2019-03/",
"wordCount": "2973",
"wordCount": "3049",
"datePublished": "2019-03-01T12:16:30&#43;01:00",
"dateModified": "2019-03-18T15:32:22&#43;02:00",
"dateModified": "2019-03-18T21:55:08&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -686,6 +686,24 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds
<li>I&rsquo;m not sure if it&rsquo;s cocoon or that&rsquo;s just a symptom of something else</li>
</ul>
<h2 id="2019-03-19">2019-03-19</h2>
<ul>
<li>I found a handful of AGROVOC subjects that use a non-breaking space (0x00a0) instead of a regular space, which makes for a pretty confusing debugging&hellip;</li>
<li>I will replace these in the database immediately to save myself the headache later:</li>
</ul>
<pre><code>dspace=# SELECT count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id = 57 AND text_value ~ '.+\u00a0.+';
count
-------
84
(1 row)
</code></pre>
<ul>
<li>Perhaps my <code>agrovoc-lookup.py</code> script could notify if it finds these because they potentially give false negatives</li>
</ul>
<!-- vim: set sw=2 ts=2: -->

View File

@ -4,7 +4,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2019-03/</loc>
<lastmod>2019-03-18T15:32:22+02:00</lastmod>
<lastmod>2019-03-18T21:55:08+02:00</lastmod>
</url>
<url>
@ -214,7 +214,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-03-18T15:32:22+02:00</lastmod>
<lastmod>2019-03-18T21:55:08+02:00</lastmod>
<priority>0</priority>
</url>
@ -231,19 +231,19 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2019-03-18T15:32:22+02:00</lastmod>
<lastmod>2019-03-18T21:55:08+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-03-18T15:32:22+02:00</lastmod>
<lastmod>2019-03-18T21:55:08+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2019-03-18T15:32:22+02:00</lastmod>
<lastmod>2019-03-18T21:55:08+02:00</lastmod>
<priority>0</priority>
</url>