Update notes for 2019-03-26

This commit is contained in:
Alan Orth 2019-03-26 18:25:05 +02:00
parent 3a69beea2b
commit 63ed2d91bb
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 21 additions and 8 deletions

View File

@ -864,5 +864,12 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds
```
- Looking closer I see they are all idle... so at least I know the load isn't coming from some background nightly task or something
- Make a minor edit to my `agrovoc-lookup.py` script to match subject terms with parentheses like `COCOA (PLANT)`
- Test 89 corrections and 79 deletions for AGROVOC subject terms from the ones I cleaned up in the last week
```
$ ./fix-metadata-values.py -i /tmp/2019-03-26-AGROVOC-89-corrections.csv -db dspace -u dspace -p 'fuuu' -f dc.subject -m 57 -t correct -d -n
$ ./delete-metadata-values.py -i /tmp/2019-03-26-AGROVOC-79-deletions.csv -db dspace -u dspace -p 'fuuu' -m 57 -f dc.subject -d -n
```
<!-- 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-26T08:55:54&#43;02:00"/>
<meta property="article:modified_time" content="2019-03-26T09:09:19&#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": "5435",
"wordCount": "5506",
"datePublished": "2019-03-01T12:16:30&#43;01:00",
"dateModified": "2019-03-26T08:55:54&#43;02:00",
"dateModified": "2019-03-26T09:09:19&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -1144,8 +1144,14 @@ $ grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2019-03-22 | sort -u | wc -l
<ul>
<li>Looking closer I see they are all idle&hellip; so at least I know the load isn&rsquo;t coming from some background nightly task or something</li>
<li>Make a minor edit to my <code>agrovoc-lookup.py</code> script to match subject terms with parentheses like <code>COCOA (PLANT)</code></li>
<li>Test 89 corrections and 79 deletions for AGROVOC subject terms from the ones I cleaned up in the last week</li>
</ul>
<pre><code>$ ./fix-metadata-values.py -i /tmp/2019-03-26-AGROVOC-89-corrections.csv -db dspace -u dspace -p 'fuuu' -f dc.subject -m 57 -t correct -d -n
$ ./delete-metadata-values.py -i /tmp/2019-03-26-AGROVOC-79-deletions.csv -db dspace -u dspace -p 'fuuu' -m 57 -f dc.subject -d -n
</code></pre>
<!-- 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-26T08:55:54+02:00</lastmod>
<lastmod>2019-03-26T09:09:19+02:00</lastmod>
</url>
<url>
@ -214,7 +214,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-03-26T08:55:54+02:00</lastmod>
<lastmod>2019-03-26T09:09:19+02:00</lastmod>
<priority>0</priority>
</url>
@ -225,7 +225,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2019-03-26T08:55:54+02:00</lastmod>
<lastmod>2019-03-26T09:09:19+02:00</lastmod>
<priority>0</priority>
</url>
@ -237,13 +237,13 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-03-26T08:55:54+02:00</lastmod>
<lastmod>2019-03-26T09:09:19+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2019-03-26T08:55:54+02:00</lastmod>
<lastmod>2019-03-26T09:09:19+02:00</lastmod>
<priority>0</priority>
</url>