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

Second rate UI? The IntelliJ UI is pretty great, it's very well optimized and has a billion features. I don't think any new IDE would look significantly different. There are only so many ways to do buttons, scroll bars, trees and editors.

comment 5y ago · link · parent

Also relevant is this series:

https://jet-start.sh/blog/2020/06/09/jdk-gc-benchmarks-part1

"On modern JDK versions, the G1 is one monster of a collector. It handles heaps of dozens of GB with ease (we tried 60 GB), keeping maximum GC pauses within 200 ms."

(note: 200msec is its default goal, not the limit of what it can do)

Java has a reputation for needing complex GC tuning. Over time the need for this has fallen away as the GC technology has improved.

https://jet-start.sh/blog/2021/03/17/billion-events-per-seco...

"In our previous experience, we found you don't need any low-level GC tuning parameters to get great latency results on the JVM, but you do have to use a recent JDK. We let the JVM use its default G1 collector and configured it with our desired GC pause target."

"the maximum throughput at which a single Hazelcast Jet node maintains 99.99% latency within 10 ms now lies at 20 million items per second, a 250% boost!"

The JET guys show that a modern JVM (newer than Java 11) can achieve stunning throughputs with extremely low pause times. At 60fps each frame has 16 milliseconds to run. Obviously JET is a server and not a client-side app, but it helps put in perspective how impressive it is that your server could easily be running at "60fps" whilst processing 20 million items a second!

comment 5y ago · link · parent

But they would not have suddenly started drug abuse in 2021.

The reason this is catching attention is that there's a big jump in the number of athletes suddenly collapsing or retiring from sports due to cardiac issues. The number I've seen is 6x, which was based on comparing verified reports so far this year with an academic paper from the early 2000s that provided baseline numbers. 6x is a lot.

comment 5y ago · link · parent

The moment you go down that road, every academic epidemiologist and COVID expert will immediately be prosecuted because they have repeatedly made claims that were totally false and which have led directly to many deaths. For example, the claim that lockdowns work (they don't and this was known before COVID times), has led directly to people dying due to delayed medical treatment. Poverty also kills of course and their demands/misinformation has led to that too.

The same is also true of more or less the entire field of nutrition, none of which has yielded anything useful, and has resulted in governments themselves spreading misinformation:

https://sebastianrushworth.com/2021/11/27/is-saturated-fat-u...

Incidentally, Berenson has written a long rebuttal to this kind of thing which you can find here:

https://alexberenson.substack.com/p/the-english-data-on-vacc...

comment 5y ago · link · parent

"the final sample consisted of 786 participants (653 female, 127 male, 6 other/unspecified) ... 39% Asian, 32% Latino/a/x, 13% White; approximately 40% with household income $0 to $39,999, 28% with income $40,000 to $80,000, 31% with income $80,000 or higher .... an overwhelming majority of participants (94.3%, n = 739) indicated support for the use of trigger warnings in our sample."

That's one heck of an unbalanced sample. The vast majority were women, nearly 1% were "other" and nearly 90% weren't white? Yes they're aiming to study college students specifically rather than the whole US population, but, how representative can this sample really be of even the college population? It feels like anyone who thinks safetyism is bunk didn't even show up for their study at all.

Yes they go ahead and use the normal statistical techniques on the data but there are limits to how far you can fix a sample this overwhelmingly dominated by certain types of people.

comment 5y ago · link · parent

Not the analysis I saw, where Delta's growth rate was compared to Alpha in the same time window, not the start of alpha's own growth period. Because yes, they are totally incompetent. You can look at graphs of the changing proportions to see visually that that's not much difference in how fast they took over.

comment 5y ago · link · parent

I'm curious to what extent this sort of data depends on positive tests. It seems there's kind of a contradiction here: we can detect huge numbers of mutations, but only if someone tests positive as otherwise a sample will be ignored by the labs (presumably?). Yet the tests are supposed to be extremely precise.

Does anyone know how the need to detect mutations is balanced against the need for the tests to be precise to a specific type of virus?

comment 5y ago · link · parent

That's how it's meant to work. If that were true you wouldn't be seeing so many people getting COVID after being vaccinated.

In reality all these explanations we're being given are nearly junk value. Public health researchers don't understand the immune system or mRNA based vaccines well enough to predict things like how it adapts or learns, and in particular they just ignore any factor that they don't have a fast/cheap test for (or sometimes any test).

comment 5y ago · link · parent

Are you claiming a professor of virology shouldn't be classed as an expert in viruses?

comment 5y ago · link · parent

The R numbers coming out of UK epidemiology are garbage, Racaniello is right about that. They aren't physically grounded in any way, they're just arbitrary fudge factors brute forced to make their equations plot graphs that look like reported government stats so far. The same model will routinely calculate totally different values of R for different areas of the same country at the same time, without variants or anything like that.

Also the claims about variants being "more infectious" are - when you dig in - hopelessly confounded by seasonal effects that many epidemiological papers were at that time still ignoring.

comment 5y ago · link · parent

The Go compiler is fast because it doesn't do very much, not because Go's GC is good for throughput oriented jobs.

Go has repeatedly tied itself in knots over the years because they have a goal of not making the compiler slower, yet, the GC needs of the compiler are diametrically opposed to the needs of the HTTP servers Go is normally used for.

https://go.dev/blog/ismmkeynote

"As you can see if you have ROC on and not a lot of sharing, things actually scale quite nicely. If you don’t have ROC on it wasn’t nearly as good ... At that point there was a lot of concern about our compiler and we could not slow down our compilers. Unfortunately the compilers were exactly the programs that ROC did not do well at. We were seeing 30, 40, 50% and more slowdowns and that was unacceptable. Go is proud of how fast its compiler is."

comment 5y ago · link · parent

Yes. Those aren't GC controlled so any arguments about GC is irrelevant with direct byte buffers.

Also, object pooling isn't really a GC related hack, it's more useful as a cache booster. Programmers like immutability and garbage collection but your CPU doesn't like these things at all. If you're constantly allocating new objects it doesn't matter if your GC kicks ass, because those objects will always be in parts of memory that are cold in the cache. If you allocate some up front and mutate them, they're more likely to be warm.

Obviously this isn't a language or even VM thing. It's a "mutable variables are good for performance" thing.

comment 5y ago · link · parent

The issue is not that it doesn't happen - it does, all the time. The problem is it's unpredictable, hard to control and hard to measure. So it's sort of magic that gets blurred into all the other optimizations the VM is doing, and refactoring your code can make the difference between it happening or not.

comment 5y ago · link · parent

Right - specifically they invented a way to make closing an mmapped segment safe and fast. The reason you can't officially (without private APIs) unmap something in current Java is because if you did then other threads would segfault, and "no segfaults" is kind a defining characteristic of Java. The new API fixes this using more VM magic, so closing a mapping from one thread will cause other threads to throw exceptions, but this is done without sacrificing performance (it doesn't require checking a status every time you read from memory).

