Hacker Newsnew | past | comments | ask | show | jobs | submit | more zirror's commentslogin

Not only a larger proportion, but a larger number in absolute terms.

~2,000,000 in US vs ~1,700,000 in China.

Source: https://www.statista.com/statistics/262961/countries-with-th...


Yeah, I await the “At LeAsT wE cAn TaLk AbOuT iT” crowd to say how we are still better than China, because talking ensures some restitution at some point? How many decades have we had these camps?

Freedom of speech is a privilege without teeth.


There are a few things to note here the first is that China executes at least 8,000 people per year vs. 25 per year in the US. The other is that the 1.7 million number is an estimate.


Well at least they aren't disproportionately ethnic minorities. /s


That doesn't include the 1-3 million Uyghurs detained, I believe.


Yes, way more stable. At least cypress, I don't have much experience with playwright. We never had an issue regarding brittleness or stability. We do, however, get sometimes frustrated over certain API choices, like the way sessions and cookies are managed and how hard it is to keep a value throughout a test suite etc.


Quite literally every Selenium test I’ve had access to has been a total disaster. When your build pipelines fail 50/50 because of some bullshit Selenium timeout no one can reproduce that resolves itself the next run, it’s time to look at another tool. Not to mention that the Selenium port for .NET is a literal verbatim translation from Java and written by people clearly not versed in C#. The API and way the library works are nothing like how you’d expect a C# library to work.

For example class properties are not meant to do expensive work and yet they directly interface with the IPC to the browser. This means debugging in Visual Studio becomes impossible in any meaningful way. Hovering over a property while paused on a breakpoint will trigger some command in the browser that might throw an exception which causes an exception in the debugger.

Playwright, Cypress, Web Driver are simply what should be considered the defaults in 2022.


100% agree but I still think there are still people using Selenium. I think we could help people navigate to Cypress or Playwright or no-code solutions


It's a step in the right direction, isn't it? LNG can also be imported from other countries and, in the long run, gas dependence should be massively reduced once gas-powered heating is replaced by electronic heading via heat pumps or something like that.


Even if we stop paying for gas and oil right now, that won't stop the Russian invasion. They have massive currency reserves, are relatively self sufficient etc.

Whereas if we do not receive gas anymore, it would wreck our own economies, which would lead to massive unemployment, social unrest and maybe going to the political extremes in the long run.

It would basically be European suicide. We need to be strong to help Ukraine.

That being said, the day we can stop paying for Russian gas is the day we will truly be free. Germany's liberatarian finance minster called renewables "freedom energy" and that could not be truer IMO.


German here: We don't dislike eastern europeans at all, at least not on any society wide level. Of course, there are exceptions. We do dislike backslides into authoritarianism in governance, like in Hungary (who's Victor Orban declared 'illiberal democracy' [1]).

1: https://verfassungsblog.de/illiberal-democracy-beyond-hungar...


Romanian ethnic here. There is no place in germany I can walk safely without feeling that if they hear me speak romanian I won't be verbally abused or looked down upon. Naturally there are exceptions, and there are many romanians in germany, but all of those I spoke with told me that at some point in time they have been racially profiled or outright abused. Their skill ranges from medical PhD, scientists, software developers, or workers, so status is not a factor. Furthermore there have been cases where hotels and resorts were asked to report all romanians to the police because apparently some dudes did some petty crime previous years and as such they had to "keep and eye on all" - and all was according to the german law. In Romania any time the government tries to raise the minimum wage, the german chamber of commerce tries to block it. All the while american, or british companies, have no issue paying a very decent salary - up to point where tech pay is rather high. Again, all those I spoke with told me that german and austrian companies outright insulted them with their pay offer because "romania is cheap". Again, there are exceptions to all this - see liverail, a partnership between german and romanian business people that was sold for 500mil to facebook. There are success stories, but much more horrible stories.

It goes well beyond politics, as you can see.


I'm sorry that you and your colleagues/friends were treated badly. I know that the pain is real and I can't do anything but apologize for it.

And I obviously won't defend German businesses (or for that matter businesses in general).

