HNHacker News
TopNewBestAskShowJobs

dxuh

887 karma · joined August 18, 2020

dxuh.at.hn meet.hn/city/de-Essen

website: https://theshoemaker.de

submissionscomments
dxuh··on Man wakes up after night on sleeper train to find it never left Glasgow
The child comments seem to suggest that your comment was kind of a spoiler. Is it still worth reading despite this knowledge?
dxuh··on You can read my blog posts using curl
In these comments people have suggested to check for the User-Agent, but wouldn't it make more sense to check if the Accept header mentions text/html? I realize that curl sends "Accept: /", but if you wanted to see a page in plain text, you would have to pass -H "Accept: text/plain". I think that uses HTTP much more like it was intended.
dxuh··on Carbon Language: An experimental successor to C++
I just do NOT feel like using a language, that has explicitly stated, that you should not start a new project with it. Very few legacy projects will consider using Carbon, I would assume (If you have worked on one, you probably know that "legacy" is usually more than just the code) and then there are so few projects left that I see no chance of this really taking of. And in that case it will probably die soon as well, like many (most) other Google projects.
dxuh··on Tell HN: Internet Archive is facing a Big 4 Publishers lawsuit
I thought about this in the past and I think a reasonable expectation is for this to go to court some day and drive it all the way up to the respective supreme court and make a significant change in copyright law. It's practically the only way to execute on their given, important mission. Whether it's reasonable is a different matter, but now they have a real chance to make a even bigger impact than they already have.
dxuh··on Show HN: Netflix Calculator
Assuming 40 minutes per entry is way off base imho. Most of the stuff I watched is sitcoms with 20 minutes per episode each. If you are just going to count the lines of the file I "Upload" to your website, maybe don't even do it at all. Also why does the button say "Upload" and right below it says "Your data is processed locally and not sent to any servers.". Upload implies precisely that data is being transferred.

It's great that this page informed me about the existence of that CSV file though. Thanks for that.

dxuh··on Xbox Cloud throttles performance if user agent is Linux
Everyone that feels like it is outrageous to believe this is evil and there is likely a super reasonable explanation for this should consider that this is not a novel thing. At Netflix and Amazon Prime limit the resolution on Linux to 1080p and 720 respectively. Of course the reason is a different one, but Xbox Cloud would simply get in line with other major video streaming providers. It's natural to assume that it might be true and the reasons are silly, just like they are for every other platform.
dxuh··on Making an Accurate Sleep() Function
Sadly VSync is not all upside and it increases input latency significantly, so it might be a deal breaker depending on what you play or just the person playing. Despite their age GSync and FreeSync are not that ubiquitous yet.

I agree that for most single player games it is simply correct to enable it, but people often don't do it, because they paid lots of money for their gaming computers and want to see the FPS numbers go way up to justify their expense.

dxuh··on Cloudflare had a partial outage
I think they rather got overwhelmed by many more requests reaching them that would usually hit Cloudflare. Also, as is widely known, people tend to hammer F5 when something like this happens, additionally increasing the number of requests.
dxuh··on Advancing the state of the art for std:unordered_map implementations
Features and containers have been deprecated before. Could it be an option to deprecate only the complexity requirements on some of the operations on std::unordered_map, so that we don't need a whole new container and standard library implementers get the option to use open addressing?
dxuh··on Rust advocacy at a medium-sized startup
> Doug and I were counseled to know our “opponent” (Go) inside and out

> Rust Evangelism Strike Force

I know these are in quotes or meant as a joke, but it still is very off-putting to me. It's a team of 40 engineers and they have different subgroups of people coordinating essentially political efforts to advocate for programming languages. I would not like to work at a company like that.

What is with Rust and this uniquely fanatical evangelism? For me the biggest reason for not using it is the rabidness of its advocates. While they state technical reasons it seems the reasons are not technical in nature, which leads to my gut reaction of not taking them seriously.

