Live data from Hacker News

Viewing profile — ManBeardPc

ManBeardPc

HN member
Joined
Tue, Nov 14, 2023, 12:28 PM UTC
HN karma
683
Public activity
122 items

About ManBeardPc

Software Engineer

Recent public activity

  1. comment
    Comment #48831209

    Don‘t know any other runtimes that have that by default. Probably kind of possible in Erlang or so by transferring the state, but stopping and moving a green thread in the middle o…

  2. comment
    Comment #48830317

    Last I checked (and remember right) they used Stackless Python. Very interesting, it can serialize tasklets and send them to another machine to continue executing. Seems no longer …

  3. comment
    Comment #48276280

    It was an improvement in some regards, but a pita most of the time. Before I had to work on an Angular project React was my least favorite frontend library. Solid.js gave me back m…

  4. comment
    Comment #46515171

    News in general. Also works well in sales, see how often financial "advisors" try to convince people the market is crashing soon and everything except their product is unsafe and h…

  5. comment
    Comment #46229714

    The endgame is to normalize punishing groups/individuals for any reason on a whim of the ones in charge. Start with minorities and people who can’t defend themselves, then later yo…

  6. comment
    Comment #46202628

    My next company‘s boss was pretty much Windows only (server and desktops/laptops, some Linux servers). Linux on the server was already replacing more and more machines. Now I am ev…

  7. comment
    Comment #45647586

    It will be a big one for people living near the coast. Basically all port infrastructure will need to be moved. Of course there a things like extreme heat waves, cold snaps, lack o…

  8. comment
    Comment #45490743

    Yes, that is exactly what is happening. 2000W solar panels feed the battery, up to 800W are allowed to be fed back into the grid/house network. Keep in mind you could also plug a 3…

  9. comment
    Comment #45490069

    The awesome part is you can circumvent the 800W. First you can legally install 2000W solar panels, making 800W output much more likely. The 800W is only how much you can feed back …

  10. comment
    Comment #45343401

    Huge barrier of entry. It requires a lot of integration and investment. Getting another supplier to move usually involves handing over big bills. Even then it is not guaranteed tha…

  11. comment
    Comment #45321450

    Regarding async I kind of agree with you right now, but the new design is there and currently getting implemented. If you don’t believe it will work out or need to use async right …

  12. comment
    Comment #45321250

    The point is the code is on another type. Any variable could by of a type that implements some Drop logic. It is mostly called implicitly where it is used, wether you as a programm…

  13. comment
    Comment #45321138

    Drop yes. Thanks for the correction. It is clear when it is called, but you have to check in code you are not currently seeing as any type could implement it. May seem like a minor…

  14. comment
    Comment #45316686

    Not only being text based but also having another separate language is problematic. Rust also has powerful declarative macros but it is it’s own language. Procedural macros and cra…

  15. comment
    Comment #45316538

    You can ofc use the *alloc from libc if you want. Otherwise there are different ones in the standard library, ArenaAllocator wraps another allocator, FixedBufferAllocator uses a gi…

  16. comment
    Comment #45315235

    It has proper arrays and slices, even being able to define a sentinel value in the type system, so you know when it is a C string or a slice with a specific size with arbitrary val…

  17. comment
    Comment #45315125

    Comptime is very nice but certainly more limited then Lisp. You can't generate arbitrary code with it. But good enough to implement something like JSON serialization or Struct-of-A…

  18. comment
    Comment #45314257

    Like a modern C with lessons learned. Instead of macros it uses Zig itself to execute code at runtime (comptime). Custom allocators are the norm. No hidden control flow, everything…

  19. comment
    Comment #45223924

    Maybe on the condition that the law was struck down by courts. Otherwise it would block iterations on any controversial topics that need time to reach consensus. Some others here a…

  20. comment
    Comment #45209541

    It would probably be toppled by courts, yes. Anyway, meanwhile they already start implementing it, developing the technology and infrastructure they can base on the next time where…

  21. comment
    Comment #45209514

    Glad we could delay it for now. It will come back again and again with that high of support though. Also the German Bundestag is already discussing a compromise: https://www.bundes…

  22. comment
    Comment #45193572

    A battery case would work too. Was just hoping for a model that is trimmed and optimized for longer trips outside the city/with absence of reliable power sources. Cut some of the p…

  23. comment
    Comment #45193437

    The way it is currently yes. But hardware is way more efficient now. Why not sacrifice performance and optimize a bit more in that direction? It is plenty fast already for everyday…

  24. comment
    Comment #45188652

    I want an extra thick model instead, let’s call it iPhone Travel (or Ultra?). Just thick enough so the cameras are no longer sticking out. Give me an all-week battery instead of an…

  25. comment
    Comment #45188316

    But hey, at least the battery is (partially) replaceable that way.