HNHacker News
TopNewBestAskShowJobs

ismailmaj

297 karma · joined August 9, 2022

ML Infra

[[username]][[hardy number]] at g mail

submissionscomments
ismailmaj··on Fast B-Trees
For cache locality, if the layout is more wide instead of deep, you can avoid many cache misses.
ismailmaj··on Too much efficiency makes everything worse (2022)
I saw some professors share the least about their tests to make sure we truly understand the material, sounds to me like a real-life usage of a train/test split. It’s not far fetched to think they employed this technique because teaching to the test didn’t work well by itself.
ismailmaj··on GPU Puzzles
It would be nice if the puzzles natively supported C++ CUDA.
ismailmaj··on ZML - High performance AI inference stack
What would be the benefit of using ZML instead of relying on StableHLO/PJRT? Because the cost of porting models is for sure high.
ismailmaj··on Why Polars rewrote its Arrow string data type
I might have missed it in the article but I'm not sure why the prefix is stored for strings that can't be inlined.
ismailmaj··on Show HN: Probabilistic Tic-Tac-Toe
A new rule could be to make a neutral roll prevent the enemy to play that square for one turn (unless it's the last square).
ismailmaj··on Ask HN: Machine learning engineers, what do you do at work?
This was very important with classical machine learning, now with deep learning, feature engineering became useless as the model can learn the relevant features by itself.

However, having a quality and diverse dataset is more important now than ever.

ismailmaj··on The KDE desktop gets an overhaul with Plasma 6
I was excited to try HDR on Plasma 6 but it currently only works with AMD GPUs, not Nvidia.
ismailmaj··on Mistral AI launches Mixtral-Next
Could it be Mistral Large? This beats GPT-4 on my personal test.
ismailmaj··on Is something bugging you?
That's exactly what Tomorrow Corporation uses for their hand written game engine and compiler: https://www.youtube.com/watch?v=72y2EC5fkcE
ismailmaj··on Let futures be futures
What about higher order library functions, since calling a green function from a red context is bad and we have no way to guarantee that a function is blue and not green, does this mean the function needs to be unsafe? It would be nice if the conversion from red to green would be done implicitly by the language where there is no ambient executor available, but I'm not sure what would be the implications for intra-task concurrency.
ismailmaj··on Don't pass structs bigger than 16 bytes on AMD64
The function could accept an universal reference instead of an rvalue reference, this avoids the dance the caller has to do to pass a copy.

IMO it's hard to beat pass by value considering both performance and cognitive load.

ismailmaj··on Linux hits nearly 4% desktop user share on Statcounter
What's preventing me from going all in to Linux desktop is software only available in windows and HDR, it seems KDE plasma 6 is going to ship HDR this year, so it might be just enough for me to not care about the rest.
ismailmaj··on Why does unsafe multithreaded std:unordered_map crash more than std:map?
I'm surprised nobody mentioned the Rust crate left_right[1].

It's also a map that supports multiple readers AND a writer.

It does this by maintaining two maps, one used by the writer and one used by the readers and atomically swap the two when useful, the cool part is that reads are wait-free but the cost is at least double memory usage and slow writes (twice the work).

[1]: https://docs.rs/left-right/latest/left_right/

ismailmaj··on Polars: Company Formation Announcement
Congrats! I was wondering where you'd go after announcing that you were looking for a job at FOSDEM.
ismailmaj··on 55 GiB/s FizzBuzz (2021)
I wrote this a long time ago, you might find it useful.

https://ismailmaj.github.io/tinkering-with-fizz-buzz-and-con...

ismailmaj··on When Rust hurts
The common scenario for f and g to consume x is that x is a smart pointer type e.g. Rc/Arc.

to make it clear that the clone is "cheap", some Rust developer prefer using `Arc::Clone(&x)` over `x.clone()`.

ismailmaj··on Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
stuck for 20 minutes on lvl 6 for the optimal solution, 10/10 would recommend
ismailmaj··on You can run Rust code in a Jupyter notebook
I stopped using evcxr when I realized that I could get the same instant feedback with rust-analyzer and a properly configured IDE.

Maybe it can be useful for data exploration with polars but I still prefer Python for that.

ismailmaj··on Ask HN: Strategies for working with engineers that are too smart?
It might be that they use simple in relative terms.

Linux could be considered simple given the problem it's trying to solve and yaml complex.

ismailmaj··on Blitsort: A fast, in-place stable hybrid merge/quick sort
pdqsort by Orson Peters is used in Rust std for `sort_unstable`.

https://doc.rust-lang.org/std/vec/struct.Vec.html#method.sor...

ismailmaj··on Rust for Linux Workshop: The perils of pinning
relevant video by fasterthanlime: "Self-referential structs (in Rust)" https://www.youtube.com/watch?v=xNrglKGi-7o
← PreviousPage 5 of 5