5,809 karma · joined February 25, 2010
https://arxiv.org/pdf/quant-ph/0301141.pdf
My incredulity is in the idea that Google and the NSA apparently have 1000 qubit machines that can do that, but not 2000 qubit ones (and you should be very confident that will remain the case in future).
Note that once you're at the "I have a stable 1000 qubit machine that can perform complex calculations" realm, you can consider doing things like entangling it with that other 1000 qubit machine you have lying around, bringing yourself rapidly into the 2000 qubit realm. Getting to the first part is really hard. If you can pull that off, you're probably only a few years away from the second. The main thing that's stopping us from doing that today is that the (physcial) qubits we've made so far aren't stable enough; getting to a single logical qubit is anticipated to take 1000 physical ones.
Yes, (real) Quantum computers can break ECC and RSA encryption. I have no idea why they think the NSA (and apparently Google as well) has secret Quantum Computers that are capable of breaking ECC, but not RSA.
So most likely, no. This is primarily of theoretical importance (it is now the fastest, deterministic algorithm with a proven bound), but is not immediately a performance gain on existing algorithms.
[1] https://en.wikipedia.org/wiki/General_number_field_sieve
[2] https://en.wikipedia.org/wiki/Lenstra_elliptic-curve_factori...
Also known as .125.
If you want to write a unit test, then the test would mock the response from the server. You would have an expected sequence of expected requests and their responses. You would only be testing that you made the correct requests and, given the same response from the server, your code parsed it correctly and gave the expected outputs.
If the server bans your IP, or changes their response codes, your unit tests will still pass, as they should. Notification that the world has changed around you is not the purpose of a unit test. It is to allow you to feel confident of claims "I refactored the code and behavior is unchanged." or "I changed the behavior and this is how it has changed" or "I know that my code handles all known error codes from the server."
This is important when the world does change around you; as it lets you identify when that happens.
I recognize that test terminology is vague, and people will use competing definitions (I have seen 'functional', 'integration', and 'end to end' all used to describe non-unit tests, and I've seen each used to mean the others). I recognize this may seem as an exercise in pedantry. However, there is a valuable distinction to be made between tests that can be run deterministically, and tests that rely on the behavior of third parties outside of your control. These tests types will differ in terms of speed of execution, infrastructure setup (many test environments may not have network access, or may need special credential access)[1], reliability, and also, importantly, the proper response to a failure.
[1] Also, if you're doing mobile app development, you very much want to distinguish between tests that require a device and ones that don't. You will likely have multiple test classifications if you're doing mobile development.
What? why don't they just...
> Belgian law prohibits the poisoning of the crayfish, which was a method of control used in Spain.
Ah.
> The sensor consists of three components: (i) a small potentiostat device, (ii) an interface allowing connection to a smartphone for monitoring and control, and (iii) the sensor (an N-doped GrNPs/ePAD and detection chamber)
It sounds like the smartphone isn't a display. It's the main driver, data collector, and filter of the device.
Most people know better than to try and kick that beehive.
Ah; so a no brown M&M's rule.
That seems very dangerous, and extremely bad public health policy. There are major concerns with anti-biotic resistant bacteria. I came across an article from 2017 suggesting the government clamped down on this. Is it still the case that anti-biotics can be purchased without prescription?
https://www.outsourcing-pharma.com/Article/2017/01/16/Indian...
Also, I'm confused, I can easily buy over the counter Vitamin D supplements in the US. Is the dosage of those not large enough?
This is not true. Tax Evasion is an illegal activity.
https://www.investopedia.com/terms/t/taxevasion.asp
I believe the term you want is "Tax Avoidance". The terms, although similar, have very different meanings. However, if a company is merely engaging in Tax Avoidance, the state can't force them to pay taxes.
Turns out that browsers have gotten somewhat good at rendering formatted text ;).
But yes, a deep dive into the exact rendering pipelines would be quite interesting.
> At that time, Softbank announced it had agreed to legally binding commitments to increase investment, headcount and preserve its headquarters in the UK.
> It is not too late for the government to impose conditions, but conversations on whether to impose them or what they might be have not even started.
The interpreter knows no such thing. Both quit and exit are regular python objects that implement a __repr__ method, both of which return a string that inform the user how to exit. The __repr__ method could have implemented exit, but that would have been poor form (and create issues with tooling), set bad precedent, and go against python coding guidelines.
Ctrl-C giving a keyboard exception rather than exiting is a good thing, as it is far more likely that you are trying to terminate a long running statement, or exit out of sub code block, than trying to kill the interpreter process. This is also the standard behavior of almost any interpreter you care to name (irb, node, clisp, shell). This is because the interpreters try to mimic unix shell semantics (CTRL-D also kills your shell), since they are, after all, shells.
The program exited with error code -2
Error MS1337 occurred
Something went wrong. Contact your Administrator
Ideally; error codes should provide information about how to fix the problem (which python in this case does). That falls on the developer side of things (and may not be possible in many cases).Learning that error messages are useful and can solve your problem, and de-training the reflexive "This message won't help me", lies on the end user side of things (assuming the devs did their part).