2,671 reputation
2718
bio website github.com/CodesInChaos
location Frankfurt, Germany
age
visits member for 4 years, 1 month
seen 14 hours ago

Sep
19
comment Is it appropriate for interviewers to ask candidates for their Stack Exchange user name?
Just keep in mind that old questions/answers might not match the current knowledge and abilities of somebody.
Sep
15
revised Why is this syntax convention?
Format code as code, so `<` and `>` don't get interpreted as html
Sep
15
suggested approved edit on Why is this syntax convention?
Sep
14
comment What is the gain from 64-bit architecture?
The obvious answer is support for more than 4GB of memory in a single address space. But in my experience it speeds up the code itself by a lot as well. A lot of the code I'm working with is twice as fast when running as 64 bit process.
Sep
12
comment Why the question “give five things you hate about C#” is so difficult to answer during an interview?
I agree with your first two points, but I shudder at the idea of an extension implicit conversion.
Sep
12
comment Why would I ever use delegates if I'm not doing events?
Functional programming is a great application. C# programmers will mostly see it in the form of LINQ.
Sep
5
answered Finding an object on an infinite line
Aug
9
comment changing value of a private member of a class in c++ without using member or friend function
But the C# variant is a bit different since low trust code can't use it. C++ on the other hand only knows fully trusted code.
Aug
9
answered What is global mutable variable behaviour in dynamically-linked libraries?
Aug
1
comment How can I reverse engineer a hash code?
@Pieter Don't migrate to SHA-1 or even SHA-2. If you migrate, use a specialized password hash, like PBKDF2, bcrypt or scrypt. See How to securely hash passwords? on security.SE for details.
Aug
1
comment How can I reverse engineer a hash code?
I also consider using non standard, closed source crypto without spec extremely negligent. What if they use a cheap unsalted hash? Many people think SHA-2(password) is a good choice. Consider using a standard hash in the application, instead of relying on the database for this.
Aug
1
comment How can I reverse engineer a hash code?
First try to find a third party implementation of the hash. Perhaps somebody already did the work for you. If not, download a debugger/disassembler and get cracking. Good luck.
Jul
29
comment When is the register keyword actually useful in C?
It's pretty much obsolete. Modern compilers have decent heuristics for register allocation.
Jul
24
comment Is it best to use “get” as a prefix for getters?
@MikeBryant Naming conventions are language specific.
Jul
21
comment Is it necessary to follow the standard , take the C standard for that matter?
Undefined behavior probably sucks quite a bit as well. With c it's pretty easy to venture into UB if you don't follow the standard closely.
Jul
5
comment Is it good practice on server/client systems to automatically install updates?
Do you sign the updates? Does the updated system verify the signatures? How do you ensure that the signing keys never leak?
Jun
16
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
He didn't give an explanation for the bad variable names. When you use few comments you need good variable names to make the code easy to read.
Jun
4
comment How to generate “language-safe” UUIDs?
You still have to worry about B16B00B5 :P
May
11
comment idquantique .vs. rdrand
While the Intel PRNG has no software part, RdRand is a PRNG seeded by a TRNG. Only RdSeed is a TRNG.
May
11
awarded  Revival