Reputation
4,560
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 12 31
Impact
~336k people reached

Nov
11
awarded  Popular Question
Nov
11
revised Create separate GIT repository for publishing with different history?
added 15 characters in body
Nov
10
answered Create separate GIT repository for publishing with different history?
Nov
10
comment Represent actions(verbs) in REST URI
@Jez If that's the case, the poster of the question doesn't fundamentally understand how HTTP requests work. Unless the plan is to implement a custom client that pipelines the print requests directly to a print job queue. Either way, that has nothing to do with REST.
Nov
9
revised Represent actions(verbs) in REST URI
added 7 characters in body
Nov
9
comment Represent actions(verbs) in REST URI
@Shauna Triggering a print job from a HTTP request alone would be impossible due to browser security. A request for a print-friendly version is just a GET request but you still need a way to specify that the browser should render the printable version. You could specify a different URL but that would violate the principles of REST because you're not actually requesting a different resource, just a different transform of the same resource. Hence the reason for specifying the transform via a query-parameter and/or content-type.
Nov
9
revised Represent actions(verbs) in REST URI
added 287 characters in body
Nov
9
comment Represent actions(verbs) in REST URI
(cont) The JSON format -- for example -- is supported natively by the browser. So, when you send a HTTP request with a 'Content-Type: application/json' the browser also validates the response data (or rejects malformed responses). AFAIK, XML has always been natively supported and the W3C is currently working on a spec for CSV validation support.
Nov
9
comment Represent actions(verbs) in REST URI
@Jez Of course not. Print job management depends on the client, as it always has. Browsers are sandboxed to disallow direct hardware access for security reasons, so what your suggesting would be impossible. What I was explaining above is a simple HTTP route to GET a 'printable version' of the content. Which is a common use case for any system requires PDF/paper based tracking. Ever used a website to get a printable version of an invoice, account ledger, etc? Chances are, it probably used a strategy similar to the one above.
Oct
19
revised Why is multithreading often preferred for improving performance?
added 318 characters in body
Oct
19
comment Is Bubble Sort the slowest sorting algorithm?
Why this is not a good question. If you're trying to find, as you say, "the least efficient sorting algorithm" you'd have to account for all of the solutions that are intentionally inefficient. Even then, it's a matter of opinion because the number of possible solutions is endless.
Oct
19
reviewed Reviewed Why are the sizes of programs so large?
Oct
19
awarded  Custodian
Oct
19
reviewed Reviewed Running time of the specified Bubble Sort Algorithm
Oct
19
comment Running time of the specified Bubble Sort Algorithm
As a new user, keep in mind that posting homework questions is strongly discouraged here. With that said, it looks as though you framed the question in a way that seeks an approach to finding the solution yourself, rather than asking for the solution. So, there's no issue.
Oct
19
awarded  Custodian
Oct
19
comment Why is multithreading often preferred for improving performance?
@user1849534 The benefit of using the network is that the worker subprocess(es) can exist locally and/or be migrated to external nodes (ie horizontally scaled). An added benefit of using the network is, it's platform agnostic (ie not OS specific). The downside of using the network is, they're generally slower than IPC due to the additional network stack overhead.
Oct
19
comment Why is multithreading often preferred for improving performance?
+1 for an obviously well thought out answer. I'd lend caution to taking Microsoft's suggestions at face value though. Keep in mind that .NET is a synchronous-first platform, therefore the ecosystem is biased to providing better facilities/documentation that support building synchronous solutions. The opposite would be true for an async-first platforms like Node.js.
Oct
19
awarded  Good Answer
Oct
19
revised Why is multithreading often preferred for improving performance?
added 307 characters in body