Live data from Hacker News

Viewing profile — throwaway143829

throwaway143829

HN member
Joined
Wed, Dec 27, 2023, 3:21 AM UTC
HN karma
42
Public activity
28 items

About throwaway143829

No profile information was provided.

Recent public activity

  1. comment
    Comment #40235995

    Why do you think this implies they are building a search service rather than just scraping your site for more training data?

  2. comment
    Comment #40218821

    Couldn't the zero value be nil? I get that some types like int are not nil-able, but the language allows you to assign both nil and int to a value of type any (interface{}), so I w…

  3. comment
    Comment #40218785

    Enums and sum types seem to be related. In the code you wrote, you could alternatively express the Hot and Cold types as enum values. I would say that enums are a subset of sum typ…

  4. comment
    Comment #40169508

    > in some sense I think you missed the point - this is what they mean by "defined so loosely as to be uninformative." By saying "in some sense" you are allowing arbitrarily abstrac…

  5. comment
  6. comment
    Comment #40051211

    What's the difference between this recipe and `impbcopy image.png`? Is it just for the pixelated effect?

  7. comment
    Comment #40000706

    Your comment seems to presume that AI will not get any better than it is now. Imagine an AI that understands how to create deep, impactful music better than humans do, because it u…

  8. comment
    Comment #39852964

    Yeah, I'm very confused by this. Why is the example also showing a hard-coded 2023 in the component usage? Shouldn't the component be responsible for rendering that?

  9. comment
    Comment #39765516

    sqlite3, but I think bulk inserts would improve perf for other DBs too.

  10. comment
    Comment #39765486

    TLDR to get better performance, use bulk inserts instead of inserting one row per query. And (unrelated to DB perf) don't use the spread operator in JS for passing function args (t…

  11. comment
    Comment #39685113

    Have you seen protobuf.js? I've dug quite deep into its generated code and have not seen any runtime magic. It's just directly working with the protobuf wire format and transferrin…

  12. comment
    Comment #39550110

    Stores don't have the space for that currently. Though it may be possible to redesign them in such a way that they do.

  13. comment
    Comment #39507348

    Can confirm, I broke the robot once when I accidentally had the sign flipped on the PID error term.

  14. comment
    Comment #39501742

    find is pretty slow compared to fd. It also spends a lot of time searching through directories like .git or node_modules which you typically want to exclude.

  15. comment
    Comment #39501436

    Handling "end of data" isn't really something that any serialization format needs to specify, so I don't think this needs to be called out for JSONL specifically. e.g. in JS if you…

  16. comment
    Comment #39429669

    HN has some really non-obvious UX, between this and the mysterious green usernames I still don't understand. And the fact that only some users can downvote. Or the weird logic behi…

  17. comment
    Comment #39339355

    Am I missing something? This doesn't sound like an attack at all. I'm interpreting it as just "don't host ffmpeg yourself and try to write distributed encoding workloads etc., just…

  18. comment
    Comment #39175898

    It looks like the one-liner function comes from their npm library... which requires a build step? At that point you could just use an SVG charting library. Good charting libraries …

  19. comment
    Comment #39104184

    Makes you wonder what comes after AI. What's the "higher order" after AI that exists today or that will exist in 10 years? I'd guess we will never understand that level of intellig…

  20. comment
    Comment #39102035

    The article is mostly talking about things like Helm charts for kubernetes, which aren't possible to define as env vars.

  21. comment
    Comment #39101951

    This article made me think it'd be nice to generate k8s JSON using TypeScript. Just a node script that runs console.log(JSON.stringify(config)), and you pipe that to a yaml file in…

  22. comment
  23. comment
  24. comment
  25. comment
    Comment #38853235

    I love the simplicity, but wiping the cache is a no-go for most serious apps.