But more accurately, https://xkcd.com/1987/

But more accurately, https://xkcd.com/1987/
xkcd: Python Environment
From An unknown user
The Python environmental protection agency wants to seal it in a cement chamber, with pictorial messages to future civilizations warning them about the danger of using sudo to install random Python packages.
10 Replies
mikeage
mikeageOP•3y ago
To be fair, anyone who has ever tried to debug someone else's python installation (and "someone else" can mean "me from last week") knows to abandon hope
mikeage
mikeageOP•3y ago
And, of course, this classic: https://xkcd.com/349/
xkcd: Success
From An unknown user
40% of OpenBSD installs lead to shark attacks. It's their only standing security issue.
andybak
andybak•3y ago
thanks for helping with that eldritch horrorshow! i'm now late for me train so dashing off
mikesky
mikesky•3y ago
okay got mine working too 😅 cursed
mikeage
mikeageOP•3y ago
bye! ok, good, so it is possible 🙂 I feel like this is one of those situations where docker would be helpful, but also, like this is one of those situations where docker would just be a whole other layer of problems 😉
mikesky
mikesky•3y ago
i accidentally generated the dotnet-format files elsewhere, once i worked that out i just manually copied them! oh god yeah don't inflict docker on me!
mikeage
mikeageOP•3y ago
The good news is that once installed, dotnet-format will stay there forever, more or less!
andybak
andybak•3y ago
@mikesky Just had this as a code suggestion from Rider:
public bool HasOutgoingListeners => m_OutgoingHttpListeners is { Count: > 0 };
public bool HasOutgoingListeners => m_OutgoingHttpListeners is { Count: > 0 };
instead of:
public bool HasOutgoingListeners => m_OutgoingHttpListeners != null && m_OutgoingHttpListeners.Count > 0;
public bool HasOutgoingListeners => m_OutgoingHttpListeners != null && m_OutgoingHttpListeners.Count > 0;
Did you know that one?
mikesky
mikesky•3y ago
Well that looks like black magic Is it a c# 10 thing? Will it compile for unity?
andybak
andybak•3y ago
yeah. i think it's part of C#7 pattern matching i've been using the nifty new switch expressions - this looks vaguely related

Did you find this page helpful?