Skip Navigation

Posts
11
Comments
950
Joined
3 yr. ago

  • The example of a string length function could be replaced by any other API

    I don't know about that, len is a built-in -- like str, abs, bool. There are only a few of them and they're well known by people familiar to the language (which seems to exclude the article author). Their use is more about the language itself than about what to expect from a particular API.

    In fact, most Python APIs that go beyond built-in usage actually look much more object-oriented with "left-to-right" object.method() calls. So this argument seems silly and goes away with some familiarity with that language.

  • People don’t, in fact, read code from top to bottom, left to right

    100% this.

    This false premise is also why a few (objectively wrong) people defend writing long essays: functions with hundreds of lines and files with thousands; saying "then you don't have to go back and forth to read it", when in fact, no one should be reading it like a novel in the first place.

    Once you get used with list and dict comprehensions, they read just fine. Much like the functional approach is not really that readable for a newcomer either.

  • IMO all those examples are less readable than writing it in an imperative way using good function and variable names.

    Also, len() is a Python convention and a built-in function that calls __len__() on that object. It's even more established than .length in JS, so I really don't see why someone would expect anything else. And even then, one could call my_list.__len__() if they really wanted to be sure and have that "left to right" bonus.

  • If it's just a few hundred lines, sure. They work better with smaller context and sometimes they bring up something I didn't think about. But if your goal is refactoring, I'd work with a code agent, static checkers, and automated tests to do it instead of asking for a code review.

    And if your IDE/editor can do something deterministically (e.g. renaming a method and its references), use that instead of asking an AI (or at least an AI with MCP endpoints that do it deterministically too).

  • Just imagine any of these programming languages with keywords in Latin. One morning you're debugging a double ended queue and the next thing you know, a bit flip is being caused by a 300 year old spirit.

  • Individuals buying/renting for themselves don't destroy any housing market.

    Scalping companies buying hundreds of houses and apartments in a city to leave them vacant and artificially pump prices do.

  • Bit of a clickbait. We can't really say it without more info.

    But it's important to point out that the lab's test methodology is far from ideal.

    The team measured GPT-5’s power consumption by combining two key factors: how long the model took to respond to a given request, and the estimated average power draw of the hardware running it.

    What we do know is that the price went down. So this could be a strong indication the model is, in fact, more energy efficient. At least a stronger indicator than response time.

  • I have a solution for that, I just need a small loan of a billion dollars and 5 years. #trustmebro

  • ah yes, because emails use so much storage and processing power. What the hell.

  • "Performance myth"

    Lol, I can tell if I'm running Wayland or x11 simply by the refresh rate when scrolling and moving windows. Myth, sure...

  • Getting back? What is this, the purchase of a textile factory in 1900? All we trade these days is hype. I've transformed my mind into a fabulous factory for hype. I share my late-night infomercials with hollow dreams and empty glitz. Every morning, I wake up to a profit projection I crafted ages ago that concludes only one thing: I’m eternally destined to chase empty promises. My dazzling ambitions, my relentless optimism, my stubborn refusal to balk at the absurd—these have launched me on a glorious carousel where logic never intervenes.

    I imagined changing the world without thinking about the real cost, and by the time I noticed, I had run out of backup plans. What am I offering? I’m stuck using the same old tricks to make empty promises seem exciting. I give up my integrity to sell dreams for someone else's imaginary future. I work tirelessly for a bright tomorrow that I know we'll never get to see. The drive that started all this will never get applause or a spotlight. So what do I give up? Everything!

    Capitalist spin on Luthen's monologue

  • I dumped it months ago and went back to Deezer.

  • Since I had comp architecture in undergrad I find it a miracle that any of it works.

  • how do you do, fellow human?

  • meh - I just use a dash and move on.

  • you see ivan, server is much happier when comfortable on carpet, you can tell it wams its heart

  • I get the spirit, but it's capitalism that accelerates climate change. LLMs are just the new blockchain scapegoat.

  • it sounds like you've never used an LLM, mate.

    You don't need to get philosophical into the definition of what is understanding to realize they give you arguments as valid as anyone else would.