Technical: December 2008 Archives
I need a fast desktop for development and was at the dell website when I came across the following link.
These guys do "high performance PC's". I clicked on the fastest looking offering they had and the total price for the basic package is £3008 (I kid you not). For that price I get an odd looking case (see pic on right). The case looks like it was designed as a bottle for mens aftershave (pimp my pc). You also get the following.
Alien Case (see pic on right)
Intel® Core™ i7-940 Performance 2.93GHz 8MB Cache
1GB NVIDIA® GeForce® GTX 280
1000 Watt Alienware® Approved Multi-GPU Power Supply
3GB DDR3 SDRAM at 1600MHz - 3 x 1024MB
Alienware® Approved Intel® X-58 Chipset Motherboard- Socket 1366 Core i7 Ready, Triple Channel DDR3 Memory
Windows Vista® Home Premium 64-bit with Service Pack 1
1.0 TB SATA 3Gb/s 7200 RPM (2 x 500GB)
20X Dual Layer DVD±RW/CD-RW Writer
High-Definition 7.1 Performance Audio - Standard
Logitech® Classic Keyboard UK - Space Black
Standard Optical 3-Button Mouse with Scroll Wheel
To say I am woefully unimpressed with the above is a bit of an understatement. I have not looked overly hard at the rest of the details but those are the main parts.
I decided to put my old hat on and go shopping to see how much it would cost me if I was prepared to build it and this is what I was able to ruffle up in a few minutes.
|Intel® Core™ i7-940 Performance 2.93GHz 8MB Cache||440|
|1GB NVIDIA® GeForce® GTX 280||300|
|1000 Watt Power Supply (multi GPU)||150|
|3GB DDR3 SDRAM at 1600MHz - 3 x 1024MB (Corsair)
|Intel® X-58 Chipset Motherboard- Socket 1366 Core i7 Ready, Triple Channel DDR3 Memory||270|
|Windows Vista® Home Premium 64-bit with Service Pack 1||100|
|1.0 TB SATA 3Gb/s 7200 RPM (2 x 500GB)||100|
|20X Dual Layer DVD±RW/CD-RW Writer||50|
|High-Definition 7.1 Performance Audio
|Classic Keyboard UK
|Standard Optical 3-Button Mouse with Scroll Wheel||12|
I'll add another £400 in case I have missed something or made an obvious mistake. So we can save £1000, I don''t know about you but thats a lot of money. I probably get some warranty with the Alien machine and it comes packaged etc but it's not worth £1000. Seasoned Gamers can knock a machine up in a morning so I'd be surprised if many seasoned gamers are using these machines. I bet I could build a significantly faster machine for £3000 than the one above. It might look like shit but it'd be fast as hell.
The following paragraph is most likely way off the mark on what would constitute a good gaming machine. There are various reasons for this, for instance, ensuring the graphics cards work with server hardware, could the game take advantage of 4 CPU's with a total of 16 Cores, does the vista license allow us to have 4 sockets.
I could fit a rack in the attic or if I was close enough to the garage I could run a monitor cable etc through the roof, floor or wall to the PC. Add a power switch and a mini itx server with shared peripherals and then you can start looking at 4/5U machines with multiple CPU's with multiple cores. You can pick up some serious hardware on ebay with SCSI and hardware raid built in. Have a look on ebay.com for v40z or Add some decent graphics cards and things would be looking quite fast.
If I was gaming in the states from the UK I would also look at tunneling my traffic to the states from the UK over a compressed line. You can get dedicated servers in the states very cheaply that would make excellent end points for the tunnel. The closer you can get to the server in the states that you are playing your games on the better.
I'm off to look at desktops now.
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.
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 I 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!