16,386 reputation
13069
bio website
location Germany
age 21
visits member for 2 years, 4 months
seen 11 hours ago

I do this thing where I make computers do things.


15h
reviewed Leave Open Who is responsible to challenge a product owner?
15h
reviewed Close Which languages have the best support for stackful coroutines?
16h
reviewed Close calculating the average of a value over a month
16h
reviewed Close Choosing a programming language allowing that affinities of the customer?
16h
comment Physics Engine Development
In games, physics are usually handled as part of the game engine – and probably not that terribly correct or challenging. However, writing simulations might be more interesting for you. How can we minimize turbulence created by an aircraft? When will this volcano erupt? Where are the high-stress parts in this car engine? What will the stock market look like next month? What kind of data would we expect from this new particle accelerator? There's a wealth of interesting code waiting to be written both in industry and academia that goes far beyond accounting applications and CRUD webapps.
17h
comment Dealing with Users and User-Owned Data in an API
I have too little experience with this to write a good answer, but I'm surprised that your design seems to forbid n:m relations between profiles and allergies / that each allergy needs to belong to one profile. There is no reason for loops to be present in this object graph, since “allergy X belongs to profile 1234” is already implied by “profile 1234 has allergy X” – you only need to encode this information once. Also, it's easy to break nesting by switching to IDs instead, and appending an allergy dictionary with lookup by ID to the response.
18h
revised Dealing with Users and User-Owned Data in an API
sadly, GitHub style fenced code blocks don't work here. Reindented code, wrapped lines for readability
20h
comment License: open and free for non-profit, keeping compatibility, citing authors and promoting dissemination
By the way: the website foobar.org unsurprisingly actually exists. If you need a hostname for placeholder or example data, always use example.com or example.org, which are explicitly reserved for this purpose.
1d
comment Second AJAX call unloading result of the first
@RossPatterson Not quite. CR requires the code to work as expected, and then offers feedback on how to improve it (think: architecture, best practices, correctness, …). CR is not about solving problems. But in this case, the code is not working as expected and OP is trying to solve a problem. Therefore, it's unsuitable for CR. Please read their help/on-topic for more information.
1d
comment Advice needed on rethrowing an exception
@Crono An exception has three information channels: (1) the type of the exception (so that I can catch (SpecificException e) somewhere), (2) the message which provides context for debugging, and (3) the stack trace which allows the cause to be located. Wrapping hides the original type and substitutes an obfuscating message. Every exception was an UntreatableException before it was caught, this is implied by letting an exception bubble up through the call chain. Oded has shown you a solution how to rethrow if you can't fix the problem – but without loosing or hiding any information channel.
Nov
24
reviewed Close Monolog - retrieve the logged messages in a variable
Nov
24
reviewed Leave Open Can map-reduce say “Hello World”?
Nov
24
reviewed Close How important is Discrete Mathematics for a Computer Scientist?
Nov
24
reviewed Leave Open How to compare two different hashset objects with more than 100,000 records
Nov
24
revised Can I use US-ASCII and UTF-8 encoding interchangeably for an XML file without a XML root declaration?
added 364 characters in body
Nov
24
answered Can I use US-ASCII and UTF-8 encoding interchangeably for an XML file without a XML root declaration?
Nov
24
reviewed Leave Open Why squash git commits for pull requests?
Nov
24
reviewed Close How would one allow a client to query a graph database in Smalltalk, without exposing all of Smalltalk?
Nov
24
reviewed Close English to French translation of computing terminology
Nov
24
reviewed Close Passing values from custom columns