Better HN
topnewbestaskshowjobs
Log inSign up

mindv0rtex

82 karma · joined Apr 6, 2015 (11y ago) · 43 submissions

Submissions

comment 6mo ago · link · parent

The fact that they've started promoting using the Caveman mode tells me that the unlimited usage policy is taking its toll.

comment 12mo ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

It's definitely AI generated, that picture makes no sense.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Explains Putin's approach to ruling over Russia rather well.

comment 4y ago · link · parent

At our company, we rely a lot on https://github.com/boost-ext/sml

comment 4y ago · link · parent

My favourite among this class of Python libraries has been traits from Enthought:

https://github.com/enthought/traits

comment 5y ago · link · parent

Speaking of what's possible in matplotlib, I am very much looking forward to reading this book: https://github.com/rougier/scientific-visualization-book

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Does anyone have a fallback solution for such situations? WhatsApp, Telegram, Discord, Zulip, something else?

comment 5y ago · link · parent

Not mentioned in the article, the ELL format is very efficient for banded matrices.

comment 5y ago · link · parent

Done!

comment 5y ago · link · parent

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

comment 5y ago · link · parent

That's the level of Rust I wish there were more learning materials about.

comment 6y ago · link · parent

Hmm, then I must indeed be living in a bubble...

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

How does this format compare to HDF5, which is common amount scientific developers? Are they meant for a similar use case or not?

comment 6y ago · link · parent

For not too elaborate GUIs in Python, I think TraitsUI is a really neat library: https://github.com/enthought/traitsui

comment 6y ago · link · parent

Is there a meaningful help that a Rust beginner can provide here?

comment 6y ago · link · parent

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.

26.

Ask HN: Book Recommendations on Western Civilizations

2 points · by mindv0rtex · 6y ago · 2 comments

comment 6y ago · link · parent

Let me know if you have any question about Russian (email in profile) :-) And I am a Rust learner too!

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

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.
12