<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tilo/backend, 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>2023-02-04T11:28:53+00:00</updated>
<entry>
<title>Use requirements.txt for backend dependencies</title>
<updated>2023-02-04T11:28:53+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-02-04T11:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=7bd6631e33b38fca6229ec950d3d902f9e15d003'/>
<id>urn:sha1:7bd6631e33b38fca6229ec950d3d902f9e15d003</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjust backend coding style</title>
<updated>2023-01-29T00:30:47+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-29T00:30:47+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=8781fdb2b8c530a6c1531ae9e82221eb062e34fb'/>
<id>urn:sha1:8781fdb2b8c530a6c1531ae9e82221eb062e34fb</id>
<content type='text'>
Add line spacing, section comments, and import consistency
</content>
</entry>
<entry>
<title>Clean up some docs and naming inconsistencies</title>
<updated>2023-01-23T07:01:13+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-23T07:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=94a8ad9b067e5a2c442ce47ce72d1a53eb444160'/>
<id>urn:sha1:94a8ad9b067e5a2c442ce47ce72d1a53eb444160</id>
<content type='text'>
</content>
</entry>
<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>Improve search suggestions</title>
<updated>2022-08-31T02:45:03+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-31T02:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=8f4b899effcca7316a760b16773ebdc781215591'/>
<id>urn:sha1:8f4b899effcca7316a760b16773ebdc781215591</id>
<content type='text'>
Don't show multiple suggestions for the same node
Prioritise common-names
Place suggestions from prefix-search before substring-search
Add coloring to search-string matched-part and canonical-name-part
</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>Display IUCN status in TileInfoModal</title>
<updated>2022-08-30T04:57:21+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-30T04:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=0f39be89c3d5620b8187b1d7621b7680800c268b'/>
<id>urn:sha1:0f39be89c3d5620b8187b1d7621b7680800c268b</id>
<content type='text'>
</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>Use argparse in python scripts</title>
<updated>2022-08-20T03:16:21+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-20T03:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=930c12d33e1093f874a4beb4d6376621e464e8c0'/>
<id>urn:sha1:930c12d33e1093f874a4beb4d6376621e464e8c0</id>
<content type='text'>
</content>
</entry>
</feed>
