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 The Centipede’s Dilemma
A while ago one of my friends mentioned to me that they don't actively remember their eurocheque card security code, but they can enter it automatically, without thinking.

That made me think about my security code and I also couldn't remember! But the thought tripped me up so much, that I couldn't let it go and the next time I had to withdraw some cash, I didn't know what to put in. I actually had to return my card and get a new one a few days later. Now I make a conscious effort to think about what I am entering.

dxuh··on Show HN: Posterity Automations – Get things done from the afterlife
Yes, great point!
dxuh··on Tell HN: Cloudflare Is Blocking Piped
But you can also use a fast language with no framework, but host it on a 5€/mo VM and put it behind CF and it will run half decent.
dxuh··on Show HN: Posterity Automations – Get things done from the afterlife
Excuse the harsh question, but how many people using this have actually died yet? As far as we know, you could just collect money and never trigger anything. It's also very hard to collect reviews for this service. I love the idea and I would like to have it, but I find it a hard sell to actually rely on it.
dxuh··on Laying myself off from Amazon
Sadly where I work I split my time very similarly and I thought it was a sign of a dysfunctional organization and a sign that I should leave. It's been my only professional software job, so I thought it's likely going to be better somewhere else, but now I am concerned this might be more normal than I thought. Is that so?
dxuh··on Machine learning with Unix pipes
I think the root cause of cat abuse is that grep just takes the parameters the wrong way around. It happens much more often that I want to tweak the pattern and I know which file(s) to grep than the other way around.
dxuh··on “There will never be more children alive on the Earth than there is today.”
Maybe not. The German population is aging rapidly, our retirement model (young people pay for old people) is unsustainable and obviously unfeasible by the time I get to retire (in about 35 years), because there are too few young people to pay for the many old people. Right now about 30% of the German population is over 60 years old. I do not have the impression that the government is doing anything to improve the birth rates. If anything it's getting harder for many people to have children. So far the only time a low birth rate is being brought up politically it's to justify immigration, which might be a temporary solution, but whether it's good or not or how it should be done is a different discussion.
dxuh··on Box breathing techniques and benefits
Though I am skeptical myself, it's much different than other many other hokum/pseudoscience in that it is probably not very harmful and no one tries to sell you something.

Quick google searches show that there are in fact studies that show that different breathing techniques do help with anxiety. The article itself links some.

dxuh··on A pure-meson ray tracer
I wondered which meson this title was talking about, because I only know the build system. Turns out its the build system! Cool stuff!
dxuh··on Universal Paperclips
This did indeed consume my day whole, but it was amazing. This is one of the best games I have ever played. The shift in scale is funny and shocking and it's a nice way to experience principles like supply and demand. Its great at transitioning between different games that all kind of have something to do with paperclips, but are essentially different, though in the same genre. And it does it with almost unstyled buttons and text and not much more. I'll buy a shirt!
dxuh··on Epoll is fundamentally broken (2017)
I have used select and poll before and sort of skipped to io_uring for a recent project, which also doesn't do too well with multiple threads (you have to use multiple rings and do everything else yourself). It's a shame that there is no obvious, relatively easy to use async IO mechanism on Linux that you can use from multiple threads without getting yourself in trouble. Reading more about kqueue it looks a lot like something that would solve it. Why was it not ported to Linux? Would it have been too hard to integrate? The linked article is great btw. Very informative and concise!
dxuh··on It's time to halt starting any new projects in C/C++
When people use "C/C++" as a single language I usually know right away don't know much about C++. The distance between C and modern idiomatic C++ is many times larger than the distance between C++ and Rust. C++ looks like an ancient juvenile dialect of Rust compared to C and C++ looking almost nothing alike. You can write shit C++ that looks like C and breaks like C or you can write good C++ instead and end up with less (almost none in practice) memory problems also. This discussion comes up multiple times a week and almost never do the people having it actually know what they are talking about. I am aware this person is a big shot that has done great things, but it's still impossible he has seen actually good C++ written in the last 5 years. Not because it doesn't have memory bugs, because they are much harder to make. Language landscapes change and old languages die and new languages get popular, but it seems this whole thing is based on a giant strawman (that C++ is the same as C). It's very frustrating.
dxuh··on Covid: Summary of lab-origin hypothesis
I fully agree with your point, but I think the example is a bit aggressive towards OP. I'm sure you got a good chuckle of out of this, but I think it would have been better to give an example that did not seem like an attack. For example the earth being flat, the moon landing being fake or something like that.
dxuh··on Kiwi Farms is down across all domains as DDoS-Guard terminates service
So if someone doesn't like what you say (and I presume there are plenty such people), do they have the right to DDoS you too? Just to be clear this is of course not a threat or anything. I really want to know when you think that speech becomes punishable and who is supposed to decide that.
dxuh··on Kiwi Farms is down across all domains as DDoS-Guard terminates service
This really shows again that there is no use in giving in to angry Twitter mobs. There is something not quite right with them and even if they are given what they want, you are still the bad guy because it took too long. It happens again and again and people and institutions still give in.
dxuh··on Kiwi Farms is down across all domains as DDoS-Guard terminates service
People aren't just ignoring Kiwi Farms and letting them know that no one likes them, people are shooting them down (with DDoS attacks). And if they make use of services that are intended to prevent that, people shout these services down until they comply. How is that fundamentally different from what Kiwi Farms was doing itself? If null kills themselves, are you even? Is the anti Kiwi Farms crowd just as bad as Kiwi Farms? Or will it be fine if he was a bad person? What if the people on Kiwi Farms thought the people they were harassing are bad people?

