News for hackers. Stuff that matters.

mindv0rtex

The fact that they've started promoting using the Caveman mode tells me that the unlimited usage policy is taking its toll.
How is Tenstorrent h/w more general purpose than NVIDIA chips? TT hardware is only good for matmuls and some elementwise operations, and plain sucks for anything else. Their software is abysmal.
I was recently trying to solve a similar problem but on desktop platforms. I don't want to depend on LaTeX, but I'd like to be able to generate equation images inside a C++ desktop application. I tried to make MathJax run via QuickJS and extract the SVG for rasterization. But I couldn't make MathJax run with QuickJS.
Re:Garbage Collection for Systems Programmers on Saturday March 30, 2024 @11:24AM (#39875706)
It's definitely AI generated, that picture makes no sense.
Re:Fq: Jq for Binary Formats on Sunday June 04, 2023 @08:14PM (#36190816)
The functionality that I am personally interested in from a binary parsing framework like Kaitai is generating an encoder implementation in addition to a decoder one. In other words, given a description of a binary format, I would like to be able to construct an instance of a class whose memory layout matches the format. For instance, if the format has an int n, then an array `a` of size `n`, and then a double `d`, it would be awesome to be able to construct a corresponding object with fields `n`, `a` and `d` and when I change `n`, then the size of `a` changes accordingly. And then, if I pass a pointer to this object to the decoder, it would be able to parse it correctly, as if the memory representation of the object came from some external buffer.
Re:Zig Quirks on Monday March 27, 2023 @01:15PM (#35329381)
The only requirement placed on the “moved out” variable is that you should be able to call its destructor. Which means that it has to be in a valid but unspecified state. So it's fine to access such a variable, so long as you don't read its exact state. You can still assign to it, for instance.
Re:Getting Started with Tmux on Sunday December 11, 2022 @10:41AM (#33944057)
I recently decided to give terminal multiplexer a try. I first used tmux for a couple of weeks and then discovered zellij. It felt much more user-friendly, but I don't know how much I am missing out in terms of useful features compared to tmux.
Explains Putin's approach to ruling over Russia rather well.
Re:Facts about State Machines on Friday September 30, 2022 @11:22PM (#33043539)
At our company, we rely a lot on https://github.com/boost-ext/sml
Re:Attrs – the Python library everyone needs (2016) on Saturday December 25, 2021 @10:20AM (#29683957)
My favourite among this class of Python libraries has been traits from Enthought:

https://github.com/enthought/traits

Re:Scikit-Learn Version 1.0 on Tuesday September 14, 2021 @11:17AM (#28526138)
Speaking of what's possible in matplotlib, I am very much looking forward to reading this book: https://github.com/rougier/scientific-visualization-book
I'm genuinely curious which of those items you consider as sucky and why. I am asking because I've recently been moved from a C++ to a JS team at my current workplace, and now I am exposed to this wide range of new tools which are all alien to me.
Re:Show HN: Play with Shaders Inspired by Slime Mold on Tuesday March 30, 2021 @09:43AM (#26634524)
That's what I did when I recently came across the same model. Here's my CPU-based implementation (in Rust): https://github.com/mindv0rtex/physarum
Re:Slack Running Slow / Hanging? on Monday January 04, 2021 @10:19AM (#25632365)
Does anyone have a fallback solution for such situations? WhatsApp, Telegram, Discord, Zulip, something else?
Re:Sparse Matrices (2019) on Friday January 01, 2021 @09:44AM (#25603562)
Not mentioned in the article, the ELL format is very efficient for banded matrices.
Re:Rust 1.49.0 on Thursday December 31, 2020 @08:01PM (#25599448)
Done!
Re:Rust 1.49.0 on Thursday December 31, 2020 @04:31PM (#25597388)
I really enjoy using Rust for personal side projects. It made me a better C++ developer. I'm excited about stabilized const generics to be able to speed up my linear algebra code.

This issue though prevents me from recommending Rust for closed source development to my colleagues: https://github.com/rust-lang/rust/issues/40552

Re:Bevy 0.4: data oriented game engine built in Rust on Saturday December 19, 2020 @03:20PM (#25480823)
That's the level of Rust I wish there were more learning materials about.
Hmm, then I must indeed be living in a bubble...
Just my anecdata. We live in Maryland, in a middle-class suburb. I have 3 kids and a SAH wife. We're doing OK, saving for 401k, driving two cars, paying cash for house maintenance and renovations. Yeah, we don't travel much, but that's luxury. I earn the Google L4 level base, if one can trust levels.fyi. I am not sure how unique my situation is, but I have never felt the need for my wife to start working...
Re:RustConf 2020 Links on Friday August 21, 2020 @01:39PM (#24237086)
I agree. The talks were very light on content. This is was my first RustConf and I guess my expectations of PL conferences were mostly shaped by CppCon, which is overwhelming in the exactly opposite way.
Re:Apache Arrow 1.0 on Monday July 27, 2020 @02:12PM (#23967785)
How does this format compare to HDF5, which is common amount scientific developers? Are they meant for a similar use case or not?
Re:Guietta – Python module to create simple GUIs on Friday July 03, 2020 @09:27AM (#23723800)
For not too elaborate GUIs in Python, I think TraitsUI is a really neat library: https://github.com/enthought/traitsui
Re:Five Years of Rust on Friday May 15, 2020 @09:31AM (#23191934)
Is there a meaningful help that a Rust beginner can provide here?
Re:Five Years of Rust on Friday May 15, 2020 @09:21AM (#23191837)
I hope Rust adds the major anticipated features (GATs, const generics, specialization) soon, or alternatively decides to not implement them altogether. I'm a rather new Rust developer, but still I very quickly ran into the issue of needing a nightly version of rustc because one of my dependencies (PyO3) relied on one of these features. It would be awesome to have some periodic updates from the compiler team on the progress thereof.

Ask HN: Book Recommendations on Western Civilizations

I perceive it as a common belief that western civilizations are more successful, for their own definition of success, due to some intrinsic features that they possess, which others don't. I am of the opinion that countries end up where they are mostly by happenstance. Are there any books about these ideas that you might recommend?

( Read More... | 2 comments | 2 points | on HN )
Re:Ask HN: What are you learning? on Sunday April 05, 2020 @10:45PM (#22790521)
Let me know if you have any question about Russian (email in profile) :-) And I am a Rust learner too!
Re:Nim Community Survey 2019 Results on Sunday February 23, 2020 @10:56PM (#22401524)
Funny, today's when I finally decided to start learning Nim. I do C++ with CUDA and Python on top for work. Having looked at the Arraymancer lib, I became interested in the language. Between its outstanding meta programming features and its ability to be compiled to C++, I think it is perfect for the scientific computing domain.
My wife tried to create a new FB account a month ago after many years of not having one. Entirely genuine, real name, photo and cell phone number. Rejected as deemed to be fake.
Re:Writing An Interpreter In Go (2016) on Monday November 25, 2019 @09:29PM (#21635164)
As someone who just recently started learning Rust, I'd love to see a book like this that uses it as the implementation language instead.

Older »