{"id":30,"date":"2024-06-18T13:39:44","date_gmt":"2024-06-18T13:39:44","guid":{"rendered":"https:\/\/blogs.scummvm.org\/chico\/?p=30"},"modified":"2024-06-18T13:40:09","modified_gmt":"2024-06-18T13:40:09","slug":"week3-rewrite-and-design","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/chico\/2024\/06\/18\/week3-rewrite-and-design\/","title":{"rendered":"Week3 &#8211; Rewrite and Design"},"content":{"rendered":"<p>The amount of information and work this week has increased compared to the previous two weeks.<\/p>\n<p>At the end of last week, I completed rewriting the original web code in Python. What remains are the new features that still need to be implemented. I asked Sev about the upcoming tasks and understood the entire workflow.<\/p>\n<p>I have summarized the four workflows as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-31\" src=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image-1-300x130.png\" alt=\"\" width=\"468\" height=\"203\" srcset=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image-1-300x130.png 300w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image-1.png 607w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/p>\n<p>I also successfully deployed the test webpage, which was previously only deployed locally, to the server. Additionally, the data population used data generated from the actual scummvm.dat instead of data I fabricated myself.<\/p>\n<p>I fixed dat_parser, and now it can properly parse strings and insert data into the server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-32\" src=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image3-252x300.png\" alt=\"\" width=\"388\" height=\"462\" srcset=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image3-252x300.png 252w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image3.png 720w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-34\" src=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-300x142.png\" alt=\"\" width=\"412\" height=\"195\" srcset=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-300x142.png 300w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-1024x485.png 1024w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-768x364.png 768w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-1536x728.png 1536w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-1200x568.png 1200w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1-1980x938.png 1980w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image1-1.png 1997w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-33\" src=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image2-300x158.png\" alt=\"\" width=\"522\" height=\"275\" srcset=\"https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image2-300x158.png 300w, https:\/\/blogs.scummvm.org\/chico\/wp-content\/uploads\/sites\/74\/2024\/06\/image2.png 735w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/p>\n<p>It seems like a lot of features have indeed been implemented, but there are still some bugs that haven\u2019t been fixed yet (duplicate file detection, database operations being too slow, etc.).<\/p>\n<p>Besides, here is Sev&#8217;s suggestion for implementations<\/p>\n<p>&#8221; Since we do have entries that have equal set of files with the only difference is the language and\/or platform, then add those to the megakey, so, in case there is a change in those fields, it will be treated as a newly created fileset and in order to manage it, implement a way for manual merge of filesets, which will lead to metada of an old version be overridden by the metadata from the incoming one, pertaining history&#8221;<\/p>\n<p>I will focus on these issues next week.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The amount of information and work this week has increased compared to the previous two weeks. At the end of last week, I completed rewriting the original web code in Python. What remains are the new features that still need to be implemented. I asked Sev about the upcoming tasks and understood the entire workflow. [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-website"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/posts\/30\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/chico\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}