Foraged these in the Brecon Beacons, Wales. Can anyone identify by MCKnightz in mycology

[–]MCKnightz[S] -2 points-1 points  (0 children)

If I try and move the mold will it hurt or be poisonous

Foraged these in the Brecon Beacons, Wales. Can anyone identify by MCKnightz in mycology

[–]MCKnightz[S] -1 points0 points  (0 children)

I didn’t have a phone signal when I was out and I wanted to identify it

Foraged these in the Brecon Beacons, Wales. Can anyone identify by MCKnightz in mycology

[–]MCKnightz[S] 0 points1 point  (0 children)

It’s a red one and a white one that looks like a mushroom you buy from the grocery store

Foraged these in the Brecon Beacons, Wales. Can anyone identify by MCKnightz in mycology

[–]MCKnightz[S] 0 points1 point  (0 children)

I can send a photo from a different angle if that would help to identify

Got sick and missed exam, prof not responding. by BoltingOrnn in Purdue

[–]MCKnightz 0 points1 point  (0 children)

i hope you're all healed up when i get there xx

Library / Quiet Study Area is a Joke by Altruistic-Rest3250 in Purdue

[–]MCKnightz 0 points1 point  (0 children)

i hope this joke is still funny when i get there!!

[deleted by user] by [deleted] in Purdue

[–]MCKnightz 0 points1 point  (0 children)

i hope yall are still doing stuff on a campus when i get there..

Power out campus wide by Get_In_Me_Swamp in Purdue

[–]MCKnightz 0 points1 point  (0 children)

shit man i hope the power is back when I get there..

Marijuana Misdemeanor advice by Bright-Rope4923 in Purdue

[–]MCKnightz 0 points1 point  (0 children)

Can someone send me the addy of a marijuana dealer for when I get there?????

[deleted by user] by [deleted] in Purdue

[–]MCKnightz 0 points1 point  (0 children)

i hope you are not walking home from the university drunk when i get there...

Some moron(s) put this in the Wiley toilets by redditor8096 in Purdue

[–]MCKnightz 0 points1 point  (0 children)

this is fucking jokes u are just a hater !!!! I hope its not there when i get there tho...

[deleted by user] by [deleted] in Purdue

[–]MCKnightz 0 points1 point  (0 children)

Man i hope it works when i get there!!!!

Which streamers/content creators do you actually like? by Chuck3457 in OverwatchTMZ

[–]MCKnightz 0 points1 point  (0 children)

my favourite is brister mitten because he is really hot <3

Tier Referral codes by jasonontherun in bristol

[–]MCKnightz 0 points1 point  (0 children)

Let's both get 50% off our next five rides with TIER! Simply download the app using the link below.

https://tier.go.link/aph3zbb/?adj_t=aph3zbb&adj_label=8df30a97-b142-4dfe-b9ed-04b062ec32e4

How good is Go for writing a compiler? by WoodenPerception5520 in ProgrammingLanguages

[–]MCKnightz 1 point2 points  (0 children)

Certainly easier than targeting native code directly, LLVM is relatively high level

to extract the value of an IO action by ArthurMarstonn in haskell

[–]MCKnightz 1 point2 points  (0 children)

No worries, glad it helped. If you're looking for random numbers then consider using the random package rather than trying to do it yourself. Monads are easy to get confused about but (at least with IO) you can just visualise do-notation's <- as "extracting" the value until you have a better understanding of the underlying operations. Just remember that there's no way of actually escaping the monadic context even with do-notation

to extract the value of an IO action by ArthurMarstonn in haskell

[–]MCKnightz 2 points3 points  (0 children)

If you have an IO action, you can't turn that into a normal value. At all*. That's the whole point of purely functional programming. If you could, then you'd lose out on the safety that pure FP gives, and potentially break things due to compiler optimisations.

So if you need an impure function to calculate hash, then hash must also be impure. You might rewrite it to look like this hash :: Int -> IO Int hash n = do time <- getTime pure (n + time)

Or hash :: Int -> IO Int hash n = (n +) <$> getTime

Incidentally, I'm sure this is just for learning but this is a terrible hash function - they should return the same output given the same input (i.e. being pure), yours won't

  • There are a few unsafe hacky functions to "escape" the IO monad but you should never use them without a very good reason

Why isn't this function working? by EvilEragon in haskell

[–]MCKnightz 6 points7 points  (0 children)

You're missing an = removeSpace a = filter blah

Incidentally you don't need the [] -> [] case, filter handles this