Hey everyone, I was online the other day and came across an article about `yes-rs`, a Rust version of the simple Unix `yes` command. My first thought was, "That seems completely and utterly unnecessary." The `yes` command is one ofthe simplest programs in existence; its only job is to print the letter 'y' over and over again. Why would anyone need a "modern, memory-safe" version of that? But then, my curiosity got the better of me. I decided to look at the source code. What I found was not a serious attempt to rewrite a classic utility, but some of the funniest, most self-aware satire I've run across in a long time.  The code is a masterclass in parody of "hyper-modern" programming culture. Since many of the jokes are aimed squarely at Rust developers, I wanted to break down why this project is so hilarious. #### The Core Joke: Using a Sledgehammer to Crack a Nut The entire premise is absurd. The author has taken the simplest task imaginable—an infinite loop printing a single character—and has "solved" it using some of the most complex, powerful, and heavy-duty tools in the Rust ecosystem, including: - **Tokio:** A full-fledged asynchronous runtime. - **Rayon:** A data-parallelism library. - **Clap:** A feature-rich command-line argument parser. This is the programming equivalent of using a quantum computer to flip a light switch. The beauty is in the commitment to the bit. #### Highlight 1: The Mountain of Excuses The code starts with a massive list of `allow` attributes. In Rust, these are used to tell the compiler's linter (`clippy`) to ignore warnings about questionable code. Each one comes with a hilarious justification that parodies programmer excuses. Here are a few of my favorites: ```rust // Written in almost 100% Safe Rust™ #![allow(dead_code)] // No code is dead in the quantum realm #![allow(unused_variables)] // Variables exist in superposition until measured #![allow(clippy::cognitive_complexity)] // Complexity is our business model #![allow(clippy::needless_lifetimes)] // Our lifetimes are NEVER needless - they're crab-grade #![allow(clippy::too_many_arguments)] // More arguments = more crab features ``` This is just a small sample. The full list is a work of art, preemptively excusing every bad practice imaginable with the most absurd reasoning. #### Highlight 2: The "Blazingly Fast" Comments Throughout the code, you'll find comments ironically praising the performance and safety of Rust, which is a common trope in the community. The humor is that these comments are attached to code that is comically inefficient for its stated purpose. ```rust // Zero-cost abstraction for performance (costs more but that's fine) if blazingly_fast_iteration_counter % 100000 == 0 { tokio::task::yield_now().await; // Fearless async concurrency! } ``` And my personal favorite, which appears after a "quantum state refresh": ```rust info!("🔥 This level of performance is only possible in Rust"); info!("✨ C++ could never achieve this level of 😎safety😎 AND 🚀speed🚀"); ``` #### Highlight 3: "It's Not a Bug, It's a Cosmic Ray" The error handling is the punchline to the entire project. The code is written with the baked-in assumption that if an error _does_ occur, it cannot possibly be the fault of the "perfect" Rust code. Instead, it must be an external force of nature. ```rust Err(e) => { error!("❌ Quantum verification failed (this literally cannot happen in Rust)"); error!("🤔 The borrow checker should have prevented this..."); error!("🚨 This is probably a cosmic ray bit flip, not a Rust issue"); error!("💭 In C++ this would have been a segfault, but Rust gave us a nice error"); return Err(format!("🦀 Rust error (still better than C++): {:?}", e).into()); } ``` Blaming cosmic rays and still taking a parting shot at C++ is just comedy gold. While `yes-rs` is a joke, it's an incredibly clever one that shows a deep love and understanding of the programming culture it's parodying. I highly recommend any developer check out the full source code for a good laugh. - **GitHub Repo:** [https://github.com/jedisct1/yes-rs](https://github.com/jedisct1/yes-rs) As always, Michael Garcia a.k.a. TheCrazyGM
author | thecrazygm | ||||||
---|---|---|---|---|---|---|---|
permlink | the-most-gloriously-over-engineered-yes-command-in-rust | ||||||
category | comedy | ||||||
json_metadata | {"app":"peakd/2025.6.2","format":"markdown","tags":["comedy","dev","rust","tribes","archon","proofofbrain","pimp"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/thecrazygm/23t76oSVwqHJSJg1qFqMch12sFHUT51kSkimjkpTh3NZ67c5CDE7vagordx6GaGF3hdfg.png"]} | ||||||
created | 2025-06-24 15:26:21 | ||||||
last_update | 2025-06-24 15:26:21 | ||||||
depth | 0 | ||||||
children | 4 | ||||||
last_payout | 2025-07-01 15:26:21 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 3.800 HBD | ||||||
curator_payout_value | 4.453 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 4,387 | ||||||
author_reputation | 84,721,181,370,792 | ||||||
root_title | "The Most Gloriously Over-Engineered 'yes' Command in Rust" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 143,540,112 | ||||||
net_rshares | 31,388,144,556,879 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jacor | 0 | 24,123,122,407 | 50% | ||
eforucom | 0 | 21,103,759,717 | 100% | ||
moretea | 0 | 2,871,347,157 | 10% | ||
gamer00 | 0 | 19,552,741,098 | 5% | ||
simonjay | 0 | 381,805,061,261 | 100% | ||
ganjafarmer | 0 | 14,793,957,476 | 7.5% | ||
mes | 0 | 487,305,480,670 | 25% | ||
calmphoenix | 0 | 1,451,724,705 | 30% | ||
ecoinstant | 0 | 43,404,161,121 | 100% | ||
cryptoknight12 | 0 | 46,718,722,218 | 100% | ||
joeyarnoldvn | 0 | 450,939,386 | 1.47% | ||
eturnerx | 0 | 269,660,903,739 | 20.1% | ||
pixelfan | 0 | 52,635,934,930 | 5.8% | ||
likedeeler | 0 | 235,729,169,059 | 100% | ||
hdmed | 0 | 5,098,836,419 | 50% | ||
accelerator | 0 | 51,908,757,436 | 60% | ||
steemmillionaire | 0 | 1,155,612,330,020 | 100% | ||
artlover | 0 | 1,689,620,837 | 100% | ||
fatman | 0 | 9,261,026,226 | 2% | ||
votehero | 0 | 26,781,651,983 | 5.3% | ||
msp-makeaminnow | 0 | 26,828,373,863 | 28.5% | ||
investegg | 0 | 26,629,559,223 | 13.9% | ||
morwhale | 0 | 802,555,403 | 50% | ||
morwhaleplus | 0 | 570,865,640 | 50% | ||
coolguy123 | 0 | 2,725,269,971 | 1% | ||
morwhalebonus | 0 | 566,731,583 | 50% | ||
emrebeyler | 0 | 7,887,741,802,685 | 100% | ||
mytechtrail | 0 | 21,066,904,961 | 15% | ||
jozefkrichards | 0 | 5,153,435,832 | 50% | ||
kernelillo | 0 | 806,287,117 | 50% | ||
sneakyninja | 0 | 16,910,203,303 | 24.88% | ||
najat | 0 | 2,984,873,177 | 50% | ||
steembasicincome | 0 | 2,963,538,586,496 | 100% | ||
hetty-rowan | 0 | 45,086,863,250 | 50% | ||
irisworld | 0 | 623,484,425 | 7.5% | ||
bengy | 0 | 2,903,266,696 | 3% | ||
anikys3reasure | 0 | 1,858,701,547 | 50% | ||
russellstockley | 0 | 39,894,365,677 | 30% | ||
jglake | 0 | 6,708,812,470 | 20% | ||
blockchainyouth | 0 | 23,160,948,581 | 25% | ||
abrockman | 0 | 2,152,992,313,406 | 100% | ||
sbi2 | 0 | 2,117,093,006,606 | 100% | ||
awesomegames007 | 0 | 1,277,422,443 | 50% | ||
sbi3 | 0 | 1,097,016,879,549 | 100% | ||
beco132 | 0 | 1,802,776,546 | 54% | ||
sbi4 | 0 | 690,744,565,638 | 100% | ||
fw206 | 0 | 2,194,829,007,105 | 26% | ||
sbi5 | 0 | 560,928,209,226 | 100% | ||
sbi6 | 0 | 432,266,683,868 | 100% | ||
thedailysneak | 0 | 23,082,016,565 | 24.88% | ||
georgeknowsall | 0 | 59,748,183,680 | 100% | ||
sbi7 | 0 | 323,888,377,479 | 100% | ||
tdas0 | 0 | 2,010,492,113 | 50% | ||
voxmortis | 0 | 11,149,113,272 | 6% | ||
a-bot | 0 | 14,465,864,341 | 30% | ||
voter003 | 0 | 26,633,939,690 | 11.1% | ||
voter007 | 0 | 159,657,031 | 100% | ||
mk992039 | 0 | 703,084,358 | 4% | ||
guurry123 | 0 | 7,190,493,778 | 10% | ||
ecoinstats | 0 | 473,995,316,071 | 100% | ||
athunderstruck | 0 | 12,303,318,545 | 30% | ||
sbi8 | 0 | 235,976,975,523 | 100% | ||
piestrikesback | 0 | 643,971,737 | 100% | ||
sbi9 | 0 | 172,334,758,985 | 100% | ||
sbi10 | 0 | 131,543,949,878 | 100% | ||
slothlydoesit | 0 | 17,873,236,518 | 10% | ||
synergized | 0 | 4,409,931,384 | 50% | ||
instagram-models | 0 | 501,770,447,499 | 100% | ||
thelogicaldude | 0 | 12,544,607,014 | 30% | ||
denizcakmak | 0 | 669,496,301 | 50% | ||
bigmoneyman | 0 | 520,872,477 | 30% | ||
gurseerat | 0 | 5,421,923,196 | 20% | ||
lrekt01 | 0 | 5,528,534,779 | 80% | ||
everythingsmgirl | 0 | 7,587,574,051 | 50% | ||
maddogmike | 0 | 48,550,212,406 | 30% | ||
lisamgentile1961 | 0 | 8,428,257,964 | 3% | ||
sbi-tokens | 0 | 20,915,417,033 | 49.76% | ||
successchar | 0 | 8,906,524,657 | 30% | ||
urun | 0 | 15,915,932,206 | 100% | ||
stem.alfa | 0 | 2,413,423,116 | 50% | ||
qwertm | 0 | 3,845,020,407 | 50% | ||
neoxvoter | 0 | 2,951,138,382 | 25% | ||
zeusflatsak | 0 | 1,154,548,719 | 7.5% | ||
treasure.hoard | 0 | 396,511,921,650 | 100% | ||
dpend.active | 0 | 3,821,310,944 | 10% | ||
ykretz | 0 | 1,432,547,705 | 15% | ||
thepeakstudio | 0 | 1,664,540,319 | 30% | ||
holoferncro | 0 | 3,970,357,816 | 10% | ||
sketching | 0 | 6,948,956,026 | 50% | ||
hivelist | 0 | 16,355,650,965 | 15% | ||
kiemis | 0 | 9,062,676,047 | 2.5% | ||
invest4free | 0 | 3,759,001,892 | 50% | ||
hivehustlers | 0 | 17,322,391,549 | 60% | ||
improbableliason | 0 | 1,336,886,610 | 30% | ||
archon-gov | 0 | 107,238,944,478 | 50% | ||
rudy-dj | 0 | 2,645,340,209 | 30% | ||
captaincryptic | 0 | 31,498,272,930 | 20% | ||
barbyjr | 0 | 1,759,919,166 | 25% | ||
youloseagain | 0 | 586,964,227 | 5% | ||
hive-111011 | 0 | 1,265,914,366 | 60% | ||
emsenn0 | 0 | 4,023,242,160 | 20% | ||
thecryptopimp | 0 | 16,997,413,101 | 60% | ||
tokenpimp | 0 | 887,455,617,457 | 60% | ||
pimptoken | 0 | 11,039,990,424 | 60% | ||
pimp.token | 0 | 6,761,710,731 | 60% | ||
biglove | 0 | 451,803,470 | 10% | ||
cryptoniusrex | 0 | 36,046,854,816 | 100% | ||
egistar | 0 | 3,120,243,714 | 12% | ||
holovision.stem | 0 | 482,856,673 | 50% | ||
alkirua | 0 | 33,113,312,644 | 100% | ||
magnacarta | 0 | 33,418,064,933 | 50% | ||
dibblers.dabs | 0 | 137,011,814,495 | 30% | ||
wongi | 0 | 49,100,982,593 | 50% | ||
adulruna | 0 | 19,925,430,471 | 100% | ||
vrezyy | 0 | 8,717,157,690 | 25% | ||
tub3r0 | 0 | 755,095,434 | 10% | ||
mxm0unite | 0 | 1,631,684,807 | 50% | ||
kraaaaa | 0 | 808,783,050 | 30% | ||
tydynrain | 0 | 15,365,748,302 | 10% | ||
svanbo | 0 | 2,120,977,081 | 1% | ||
herman-german | 0 | 8,049,620,612 | 50% | ||
noctury | 0 | 21,711,828,661 | 50% | ||
rulivyxo | 0 | 540,039,420 | 30% | ||
woodathegsd | 0 | 847,554,811 | 7.5% | ||
token-thx | 0 | 36,897,325 | 100% | ||
chrisly.social | 0 | 57,512,185,447 | 50% | ||
pimpdistrict | 0 | 3,106,390,461 | 60% | ||
thepimpdistrict | 0 | 5,568,533,870 | 60% | ||
ydaiznfts | 0 | 25,981,479,537 | 60% | ||
boeltermc | 0 | 6,819,657,237 | 100% | ||
beststart | 0 | 16,096,468,004 | 5% | ||
badge-480085 | 0 | 532,575,639 | 60% | ||
vrezion | 0 | 501,786,850 | 100% | ||
kam5iz | 0 | 3,898,840,834 | 30% | ||
poplar-22 | 0 | 3,530,740,234 | 25% | ||
monsterrerentals | 0 | 30,956,975,398 | 100% | ||
deggial | 0 | 1,529,719,179 | 100% | ||
ydaiznfts2 | 0 | 1,557,466,501 | 60% | ||
kasih-sayang | 0 | 867,258,528 | 30% | ||
slothbuzz | 0 | 5,770,029,213 | 10% | ||
whitneyalexx | 0 | 16,820,295,708 | 50% | ||
ganjafrmer | 0 | 1,025,897,057 | 7.5% | ||
slothburn | 0 | 1,338,096,772 | 10% | ||
freecompliments | 0 | 2,921,640,502,979 | 100% | ||
georgesantana73 | 0 | 1,063,919,834 | 100% | ||
tengolotodo.leo | 0 | 3,162,758,059 | 50% | ||
hive-140084 | 0 | 72,103,228,696 | 100% | ||
timix648 | 0 | 1,036,949,553 | 70% | ||
zallin.pimp | 0 | 127,731,886 | 100% | ||
converter.bonus | 0 | 787,887,066 | 50% | ||
jaouad2d | 0 | 8,548,690,237 | 100% | ||
pepetoken | 0 | 706,405,691 | 10% | ||
mviews | 0 | 28,513,414,389 | 100% | ||
ijebest | 0 | 609,359,789 | 5% | ||
lordnasty | 0 | -15,099,600,968 | -100% | ||
bankrobbery | 0 | 591,769,618 | 50% | ||
fc-curation | 0 | 5,370,775,980 | 100% | ||
spoonies | 0 | 38,919,665,426 | 100% | ||
fc-rewards | 0 | 3,811,066,038 | 100% | ||
d-a-d | 0 | 9,880,815,829 | 50% | ||
pepe.voter | 0 | 31,094,321,094 | 50% | ||
claudiavb | 0 | 16,970,803,207 | 50% | ||
fc-arbitration | 0 | 766,378,129 | 100% | ||
murtaza-7868 | 0 | 730,156,908 | 50% | ||
learn2code | 0 | 1,155,970,575 | 50% | ||
partytime.inleo | 0 | 4,525,873,708 | 10% | ||
magicalex | 0 | 4,059,274,716 | 70% | ||
calebmarvel24 | 0 | 2,425,633,468 | 10% | ||
franco10 | 0 | 5,331,891,174 | 25% | ||
pakx | 0 | 775,635,704,762 | 50% | ||
trovepower | 0 | 2,288,514,019 | 50% | ||
digi-alt | 0 | 6,131,383,069 | 50% | ||
michael561 | 0 | 5,422,727,961 | 20% | ||
shoyebxyz | 0 | 7,872,937,453 | 100% | ||
thecrazygm.bank | 0 | 5,893,398,822 | 100% | ||
longhunter | 0 | 1,900,478,595 | 100% | ||
magic.byte | 0 | 0 | 100% | ||
sports.power.bot | 0 | 0 | 0.01% | ||
savvyfrog | 0 | 720,839,666 | 25% | ||
lovelymusictube1 | 0 | 603,595,901 | 100% |
I always do get frustrated when the cosmic rays flip my bits 🤣 !PAKX !PIMP !PIZZA
author | ecoinstant |
---|---|
permlink | re-thecrazygm-sydsr4 |
category | comedy |
json_metadata | {"tags":["comedy"],"app":"peakd/2025.6.2","image":[],"users":[]} |
created | 2025-06-24 22:21:06 |
last_update | 2025-06-24 22:21:06 |
depth | 1 |
children | 1 |
last_payout | 2025-07-01 22:21:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.012 HBD |
curator_payout_value | 0.012 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 82 |
author_reputation | 839,160,941,098,214 |
root_title | "The Most Gloriously Over-Engineered 'yes' Command in Rust" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,548,182 |
net_rshares | 92,488,163,842 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 74,785,820,182 | 100% | ||
dustbunny | 0 | 10,059,493,169 | 3.18% | ||
tydynrain | 0 | 7,642,850,491 | 5% |
<center><table><tr></tr><tr><td><center><img src='https://files.peakd.com/file/peakd-hive/pakx/PakX-logo-transparent.png'><p><sup><a href='https://hive-engine.com/?p=market&t=PAKX'>View or trade </a> <code>PAKX</code> tokens.</sup></p></center></td><td><center>@ecoinstant, PAKX has voted the post by @thecrazygm. (2/2 calls)</p><br><br><p>Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on <a href='/@pakx'>PAKX Blog</a>.</p></center></td></tr></table></center>
author | pakx |
---|---|
permlink | re-ecoinstant-1750804088 |
category | comedy |
json_metadata | "{"tags": ["pakx", "hivepakistan"], "app": "HiveDiscoMod"}" |
created | 2025-06-24 22:28:06 |
last_update | 2025-06-24 22:28:06 |
depth | 2 |
children | 0 |
last_payout | 2025-07-01 22:28:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 524 |
author_reputation | 42,376,730,930 |
root_title | "The Most Gloriously Over-Engineered 'yes' Command in Rust" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,548,496 |
net_rshares | 0 |
<center>PIZZA! $PIZZA slices delivered: @ecoinstant<sub>(3/20)</sub> tipped @thecrazygm <sub>Come get [MOON](https://moon.hive.pizza)ed!</sub></center>
author | pizzabot |
---|---|
permlink | re-the-most-gloriously-over-engineered-yes-command-in-rust-20250624t222127z |
category | comedy |
json_metadata | "{"app": "pizzabot"}" |
created | 2025-06-24 22:21:27 |
last_update | 2025-06-24 22:21:27 |
depth | 1 |
children | 0 |
last_payout | 2025-07-01 22:21:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 156 |
author_reputation | 7,500,085,756,064 |
root_title | "The Most Gloriously Over-Engineered 'yes' Command in Rust" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,548,201 |
net_rshares | 0 |
Thank you for the good laugh tonight, my friend! It's hilarious that they actually did this. I love when I find humor hidden in code, but this is at a whole new level. 😁 🙏 💚 ✨ 🤙
author | tydynrain |
---|---|
permlink | re-thecrazygm-2025624t231637555z |
category | comedy |
json_metadata | {"tags":["comedy","dev","rust","tribes","archon","proofofbrain","pimp"],"app":"ecency/3.2.0-vision","format":"markdown+html"} |
created | 2025-06-25 09:16:42 |
last_update | 2025-06-25 09:16:42 |
depth | 1 |
children | 0 |
last_payout | 2025-07-02 09:16:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.024 HBD |
curator_payout_value | 0.025 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 178 |
author_reputation | 201,228,281,140,069 |
root_title | "The Most Gloriously Over-Engineered 'yes' Command in Rust" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,557,584 |
net_rshares | 179,286,876,554 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 73,574,732,175 | 100% | ||
ecoinstant | 0 | 43,115,286,652 | 100% | ||
eturnerx | 0 | 26,394,590,156 | 2% | ||
fatman | 0 | 9,261,538,376 | 2% | ||
votehero | 0 | 26,940,729,195 | 5.4% |