Readit News logoReadit News
jmpeax commented on Cognitive load is what matters   github.com/zakirullin/cog... · Posted by u/nromiun
Buttons840 · 5 days ago
It's been said: "Document the why, not the what."

I have a hard time separating the why and the what so I document both.

The biggest offender of "documenting the what" is:

    x = 4  // assign 4 to x
Yeah, don't do that. Don't mix a lot of comments into the code. It makes it ugly to read, and the context switching between code and comments is hard.

Instead do something like:

    // I'm going to do
    // a thing. The code
    // does the thing.
    // We need to do the
    // thing, because the
    // business needs a
    // widget and stuff.
    
    setup();
    t = setupThing();
    t.useThing(42);
    t.theWidget(need=true);
    t.alsoOtherStuff();
    etc();
    etc();
Keep the code and comments separate, but stating the what is better than no comments at all, and it does help reduce cognitive load.

jmpeax · 4 days ago
> It makes it ugly to read, and the context switching between code and comments is hard.

That's a symptom of bad syntax highlighting, fix it and you're good to go.

jmpeax commented on From GPT-4 to GPT-5: Measuring progress through MedHELM [pdf]   fertrevino.com/docs/gpt5_... · Posted by u/fertrevino
kumarvvr · 14 days ago
I have an issue with the words "understanding", "reasoning", etc when talking about LLMs.

Are they really understanding, or putting out a stream of probabilities?

jmpeax · 14 days ago
Do you yourself really understand, or are you just depolarizing neurons that have reached their threshold?
jmpeax commented on Nuclear Explosion for Carbon Sequestration   arxiv.org/abs/2501.06623... · Posted by u/energy123
freeslave · 2 months ago
They are talking about one gigantic nuclear explosion (81 Gt). Why couldn't multiple smaller explosions achieve the same outcome?
jmpeax · 2 months ago
Maybe because "We propose burying this device beneath the Kerguelen Plateau in the Southern Ocean, 3-5 km into the basalt-rich seafloor and 6-8 km below the water’s surface." would be prohibitively expensive for hundreds of nukes.
jmpeax commented on RenderFormer: Neural rendering of triangle meshes with global illumination   microsoft.github.io/rende... · Posted by u/klavinski
jmpeax · 3 months ago
Cross-attention before self attention is that better?
jmpeax commented on Devs say AI crawlers dominate traffic, forcing blocks on entire countries   arstechnica.com/ai/2025/0... · Posted by u/Bender
edoloughlin · 5 months ago
I'm being trite, but if you can detect an AI bot, why not just serve them random data? At least they'll be sharing some of the pain they inflict.
jmpeax · 5 months ago
You skipped the last section "Tarpits and labyrinths: The growing resistance" of the article.
jmpeax commented on Ask HN: Any insider takes on Yann LeCun's push against current architectures?    · Posted by u/vessenes
jmpeax · 6 months ago
A transformer will attend to previous tokens, and so it is free to ignore prior errors. I don't get LeCun's comment on error propagation, and look forward to a more thorough exposition of the problem.
jmpeax commented on Starship Flight 7   spacex.com/launches/missi... · Posted by u/chinathrow
jmpeax · 8 months ago
I wonder if the second stage failure was related to the metal flap seen here on the very left of the image: https://imgur.com/a/VS8IPdv
jmpeax commented on Time-Series Anomaly Detection: A Decade Review   arxiv.org/abs/2412.20512... · Posted by u/belter
bluechair · 8 months ago
Didn’t see it mentioned but good to know about: UCR matrix profile.

The Matrix Profile is honestly one of the most underrated tools in the time series analysis space - it's ridiculously efficient. The killer feature is how it just works for finding motifs and anomalies without having to mess around with window sizes and thresholds like you do with traditional techniques. Solid across domains too, from manufacturing sensor data to ECG analysis to earthquake detection.

https://www.cs.ucr.edu/~eamonn/MatrixProfile.html

jmpeax · 8 months ago
What do you mean you don't have to mess around with window sizes? Matrix profile is highly dependent on the window size.
jmpeax commented on GitHub cuts AI deals with Google, Anthropic   bloomberg.com/news/articl... · Posted by u/jbredeche
Yodel0914 · 10 months ago
I find chatgpt incredibly useful for writing scripts against well-known APIs, or for a "better stackoverflow". Things like "how do I use a cursor in sql" or "in a devops yaml pipeline, I want to trigger another pipeline. How do I do that?".

But working on our actual codebase with copilot in the IDE (Rider, in my case) is a net negative. It usually does OK when it's suggesting the completion of a single line, but when it decides to generate a whole block it invariably misunderstands the point of the code. I could imagine that getting better if I wrote more descriptive method names or comments, but the killer for me is that it just makes up methods and method signatures, even for objects that are part of publicly documented frameworks/APIs.

jmpeax · 10 months ago
Same here. If you need to lookup how to do something in an api I find it much faster to use chatgpt than to try to search through the janky official docs or in some github examples folder. Chatgpt is basically documentation search 2.0.
jmpeax commented on GitHub cuts AI deals with Google, Anthropic   bloomberg.com/news/articl... · Posted by u/jbredeche
jmpeax · 10 months ago
So "cut a deal" means to make a deal rather than sever a deal?

u/jmpeax

KarmaCake day399January 22, 2012View Original