News for hackers. Stuff that matters.

thomas2718

Re:111,111.1 meters is reliably 1 degree of latitude on Friday September 01, 2023 @09:40AM (#37350712)
The base unit is indeed the kilogram, see https://www.bipm.org/en/measurement-units/si-base-units.
Source? I cannot find mercury in the list of ingredients in this FDA document: https://www.fda.gov/media/153716/download page 4.
Re:Ask HN: Software Engineer hitting 40: what's next? on Tuesday November 30, 2021 @08:38AM (#29391926)
I had once an iron deficiency, so I looked into how to improve my iron intake. Soaking legumes in water overnight reduces the amount of phytic acid and therefore increases the availability of minerals. This article gives a good overview: https://www.healthline.com/nutrition/how-to-reduce-antinutri...
Probably I could spend less and still have a relatively big impact on the climate. I would just buy a lot of methane and release it into the atmosphere. Assuming [1] is correct, I could get 4t of CH4 for less than 4000€. According to the IPCC AR5, 1t of CH4 is equivalent to 28t of CO2. So I could "easily" have a climate impact of 112t CO2e. This is more than 22 times the global average of CO2e emissions per capita.

My point is that one Euro can have a huge or a small impact on the climate. Nevertheless there are some studies that wealthy people produce more CO2e because of their higher consumption. Everyone should reduce their consumption to what's really necessary. For a real change though, we would need better laws, and people that lobby for them. You could help, too! [2]

[1] https://www.statista.com/statistics/807688/average-price-of-... [2] https://citizensclimatelobby.org/

Re:The State of the Awk on Thursday November 19, 2020 @09:57AM (#25150136)
Predicting the weather is fundamentally different from predicting climate.

Let's play a coin game. We'll throw a fair coin 100,000 times. Beforehand, I predict the number of heads +-0.5%. If I'm right, 1,000$ for me, if I'm wrong, 1000$ for you.

The probability that my prediction is correct is more than 99.8%. Nevertheless, I can predict a single coin flip only with a 50% chance.

A single coin flip represents a weather forecast. Climate, however, is the long term average, represented by the total number of heads. Even if I cannot predict the individual events (like tomorrows weather), I can say something about the averages with high probability.

Re:Coronavirus and Credibility on Monday April 06, 2020 @02:05PM (#22796166)
Some days ago I stumbled on this page: https://www.unfoxmycablebox.com/. It says that Fox News finances itself largely by hidden subscriber fees which are part of a cable or satellite TV subscription. It proposes to write your provider that you do not want to support Fox News. For example, AT&T subscribers pay 24$ per year to Fox News.

What do you think about it?

Re:Ask HN: What are you learning? on Monday April 06, 2020 @01:34PM (#22795796)
I have a cranky uncle who sends an email newsletter with links. Most of the links are conspiracy theories in my eyes. Some of them are about the climate. So to be able to make reasonable judgements, I've decided to learn about the science of climate. The IPCC makes all their reports available. I've started with the technical summary (84 pages, two-column). Most parts of it are well written and understandable with some basic knowledge of physics and chemistry. Nevertheless, it took several man-days to read it. As there is high confidence that the current warming is caused by humans, I've joined Citizens' Climate Lobby to contribute to the right laws to reduce the greenhouse gas emissions.

The same newsletter made me read a book about motivational psychology (The Righteous Mind). A very interesting topic, that I would love to learn more about, if I had more time.

Last year I've (re-)read Category Theory for Programmers. I had tried it once before, but gave up after a third, as the notation didn't make much sense to me anymore. I would like to read it again, creating flash cards for the most important concepts along the way.

Re:The dystopian world of software engineering interviews on Monday February 17, 2020 @07:03AM (#22347088)
Technically, your code runs in O(n^2), as O(n) is a part of O(n^2). Still, he should have accepted the more precise answer O(n).
Re:Why Learn Awk? (2016) on Wednesday January 22, 2020 @11:38AM (#22119018)
Indeed, and with a bit of tuning (e.g., using mawk for most things), one can get quite good performance. [1] The project also provides a translator from Datalog to bash scripts [2].

Disclaimer: I was one of the authors

[1] https://www.thomasrebele.org/publications/2018_report_bashlo... [2] https://www.thomasrebele.org/projects/bashlog/datalog

I just wanted to buy a ticket for the Running Remote conference, and then I saw that there are only on-site tickets ...