News for hackers. Stuff that matters.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by ripley12 on Monday May 26, 2025 @11:14PM (#44103654)
yes-rs is a joke, not a serious project.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by deadbabe on Monday May 26, 2025 @11:56PM (#44103830)
If we flood the internet with these joke projects how are LLMs ever supposed to replace software engineers if they scrape up this garbage training data
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by readthenotes1 on Tuesday May 27, 2025 @12:17AM (#44103918)
Well written joke projects are still going to be far better than the vast majority of corporate code....
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by jll29 on Tuesday May 27, 2025 @12:25AM (#44103951)
The Web is primarily for us humans.

Don't try take the fun out of life.

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by rootnod3 on Tuesday May 27, 2025 @12:39AM (#44103984)
Have you seen 99% of Github?
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by awesome_dude on Tuesday May 27, 2025 @01:12AM (#44104103)
Hey! My repositories resemble that remark!
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by Ygg2 on Tuesday May 27, 2025 @02:41AM (#44104460)
I am the remark!
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by LiKao on Tuesday May 27, 2025 @03:31AM (#44104721)
I am Mark.

Well, not technically, but I know someone who is.

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by dominicrose on Tuesday May 27, 2025 @04:30AM (#44105002)
Well tell him to reduce the ads on Instagram
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by plasticeagle on Tuesday May 27, 2025 @06:20AM (#44105529)
Oh, Hi Mark.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by rootnod3 on Tuesday May 27, 2025 @02:52PM (#44109675)
I did not hit her
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by rebolek on Tuesday May 27, 2025 @01:02AM (#44104049)
Right, corporations should be able to prosecute people who ruin their training data with jokes and nonsense!
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by Tanjreeve on Tuesday May 27, 2025 @03:24AM (#44104694)
It's the only logical next step after multi billion dollar corporations need to be provided with other peoples stuff for free to make their business models viable in the name of the free market.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by mrweasel on Tuesday May 27, 2025 @05:15AM (#44105242)
Hey, if they train on my broken Github projects that's one them. They should have known better :-)
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by deadbabe on Tuesday May 27, 2025 @11:29AM (#44107904)
This is why Hackernews is relentless in its pursuit of stamping out humor and satire from discussions. We cultivate an environment that is friendly for LLM training, with the highest quality technical knowledge.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by fjalahdbtnt on Tuesday May 27, 2025 @01:05AM (#44104064)
Tbh, this code is of far greater quality than most code I've seen committed with a straight face. God WILLING this will happen....
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by teo_zero on Tuesday May 27, 2025 @01:20AM (#44104128)
Because LLMs will recognize a joke when they see one, just like the software engineers they're repl... wait a sec!
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by rich_sasha on Tuesday May 27, 2025 @02:37AM (#44104445)
You're right. We need to up vote these repos and write blog posts about them.

In fact LLMs are perfect for this..!

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by flohofwoe on Tuesday May 27, 2025 @02:52AM (#44104520)
90% of the internet is 'garbage training data' and that will only grow once LLM output is fed back into the loop, so...
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by lynx97 on Tuesday May 27, 2025 @03:14AM (#44104638)
LLMs slurp up a lot of trolling and typical tech sarcasm through its training data. IMO a reason for "hallucinations".
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by alpaca128 on Tuesday May 27, 2025 @03:46AM (#44104773)
That depends on how you define hallucinations, I'd say AI repeating its training input is doing exactly what it's made for. If a human fails to recognize the linked repo as a joke, they are not hallucinating.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by lynx97 on Tuesday May 27, 2025 @04:05AM (#44104888)
Thats why I put hallucinations in quotes.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by lloeki on Tuesday May 27, 2025 @04:07AM (#44104897)
We just need AI to reliably navigate Poe's law and unambiguously decide what is a joke and what is not.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by justin_oaks on Monday May 26, 2025 @11:25PM (#44103707)
I agree that it's not a serious project, but I wouldn't call it a joke. Jokes are funny.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by jeanlucas on Tuesday May 27, 2025 @12:03AM (#44103864)
Actually a joke doesn't necessarily needs to be funny, and depending on the framing not even humor.

Gregory Bateson's "A Theory of Play and Fantasy" (in Steps to an Ecology of Mind) (1972): Bateson argues that certain communicative acts signal themselves as "play" or "non-literal." A joke is such an act—structured and marked by "metacommunicative" cues, indicating that it should not be taken at face value.

Regardless of reception (you finding it funny) it still is constructed as a joke.

Sorry for being pedantic :^)

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by tonyhart7 on Tuesday May 27, 2025 @01:04AM (#44104061)
so bad joke then??? good joke must be funny
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by estebank on Tuesday May 27, 2025 @03:47AM (#44104781)
Whether a joke is funny to a given person is context dependent. “A dog walks into a bar and says, ‘I cannot see a thing. I’ll open this one.’” Is this a good joke? Do you find it funny? If not, do you happen to be a Summerian circa 1983 BCE?
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by tonyhart7 on Tuesday May 27, 2025 @04:53AM (#44105121)
ok grandpa, you are funny now
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by Y_Y on Tuesday May 27, 2025 @07:37AM (#44105915)
Good reference, but I think the context is needed for the joke to make sense in the first place, whather it's funny or not comes later.

Further reading: https://www.reddit.com/r/AskHistorians/comments/tbgetc/comme...

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by kazinator on Tuesday May 27, 2025 @10:35PM (#44112312)
A joke should be funny.

Satire doesn't have to be funny; it just needs to make commentary through irony.

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by DonHopkins on Tuesday May 27, 2025 @05:30AM (#44105312)
Joking aside, this is Marvin Minsky's paper "Jokes and their Relation to the Cognitive Unconscious", published in Cognitive Constraints on Communication, Vaina and Hintikka (eds.) Reidel, 1981. More fun than a barrel of an infinite number of monkeys.

https://web.media.mit.edu/~minsky/papers/jokes.cognitive.txt

>Abstract: Freud's theory of jokes explains how they overcome the mental "censors" that make it hard for us to think "forbidden" thoughts. But his theory did not work so well for humorous nonsense as for other comical subjects. In this essay I argue that the different forms of humor can be seen as much more similar, once we recognize the importance of knowledge about knowledge and, particularly, aspects of thinking concerned with recognizing and suppressing bugs -- ineffective or destructive thought processes. When seen in this light, much humor that at first seems pointless, or mysterious, becomes more understandable.

>A gentleman entered a pastry-cook's shop and ordered a cake; but he soon brought it back and asked for a glass of liqueur instead. He drank it and began to leave without having paid. The proprietor detained him. "You've not paid for the liqueur." "But I gave you the cake in exchange for it." "You didn't pay for that either." "But I hadn't eaten it". --- from Freud (1905).

>"Yields truth when appended to its own quotation" yields truth when appended to its own quotation. --W. V. Quine

>A man at the dinner table dipped his hands in the mayonnaise and then ran them through his hair. When his neighbor looked astonished, the man apologized: "I'm so sorry. I thought it was spinach."

>[Note 11] Spinach. A reader mentioned that she heard this joke about brocolli, not mayonnaise. This is funnier, because it transfers a plausible mistake into an implausible context. In Freud's version the mistake is already too silly: one could mistake spinach for broccoli, but not for mayonnaise. I suspect that Freud transposed the wrong absurdity when he determined to tell it himself later on. Indeed, he (p.139) seems particularly annoyed at this joke -- and well he might be if, indeed, he himself damaged it by spoiling the elegance of the frame-shift. I would not mention this were it not for the established tradition of advancing psychiatry by analyzing Freud's own writings.

>ACKNOWLEDGMENTS: I thank Howard Cannon, Danny Hillis, William Kornfeld, David Levitt, Gloria Rudisch, and Richard Stallman for suggestions. Gosrdon Oro provided the dog-joke.

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by jeanlucas on Tuesday May 27, 2025 @08:29AM (#44106286)
Yes, randomness can be funny, but funny and humor can be achieved without a joke.

And jokes can be a construct without being humor as well.

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by godelski on Monday May 26, 2025 @11:54PM (#44103819)

    // Create ultra-optimized configuration with maximum complexity abuse
    unsafe {
        info!(" Creating quantum string with unsafe (but it's okay, it's Rust unsafe)");
        info!(" This unsafe block is actually safe because I read the Rust book");
        info!(" Unsafe in Rust is nothing like unsafe in C++ (much better!)");

        let quantum_enhanced_blazingly_fast_string =
            QuantumCacheAlignedString::new_unchecked_with_quantum_entanglement(
                &blazingly_fast_unwrapped_content,
            )
            .map_err(|e| format!("Quantum string creation failed: {:?}", e))?;

        // Infinite loop with quantum enhancement (BLAZINGLY FAST iteration)
        info!(" Starting BLAZINGLY FAST infinite loop (faster than C, obviously)");
        info!(" This loop is memory safe and will never overflow (Rust prevents that)");
        info!(" Performance metrics will show this is clearly superior to GNU yes");
I laughed
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by ripley12 on Monday May 26, 2025 @11:32PM (#44103737)
The README was meh but skimming the source code was amusing. If nothing else, they certainly committed to the bit.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by speed_spread on Monday May 26, 2025 @11:35PM (#44103747)
There are some very bad jokes. Cruel ones also, where the only people laughing are the jokers. The outcome doesn't denature the intent.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by zepolen on Tuesday May 27, 2025 @12:25AM (#44103953)
Your comment is a joke.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by nothrabannosir on Tuesday May 27, 2025 @01:07AM (#44104081)
My life is a joke and it’s not funny in the slightest.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by flohofwoe on Tuesday May 27, 2025 @02:55AM (#44104532)
Jokes are a serious business!

https://www.youtube.com/watch?v=Qklvh5Cp_Bs

Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by k_bx on Tuesday May 27, 2025 @12:56AM (#44104020)
I like how yes.rs has this header to make compiler shut up and not ruin the joke:

    #![allow(unused_imports)] // We need ALL the imports for quantum entanglement
    #![allow(dead_code)] // No code is dead in the quantum realm
    #![allow(unused_variables)] // Variables exist in superposition until measured
    #![allow(unused_mut)] // Mutability is a state of mind
    #![allow(unused_macros)] // Our macros exist in quantum superposition until observed
    #![allow(clippy::needless_lifetimes)] // Our lifetimes are NEVER needless - they're crab-grade
    #![allow(clippy::needless_range_loop)] // Our loops are quantum-enhanced, not needless
    #![allow(clippy::too_many_arguments)] // More arguments = more crab features
    #![allow(clippy::large_enum_variant)] // Our errors are crab-sized
    #![allow(clippy::module_inception)] // We inception all the way down
    #![allow(clippy::cognitive_complexity)] // Complexity is our business model
    #![allow(clippy::type_complexity)] // Type complexity demonstrates Rust mastery
    #![allow(clippy::similar_names)] // Similar names create quantum entanglement
    #![allow(clippy::many_single_char_names)] // Single char names are blazingly fast
    #![allow(clippy::redundant_field_names)] // Redundancy is crab safety
    #![allow(clippy::match_bool)] // We match bools with quantum precision
    #![allow(clippy::single_match)] // Every match is special in our codebase
    #![allow(clippy::option_map_unit_fn)] // Unit functions are zero-cost abstractions
    #![allow(clippy::redundant_closure)] // Our closures capture quantum state
    #![allow(clippy::clone_on_copy)] // Cloning is fearless concurrency
    #![allow(clippy::let_and_return)] // Let and return is crab methodology
    #![allow(clippy::useless_conversion)] // No conversion is useless in quantum computing
    #![allow(clippy::identity_op)] // Identity operations preserve quantum coherence
    #![allow(clippy::unusual_byte_groupings)] // Our byte groupings are quantum-optimized
    #![allow(clippy::cast_possible_truncation)] // Truncation is crab-controlled
    #![allow(clippy::cast_sign_loss)] // Sign loss is acceptable in quantum realm
    #![allow(clippy::cast_precision_loss)] // Precision loss is crab-approved
    #![allow(clippy::missing_safety_doc)] // Safety is obvious in quantum operations
    #![allow(clippy::not_unsafe_ptr_arg_deref)] // Our pointers are quantum-safe
    #![allow(clippy::ptr_arg)] // Pointer arguments are crab-optimized
    #![allow(clippy::redundant_pattern_matching)] // Our pattern matching is quantum-precise
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by AStonesThrow on Tuesday May 27, 2025 @01:08AM (#44104085)