Reputation
12,119
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 22 44
Impact
~238k people reached

2d
comment Encrypted content in games
Duplicate on game development stackexchange: "How can I protect my game data from casual hacking?"
Feb
2
comment Why is chaining setters unconventional?
This pattern is not uncommon at all. There is even a name for it. It's called fluent interface.
Jan
26
comment Java need to call many methods systematically
@DavidConrad Yes, it was a typo. I corrected it. Map is just an interface, so krill would need to pick a concrete container class which implements it anyway. Other Map implementations like TreeMap or LinkedHashMap might also be options, but I didn't want to go too far into detail in this regard because that's not what the question is about.
Jan
24
comment When do I have to distribute the source code of GPLv2 licensed software?
This is a question for opensource.stackexchange.com
Jan
24
comment Java need to call many methods systematically
That "XML vs. JSON vs. YAML vs. INI vs. whatever" discussion never leads anywhere.
Jan
15
comment What are good habits for designing command line arguments?
There is an interesting example of a commonly used UNIX tool which violates this convention intentionally: dd uses a key=value syntax. The reason for this design decision is that this tool (nickname: data destroyer) can cause a lot of damage when used incorrectly. By forcing the user to abandon their usual habit they force the user to think more closely about what they are doing.
Dec
2
comment Whitelisting and Blacklisting with Condition
I am trying to follow your logic, but I don't think I have understood your thought pattern. To clarify, can you please answer these questions: 1. How would the first example behave if the first object is removed? 2. How would the last example behave if an object name:salzburg, price:4 is added? 3. Does the order of variables in your whiltelisting and blacklisting rules have any meaning (is name=salzburg&&price=4 the same as price=4&&name=salzburg )?
Nov
29
comment How to write highly changeable, highly complex software?
How to present a large number of configuration options in a user-friendly way might also be a question for User Experience Stackexchange
Nov
26
comment Hide, obfuscate or otherwise prevent the harvesting of email addresses
Can you persuade the decision makers to use a contact form instead? There really is no good way to show email addresses to users but not to bots.
Nov
7
comment How useful are function points?
This answer could be improved by explaining why function points are only one step above pure madness.
Nov
7
comment What licenses restrict distribution, liability, and commercial use?
The problem with "no commercial use" licenses is that it is really hard to define what is commercial use and what isn't.
Oct
20
comment No central database
@DavidPacker All configuration which would be needed would be the username and password. A key derivation function can be used to derive a private key from these.
Oct
20
comment No central database
You could ensure confidentiality in the database by encrypting the data on the server with a key which is only known to the user.
Oct
9
comment Should UDP data payloads include a CRC?
@AProgrammer I admit that the choice of words might have been misleading. I replaced it with "proper message digest". Message digest functions are far longer, making accidental collisions so unlikely that they can be assumed impossible for practical purposes.
Oct
7
comment Anonymize Public Health Records Database
When you say "scrub", do you actually mean "anonymize"?
Oct
7
comment Algorithm to determine best combination of keeping students together in their camp rooms
@MichaelT I don't. That's why I said I am not sure it will always find the best solution.
Oct
7
comment Algorithm to determine best combination of keeping students together in their camp rooms
That's a really interesting problem. One approach would be to first detect cliques and then treat it as the knapsack problem. Another could be to first distribute them randomly and then look for swaps which improve the overall rating. Finding a guaranteed ideal solution smells quite NP-complete to me.
Oct
7
comment How does the communication between a chat server and client work?
Regarding the question TCP vs. UDP: You usually use UDP when you need low latency but don't need 100% reliability. Both is usually not the case with a chat system. Even a latency of a few seconds is not noticeable, but dropped messages can be very problematic. That's why most chat systems use TCP. The only situation where I would build an UDP-based chat system is as a side-feature of an UDP-based application, like a chat system in an action-oriented multiplayer game.
Sep
18
comment Should I deploy 32-bit only or both 32- and 64-bit versions for Windows?
@GrandmasterB Non-technical users would not know the difference between a 32bit version and a 64bit version and wouldn't know which one they need.
Sep
14
comment Why is mergesort O(log n)?
Even god's sorting algorithm (a hypothetical sorting algorithm which has access to an oracle which tells it where each element belongs) has a runtime of O(n) because it needs to move each element which is in a wrong position at least once.