Better HN
topnewbestaskshowjobs
Log inSign up

random_coder

76 karma · joined Jul 23, 2013 (13y ago) · 46 submissions

Submissions

comment 11y ago · link · parent

Availability of an interpreter has been one of the major advantages of programming in dynamic languages. With languages like Haskell, Scala coming with first class interpreters, this advantage is being lost to a certain extent. I think it should be possible to build interpreters even for mainstream static langs like C++ and Java, they probably exist already, though I'm not sure why they haven't found larger acceptance.

I believe the biggest advantage with a good static type system is that programmers can design good datatypes and specify their relationships - and the compiler can then detect any inconsistencies(ideally anyway).

32.

Performance engg. of software systems(ocw.mit.edu ↗)

1 points · by random_coder · 11y ago · discuss

comment 11y ago · link · parent

What Xixi says is that when China's GDP per capita matches that of Japan, it's economy will be 3.5x as big as US's. A similar percentage in budget for defence as that of US would then mean 3.5 x 600B. Nothing to do with China's current GDP or her current defence budget.

comment 11y ago · link · parent

German colleges are free but the kids who are chosen to go to them are often selected by the third grade.

Could you explain more?

comment 11y ago · link · parent

Then I'd say you have the right mindset for a software engineer :)

comment 11y ago · link · parent

It's also likely that these guys had already programmed before coming to the class. We all tend to get stuck when programming something for the first time. Second and third times are much smoother experiences.

comment 11y ago · link · parent

I'm Indian and I'm deeply frustrated and disappointed with this. My fear is that other mobile networks like Airtel will pick up dumb ass half-baked ideas like this and start charging for data from other non approved sources and for high cost paid wireless Internet to become the norm. I know Reliance is way too greedy, but this really is a new low. While wireless data costs in other countries are coming down, here we see the opposite trend. Fucking disgusting.

comment 11y ago · link · parent

In my experience, practicing for competitions like GCJ, Topcoder help a LOT in two ways.

1. Raw coding skills - You'll reach a point where what's in your mind can be coded with very few stupid low level coding bugs like syntax errors, mis-assignments, initialization errors and such. Obviously this doesn't help with higher level issues like program design etc..

2. Algorithmic skills - You'll get VERY good at analyzing algorithmic complexity. You'll thoroughly understand common data structures like lists, vectors, trees, hash maps and other common algorithms.

Both these things are very much relevant to real life programming.

comment 11y ago · link · parent

This seems to be the original discussion.

http://jasonrudolph.com/blog/2011/08/09/programming-achievem...

comment 12y ago · link · parent

nonlocal is only in python 3.

comment 12y ago · link · parent

It's not true. If a poly-time solution is found for NP-hard problem, then it's not necessarily true that other NP-hard problems can be solved in polynomial time. However, if poly-time solution for an NP-hard implies every NP-complete (and thus every problem in NP) has a polynomial time solution.

comment 12y ago · link · parent

Neal Stephenson's novels work for me :)

comment 13y ago · link · parent

How do you suggest that one should get past the initial hardships in learning clojure, assuming one is willing to put the needed effort? I've always wanted to learn a lisp and clojure seemed good, but couldn't find a good tutorial for lisp beginners.

comment 13y ago · link · parent

More generally, in Facebook's social graph, connections can be of different types. For e.g., for a user, 'likes' can be one type of an edge and 'followers'(people he follows) is of a different type, 'followed by'(people who follow him) is yet another type, so on. Many of these types can only be uni directional(e.g., all the above three examples). So, the social graph is a directed graph. Of course, the well known 'friends' connection is a bi-directional type of edge.
12