5,950 reputation
12342
bio website github.com/DanielWaterworth
location United Kingdom
age 23
visits member for 4 years, 4 months
seen Feb 27 at 12:40

Jan
2
answered Is it possible to write an anti-virus like thing using C# or Python?
Jan
1
comment Which self balancing binary tree would you recommend?
Thanks, I'm working on an AVL tree now.
Jan
1
accepted Which self balancing binary tree would you recommend?
Jan
1
comment What are the common revenue models for free-software companies?
ok, I'll delete my comments
Jan
1
comment Which self balancing binary tree would you recommend?
@Fanatic23, a Skip List isn't an ADT. The ADT is either a set or an associative array.
Jan
1
comment Which self balancing binary tree would you recommend?
Also, people often use skiplists for concurrent data structures. It may be better, instead of forcing immutability, to use haskell's concurrency primitives (like MVar or TVar). Although, this won't teach me a lot about writing functional code.
Jan
1
comment Which self balancing binary tree would you recommend?
@Steve314, red-black trees are easier, but you haven't been able to make an implementation that works? What are AVL trees like then?
Jan
1
comment Which self balancing binary tree would you recommend?
I really enjoy skip lists and I've implemented them before, though not in a functional language. I think I'll attempt them after this, but right now I'm on self-balancing trees.
Jan
1
asked Which self balancing binary tree would you recommend?
Jan
1
comment Should I know more than one implementation of version control?
but: Git + Linux = FTW
Dec
31
comment Is Haskell worth learning?
The trouble with both F# and OCaml is that they aren't purely functional (which defeats part of the object of being functional IMO). In regards to side-effects in haskell: haskell allows the composition of impure functions, but not the execution of impure functions (with the exceptions of the performUnsafeIO and the execution of main). Without impure functions, haskell wouldn't even "make the cpu hot" because no expressions would be evaluated.
Dec
31
comment Why do so few large websites run a Microsoft stack?
@Pierre, The w3techs.com one is fairly accurate. It has an unbiased sample (unlike netcraft) and it's based on querying the server rather than revenue. There's still problems like, how do virtual hosts count? (but taking the top million websites should ameliorate this)
Dec
31
comment Why do so few large websites run a Microsoft stack?
The 60% part is not accurate as it's based on the revenue from sale of the operating system. If you can't see a problem with that, just ask yourself, who pays for linux?
Dec
31
answered How would you practice concurrency and multi-threading?
Dec
31
comment Am I copy/paste programmer?
You're one up from a c&p programmer and one below a programmer that would read other people's code before writing their own.
Dec
31
comment Why do good programmers have ugly websites?
Not all programmers have ugly websites. I'm not primarily a designer or web programmer and although the content of my website could be better I'm pleased with the styling. see for yourself, active-thought.com . It just depends on the amount of time you put into it.
Dec
30
comment What are the drawbacks of Python?
I listed the advantages because I think they outweigh the cons. Have you ever tried to implement a linux kernel module in python.
Dec
29
comment Important non-technical course for programmers?
@mctylr, well, it was a joke, but... never mind.
Dec
29
comment Important non-technical course for programmers?
not all developers work at microsoft =P
Dec
28
comment How common are circular references? Would reference-counting GC work just fine?
garbage collection can even be more efficient than malloc/free in some circumstances.