wait we're federated with hexbear? I thought they defederated from us because we were too small for them to put us on their federation whitelist ๐ค
Crazazy
Alright as someone who likes Haskell and has dabbled in unison before, I believe I can answer all these questions for you:
- Why is
helloWorld
there twice?
It is common in languages like haskell and ocaml to first mention the type of a function, so in this case:
- the type of
helloWorld
is'{IO, Exception} ()
. That is it's type signature (important for later) - the implementation of
helloWorld
is\_ -> println "Hello, World!"
- What's the
'
for?- What are the
()
for?
Here is where I have to get into the nitty gritty of how unison actually works. Unison has what programming language researchers call an effect system. The type signature of helloWorld
indicates that it can perform the IO
and Exception
types of side effects, and these need to be handled. (in this case, they are handled by the compiler, but other types of side effects can be handled by the programmer themselves)
However, for reasons Unison does not like dealing with eagerly evaluated non-function values with side effects. For this reason, there is '
. Essentially, what it does is turn a value into a function that accepts ()
as it's argument. We could therefore say that the type signature of helloWorld
is also () -> {IO, Exception} ()
. The last ()
indicates that, next to it's IO
and Exception
side effects, it also returns ()
as a value. This is because, in functional programming languages, all functions need to return values (or run infinitely, but that is for another topic)
Now I've been used to functional programming for quite a while now, so things that seem natural to me can be absolutely woozy for anyone not used to this paradigm. So if anything still feels vague to you feel free to comment
Whatever metric they use to track installs has to prevent abuse like this
I would be eagerly awaiting a follow-up response from unity from this, because as it stands right now, consensus among gamedev circles is that unity won't prevent abuse at all, which is just awful for multiple groups of people.
- someone paying for your game and then re-downloading it every hour would cost you $144 a month
- someone paying for your game and then re-downloading it every 5 minutes would cost you $1728 a month
- web games exist, and if the Unity Runtime Download metric is used there, well, that is going to be an expensive bill for anyone putting any sense of monetization in their web game
I think the biggest gripe with gnome isn't that they don't have a lot of features, it's that they keep removing features people like. That, or breaking people's shit with no prior announcement.
It's as if gnome feels more responsibility for the (hypothetical) people they would want to use their desktop, rather than the people that are actually using their desktop right now.
Yes but it would have been nicer to have a transition period in which both methods are supported for a little while so that you don't literally break every extension in existence up to this release
Idk I don't tend to look at the clock when I fall asleep, but I do know that whenever I accidentally fall asleep while watching, say, a PBS spacetime video, I pass out for no less then about an hour
Also I have no clue how the other people here figure out how long it takes them to go to sleep, because as far as I know, looking at the clock just keeps you awake for longer
I just embrace impermanence. Fediverse is not much other than some other person's server, and if the instance owner decides he doesn't want to host his instance anymore, you're just gonna have to cut your losses and move somewhere else. It's not as if the entirety of Lemmy is gonna stop existing at once.
The real threat to Lemmy's existence is the maintenance of the software. If that stops, there are 2 options, either someone forks it, or the medium slowly dies out as no one feels like hosting outdated software anymore.
In that case (which, might I add, is unlikely to happen), you're gonna have to cut your losses, and move to a different type of social media
Even worse is when the bash script you downloaded is only there to do some uname checks and then download and execute more code from the internet
I had almost forgotten about the bad reddit habits when I first made the transition to Lemmy due to being on mostly less popular subs, so I was kinda expecting a tildeverse.org experience when getting here.
Sadly I got reminded of the fact this is a reddit exodus when people kept talking about spez here, and how reddit so shit now, and how Lemmy is superior and just the general sense of everyone patting each other on the back and you know, Lemmy circlejerk.
I didn't join Lemmy just for it to become reddit again :c
I know 5 year old me would have a little trouble sleeping from some of the sounds (example when you pick up an orb) coming from noita, never mind the occasional worm or kummitus jumpscare
Maybe not here, but I tend to get the feeling that the argument for static typing goes "it may look harder than dynamic types, but it's really not that bad", where as this article shows some more concrete disadvantages of static type systems
I mean seeing how people here act after having been on nixos for a few weeks I would say it's an apt comparison. I swear we weren't that obnoxious when I started using the distro in 2019 D: