@Gargron CORS is such a PITA, even if it is needed :(
Interesting fact: The Dutch government issues a Burgerservicenummer (BSN) to all its residents. This is required whenever you wish to order burgers in a restaurant throughout holland, including at McDonalds and Burger King locations.
OK I kinda made this one up :) but BSN is a real thing :)
#Netherlands #Holland #TheMoreYouKnow #Joke #Jokes #Humor #Humour
@Algot lol
@Algot They meant the second definition "difficult to believe; extraordinary."
@timorl I will, and likewise.
solution, excessive smugness
@timorl Correct, I'm very impressed :)
Rule number one to solving any problem: use graphs (as in Graph Theory)
solution, excessive smugness
@timorl Correct, I'm very impressed :)
Rule number one to solving any problem: use graphs (as in Graph Theory)
solution, excessive smugness
The jars with papers inside represent a permutation, every piece of paper points to the next jar in the permutation, say we number the jars from left to right. As all permutation, this one can be represented as a collection of cycles. Two key insights about these cycles:
1. Every cycle containing the jar numbered $k$ neccessarily contains the piece of paper with $k$ written on it, otherwise it wouldn't be a cycle.
2. At most one cycle has length greater than $50$.
With these insights the solution is simple. Your assistant looks at the whole permutation, and if any of the cycles has length greater than $50$ they switch the pieces of paper to break the cycle in half. They do nothing if there are no big cycles. Now you get told the number you are looking for and go for the jar numbered with it. Afterwards just trust the pieces of paper to lead you to the correct jar.
Thanks for this puzzle, solving it gave me a very needed confidence boost. *smugness incoming* Especially since I didn't even need to use paper.
@timorl Sadly I'm more limited in talking about mine, even though it will be open-sourced later. Which is why I dont usually talk about it. I mostly just felt it would be good for us to connect given our common interests.
"Be who you needed when you were younger" Speech from Brad Montague https://www.youtube.com/watch?v=KwawsVan05s
@Wetrix lol, sleep well
@Wetrix Sure, hit me up anytime :)
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands, USA, and Thailand. Was also living in Israel, but left.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well. These are called neopronouns, see an example of the word "frog" used as a neopronoun here: http://tinyurl.com/44hhej89 )
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
My stance on various issues:
Education: Free to PhD, tax paid
Abortion: Protected, tax paid, limited time-frame
Welfare: Yes, no one should starve
UBI: No, use welfare
Racism: is real
Guns: Shall not be infringed
LGBT+/minorities: Support
Pronouns: Will respect
Trump: Moron, evil
Biden: Senile, racist
Police: ACAB
Drugs: Fully legal, no prescriptions needed
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE