HNHacker News
TopNewBestAskShowJobs

v4vvdq

23 karma · joined August 14, 2019

submissionscomments
v4vvdq··on All clocks are 30 seconds late
An analog clock does show the exact current moment of time (if the hands move in a linear motion and don't jump).
v4vvdq··on 1/0 = 0 (2018)
Then take 10 and divide it by -10 = -1. 10 / -5 = -2. 10 / -0.5 = -20. So from the other side of the y-axis it behaves the exact opposite. It goes to minus infinity. So at x=0 we would have infinity and minus infinity at the same time. Imho that is why it is undefined.
v4vvdq··on 1/0 = 0 (2018)
I was also looking for this. And would like to add: lim(-1/x)_x -> 0 = -inf That is (in my opinion) the whole point why it is actually undefined. On one side of the y-axis it goes to infinity, on the other to minus infinity. I don't see a solution to this and therefore always have accepted that it is undefined.
v4vvdq··on Germany solar power output jumps to record highs
Yes, the units are correct. But currently Germany is generating 33 GW of solar power (according to electricity maps). Therefore the 17GWh is generated after 0.5 hrs. For a whole week this value is way too low, even if it was a cloudy week (which it wasn't).
v4vvdq··on PID Controllers in Unity3D (2021)
A thermostat is not an on/off-controller but a proportional controller. The lower the temperature, the higher the flow rate. At least for thermostatic radiator valves this is true.
v4vvdq··on Solar will supply almost all growth in U.S. electricity generation through 2025
In northern (and southern) regions the less light you get in winter, the more you get in summer. It is a zero-sum game.
v4vvdq··on Problems of C, and how Zig addresses them
Zig does have some kind of interfaces, check [1]. I am interested to learn, how Traits in Rust and Interfaces in Go behave differently from this concept.

[1] https://github.com/ratfactor/ziglings/blob/main/exercises/09...

v4vvdq··on All in with Nuitka
Sorry if this is a stupid question, but could Nuitka (which transpiles Python to C in some way) also work with PyPy to gain even more speed? Like PyPy to C?
v4vvdq··on Lies we tell ourselves to keep using Golang
Author should have used this article to propose Go 2.0 changes. For me, I read it like a rant.