Spyke

Replies

Comment on

If humans were born with 6 fingers on each hand we would be using base 12 instead of the decimal system.

Reply in thread

“Hundred” in Germanic Europe used to be 120 before the Romans came and introduced their “century” with a value of 100. This is still known as “the long hundred”

12, 60, 120, 360 are the first superior highly composite numbers. https://en.m.wikipedia.org/wiki/Superior_highly_composite_number

These number divides neatly into integer parts in many ways for their size.

They are also the basis of many pre decimal counting systems, some of which are still around. 360 degrees in a circle. 12 hours in a day.

The Babylonian’s used base 60. We still do for time as you pointed out. The minute refers to a minute(as in small) part of something. The “second” is the “second minute”. Ie a minute divided into minutes. This system is also used for geodetic cordinates. Where we have arc minutes and seconds.

memes

Comment on

*Permanently Deleted*

Reply in thread

I am principally opposed to what is going on with Reddit. But to be honest, I am much more practically opposed to using it without a third party app. Hence I have only just gotten around to join Lemmy now. If I wasn’t on vacation and had a bunch of time right now, I probably wouldn’t have joined until after the apps stopped working.

I expect that the practical reality of not being able to use your preferred Reddit app (which is still hours away) is going to be a big motivator compared to everything else leading up to this.

Comment on

The Tragic Death of Inheritance

There are many reasons one might use inheritance. The one which is often first introduced by OOP proponents is creating a “is-a” relationships in some domain model where the goal is to somehow model “real life” with classes and objects.

This always ends badly in my experience. Not worth doing. Just consider the “rectangle square controversy” https://henrietteharmse.com/2015/04/18/the-rectanglesquare-controversy/. Inheritance as a domain modelling tool doesn’t really mean anything outside of textbooks talking about animals and vehicles.

One should understand how computers and programming work and model data in a way which makes sense for the concrete scenario. Look in any algorithms and data structures book. Nothing is ever explained and presented through object models. No UML diagrams needed.

But inheritance also bring actual concrete functionality. In particular dynamic single dispatch. If you need dynamic single dispatch, inheritance is good. That being said, I think that parametric polymorphism (“generics” in OOP terminology) is a better solution than subtype polymorphism in almost all cases. Although languages build around OOP and inheritance sometimes make it too inconvenient to use.

Comment on

Twix

Reply in thread

Twix are chocolate bars which comes wrapped two identical pieces in one wrapper. OP can apparently tell the difference by taste which is absurd.

Comment on

What do you think is the best solution to having the same named communities on different instances?

Reply in thread

Identically named does not imply identical. Could be totally different communities with the same name. Or there could be subtle but important differences.

Likewise differently named does not imply that two communities are not essentially the same.

Having some form of grouping could be an idea that might be useful to some. I imagine different people would like it to function in different ways.

But it is entirely orthogonal to naming. At the end of the day abc@instance1 is a different name than abc@instance2.