Live data from Hacker News

Viewing profile — suremarc

suremarc

HN member
Joined
Tue, Nov 09, 2021, 11:45 PM UTC
HN karma
53
Public activity
33 items

About suremarc

No profile information was provided.

Recent public activity

  1. comment
    Comment #41184187

    Arrow is a cross-language standard. Polars is written in Rust but DuckDB is written in C++. So it's not that simple unfortunately.

  2. comment
    Comment #38323602

    Every type in Go has a zero value. The zero value for pointers is nil. So you can't do it with regular pointers, because users can always create an instance of the zero value.

  3. comment
    Comment #36729501

    > If the factory is completely inactive, how soon can it produce a single science pack? That time is the latency. That is what I am trying to explain, now for the second time. Let'…

  4. comment
    Comment #36728640

    > This isn't latency in the same sense I was using the word. But it is. If you add more factories for producing advanced chips, you can produce a chemical science pack from start t…

  5. comment
    Comment #36726730

    Think of it this way, instead. Building a multi-belt system is a pain in the ass that complicates the design of your factory. Conveyor belt highways, multiplexers, tunnels, and a b…

  6. comment
    Comment #36717493

    The ability to “share memory faster” is a bigger distinction than you make it out to be. Distributed applications look quite different from merely multithreaded or multiprocess sha…

  7. comment
    Comment #36688315

    I think we all know what someone means when they say “matrix multiplication”. Asserting that * could mean, say, the Hadamard product or the tensor product is a reach. In practice I…

  8. comment
    Comment #35715421

    I understand Fourier transforms fairly well but his video blew my mind. He has a totally original way of distilling mathematical concepts intuitively.

  9. comment
    Comment #33536215

    I don't think you can have data races (but certainly you can have race conditions) in python because of the GIL. I imagine Ruby is similar. Otherwise, no, the other languages you l…

  10. comment
    Comment #33536041

    DOOM 2016 got by on its freshness and its tone. The combat mechanics in DOOM Eternal, while having some divisive elements, really pushed the envelope for the series and for FPS gam…

  11. comment
    Comment #33525887

    I don't know how it works in other languages, but accessing a partially overwritten slice in Go (as will happen in the presence of data races) can cause your code to access out-of-…

  12. comment
    Comment #33519267

    Indeed, this person showed that you can read/write to arbitrary memory addresses inside of a Go program: https://blog.stalkr.net/2022/01/universal-go-exploit-using-d... Although, i…

  13. comment
    Comment #33519191

    I have no idea what you mean here. Data races are next to impossible in safe Rust.

  14. comment
    Comment #33474225

    This is assuming you already have a pointer of the element you're removing, or a neighbor thereof. Otherwise, you'd have to traverse a portion of the linked list, which has a signi…

  15. comment
    Comment #33353545

    > It's cute for trivial cases like algebra libraries I don't understand this wording. Algebra libraries are nontrivial to implement, as the algorithms that operate on such structur…

  16. comment
    Comment #33353340

    The few times I've dealt with code that does some (even just very basic) algebraic manipulation, I found the lack of operator overloading to be _really_ awkward (look no further th…

  17. comment
    Comment #33280494

    The infinite sum involving powers of two is actually true in the 2-adic integers.

  18. comment
    Comment #32797622

    I don’t really understand what the borrow checker has to do with the automatic/manual memory management dichotomy.

  19. comment
    Comment #32796342

    How is memory management with Vec and Box in Rust any different from std::vector and std::unique_ptr in C++?

  20. comment
    Comment #32795464

    > It has shown that GC vs manual memory management has a third option. C++ had shown this long before Rust.

  21. comment
    Comment #32406478

    Just return an io.Reader that wraps the DB cursor and outputs CSV data... I fail to see what makes this so difficult. If the "mutable" approach involves passing down a mutable *htt…

  22. comment
    Comment #32405578

    You don't return anything in Gin.

  23. comment
    Comment #32193187

    OP is just holding a reference to a single entry in the vector. You could write whatever you want to that entry, but it's not going to change the length of the vector. In some sens…

  24. comment
    Comment #32191638

    I meant that we did optimizations in Go, on top of using a Kafka client written in C. When language constructs like channels degrade performance, and when goroutine scheduling take…

  25. comment
    Comment #32191599

    Again, scaling out to 30 nodes was not an option for us. It had to run on a single machine, unlike the rest of our data pipeline. While 200MB/s is nowhere near the theoretical limi…