last day (15 days later) » 

8:38 PM
7
Q: XKCD Password Generator

KuanHulioIntroduction Apparently, this question has been asked here and it unfortunately closed. I thought it was a good idea to try again with it, but done right. XKCD looks at the how we are trained to use "hard to remember passwords", thinking it's secure, but instead, would take a computer 3 days t...

 
Should assume its available, let me add that.
@NonlinearFruit Whether or not you're right or wrong (I'm assuming you are right, since I got most information from the InfoSec stack exchange), I'm factoring in password length in too, which probably isn't right, but it provides different numbers. Naturally, of course you probably are right, but just generating passwords is too easy, along with the entropy with them with these set standards. The equation is there for variable numbers, not for being correct. And to be fair, I got those entrophies from here.
No. Forgot to add that.
@Uriel fixed. hopefully.
 
The current Python answer assumes the dictionary is already read and parsed into a list, is this acceptable? Why not just allow taking the dictionary, or it's content as input in any reasonable form?
 
Read comments 3 and 4.
"Dictionary. You must use this, download it as a text file and integrate accordingly. This will be the list from which you grab words from. Your code should assume its available." @JonathanAllan
 
What does "available" mean exactly? What is the answer to the first of my questions? Are you saying we may assume the file is parsed and in a variable / on a stack / in a register? If so why not also just allow it as input in any reasonable form?
 
It's available in the fact that its parsed and loaded to use. We don't need input for this challenge, it's just a hassle.
 
8:38 PM
So I may assume it is input if it is shorter in my language?
 
Ok
so
 
There's no input at all
 
Yeah it's tricky for my lang
 
what lang?
 
8:39 PM
See for example the way Japt is doing it
it's taking input in order to put it in a variable
Jelly
It has no "variables"
 
"This assumes the dictionary is stored as an array in the variable U."
 
so I have the choice of putting it in the one registry (seems costly in bytes) or putting on the left or right of a link (which could be argued as input)
yeah but look at the TIO link
 
ohhhh
so you want a dictionary as an input?
 
It would certainly make life easier. It would be much more like a normal code-golf challenge.
 
thats fine then
 
8:44 PM
Cool.
 
just specify it in the answer
 
OK
Thanks
 

last day (15 days later) »