The text in this document also directly contradicts what you're saying. Put another way: the presence of a hot journal is how SQLite determines the database might be corrupted.…
Pre-python 3.2, the format used for representing `str` objects in memory depended on if you used a "narrow" (UTF-16) or "wide" (UTF-32) build of Python. Fortunately, wide and narrow builds were abandonned in Python 3.2,…
It actually depends! `bytes.decode` (and `str.encode`) have used UTF-8 as a default since at least Python 3. However, the default encoding used for decoding the name of files use ` sys.getfilesystemencoding()`, which is…
> In 3.1 it was the default encoding of string (the type str I guess). No, what was used was what sys.getdefaultencoding(), which was already UTF-8 in 3.1 (I checked the source code). At that time, the format used for…
> strings having an encoding and byte strings being for byte sequences without encodings You got it kind of backwards. `str` are sequence of unicode codepoints (not UTF-8, which is a specific encoding for unicode…
Does it not come down to the usual "cathedral vs. bazar" opposition? SQLite, for which Fossil was originally built, lists 3 persons on its developers page and looks pretty much like the definition of a "cathedral",…
Ever read a good book, or played a video game, and known that you have to stop now but thought "I'll just read another chapter / play one more turn"? I would say that's basically how addiction manifests itself: even if…
Question regarding Iodine-131: is it still being generated inside the spent fuel / nuclear waste in Chernobyl? From what I could gather, Iodine-131 is mostly a fission byproduct, and is not present in any of the 4 decay…
The article also says that 1500 police homicides a year accounts for 8 to 10 per cent of all homicides. The corresponding figure in Germany is less than 0.3 %
A humorous take on Nassim Taleb that is actually spot on http://www.karlremarks.com/2014/11/its-true-if-i-say-it-is-w...
It could. In France (which has a mixed system), single payer cover around 70% of prescriptions costs. And you usually have an additional private plan that will cover the rest (and if you're too poor to buy one of these…
Wow, my Saturday afternoon just disappeared.
"They take ID photos of 1856 Chinese men [...]. Half of these men were criminals." Because half of the general male population is criminal, of course. The accuracy rate would be very different with a training/testing…
Your source says he admitted writing the comments, which is much stronger evidence before a court than the original comment could ever be.
Your function in the tail recursion optimization exemple is actually not tail recursive. Factorial needs an accumulator parameter to get that tail call.
In France, juries are involved only for cases defined as "Crimes" (the American equivalent would be felony, but it's much more restrictive), such as murder and rape, especially violent thefts and war crimes. And even in…
Numba is indeed pretty impressive, but you're not comparing exactly the same thing with this code. In the Numba case, you're basically modifying the image in place: it means no allocating a new array, no full copying.…
More generally, for an image im with shape (width, height, channels) and a square transformation matrix M of shape (channels, channels), you can do : res = np.dot(im, M.T) It will work with affine transformation as well…
Keep in mind that the specific rules of the media chronology legal regime are set through interprofessional agreements. The specific delays for VOD services were added in 2009 and are mostly the result of an attempt by…
In the specific case of France, there are at least two reasons: - there is a stringent legal regime ("media chronology") that sets compulsory delays for publishing a movie on alternative mediums after it has got into…
The story about Western Union's internal report is sadly false. http://blog.historyofphonephreaking.org/2011/01/the-greatest...
It just shows it is too difficult and expensive to break the system given the prize value and the constraints put on what are acceptable attacks. Any system can be proven secured by such a contest if you limit…
And then there is NASA (apparently) using Sanskrit for AI: http://www.vedicsciences.net/articles/sanskrit-nasa.html* This is a hoax. The article reproduced there does exist though: it was published in an artificial…
Neither criminal nor civil! French has a separate body of law called public law that includes administrative law. In this case, the fine was pronounced by an independent administrative authority in charge of the…
It was not a civil judgment but a public one handled by an independant administrative authority with the power to pronounce sanctions (French public law is separate from both criminal and civil law and includes…
The text in this document also directly contradicts what you're saying. Put another way: the presence of a hot journal is how SQLite determines the database might be corrupted.…
Pre-python 3.2, the format used for representing `str` objects in memory depended on if you used a "narrow" (UTF-16) or "wide" (UTF-32) build of Python. Fortunately, wide and narrow builds were abandonned in Python 3.2,…
It actually depends! `bytes.decode` (and `str.encode`) have used UTF-8 as a default since at least Python 3. However, the default encoding used for decoding the name of files use ` sys.getfilesystemencoding()`, which is…
> In 3.1 it was the default encoding of string (the type str I guess). No, what was used was what sys.getdefaultencoding(), which was already UTF-8 in 3.1 (I checked the source code). At that time, the format used for…
> strings having an encoding and byte strings being for byte sequences without encodings You got it kind of backwards. `str` are sequence of unicode codepoints (not UTF-8, which is a specific encoding for unicode…
Does it not come down to the usual "cathedral vs. bazar" opposition? SQLite, for which Fossil was originally built, lists 3 persons on its developers page and looks pretty much like the definition of a "cathedral",…
Ever read a good book, or played a video game, and known that you have to stop now but thought "I'll just read another chapter / play one more turn"? I would say that's basically how addiction manifests itself: even if…
Question regarding Iodine-131: is it still being generated inside the spent fuel / nuclear waste in Chernobyl? From what I could gather, Iodine-131 is mostly a fission byproduct, and is not present in any of the 4 decay…
The article also says that 1500 police homicides a year accounts for 8 to 10 per cent of all homicides. The corresponding figure in Germany is less than 0.3 %
A humorous take on Nassim Taleb that is actually spot on http://www.karlremarks.com/2014/11/its-true-if-i-say-it-is-w...
It could. In France (which has a mixed system), single payer cover around 70% of prescriptions costs. And you usually have an additional private plan that will cover the rest (and if you're too poor to buy one of these…
Wow, my Saturday afternoon just disappeared.
"They take ID photos of 1856 Chinese men [...]. Half of these men were criminals." Because half of the general male population is criminal, of course. The accuracy rate would be very different with a training/testing…
Your source says he admitted writing the comments, which is much stronger evidence before a court than the original comment could ever be.
Your function in the tail recursion optimization exemple is actually not tail recursive. Factorial needs an accumulator parameter to get that tail call.
In France, juries are involved only for cases defined as "Crimes" (the American equivalent would be felony, but it's much more restrictive), such as murder and rape, especially violent thefts and war crimes. And even in…
Numba is indeed pretty impressive, but you're not comparing exactly the same thing with this code. In the Numba case, you're basically modifying the image in place: it means no allocating a new array, no full copying.…
More generally, for an image im with shape (width, height, channels) and a square transformation matrix M of shape (channels, channels), you can do : res = np.dot(im, M.T) It will work with affine transformation as well…
Keep in mind that the specific rules of the media chronology legal regime are set through interprofessional agreements. The specific delays for VOD services were added in 2009 and are mostly the result of an attempt by…
In the specific case of France, there are at least two reasons: - there is a stringent legal regime ("media chronology") that sets compulsory delays for publishing a movie on alternative mediums after it has got into…
The story about Western Union's internal report is sadly false. http://blog.historyofphonephreaking.org/2011/01/the-greatest...
It just shows it is too difficult and expensive to break the system given the prize value and the constraints put on what are acceptable attacks. Any system can be proven secured by such a contest if you limit…
And then there is NASA (apparently) using Sanskrit for AI: http://www.vedicsciences.net/articles/sanskrit-nasa.html* This is a hoax. The article reproduced there does exist though: it was published in an artificial…
Neither criminal nor civil! French has a separate body of law called public law that includes administrative law. In this case, the fine was pronounced by an independent administrative authority in charge of the…
It was not a civil judgment but a public one handled by an independant administrative authority with the power to pronounce sanctions (French public law is separate from both criminal and civil law and includes…