Books: December 2008 Archives



This is an update from to my earlier  Self Taught Computer Science post.

I've started working on the SICP Exercises and so far so good. I'm finding Scheme, the variation I'm using, frustrating but thats to be expected. It's frustrating because there appears to be no actual standard implementation of Scheme. It's also perverse that, because it appears so simple, and there's no standard implementation, people try and create a compliant version of Scheme. Perhaps this is testament to how hard it is to follow a standard as opposed to blazing your own trail the way a lot of popular languages do. There's another blog post in here somewhere comparing languages that follow standards and languages that .... evolve!

I'm using the DrScheme IDE and I love it for its simplicity. Even though Scheme is frustrating I'm finding it easy to work with. I know Functional languages are based on Lambda Calculus but until I started working in Scheme I hadn't realised how easy it is to think in functions. This can probably be attributed to the SICP exercises being heavily slanted towards computation and interesting mathematical functions like the Wallis Product or the Fibonacci Sequence. Regardless, I'm finding it easier to think mathematically in Scheme than Perl or Java.

I've done one exercise in Haskell so far and its been painful. This is not because Haskell is painful it's just that almost every tutorial on Haskell I find first wants to teach me how to use the Haskell calculator (my derogatory term for the interpreter), as opposed to telling me how to get the thing to compile a standalone executable. That last sentence is a rant, as I'm digging into Haskell I'm finding more material. I really don't know what it is about this language that I find so appealing. I've seen some really negative reviews of Haskell online but I cannot bring myself to hate it even though it's driving me a bit mad learning it. Only time will tell if Haskell and me are meant to get on.

So far I'm finding SICP time consuming but digestible. I'm noticing a marked increase in complexity, I'm just hoping I can get through enough during my holidays to learn something.


Add to delicious Digg This Add to My Yahoo! Add to Google Add to StumbleUpon
| | Comments (0) | TrackBacks (0)


Over the last year I've felt as if I've reached a plateau. I cannot put my finger on why this is or why IProgramming-Plateau.png feel like this but regardless of what programming language I use C/Perl/Java I feel like I'm just moving boxes. This is not the first time I have felt like this either.

I don't think this is a problem with the languages I'm using I think its more of a problem with me and the applications I tend to be working on.

After a while (not a very long while) developing CRUD applications loses its appeal. Developing network apps, GUI's etc.... they all start to look dull when you've done them a few times. My experience with GUI's is very limited so the above statement is an assumption in that regard.

I have no idea why this is but I'm sure that the more experienced programmer could probably shed some light on this. I personally think that unless something stretches your ability it will eventually lose it's novelty.

Though, surely as a programmer who loves to program I should be able to entertain myself in almost any application I write but for me this does not seem to be the case. I've never been one for mental wanking and I would prefer not to start. Over complicating an application just to keep it interesting doesn't appeal to me in the slightest. I watch programmers fall into this trap all the time and its sad to see them commit this cardinal sin. The worst thing is having to watch them explain their contraption as if it's a simple solution when it's obviously a complicated  mess of a thing. Don't get me wrong I've been guilty of this sin and in quite a few cases been oblivious of it. Its almost as bad as the Not Invented Here syndrome so prevalent in our trade.

I personally think my main problem is that I do not feel as if I am getting any better. I look at old applications and where I would normally see a dozen ways to improve it I see two or none. I know I've not learnt all there is to know and I know I will never learn all there is to know about this subject so why have I hit this wall. Have I reached the limits of my ability or is this a normal phenomenon that programmers go through?

My opinion is that I am seeing things through the wrong goggles. Most of my education has been self taught so its been led mostly by interest as opposed to formally taught. I've been studying with the Open University for several years now in order to get some background mathematics etc but I still think there are areas that I need to improve on in particular around Computer Science.

Unfortunately the Open University computing courses are more geared towards popular topics, Java etc in order to attract more students. Having done a few of their computing courses I wish I hadn't bothered because I gained more from my own work than I did from the taught courses. I cannot say the same thing about the mathematics though. I decided to start mathematics because I knew that whatever I learnt would be applicable regardless of the current fashion or trends in industry.

Having looked around this for some time I have decided that what I need to do is to start my own computer science program to build on the mathematics I'm doing with the Open University. The areas I'm really interested in is how to go about writing my own computer language, compiler, virtual machine etc so I've been looking around to see what other universities are doing and what books they are using in this area.

