AVincentInSpace

joined 2 years ago
MODERATOR OF
[–] AVincentInSpace@pawb.social 7 points 1 year ago* (last edited 1 year ago) (1 children)

Because to a certain extent Python is duck typed. Python has no concept of interfaces, unless you count the abc module combined with manual isinstance() checks, which I've never seen anyone do in production. In order to be passed to some function that expects a "file-like object", it just has to have methods named read(), seek(), and possibly isatty(). The Python philosophy, at least as I see it, is "as long as it has methods named walk() and quack(), it's close enough to a duck for me to treat it as one".

Duck typing is distinct from weak type systems, though.

[–] AVincentInSpace@pawb.social 10 points 1 year ago (3 children)

For the last time, Python is not weakly typed. It is dynamically typed. The statement 5 + "hello" results in a type error. Bash is weakly typed, and that same addition results in 5hello

[–] AVincentInSpace@pawb.social 5 points 1 year ago

I can think of no more perfect summary of the average Lemming's slacktivism than the fact that this comment has 4 upvotes while the one below it, which reads simply "fuck drumpf", has 16

[–] AVincentInSpace@pawb.social 21 points 1 year ago* (last edited 1 year ago) (9 children)

why does konsi have to be such a gigachad

like is there a single thing she hasn't already done and excelled at

[–] AVincentInSpace@pawb.social 1 points 1 year ago* (last edited 1 year ago)

then we'll happily continue living our respective lives side by side, working together hand in paw for the greater good

[–] AVincentInSpace@pawb.social 1 points 1 year ago

This comic makes the presupposition that the workers have a guillotine to use on her. In the comic, she was unaware that they did, and in the real world, they very much do not. If you instead gave the lines she says in the comic to the real-world Jeff Bezos, they would be perfectly rational.

[–] AVincentInSpace@pawb.social 3 points 1 year ago

I can't see through the paywall either, but if it's like any of the hundreds of other articles that have been written on this topic, the answer is probably TikTok

[–] AVincentInSpace@pawb.social 14 points 1 year ago

this is the part of autism that nobody likes to talk about

[–] AVincentInSpace@pawb.social 6 points 1 year ago* (last edited 1 year ago) (3 children)

She is, however, acting in her own rational self-interest by keeping all the value of the new machine for herself and not passing it on to her workers. If she were acting in the group's rational self-interest, she would allow them to work half as long. Since she is acting in her own rational self-interest, she threatens to fire her workers if they do not work the same hours as before and pass the value on to her. From her perspective, it makes perfect sense: all she has to do is install the new machine and make no other changes, and she and begins earning twice as much income from the factory she owns, without having to lift a finger. Any purely rational person (as opposed, mind you, to an empathetic one) would take the option to do that.

[–] AVincentInSpace@pawb.social 37 points 1 year ago (1 children)

I will never get tired of linking to this: The Only Moral Abortion Is My Abortion

[–] AVincentInSpace@pawb.social 23 points 1 year ago* (last edited 1 year ago) (8 children)

Elon Musk tweeted "Imagine a new all-powerful woke AI"

i'm honestly not sure which belief is more brain-dead: that anything that is woke is bad, or that all-powerful AI is a credible threat

view more: ‹ prev next ›