News for hackers. Stuff that matters.

jarekkruk

3) Poland's solution was also open sourced very soon https://github.com/ProteGO-Safe . While it could have more privacy protective, as long as it will have an option to turn the contract tracing off I will use it. Unfortunately despite the fact that creators of this app are privacy conscious I only heard about it from negative articles. I checked it myself and they are using centralised tracing system, only because Apple/Google decentrilised one isn't ready and it is a main concern in disparaging articles. I'm not saying that currently Poland isn't going into autocracy, but it isn't a tool in this machine. However with 10k installs in a 40m country it is useless.
On the other hand I haven't seen red black tree implementation that isn't based on Cormen (in most cases quoted).
Poland. It was the most criticised part of initial restrictions, fortunately it is being relaxed on Monday (going out for recreation is allowed, opened parks and forests, however masks mandatory when going outside).
Re:Belgian biscuits, packaging, and copywriting on Thursday March 26, 2020 @03:14PM (#22696859)
Don't worry, it will probably have yeast extract or some other source of glutamates.
In Italy on average there are about 2000 deaths a day. Yesterday, there were 683 deaths attributed to Coronovirus.
They even lobbied WHO to change their rules 5 years ago https://www.who.int/topics/infectious_diseases/naming-new-di... in preparation for COVID-19. Conspiracy grows thicker.
Re:Python dicts are now ordered on Friday February 07, 2020 @02:25PM (#22269741)
IIRC it used to just start iteration at a pseudorandom index and then iterate normally. I looked at it couple years ago, don't know if they changed it.
Re:Project Euler 001 the Hard Way on Sunday February 02, 2020 @01:52PM (#22218577)
You could do it like in article, so for every nonempty element in powerset (combinations for each length) of those numbers calculate their lcm and add or subtract amount of multiplies of lcm according to length of element.

So for A, B, C you have (M-number of multipliers) M(lcm(A)) + M(lcm(B)) + M(lcm(C)) - M(lcm(B,C)) - M(lcm(A,C)) - M(lcm(A,B)) + M(lcm(A,B,C))

It is not exactly comparable. Prostitution is an important issue in feminism. Statement "environmentalists support nuclear power" would be a better analogy, because many environmentalists are for nuclear power and many are against.
On my degree (chemical technology, Poland) it was very easy to get into (200 places with low cutoff score), but on the second year there was only 100 pupils. There is a general correlation between initial points (Polish standardised high school test) and future academic success, but if they were to admit 100 people, only about 65 would manage to go to the second year. Changing admission standards doesn't mean that they change graduation standards.
Re:The Tragedy of UCS-2 on Saturday August 03, 2019 @05:14PM (#20602728)
Lexicographic order is already language specific nad majority of languages use only one script.
Re:What’s New in ES2019 on Tuesday July 30, 2019 @03:05PM (#20568077)
I tend to mainly use const, let only when necessary. I never use var and set linter to scream about it at me. IE11 supports it, so unless you develop application for IE compatibility mode (my condolences) I don't see a reason to use var. On the other hand var mainly bites you when declaring closures inside loops, also hoisting is just plain weird.
Re:Cleave.js – Format input text content when you are typing on Saturday February 23, 2019 @01:39PM (#19234793)
For phone numbers if you accept numbers without country code then you need to know it. This library correctly handles numbers with country code without specifying the country in other way.