Live data from Hacker News

Viewing profile — kpmah

kpmah

HN member
Joined
Fri, Sep 20, 2013, 12:33 PM UTC
HN karma
508
Public activity
121 items

About kpmah

http://kevinmahoney.co.uk

Recent public activity

  1. comment
    Comment #47305751

    Experimenting with operational transforms with https://rootdoc.app

  2. comment
    Comment #45873222

    I wanted to try a non-trivial project with AI assistance and I enjoy writing compilers, so https://vegen.dev I'll write up my experience in a blog post

  3. comment
    Comment #42756926

    I watch this show, but one of the most annoying things about it is that the traitors are incentivised to murder the smartest, most intuitive players first, leaving people they can …

  4. story
  5. comment
    Comment #41797669

    I recently came across (but haven't yet used) Typia, which appears to let you do validation with regular TypeScript syntax: https://github.com/samchon/typia

  6. comment
    Comment #36478240

    Author here, 8 years on. Although the advantages are real, I can't say I have had much opportunity to implement schemas like this. The extra complexity is usually what gets in the …

  7. comment
    Comment #34984252

    Another misconception is that they somehow scale horizontally "better". They do let you scale components independently of each other, but this isn't as useful as a lot of people se…

  8. comment
    Comment #31562781

    Even if it doesn't directly cause extinction, it could do things like destabilise nuclear powers.

  9. comment
    Comment #29762439

    Science denial. It's not going to stop at 'a little warmer'. https://skepticalscience.com/10000-years-warmer.htm

  10. comment
    Comment #29712899

    A review of 'Apocalypse Never': https://yaleclimateconnections.org/2020/07/review-bad-scienc...

  11. comment
    Comment #29604362

    Obviously you're in a better position to evaluate the trade-offs for your application than I am, so I'm not saying your decision is wrong, but this can potentially decrease availab…

  12. comment
    Comment #29603697

    To spell out good reasons for doing this: If you're already using Postgres, you can avoid increasing operational complexity by introducing another database. Less operational comple…

  13. comment
    Comment #28058585

    I'm a type enthusiast, but dynamic languages make a lot of sense for small programs that either give you an immediate answer or fail to run (i.e. not long running, few branches). I…

  14. comment
    Comment #27577472

    I've worked at a place where this was cargo-culted and it worked horribly. All the worst aspects of 'services-first' design. I think this works much better when each team is workin…

  15. comment
    Comment #27482186

    The NHS is one of the most efficient health systems in the world.

  16. comment
    Comment #26831055

    The discussion here is frustrating because people are assuming that you'd pass the SQL directly to your database backend and expose your entire schema and all your data. SQL is jus…

  17. comment
    Comment #26326144

    This spreadsheet-style functional programming is quite similar to a (very limited) prototype I wrote a while ago: https://kevinmahoney.co.uk/ocell/#example/polynomial.json

  18. comment
    Comment #26251491

    To add to that, I think the biggest thing to take away from Conway's law is that splitting teams of developers becomes a technical problem. If your goal is to efficiently build a p…

  19. comment
    Comment #26248673

    I think what I'm trying to say is that my definition of a module as a "unit of encapsulation or understanding" is the more inclusive and general one, as it includes network and pro…

  20. comment
    Comment #26248207

    Specifically in the context of modules, I think it is a bad thing. It's hard to describe because I do it quite intuitively, but (very broadly) the way I find module boundaries is b…

  21. comment
    Comment #26248047

    IMO this is a confused take on modularity. I think isolation and security are related concepts, but not what modules are for. Those things have to follow module boundaries, but the…

  22. comment
    Comment #26192995

    The main problem I have with the 'monolith first' advice is that it implies 'microservices later'. It feels like people have forgotten how to build good, simple, modular code.

  23. comment
    Comment #25398863

    If it is so obvious, why are all the legal challenges, even the ones involving Trump-appointed judges, failing? Why can't the challengers come up with a scrap of evidence?

  24. comment
    Comment #24940742

    As with Rust's 'unsafe', the fact that you can explicitly circumvent checks doesn't make those checks useless. If something goes wrong you know exactly where to look.

  25. comment
    Comment #24744779

    But, in the general case, who is this lowest common denominator programmer you are writing for? I can probably work out a few lines of terse Haskell more quickly than a page or two…