

why does your dad look the same age as his mom
why does your dad look the same age as his mom
nah, that’s code that does something slightly different every time you run it. that’s a different beast.
ah sweet, code that does something slightly different every time i compile it
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.
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
(i’m gonna do something evil)
Sounds like you’d really like Nix.
The second one isn’t valid syntax in any programming language I’m familiar with. What does it do?
why would you call it anything other than the ternary operator
Zoophiles are disgusting, sure, but I think we were all happier not being reminded that they exist
I’m sure the trans people whose lives are now in danger will sleep much better tonight knowing that the blood of those Palestinian children who are going to continue dying because Donald Trump has promised not to even try for a ceasefire isn’t on your hands, because you didn’t vote for Kamala Harris.
I hope you’re fucking happy.
…either an empty string, a single character, or the same sequence of characters repeated more than once?
You know what? I’m gonna Sonarr and Jellyfin even harder
Reddit-style angle-bracket-exclamation-point spoiler tags do not work on desktop Lemmy or, to my knowledge, any mobile app besides Sync. Lemmy spoiler tags work a little differently:
:::spoiler Text next to the arrow
Text inside the spoiler
which can be multiple lines
* and can contain *formatting*
* and other such niceties
:::
which produces this
Text inside the spoiler
which can be multiple lines
I do so love it when leftists who have never interacted with me beyond reading a single comment tell me what I believe
FFmpeg has FFV1 which is lossless
So, none of the above, but you’re still not going to vote?
mmmm no that’s a perfectly reasonable thing to judge people for
I’d like to focus my counterargument. Which of these statements do you disagree with?
Return oriented programming is not a…
…you know what, never mind. You keep doing it. Cybercrime is cool anyway