petersr

joined 2 years ago
[–] petersr 5 points 5 months ago (3 children)

Look at me, I have free toilet paper at work.

[–] petersr 19 points 6 months ago

It kinda has a Kim Jung Un vibe to it, doesn't?

[–] petersr 5 points 6 months ago (2 children)
[–] petersr 14 points 6 months ago* (last edited 6 months ago) (1 children)

From the Wikipedia page it seems that there are small outbreaks every year in the region of origin (India/Malaysia). It seems like the government is quite good at tracking down infected and potentially infected - which is lucky since the mortality rate is above 50%! I wonder what happens if one of the infected jumped on a plane to a completely different place in the world that was not so good at managing it.

[–] petersr 3 points 6 months ago

I would like to share this with you: https://youtu.be/U0YW7x9U5TQ

[–] petersr 8 points 6 months ago

It somehow disappears when I close my private browser.

[–] petersr 1 points 7 months ago

I will need to try this!

[–] petersr 2 points 7 months ago (2 children)

And it actually works?

[–] petersr 23 points 7 months ago (1 children)

Let me take a stab at it:

Problem: Given two list of length n, find what elements the two list have in common. (we assume that there are not duplicates within a single list)

Naive solution: For each element in the first list, check if it appears in the second.

Bogo solution: For each permutation of the first list and for each permutation of the second list, check if the first item in each list is the same. If so, report in the output (and make sure to only report it once).

[–] petersr 10 points 7 months ago

Sorry, we sold out of that 5 min before you walked in.

[–] petersr 1 points 7 months ago

They came for the dogs first and now us

view more: ‹ prev next ›