Reputation
6,059
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
13 49
Impact
~228k people reached

Apr
21
awarded  Nice Answer
Apr
21
answered Does using a database server make sense if the application only does things locally?
Apr
20
answered Big O Question about an algorithm with (n^2 + n) / 2 growth rate
Apr
16
comment Entire webpage obfuscation
If you need to obfuscate your php you are doing it wrong.
Apr
6
awarded  Yearling
Apr
1
answered How often is software speed evident in the eyes of customers?
Apr
1
comment How often is software speed evident in the eyes of customers?
@BenL on the other hand I experienced the opposite, some operation that was slow before we made fast, so fast that users thought the action either hadn't executed or failed.
Mar
31
comment Check distance between all elements in a list of numbers in O(n*lg(n))
The check_duplicate is not needed. And your code will break on 1 set element. Also what about negative k ?
Mar
12
comment How to budget for a programmer you're not ready to hire yet?
Sorry, I can only comment with an xkcd xkcd.com/1425
Mar
11
comment How can I avoid these nested repetitive ifs?
I think you should refactor it and not have status and host together.
Mar
4
answered Addition or deletion of elements of a dynamic array
Feb
27
comment How to work with a messy codebase and client
You offered to redo the site, no extra charge, he refused. This. Now you can drop the project, refund him and have no need to feel bad at all.
Feb
26
comment The recommended Way to exit a Loop
In reaction to your edit: you can still wrap the buffer-reader in a function and provide "line" as an argument to that function. No need for globals : RetunSuccessOnBufferedLineRead(line)
Feb
26
comment SQL - Algorithm for finding availability of a resource
Convert your time-ranges to time-slots and your problem becomes a lot easier to solve.
Feb
26
comment SQL - Algorithm for finding availability of a resource
+1 for converting timerange to chunks. That way you can easily add them together and get your answer.
Feb
26
answered The recommended Way to exit a Loop
Feb
25
comment Is it premature optimization to add database indices?
Not adding indexes is like using bubblesort. Most often you won't find any problems when you test it but once your program starts scaling up on live you're in for a whole lot of problems. And indexes can easily make a factor 100 in speed difference.
Feb
24
answered Need help identifying a league scheduling algorithm
Feb
23
comment Is it bad or good to wrap mutable objects in immutable containers?
What if you have an immutable container, that contains a mutable container what would you have? I wouldn't call it immutable.
Feb
18
comment How to iterate through all permutations of valid links between nodes
This is a hard problem, with 7 point you have like 21 possible paths which would make for like 2^21 possible states of your situation.