But believe me when I say that the average German has no problems with Eastern Europeans. Funny that you mention Romania, I work in a decent sized software company and my team lead is from Romania and beloved by us all and the company (and, as a team lead, better payed than most German engineers in the company). However, even among normal citizens, stereotypes and a sense of superiority can be found in certain circles. But I gurantee you it is a (vocal) minority. Salary for tech workers is generally low in Germany (and maybe the EU as a whole?) especially compared to the UK or US.

Racial profiling of the kind you describe is definitely not "according to German law", we have several anti-discriminatory laws on the books. But, of course, reality can't live up the ideals.

If you need help regarding those clearly illegal circumstances or situations (especially regarding police and lodging) there is the Federal Anti-Discriminatory Agency [1], which has guidelines.

1: https://www.antidiskriminierungsstelle.de/EN/about-discrimin...


The EU's Digital Green Certificate [1] uses Base45, which I think they basically invented. They do this because "even in Byte mode a typical QR-code reader tries to interpret a byte sequence as a UTF-8 or ISO/IEC 8859-1 encoded text."[2] They use the 45 chars allowed by the alphanumeric-mode IIRC.

[1]: https://github.com/eu-digital-green-certificates/dgc-overvie...

[2]: https://datatracker.ietf.org/doc/draft-faltstrom-base45/


Wait, why are they using 45 characters to encode 16 bits when you only need 41?

Especially when they could have avoided % and space.


Well, tbh, I don't know the reason, I can only speculate. It is meant to encode pure binary data (cbor) and not to be human readable or URI or anything like that. It is specifically designed for QR Codes. I read through some Github issue [1] just now and as far as I can tell, it is more or less a design oversight, which might be remedied by a later version.

[1]: https://github.com/ehn-dcc-development/hcert-spec/issues/64


> It is meant to encode pure binary data (cbor) and not to be human readable or URI or anything like that.

Well the reason to care is to avoid QR decoder quirkiness, otherwise you should probably just use the binary encoding.

> I read through some Github issue [1]

According to a comment near they end they were originally going to try to pack everything as a single base 45 bignum, so that half explains it. But not why they'd stick with 45 characters when changing that.


Fulltext for people who blocked facebook:

I'm resigning from my job at Facebook.

For years, President Trump has enjoyed an exception to Facebook’s Community Standards; over and over he posts abhorrent, targeted messages that would get any other Facebook user suspended from the platform. He’s permitted to break the rules, since his political speech is “newsworthy.”

“when the looting starts, the shooting starts.”

Mark always told us that he would draw the line at speech that calls for violence. He showed us on Friday that this was a lie. Facebook will keep moving the goalposts every time Trump escalates, finding excuse after excuse not to act on increasingly dangerous rhetoric. Since Friday, I’ve spent a lot of time trying to understand and process the decision not to remove the racist, violent post Trump made Thursday night, but Facebook, complicit in the propagation of weaponized hatred, is on the wrong side of history.

I cannot keep excusing Facebook’s behavior. Facebook is providing a platform that enables politicians to radicalize individuals and glorify violence, and we are watching the United States succumb to the same kind of social media-fueled division that has gotten people killed in the Philippines, Myanmar, and Sri Lanka. I’m scared for my country and I’m done trying to justify this.

My last day will be June 12th. If you have contacts in the San Francisco Bay Area looking to recruit a software engineer, please DM me.

#blacklivesmatter


Tom Lehrer is a national treasure.


I have wondered for quite a while about this so maybe you can help. How does it spread without symptoms?

Like, I get that you start shedding the virus, but if you don't cough or sneeze and practice generally good hygene it should not spread, right?


> How does it spread without symptoms?

People cough and sneeze all the time even if they are healthy. Also, when you talk, you expel droplets of saliva when you make sounds like "P" or "B" or "K". The virus travels in those droplets. They float through the air, someone else breathes them in, and voila.


I'm speculating, but there are a lot of normal, asymptomatic ways in which a virus may be spread.

1. Mucus. Cold weather can trigger a brief runny nose, which in turn is easy to wipe on sleeves, arms, or the back of the hand without much/any thought.

2. Saliva. Spittle from speaking is just about impossible to stop.


Yeah, totally forgot about the second one. Thanks!


In some cases it's enough just to breath to infect people - https://pubmed.ncbi.nlm.nih.gov/25816216/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: