Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Tuesday, January 31, 2012

Learn To Program

Just think of it like a puzzle.

Academic advisers have told me that if I ever expect to work under them in a lab, I better learn to code, or expect to be taught how to code. I have found a couple of resources since then to help me out. The most likely one to hold my, and your attention alike is codecademy, which treats learning to program in Java more or less like a game; you are taken through stages, given achievements, and there are even hints available. This is how I have been spending my Saturday nights as of lately.  

Another option is the book Invent Your Own Computer Games With Python:

This is a trend setting programming book
simply for the fact that it has a cool cover.

I purchased this book when it came out, only to realise that the book was released under Creative Commons, and you can download the PDF for free. (I command you, go forth dear readers and succeed where I have once failed!) It honestly is a good book, although it is actually geared more towards children. I have also read books in the "Dummies" series, such as "C For Dummies", and as expected; these books move at a boorish pace.

The website Coding Tortoise is another place to learn Java. I believe the person running it has cut back to posting once every two weeks, but there is still a backlog of posts.

Wednesday, September 21, 2011

A (Simple) Digital Neural Network

My friend Reed at UMASS is an ex-computer-science-turned-neuroscience-major. In his free time he writes programs, and quotes Sam Harris. The first program he ever showed me was a simple neural network which simulates how action potentials work. A little simple at the moment, but still impressive! I am sure various uses could be found for virtual networks like this on larger, and more complex scales.

Also worth mentioning are the small programs he writes that auto generate absurd visual eye candy.  Note: if you have elipsy, some of these programs might give you a seizure.

AAAAGGRRHHH FUCK YOU REED


His Tumblr has more similar applications. If being sucked through a computer and dying from lack of oxygen while being hurled through the Internet was an actual way to die, I am sure it would look like these programs.

The book is Head First Java, published by O'Reily.
These seemingly simple programs go to show how valuable the skill of computer programming is in the field of neuroscience. Why would any research lab in the country not want someone who knows their way around computer code? When I asked Reed how he learned how to program, he took out a Java book as thick as the phone book and said he read it cover to cover.

In fact Reed, if you never graduate I am sure that you can make a profitable business teaching other people to program. Look, I have already got a potential advertising campaign set up:

Just as Reed Silverstein has conquered the vicious Lizard King,
you too can learn how to conquer computer programming through him.

Naturally I expect a fifty percent cut of all profits.