Forgot your password?

Comment: Re:Benefits (Score 1) 112

by nzhavok (#42255131) Attached to: Book Review: Sams Teach Yourself Node.js In 24 Hours

Yes, but do you see what you're doing there? You're throwing money at a problem, to get away from inherently poor architecture and bad design.

Yes, but do you see what you're doing there? You're constructing a strawman, to get away from your unsubstantiated claims.

Dude, you can make anything work if you throw enough hardware at the problem.

Actually you can't.

You shouldn't have to scale your hardware to use basic features (Perl had this figured out in 1996) like parallelism. It's asinine.

Which is why perl explicitly bans clustering of any sort.

Comment: Re:Wrong question to ask (Score 1) 112

by nzhavok (#42255027) Attached to: Book Review: Sams Teach Yourself Node.js In 24 Hours
I wouldn't say it's primarily a functional language at all, it certainly contains functions and you can use it in a functional way but the same can be said of many non-functional languages.

The killer features of Javascript are:

1) Lexically scoped closures
2) First class functions

And more importantly it's the combination of these two features which allows you to create, on the fly, lexically scoped first class function objects.

This is incredibly useful in many situations and is justification by itself to put up with the uglier parts of the language. If someone is not used to using closures (and let's face it, the vast majority of programmers are not) then it is difficult to appreciate why this would be useful but I'll list a couple of very generic scenarios:

1) It allows the programmer to defer execution of code to a later point whilst allowing a state to be associated with it.
2) It allows the programmer to deal with many small blocking I/O operations concurrently.

These are not remarkable things in themselves however it is difficult to do them programmatically without threads, and once you start using threads you have already lost.

Years ago I was working as a consultant for Lufthansa and was working on a system that dealt with a significant proportion of Europe's air cargo. There were a lot of messages being sent about that we needed to capture and process. The system we eventually developed was a multi-threaded Java application which replaced a single-threaded C application. It worked pretty well and was about twenty times faster than the C one. Having worked with Node.js for over a year now in some similar scenarios I am confident that it would out compete the Java app easily, and with a fraction of the code, perhaps 20-30%.

Of course if you're not writing the kind of code that needs multiple threads in a conventional language, or code that is dealing with a lot of blocking I/O, then you may not see any benefit in writing something in Javascript. However once you have got used to closures going back to something like Java is like trading in your motorbike for a delivery van.

Javascript is here to stay, it probably has more money spent on it than any other language right now. The current version has got rid of a lot of the ugliness and if you are running node then you don't need to worry about globals, modules or block scoping. The next version should be out soon and many features which are designed to allow JS to become a compile target for other languages (like it is for coffeescript now). Many of these features are already implemented in the JS engines such as V8 and Rhino.

Comment: Re:Then Who? (Score 1) 356

by nzhavok (#38496050) Attached to: Go Daddy Loses Over 21,000 Domains In One Day
I transferred some domains from godaddy to namecheap and recieved the following in the domain transfer request email:

eNom, Inc. has received a request from... on 23 Dec 2011 to become the new registrar of record.

Also I was asked by namecheap to ensure godaddy changed the IPS tag to enom on my domains, so it seems to me that they still rely on enom in some way.

Comment: Re:AI Class (Score 1) 161

by nzhavok (#38154408) Attached to: Stanford's Free Computer Science Courses
Also taking all three courses and I pretty much agree with what you have to say.

The downloadable vids from the ML and DB courses are nice to have perpetually and also it's quicker to zip around in VLC than to stream it if you're looking for something in a hurry. The assignments in each are also pretty cool, much better than the AI quizzes IMO.

I think that Peter Norvig's position at Google may have something to do with the AI courses preference for Google based solutions over the bespoke ones used for the other classes. I plan on taking the Lean Launchpad next year and it will be interesting to see how the system works with a non-technical subject where anything except a multi-choice quiz seems difficult to mark.

A committee is a group that keeps the minutes and loses hours. -- Milton Berle