Better HN
topnewbestaskshowjobs
Log inSign up

native_samples

1,350 karma · joined Jul 1, 2021 (5y ago) · 1,370 submissions

Submissions

comment 5y ago · link · parent

Ah yes, you're right: professionals simply ignore any data that contradicts them. Only the amateurs are doing any actual science in epidemiology these days.

Sweden was never at any point as tough as most other countries, and even if they had adopted e.g. UK style measures afterwards (which they didn't), it wouldn't matter: they should have still ended up worse than other countries due to their early stance.

What actually happened is that Sweden has significantly lower per-capita COVID mortality than the EU average.

Seeing how desperately people try to rationalize this is fundamentally very depressing. Lockdowns do not work. Masks do not work. They have never worked. Swedes are not biologically different to Brits or the French. You don't actually need Sweden to see this, there are many other examples from the USA, e.g. the differences between North and South Dakota (no outcome differences, very different policies). Or just look at graphs of case curves. You cannot figure out from looking at cases when policies were changed, even though being able to do so was the only goal of the changes. These policies directly failed on their own terms, and no studies or inter-country comparisons are even needed to prove that.

comment 5y ago · link · parent

Well, dynamic languages like Clojure and static analysis like ProGuard will never mix that well. The module system helps though. You can get rid of the parts of the JDK you don't need.

I very much doubt reflection is going anywhere. For one, GraalVM native images support reflection, you just have to state ahead of time what you plan to reflect over.

WASM+JVM works. You can run WASM on top of the JVM. There's a Truffle interpreter for it, which means WASM code gets JITCd by the JVM itself and you can interop in and out. Check out GraalWASM.

comment 5y ago · link · parent

It might be easier these days with GraalVM/Truffle. You wouldn't run C# directly, you'd implement CIL in a Truffle interpreter, so you bypass JVM bytecode and its semantics entirely.

comment 5y ago · link · parent

No, but if your threads are basically 'free' then you can just model an actor as a thread+LinkedBlockingQueue or whatever channel abstraction you want to use.

comment 5y ago · link · parent

The hospitals never actually collapsed. I remember this at the time - there were many reports claiming they were about to totally run out of beds, and this kept being upgraded by commenters into "they have already run out". I kept asking for links that proved this and not getting any. Later some patients got moved to hospitals in Germany but there was some odd stuff about it: an Italian politician was demanding to know why patients were being moved there when there were nearby hospitals in Lombardy with spare beds.

Overall the idea the hospitals collapsed seems to have been a form of telephone game exaggeration, egged on by media reports claiming there were so many bodies they were piling up (actuality: undertakers were refusing to touch bodies because they are mostly old and had been told it would kill them).

What did collapse were care homes. But not because of COVID. Staff fled in fear, often back home to Eastern Europe before the borders closed, leaving too many elderly to die of dehydration and abandonment.

comment 5y ago · link · parent

There were no Sweden-specific cirumstances that mattered. The belief that Sweden is somehow uniquely special or that it can only be compared to its neighbours is a tired, unconvincing talking point that must surely come mostly from people who have never actually been there.

Swedes are normal Europeans who live in normal cities in a normal western country, and the virus is tiny. To the extent Sweden is "different" to its neighbours it's only in things like the proportion of non-Swedes who live there, which it seems inherently raises their numbers relative to their more anti-immigration neighbours (given that COVID seems to hurt African immigrants more in all regions of the world including the USA).

"obviously the academics and public policy experts have not stopped talking about Sweden (and the verdict is not even close to rendered), but since they are doing so out of the public eye it doesn't so much count."

The academics and policy experts are refusing to talk about Sweden, because it reveals that they aren't really experts at all - just playing at being experts. It is easy to see this. Here's one of the only recent academic pronouncements on Sweden, published in Nature:

https://www.nature.com/articles/s41598-021-95699-9

Except it's not really recent at all. Despite being published in August the first sentence of the article is a false claim about public statistics and it goes downhill from there. The reason is, to build its argument it has to simply ignore all data from after July 2020. If it didn't then it couldn't possibly make the arguments it's trying to make. Also, it cherry picks its countries and its calculations aren't even consistent with each other. It's not science. It's policy advocacy pretending to be science. These people deserve to be raked over the coals in public because their credibility is zero.

comment 5y ago · link · parent

The assumption that there must be a solution, and if someone isn't presenting one then they're a bad and unhelpful person, is the fallacy at the root of a lot of these problems. It is possible for problems to exist that people, and especially governments, cannot solve, or for which all the "solutions" are worse than the problem. Pointing out when that seems to be the case is not problematic, and in fact is a valuable service that should be praised, exactly because so many people get stuck in this mental rut of "if you don't have a solution you shouldn't speak at all".

comment 5y ago · link · parent

Use Kotlin to get null safety (and more), plus the ecosystem and tooling.

comment 5y ago · link · parent

The issue with Go's GC on big heaps is not getting high latency - it is always low latency - but rather the murderous throughput and memory overhead impact.

comment 5y ago · link · parent

JavaFX is still maintained by Oracle so I don't see how budgets are related, the JDK ships lots of modules that aren't a part of the Java SE spec, and adding it in is a simple matter of jlinking it. It would be very easy to start bundling it again.

I'm sure there's some explanation for separating it that makes sense if you're very close to things, but whatever the underlying rationale: that one move broke every JavaFX app simultaneously. JavaFX is the most modern GUI library, the one Sun/Oracle promoted for years as the replacement for Swing and yet new Java releases cannot run any old releases of any of those apps. That's what people mean when they say Java lacks backwards compatibility: their apps stop running.

comment 5y ago · link · parent

e.g. the validation of invokeinterface changed at some point in ways that broke common tools, if I recall correctly. I don't have bug links to hand right now. The JVM previously accepted something that it was later changed to reject. This often happens including in cases where it doesn't matter. See the Java 17 release notes about the change to validation of agentmain entry points for an example of the sort of thing that is done constantly, even where it isn't actually required by any other change.

People don't execute specs, they execute implementations. In the end whether something is or is not fully compliant with the spec doesn't change the costs involved in fixing it.

comment 5y ago · link · parent

People read it but just don't trust it. The sort of people who are trying to shut down all anti-lockdown protests are the sort of people who routinely describe any speech they dislike as "violence" that makes people "unsafe" so their claims about inciting violence are worthless. Also, mis-characterising protests is the easiest thing in the world. Remember the BLM protests were "mostly peaceful" even as cars were literally on fire behind the journalists saying that. They would have no problems bending reporting in the other direction.

Here's some footage of the equivalent protests in Paris.

https://dailysceptic.org/2021/09/16/footage-of-the-protests-...

The protesters are marching whilst heavily armed police tear gas them, try to stop them moving down the streets, fire things into the air (not entirely sure what but it's some kind of projectile weapon), corral them, try to fine them for turning up a few hours early, and so on.

comment 5y ago · link · parent

Professor Neil Ferguson: "It’s a communist one party state, we said. We couldn’t get away with it in Europe, we thought. And then Italy did it. And we realised we could."

https://www.thetimes.co.uk/article/people-don-t-agree-with-l...

That's a direct quote from one of the principal architects of the lockdown policy. He is, not coincidentally, in an open relationship with a member of the hard left Extinction Rebellion group, and the SAGE committee that he sits on which advises the government also contains a member of the British Communist Party.

The above are all unarguable facts. What you derive from them depends on prior intuitions.

comment 5y ago · link · parent

Given that lockdowns do not work and that in March 2020 that was even the official position of the WHO, it was always good to be against them. Sweden correctly stayed the course that had been decided on in calmer times and now has dramatically lower per-capita COVID mortality than the European average.

It is really depressing that even 18 months in, and even with instant access to the case curves of every country, significant numbers of people still believe that these tactics worked. You can just look at the development of cases over time and compare countries to each other to see that they've had no effect at all.

comment 5y ago · link · parent

The SPI-M models have a consistent history of being wildly wrong everywhere they've been applied. It's really not worth paying any attention to them.

comment 5y ago · link · parent

I don't know if it's a problem with education but more likely, deeply held implicit assumptions that aren't being articulated.

Most political disagreements fall into this category. E.g. arguments about COVID stuff are usually rooted in differences in assumptions about things like the trustworthiness of the establishment, the corrupting strength of profit, whether events are best explained as conspiracy or cockup, etc. Because they're sort of all-encompassing and vague people don't or can't easily spell them out, leading to the "talking at" not "talking with" problem. But that isn't to do with Facebook. It's inherent to humanity.

comment 5y ago · link · parent

You're assuming a heavily replicated horizontally scaled service. A lot of Java servers run on one or two servers. Hardware costs are immaterial compared to people/opportunity costs.

Fact is, Java now has a reputation for pointless churn that it once didn't have. For example kicking JavaFX out of the default JDK builds makes no sense outside the world of Oracle corp politics. It would be easy to keep bundling it and would reduce the churn but instead it's now needing new gradle/maven plugins and stuff. Ditto for all the other stuff that's being kicked out.

Also people won't use incubator modules so realistically new Java's have very few new features that can justify the painful upgrade process. Some syntax sugar and better GCs. If you're CPU constrained better perf but a lot of apps aren't. They're feature constrained.

comment 5y ago · link · parent

Typical reason for this is that JVM changed bytecode parsing in a backwards-incompatible way (yes this happens frequently e.g. to fix validation bugs) and the fix for this was then only rolled into a new version of the bytecode manipulation library, but that in turn had its own set of API changes, regressions and bugfixes, meaning that now whatever code sits on top has to be changed, etc.

Also most of the breaking changes from Java 8-11 are/were not spec changes. The spec leaves out many aspects of the Java platform that real apps rely on.

This idea that only apps that used JVM internals broke is totally wrong. I think the guys who work on Java think this because they don't actually use or work on any Java apps themselves beyond the ones that are a part of the JDK itself.

comment 5y ago · link · parent

SOAP isn't a Java tech.

comment 5y ago · link · parent

The EU sprays grant money around like candy. They'll fund more or less anything that appeals to academic sensibilities - at the scale it subsidizes things there's no time to consider the impact on political strategy.

This one was pitched as, "a European initiative for a Human Internet that respects the fundamental values of privacy, participation and diversity". So the EU would have just seen the buzzwords "privacy" and "diversity" and said great, have some money.

comment 5y ago · link · parent

It feels like this is a core point that's somehow got lost here.

There's a lot of assumptions in these discussions that connections and sharing are only good and useful if the results look a certain way. People sharing dog photos: good. Sharing approved mainstream news stories: good. People posting personal politics: bad. People disagreeing with each other: also bad. Etc. But it's a purely subjective take. Maybe our society needs to talk about politics way more than it does. Historically, instead of talking there's often just been fighting, and everyone agrees that talking is far healthier.

Facebook's original working assumption was that connecting people and letting them communicate and share is inherently a valuable thing. Is that actually wrong? Clearly, there is enormous demand to discuss politics that was unleashed by the internet, whereas before then only a small number of people had the access to present their opinions to those around them via opt-in channels like TV, the press, etc. Other people had to make do with phone calls. Something once restricted to a very small group is now available to all. Unsurprisingly, the sort of people who feel ill when they see the results are those whose views are the same as those who previously had a monopoly on group communication of various kinds. The ones most engaged are the ones who feel the media ignore their worldviews.

It's pretty dangerous to just say, well, if people are arguing about stuff that the establishment wouldn't let them argue about before, then it's "toxic". It's certainly risky to blame social media as the cause rather than merely a symptom of disagreements that would be there anyway. Far better to have "toxic" social media than a revolution!

comment 5y ago · link · parent

No, it was more than that. Java has broken a ton of backwards compatibility in recent years. They stopped shipping a lot of stuff (like JavaFX), JavaEE stuff was removed from the JDK and then re-namespaced, they changed the formatting of the version number, they removed Web Start, they moved some stuff out of Unsafe, they changed how you access class files inside the JDK and so on.

The idea that the only thing that changed was access to internals isn't really the case, but a lot of these changes were "allowed" because Java cares about compatibility with its own spec rather than specific popular apps.

comment 5y ago · link · parent

Hmm, fat jars still work OK in latest Javas. What is the issue is with Jakarta multi-release JARs? A MR JAR is just a regular JAR with files in different directories. They should fat-jar together OK.

There's certainly no requirement to start using Docker images!

comment 5y ago · link · parent

Shockwave = plugin for playing Macromedia Director content. Director was a GUI builder for interactive multimedia apps which were programmed in a custom language called Lingo.

Flash was originally called FutureSplash, if I recall correctly. When Macromedia bought it they rebranded it to fit their general branding theme, hence the confusion. Flash wasn't really intended to be an app platform, it started out as a vector animation format, but later they added scripting using a dialect of JavaScript called ActionScript.

Most users ended up with the Flash plugin but not the Shockwave plugin. Macromedia Director was huge in its day - my first programming job involved writing Lingo - but it died out pretty quick when the internet started taking off.

comment 5y ago · link · parent

I think platform in this argument is meant to mean something users obtain and install apps (or websites) into. The JVM is not a platform really, it's a runtime. For a while the JRE was sort of a platform because users downloaded it separately, but that hasn't been true for a long time and yet Java is still popular.

comment 5y ago · link · parent

I really wonder if we read the same article. Large parts of it are about politics and the different ways their system affects different kinds of politics and politicians. I don't understand why you find this somehow irrelevant or compartmentalizable. If you don't care about politics then this whole article and thread about it probably just isn't for you, because the concerns are fundamentally political to their core. In fact the criticism of XCheck is an egalitarian one, that the rules for the famous/ruling classes should be the same as for the plebs.

To flesh this out, look at the examples in the article where moderation decisions split or were reversed - that's the problem XCheck is designed to solve. Most are about politics:

- Saying "white paint colors are the worst" was classed as racism. Trying to define and then scrub all racist speech from the world is a left wing policy.

- A journalist who (we are told) was criticizing Osama bin Laden was classed automatically as supporting him, and then human moderators agreed. Scrubbing this sort of thing is (in the USA) historically either a right wing or bipartisan consensus. We don't know why the moderators agreed because the comments themselves are not presented to us. This was later overridden by higher ups at Facebook.

- Split decisions over Trump's post saying "when the looting starts the shooting starts" that got escalated to Zuckerberg himself.

- "The program included most government officials but didn't include all public candidates for office".

etc. If you try to ignore politics, the entire debate becomes meaningless, because indeed, you would not even perceive any problem with unequal enforcement in the first place.

comment 5y ago · link · parent

"Wouldn't that same reasoning also apply to moderation, i.e. if you think Facebook's moderation is bad, you should just not go there?"

Sure, and I don't! But this thread isn't about my problems or even your problems, it's about Facebook's problems.

"How are they controlling people if you acknowledge that going there is voluntary?"

People go there because they think they are seeing content shared by their friends, by people they follow and so on. In fact they are seeing a heavily filtered version of that designed to manipulate their own opinions. That's the whole point of the filtering: with the exception of where they label articles as 'fact checked', content that is politically unacceptable to them just vanishes and people aren't told it happens, so they can remain unaware of it. Like any system of censorship, right?

"all organizations have to decide at one point what is false and what isn't"

No, they have to decide that for a very narrow range of issues they've chosen to explicitly specialize in, and organizations frequently disagree with each other about what is or is not true despite that. That's the entire point of competition and why competitive economies work better than centrally planned economies: often it's just not clear what is or isn't true, and "trueness" may well be different depending on who is asking, so different firms just have to duke it out in the market. Sometimes an agreement emerges and competitors start copying the leader, sometimes it never does.

Facebook has a disastrously collapsing system here because they are not only trying to decide what's true in the narrow space of social network design, but trying to decide what's true for any possible statement. This is as nonsensical as GOSPLAN was; it can never work. Heck they aren't even a respected authority on the question of what's true in social networking anymore, that's why they had to buy Instagram and WhatsApp. Their competitors beat them. To try and decide what's true for the entire space of arbitrary questions about politics or science is thus arrogance on a galactic scale.

comment 5y ago · link · parent

Correct. It doesn't count as either a JDK or JRE once linked.

comment 5y ago · link · parent

It's mostly implemented in a branch. You can download a version of Java that can do this today. There's more work to do before it can be merged though, and will probably ship in incremental pieces.

comment 5y ago · link · parent

JRE stopped existing in Java 8. The idea now is you "link" a JVM for your app, which customizes and optimizes it. Then you ship both together. It's the fully supported way and has no license implications.

Seems like the new Oracle JDK license is a lot more flexible than before. In reality it's kind of cosmetic because lots of people were using the (100% compatible) Amazon or Azul spins, or just regular OpenJDKs.

1
363738
46