From 8fc4440150ce84c9cc3f5ec13d50beb58a5b65bc Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Sun, 7 Dec 2025 21:58:00 +0200 Subject: Rebuild the generic packs, add shell and sysadmin, fix short race passages The packs were not proper. An audit found 86 of 253 items (33%) carrying an attribution that just restated the category - prose *about* a topic with an invented source, which is the same fault the movies pack had. Six of thirteen packs were mostly that: technology had 15 items and one distinct attribution. - science, technology, history, nature and business are now sourced quotes with real attributions: Feynman, Curie, Hopper, Dijkstra, Lincoln, Carson, Drucker, Goodhart. 82 items, all attributed to a person or a work. - general is original factual prose, so it now carries no attribution at all rather than claiming "General knowledge" as a source. merge_packs no longer invents one from the pack's filename. - Four explanatory passages in philosophy lost their "Philosophy" attribution for the same reason. - One duplicated passage removed. Generic attributions: 86/253 before, 0/349 now. New technical packs - shell: 24 awk, sed and pipeline drills, each explaining what the line does - field splitting, associative arrays, !seen[$0]++, process substitution, xargs -0, strict mode. - sysadmin: 24 operational one-liners across systemd, disk, processes, network, permissions, SSH, backup and containers. - programming grew to 37 and hacking to 30, with git bisect, window functions, EXPLAIN ANALYZE, certificate transparency and capability audits. - All 115 technical drills carry an explanation. Race passage length - Multiplayer drew from the same pool as single player, so a race could land on a 22-character quote and be over before anyone had their hands in position. Races now require 120 characters; the filter is applied when the pool is loaded, not to the packs, since a short quote is fine to type alone. For reference, TypeRacer organises by difficulty and language rather than topic: one default English pool of ~11,900 texts plus per-language universes and specials (accuracy, repeat, easytexts, anime). Their scale comes from user submission with moderation, which is still the feature this does not have. --- data/packs/philosophy.json | 88 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 72 insertions(+), 16 deletions(-) (limited to 'data/packs/philosophy.json') diff --git a/data/packs/philosophy.json b/data/packs/philosophy.json index 7c9aee7..b76cdba 100644 --- a/data/packs/philosophy.json +++ b/data/packs/philosophy.json @@ -1,17 +1,73 @@ [ - {"category":"philosophy","content":"Waste no more time arguing about what a good man should be. Be one.","attribution":"Marcus Aurelius, Meditations"}, - {"category":"philosophy","content":"It's not what happens to you, but how you react to it that matters.","attribution":"Epictetus"}, - {"category":"philosophy","content":"It is not that we have a short time to live, but that we waste a lot of it.","attribution":"Seneca, On the Shortness of Life"}, - {"category":"philosophy","content":"The beginning is the most important part of the work.","attribution":"Plato, The Republic"}, - {"category":"philosophy","content":"All men by nature desire to know.","attribution":"Aristotle, Metaphysics"}, - {"category":"philosophy","content":"I think, therefore I am.","attribution":"Rene Descartes, Discourse on the Method"}, - {"category":"philosophy","content":"It does not matter how slowly you go as long as you do not stop.","attribution":"Confucius, Analects"}, - {"category":"philosophy","content":"A journey of a thousand miles begins with a single step.","attribution":"Lao Tzu, Tao Te Ching"}, - {"category":"philosophy","content":"The only true wisdom is in knowing you know nothing.","attribution":"Socrates"}, - {"category":"philosophy","content":"Stoicism is a school of ancient Greek philosophy that teaches the practice of virtue as the only true good, and encourages focusing only on what lies within one's own control.","attribution":"Philosophy"}, - {"category":"philosophy","content":"Existentialism explores questions about individual freedom, choice, and meaning, arguing that people must create their own purpose in a universe that does not provide one automatically.","attribution":"Philosophy"}, - {"category":"philosophy","content":"The Socratic method uses a series of questions and answers to expose contradictions in a person's beliefs, encouraging deeper critical thinking rather than simply providing answers.","attribution":"Philosophy"}, - {"category":"philosophy","content":"The impediment to action advances action. What stands in the way becomes the way.","attribution":"Marcus Aurelius, Meditations"}, - {"category":"philosophy","content":"Every new beginning comes from some other beginning's end.","attribution":"Seneca, Letters from a Stoic"}, - {"category":"philosophy","content":"Utilitarianism holds that the right action is the one that produces the greatest good for the greatest number of people, judging morality by outcomes rather than intentions.","attribution":"Philosophy"} -] + { + "category": "philosophy", + "content": "Waste no more time arguing about what a good man should be. Be one.", + "attribution": "Marcus Aurelius, Meditations" + }, + { + "category": "philosophy", + "content": "It's not what happens to you, but how you react to it that matters.", + "attribution": "Epictetus" + }, + { + "category": "philosophy", + "content": "It is not that we have a short time to live, but that we waste a lot of it.", + "attribution": "Seneca, On the Shortness of Life" + }, + { + "category": "philosophy", + "content": "The beginning is the most important part of the work.", + "attribution": "Plato, The Republic" + }, + { + "category": "philosophy", + "content": "All men by nature desire to know.", + "attribution": "Aristotle, Metaphysics" + }, + { + "category": "philosophy", + "content": "I think, therefore I am.", + "attribution": "Rene Descartes, Discourse on the Method" + }, + { + "category": "philosophy", + "content": "It does not matter how slowly you go as long as you do not stop.", + "attribution": "Confucius, Analects" + }, + { + "category": "philosophy", + "content": "A journey of a thousand miles begins with a single step.", + "attribution": "Lao Tzu, Tao Te Ching" + }, + { + "category": "philosophy", + "content": "The only true wisdom is in knowing you know nothing.", + "attribution": "Socrates" + }, + { + "category": "philosophy", + "content": "Stoicism is a school of ancient Greek philosophy that teaches the practice of virtue as the only true good, and encourages focusing only on what lies within one's own control." + }, + { + "category": "philosophy", + "content": "Existentialism explores questions about individual freedom, choice, and meaning, arguing that people must create their own purpose in a universe that does not provide one automatically." + }, + { + "category": "philosophy", + "content": "The Socratic method uses a series of questions and answers to expose contradictions in a person's beliefs, encouraging deeper critical thinking rather than simply providing answers." + }, + { + "category": "philosophy", + "content": "The impediment to action advances action. What stands in the way becomes the way.", + "attribution": "Marcus Aurelius, Meditations" + }, + { + "category": "philosophy", + "content": "Every new beginning comes from some other beginning's end.", + "attribution": "Seneca, Letters from a Stoic" + }, + { + "category": "philosophy", + "content": "Utilitarianism holds that the right action is the one that produces the greatest good for the greatest number of people, judging morality by outcomes rather than intentions." + } +] \ No newline at end of file -- cgit v1.2.3