comment 5y ago · link · parent

Only in some kinds of apps, like web servers where all the heavy lifting is being done by the database anyway.

Consider a compiler. It's not infinitely scalable to multiple cores. It may not even be multi-threaded at all. It also doesn't care about pause times - for that you want Parallel GC.

comment 5y ago · link · parent

The JIT is getting better. Major escape analysis upgrades are a big part of where Graal (a drop-in replacement for the HotSpot JIT) gets its performance boosts. EA definitely does work well there because Truffle depends on escape analysis and scalar replacement very heavily. GraalVM CE is better than regular HotSpot at doing it and GraalVM EE is even better again.

comment 5y ago · link · parent

It's not a book but Shipilev's Quarks are an excellent source for some of the more obscure corners:

https://shipilev.net/jvm/anatomy-quarks/

BTW green threads haven't been used for decades ;)

comment 5y ago · link · parent

I'm curious what the best way to develop software for ChromeOS is that's not writing a web app. It can run Android apps, right? With the Linux support can it run anything else, like X apps, or is it restricted to Chrome and Android?

comment 5y ago · link · parent

I disagree, it's the opposite - capitalism is the fix and the lack of it is the cause. The problem is the way Rust is run and the sort of people who were invited into it in the early days.

Consider Kotlin. It originates from one large company - JetBrains have over 1000 employees and the Kotlin team alone has over 100 people on it - and has been adopted by another much larger company (Google) as an official language. There are no dramas. Why, because the Russians are mission focused and don't feel any need to constantly virtue signal.

Consider Swift. It originates from a large company. I don't remember reading about any political dramas in the Swift world. That's because Apple are mission focused.

Now look at Node or Rust. Both have attempted to build some sort of non-corporate governance system, they're based out of the Bay Area, and all of them seem to be absolutely beset by internal conflicts and strife.

comment 5y ago · link · parent

Mitchell Baker has repeatedly embarrassed Mozilla and failed in almost every way a CEO can fail. She is very obviously uninterested in Firefox and sees it just as a way to further her own influence amongst the Washington set she wishes she was really a part of. Mozilla not only has a "social justice" culture but openly talks about it all the time: https://blog.mozilla.org/en/mozilla/leadership/mozilla-racia...

"We granted 33% of Mozilla Foundation funds to black-led tech and social justice initiatives. Unfortunately, we fell short of our 40% target."

The Mozilla Foundation is meant to be funding Firefox. That is its purpose. Instead it is using money raised for that purpose to perpetuate SJW culture and overt racism against white people.

The type of insidious and dishonourable mind games the Rust moderation team are playing here is exactly the sort of thing I've come to expect from Mozilla-associated projects. The apologetics for it in this thread are just wrong. My weapon of choice is Kotlin, made by Russians. Guess what: there's no moderation team, the community is fine and in the 10 years the project has existed I recall exactly zero community related dramas. None. Zero. Nada. This sort of thing isn't normal for programming languages and people trying to claim it is are wrong: it's normal for languages controlled by a very specific kind of person in a very specific region and subculture of America.

In contrast, Brendan Eich kept his politics private and actually cared about Firefox as a product and technology.

comment 5y ago · link · parent

A few experts believe no more boosters? So, eternal boosters are right around the corner then.

It amazes me anyone is still willing to use the E word on anything COVID related. It's just embarrassing at this point. The "experts" assured us just months ago the vaccines were 95%+ effective. The fact that effectiveness declined so fast surprised them and now they're trying to rewrite history to claim it was known all along.

There appear to be no experts in COVIDS, viruses or vaccines. They're all in denial that their self-proclaimed experts beliefs have been invalidated dozens of times over since the start of this.

comment 5y ago · link · parent

The data is age stratified. Wrt different levels of health, yes, but there's some good analysis of this that shows it looks like the least healthy aren't vaccinated at all (probably because they're already dying) and this creates an artificial boost to the vaccines effectiveness against death. In the UK at least.

comment 5y ago · link · parent

Yeah I have the same impression. Other languages don't seem to have the same drama issues. Rust came out of Mozilla, which is super steeped in SF social justice culture (see the antics of their CEO). It seems like that culture was carried into Rust.

comment 5y ago · link · parent

"by keeping the specifics close to the chest they both keep their integrity"

Odd code of honour there. They've made a lot of dramatic insinuations about other Rust contributors, basically asserted that they're all bad people, and provided no detail. That's the opposite of integrity.

comment 5y ago · link · parent

Yeah but if the only problem was Tylenol style toxicity with unneeded levels of overdose they'd never have abandoned the tech for drugs. They'd have just determined that the safe dose was larger than the needed dose and slapped a warning label on it.

The articles are quite clear that they didn't want to make this decision but felt forced into it, because many years of investor funding had failed to bring a single drug to market. Vaccines were the Hail Mary move to save the company from extinction, even if it made investors unhappy. Then COVID came along and suddenly, vaccines were big business and nobody worried about toxicity anymore.

comment 5y ago · link · parent

No, anything based on their mRNA tech became toxic after multiple doses. That's why they refocused on vaccines even though vaccines were historically considered much less profitable than other kinds of drugs: they're less profitable exactly because you get one once, and then you're done for life. Thus by making vaccines instead of the other kinds of drugs they originally planned to make, they could work around their unfixable toxicity issues.

Except now, endless dosings of that very same tech are being mandated. Note: no announcements at any point about how they found some fix for this problem.

I've updated my original post with a second story from the same site that makes this problem clearer (spells it out in different words):

"But that hasn’t worked out so far. Moderna’s attempts to make actual drugs from mRNA have been repeatedly hamstrung, proving either too weak or too dangerous to test in clinical trials, former employees and partners said. The company has instead prioritized vaccines, which can be dosed just once and thus avoid the safety problems that have plagued more ambitious projects."

comment 5y ago · link · parent

Of course you can meaningfully measure effectiveness. Effectiveness (real world) is measured by comparing reported infection rates between the vaxxed and unvaxxed. Those not only fall with time (why do you believe otherwise?) but are now negative in the UK, where I'm from: vaccinated people are getting COVID at a higher rate and nobody has a good explanation of why ("behavioural differences" being the government's current choice). This real world data is then adjusted to try and turn it into efficacy (ideal conditions, vaccine only).

comment 5y ago · link · parent

Containers were never actually designed to be sandboxes, and inside you have access to many system calls and a comparatively huge surface area inside the kernel and userland, all written in C, with a long history of local root exploits due to C based bugs.

comment 5y ago · link · parent

Well, the Java approach is philosophically somewhat different. C#/.NET is closer to C++ where they are very willing to complicate the language and APIs to make the job of the runtime or compiler easier. Java just philosophically refuses to do that, more or less (perhaps you could argue that's changing a bit now with value types).

So in Java they just made exceptions really fast. There are lots of runtime optimizations around exceptions, for example, if you regularly parse strings that aren't numbers then the resulting exception will automatically stop having its stack trace filled out, which makes throwing drastically cheaper. The JVM can also inline the code and then convert try/catches to ordinary gotos.

1
272829
46