Forgot your password?

typodupeerror

Comment: Re:Maybe because programmers like to be clear (Score 1) 878

by hlee (#33007632) Attached to: Google Engineer Decries Complexity of Java, C++

Irreducible complexity is irreducible.

Still, I'd like to stress that picking the right language for your task can greatly reduce problem complexity.

For instance, algorithms are much more compact and easier to understand using a functional programming language. E.g. compare quicksort in Haskell and C - see http://www.haskell.org/haskellwiki/Introduction.

Complex concurrent programs remains challenging even with an excellent (IMO) concurrency library like the one in Java 1.5+. But switch to Erlang, and you'd find many concurrency patterns are expressed more naturally.

Comment: Re:Lies, damned lies, and statistics (Score 1) 138

by hlee (#32283924) Attached to: Metrics Mania and the Countless Counting Problem

Indeed! Identifying what proxies (http://en.wikipedia.org/wiki/Proxy_%28statistics%29) to use is one of the trickier aspects in the soft sciences and statistics. If you read the Economist, you'd see proxies for just about everything (e.g. http://www.economist.com/markets/bigmac/), and a lot of research is required just to show what a given proxy measures.

Comment: Re:Oh yea. Teach them non mainstream stuff (Score 1) 663

by hlee (#32195684) Attached to: Exam Board Deletes C and PHP From CompSci A-Levels

programming can be taught with any language. problem solving can be taught with any language. it is better to teach these using a language they WILL use when they actually get into industry, than with stuff they may rarely come up against.

I disagree as it depends on what you're teaching. Concepts like recursion and algorithms are best taught with functional languages. E.g. quicksort is a lot shorter and easier to understand in Haskell than in C - see http://www.haskell.org/haskellwiki/Introduction.

We generally agree that you need to pick the right language for a given task - the task of teaching various computer science concepts is no different. Also, a good curriculum should impart students with the ability to pick the right language for a given task too.

If you're interested in pursuing a computer science degree at university, you might be better off without a background in a imperative/procedural language. Many students who knew C/Pascal seemed to have a tougher time grasping functional languages than those who didn't know anything at all.

Comment: Re:Free =/= Fun (Score 1) 117

by hlee (#32115832) Attached to: MMORPG Ryzom Released Under AGPL

As you already suggested what you need to do is you need to separate the core engine and game content.

I agree that content development is hard to open source and seem best developed by an individual or a small group.

The successful open source projects you mention all have a plugin/module system. Ensure the game engine supports a good scripting language for content creation, and plugin system that can modify any aspect of the game, and I expect it will do well in the open source world. Your game in effect should just be a plugin/module to your engine.

You want a game engine that is able to foster development of plugins that can completely change the game's underlying mechanics (e.g. Oblivion), as well as plugins/modules that can tell rich and complex story lines (e.g. Neverwinter Nights).

Comment: Re:Because they know more than anyone else? (Score 1) 112

by hlee (#32074614) Attached to: Google Explains Why It Became an Energy Trader

Getting a bit off topic here, but you raise an interesting issue.

I bet that the frequency of certain searches can predict whether a company stock will increase or decrease, e.g. lots of searches for " problems" is a precursor to that company stock crashing.

I wonder what policies are in place regarding usage of such aggregate information within Google (or other search companies).

Comment: Re:It's probably cheaper than the alternatives (Score 1) 222

by hlee (#32073910) Attached to: Should the Gov't Pay For Injured Man's Wii?

Indeed, and there's actual research supporting usage of the Wii Balance board for physiotherapy. Research was conducted by the University of Melbourne, which the Australian doctor probably read about and decided to recommend to his patient.

http://www.newscientist.com/article/mg20527435.300-wii-board-helps-physios-strike-a-balance-after-strokes.html?full=true&print=true

Comment: Re:Seriously? (Score 1) 393

by hlee (#31877070) Attached to: Oracle Wants Proof That Open Source Is Profitable

Right!

Market Capitalization = Share Price x Number of Shares in Market

Obviously, Oracle has a lot more shares in the market than Red Hat. Over time, companies can also do a stock split, e.g. halve the share price, but double the number of shares; or a reverse split where price doubles but shares are halved - either way, market cap remains the same.

Be frank and explicit with your lawyer ... it is his business to confuse the issue afterwards.

Working...