We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] Ongoing status updates with new UI for Gear Isolation
#62
First alpha is out last Sunday (Perth time). Yes it is an early release, just to showcase the new UI really.

Spent my spare time over the past 2 days doing playing cleaning up. Specifically trying to fix translations:
  1. Look for orphaned translations texts (defined in JSON file but no longer used in code)
  2. Look for translations that exist in one language, but not another
  3. Fix transcription typos in code
This is pretty difficult to do manually. so I written up a quick python script to automatic this check.

Took about 3 hours to write the script. So far so good, fixed some typos, found 131 orphaned translations, and 281 keys that either exist in one language, but not the other.

It will take a couple of days to clean all this up.

Good thing is this python script will now be incorporated into the pre commit stage and form part of pre-commit testing, so problems like this will be automatically detected and the developer will be forced to fix it.

What amazes me most is time taken to complete this check.
PHP Code:
real    0m0.085s
user    0m0.074s
sys    0m0.004s 

I did not attempt to optimise this code, but did not expect this to run in such a short time (This is done on the Ryzen, Pi is about 2x slower).

To be honest I'm somewhat amazed at how fast computers are these days, and how efficient regular expressions searches can be. Doing this on older computers, and without the use of regular expressions would have taken longer.

Anyway, that's it for tonight. Rest of the week will probably be spent on cleaning up the translations. Then I will start to clear off all the un-finished tasks in 1.2.2, fix some display issues, and release the next alpha.
Snakeoil Operating System - Music, your way!
Reply


Messages In This Thread
RE: Ongoing status updates with new UI for Gear Isolation - by agent_kith - 02-Nov-2021, 09:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Kernel Builder Updates agent_kith 18 8,072 04-Dec-2022, 03:43 PM
Last Post: agent_kith
  Request For Comments: Snakeoil 1.2.0 (Gear Isolation) agent_kith 103 51,110 02-May-2021, 09:14 PM
Last Post: agent_kith



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2340
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1686
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9495
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 962
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 714
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5500
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5941
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 15727
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 5071
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1315

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.