<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tilo/.gitignore, branch main</title>
<subtitle>Tilo: Interactive Tree of Life</subtitle>
<id>https://terryt.dev/cgit/tilo/atom?h=main</id>
<link rel='self' href='https://terryt.dev/cgit/tilo/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/'/>
<updated>2022-09-11T05:04:14+00:00</updated>
<entry>
<title>Add backend unit tests</title>
<updated>2022-09-11T05:04:14+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-11T04:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5de5fb93e50fe9006221b30ac4a66f1be0db82e7'/>
<id>urn:sha1:5de5fb93e50fe9006221b30ac4a66f1be0db82e7</id>
<content type='text'>
- Add unit testing code in backend/tests/
- Change to snake-case for script/file/directory names
- Use os.path.join() instead of '/'
- Refactor script code into function defs and a main-guard
- Make global vars all-caps

Some fixes:
- For getting descriptions, some wiki redirects weren't properly resolved
- Linked images were sub-optimally propagated
- Generation of reduced trees assumed a wiki-id association implied a description
- Tilo.py had potential null dereferences by not always using a reduced node set
- EOL image downloading didn't properly wait for all threads to end when finishing
</content>
</entry>
<entry>
<title>Add python type annotations</title>
<updated>2022-09-07T01:37:37+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-07T01:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=daccbbd9c73a5292ea9d6746560d7009e5aa666d'/>
<id>urn:sha1:daccbbd9c73a5292ea9d6746560d7009e5aa666d</id>
<content type='text'>
Also use consistent quote symbols
Also use 'is None' instead of '== None'
Also use 'if list1' instead of 'if len(list1) &gt; 0'
</content>
</entry>
<entry>
<title>Add node-popularity data for search-sugg ordering</title>
<updated>2022-08-30T07:54:10+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-30T07:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=0cd58b3c1a8c5297579ea7a24a14d82ae8fed169'/>
<id>urn:sha1:0cd58b3c1a8c5297579ea7a24a14d82ae8fed169</id>
<content type='text'>
Add Wikipedia pageview dumps to enwiki/pageview/
Add scripts to generate viewcount averages
Update backend to sort search suggestions by popularity
</content>
</entry>
<entry>
<title>Add scripts for generating eol/enwiki mappings</title>
<updated>2022-08-30T02:27:42+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-30T02:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=e8e58a3bb9dc233dacf573973457c5b48d369503'/>
<id>urn:sha1:e8e58a3bb9dc233dacf573973457c5b48d369503</id>
<content type='text'>
- New data sources: OTOL taxonomy, EOL provider-ids, Wikidata dump
- Add 'node_iucn' table
- Remove 'redirected' field from 'wiki_ids' table
- Make 'eol_ids' table have 'name' as the primary key
- Combine name-generation scripts into genNameData.py
- Combine description-generation scripts into genDescData.py
</content>
</entry>
<entry>
<title>Add deployment documentation</title>
<updated>2022-07-11T09:47:27+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-11T09:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=b06b3a9cb3ae772202f522ae085446a040736c95'/>
<id>urn:sha1:b06b3a9cb3ae772202f522ae085446a040736c95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make backend dev server script serve the image files</title>
<updated>2022-07-10T15:54:08+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-10T15:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d'/>
<id>urn:sha1:5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d</id>
<content type='text'>
Previously, image files in backend/data/img were moved to, or
symlinked from, public/. This needed to be changed before each
build, otherwise vite would end up copying gigabytes of images.
</content>
</entry>
<entry>
<title>Replace CGI script with WSGI script and dev server</title>
<updated>2022-07-08T18:36:52+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-08T17:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5569c8191ae02f109254282b5943e3ed40032018'/>
<id>urn:sha1:5569c8191ae02f109254282b5943e3ed40032018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Generate 3 reduced trees, keeping the original, and serve only those</title>
<updated>2022-07-01T09:28:12+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-01T09:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=551fbe163b90cc1f318612c167fbdfe738dd7132'/>
<id>urn:sha1:551fbe163b90cc1f318612c167fbdfe738dd7132</id>
<content type='text'>
Generate a 'trimmed' reduced tree instead of changing the original.
Generate an 'images-only' reduced tree, and use it as the default.
Combine 'picked' reduced tree code with that of other reduced trees.
Adapt server API to allow selecting between more than 2 trees.
Add client setting for selecting between 3 trees.
</content>
</entry>
<entry>
<title>Update some client-side READMEs</title>
<updated>2022-06-23T05:13:36+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-06-23T05:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=d54e1a4607debb457d30068cc4d20fe92cedac6c'/>
<id>urn:sha1:d54e1a4607debb457d30068cc4d20fe92cedac6c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update backend READMEs, rename some files for consistency</title>
<updated>2022-06-21T23:39:44+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-06-21T15:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=e78c4df403e5f98afa08f7a0841ff233d5f6d05b'/>
<id>urn:sha1:e78c4df403e5f98afa08f7a0841ff233d5f6d05b</id>
<content type='text'>
</content>
</entry>
</feed>
