2,966 reputation
11122
bio website
location
age
visits member for 3 years, 11 months
seen 1 hour ago

Dec
1
comment Is there a rule of thumb for what a bing map's zoom setting should be based on how many miles you want to display?
Taking into account wrapping of longitude if the use cases are likely to include sets of points in the Pacific.
Nov
27
comment Usefull skills from a computer science degree
Most of what is covered in a CS degree has no direct application in 90% of "real life" programming. Contrariwise, many of the important topics in being a good programmer aren't covered by a CS degree.
Nov
26
comment Help with algorithmic complexity in custom merge sort implementation
@bitcycle, left = original->slice(0,(len/2)); right = original->slice((len/2)+1,len-1); between them appear to iterate over the list 1.5 times.
Nov
24
answered Help with algorithmic complexity in custom merge sort implementation
Nov
19
comment Would it be a good idea to work on letting people add arrays of numbers in javascript?
Perhaps the closest you can get to the desired syntax is to create a prototype with methods like + and ^ and call them as A['+'](B) and C['^'](D). OTOH beware seeing your code on the DailyWTF if you take this approach.
Nov
8
comment What types of programming contest problems are there?
Why is "Two-Dimensional Convex Hull" listed separately from "Computational Geometry"?
Nov
7
comment Round Table - Minimum Cost Algorithm
If it's about the algorithm, why don't you present it in a more readable pseudocode?
Nov
3
comment Does NASA license the software that it develops?
There is a list of software released under NOSA which doesn't include Panoply, so it's fair to assume that it isn't open source.
Oct
26
comment Vocabulary: Should I call this apply or map?
Actually, that's overstating it. It's only half-way to an answer - it hints vaguely at what the answer might be.
Oct
26
comment Can a recursive function have iterations/loops?
That's misleading, because it implies that there is only one recursive call, and pretty much excludes cases where the recursive call is itself inside a loop (e.g. B-tree traversal).
Oct
26
comment Vocabulary: Should I call this apply or map?
But the question he asked wasn't how to implement it. I'm not saying that anything you wrote is wrong: just that it's off-topic.
Oct
26
comment Vocabulary: Should I call this apply or map?
It is a map, but that doesn't answer the question of what to call it.
Oct
26
answered Vocabulary: Should I call this apply or map?
Oct
14
comment Documentation often ommits to specify which flavour of regular expression to use, so is there a default flavour that we should all be familiar with?
I'm possibly being over-pedantic here, but it's most likely that the documentation should be talking about regexes rather than regular expressions anyway. Most languages use regex flavours which aren't regular, and some of them aren't even context-free. In fact I think the latest revisions of Perl have regexes which are Turing-complete.
Oct
11
comment Hiring Developers - Any tips on being more efficient?
@dukeofgaming, unless you word that question more carefully it doesn't necessarily demonstrate any of the things you mention. I've contributed patches to open source projects I used at work; the patches were developed on company time to fix bugs which were affecting company projects, and the fact that they were accepted doesn't prove anything about my ability to communicate other than that I can post a patch to a bug tracker. If you use it as a starting point you may be able to draw out the aspects you mention, but they're not automatic.
Oct
6
comment Language Design: Are languages like Python and CoffeeScript really more comprehensible?
On the subject of comprehension: what exactly is your question?
Oct
6
comment Constraints while designing the Java generics
How would one implement generic collections without arrays? Most of the time they're not necessary, but there are specific use cases in which you have to use arrays rather than ArrayLists. One that comes to mind is a generic Set implementation I wrote for a previous employer which was more memory-efficient than HashSet and saved hundreds of megabytes of heap.
Oct
5
comment Why isn't functional language syntax more close to human language?
Are you sure it shouldn't be ++ [p] ++?
Oct
4
comment Status of stack based languages
Do you count assemblers for stack-based VMs (e.g. the JVM)?
Oct
3
comment How can I estimate the entropy of a password?
@Wug, that's a fair generalisation. It's something which is tackled by zxcvbn, which is mentioned in the first comment on this question.