-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add instructions #5
Comments
Your comment is 100% on the money. In particular, the shelly dependency is really unforgivable; that's a private collection of mine, and there's literally no way to get it from the web. Really, at a minimum, I should make it possible to install this code by running raco pkg install molis-hai. I bet I can do this in ... 30 minutes? Let me try. |
Okay, Done! (38 minutes) I cleared up most of the foreign dependencies, and made it into a package. You should be able to run letter-frequency.rkt without installing shelly, or indeed any non-off-the-shelf packages. |
Hmmm, nah, I'm not agreeing with this being closed, sorry :) While you may have resolved the dependencies, it still isn't possible to run it without more knowledge: $ raco pkg install molis-hai ... with only 6.1.1 being available for download. ... plus, you didn't add a single line of additional instructions :) But I'm getting some results now with "racket letter-frequency.rkt", so there's that .. cheers! |
Ouch! I see that data-enumerate-lib is a bit more bleeding-edge than I was aware of. This will be solved for us when 6.2 is released, in a month or so. In the meantime, what kind of instructions would be most useful? Instructions on installing the package, or instructions on using your own corpus? (reopened.) |
Well, the git version seems to work with the binary 6.1.1 distribution (at least after the raco call), at least it seems to generate some output: count@hoschi:~/repos/github-jbclements-molis-hai/molis-hai$ racket letter-frequency.rkt ... well well. :) In my book, good code documentation teaches the reader:
Extra points whatever creates outputs from inputs has some kind of architecture/code layout description, so someone can follow along - I don't know scheme, let alone racket, so I didn't even really start looking into it ;) Might just be a "some assembly required" situation in your view, but hey ;) I'd love to be able to tweak the code to stop having special characters at the start/end of the password, configure password length limits (mostly upper) and character policy (we've got up to 32 characters with a requirement of upper, lower, number, and special characters, grr), and generally a way to get the password to be as natural-language as possible. But this is a very good start!!! :) |
I don't really consider myself a novice user, but - instructions would be highly welcome.
Racket is (still?) somewhat obscure, and I found myself completely stumped. The stock Ubuntu 'racket' seems to be too old for this code (version) 5.3.6, and even with the (slightly scary) shell installer from the website (6.1.1) it doesn't get much better:
$ racket letter-frequency.rkt
letter-frequency.rkt:12:9: collection not found
for module path: shelly/random-password
collection: "shelly"
in collection directories:
/home/count/.racket/6.1.1/collects
/usr/local/share/racket/collects
... [152 additional linked and package directories]
context...:
show-collection-err
standard-module-name-resolver
standard-module-name-resolver
... I don't know how to proceed, the documentation is non-obvious, Google doesn't help, and all I really wanted to do is chuck a copy of the Cryptonomicon at it and get a few useful passwords.
Can extended the README to provide concrete steps for the unitiated user to teach how to do that?
I consider the concept awesome, but I don't know how many might have given up before even getting this far.
Cheers!
The text was updated successfully, but these errors were encountered: