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

Well .NET are going in the same direction as Java - as the top comment here observes the speedups come mostly from profile guided optimization which has been Java's forte since Java 1.1 or so. And .NET PGO is off by default, still, so it's got a long way to go yet.

comment 5y ago · link · parent

You realize Idiocracy is based on highly controversial theories of IQ, genetics and eugenics? And that you're also using a rather laughable definition of "smart" that involves deciding not to have children because of some stuff some academics said, when they've been saying the same things for decades and have been proven wrong many times before? This is not a definition of smart I'd subscribe to.

comment 5y ago · link · parent

Particle physics has to a large extent become engineering: particle accelerators, nuclear reactors, radiotherapy for cancer. Evolution has been applied many times, most famously, to create SARS-CoV-2 right before it escaped from a lab ;)

As for the rest - well, who knows? Do I trust big bang theory? No, not really. I seem to recall it's inconsistent with various other measurements, hence the need for the enigmatic dark matter. But it doesn't matter or affect my life at all so I can easily choose not to trust it and who cares.

Where the problems start is when activists/politicians force me to "trust" self-proclaimed science that has never been through rigorous market-based mechanisms to weed out the crap. Epidemiology. Climatology. Virology. Standards in these fields are rock bottom low because nobody is at risk of losing their jobs if they're wrong, yet, I cannot simply evaluate this "science" and opt out.

comment 5y ago · link · parent

They might just not be telling you about it.

Of the people I know who have taken the vaccine, a lot have had persistent side effects. But I didn't start hearing about this for a couple of months, and even then, well, it's personal medical situations and scary ones at that. I think a lot of people are being told by doctors to just ignore it and hope it'll get better. As the months go by and things don't improve, people become more willing to speak up to friends. Of course, it's also possible me and my gf hear these stories because these people know we haven't taken it yet. If we were rah-rah pro vaccine I bet nobody would mention it because they wouldn't want to be criticized or start an argument.

Side effect reports heard about so far:

- Several menstrual problems, including completely stopped periods and suddenly near-daily bleeding, that lasts for (so far) months.

- Major fatigue including inability to perform sexually, again, months after the shot.

- Sickness for a day or so that's serious enough that the recipient can't work (heard this 4x now).

These are mostly "young" people (under 50). The virus is by itself not a serious illness for these people, some of them had it and it was a few days of feeling ill - nothing special and nothing they haven't experienced before. Given that being bedridden is a commonly reported side effect, and it seems to happen on each shot, and that COVID itself usually only lasts a few days for them, it only takes 3 shots before the vaccines have made them as sick as COVID itself. Which doesn't seem like a smart tradeoff. The goal is to not get sick.

comment 5y ago · link · parent

The reason hospitals still "can't cope" (this is frequently a relentless exaggeration but let's roll with it) is because the healthcare system has persistently refused to train new people or lift a finger to increase capacity in any way, and in fact, is now firing healthcare workers en-masse for not taking it, even though many don't need to and it doesn't eliminate transmission anyway.

At some point people need to stop being so lenient on health suppliers. They are implicitly demanding society trashes itself to avoid them having to hire and train. It's endemic now, there is no cure, the treatment is mostly still oxygen+drugs. There's no excuse.

comment 5y ago · link · parent

That's the US data which is hopelessly corrupted by politics; the CDC simply hasn't been reporting honest statistics about vaccines from the start.

In the UK where the health authorities break down by age and vaxx status with what seems to be reasonably accurate reporting, the vaccinated per capita rate is ~2x the unvaccinated rate and nobody knows why.

comment 5y ago · link · parent

That is completely insane. Getting root on one container = complete access to the entire system with administrator level access? What kind of security operation are they running there exactly? Local root exploits aren't exactly unheard of, so you'd think the infrastructure would be designed to tolerate that sort of thing, not simply hand out private keys to management APIs to all and sundry.

comment 5y ago · link · parent

I'm a discerning sceptic. I trust science that has been proven through successful application. I feel sorry for people who have to read academic papers as part of their job in order to find science that they could apply, partly because that used to be a part of my job and after the novelty wore off it was a miserable task. Science is best paired with real world engineering - academia can do this but the least trustworthy fields e.g. those that rely entirely on modelling, never do.

comment 5y ago · link · parent

Well, that's not what the study says. It says - or seems to say - that women discriminate against men but not vice versa.

comment 5y ago · link · parent

It's nonetheless useful to have rigorous evidence to justify what 'everyone knows' because inevitably, some people will vigorously assert the opposite regardless of how obvious it is.

comment 5y ago · link · parent

For better or worse, companies generally don't directly criticize their competitors products and especially won't make claims they're unsafe. That said, it's conceivable that with reforms to tort law, this could be incentivized in a reasonable way.

comment 5y ago · link · parent

Clearly, niceties like medical privacy are completely irrelevant when it comes to COVID vaccination. Government already went there and a thousand miles beyond so who cares. Replace the names with numbers and call ita day The consequences of bad things being hidden in this data are drastically higher than a few people being deanonymized.

comment 5y ago · link · parent

R0 unfortunately turns out to be a basically meaningless number for COVID. In theory it is a natural property of the virus. Other measures of R like Rt are then the 'adjusted' rates that take into account environmental factors.

In reality none of these numbers have any scientific validity, as they are usually computed using methodologies that aren't valid. In particular R0 is often simply a free variable in a model, i.e. a fudge factor in which the values are brute forced until the model output comes into line with reported government statistics. What does this fudge factor represent, if anything? Nobody actually knows, so it gets labelled R and then announced as a "fact" by epidemiologists. But then someone else takes a slightly different data set and runs the same calculation, but with a totally different R0 value coming out the other end.

comment 5y ago · link · parent

So let Pfizer submit requests for redaction. They have the resources to run a trial with ~65,000 people in it, they can throw some lawyers at that problem and get it fixed pronto.

Say: you have two weeks to submit any requests. After that, everything gets released. It's your trade secrets after all.

comment 5y ago · link · parent

Ah yes, academia, that famous bastion of free thought where success is totally unconnected to whether your colleagues like you and nobody ever gets cancelled. One where, as the fine article points out, 95% of biology professors vote Democrat.

Academia is the last segment of society I trust on these topics.

comment 5y ago · link · parent

Somehow society managed to take an entirely new, experimental medical technology, run trials and launch it to the world population in < 12 months yet it's been nearly 24 months now and there are zero - zero - large scale useful studies of ivermectin produced by the western medical establishment.

As I was reading the article, this is really what leaped out at me. There are lots of people and doctors who think ivermectin works. It's clearly a question worth investigating. Why are all the studies based on 50 people in Bangladesh?

That, in turn, is very strongly connected to the cost of running drug trials that will get past the FDA and patent rights. So it's not surprising that people end up being very cynical about this.

comment 5y ago · link · parent

What arguments do they give you?

comment 5y ago · link · parent

"Actual medical science, and science in general, doesn't make claims beyond what we know for certain"

Unfortunately I read papers that do this, all the time. Science in general not only makes claims well beyond what's known for certain but does it so consistently that vast numbers of people, including many scientists themselves, have lost sight of the scientific method and have normalized bad, unscientific behaviour.

And this is ultimately how you end up with more than half of all drug trials being fraudulent or useless ...

comment 5y ago · link · parent

If the native code blocks, the C# coroutine won't reschedule.

comment 5y ago · link · parent

Well, what exactly are you looking for?

There are no sources showing an increase in excess death due to vaccination because the medical and media establishment categorically deny that this could possibly be happening. As far as they're concerned more or less nobody ever dies of the COVID vaccine, period, end of story and any claim to the contrary is misinformation. This attitude is sometimes summed up as "Vaccines are amongst the leading causes of coincidences".

The US VAERS database of course tracks peculiar diseases/symptoms/deaths that follow vaccination. At this point it has more records of adverse events for COVID vaccines than all other vaccines combined since the tracking programme began, but the vast majority of problems never make it to VAERS or similar databases, so the absolute numbers aren't that useful. So the best people can do is inference. There appears to be a sharp increase in deaths due to heart attacks and strokes/other clotting disorders this year. The media are occasionally reporting on this but either claiming it's some inexplicable mystery or coming up with some absurd alternative explanation. Examples:

"Health experts have been left baffled by a big rise [25%] in a common and potentially fatal type of heart attack in the west of Scotland": https://www.thetimes.co.uk/article/mystery-rise-in-heart-att...

"Why are heart attacks becoming common amongst seemingly fit people?" - their answer is a sudden epidemic of too much exercise: https://timesofindia.indiatimes.com/life-style/health-fitnes...

The UK has very good public health data compared to most countries. It breaks out heart related deaths for both with and without COVID. There has been a large rise in non-COVID heart deaths in 2021. Some of this may be/must be due to the (not really admitted) collapse of the UK healthcare system due to lockdown triggered overload. However there is also a correlation with the vaccine rollout (it's graphed):

https://dailysceptic.org/2021/08/31/why-has-there-been-a-ris...

It's a 12x increase. That's either lockdowns or vaccines but whichever it is, that's not a natural cause, it's caused by government policy.

From a quick bit of Googling there seems to be similar data from Israel but I have not checked this tweet in any depth - the tables seem legit but the summarization of it looks backwards to me:

https://twitter.com/RanIsraeli/status/1425002893116166144

Anecdotally there seem to be a noticeably larger number of athletes having heart attacks whilst playing. Example montages of these stories are here: https://www.youtube.com/watch?v=1l34v01crsc https://www.youtube.com/watch?v=JZAPxYouf-c

I have a friend who is investigating this phenomenon in more depth. He found a research paper from the early 2000s that counted news reports about sudden on-field medical emergencies amongst young sports players, then compared that rate to some big lists of news stories in 2021 about it he compiled. He's still working on this project and hasn't written anything up publicly but so far it seems the rate is 6x higher than normal. Obviously this sort of investigation is limited by several factors, but as public health agencies refuse to investigate or report on this stuff, there's a limit to how far random members of the public can go.

comment 5y ago · link · parent

They contribute to the JDK, mostly via the Swing project. For instance they're a major contributor to Project Lanai.

comment 5y ago · link · parent

The problem with doing it all native is that stack sizes are quite variable, especially in managed languages where modularity and code reuse works better, so it's common to have tons of libraries in a single project. The kernel won't object to lots of threads, but once those threads have been running for a while a lot of stack space will be paged in and used.

Loom solves this by moving stacks to and from the heap, where there's a compacting concurrent GC to clean up the unused space.

comment 5y ago · link · parent

Yes but you always need original/kernel threads, regardless of what approach to async you need. The concept of a thread and a stack is hard-wired into the CPU.

W.R.T. code that needs a native thread: at the moment there's only two types of such code. One is code that uses Java's synchronized statement. That's supposedly just a, ehm, small matter of programming to fix. The other is calling into non-JVM controlled code. That's fundamental and no approach to scalable concurrency can fix it, not CPS/async/await or anything else because it's a foreign compiler.

But fortunately the JVM has some really interesting tricks up its sleeve there. For instance you can compile your native code using LLVM and then execute the bitcode on the JVM. Well, OK, currently GraalVM doesn't support Loom but hopefully Graal will be upgraded to do so as Loom gets integrated into HotSpot. And when it does, you will be able to call into code written in C/C++/Objective-C/Rust as long as that code can be recompiled with your own toolchain and as long as you can tolerate it being JITCd, also whilst benefiting from Loom's scalability.

comment 5y ago · link · parent

The problems with async/await are:

1. The "colored function" problem: http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...

2. Poor interaction with debuggers, profilers, and other tools that expect to be working with normal stacks.

Loom solves this because it lets you work with normal threads, but suddenly you can have millions of them in a process without blowing out your memory or other related problems.

comment 5y ago · link · parent

Java is kinda stuck with threads, so green threads make some sense.

This isn't really what's happening here. Firstly, you can implement CPS on the JVM no problem. Kotlin Coroutines do exactly that. Loom's design is a very, very explicit design choice. Ron Pressler - the lead and designer of Loom - has talked about this extensively in many videos. He has argued persuasively for the way Loom works as not only a good way but the best possible way, one which is not a requirement of Java's previous design choices but rather, is only actually possible due to Java's prior design choices.

A recent talk on this topic is here:

https://www.youtube.com/watch?v=KmMU5Y_r0Uk

It's highly recommended. I'll try to summarize the basic argument.

The ideal, from a developer's perspective, is to have the programming model of threads with the efficiency of hand-coded CPS or state machines. Why: because threads naturally provide useful debugging and profiling information via their stacks, they provide backpressure, because there are tons of libraries that work with them and already use them, and most critically because it avoids the "colored function" problem which splits your ecosystem.

Why do most languages not provide that ideal? Mostly for implementation reasons. It's not due to theoretical disagreements or anything. Providing what Loom does is very difficult and is possible largely only because so much of Java and the Java ecosystem is written in Java itself. One reason native threads are relatively heavy is because the kernel can't assume anything about how the code in a process was compiled or what it will do. The JVM on the other hand is compiling code on the fly, and knows much more about the stack. In particular it knows about the (absence of) interior pointers, it knows it has a garbage collector, it controls the synchronization and mutex mechanisms, it controls debugging and profiling engines.

This allows it to very efficiently move data back and forth between a native thread stack and compressed encodings on a GCd heap. It's also why Loom has some weaknesses around calling into native code. Once you're outside the JVM controlled world it can no longer make these assumptions anymore and must revert to a much more conservative approach (this is "pinning" the "carrier thread"). Note, though, that this situation is not worse than async/await colored functions, which have exactly the same issue.

comment 5y ago · link · parent

Well the US data is certainly garbage - obviously if you ignore "breakthrough" cases in the vaccinated unless they're very serious, the vaccines will look great. That's just lying though. It's exactly this sort of thing that destroys people's willingness to trust governments or take the vaccines: it's just obvious that public health will do or say anything to get people to take it and couldn't care less about the consequences.

Medical literature appears to be heavily adjusting the raw data and using a methodology that is known to overstate vaccine effectiveness if a vaccine causes "viral interference", without bothering to show that no such interference is taking place.

The entire thing is just a dystopian nightmare of lying and manipulation, really. In the past I've used the term anti-vaxxer as an insult, as I guess many of us have done. Never again. The whole story around vaccines will eventually have to be revisited - you can't witness this stuff up close and not conclude that public health has a blind, near fanatical ideological bias in favour of vaccination to the extent that any bad news is immediately covered up or obfuscated.

comment 5y ago · link · parent

Of COVID, yes. There are potential problems with these stats too, but the problem I'm trying to tackle here is that people are mis-stating what seems to really be happening with actual infection rates and making invalid comparisons to things like seatbelts.

For the analogy to hold true seatbelts would have to double your chances of actually crashing your car, and also sometimes randomly kill people who hadn't crashed at all (vaccine injuries are a real thing and excess death is now elevated for non-COVID reasons). Clearly the tradeoffs involved here are quite different and statistics need to be used very carefully to assess them.

comment 5y ago · link · parent

There are two problems in your understanding.

1. The problem appears when comparing rates. Your counter-argument is assuming we're comparing absolute numbers which is false.

2. The argument about "data fudging" is the other way around. The raw data shows sharply negative effectiveness against symptomatic disease, and the UK HSA then "fudges" the data into showing the opposite using a statistical technique called TNCC - the validity of which is currently under debate, as it relies on an assumption that doesn't seem to be true.

But these mis-understandings aren't really surprising given that you admit you haven't actually bothered to read the links, and instead decided that you already know the answers because of some unrelated discussion to do with US politics. None of the people I've cited are Americans or in the USA so whatever you think did or did not happen in the 2020 election is quite irrelevant.

comment 5y ago · link · parent

Seatbelts do work yet the data on vaccines is - in the very few countries that publish the needed data - by now very clear. Only six months after vaccination the vaccinated are actually much more likely to get COVID than the unvaccinated. Yes this sounds wrong but the data is unambiguous. The UK breaks out cases by age and status. For over 30s case rates are now double or higher. Check my comment history for links.

comment 5y ago · link · parent

Sure, always.

Article graphing the UK data showing negative efficacy against disease in the raw data, and discussing the semi-public fighting that's broken out between arms of the civil service over how to disguise or de-emphasise the results:

https://eugyppius.substack.com/p/ukhsa-efficacy-stats-death-...

Norway finds no effectiveness against death (but oddly, some against ICU admittance)

https://dailysceptic.org/2021/11/14/norway-study-finds-zero-...

Essay discussing how although raw UK data shows negative efficacy, it gets adjusted using a test negative case control design to show high efficacy. This contradicts data not only from Norway but also Sweden and Qatar, so is there a flaw in their approach:

https://dailysceptic.org/2021/11/12/why-are-the-ukhsas-estim...

Another essay showing that the TNCC design requires absence of "viral interference" which may not be the case here:

https://dailysceptic.org/2021/11/13/the-flaw-at-the-heart-of...

Daily Sceptic has been doing a lot of reporting and analysis on the UK data (it's a UK site), usually with very high quality of analysis. A lot of it comes from PhDs and data scientists of various kinds.

1
282930
46