Comment on
Delusional techie is very scared of Chinese Deepseek
This supposed Chief Technology Officer appears to understand very little about how Technology actually works.
Comment on
Delusional techie is very scared of Chinese Deepseek
This supposed Chief Technology Officer appears to understand very little about how Technology actually works.
Comment on
Mark Zuckerberg banned news on Facebook and Instagram in Canada. Jeff Ballingall, a conservative operative, saw an opportunity. He runs ''Canada Proud'', a facebook page publishing lies
Reply in thread
Google does pay Canadian news companies to show their content.
Part of the issue is that Facebook and Instagram can show news stories without linking out to them, so users don’t get the opportunity to see the news companies’ ads or to sign up for a subscription.
Comment on
There are two types of Lua users
As a former Lightroom plugin developer I feel erased!
Comment on
PhotoPrism vs Apple Photos currently?
Reply in thread
+1 for Immich, I tried photoprism and had a lot of trouble importing and organizing an existing library. Immich works much more intuitively and had all the features I needed.
Comment on
Untitled
An obelisk from The Fifth Season?
Comment on
*Permanently Deleted*
Reply in thread
YES! I rewatched recently. I thought it would age poorly but it’s still extremely watchable.
Comment on
In the mood for engineering / competence porn. What are your favourite novels / series?
Reply in thread
I’d say it definitely counts as competence porn though, it’s got tons of high-stakes hacking and problem solving.
Comment on
Oh no! - Owls Team Up with The BORG to Protect Lower Income Farmers in Malaysia
Resistance is hootile
Comment on
What can I use instead of my pronouns in Russian?
Reply in thread
I think они would work better no?
Comment on
Is there anything that could help me memorise the argument order of the `ln` command?
I think of it in terms of the cp command: Source first, followed by destination. The last argument is always the new file/link you are creating.
Comment on
[Answered] Typehints for functions that have variable signatures
Reply in thread
This is the real answer, overloads are meant for exactly this purpose.
It’ll be something like this:
from typing import Literal, overload
@overload
def foo() -> Data: …
@overload
def foo(return_more: Literal[True]) -> tuple[Data, Data]: …
def foo(return_more: bool = False) -> Data | tuple[Data, Data]
...
if return_more:
return data, more_data
return data