wischi

joined 2 years ago
[โ€“] wischi@programming.dev 12 points 16 hours ago (1 children)

Only in the US ๐Ÿคฃ

[โ€“] wischi@programming.dev 25 points 3 days ago (1 children)

I think the internet was a mistake. Before the internet every town had a few hand full of complete idiots and everybody just laughed at them. Now idiots that share the same delusions meet online and discuss stuff like "flat earth physics"

[โ€“] wischi@programming.dev 5 points 3 days ago* (last edited 3 days ago)

Maybe cloudflare DNS 1.1.1.1?

[โ€“] wischi@programming.dev 5 points 1 week ago

Zug is the noun to "ziehen". Like the Lokomotive pulls the wagons and "anziehen" is the German verb for "to dress" and in that case you can "interpret" again a "pull" (like in pullover) and the noun to "anziehen" is "Anzug".

But yes it typically makes at least some sense but sometimes it's pretty abstract or doesn't work very well.

[โ€“] wischi@programming.dev 4 points 2 weeks ago

That's intended. Look at the second hand for a minute. It goes 1, 2, 3, etc. like on a real clock but the numbers are distributed differently. That's also why the hands sometimes have to move faster to reach their target in time. It goes (backwards) if it's closer.

[โ€“] wischi@programming.dev 16 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Because an image is a bit to lazy IMHO for "prgrammer" humor. I programmed a clock that actually works. Have fun ๐Ÿคฃ

https://jsfiddle.net/gjpwf5oq/2/

Btw: you can change the order of the clock-face if you want.

Update: Supports arbitrary text now (example roman numerals): https://jsfiddle.net/2o97k6vz/6/

Update: And with Months because why not ๐Ÿคฃ https://jsfiddle.net/2o97k6vz/7/

[โ€“] wischi@programming.dev 9 points 2 weeks ago (1 children)

You should use the Bresenhams Line Algorithm for aliased lines instead of just marking all pixels the underlying line touches because that leads to thickness inconsistencies.

[โ€“] wischi@programming.dev 1 points 2 weeks ago

I agree that it's unfair with respect to all the coworkers. But if somebody dies just because you are 10 minutes late, this hospital/institutions has some pretty serious issues. Of course that no excuse to be late.

[โ€“] wischi@programming.dev 3 points 3 weeks ago (2 children)

Good thing that dying grandma waited for your shift to start.

[โ€“] wischi@programming.dev 2 points 3 weeks ago (1 children)

Exactly. And that's also true for young children. Reading digital clocks is exactly that... reading. It doesn't mean you understand what it means or how to interpret it. Analog clocks however are a great tool at actually get a feeling for time.

I think the biggest issue judging by the comment section is that most Americans (at least it seems that way) are almost never exposed to analog clocks.

[โ€“] wischi@programming.dev 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

You are right, nothing to argue against here. What I'm arguing against is just that digital clocks are somehow the successor of analog clock, which they are not. There is a reason why digital clocks are now everywhere and that's mainly cost. It's far cheaper to add a digital clock (sometimes just software because the hardware had a (segmented) display anyway). Nobody would add an analog clock to a microwave, because why would you. But because you need the display anyway to show the remaining time, why not show the actual time when there is nothing in it.

The other thing I'm arguing against is the claim that digital clocks are easier to read. That's just wrong. Assuming you have roughly the same amount of exposure to both types of clocks. Children about 3-5 have no problem understanding analog clocks (just focus their attention to the hour hand at first) but I have yet to see three/four year old kids reading and understanding digital clocks. Digital clocks are more like actual reading and you need a pretty solid understanding of time already to interpret what you read. An analog clock on the other side doesn't assume you know how long an hour is, quite the contrary, it helps children develop a feeling for how long minutes and hours are.

 

I often find myself explaining the same things in real life and online, so I recently started writing technical blog posts.

This one is about why it was a mistake to call 1024 bytes a kilobyte. It's about a 20min read so thank you very much in advance if you find the time to read it.

Feedback is very much welcome. Thank you.

view more: next โ€บ