HNHacker News
TopNewBestAskShowJobs

e-khadem

107 karma · joined April 25, 2023

submissionscomments
e-khadem··on Samsung taking market share from Apple in U.S. as foldable phones gain momentum
I get a lot less eye fatigue when I use a bigger screen at a larger distance.
e-khadem··on US High school students' scores fall in reading and math
It's a cascading failure. I live in another part of the world, and we have been witnessing the actual toll of the pandemic unravel in the past couple of years.
e-khadem··on How can England possibly be running out of water?
This is the classic answer to these problems, but I think these "non-profits" and "civil managements" are inherently problematic.

Let's say that John Doe is a very accomplished visionary individual, and has quite a few revolutionary good ideas around improving the water system. Obviously Mr. Doe needed lots of lab equipment to gain experience and insight into these systems, and realistically needs a lot more if he wants to live to his full potential and benefit the public. He is determined to work towards the greater good, but also needs a lot more power [than the average citizen] to test his ideas.

Therefore in order to [be able to] accept this role, he has to be well-compensated (as a one in the world person). Therefore the payment package must look a lot more like the CEO compensation or a high-end management position, which is contrary to the idea of civil management.

Said differently, money can be a good proxy of the power to bring about changes, and if we truly want to try radical ideas (as we should in challenging problems), we need powerful individuals that can risk [their own fortune of course], not committees of less powerful people best suited for maintaining the status quo. In other words, the average citizen is much too risk averse to accept (or approve the payment package of) John in this position, and this can lead to stagnation.

I believe a better way to manage these systems that simultaneously protects the public from adverse incentives and allows high risk high reward behaviour is a middle ground. For example a risk averse non-profit for day to day operations + prize systems + modest (not too big) government-run research facilities.

Fundamentally speaking, there is always a risk / reward tradeoff, and I believe the current society is too conservative and is missing out a lot of opportunities (compared to let's say the cold war or WW2 era). We need to somehow rebalance this scale to live near a better operating point.

e-khadem··on A teen was suicidal. ChatGPT was the friend he confided in
You're right. But we have to do defense in depth and act on every feasible lever that can be pulled.
e-khadem··on A teen was suicidal. ChatGPT was the friend he confided in
We are talking about isolated teenagers. Many movies (and stories) show drug overdose and self inflicted wounds as suicide methods, when in reality the survival rate without significant injuries is very high. Also in many cities it might be very hard to find a high place. The keypoint is that the signal to noise ratio is often too low (and deliberately so).

Edit: also consider that suicide rate is much higher after depression symptoms improve. Severely depressed people simply lack the energy to research the topic or acquire the tools. Even the OP's hanging failed for the first time. And they had to specifically look for some suitable material for the second time, and had to double check every step ...

e-khadem··on A teen was suicidal. ChatGPT was the friend he confided in
Sometimes things happen in life, and we don't have any agency. The person apparently had some medical issues as well.

These excuses cannot be used to discount the role of ChatGPT in this. In highschool and at university I knew a few guys (n = 7) that attempted suicide. They all survived because they didn't have the knowledge of "known to work" methods and the survival rates of other methods. And then people noticed their struggles, they were sent to therapy and thankfully all recovered.

The point I'm trying to make is that, even telling someone (or not) that "this drug overdose won't kill you" and "you can hide the noose red marks on your neck like this" can literally be the difference between life and death. I would even lean on the side of "no information and straight refusal is the better action" here.

e-khadem··on The Unix-Haters Handbook (1994) [pdf]
> 3. Network filesystems exist. And they can become unavailable for a time.

See [1]

> the same applies to remote file system mounts. If you want them to be mounted only upon access, you will need to use the x-systemd.automount parameters. In addition, you can use the x-systemd.mount-timeout= option to specify how long systemd should wait for the mount command to finish. Also, the _netdev option ensures systemd understands that the mount is network dependent and order it after the network is online.

> You may also specify an idle timeout for a mount with the x-systemd.idle-timeout flag.

[1] https://wiki.archlinux.org/title/Fstab#Automount_with_system...

e-khadem··on The Unix-Haters Handbook (1994) [pdf]
These are fine points, and there are rough edges, but:

1. `systemctl status nginx.service` suffices in many cases. journalctl is for when you need to dig deeper, and it demands many more options. You would have complained about "too noisy CLI arguments" if these were unified.

2. I am not sure about how I should parse this. You mean there are too many arguments in total (2a) or the man page or the help message is not ordered correctly (2b)?

(2a). If you just care about services, you already know [well] a handful of subcommands (start, stop, enable, etc.) and just use those, the other args don't get in your way. For example your everyday commands have safe, sane default options that you will not have to override 99% of the time.

Furthermore, this is much better than the alternative of having a dozen different utilities that have a non-trivial inter-utility interaction that has to be solved externally. Sometimes an application that does (just) one thing won't do well.

(2b). This is subjective (?). I have experienced a few week-long total internet outages (in Iran). I had to study the man pages and my offline resources in those contingencies, and have generally been (extremely) satisfied with the breadth, depth, and the organization of the systems docs. In the age of LLMs this is much less of a problem anyways. I think reading the man page of a well-known utility is not an everyday task, and for a one-off case you will grep the man page anyways.

3. Your point is ~valid. But automount exists for ephermal resources. By default, we won't touch a failing drive without some precautions at least. So fail-fast and no retry is not always wrong. Perhaps it is virtue signaling ... On my PC I don't want to retry anything if a mount fails. In fact I might even want it to fail to boot so that it doesn't go undetected.

Also, for something as critical as mounting, I would probably want other "smart" behavior as well (exponential backoff for network, email, alert, DB fail-over, etc.) and these require specific application knowledge.

So ... they are trying to prevent a foot gun.

e-khadem··on Daisy, an AI granny wasting scammers' time
> I would rather a world where scammers odds at making a living at this are so poor they won't bother

Then what's stopping the scammers from finding another "evil" job that makes money? You have to remember that humans tend to not enjoy accomplishing thievery and the scammers most often do this out of necessity. Of course there are big call center operators who truly are terrible people, but this conclusion is true for the bulk of their workforce.

e-khadem··on Convolutions, Fast Fourier Transform and polynomials (2022)
But if the coefficients are integers, you can use NTT with a big enough modulus and get exact results and a boost (esp. in hardware) in multiplication time.
e-khadem··on Why do electronic components have such odd values? (2021)
Raw room temperature value isn't the only reason we use precision resistors. Some parts tend to behave more linearly at higher voltages (especially at the Meg range) and others exhibit much lower tempco's. There is also the problem of long-term stability and value change due to exposure to high temperatures during soldering.

In any case, the above trick is neat, thanks for sharing it.

e-khadem··on Firefox Keeps Getting Faster
Maybe due to the snap situation there? Will you try firefox using flatpak or Mozilla's native builds?
e-khadem··on Are any words the same in all languages?
In Persian, "Kaput" is the word for car hood.
← PreviousPage 2 of 2