Reputation
3,529
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
3 10 23
Newest
 Civic Duty
Impact
~109k people reached

Sep
24
revised How should an HTTP server respond to a GET of an absolute URI of a different server?
added 163 characters in body
Sep
24
answered How should an HTTP server respond to a GET of an absolute URI of a different server?
Sep
24
comment Hide authentication information on Github
Ignoring config files is standard, even with private repositories. They should be simple enough that not versioning them isn't a big issue. Also different deployments (e.g. production, testing, development) will typically use different configurations, with production rarely sharing authentication details with the other environments.
Sep
24
comment Why do some top projects require write permission on code itself?
Perhaps they include auto-update or a can install modules. Those features obviously require write access to code, since essentially the project is acting as a packet manager.
Sep
19
comment Writing your test assertions in your function comments (just before the code)?
Cobra has a similar feature, but it doesn't use comments for it.
Sep
18
comment When to really use a branch in git?
What do you mean by "sandbox"? And what do mean by "the master"?
Sep
17
comment Should I deploy 32-bit only or both 32- and 64-bit versions for Windows?
Does your application profit from being a 64 bit process?
Sep
17
reviewed Approve How to deal with tremendous number of failing tests?
Sep
15
comment Too many REST API calls on a page?
Consider upgrading your server to HTTP 2.
Sep
13
comment Do we really need auto-vectorization?
Single instruction, multiple data (SIMD) e.g. using SSE on modern x86 processors.
Sep
11
comment Is there a way to do bitwise operation with more than two state
Chunks of 2 bits won't work since it doesn't leave enough room for intermediate values >3. Chunks of 3 bits will, you'll just have to implement the reduction using bitwise operations.
Sep
11
comment Why can't I call a constructor in itself?
I think the reason C# forbids this is to make reasoning about the constructor easier. For example these restrictions guarantee that the base class constructor runs exactly once and that it runs before the (user written code of the) derived class constructor runs.
Sep
11
comment Why can't I call a constructor in itself?
I think this is only a C# and not a .NET restriction, AFAIR Spec# allows (base) constructor calls in the middle of a constructor.
Sep
10
comment Why isn't there a true “Date-Only” data type?
NodaTime (a C# library for Date&Time) has a type of dates.
Sep
10
comment Find all the pairs in the array that match the condition
If you consider the extreme case of half the array being -1 the other half +1, you get n^2/4 results, so there isn't a way around quadratic runtime, unless you're willing to use some kind of implicit output form (e.g. a pair of sets which is understood as the Cartesian product of these sets).
Sep
9
revised Difference between O(N^2) and Θ(N^2)
added 26 characters in body
Sep
9
revised Difference between O(N^2) and Θ(N^2)
added 266 characters in body
Sep
9
answered Difference between O(N^2) and Θ(N^2)
Aug
20
comment Converting static utility class into singleton
How would your automatic tool recognize which methods are fine as static methods and which should be turned into instance methods?
Aug
20
comment Does HTTPS prevents man in the middle sending the same message several times
Do you validate the server's certificate do ensure you're talking to the correct server?