HNHacker News
TopNewBestAskShowJobs

harrid

136 karma · joined January 14, 2015

submissionscomments
harrid··on Midjourney v6
I think this is just a copy of the official announcement in discord. So the site might be fishy, the content is not
harrid··on Complex and R^2 Graph Plotter
This could profit a lot from an example button
harrid··on Ask HN: What do you use to replace incandescent lights?
All light other than incandescent is awful in my opinion. I'm still almost 100% on them
harrid··on C++: The most important complexities
Yes, but that's not the point in this case. Naively, a vector should be able to. The trouble lies within the details, in particular allocation.
harrid··on C++: The most important complexities
It's very much implementation defined yes. I'm currently using this for something that runs for about 10 seconds, and even music playback and mouse cursor movement gets affected.

(But I'm about to move it to GPU)

harrid··on C++: The most important complexities
A tricky question in the context of this: why doesn't vector have a constant time pop_front? By just incrementing the begin pointer
harrid··on C++: The most important complexities
You need to be aware that these invocations are going to blast your cores full throttle as you obviously don't have fine grained control. But as long as your data is easily parallelized on a vector with computations that don't depend on each other, it's a game changer. I use it all the time to multithread things with literally a single line of code.
harrid··on C++: The most important complexities
Yes... But you don't need to memorize all this, and it leaves out a simple rule: vectors (or arrays) outperform everything else if the dataset is small. Small is usually in the order of 100-300, but can vary wildly.

Also note that all <algorithm>s have built-in fully automatic parallelism via <execution>, a massively underused feature. In typical CPP fashion though, their newer views:: counterparts lack those overloads for the moment.

harrid··on Trip report: Autumn ISO C++ standards meeting (Kona, HI, USA)
Circle... I hope he can do it. Sounds too good to be true everyone I read about it.
harrid··on Trip report: Autumn ISO C++ standards meeting (Kona, HI, USA)
Reflections alone would be one of the most impactful additions. And in contrast to most others: very difficult to do otherwise. I'm a bit surprised by the sudden push after long phase where it seemed like they would never come.

Contacts: yes please. Variadic indexing is one of those things everyone writes their own helper for. But this standard facility is very welcome indeed.

Some additions seem a bit of of scope for the standard of a language that famously refuses to fix mistakes. So in weary about std::hive, networking, physical units.

And an underrated cherry is at the end: cleaning up those "ill formed, no diagnostic required" clauses in the standard. For those who don't know: there are things forbidden in the standard which the compiler is allowed to not tell you (because it's difficult for the compiler to prove it). In particular this is omnipresent in the constexpr world. Leading to silly redundant code that manually assets things to explicitly trigger the compiler to check for errors.

harrid··on How Rust can facilitate new contributors while decreasing vulnerabilities [pdf]
And that's a criticism I can take to a degree on behalf of the language. These relics are still in because mistakes are happening in the governing body. However in practice, they don't matter much. Every CPP dev has a little helper running in the background which immediately flags these mistakes and can auto correct them. It's not an issue, just an annoyance.
harrid··on If you could only have one programming book on bookshelf what would it be?
I've never read a programming book that was worth it. In the time and the energy it takes to read, I could have always learned more by reading a tldr and trying things myself
harrid··on If you could only have one programming book on bookshelf what would it be?
Why is that progress? The content didn't age more than other books?

Or did you just use this to push politics?

harrid··on How Rust can facilitate new contributors while decreasing vulnerabilities [pdf]
For some reason, the comparison is always current rust Vs 20 year old c++. Mentioning that "modern" (12 year old) c++ does not have these problems gets downvoted.

Completely unrelated: there are at least two dedicated anti c++ communities.

harrid··on Why Cities: Skylines 2 performs poorly
This doesn't fly with a one man team and not with a 1000. It's just badly done, there's no sugarcoating. Those meshes should never end up in the game files.
harrid··on Cooperative C++ Evolution – Toward a TypeScript for C++
It's a bit hard to get an overview. But I did spot several uses of owning raw pointers and switching from those to managed ones. I'd say that's exactly the point I was trying to make.
harrid··on Cooperative C++ Evolution – Toward a TypeScript for C++
new
harrid··on Cooperative C++ Evolution – Toward a TypeScript for C++
It's impossible to memory leak even with bugs if you don't use antique parts of the language that won't pass any static analysis anyways.
harrid··on Cooperative C++ Evolution – Toward a TypeScript for C++
C++ is a memory safe language if not abused.
harrid··on Cities Skylines 2 runs with 20fps on an Nvidia RTX4090
Nvidia nsight
harrid··on Threads has "just under" 100M monthly active users
I don't watch movies and I block ads online. So help me out: were there many or few ads?
harrid··on Cities Skylines 2 runs with 20fps on an Nvidia RTX4090
60fps on a 4090 are framerate issues
harrid··on Cities Skylines 2 runs with 20fps on an Nvidia RTX4090
It also uses 10+k drawcalls per frame. It's amateur hour over there, bordering on fraud. Even more frustrating to see how successful that model is. And how feverish people defend them online.
harrid··on Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message
That's fraud.
harrid··on YouTube-dl main site now blocked due to German court ruling
It's unfortunately as simple as: Germany does not have internet access. Just from the top of my head I could name three other sites that are blocked here. All of them from completely different backgrounds (porn, piracy, government criticism)
harrid··on Source code for Quake 2 rerelease
_the_ havoc? That's awesome. I was toying around with tribes modding too but only trivial stuff. Havoc was always the ultimate thing you could do and an inspiration for me. Thanks!
harrid··on We now believe that the game is over. LK-99 is not a superconductor
Strong language doesn't usually correlate with qualification. They sprouted the same harsh tone badmouthing video streaming a couple of days ago.
harrid··on Ask HN: Is there any mail-by-API provider for personal use?
When I'm reading correctly, that's a Unix program. That's a pretty tight constraint and not one I can satisfy
harrid··on We now believe that the game is over. LK-99 is not a superconductor
This isn't the first unprofessional message from that Twitter account during the lk99 saga. Their biased tone makes them untrustworthy. Even more than anime girl et al
harrid··on Ask HN: Is there any mail-by-API provider for personal use?
Available but still far from common. I don't have one and most of my peers don't either.
Page 1 of 2Next →