Add notes for 2020-04-28

This commit is contained in:
Alan Orth 2020-04-28 18:18:34 +03:00
parent b7ca5a80ad
commit acf1c6a818
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 56 additions and 8 deletions

View File

@ -307,4 +307,22 @@ atmire-cua.version.number=${cua.version.number}
- I sent a message to Atmire to check - I sent a message to Atmire to check
## 2020-04-28
- I did some work on DSpace 6 to modify our XMLUI theme to use Font Awesome icons via SVG + JavaScript instead of using web fonts
- The difference is about 105K less, plus two fewer network requests since we don't need the web fonts anymore
- Before:
- `scripts/theme.js`: 654K
- `styles/main.css`: 220K
- `fa-brands-400.woff2`: 75K
- `fa-solid-900.woff2`: 78K
- Total: 1027K
- After:
- `scripts/theme.js`: 704K
- `styles/main.css`: 218K
- Total: 922K
- I manually editied the CUA version variable and was then able to run the `com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdateCLI` script
- On the first run it took one hour to process 100,000 records on my local test instance...
- On the second run it took one hour to process 140,000 records
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -25,7 +25,7 @@ On the same note, the one item Abenet pointed out last week now has a donut with
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-04/" /> <meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-04/" />
<meta property="article:published_time" content="2020-04-02T10:53:24+03:00" /> <meta property="article:published_time" content="2020-04-02T10:53:24+03:00" />
<meta property="article:modified_time" content="2020-04-27T16:39:04+03:00" /> <meta property="article:modified_time" content="2020-04-27T16:57:32+03:00" />
<meta name="twitter:card" content="summary"/> <meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="April, 2020"/> <meta name="twitter:title" content="April, 2020"/>
@ -55,9 +55,9 @@ On the same note, the one item Abenet pointed out last week now has a donut with
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "April, 2020", "headline": "April, 2020",
"url": "https://alanorth.github.io/cgspace-notes/2020-04/", "url": "https://alanorth.github.io/cgspace-notes/2020-04/",
"wordCount": "2285", "wordCount": "2394",
"datePublished": "2020-04-02T10:53:24+03:00", "datePublished": "2020-04-02T10:53:24+03:00",
"dateModified": "2020-04-27T16:39:04+03:00", "dateModified": "2020-04-27T16:57:32+03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -431,6 +431,36 @@ atmire-cua.version.number=${cua.version.number}
</code></pre><ul> </code></pre><ul>
<li>I sent a message to Atmire to check</li> <li>I sent a message to Atmire to check</li>
</ul> </ul>
<h2 id="2020-04-28">2020-04-28</h2>
<ul>
<li>I did some work on DSpace 6 to modify our XMLUI theme to use Font Awesome icons via SVG + JavaScript instead of using web fonts
<ul>
<li>The difference is about 105K less, plus two fewer network requests since we don&rsquo;t need the web fonts anymore</li>
<li>Before:
<ul>
<li><code>scripts/theme.js</code>: 654K</li>
<li><code>styles/main.css</code>: 220K</li>
<li><code>fa-brands-400.woff2</code>: 75K</li>
<li><code>fa-solid-900.woff2</code>: 78K</li>
<li>Total: 1027K</li>
</ul>
</li>
<li>After:
<ul>
<li><code>scripts/theme.js</code>: 704K</li>
<li><code>styles/main.css</code>: 218K</li>
<li>Total: 922K</li>
</ul>
</li>
</ul>
</li>
<li>I manually editied the CUA version variable and was then able to run the <code>com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdateCLI</code> script
<ul>
<li>On the first run it took one hour to process 100,000 records on my local test instance&hellip;</li>
<li>On the second run it took one hour to process 140,000 records</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted --> <!-- raw HTML omitted -->

View File

@ -4,27 +4,27 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2020-04/</loc> <loc>https://alanorth.github.io/cgspace-notes/2020-04/</loc>
<lastmod>2020-04-27T16:39:04+03:00</lastmod> <lastmod>2020-04-27T16:57:32+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc> <loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
<lastmod>2020-04-27T16:39:04+03:00</lastmod> <lastmod>2020-04-27T16:57:32+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2020-04-27T16:39:04+03:00</lastmod> <lastmod>2020-04-27T16:57:32+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
<lastmod>2020-04-27T16:39:04+03:00</lastmod> <lastmod>2020-04-27T16:57:32+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc> <loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2020-04-27T16:39:04+03:00</lastmod> <lastmod>2020-04-27T16:57:32+03:00</lastmod>
</url> </url>
<url> <url>