HNHacker News
TopNewBestAskShowJobs

cody8295

84 karma · joined February 16, 2017

submissionscomments
cody8295··on Ask HN: What college electives did you take that affected your life the most?
Math in diverse cultures *

Theater

Biology 1 + 2

Spanish 1 + 2

Sociology *

Psychology *

As a comp-sci student, these electives really got me interested in a lot of cool stuff.

cody8295··on Tesla retroactively extends free unlimited Supercharging to all current vehicles
It's really amazing that a company which is losing money, but valued at 50B, is somehow giving away free electricity not just to Model S's but now to the whole fleet of Teslas on the road.

Here's hoping for the Model 3 launch at 35k base, still

cody8295··on Anagram Scoring
I think 'clitoridean directional' is a clear winner
cody8295··on Predicting Properties of Molecules with Machine Learning
I'm taking an AI class and decided to choose computer aided drug discovery as my research topic. So it's pretty cool to see stuff like this come out.
cody8295··on Bill would allow Connecticut police to put weapons on drones
Remember when that student was kicked out of CCSU simply for making a weaponized drone (which isn't illegal)?

http://fox61.com/2016/03/07/teen-who-made-weaponized-drone-s...

But it's ok for the state to do it?

cody8295··on The last thing America needs from Trump's infrastructure plan is more roads
I stopped reading at

"Not only should we not be building more roads, we shouldn’t necessarily be repairing the ones we have."

I live in northwest Connecticut and I will not stand for this nonsense. Our roads are awful, and need to be repaired and. Unavoidable potholes, dangerous erosion, these are things that not only cause vehicular deaths but also severely decrease the lifetime of automobiles.

You can tell whoever wrote this article probably doesn't commute in their own car that they have to repair every 6 months because of shitty roads.

cody8295··on How to write Common Lisp in 2017 – an initiation manual
Probably the worst implementation of the 5-puzzle problem you can write.

Artificial Intelligence Assignment 1

Problem 09: Write GET-NEW-STATES to implement all possible movements of the empty tile for a given state.

CG-USER(151): (defun get-new-states (state) (setf new-states '()) (cond ((= 0 (first state)) (setf new-states (list (list (second state) 0 (third state) (fourth state) (fifth state) (sixth state)) (list (fourth state) (second state) (third state) 0 (fifth state) (sixth state))))) ((= 0 (second state)) (setf new-states (list (list (first state) (fifth state) (third state) (fourth state) 0 (sixth state)) (list 0 (first state) (third state) (fourth state) (fifth state) (sixth state)) (list (first state) (third state) 0 (fourth state) (fifth state) (sixth state))))) ((= 0 (third state)) (setf new-states (list (list (first state) 0 (second state) (fourth state) (fifth state) (sixth state)) (list (first state) (second state) (sixth state) (fourth state) (fifth state) 0)))) ((= 0 (fourth state)) (setf new-states (list (list 0 (second state) (third state) (first state) (fifth state) (sixth state)) (list (first state) (second state) (third state) (fifth state) 0 (sixth state))))) ((= 0 (fifth state)) (setf new-states (list (list (first state) 0 (third state) (fourth state) (second state) (sixth state)) (list (first state) (second state) (third state) 0 (fourth state) (sixth state)) (list (first state) (second state) (third state) (fourth state) (sixth state) 0)))) ((= 0 (sixth state)) (setf new-states (list (list (first state) (second state) 0 (fourth state) (fifth state) (third state)) (list (first state) (second state) (third state) (fourth state) 0 (fifth state)))))))

GET-NEW-STATES

CG-USER(152): (get-new-states '(1 2 3 4 5 0))

((1 2 0 4 5 3) (1 2 3 4 0 5))

CG-USER(153): (get-new-states '(1 2 3 4 0 5))

((1 0 3 4 2 5) (1 2 3 0 4 5) (1 2 3 4 5 0))

CG-USER(154): (get-new-states '(1 2 3 0 4 5))

((0 2 3 1 4 5) (1 2 3 4 0 5))

CG-USER(155): (get-new-states '(1 2 0 3 4 5))

((1 0 2 3 4 5) (1 2 5 3 4 0))

CG-USER(156): (get-new-states '(1 0 2 3 4 5))

((1 4 2 3 0 5) (0 1 2 3 4 5) (1 2 0 3 4 5))

CG-USER(157): (get-new-states '(0 1 2 3 4 5))

((1 0 2 3 4 5) (3 1 2 0 4 5))

cody8295··on What are you working on?
Currently researching China's Quantum Key Distribution network and feasible attacks and solutions. Currently checking out the possibility of using a quantum simulator programming language to demonstrate a man-in-middle-attack that utilizes quantum non-demolition observations.
← PreviousPage 2 of 2