dxuh··on Embracing Modern C++ Safely, Book Review
I really wish that not every submission about anything C++ related would devolve into a full-on discussion about Rust. It keeps happening everywhere. Why do people have such problems with someone else using C++ for whatever they are building?
dxuh··on UK’s first full-sized autonomous bus takes to the roads of Scotland
You need to keep the bus "captain", because half of a bus driver's job is helping old people figuring out which bus to take and where to go and keeping the passengers in check (to prevent vandalism, throw out rowdies or even call the police if there is violence among the passengers, etc.). Occasionally it does not feel safe to take the bus as it is and without a driver to call the police if something happens, that would be the case much more often.

And if you need to keep at least one employee in the bus, why would you take them off the wheel and very likely increase the risk of an accident, while also making it more complicated legally in case an accident happens. I don't see a gain, unless the end game is to get rid of employees inside the bus altogether in which case the service quality would decrease drastically, because that half of the bus driver's job I talked about earlier is ignored completely.

Maybe it's a good fit in that specific case with the "pre-selected roads", but I am legitimately concerned about this technology being adopted widespread (esp. in the cities) and I don't like the thought of it.

dxuh··on 3M tape with anisotropic z-axis electrical conductivity
That Netflix link is not available everywhere and also quite time-consuming to review. Obviously it is also a dramatic piece rather than a (semi-)scientific. I had a brief look at the PFAS wikipedia page (https://en.wikipedia.org/wiki/Per-_and_polyfluoroalkyl_subst...), which is what that Netflix movie seems to be about, but it's also quite wordy and the claims you make can not be found on there as-is. Maybe you want to consider adding a better source.
dxuh··on Germany has seized control of Gazprom Germania
Even though it's very often stupidity instead of evilness, I really think that they are not stupid. They started as a pacifist party and now they passed the largest defence budget since WW2. You don't do that by accident. I think most of what they represent is just a fashionable front.
dxuh··on It's now your fault they don't know about it
I can relate so much. I have a coworker that is a lot like the coworker described in the submission and I notice myself behaving very similarly towards that coworker and it bothers me.
dxuh··on Portable and Interoperable Async Rust
And we are not even done yet. The Networking TS seems to have fallen out of favor and now it seems we are going to get executors + senders/receivers, which I personally think is pretty cool actually.
dxuh··on Flatpak Is Not the Future
Fight it yourself. Find a solution that's easy for developers and users and everyone will use it. It's very simple, actually (though not easy).
dxuh··on Flatpak Is Not the Future
And realistically if they could only target a single distro, they would likely not bother making Linux builds at all.
dxuh··on Flatpak Is Not the Future
I think this article is not providing adequate alternatives.

Most programs link against quite a bit more than libstdc++ and you clearly can't expect users to install a bunch of packages to get their program running. Those extra libraries usually take up most of the space in a package. If you include all the shared libraries you need, apart from the system libraries in your distribution, you pretty much have an AppImage already, just as a tarball instead of a squashfs image.

I think GOGs path is not horrible, but it is much less effective at making Linux a viable alternative as a gaming platform. They literally only support Ubuntu 16.04 and 18.04.

It also struck me as odd, that the author was complaining about the complexity introduced by Proton. What is Valve supposed to do?

dxuh··on Core scheduling lands in Linux 5.14
Afaik the kernel is built as C89 and uintptr_t was introduced in C99.
dxuh··on Large Language Models: A New Moore's Law?
What's the theoretical basis of this though? I don't have a theoretical background in computability, but in physics and there the complexity of a system very much correlates with the number of degrees of freedom. When simulating something, you want a bijection of the state of the simulation to the state of the system you are simulating, so you need to match (or exceed) the number of degrees of freedom. So if you know how many parameters you need to simulate another system until the simulation works, you can estimate how many internal degrees of freedom it has (degrees of freedom that are relevant to whatever you are measuring of course).
dxuh··on To learn a new language, read its standard library
To anyone that considers this approach for learning C++, I would advise strongly against it. Standard library code has to deal with too many cases and tries to be optimal for as many of them as possible. Also the formatting is highly unusual, compared to other C++ code found in the wild.
dxuh··on LÖVR – An open source framework for rapidly building immersive 3D experiences
The real alternatives to löve are not Unity, Unreal or Godot, but maybe raylib or other much smaller libraries (not engines). löve is much different than Godot and good for entirely different projects and different people. The people that would probably end up löving löve in the long run would not be too interested in using Godot at all (such as me and many other löve users that I know).

I don't use it much at all anymore (though I have heavily in the past), but I would still recommend it to everyone for which it would be a great fit. If you just want to have a game running asap, then yes, maybe Godot is a better fit, but it's not categorically.

dxuh··on The Insecurity Industry
Everyone in these comments mentions C and C++ as a single word, which frankly has nothing to do with reality. C++ is a FAR safer language than C, if you wish to use it properly (which many don't). I write C++ full time at work and I also use it a lot in my free time and I rarely if ever have out of bounds accesses, use after free or any of these bullshit errors. If you use modern C++ and AdressSanitizer and don't do anything too "fancy" then it's very hard to get those types of bugs. I firmly associate them with C and C alone. These time are over for modern C++. The people commenting here clearly have no idea what modern C++ even looks like.
dxuh··on Linus Torvalds on mRNA Vaccines
"get vaccinated" should probably be heard by that person but it's still really not as easy as in Germany to get vaccinated as it might be in some other countries. I look at the UK/US/Canada (many parts of the EU) like they are on a different planet, because they are slowly going back to normal for months now, while I still can't get vaccinated here, even though I want to since the start of the year. The prioritization of old and sick people has just been lifted 4 days ago and the state I live in says that I still can't get an appointment until the mid of the month. And even then I should not get my hopes up to get an appointment quickly, as the vaccination centers have allocated their supply for second shots for the whole of June. Right now it seems likely that my employer will actually be quicker in getting a vaccine for me than my government. Actually off-topic, but it annoys me pretty much every day and I felt invited to rant by Linus assuming it's just that easy here.
dxuh··on More Scientists Urge Broad Inquiry into Coronavirus Origins
If the lab leak is real, then we should absolutely use this as a reason to stop Gain of Function research or at least establish institutions that ensure the safety of such research, preferably across international borders. The point being that you want to avoid something like this ever happening again.
dxuh··on Counter-Strike Global Offsets: reliable remote code execution
The Valve Index and Half-Life: Alyx were huge accomplishments that did more for VR as a medium than anything before (and probably after) it. Also Valve's efforts towards making Linux a gaming platform were immensely successful. Proton is amazing and most people that use it agree.

Valve is not investing their resources in stuff you care about, but they are not objectively wasting their time. They are not just building another online game (which everyone is doing), but innovating in and developing areas that no one else can get away with wasting money on.

I am thankful for all the things you list, some of which have not turned out great, but that is imho just a sign that they are truly doing bold/economically dangerous things, for the good of the medium.

dxuh··on Beginner’s guide to mechanical keyboards
On top of all the subjective emotional things, I can clearly see a difference in typing speed and accuracy. I do typing speed test from time to time and it was constant for quite some years, until I got a mech. When I got another (better) mech it got even better still. If you touch type and you are already fast, the tactile feedback of switches really closes up the feedback loop a lot better. Your fingers know you screwed up, before your eyes have to see the mistake. And it's also easier on my hands for some reason, but may have more complex causes.
dxuh··on C++ Constructors, Memory, and Lifetimes
As you are officially discouraged to use new and delete directly (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines...) and I fully agree with this guideline, I was disappointed to see new being mentioned so early and not immediately being followed up with std::unique_ptr and std::shared_ptr. Especially because you introduced the constructor/destructor subsection with how destructors can be used to free memory. A general mention of std::shared_ptr would have been expected as well, I think.

It is unfortunate that many learning resources don't show modern C++ so the language is perceived worse than it is and also more bugs are written, than is necessary.

dxuh··on DigitalOcean says customer billing data accessed in data breach
I'm not completely sure what exactly you are trying to say, but it seems to me that I somehow deserve some of my personal information being stolen, because someone that also uses DigitalOcean sends you "dodgy packets". What?
← PreviousPage 7 of 8Next →