Live data from Hacker News

Viewing profile — flakes

flakes

HN member
Joined
Fri, Aug 11, 2023, 4:59 PM UTC
HN karma
721
Public activity
160 items

About flakes

No profile information was provided.

Recent public activity

  1. comment
    Comment #49164543

    I interviewed with Microsoft at the end of 2016 as a new grad and was given the same marble question over the phone. I then made it to the on site interview where I failed horribly…

  2. comment
    Comment #49050470

    IMO a release workflow would be better with something like this: 1) Upload all files in a staging state. Can be done asynchronously via multiple build hosts. Files in this state ar…

  3. comment
    Comment #48808424

    What exactly isn’t a language feature? Or do you have issues with semantics? var _ Foo = (*Bar)(nil) The statement asserts that Bar struct pointers are assignable to a Foo interfac…

  4. comment
    Comment #48804286

    How is a package level interface check a “language hack”? They are straight forward and provide a user the same compile time guarantees as the Java implements keyword.

  5. comment
    Comment #48799917

    > Isn’t this a symptom of structural/duck typing where interfaces are not declared Yes, essentially duck typing. See https://github.com/golang/go/blob/65504872cbca64d77f45828409...…

  6. comment
    Comment #48799580

    sendfile(2) and io.ReaderFrom both return the number of bytes transmitted. The issue is that users are unaware of (or forget about) the optional interface upgrades and fail to defi…

  7. comment
    Comment #48597817

    We did do a lot of work sealing the exterior of the home, as well as removal of bird feeders near the house itself. The poison likely wasn’t a silver bullet, but I recall it (along…

  8. comment
    Comment #48595377

    One is not really better, you want both. Certificate revocation lists are loaded out of band and depending on the client can be poorly enforced. Questions come up: do you block a r…

  9. comment
    Comment #48595035

    When we had mice in our house years ago, we tried for a few weeks setting poison bait in the garage to get rid of them. We could tell the mice were eating the bait, but there was s…

  10. comment
    Comment #48333297

    These models are getting crazy good at examining things like core dumps and disassembly. I've been using an agent to write compiler logic, and its amazing the kind results you can …

  11. comment
    Comment #48040071

    One of the classic examples is highway traffic. You want to prevent traffic jams, so you increase the number of lanes. However, now that there are more lanes, people see less “cost…

  12. comment
    Comment #48029013

    Thanks for the correction. I did mean given the same tooling version/parameters, but (as you and others pointed out) preserving and recreating that state is not at all straightforw…

  13. comment
    Comment #48028686

    Thats true. And regardless of compressed vs regular tar, I think the OCI format working with opaque archives is extremely limiting. I hope the industry will eventually redesign to …

  14. comment
    Comment #48026840

    Recompressing should be guaranteed deterministic. It’s the packing/unpacking of tar archives to/from directories on disk that leads to the non-determinism (such as timestamps and o…

  15. comment
    Comment #47758685

    When a child process finishes (that is not actively being waited on) it is left in a "defunct" or "zombie" state and will stick around in the process table until the parent process…

  16. comment
    Comment #47668306

    > "this test failure is preexisting so I'm going to ignore it" Critical finding! You spotted the smoking gun!

  17. comment
    Comment #47655196

    I would say that this is limited to a targeted Go version and architecture. For example, the filter checks for the goroutine pointer on `r28` which is correct for arm64 but not uni…

  18. comment
  19. comment
    Comment #47418254

    You’ll probably want to look to the PEPs. Havent dug into this topic myself but looks related https://peps.python.org/pep-0744/

  20. comment
    Comment #47084883

    I'd say a lot of users are going to borrow patterns from Go, where you'd typically check the error first. resource, err := newResource() if err != nil { return err } defer resource…

  21. comment
    Comment #47017719

    Thats interesting. If you’re on Chrome I’d try out Firefox just to see. I haven’t had any issues for a long time.

  22. comment
    Comment #46628184

    I find it better to bubblewrap against a full sandbox directory. Using docker, you can export an image to a single tarball archive, flattening all layers. I use a compatible base i…

  23. comment
    Comment #46485012

    Maybe it's a mix of me using the site less, or questions I previously answered not being as relevant anymore, however as it stands, it's just not fun to visit the site any more. I …

  24. comment
    Comment #46351454

    > Maybe once every four years on leap day or something. Advantage: You no longer need to fix that leap day bug on your website.

  25. comment
    Comment #46351386

    I do the same, but I skip rsync for git. git clone $uri dotfiles; export HOME=$(pwd)/dotfiles These days, my laptop acts as a dumb SSH gateway for Linux VMs. No configuration or se…