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

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.
Feb
13
comment How can i get around of infinite circle of technology change
What is the goal of your personal projects? Implementing something that you know and are comfortable with is a good way of learning a new language or framework. In that way your reimplementation of your personal projects helps you get proficient with new technologies.
Feb
12
comment Boss is ordering me to send spam. How to I deal with this issue/what is my options?
@Miloshio it stays a comment and I hope your boss doesn't know your stack username.
Feb
12
comment Boss is ordering me to send spam. How to I deal with this issue/what is my options?
Find spamtrap emailadresses and inject them in the run, that way your server will get blacklisted in no-time.
Feb
12
comment Code maintenance: Is it better to develop in English or my mother tongue?
If you like job security and want to make outsourcing harder: your native tongue, or even better, your local dialect. ;-)
Feb
11
comment Staying productive by keeping focus on a feature while developing
In a team you would get asked: "What's the status of that feature you're developing?" and if you reply: "Nothing because I got sidetracked on thingie x,y,z" then people would start questioning why you're not following the plan.
Feb
10
comment Is a programming language a set of programs or a set of instructions?
@JörgWMittag John McCarthy didn't inted for Lisp to be a programming language.