Challenge
Extra log fields
…orbit? Every subsystem wants to attach different details, and nobody wants a format_log() with fifty optional parameters. Let the function take whatever fields the caller has, then feed it fields from…
Showing 131–140 of 150
Challenge
…orbit? Every subsystem wants to attach different details, and nobody wants a format_log() with fifty optional parameters. Let the function take whatever fields the caller has, then feed it fields from…
Challenge
…stored readings for the day have one more value in them, and the daily report counts readings that were never really taken. Predict what the program prints, find out how the preview reached the stored…
Challenge
…crew ask for cargo by ID all day long: "where is CG-0045, and how heavy is it?". Searching the whole manifest list for every question works for six items, but the real manifest has thousands. Build an…
Challenge
The test flight is ten orbits long, and the flight log should have a line for each one. The log always ends one orbit early, and the last orbit, the one that matters for the landing, is never in it…
Challenge
…to the crew, the planner made a backup of the roster and experimented on the backup. When the experiment was over, the live roster had changed as well, and Tanaka had quietly disappeared from it…
Challenge
…the Moon. One leg comes from a contractor's planning tool, and the total doesn't look right. Predict what the code prints, find the leg that doesn't fit, fix the sum, then convert a lander's sensor…
Challenge
…passes are long enough for a full data dump, in order, and where the silent stretches are. Build the planner. One timeline Collect every pass longer than MIN_MINUTES , from every station, into windows…
Challenge
…status: green for Go, amber for Hold, red for Scrub. Go and Hold look right. Scrubbed launches show no colour at all, and nobody noticed until a launch was scrubbed on live television. Predict what…
Challenge
…station's logistics tool asks how many people are on board and works out the crew after the next docking. Whatever number you type, it crashes. Predict what happens, find out why input() is behind it…
Challenge
…event once Print each event once, keeping the first copy, and count the copies you dropped: EV-1001 Hatch closed EV-1002 Cabin pressure nominal EV-1003 Abort system armed EV-1004 Switched to internal…