2,701 reputation
2819
bio website github.com/CodesInChaos
location Frankfurt, Germany
age
visits member for 4 years, 4 months
seen 9 hours ago

1d
comment Using uniqueness types to implement safe parallelism
You might want to take a look at Mozilla's Rust.
Apr
14
comment which one is best title either Principal consultant or senior software consultant or senior associate consultant
Senior Bullshit Title Inventor.
Apr
13
comment How is distribution of PKI certificates allowed?
I'd expect certificates to not meet the threshold of originality required for copyright protection. In particular check the section "Mechanically-produced works" in the wikipedia article.
Apr
12
comment How can I argue convincingly against duplicating database columns?
Wouldn't adding views that do the join internally make writing queries just as easy? You could suggest them as an alternative.
Apr
9
comment How to store files for a chat service?
Why not the FS built into mongodb?
Apr
9
comment How long should a GET request via a REST call take?
The performance of you system is at least 100x worse than what I'd expect. But without context we can't really help you.
Apr
7
comment Has pre-increment operators become that common?
In C++ with custom iterators this might be a useful optimization. In C I don't see why it should matter.
Apr
2
comment Does path coverage guarantee finding all bugs?
With 32 bit integers and typical cryptographic hashes (SHA2, SHA3, etc.) computing this should be quite cheap. A couple of seconds or so.
Mar
30
comment Does path coverage guarantee finding all bugs?
Easy for sufficiently small integers :)
Mar
23
comment Method extraction vs underlying assumptions
@gnat I think this question is closer to "Is it OK to split long functions and methods into smaller ones even though they don't preserve the class invariants?"
Mar
14
comment Working with static constructor in Java
As I read the question, it's about static initializers, not about normal static emthods.
Mar
14
comment Counting digits of a decimal number
When you talk about a "decimal number", do you mean an integer encoded in base 10, or are you talking about the string representation of binary floating point numbers like float or double?
Mar
13
comment What is better for scalability for this specific dataset, MongoDB or MySQL?
Do you have any evidence that performance matters at all? Do you have hundreds (or even more) requests per second? This sounds like premature optimization.
Mar
8
comment Program to look at the first say 5 characters of a word and return a string if that string is actually the first 5 characters of a word?
Just get a dictionary, truncate words to 5 letters and generate a hashset from that.
Feb
27
comment Does modular programming refer to modules or programs?
In programming it usually refers to parts of the same executable. But the unix concept of having command line tools that do one thing well which can be combined is pretty similar.
Feb
24
comment Is it legal to have by default a super user account in a product
Even disregarding legality and morality, do you even know how to implement a secure backdoor?
Feb
23
comment Complexity analysis: Finding common members of unsorted arrays
Even in computer science you can use average complexity.
Feb
23
comment Complexity analysis: Finding common members of unsorted arrays
Why would I care about worst case complexity if the worst case is sufficiently unlikely?
Feb
20
comment Should changes to FNV-1A's input exhibit the avalanche effect?
Consider SipHash. It's simple, relatively fast and secure.
Feb
18
comment Is address 0000000C a special address?
@supercat The answer wasn't using K for 1024 here, it was (correctly) using k for 1000. I generally prefer decimal prefixes over binary prefixes, but since this size is exactly 64 KiB, using the approximation 65 kB isn't a good idea here.