Having done a fair bit of looking I spotted a definite trend towards functional languages and the further I looked into this the more I noticed that All Roads Lead To Lisp. Or to scheme or to some variant thereof. Abstracting a bit further I am being steered towards learning a functional language. The two languages that interest me the most in this area are Scheme and Haskell. Now all I need to do is decide what books and resources I need to start a course in this area. Most resources online point towards Structure and Interpretation of Computer Programs (SICP) in order to get started so I am looking at this now. I am not sure if I'll try and tackle Haskell until I get a bit more familiar with scheme although having looked at Haskell the language is appealing to me.

Watch this space for more installments on my self taught Comp Sci education!

Add to delicious Digg This Add to My Yahoo! Add to Google Add to StumbleUpon
| | Comments (2) | TrackBacks (0)

ReadingManiacs.gif

I love reading. When I was a kid I read mostly fiction, in particular Fantasy and Sci-Fi. Now I read almost no fiction at all compared to how much non fiction I read. Over the last few years I have noticed a trend ie

I spend as much time choosing a book as I do reading it!

I think like a lot of things in life "You Only Get Out What You Put In" or (YOGOWYPI). I prefer my own version, its shorter and has a certain ring to it "Shit in Shit Out!" (SISO) or if you want to make it sound more exotic (SHISHO).

There is a part of me that wants to read more and faster (with comprehension). In fact I went so far as to buy a book by Tony Buzan on speed reading and this turned out to be a disaster. I keep trying to convince myself that its quality that matters not quantity and that reading one book a month is more than enough if it's a classic in the field. The feeling still doesn't go away though, I still want to read faster.

Another thing I tell myself is that I need to be reading in a certain direction and I am not talking about left to right top to bottom I mean that I should at least try to have some theme or direction to what I'm reading. For instance: don't read esoteric collections of books just because they're classics. I recently read some Greek classics and when I came back to reading mathematics etc it took me a while to shift back into that mode. A part of me wants to believe that its counter productive to read with no direction and another part of me believes that the constant gear changing keeps me on my toes. The esoteric reading method I'm currently employing is driving my sensible side to distraction, for instance over the last month I have been reading  books on:

Probability Theory
Functional Programming
Sophocles
Java
Physics
Stock Market

I am not saying I have finished any of these books yet but I have been reading them and this leads me to another problem. Reading non-fiction is easy but finishing a non-fiction book is very hard depending on your definition of finishing. A loose definition for reading a fictional book is that you have read and understood the plot and read at least 95% of all the content. I would say that with non-fiction if you applied a similar definition ie "read and understood 95% of the material in the book" then I think I'm failing miserably.
For instance, I've read Fred Brooks, The Mythical Man Month, cover to cover (twice) and I think I grasped a lot of it but I do not believe I've grasped  anywhere near 95% of whats in that book. The same goes for "The Intelligent Investor", "Peopleware", "Free To Choose", "Daily Drucker" and the list goes on.

The other startling thing I've learned is that rereading a book does not necesarily mean I get a lot more out of it. Unless I've had a chance to study my environment for some time after I've read a book I don't think it has fully sunk in. So rereading does not really benefit me that much unless I've had time to digest the first pass. I'm sure there's some scientific reason for why this is. When I reread a book a year or two later I see things differently etc so can get more out of the book.

Using what I know about my reading habits it didn't take long to decide what to do. From the following thoughts:

T1.
Assume I get 20% from a non-fictional text on each pass.

T2.
Each pass of a book cannot be within a year of the other. (I must have had time to study my environment ).

T3.
I have a limited amount of time on this earth.

It was easy for me to see that the most important rule I could possibly follow is "Shit In Shit Out!" (SISO).

In conclusion the only firm rule I have and have been able to follow to date is (SISO). I'm not saying I no longer read trash but I'm conscious of it when I'm reading it. Armed with this rule even if a small percentage of what I read sticks then I'll be OK. I've been applying this rule for almost eight years now and I think it's working. I don't believe I will ever be a really fast reader and I do not beleive I will ever grasp 95% of any non simplistic non-fictional text in a first pass but I believe that if I apply SISO throughout my reading career I will achieve a lot. My search for other ways to improve how much I can get out of my reading goes on!


Add to delicious Digg This Add to My Yahoo! Add to Google Add to StumbleUpon
| | Comments (0) | TrackBacks (0)

About this Archive

This page is a archive of entries in the Books category from December 2008.

Books: July 2008 is the previous archive.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01