I think this is yet again another example of a group of people thinking that something bad is not bad if it happens to the right people and another group thinking that something bad is bad no matter who does it. I am firmly in the latter group and to me Kiwi Farms and the people that kept harassing Cloudflare all look like bloodthirsty psychopaths with the difference being that the Kiwi Farmers knew they were disgusting and horrible and the others thinking they are brave saviors.

dxuh··on The Trouble with 5G
Could you explain where you get these undertones from? From my perspective she is representing her points in favor of meteorologists, which are scientists and critical of various organizations which are economical organizations. She is also pointing out critisizing about many of the studies that investigated 5G, which is what a scientist should do. Not every study is good. And being critical of bad studies doesn't make you anti-science, but pro-science! She said multiple times that she does not believe there are health-risks to 5G radio.
dxuh··on Ubuntu: “How are we improving Firefox snap performance?”
I was actually one of the people that thought snaps and flatpaks are the future of Linux desktop computing, because they isolate software and they make distribution much easier. But since Ubuntu 22 switched to the Firefox snap I am not sure if I think that anymore. I have been using Ubuntu many years ago (when the version was still in single digits), then didn't use it for a while and then started using it again with the release of Ubuntu 18. Since I started using it again I have been recommending it to everyone every chance I got, but I think it's not worth anyone's time anymore. After updating to Ubuntu 22, almost everything broke. When I pressed the super button to "zoom out" and see all my windows and then clicked on a window to switch to it, about a third of the time the screen turned grey, the whole shell crashed and I had to wait a few seconds for it to come back. Another third of the time it just did nothing. When I close Nautilus (the file browser) it crashes about half of the time (and still does to this day). In Firefox dragging tabs to my bookmark folders did not work if you drag the tab to the bookmark bar of the same window. You had to drag it to another window's bookmark bar (took me a while to figure that out too). It still happens sometimes. The right-click menu was themed incorrectly (had a different color than anything else). But the worst thing were the downloads. You could not download to any other folder but ~/Downloads. Not even subfolders! And If you did download to a subfolder after a few seconds it would slow down the whole application to an absolute crawl, where scrolling was non-interactive and switching tabs took seconds. If you then abort the download and download with Chromium instead (also a snap), Firefox freezes completely until the download is finished in Chromium, after which Firefox unfreezes. What kind of sandboxing is that? And yes, this was reproducible. I cannot even imagine the kind stuff they are building there and I have no trust in it anymore. I realize I got hit unusually hard, but this is supposed to be an LTS release and it's a total mess. Now that many of the problems have been fixed, what's left is also an OS I do not enjoy anymore. Firefox is nagging me that it needs to be updated all the time. Because when I close Firefox and shutdown my computer for the day, I always forget to run "snap refresh" after closing Firefox. It doesn't update it before you start it again or after you have closed it, but if you dare run it again, without having updated it, it will complain with a Desktop notification. It's so, so bad. Also I run "snap update" every time, before I need to check the help text again to see that it is "refresh". Snap is probably the only program I have ever encountered that calls updating "refresh"ing. Also Ubuntu is now telling me constantly that I need to "restart and update your computer" IN THIS ORDER. Now I need to reboot every couple of days to install updates. In the YEARS before, I just got a popup where I could press "update", while the system was running and restart whenever I felt like it. Are we Windows now? On my Laptop I already switched to PopOS (I won't even try to interpunctuate that silly name correctly) and if I have the time and can risk wasting a few days, I will upgrade my desktop machine to PopOS too.
dxuh··on Cloudflare's abuse policies and approach
Large corporations policing free speech is a horrible trend that often enough goes absolutely wrong and the only way to prevent censoring content inappropriately is to not censor anything at all. There are laws and courts that judge over what content should stay online and it should stay their responsibility. If we give that up, we replace democracy with a technocracy, that already showed us plenty of times is not something we want. If it means that a website like Kiwi farms has to stay up, then that's what it takes. A twitter mob should never have the power to take any website offline. I doubt anyone in their right mind would lay their trust into every Twitter mob. It's just luck that this mob is in line with your opinions, but others might not.
dxuh··on I like Odin
You're right. I'm sorry. It got too heated below my initial comment and I got upset. I'm not in a good place currently and I should probably refrain from commenting at all. And yes, I am not fun at parties.
dxuh··on I like Odin
I want to address some points for people that are reading and don't have enough C++ experience to judge that they are not as serious as they might seem.

* You can just have your constructors not initialize your member variables. If they don't have default constructors that do work, then no work is done.

* Yes, originally. Move-semantics are part of the language since C++11. Enough time has passed.

* I read and write C++ every day at work and in my free time and I rarely find this to be a problem. If I see a non-trivial type, I assume it's destructor is called at the end of scope. And whether I have to look up the destructor of some type or a corresponding free function (like in C code usually), makes no difference to me.

* Gamedev can live entirely without exceptions and many other software projects do as well. You just have to write your constructors so that they do little work (which is encouraged anyways) and use methods to initialize them. Having static methods that return an optional<T> is also pretty common.

Of course you can also have constructors that do a ton of work, so you never know what is being done, exception handling everywhere to error handle all that code and not use move semantics or very old C++ versions. There are always ways to use a language in a bad way and get bad results. I am sure you have seen bad C code.

Of course RAII is not simple. It's extremely complicated, which is why I consider it missing. Using a new language needs be justifyable by some significant added value.

dxuh··on I like Odin
My point was that I don't see much of a point in yet another language that is C with an extra 10%. There is another one like that almost every week.

Plenty of applications that require manual memory management have been written in C++ or Rust, which do provide RAII. If you know that manual memory management is required for some applications, you also know it's not 100% of the code that needs it.

dxuh··on I like Odin
RAII is often optional automatic memory management, like in C++ or Rust. Both of these languages are used for AAA games and rarely used for websites. My point was that if you don't go as far as those two, there is just not much of a point to not using C instead.
dxuh··on I like Odin
I think Odin just doesn't do enough. The improvements over C are there, but imho too small to justify/motivate a large-scale change.

And personally I think (!) there is no reason to introduce a new programming language without RAII these days. If you don't solve memory management any more than C did (not), then you are ignoring the biggest problem that needs solving and every replacement that does address this problem looks more attractive.

dxuh··on The Next Mainstream Programming Language: A Game Developer’s Perspective (2005) [pdf]
I am sure it will happen, but (in my opinion) there is no way that it will gain significant popularity. It's just too high friction and in game development being low friction is imho one of the most important attributes of a programming language.
dxuh··on Physically Based: A Database of PBR Values for Real-World Materials
The main reason is having metals and non-metals in the same texture and you want the blending to look nice. Also consider cases where the material properties change with a higher frequency than the texture resolution can capture (e.g. metal-dust on a dielectric). If you don't blend this in the texture it might produce aliasing. There are also cases where you might want to use a non-binary metalness for dusty metals or rusty metals or painted metals and stuff like that.

Metalness is essentially F0, the base reflectivity of a material (looking straight at it), which can be high for materials with very high indices of refraction, like Diamonds and other gemstones. Afaik Diamond has a metalness of about 0.2.

dxuh··on On Being Busy
But in the same way it's even somewhat rude if e.g. a billionaire says they don't have money to buy something (assuming it's fairly cheap). It makes a difference whether they say that they don't have money or that they don't want to spend it. And the whole point of the comment was to say that it is often NOT someone not being able to afford it time-wise.
dxuh··on C++ Concurrency Model on x86 for Dummies (2020)
It shouldn't be a matter of preference. Use a pointer if you need it to be relocatable or if you need it to be optional (it may be nullptr). Otherwise use a reference.
dxuh··on Man overcharged 20 rupees for India train ticket wins 22-year legal battle
My story is not nearly as cool, but one day I could not visit my bank's website via "<bank-name>.tld" and I thought something was broken. After a few days I called and they said that it works fine for them and there was no recent problem and they told me to just type "www.<bank-name>.tld" into my browser, which.. worked. The person on the other end of the phone call clearly thought I did not know how to use a computer (arguably I actually don't, because I did not try out prepending "www." myself). I explained to them that it worked without "www." in the past and this likely was a mistake and they should inform someone, if possible. For a while I called them every couple of months and after about 2 years I finally got someone on the phone that did not think I am being an idiot and calling for something silly and a few days later it was fixed :)
dxuh··on A Master Perfumer's Reflections on Patchouli and Vetiver
It's not just greed like other commenters might be implying. Like you say many reformulations happen because IFRA (the International Fragrance Association) updates their list of restricted or prohibited substances. Their work is necessary and important to ensure everyone's health. Just recently (March this year) the IFRA-imposed ban on Lilial (butylphenyl methylpropional) went into effect, which was suspected to lead to infertility. So it's important someone has an eye on this. Almost always fragrances end up significantly weaker after such reformulations.

Also after the 80s, where fragrances were much stronger, it's just a "trend" nowadays to have weaker fragrances.

Of course it's also greed, because very often fragrances get reformulated without an obvious external reason and they often end up a shadow of their former selves. If a fragrance has a critical popularity, you can simply cut it's potency in half and people will still buy it.

I also want to add that the performance of a fragrance depends a lot on the moisture of your skin. Fragrances disappear on dry skin much quicker. So if you moisturize your skin before applying a fragrance, you will have longer of it. My skin got much drier with age (and it's getting worse), so maybe this is also part of what you are observing.

← PreviousPage 6 of 8Next →