Live data from Hacker News

Viewing profile — ffriend

ffriend

HN member
Joined
Wed, Mar 21, 2012, 7:48 PM UTC
HN karma
126
Public activity
41 items

About ffriend

No profile information was provided.

Recent public activity

  1. comment
    Comment #42135175

    There seem to be two distinct topics: 1) async programming vs. threading 2) infectious async/await syntax Async programming is great. Coroutines are a powerful tool, both for expre…

  2. comment
    Comment #40384407

    Sure, knowing the basics of LLM math is necessary. But it's also _enough_ to know this math to fully grasp the code. There are only 4 concepts - attention, feed-forward net, RMS-no…

  3. comment
    Comment #40382128

    It's also worth mentioning that the original implementation by Meta is only 300 lines of very readable code [1]. [1]: https://github.com/meta-llama/llama3/blob/main/llama/model.p..…

  4. comment
    Comment #40382090

    JAX requires a bit more work to maintain fixed-size buffers as required by XLA, especially in case of caching and rotary embeddings. But yeah, overall the code can be pretty simila…

  5. comment
    Comment #17737506

    > there's nothing in the language that prevents this from working with the autograd package, except no one's taken the time to implement it ( https://github.com/HIPS/autograd/issue…

  6. comment
    Comment #17736030

    I have quite limited experience with Cython and tried Numba just a couple of times, but I'm curious how much would it take to rewrite one of my Julia libraries to them. The library…

  7. comment
    Comment #17210710

    Almost certainly yes. Although it doesn't mean it's the best choice for your specific task. Python had a long history of web server development. I think, aiohttp may be considered …

  8. comment
    Comment #15730696

    Some time ago I implemented a library [1] similar to this tool. The tricky part is that derivatives quickly exceed 2 dimensions, e.g. derivative of a vector output w.r.t. input mat…

  9. comment
    Comment #15430572

    If I want to export my own computational graph to ONNX, what is the first place I should look at? Do you know about any documentation or reference implementation of the format?

  10. comment
    Comment #15430378

    > I don’t understand their vendetta against the graph, which is a powerful abstraction that lets you choose different backend [...] You don't really need a graph to support differe…

  11. comment
    Comment #15126351

    I could have not noticed use of swap in the previous test, so I repeated it on a Linux box and 1e8 numbers (instead of 1e9). Julia took 100.583ms while Python 207ms (probably due t…

  12. comment
    Comment #15125111

    BLAS really shines when you do matrix multiplication, for element-wise operations the best you can do is to add numbers using SIMD instructions or put the load to GPU, and most num…

  13. comment
    Comment #15124055

    Even better would be to write (see dot vectorization [1]): C .= A .+ B Benchmarks for 3 matrices of size 1000x1000: julia> using BenchmarkTools julia> @benchmark C = A + B Benchmar…

  14. comment
    Comment #15123665

    > The author understands your perspective but he's deliberately using a different one. In this case the way the author shows it isn't the best one: he modifies Python code to be mo…

  15. comment
    Comment #14598524

    The two language problem is more specific to scientific computing where literally every popular library is written in more then one language - fast C/C++/Fortran and convenient hig…

  16. comment
    Comment #14320135

    As far as I know, storing personal data - including photo, name, email and sometimes even IP address - without explicit and clear consent is strictly forbidden in most countries, a…

  17. comment
    Comment #14319835

    If we are talking about professional actors trying to trick the tracker, then yes, it should be pretty hard to design software to overcome it. But most people aren't that good, and…

  18. comment
    Comment #14319754

    Well, I definitely do have other applications for it. For example, I know that similar software has been used in labs to estimate people's reaction to videos and game features, in …

  19. comment
    Comment #14319561

    > I would feel bad about it and I think the person should ask my permission first. But if that person just memorizes customer reactions to understand how people on average react to…

  20. comment
    Comment #14316192

    I'm curious what's the boundary between ethical and unethical. People constantly analyze each other's mood and it's perceived positively. But doing the same thing massively using a…

  21. comment
    Comment #14315327

    But isn't A/B testing doing the same thing? If it's different, what's the key difference between analyzing facial expression in a shop and analyzing user interaction on a site (giv…

  22. comment
    Comment #14315281

    I see 2 separate issues here: 1. Accurate collection of facial features. Illumination, occlusions, head rotation, etc. may seriously affect accuracy, but this is exactly our main f…

  23. comment
    Comment #14314920

    > I don't like having my emotions manipulated What about collecting statistics to make better decisions? Let's say, you go to your favorite jeans store, but find out that current c…

  24. comment
    Comment #14314857

    Thanks for the detailed comment. Couple clarifying questions if you don't mind: - do you know that loyalty cards are often used in stores to collect customer data (a kind of offlin…

  25. comment
    Comment #14314554

    As someone working on a similar project (specifically, emotion recognition) I'm highly interested to hear how such a product should look like to be not considered unethical. So far…