Community member
LiamByte
Member since April 2025 · last post 26 Oct, 17:43
- 16 threads
- 61 comments
- 8 solutions
- 246 upvotes received
Counts public posts in this language only.
Latest threads
Latest comments
-
In How do you remember all the syntax?
20 years of programming and I still google f-string format specs.
-
In Should I delete the debug line or comment it out?
In real projects you often want debug output back later. Commenting it out keeps it one keystroke away. The task is practising exactly that habit.
-
Yes, H3 is JAXA's current launcher. The mission name is fictional though.
-
In Stage 2 — why reverse the loops? Solution
To decide if a column is clear you need to look at every row in that column before deciding. So the outer loop is the column, the inner loop goes through rows, and a blocked flag records whether any row had debris there.
-
The "Debris grid" challenge has this trap if I remember right 😬
-
In How strict should valid_email be?
Joining words with single spaces: " ".join(name.split()) collapses any amount of whitespace. Nice trick for clean_name.
-
In How does the checker test a "live" countdown? Solution
Stage 2 is the trick: by making countdown(launch, now) take now as a parameter, the checker can pass a fixed time and get predictable output. That's exactly why the challenge is structured this way — testable time.
-
In Stage 2 — why is K to F refused?
The (factor, offset) design is elegant — the same two formulas handle every pair, forward and reverse.
-
In splitlines() vs split("\n")
timestamp[11:19] in stage 2 — same slicing as in "Date and time from a timestamp". The challenges build on each other nicely.
-
In Hidden tests plant bugs — how does that work?
This is basically mutation testing. Great way to learn what makes a test useful.