Reputation
84,241
Next tag badge:
213/100 score
19/20 answers
Badges
20 199 338
Newest
 Nice Answer
Impact
~2.2m people reached

Apr
28
answered Microservices with the same database
Apr
26
answered Can one html page with web services replace current server-client technology?
Apr
26
answered Should a repository or the Login/Register service have an encryption service as a dependency?
Apr
26
revised Efficient saving of long strings with recurring substrings
added 109 characters in body
Apr
26
revised Efficient saving of long strings with recurring substrings
added 355 characters in body
Apr
26
answered Efficient saving of long strings with recurring substrings
Apr
22
awarded  Nice Answer
Apr
20
awarded  Popular Question
Apr
20
revised HTTP Status Code for “Still Processing”
added 179 characters in body
Apr
20
revised HTTP Status Code for “Still Processing”
deleted 1 character in body
Apr
19
answered Best practices for version control in Unity?
Apr
19
revised HTTP Status Code for “Still Processing”
added 1916 characters in body
Apr
19
revised HTTP Status Code for “Still Processing”
added 1916 characters in body
Apr
19
comment HTTP Status Code for “Still Processing”
@MatthewHaugen: when you do the GET part, don't think about it as a incomplete request, but as a request to get the result of the operation. For instance, if I tell you to convert a video and it takes you five minutes to do it, requesting for a converted video two minutes later should result in HTTP 404, because the video is simply not there yet. Requesting for the progress of the operation itself, on the other hand, will probably result in an HTTP 200 containing the number of bytes converted, the speed, etc.
Apr
19
comment HTTP Status Code for “Still Processing”
@MatthewHaugen: I don't think GET is a good idea anyway in this context. You said that the request “queu[es] long-running tasks”, which should be done through POST (otherwise, you'll end up queuing the same item multiple times, or not queuing it at all). As for telling the client that the response isn't ready yet during polling, a simple HTTP 404 would work.
Apr
19
revised HTTP Status Code for “Still Processing”
added 160 characters in body
Apr
19
revised HTTP Status Code for “Still Processing”
added 731 characters in body
Apr
19
answered HTTP Status Code for “Still Processing”
Apr
19
revised How should you proceed when somebody rejected a good thing you made?
deleted 5 characters in body
Apr
18
comment How to write correct loops?
@MichaelKjörling: when you use LINQ, the loop is there, but a for(;;) construct wouldn't be very descriptive of this loop. An important aspect is that LINQ (as well as list comprehensions in Python and similar elements in other languages) makes boundary conditions mostly irrelevant, at least within the scope of the original question. However, I can't agree more about the need to understand what happens under the hood when using LINQ, especially when it comes to lazy evaluation.