Update notes

This commit is contained in:
2024-08-07 08:54:13 -07:00
parent 89d1b61442
commit 64b8957945
152 changed files with 206 additions and 191 deletions

View File

@ -19,7 +19,7 @@ I tried to delete all users who have been inactive since six years ago (July 1,
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2024-07/" />
<meta property="article:published_time" content="2024-07-01T09:37:00+03:00" />
<meta property="article:modified_time" content="2024-07-02T11:12:03+03:00" />
<meta property="article:modified_time" content="2024-07-11T13:08:22+03:00" />
@ -34,7 +34,7 @@ A handful of book chapters, working papers, and journal articles using the wrong
I tried to delete all users who have been inactive since six years ago (July 1, 2018):
"/>
<meta name="generator" content="Hugo 0.128.2">
<meta name="generator" content="Hugo 0.131.0">
@ -44,9 +44,9 @@ I tried to delete all users who have been inactive since six years ago (July 1,
"@type": "BlogPosting",
"headline": "July, 2024",
"url": "https://alanorth.github.io/cgspace-notes/2024-07/",
"wordCount": "222",
"wordCount": "278",
"datePublished": "2024-07-01T09:37:00+03:00",
"dateModified": "2024-07-02T11:12:03+03:00",
"dateModified": "2024-07-11T13:08:22+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -156,7 +156,16 @@ I tried to delete all users who have been inactive since six years ago (July 1,
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>dspace= ☘ \COPY (SELECT m.text_value AS handle_from, h.handle AS handle_to FROM metadatavalue m JOIN handle h on m.dspace_object_id = h.resource_id WHERE m.metadata_field_
</span></span><span style="display:flex;"><span>id=181 AND h.resource_type_id=2 AND h.resource_id IN (SELECT uuid FROM item WHERE in_archive AND NOT withdrawn)) to /tmp/handle-redirects.csv CSV HEADER;
</span></span><span style="display:flex;"><span>COPY 396
</span></span></code></pre></div><!-- raw HTML omitted -->
</span></span></code></pre></div><h2 id="2024-07-18">2024-07-18</h2>
<ul>
<li>I experimented with adding a regular expression to validate DOIs to the submission form
<ul>
<li>It is a slightly modified version of the one found here: <a href="https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page">https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page</a></li>
<li>I decided it will probably be confusing to people and will have limited benefit, since we are normalizing most forms of DOIs to our preferred form after submission anyway</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->