Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
klausnrooster
on Aug 1, 2016
|
parent
|
context
|
favorite
| on:
Using Simulated Annealing to Solve Logic Puzzles
Looks neat but I gave up on it converging on my new laptop. I'm going to port it to rebol2. This bit confuses me:
random.choice(range(0, i) + range(i+1, 4))
how is that different from
random.choice(range(0, 4))?
Obviously no Pythonista, but playing around in the REPL I see no diff.
klausnrooster
on Aug 2, 2016
[–]
Duh. Where is the button that reverses the passage of time?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: