srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/data/packs/technology.json
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2026-01-14 22:23:00 +0200
committersrdusr <[email protected]>2026-01-14 22:23:00 +0200
commit4933f669f8338ca5e4c64cf0294818c5d15ed122 (patch)
tree979ce6ffed0a4a59f65f47252ce9824a77be760e /data/packs/technology.json
parent695bf0df2ec48e67d716dad25711cdc2e96bf7f4 (diff)
downloadtyperpunk-4933f669f8338ca5e4c64cf0294818c5d15ed122.tar.gz
typerpunk-4933f669f8338ca5e4c64cf0294818c5d15ed122.zip
Make every passage long enough to be worth timing, and credit all of them
The dataset's median passage was 69 characters, about twelve words, which is over in twelve seconds at an ordinary speed. Some packs were worse: shell had a median of 46 and a shortest entry of 17. That is the reason packs felt small. It was not the number of entries, which was 15 to 37 per pack, but the length of each one. Multiplayer had already hit this and worked around it: load_race_texts filters to 120 characters or more. That filter left only 61 of 350 passages eligible, 38 of them from two packs, so races repeated constantly and four packs could never come up at all. Both halves are fixed. Content: 104 longer passages added across every pack. The command packs get whole pipelines rather than single flags, which is how the tools are actually used and what the explanations were always for. Prose packs get passages that run 150 to 320 characters. Selection: a floor of 120 characters. Prose packs draw from their long entries where a pack holds at least five, so no pack is reduced to the same few passages. The command packs chain consecutive entries into one drill, which is the natural shape for them, and the explanations are collected so each line is still described. Measured over 400 draws per pack, every category now runs a median of 146 to 218 characters with a shortest draw of 120. The race pool went from 61 of 350 to 130 of 454. Attribution: 24 passages had none and displayed nothing at all under the text. They now say Unknown, which is the honest answer for a fact written for the pack, and the pangram is credited as one. The results and typing screens both fall back to Unknown rather than rendering an empty line, and the pack name is shown beside the source. Multiplayer results, three fixes: - PB never appeared. A race has no mode of its own, so modeKey was undefined, so recordResult never ran. Races share one key, because the passage is whatever the server dealt and a per-passage best would never be beaten. - Play Again started a solo test. A race carries standings and a solo run does not, so the results screen can tell them apart and now queues for another race. The end screen's own cleanup leaves the old room first. - CONSISTENCY was the longest label on the screen and made the accuracy column wider than the WPM column opposite it. It reads CON. RaceText carries the pack name so the results can show it for a race the same way single player does. 24 Rust tests and 3 browser tests pass.
Diffstat (limited to 'data/packs/technology.json')
-rw-r--r--data/packs/technology.json172
1 files changed, 150 insertions, 22 deletions
diff --git a/data/packs/technology.json b/data/packs/technology.json
index f529758..0e1f4fd 100644
--- a/data/packs/technology.json
+++ b/data/packs/technology.json
@@ -1,24 +1,152 @@
[
- {"category":"technology","attribution":"Alan Kay","content":"The best way to predict the future is to invent it."},
- {"category":"technology","attribution":"Alan Turing, Computing Machinery and Intelligence","content":"We can only see a short distance ahead, but we can see plenty there that needs to be done."},
- {"category":"technology","attribution":"Grace Hopper","content":"The most damaging phrase in the language is: we've always done it this way."},
- {"category":"technology","attribution":"Grace Hopper","content":"A ship in port is safe, but that's not what ships are built for."},
- {"category":"technology","attribution":"Edsger Dijkstra","content":"Simplicity is prerequisite for reliability."},
- {"category":"technology","attribution":"Edsger Dijkstra","content":"The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."},
- {"category":"technology","attribution":"Douglas Adams","content":"We are stuck with technology when what we really want is just stuff that works."},
- {"category":"technology","attribution":"Arthur C. Clarke","content":"Any sufficiently advanced technology is indistinguishable from magic."},
- {"category":"technology","attribution":"Melvin Kranzberg","content":"Technology is neither good nor bad; nor is it neutral."},
- {"category":"technology","attribution":"Marshall McLuhan","content":"We shape our tools, and thereafter our tools shape us."},
- {"category":"technology","attribution":"Bruce Schneier","content":"Security is a process, not a product."},
- {"category":"technology","attribution":"Tim Berners-Lee","content":"The web as I envisaged it, we have not seen it yet. The future is still so much bigger than the past."},
- {"category":"technology","attribution":"Vannevar Bush, As We May Think","content":"The human mind operates by association. With one item in its grasp, it snaps instantly to the next that is suggested."},
- {"category":"technology","attribution":"Norbert Wiener","content":"We have modified our environment so radically that we must now modify ourselves to exist in this new environment."},
- {"category":"technology","attribution":"Fred Brooks, The Mythical Man-Month","content":"Adding manpower to a late software project makes it later."},
- {"category":"technology","attribution":"Fred Brooks, The Mythical Man-Month","content":"Plan to throw one away; you will, anyhow."},
- {"category":"technology","attribution":"Butler Lampson","content":"All problems in computer science can be solved by another level of indirection."},
- {"category":"technology","attribution":"Leslie Lamport","content":"A distributed system is one in which the failure of a computer you didn't know existed can render your own computer unusable."},
- {"category":"technology","attribution":"Ken Thompson, Reflections on Trusting Trust","content":"You can't trust code that you did not totally create yourself."},
- {"category":"technology","attribution":"Steve Jobs","content":"Design is not just what it looks like and feels like. Design is how it works."},
- {"category":"technology","attribution":"Linus Torvalds","content":"Talk is cheap. Show me the code."},
- {"category":"technology","attribution":"Kevlin Henney","content":"There is no code faster than no code."}
+ {
+ "category": "technology",
+ "attribution": "Alan Kay",
+ "content": "The best way to predict the future is to invent it."
+ },
+ {
+ "category": "technology",
+ "attribution": "Alan Turing, Computing Machinery and Intelligence",
+ "content": "We can only see a short distance ahead, but we can see plenty there that needs to be done."
+ },
+ {
+ "category": "technology",
+ "attribution": "Grace Hopper",
+ "content": "The most damaging phrase in the language is: we've always done it this way."
+ },
+ {
+ "category": "technology",
+ "attribution": "Grace Hopper",
+ "content": "A ship in port is safe, but that's not what ships are built for."
+ },
+ {
+ "category": "technology",
+ "attribution": "Edsger Dijkstra",
+ "content": "Simplicity is prerequisite for reliability."
+ },
+ {
+ "category": "technology",
+ "attribution": "Edsger Dijkstra",
+ "content": "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
+ },
+ {
+ "category": "technology",
+ "attribution": "Douglas Adams",
+ "content": "We are stuck with technology when what we really want is just stuff that works."
+ },
+ {
+ "category": "technology",
+ "attribution": "Arthur C. Clarke",
+ "content": "Any sufficiently advanced technology is indistinguishable from magic."
+ },
+ {
+ "category": "technology",
+ "attribution": "Melvin Kranzberg",
+ "content": "Technology is neither good nor bad; nor is it neutral."
+ },
+ {
+ "category": "technology",
+ "attribution": "Marshall McLuhan",
+ "content": "We shape our tools, and thereafter our tools shape us."
+ },
+ {
+ "category": "technology",
+ "attribution": "Bruce Schneier",
+ "content": "Security is a process, not a product."
+ },
+ {
+ "category": "technology",
+ "attribution": "Tim Berners-Lee",
+ "content": "The web as I envisaged it, we have not seen it yet. The future is still so much bigger than the past."
+ },
+ {
+ "category": "technology",
+ "attribution": "Vannevar Bush, As We May Think",
+ "content": "The human mind operates by association. With one item in its grasp, it snaps instantly to the next that is suggested."
+ },
+ {
+ "category": "technology",
+ "attribution": "Norbert Wiener",
+ "content": "We have modified our environment so radically that we must now modify ourselves to exist in this new environment."
+ },
+ {
+ "category": "technology",
+ "attribution": "Fred Brooks, The Mythical Man-Month",
+ "content": "Adding manpower to a late software project makes it later."
+ },
+ {
+ "category": "technology",
+ "attribution": "Fred Brooks, The Mythical Man-Month",
+ "content": "Plan to throw one away; you will, anyhow."
+ },
+ {
+ "category": "technology",
+ "attribution": "Butler Lampson",
+ "content": "All problems in computer science can be solved by another level of indirection."
+ },
+ {
+ "category": "technology",
+ "attribution": "Leslie Lamport",
+ "content": "A distributed system is one in which the failure of a computer you didn't know existed can render your own computer unusable."
+ },
+ {
+ "category": "technology",
+ "attribution": "Ken Thompson, Reflections on Trusting Trust",
+ "content": "You can't trust code that you did not totally create yourself."
+ },
+ {
+ "category": "technology",
+ "attribution": "Steve Jobs",
+ "content": "Design is not just what it looks like and feels like. Design is how it works."
+ },
+ {
+ "category": "technology",
+ "attribution": "Linus Torvalds",
+ "content": "Talk is cheap. Show me the code."
+ },
+ {
+ "category": "technology",
+ "attribution": "Kevlin Henney",
+ "content": "There is no code faster than no code."
+ },
+ {
+ "category": "technology",
+ "content": "A program is read far more often than it is written, so the time spent making it clear is repaid to everyone who comes after, including the person who wrote it and has since forgotten why any of it is there.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "Caching is one of the two hard problems in computing, and naming things is the other. The difficulty is never storing the value; it is knowing the moment it stopped being true.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "Every abstraction leaks. The point is not to find one that does not, but to choose one whose leaks appear in places you can afford to look at, and to know in advance where those places are.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "A backup that has never been restored is not a backup. It is an untested assumption written to disk, and the first time anyone finds out whether it works will be the worst possible moment to learn.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "The network is not reliable, latency is not zero, bandwidth is not infinite, and the topology does not stay still. Every distributed system that ignores one of these eventually rediscovers it under load.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "Premature optimisation wastes effort, but so does the belief that performance can always be added later. Some decisions about data layout and interface shape are very expensive to reverse once anything depends on them.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "Security is a property of a whole system, not a feature bolted to the side of one. A perfect lock on a door in a wall made of paper protects nothing, and most real failures are of that shape.",
+ "attribution": "Unknown"
+ },
+ {
+ "category": "technology",
+ "content": "Version control does not exist to store code. It exists to answer the question of what changed and why, which is the only question that matters when something has broken and nobody remembers touching it.",
+ "attribution": "Unknown"
+ }
]