diff --git a/content/posts/2022-12.md b/content/posts/2022-12.md index f2cf386e6..61e98ad5c 100644 --- a/content/posts/2022-12.md +++ b/content/posts/2022-12.md @@ -331,4 +331,18 @@ $ grep -xvFf /tmp/orig.csv /tmp/cgspace-mappings.csv > /tmp/2022-12-25-fix-mappi - And I can access the website just fine, so I guess everything is OK - I exported the Initiatives collection to tag missing regions... +## 2022-12-29 + +- I exported the Initiatives collection again and I'm wondering why we have so many items with `text_lang` set to NULL and others when I have been periodically resetting them + - It turns out that doing `... text_lang IN ('en', '', NULL)` doesn't properly check for values with NULL + - We actually need to do: + +```sql +UPDATE metadatavalue SET text_lang='en_US' WHERE dspace_object_id IN (SELECT uuid FROM item) AND text_lang IS NULL OR text_lang IN ('en', ''); +``` + +- I updated the text lang values on CGSpace and re-exported the community + - I fixed a bunch of invalid licenses in these items + - Then I added mappings for another handful of items + diff --git a/docs/2022-12/index.html b/docs/2022-12/index.html index 550da4f2a..06a15710d 100644 --- a/docs/2022-12/index.html +++ b/docs/2022-12/index.html @@ -20,7 +20,7 @@ Replace “East Asia” with “Eastern Asia” region on CGSpac - + @@ -46,9 +46,9 @@ Replace “East Asia” with “Eastern Asia” region on CGSpac "@type": "BlogPosting", "headline": "December, 2022", "url": "https://alanorth.github.io/cgspace-notes/2022-12/", - "wordCount": "2257", + "wordCount": "2361", "datePublished": "2022-12-01T08:52:36+03:00", - "dateModified": "2022-12-25T16:48:19+02:00", + "dateModified": "2022-12-28T22:55:34+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -501,6 +501,24 @@ Replace “East Asia” with “Eastern Asia” region on CGSpac
  • And I can access the website just fine, so I guess everything is OK
  • I exported the Initiatives collection to tag missing regions…
  • +

    2022-12-29

    + +
    UPDATE metadatavalue SET text_lang='en_US' WHERE dspace_object_id IN (SELECT uuid FROM item) AND text_lang IS NULL OR text_lang IN ('en', '');
    +
    diff --git a/docs/2022/12/cpu-day2.png b/docs/2022/12/cpu-day2.png new file mode 100644 index 000000000..40f40a86c Binary files /dev/null and b/docs/2022/12/cpu-day2.png differ diff --git a/docs/2022/12/postgres_tuples_cgspace-day.png b/docs/2022/12/postgres_tuples_cgspace-day.png new file mode 100644 index 000000000..91f8a16f4 Binary files /dev/null and b/docs/2022/12/postgres_tuples_cgspace-day.png differ diff --git a/docs/categories/index.html b/docs/categories/index.html index 528153a1d..7ba337fd6 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index e36213c1e..cdf59db6c 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 39a6d2087..f3da5723b 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 8ebc48c0a..2fcc92334 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 7688d9078..ac7224552 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index efef75561..3a73dfeb3 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index 76d03afb6..bed65c451 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/7/index.html b/docs/categories/notes/page/7/index.html index 0022689bf..14e5a90bd 100644 --- a/docs/categories/notes/page/7/index.html +++ b/docs/categories/notes/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 35508f0c3..d7562e988 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 35144112c..c163b0db9 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 6e2563e24..bcfed859c 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index eda1127e8..0cbdddaba 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 269e2e86d..fa59f2fca 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index a7c730771..391670007 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 423033352..46deab664 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index c776f9191..8660a9d39 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/9/index.html b/docs/page/9/index.html index b2310876e..11beedb24 100644 --- a/docs/page/9/index.html +++ b/docs/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 30ff50db8..49032bfd1 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 5a249f6ca..d3f696fcb 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 93504105f..a3d5a2708 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 713389692..817c0faaf 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 22d70046d..3e0c23003 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 41ed5e7e1..3d180ed5f 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index a949fde20..43493b035 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index 19eb568cf..5fab9729e 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/9/index.html b/docs/posts/page/9/index.html index 9574aede7..7940fd68d 100644 --- a/docs/posts/page/9/index.html +++ b/docs/posts/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index eb22ff84a..d274ef451 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2022-12-25T16:48:19+02:00 + 2022-12-28T22:55:34+02:00 https://alanorth.github.io/cgspace-notes/ - 2022-12-25T16:48:19+02:00 + 2022-12-28T22:55:34+02:00 https://alanorth.github.io/cgspace-notes/2022-12/ - 2022-12-25T16:48:19+02:00 + 2022-12-28T22:55:34+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2022-12-25T16:48:19+02:00 + 2022-12-28T22:55:34+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2022-12-25T16:48:19+02:00 + 2022-12-28T22:55:34+02:00 https://alanorth.github.io/cgspace-notes/2022-11/ 2022-12-03T10:46:29+03:00 diff --git a/static/2022/12/cpu-day2.png b/static/2022/12/cpu-day2.png new file mode 100644 index 000000000..40f40a86c Binary files /dev/null and b/static/2022/12/cpu-day2.png differ diff --git a/static/2022/12/postgres_tuples_cgspace-day.png b/static/2022/12/postgres_tuples_cgspace-day.png new file mode 100644 index 000000000..91f8a16f4 Binary files /dev/null and b/static/2022/12/postgres_tuples_cgspace-day.png differ