Linked Questions

69 questions linked to/from What is an idempotent operation?
1 vote
2 answers
780 views

RxJava documentation for Disposable.dispose states Dispose the resource, the operation should be idempotent. And according to the Wikipedia definition of Idempotence Idempotence is the property of ...
army007's user avatar
  • 571
863 votes
25 answers
404k views

I have been searching the web looking for a definition for declarative and imperative programming that would shed some light for me. However, the language used at some of the resources that I have ...
420 votes
27 answers
294k views

From what I can gather, there are three categories: Never use GET and use POST Never use POST and use GET It doesn't matter which one you use. Am I correct in assuming those three cases? If so, what ...
289 votes
15 answers
223k views

What's the difference when using GET or POST method? Which one is more secure? What are (dis)advantages of each of them? (similar question)
Adriana's user avatar
  • 8,644
236 votes
8 answers
66k views

DELETE is supposed to be idempotent. If I DELETE http://example.com/account/123 it's going to delete the account. If I do it again would I expect a 404, since the account no longer exists? What if I ...
86 votes
8 answers
14k views

I read Wikipedia's explanation of idempotence. I know it means a function's output is determined by its input. But I remember that I heard a very similar concept: pure function. I Google them but can'...
86 votes
7 answers
357k views

I am writing python to crawl Twitter space using Twitter-py. I have set the crawler to sleep for a while (2 seconds) between each request to api.twitter.com. However, after some times of running (...
77 votes
3 answers
115k views

I have a service-based application that uses Amazon SQS with multiple queues and multiple consumers. I am doing this so that I can implement an event-based architecture and decouple all the services, ...
39 votes
3 answers
44k views

Java docs of close() method of java.lang.AutoCloseable says Note that unlike the close() method of Closeable, this close() method is not required to be idempotent. In other words, calling this ...
43 votes
4 answers
3k views

Say for very common math functions, such as sin, cos, etc... does the compiler realise they have no side effects and have the ability to move them to outer loops? For example // Unoptimized double ...
SmacL's user avatar
  • 23k
17 votes
4 answers
15k views

I know that it is possible to consume a SQS queue using multiple threads. I would like to guarantee that each message will be consumed once. I know that it is possible to change the visibility timeout ...
15 votes
5 answers
20k views

I'm designing an API for a mobile app, and I hope to keep it RESTful. API's are authorized using Basic HTTP Auth, however, When the user open the app for the first time, he need to login first, so I ...
wong2's user avatar
  • 36.1k
26 votes
2 answers
27k views

The question I have is probably more of a browser related question I think, but its a pretty fundamental one I'd like to find the answer too as I venture into building a web application. In my client ...
3 votes
1 answer
11k views

I'm using the following script - <!DOCTYPE html> <html> <head> <script src="jquery-1.9.1.min.js"></script> <script> function postForm() { $.ajax({ ...
Gidon's user avatar
  • 3,490
9 votes
4 answers
984 views

A post from another thread says that a function is said to be idempotent if it can be called multiple times without changing the result. However the terms used (like no-side-effects and return-same-...

15 30 50 per page
1
2 3 4 5