News for hackers. Stuff that matters.

euiq

Re:The startup's Postgres survival guide on Wednesday July 22, 2026 @12:06PM (#49008976)
You can do safe parametrization with PREPARE, you don't need CREATE FUNCTION. Don't most PostgreSQL libraries handle such concerns for you, anyway?
Re:Better Models: Worse Tools on Sunday July 05, 2026 @05:49AM (#48792753)
Pi already emits good errors messages; I always see Claude Opus 4.8 correct itself in its next attempt when it gets a tool call wrong.
`uv.lock` pins exact versions (and hashes) of your dependencies.
Re:Bourbaki – A Secret Society of Mathematicians on Friday August 29, 2025 @03:50PM (#45068607)
General Topology is valuable, especially for the filter perspective; so are some of the Algebra volumes.
I know that `git rebase` changes the committer date while keeping the author date the same, so I'm assuming something similar happened here. For example, many of the early commits have this committer date with varying author dates:

    $ git show --format=fuller 3dafc8f5de6ffe46fb223a75a46a6bd848b6daf8
    commit 3dafc8f5de6ffe46fb223a75a46a6bd848b6daf8
    Author:     Kenton Varda <[email protected]>
    AuthorDate: Thu Feb 27 17:15:37 2025 -0600
    Commit:     Kenton Varda <[email protected]>
    CommitDate: Tue Mar 4 14:48:59 2025 -0600
    
        Add storage schema by Claude.
GitHub uses the committer date for its history, which is annoying if you rebase frequently; I like to run a non-interactive `git rebase` with `--commmiter-date-is-author-date` in such cases.
Re:Kevin Buzzard on Grothendieck's use of equality on Monday May 20, 2024 @04:12PM (#40419734)
let me guess: you haven't read the article, have you?
Re:Meta Llama 3 on Friday April 19, 2024 @08:45AM (#40086136)
He’s built up an impressive amount of clout over a short period of time, mostly by interviewing interesting guests on his podcast while not boring listeners to death (unlike a certain other interviewer with high-caliber guests that shall remain nameless).
Re:Fedora 41 will unify bin and sbin on Sunday April 14, 2024 @11:07AM (#40031629)
I agree that “/usr/sbin directory becomes a symlink to bin” can be confusing for new users, but I don’t think it’s wrong: I interpret this statement as saying that /usr/sbin is going to be a relative symlink with target bin, which would indeed make it resolve to /usr/bin.
Re:Tacit Programming on Sunday February 25, 2024 @05:51AM (#39499696)
Recent versions of F# can stop on individual function applications in an expression like

    x
    |> f a
    |> g b
    …
(search for "pipeline debugging" on < https://devblogs.microsoft.com/dotnet/whats-new-in-fsharp-6/>).

In my experience, these are more common than strict point-free style anyway.

Re:Tacit Programming on Sunday February 25, 2024 @05:45AM (#39499668)
It's a joke.
Re:Tacit Programming on Sunday February 25, 2024 @05:44AM (#39499666)
I assume they're talking about code like

    x
    |> f a
    |> g b
    …
… where everything after the first |> is essentially in point-free style.
Re:ChatGPT for Teams on Friday January 12, 2024 @01:48PM (#38972194)
Your posts are my favorite thing about Hacker News, both because of the things you're saying and the way you're saying them; please don't let anyone tell you otherwise.
Re:For processing strings, streams in C++ can be slow on Thursday December 07, 2023 @07:27AM (#38555616)
This feels like a conversation where it would have been useful for the participants to be very explicit about the points they were trying to convey: the reviewer could have said "Isn't this a quadratic algorithm, because each call to `+=` reallocates `escaped_file_path`?" (or whatever their specific concern was; I may have misunderstood), and the author's initial response could have been "No, because the capacity of the string is doubled when necessary."
Re:Progress on No-GIL CPython on Friday October 20, 2023 @05:13PM (#37961608)
I think you're missing that your needs are different from those of the people quoted in PEP 703: <https://peps.python.org/pep-0703/#motivation>
Re:Populating the page: how browsers work on Friday October 13, 2023 @01:48PM (#37873400)
I don't think that "flickers between tasks very rapidly to simulate concurrency" is a good mental model for event loops. It's more like "runs one task at a time until it hits a suspension point," where a suspension point is something like an I/O operation. If you had an event loop that switched tasks between suspension points, then you'd still need locks for shared data.
Is this a situation that you find yourself in frequently (with serious work sparked by chance conversations)? It sounds awfully cliché.
Re:The Tao of Programming on Wednesday September 27, 2023 @04:57PM (#37681200)
Intellectual property rights should be abolished.
Re:Why Kakoune on Thursday September 21, 2023 @01:57PM (#37601415)
I am intensively envious of people who type this fast; I get up to 100 words per minute on a good day. Time to get a new pair of hands?
Re:Gokrazy Is Cool on Wednesday September 20, 2023 @06:42PM (#37591087)
> It seems the developer works for Tailscale in an evangelist / developer relations role. I feel that ought to have been disclosed in this article.

Note that the author of gokrazy is Michael Stapelberg (perhaps better known for writing i3), who doesn't seem to be directly affiliated with Tailscale.

Re:I hacked macOS CVE-2022-32947 on Sunday September 17, 2023 @08:20AM (#37544277)
the whole vtuber thing is not really for me, but i appreciate the effort that went into this presentation—did you make all the way to <https://asahilina.net/agx-exploit/#/demoslide>?
Re:It's MY Monitor on Sunday September 10, 2023 @06:26AM (#37454530)
Now this I can understand—why would you do that?!
Re:What happened in this GPT-3 conversation? on Tuesday August 08, 2023 @04:15PM (#37054875)
Where's my beef tallow LLM?
> What drives me nuts is autocomplete, because it pops things into my vision automagically while I'm trying to focus on the code, and even effects a mode change (some keys do different things when autocomplete is active).

Totally agree! I disable "press Enter to accept suggestion" in JetBrains IDEs for this reason.

Re:$900k Median Package for Engineers at OpenAI on Saturday June 24, 2023 @01:41PM (#36460863)
Oh no, I will let Sam know right away!
He doesn't even seem to be remarkably short in the first place. Here's a random picture that I found on the internet: <https://www.hwlegend.tech/wp-content/uploads/2020/06/Jim-Kel...>
After listening to the interview, I totally get what you mean—what a wonderful perspective on computers he has.
Re:It’s Not the Chemicals, It’s the Cages on Sunday June 11, 2023 @03:32PM (#36284784)
this exchange is so hacker news
Re:Searchable and sortable H1B salary database on Sunday June 11, 2023 @07:13AM (#36280235)
At a glance, the numbers on the site you linked to look much more believable.
Re:Searchable and sortable H1B salary database on Sunday June 11, 2023 @07:10AM (#36280217)
Quantitative Research as Citadel Securities is a set of specific, highly-paid, jobs.
Re:Searchable and sortable H1B salary database on Sunday June 11, 2023 @07:08AM (#36280199)
Some numbers (like $157,477.00) are very frequent; what's up with that? Is that a specific threshold that holds legal significance?

Older »