6 ms·
This is what bugs me about the stackexchange model. Most of the comments are guesses by people who really don't know. The "correct" answer doesn't explain anyth
by sbf501 4y ago
This is what bugs me about the stackexchange model. Most of the comments are guesses by people who really don't know. The "correct" answer doesn't explain anything, it just points to some sources. The highest ranked comment that comes closest, attempts to explain the nature of the numbers (the modulous is the period, and the primes stretch out the cycle) and fires off a link to wikipedia.
Then it appears on HN, and more people half guessing, but better content in general.
Based on yesterday's post, BYTE magazine would have actually given an answer with both why and how.
EDIT: Granted, the link DOES go to Wikipedia which has a great explanation, but in general, providing a link and not answer is a poor model because links decay so quickly.
- phalangion 4y ago> links decay quickly That might be true in many places, and I agree with the general sentiment that the answer should provide an answer and not just a link to an answer. But wikipedia links are generally pretty stable. It’s not some random blog post.
- eru 4y agoWikipedia can change of course, but they are very good about preserving their history.
- spullara 4y agoI'd be willing to bet that a Wikipedia link will outlast a StackExchange answer.
- matheusmoreira 4y agoIt absolutely will. Some of my favorite answers on Stack Overflow have been deleted and there seems to be no archive for such lost data.
- cxcorp 4y agoI usually save my bookmarks on the Wayback Machine just so there's at least one copy out there.
- nerdponx 4y agoStackoverflow itself retains all deleted questions and answers. If you have enough points you can see them.
- matheusmoreira 4y agoHow many points? Right now I have 16.7k.
- nerdponx 4y agoLess than that for sure. Maybe you need to enable some setting, like on HN?
- kragen 4y agoWhich ones were they?
- matheusmoreira 4y agoOne of my favorite answers was about programming languages written by a Jörg W Mittag. It was a comparison between shells like bash and proper programming languages and featured a huge table comparing syntax, showing how languages are supposed to scale up in complexity while shells are supposed to scale down. Never found it again on the site. Years ago I remember digging up a link to the question but got the 404 page when I followed it.
- kragen 4y agoAw. I really enjoy his answers in general. I wonder if the answer survives in an old data dump or in the Archive?
- 4y ago
- bluedino 4y agoThe title question was the original source. The answer was a list of places it was found, including the earliest.
- sbf501 4y agoOh, good point. OP was looking for original source, papers referring to, etc. Too late to edit, but minus points for me for not comprehending the original question.
- bluedino 4y agoDidn't help that he asked a couple more questions at the end Who invented this algorithm and tested the distribution? Is there a paper or something to cite? That would have made another question.
- Nition 4y agoI don't think you were far off what the asker was looking for. In a comment, they say "I was kind of hoping to be able to point to some specific research as to why these numbers are special".
- a-dub 4y agoNR has long been seen as a sort of necronomicon for scientific computer programming. i don't think it's SE's fault as much as it is a historical rough edge between two fields (computer programming and applied mathematics). the first constant is klaatu, the second is barada and the third is nikto. (NR also tends to be fairly rigorous in terms of citations, for the curious)
- ascar 4y agoWhat's NR, what's a necronomicon and what's klaatu, barads and nikto. I googled all these things and I can't still make any sense of your comment except that it's intentionally confusing with some popular fiction references?
- webstrand 4y agoNR is apparently Numerical Recipes, a book. I think they mean that the constants are not well understood, like the phrase "Klaatu barada nikto" was not understood, but still had an effect.
- adhesive_wombat 4y agoI assume Numerical Recipes.
- svnpenn 4y agoIt's common hacker news trope for someone to do acronym diarrhea, even with rarely or never used abbreviations. It's quite annoying.
- Dylan16807 4y agoNR is in the answer in the link. I feel like SE being stack exchange is pretty clear here. The remaining reference is not an acronym or abbreviation, nor do I think it looks like one.
- hinkley 4y ago"Klaatu barada nikto" is a code phrase from The Day the Earth Stood Still to stop the homicidal antagonists from killing you. It's doubly famous because Sam Raimi recycled it in "Army of Darkness" as an incantation to dispel the curse of the Necronomicon (book of the dead, portrayed as the arch book of black magic in any number of stories), which our hapless anti-hero Ash fucks up and thus unleashes the armies of the dead on a roughly medieval and wholly unprepared world. If you like campy horror movies, there is so much camp in Army of Darkness that there's barely any room for the horror. It is technically a sequel but it works as a standalone movie. I watched it years before I finally sat down and watched The Evil Dead.
- loldk 4y agoInsecure devs always obfuscate and try to hide the whole truth. It is a massive problem in tech.
- svat 4y agoIt took me a while to understand your comment, until I realized there are two interpretations of the question of where these numbers come from: • One is a historical question: who first used these numbers and when? who copied from where? • The other is a conceptual question: why might someone choose these numbers, what do they "mean", how do we interpret these constants? The former is purely a question of facts and there is nothing to "explain the nature of the numbers", and this is what the answerer on Stack Exchange seems to have interpreted it as. Under this interpretation saying things like "the modulus is the period" is not really germane to the question; what's required is to search sources and try to find the chronologically earliest one. (The answer doesn't seem to have done a definitive job, but it's a reasonable start.) This is like synchronic vs diachronic in linguistics: in the latter interpretation you mainly just want to understand the random-number generator.
- jefftk 4y agoReading the question it seems pretty clear to me they're interested primarily in the history: "Who invented this algorithm and tested the distribution? Is there a paper or something to cite?"
- svat 4y agoYes that's what I thought too (which is why I found the complaint hard to understand until I thought of the alternative interpretation). But clearly at least the person I was replying to understood it differently, and it was also the top comment on this thread for a while at the time I posted my comment, so others may have thought the same too. Even at the question, on a comment on the answer the asker mentions "why these numbers are special" and comments about them being prime etc, so it's possible they didn't have a clear idea what they wanted either.
- pizza234 4y ago> This is what bugs me about the stackexchange model. > providing a link and not answer is a poor model because links decay so quickly. Providing a link and not answer is not the stackexchange model. On the Stack Exchange network, such answers are often (not always, of course) commented with a request to expand the answer.
- nerdponx 4y agoAnd it's not just accepted but encouraged to comment on old questions and answers that are either wrong or not up to current standards.
- 0xTJ 4y agoThe question isn't asking about how it works. It asks about where that algorithm comes from.
- sbf501 4y agoPlease read the other comments before adding a redundant one.
- deleted 4y ago[deleted]