Live data from Hacker News

Viewing profile — ptrwis

ptrwis

HN member
Joined
Wed, Oct 02, 2019, 3:12 PM UTC
HN karma
91
Public activity
87 items

About ptrwis

No profile information was provided.

Recent public activity

  1. comment
    Comment #48853491

    Not the OP, but yes - just imagine a web server talking to DB over one connection without any connection pooler

  2. comment
    Comment #47738042

    When you pair-programming with AI, even Haiku is very good. Just treat is as you assistant.

  3. comment
    Comment #47477444

    I'm currently writing simulations of trading algorithms for my own use. I'm using worker_threads + SharedArrayBuffer and running them in Bun. I also tried porting the code to C# an…

  4. comment
    Comment #47333959

    You can fix you code 10 times you will fix it.

  5. comment
    Comment #47055238

    I'm saying Haiku isn't that bad, it's good enough for my needs, and it's the cheapest one. Maybe it's because I'm giving it small, well defined tasks.

  6. comment
    Comment #47053142

    I also use Haiku daily and it's OK. One app is trading simulation algorithm in TypeScript (it implemented bayesian optimisation for me, optimised algorithm to use worker threads). …

  7. comment
    Comment #46568497

    I mean, aren't system calls thread-safe?

  8. comment
    Comment #46568466

    Doesn't (honest question) the operating system kernel prevent data races in memory accesses at the level of system calls like brk? I wonder at what level the operating system handl…

  9. comment
    Comment #45713111

    What do you think, there are milions of people or companies running NetBSD on 486 to protect the planet from e-waste? How many times have you replaced your phone with a newer model…

  10. comment
    Comment #45474021

    Maybe in the future, if the language has very good AI support, security guarantees of the language won't be as important, as it (ai) will find potential bugs well enough. This may …

  11. comment
    Comment #45210232

    For me it is natural that since the desktop environment is the most important part of the desktop operating system, it should have its own distribution.

  12. comment
    Comment #44626830

    For some background, it is now a single guy paid by Microsoft to work on implementing async direct I/O for PostgreSQL (github.com/anarazel)

  13. comment
    Comment #42624277

    Maybe such operators for basic linear algebra (for arrays of numbers) should be just built into the language instead of overloading operations. I'm not sure if such a proposal does…

  14. comment
    Comment #42624149

    With comp-time reflection you can build frameworks like ORMs or web frameworks. The only trade-off is that you have to include such a library in the form of source code.

  15. comment
    Comment #42332154

    let name = $state('blastonico')

  16. comment
    Comment #41273512

    SQLite for embedded or desktop apps.

  17. comment
    Comment #39942808

    Durable Objects have a bit weird programming model for me, I hope this one will be easier.

  18. comment
    Comment #38364382

    In my experience, long polling is more stable and you can enable transfer compression. Maybe it would be good in Blazor to disable the persistent connection completely, having only…

  19. comment
    Comment #37813046

    In DDR5 you have two memory channels per module.

  20. comment
    Comment #37801165

    If you care more about development experience than users, that's fine, but in the case of SPA, JS frameworks will be faster and lighter. For me the problem with TypeScript is not t…

  21. comment
    Comment #37801070

    My applications run on intranet/VPN behind IIS with Windows Authentication. If not WA, I would always choose Blazor Wasm, it gives you more control over what you do. When building …

  22. comment
    Comment #37800899

    You can, but then JavaScript frameworks or "old" SSR/MVC are just better.

  23. comment
    Comment #37800871

    On the other hand, remote work is very popular today, but if employees want to work remotely, it's their problem to have a good internet. I tested the Blazor server on a poor cellu…

  24. comment
    Comment #37798393

    In Blazor Server, for things like drag and drop or any mouse movement events, you should avoid tying them to server-side handlers, but you can also just write JavaScript code. The …

  25. comment
    Comment #37798250

    Blazor is not intended for websites, it is intended for enterprise, intranet CRUD applications with interactive forms, tables, etc. Especially if you already have .Net on the backe…