Live data from Hacker News

Viewing profile — mrloba

mrloba

HN member
Joined
Fri, Jan 25, 2019, 8:28 PM UTC
HN karma
162
Public activity
45 items

About mrloba

No profile information was provided.

Recent public activity

  1. comment
    Comment #48172821

    Human accomplishment is a predictor of future accomplishment. AI not as much. Human effort signals value, AI does not. Human effort is often inviting collaboration. AI rarely does.…

  2. comment
    Comment #47775015

    I really doubt spec driven development is gonna last. As before, creating working software and iterating on it is faster and makes it easier to understand what you thought you want…

  3. comment
    Comment #47574458

    That depends on how many details I specify. If I specify a lot, I usually get what I want. But in the extreme this is just another form of coding (high quality code is quite simila…

  4. comment
    Comment #45869261

    Well they then use more AI to try to fix the PR, which leads to many more rounds of the same. It's like I'm coding using an AI except through a real person who mangles the prompt. …

  5. comment
    Comment #45869168

    It is everywhere. Even on birthday invites for my kids there's nonsense from an LLM. At work I review PRs with code that doesn't even run. Doing research is harder than ever as mor…

  6. comment
    Comment #42025331

    One of my favourite features in n++ is to enable "show all characters". Discovered a lot of weird end-of-line and bom issues like that

  7. comment
    Comment #41884118

    I always found that a simple merge style patch is enough, and a lot simpler. You just have to know that there is a difference between null and undefined. For large arrays, it's usu…

  8. comment
    Comment #41164557

    The problem with this standard is all the free text and bank specific fields that banks will use instead of the standard. One bank I integrated with had the equivalent of "Our fee …

  9. comment
    Comment #39904404

    Then you should store the time as well, because the number of decimals in a currency can change (see ISK). Also, some systems disagree on the number of decimals, so be careful. And…

  10. comment
    Comment #39104196

    I agree, and I just want to highlight what you said about generating a config file. It's extremely useful to constrain the config itself to something that can go in a json file or …

  11. comment
    Comment #38918993

    People who are more into it usually prefer human made puzzles since they often have a logical path that you're supposed to find, which can be quite satisfying. Generating sudoku pu…

  12. comment
    Comment #38918617

    Has anyone had any success in code generation? I feel like chatgpt usually completely fails to write even a small function correctly unless it's a very trivial or well known proble…

  13. comment
    Comment #38871122

    It's not perfect, but I have had success running postgres in Docker and running integration tests against that. Usually you can trigger the problem by running a handful of queries …

  14. comment
    Comment #38846342

    It's a running joke in our org that we should always vote for a new government. Keep making the dependency graph messy and we'll keep having a job

  15. comment
    Comment #37570221

    If you have different currencies you need to keep track of the number of decimals used, e.g. YEN has 0 decimals, bitcoin has 6, etc. It could even change over time like Icelandic I…

  16. comment
    Comment #36642806

    My experience is the opposite of yours. With typescript I use an openapi spec to validate and generate types. For other entry points I use typebox to create validators and generate…

  17. comment
    Comment #36642570

    You can easily parse json into types using something like typebox. Not only does this work, it works much better than many other languages. Have fun trying to represent even a simp…

  18. comment
    Comment #34209866

    True, but there might not be a big need for unit testing the glue code. By its very name it doesn't contain much logic to test. Integration tests are more valuable in this case.

  19. comment
    Comment #33975549

    Nodejs now has async local storage built in, which makes this fairly easy.

  20. comment
    Comment #31787852

    Last time I worked on call I was compensated 2 hours overtime for every time I opened the laptop, as well as a fixed rate for the week. I was also able to convert some of the fixed…

  21. comment
    Comment #31491977

    What are the main differences to aws lambda? Will you be transparent about how it works, such as when a function is frozen? This is something I miss with many Aws services

  22. comment
    Comment #31329044

    I've had great success with having a monolithic code base with multiple entry points. Each entry point is sort of a micro service (or just service), but it can access the same db a…

  23. comment
    Comment #30820750

    Very nice, I found myself nodding along with almost everything in this post. One thing I do a bit differently is that I usually put the API handlers in their own module (they're us…

  24. comment
    Comment #29448257

    Uri's are hierarchical, and hierarchies are notoriously difficult to get right. Even if you get them right, the definition of right often changes over time. In my experience, thing…

  25. comment
    Comment #28699917

    In general a function component does a lot more work than a class render function. Some of it is just about handling cases that we probably should have done with classes as well, b…