News for hackers. Stuff that matters.

TeamDman

Re:How to Train Your Robot on Friday October 23, 2026 @10:41AM (#50209880)
Great video, thank you for sharing
Re:How to Write an Email on Thursday July 09, 2026 @03:08PM (#48850929)
Important formatting has been lost on this page in section 14.
Re:Maybe you shouldn't install new software for a bit on Friday May 08, 2026 @08:42AM (#48062241)
What alternative do you propose for downloading binaries off the internet, placing them in the "right spot" and doing post-install operations like updating PATH that dont have gotchas equivalent to running "untrusted" code like curl|sh?
Re:Thoughts on Slowing the Fuck Down on Thursday March 26, 2026 @09:59AM (#47530545)
I've found LLMs decrease the friction in enabling more pedantic lints and tooling. It is a quantity problem because enabling all the aggressive warnings in the compiler makes a lot of work, and its a quality outcome because presumably addressing every warning from the compiler makes the code better
Re:A Grand Vision for Rust on Sunday March 08, 2026 @12:58AM (#47294904)
I use Rust for command line applications.

I find that CLI is a great way to model problems. When I find myself doing something that has graduated beyond a comfortable amount of PowerShell, Rust is there for me.

I have a template I've been evolving so it's super easy to get started with something new; I just copy the template and slam Copilot with some rough ideas on what I want and it works out.

https://github.com/teamdman/teamy-rust-cli

Just today used it to replace a GitHub stats readme svg generator thing that someone else made that was no longer working properly.

https://github.com/TeamDman/teamy-github-readme-stats

Decomposes the problem very nicely into incrementally achievable steps

1. `fetch <username>` to get info from github into a cache location 2. `generate <username> <output.svg>` to load stats and write an svg 3. `serve` to run a webserver to accept GET requests containing the username to do the above

Means that my stuff always has `--help` and `--version` behaviours too

Re:Time Is Different on Thursday February 26, 2026 @11:48AM (#47168538)
I enjoyed Dave Cridland's comment more than the article. The article is dismissive of AI and other technologies in an unsubstantiated way.

New things are happening and it's exciting. "AI bad" statements without examples feel very head-in-sand.

for 50,000 rows I'd much rather just use fzf/nucleo/tv against json files instead of dealing with database schemas. When it comes to dealing with embedding vectors rather than plaintext then it gets slightly more annoying but still feels like such an pain in the ass to go full database when really it could still be a bunch of flat open files.

More of a perspective from just trying to index crap on my own machine vs building a SaaS

Re:LaTeX Coffee Stains [pdf] (2021) on Thursday January 08, 2026 @02:27PM (#46545312)
See also: using Mathematica for drawing the circles like in the movie Arrival

https://youtu.be/r8nTifCIr0c

Re:How uv got so fast on Friday January 02, 2026 @09:12AM (#46464901)
Re:Ask HN: What are you working on? (May 2025) on Sunday May 25, 2025 @10:13PM (#44093315)
Neat! Have a repo?
Re:Show HN: Real-time AI Voice Chat at ~500ms Latency on Tuesday May 06, 2025 @12:01PM (#43906642)
Python dependency management sucks ass. Installing pytorch with cuda enabled while dealing with issues from the pytorch index having a linux-only version of a package causing shit to fail is endlessly frustrating

A good ecosystem has lockfiles by default, python does not.

Re:Careless People on Monday April 28, 2025 @12:20PM (#43823152)
Neat link, thank you for sharing.
Re:Deterministic simulation testing for async Rust on Monday April 07, 2025 @08:52AM (#43610705)
Neat! Must be very satisfying for this to be working now. I wonder if it's feasible to get it working on a multi threaded runtime
Tried it out, very cool! Fun to see it chugging on a bunch of rows. Had a weird issue where it would recompute values endlessly when I used it in a table, but I had another table it worked with so not sure what that was about
If incentives to stay outweighed leaving, people would stay.
I was unable to find any section titled "disclaimers" other than one saying "The authors have no financial interest to declare in relation to the content of this article."

Is there something specific you are trying to point at?

Re:The Cognitive Style of PowerPoint [pdf] on Thursday January 02, 2025 @09:01AM (#42574462)
It took much more than 24 words to achieve the final result, and also had to use emojis to convey what I wanted lol

Even still I couldn't quite get the result I wanted

Image link

https://chatgpt.com/share/67769bef-537c-800f-90ac-35a44747f0...

Re:App Should Have Been a Website (and Probably Your Game Too) on Tuesday December 31, 2024 @04:38PM (#42562038)
I've recently been summarizing entire directories into a single chunk of text for use with Gemini, the other day I overshot and ended up pasting 28 million characters into vscode. It handled it pretty well.
Re:Can AI do maths yet? Thoughts from a mathematician on Monday December 23, 2024 @11:10AM (#42495422)
Is this the AWS thing you referenced? https://aws.amazon.com/what-is/automated-reasoning/
Re:Just: Just a Command Runner on Sunday December 08, 2024 @07:03PM (#42361872)
very neat but already hitting cases where it doesn't play nice with pwsh scripts, even using the shebang. Back to using a dir full of .ps1 files I guess lol
Re:Using Rust in Non-Rust Servers to Improve Performance on Tuesday October 29, 2024 @09:51AM (#41983828)
Swift does apparently, here's an example from ChatGPT

    enum Animal {
        case dog(name: String)
        case cat(name: String)
        case bird

        func sound() {
            switch self {
            case .dog(let name):
                print("\(name) says Woof!")
            case .cat(let name):
                print("\(name) says Meow!")
            case .bird:
                print("Tweet!")
            }
        }
    }
and another with nesting

    enum Thing {
        case first(x: Int)
        case second
    }

    enum Outer {
        case ok(Thing?)
    }

    let value: Outer = .ok(.some(.first(x: 42)))

    switch value {
    case .ok(.some(.first(let x))):
        print("Matched with x = \(x)")
    case .ok(.some(.second)):
        print("Matched .second")
    case .ok(.none):
        print("Matched .none")
    }
Re:History of the Grant Matcher Puzzle – October 03, 1998 on Wednesday September 25, 2024 @01:05AM (#41643868)
Reading the history of the Grant Matcher puzzle has given names to some concepts that I have brushed against but haven't deeply explored.

https://capnproto.org/rpc.html led me to http://erights.org/elib/equality/index.html led me to http://erights.org/elib/equality/grant-matcher/index.html led me to (the submitted link) http://erights.org/elib/equality/grant-matcher/history.html

Re:Codestral: Mistral's Code Model on Thursday May 30, 2024 @02:08PM (#40526849)
I mean, with a nonzero temperature, the randomness will eventually produce every combination of tokens in the corpus, so with a sufficiently large "all the time you want" you can produce limitless correct answers
Re:Big data is dead (2023) on Monday May 27, 2024 @02:53PM (#40493495)
Would probably try https://github.com/pola-rs/polars and go from there lol
The expansion-contraction of information as it passes between systems is interesting. Json takes more space than a binary protocol, but it is a more human friendly representation.

Programming languages are a moderately unambiguous way to describe procedures and transformations, but natural language can be more concise.

I wonder if language will drift and become more personalized with ai enabling easy translation between language islands

Re:Noi: an AI-enhanced, customizable browser on Sunday May 19, 2024 @05:34PM (#40409919)
On the topic of AI web browsers, a feature to audit the people whose comments I read would be an interesting feature. Also made me think of: https://www.reddit.com/r/OutOfTheLoop/comments/94638i/what_i...
Re:Infrastructure as code is not the answer (2022) on Friday April 05, 2024 @09:52AM (#39942393)
To avoid data loss in prod, you best be using

    lifecycle {
        prevent_destroy = true
    }
https://developer.hashicorp.com/terraform/tutorials/state/re...

> trying to get some old module to work in a new cloud environment where a bunch of assumptions about how things are done no longer apply

Square hole type energy. Just because you can coerce the code to run doesn't mean it's a good idea.

New environment, new assumptions, new code. Copy-paste what's relevant, but in a new project.

> getting totally confused because what they see in the code doesn’t match reality

Terraform compares state to detect drift? When reality doesn't match code, you clobber reality or you update the code.

> It Prevents Drift!

> This is true if and only if, you only ever, ever, ever, create code to change things in your environment.

It at least makes drift obvious, even if it requires attention for it to be addressed.

> code is, in my opinion, really not good at being documentation

Unlike comments, IaC "can't" be inaccurate after applying.

> But in my experience, the effort to keep your code up-to-date is a sink for engineering time.

If the code is out of date, it's because you made a click change and didn't update the code. When this happens, terraform tells you exactly what changed in simple scenarios, and in more complex scenarios you can use import blocks to rein things in.

> Yes it’s a clickbait headline. You clicked on it, didn’t you?

Got me good. The article is a good launchboard for discussion.

Overall, the IaC scene has plenty of room for growth. Terraform import blocks and code generation is helping reduce the problem of "I clicked in the portal now I gotta update the code" because you can sync both ways. Code updates infra, infra can be used to generate code.