PrankDomains – a hijacking open DNS server for pranking your friendsprank.domains7 points·by eatnumber1·vor 12 Jahren·0 comments
eatnumber1·vor 12 Monaten·discussThis is an old blog post I sat on for years because it's ultimately incomplete... but I still think it's interesting even incomplete, so here it is.
eatnumber1·vor 12 Jahren·discussCan you submit a pull request saying as much in the same form as the Java solution?
eatnumber1·vor 12 Jahren·discussThe three people who are judging this had a long discussion over this case, and basically decided that since it is in the file, it's fine. We frown on it a little because it's basically self-modifying code, but it's better than nothing for bash.
eatnumber1·vor 12 Jahren·discussThis is a great incomplete solution. Can you submit a pull-request for it?
eatnumber1·vor 12 Jahren·discussThis is awesome! Can you add a main method with an example of it working and submit a pull request?
eatnumber1·vor 12 Jahren·discussAgreed. These are informal. If you want to make a formal proof that it's impossible, I'll make a new category.
eatnumber1·vor 12 Jahren·discussResetting the state isn't one of the rules ;)I'd make a solution which resets the state linked by the table though, so please submit one!
eatnumber1·vor 12 Jahren·discussCan you submit a pull request saying as much in the same format as the Ruby one?
eatnumber1·vor 12 Jahren·discussFor the impossible bullets, they link to informal arguments as to why it's impossible. The ruby one has code - it's a syntax error.
eatnumber1·vor 12 Jahren·discussLanguages that don't use () still have to use the same syntax. See the haskell solution.
eatnumber1·vor 12 Jahren·discussIf the min macro would have worked, it would have allowed the two lines min(1, 2, out); return out; to be condensed into one line.