526 karma · joined Jul 4, 2022 (4y ago) · 705 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
- GC state bits.
- The class metadata, i.e. pointer to a Class<> object.
- Lock data, including possibly a pointer to a lock.
- Possibly, an identity hash code.
- Possibly, a GC forwarding pointer.
Several of these are pointers! If you're on a 64 bit machine, just
one* of them implemented naively if immediately 64 bits. In other words Java object headers provide a lot of stuff.To pack the whole thing down to just 64 bits requires a lot of clever implementation tricks, exploiting what exact combinations can appear, etc. Also note that this overhead isn't Java specific. In C++ you have malloc headers and then the C++ vtable pointer, in many cases. So just running "new SomeObj()" in C++ will immediately blow you past the heap overhead of Java after this JEP is merged, and if you need to add a lock and/or reference count to catch up with the Java feature set then you're at multiples of it.
comment 4y ago · link · parent
It's not just this bizarre gotcha (the fact that C# had it too doesn't make it OK). It's that Go has so many of these cases where they took very strong positions on things and then later reversed their position only after many, many years:
- Generics
- Only one gc knob
- No backwards incompatible language changes
Also, Go has been around quite a long time now and we've all read quite a few rants about its surprising cases. How comes this one never came up before? The thread provides evidence that it bites people regularly. It suggests to outsiders that you can't easily evaluate Go by reading about it because there will be sharp edges that people aren't talking about simply due to the quantity of things that are even worse.
comment 4y ago · link · parent
Yes, Stability AI is doing great stuff with making this tech freely available for now, but it's not clear how sustainable that is in the absence of large VC funds. The players with the bigger more stable budgets are going the proprietary route.
comment 4y ago · link · parent
The reason Andreas was able to build a community around SerenityOS so fast is the same reason Stallman/Linus were able to do so - everything about it is a direct clone of designs proven out by commercial OS vendors. The core is UNIX (well understood) and the GUI is Windows 2000 (well understood). The code may be fresh, but even there, it is just an ordinary C++ based OS, as conventional as can be. This means working on it is fun for the developers because there are relatively few debates over direction or design, and little risk - you know what you're getting right from the start.
But to claim that such a project is doing it all from scratch zero-rates the design aspect, which seems wrong.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
For example, there was a big push to give people access to the raw data. Researchers were made to sign data availability statements. The appearance of improvement was created. Then one day someone decided to test if these statements meant anything and discovered they did not; compliance was extremely low [1].
This seems to be how it goes. After over a decade of noise about P-hacking and low replicability in the social sciences, estimated replicability of studies has hardly changed, nor has statistical power improved much [2].
And these are the subtle problems that people don't mind talking about because the problems are sufficiently opaque enough that the general public doesn't pay much attention. During COVID we saw just how deep and serious bad science can get. Climatology isn't better. P-hacking is an irrelevant concern if you aren't even comparing your hypothesis to actual data to begin with (c.f. computational epidemiology), or if your response to a hypothesis/data mismatch is to edit the data (c.f. surface temperature datasets). Poor replicability is likewise irrelevant if the supposedly top researchers in a field can't implement a model that can even replicate its own outputs, and literally nobody anywhere within the institutions cares!
The core problem here just doesn't seem to be something you can fix with this kind of incremental approach on top of the academic basis. You get the temporary appearance of progress in one or two fields where noise is being made, but it's fake and falls apart the moment someone examines it deeply or looks at a slightly different field.
Ultimately, academia doesn't institutionally care if the output of its professors is correct, only that output happens and gets attention. You can't fix this by requiring more forms to be filled out; these people are smart and have all day to find workarounds. For as long as their position and status in society revolves around creating mass/public perception that they're doing intelligent work, vs actual hard-nosed evaluation of said work by independent but deeply interested outsiders (e.g. companies that want to build things), we will continue to be disappointed by the failure of reform efforts.
[1] https://www.jclinepi.com/article/S0895-4356(22)00141-X/pdf
[2] https://fantasticanachronism.com/2020/09/11/whats-wrong-with...
comment 4y ago · link · parent
There's also a lot of scope for drama and problems at that second stage, because there can be a lot of wiggle room in whether what was done meets or doesn't meet the pre-registered plan. It might sound easy to follow a pre-written plan but for instance if what you're doing turns out to need adjustment due to discovering something you hadn't anticipated, then technically you might violate your pre-registration. In turn that can yield perverse incentives to not fix things.
Having been through a few rounds of "here's a new procedure that will yield better science, oh no it isn't really working" I'm not really enthused anymore by this kind of tactical fix. From a software dev perspective it's sort of like constantly hot-patching a system in prod to try and cover up bugs when the underlying problem is actually bad architecture that creates too many bugs in the first place. Getting overly fixated on P-hacking or non-replicability distracts from the deeper underlying problem of a mis-specified utility function.
Example: replication was meant to be the big hammer but most studies still aren't being replicated and when they are they sometimes use lax definitions of "replicate" that wasn't what people had in mind, e.g. they'll get an effect size 10% of what was originally reported and still label that study "replicated" or they'll get totally different numbers but claim that because the trend is sort of similar, that's replication.
comment 4y ago · link · parent
Programming is something scientists tend to study only as far as needed to get results that look right. This is how the most influential COVID model ended up being a 15,000 line student-quality C program with hundreds of single-letter name global variables.
comment 4y ago · link · parent
https://www.ons.gov.uk/peoplepopulationandcommunity/populati...
NHS budget grew in the same period 53%
https://www.kingsfund.org.uk/projects/nhs-in-a-nutshell/nhs-...
Even if you ignore the massive injection for COVID it grew 39%. The NHS has far more money per pop than ever before in its history yet it cannot meet even the most basic expectations that a third world country would have, like people actually being seen by a doctor in a timely manner if they collapse on the street and an ambulance is called out. Let alone less urgent stuff.
That's why the idea Palantir or any company would ever want to "steal the NHS" is delusional. The NHS is a bottomless bonfire of money, it's the USSR in healthcare form and works just as well. The more money it gets the more dysfunctional and broken it becomes. Nobody in their right mind would want to steal such a worthless thing.
comment 4y ago · link · parent
And the NHS isn't being privatized anyway so no clue what you're even talking about. Privatizing it might start to fix it. Good luck getting contracts that pay you by size of your patient list and not how much work you actually do, in a properly privatized system!
comment 4y ago · link · parent
Linux avoids this problem mostly because it doesn't have much commercial software to pirate in the first place.
comment 4y ago · link · parent
The injury doesn't seem to be healing and I'm getting worried. It's not an emergency but the sort of thing that maybe can fester and get worse. They're starting to talk about going private but it seems everyone talks about that now so I'm not sure it's so easy.
comment 4y ago · link · parent
That's why I don't think it makes much sense to treat kotlin in the same category as the other languages. Sure, it's a programming language, but the way JetBrains executed on it with its easy upgrade path from java and really excellent design, not to mention the toolchain, mean that it's success and trajectory cannot easily be generalized to other "weird languages".
comment 4y ago · link · parent
As for learning from the timnit thing I'm pretty sure the only thing people outside Google learned from that is that Google ai "ethicists" all seem to be crazy. Certainly that's the clear vibe on this thread.
comment 4y ago · link · parent
So there seems to be an implicit assumption here that the risk is faked material where people don't believe it's fake, for some reason. And the fix for that would be to ensure that the easy to use versions of generators are watermarking or otherwise recording what they made, so it's easy to find out if something was faked. That doesn't help of course if you're up against a programmer who can make awesome deepfakes locally with open source software and a great GPU but then we're back to the debate about costs because of course, if you to against well funded experts they could already do this sort of thing. In reality it doesn't happen.
comment 4y ago · link · parent
comment 4y ago · link · parent
There is a so-called Parliament. It's more like the US House of Lords power-wise. It can slow down legislation or tweak it a bit. It can't actually change the law, which means it's not a Parliament.
There is a set of courts. You can appeal to them against the decisions of the Commission after the punishment is enacted. Unlike in normal democratic systems of government, the government doesn't have to prove guilt in a neutral court of law. They assert guilt, fine you a few billion dollars and then if you have enough money left over you can appeal in the courts. Years will pass and if you eventually win, you might get the money back. Of course the Commission might then just fine you again - the rules are vague and being in compliance essentially political. The courts also have a history of activism and 'discovering' new laws in the texts of existing laws.
The EU is structurally and philosophically a Soviet-style system, which makes sense given its origins in the Ventotene Manifesto. Like all such systems it has institutions that use the names as western democratic institutions, but on close inspection the rules are sufficiently different that they aren't effective.
"we have a society here and it demands concessions"
"Society" doesn't care about phone connectors or make demands. Governments do that. Survey the populations in EU countries and their top priorities are nowhere even close to this. They mostly care about the economy, immigration and climate change.
comment 4y ago · link · parent
The US has bad healthcare outcomes for a lot of reasons unrelated to their health care system, like obesity - a problem for the UK too. It's not due to basic, fixable stuff like "the hospital has no appointments" or "doctors aren't under any obligation to actually serve patients".
"That guy could have got emergency health care - he could have walked into an MIU, or an ED, or he could have called 999."
The 999 service that's also in collapse? He'd have been told to piss off and stop wasting NHS time because it wasn't an "emergency", as it'd already been mis-diagnosed as something trivial. He didn't realize how serious it was until it was already far too late. Why are you trying to defend this outcome? It's a terrible, atrocious end for a man who did nothing wrong, and no, this sort of thing is not an outlier. We can see it in the millions of mission cancer diagnoses.
Your last points seem to be continuing the previous confusion. You can abolish the NHS and still have healthcare regulations, although the act of abolishing the NHS is itself an act of de-regulation. It means you have fewer of them, not none.
comment 4y ago · link · parent
The problem here is real and the causes are clear from history - ignoring history because you don't like it is no solution. My own father now cannot get healthcare in the UK for an injury he has, point blank cannot get it. There are no appointments at the local hospital with no information on when new appointments can be booked, it takes weeks to even see a doctor at all - maybe over the phone if you're lucky. They're talking about going private but all my family members in the UK seem to thinking that at once and the UK private sector is woefully under-provisioned due to decades of near religious pro-NHS fervor and an inability to compete against tax-funded services.
The US in particular is demonized in the UK and it's dumb. Firstly, there are tons of private healthcare systems elsewhere in the world that aren't the US, it's the default mode, not an exception. Secondly, healthcare in the USA is actually excellent. If you have insurance then what's happening to my family just wouldn't occur. All the controversy in the US is around people who can't or won't buy insurance yet who don't qualify for Medicare/Medicaid, and the employer link that is a quirk of their tax code specifically. Phasing out the NHS wouldn't require the UK to bias the tax code in favor of employment-linked health insurance, and it wouldn't mean needing to exactly duplicate their benefits schemes. Those two things aren't fundamental to the private run healthcare model.