Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aktiur
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
aktiur
1y ago
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. https://sqlite.org/lockingv3.html#hot_jour
2.
▲
by
aktiur
2y ago
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,
3.
▲
by
aktiur
2y ago
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 also UTF-8 on Window
4.
▲
by
aktiur
2y ago
> 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 representing `str`
5.
▲
by
aktiur
2y ago
> 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 codepoints), without r
6.
▲
by
aktiur
5y ago
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", where
7.
▲
by
aktiur
6y ago
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
8.
▲
by
aktiur
6y ago
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 chains[1]. If n
9.
▲
by
aktiur
9y ago
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 %
10.
▲
by
aktiur
9y ago
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...
11.
▲
by
aktiur
9y ago
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 plans, you can b
12.
▲
by
aktiur
10y ago
Wow, my Saturday afternoon just disappeared.
13.
▲
by
aktiur
10y ago
"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 sample t
14.
▲
by
aktiur
10y ago
Your source says he admitted writing the comments, which is much stronger evidence before a court than the original comment could ever be.
15.
▲
by
aktiur
10y ago
Your function in the tail recursion optimization exemple is actually not tail recursive. Factorial needs an accumulator parameter to get that tail call.
16.
▲
by
aktiur
10y ago
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 these
17.
▲
by
aktiur
11y ago
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. However, you
18.
▲
by
aktiur
11y ago
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 if you ad
19.
▲
by
aktiur
11y ago
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 incumbents to protect
20.
▲
by
aktiur
11y ago
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 theatres : pu
21.
▲
by
aktiur
13y ago
The story about Western Union's internal report is sadly false. http://blog.historyofphonephreaking.org/2011/01/the-greatest...
22.
▲
by
aktiur
13y ago
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 acceptable attacks to the pa
23.
▲
by
aktiur
13y ago
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 in
24.
▲
by
aktiur
13y ago
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 regulation of financial mark
25.
▲
by
aktiur
13y ago
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 administrative law). It i
26.
▲
by
aktiur
13y ago
Addenda will be in Malayalam though.
27.
▲
by
aktiur
13y ago
It is a peculiarity of French administrative law. It's not a court that fined Mish, but an Autorité Administrative Indépendante (AAI or independent administrative authority, but I'm sure you did not need the translation) with the
28.
▲
by
aktiur
13y ago
I think the real point is in the last part of the article "TL;DR “Why There Are No Women on Twitter’s Board, and So Few in Technology” was a really shitty article and as a community we should strive for higher quality writing and think
29.
▲
by
aktiur
13y ago
Translation in english : "For security reasons, thanks to abstain from using the following characters or words in the comment field: SELECT FROM, UNION SELECT, -, <, >, =" SFR is one of the three big mobile phone networks in
30.
▲
by
aktiur
13y ago
It's basic spam in French (translation: "Can you really earn money from home?")
More ›