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

Isn't that what long term contracts are for? Oracle sign those, they have a whole section of their website related to contracts.

For GraalVM in particular there's no risk because the EE is basically just the open source CE version + more compiler optimizations. So it truly is a drop in replacement.

comment 5y ago · link · parent

The licenses provide good protection. It's GPL2+Classpath Exception, or UPL, where UPL is basically an Apache like license but with a patent grant IIRC. So very liberal. They just got beaten in court by Google where Google literally cloned their entire product before it was open source, so it seems very unlikely they could play funny games with claiming license infringement on something they explicitly put under very liberal licenses, unless you actually do violate the GPL.

The second thing there doesn't seem like a fair criticism of Oracle or any company really. Firstly any company can abandon stuff. There is no expectation that open sourcing something means funding it in perpetuity forever. Look at Google and Facebook, they abandon open source projects at a way higher rate than Oracle has ever done.

And secondly Oracle have actually been very steady hands on the tiller of Java. GraalVM is a very long term project. More than a decade old now. They have been funding long term research programmes like Valhalla. They're still maintaining JavaFX and other large libraries, even when they didn't become super popular. Their attention span is way longer and more stable than the average tech company.

comment 5y ago · link · parent

Probably cases where hw is expensive or where your workload doesn't scale horizontally all that well, or where latency is a big deal (better perf = lower latency = less hw needed).

comment 5y ago · link · parent

It's super confusing. There are several ways to get it. I think it's free if you run stuff in the Oracle Cloud. And the pricing on Oracle Cloud is actually quite good.

But the price list is here, it seems:

https://www.oracle.com/us/corporate/pricing/price-lists/java...

So price can vary between $25/processor/month and $12.50/month with further discounts available if you negotiate, probably. But ... this has to be rounded up to whatever the physical processor has, then multiplied by some "core factor" which can actually reduce the number of cores you need to buy from the physical number. Which can be found here:

https://www.oracle.com/us/corporate/contracts/processor-core...

For Intel and AMD chips, the factor is 0.5 - so the actual prices are just half of those numbers!

The rules about virtualization are kinda weird especially because Oracle Cloud presumably is virtualized itself. Presumably it's because if your jobs can "flex" at will then it becomes impossible to say how many cores you're actually using. Like, what do you do, integrate the area under the curve of second-by-second CPU usage or something? That would be very complicated. If they say, OK, your workload can use up to 100 cores then you pay for 100 cores, it's very simple. All you have to agree on with them is how many cores the maximum amount is. I can't imagine it would matter if the physical underlying hardware changes as long as the workload can only run on one machine at once. Otherwise it'd be impossible to run any Oracle product in any cloud at all, but people do it!

comment 5y ago · link · parent

The Graal team is huge. Like, I don't know, at least 70 people and probably more. So that's very expensive.

Oracle Java is best understood as two competing teams at this point. In theory GraalVM started out as a research project to feed improvements back to HotSpot and some of that they've done, like with the JVMCI interface that was added. But it didn't work out that way for whatever reason and GraalVM is now effectively a competitor to the 'classical' Sun Java product guys. They have different brand names, commercial models, feature priorities, price points, they are different organisations within the company. Fortunately GraalVM is not a fork of OpenJDK - it's a bunch of plugins and extra components, more or less. But at some level the difference is semantic because if you swap out the whole JIT compiler then maybe it actually is a fork? Not sure.

Anyway the original research vision was that C2 would be replaced by Graal indeed. The politics of merging such a total rewrite would be difficult at the best of times and it seems Oracle hasn't managed it, or perhaps they like having some internal competition for the OpenJDK guys. Certainly Graal team cares a lot more about modern marketing, about getting their tech adopted into other Oracle products and things that presumably Oracle management care about. Like the graalvm.org website vs the OpenJDK website is no competition. The former feels like an actual product, the latter is a bunch of wiki pages more or less.

comment 5y ago · link · parent

Well it's on the GraalVM blog and GraalVM has two editions. Facebook probably don't care how many copies of EE Oracle sell, but it seems pretty reasonable for Oracle to use the adoption of GraalVM tech by large corporations to cross-sell EE especially because the justification for adopting it is performance, and EE yields much better performance gains again.

comment 5y ago · link · parent

Good question but there must be one, because Google very much wants to win in cloud.

comment 5y ago · link · parent

Urs wasn't behind Google+. He may have supported it strongly, I don't remember, but G+ was a Larry&Sergey thing. They became obsessed with the idea that Facebook would beat them at everything because social was magic unicorn dust.

Urs missed Cloud

He didn't merely miss it but actively rejected it. I remember pushing for Borg to be turned into a product when I was there. The stock line (which I think came from Urs) was that Google's opportunity cost from renting out its hardware was so huge that it'd never make sense to do so, because ads was a superior business model to anything else and machine demand was infinite.

comment 5y ago · link · parent

What a mess. This will further damage trust in science.

1. People who were previously pro-vaccine will take this as evidence that journals are publishing bad papers and peer review doesn't stop it.

2. People who previously had doubts will observe the extreme over-reaction and double standards here and conclude that you cannot actually publish a paper indicating vaccines may be dangerous regardless of what the paper contains.

Extreme over-reaction: I read the paper. It is fine, at least by the normal standards of academia i.e. no worse than normal. Once you wade through invalid complaints like "the people who wrote it aren't one of us" you get to the complaint that it's correlational. COVID research is absolutely dominated by correlational studies. In fact this paper was careful to note the correlational nature. As there are no datasets that state causality, forbidding research on these grounds means nobody is allowed to draw any conclusions about vaccine safety at all.

Double standards: The standard definition of a COVID death is "any death for any cause within 28 days of a positive test". This is much more lax than the definition the study used and is guaranteed to over-count, for example when the New York Times ran a front page listing 1000 names of people who "died of COVID" and it was discovered the 6th name on the list was a murder victim. Thus the complainants are setting up a rank double standard: "died within X days of a test" is a perfectly reasonable criterion but when someone uses "died within X days of a vaccine" that is atrocious pseudo-science that must be retracted immediately.

I am in the second camp. Given the nature of these complaints, the contents of the paper in question and the mass resignation of the board, it's clear that the vaccine side effect registries run by national governments are at the moment completely useless. There's no actual way to publish research based on them without having your paper retracted, and retractions are happening for ideological reasons dressed up as concern for good science.

comment 5y ago · link · parent

the downvotes this comment got came from users, not big tech

Users on a website meant specifically for tech workers?

Isn't that a bit like saying tech censorship doesn't come from big tech, just from the individual feelings of its employees?

Is the implication here that communities shouldn't be able to organize their own content?

Deleting and hiding any non-left wing view is not "organizing".

comment 5y ago · link · parent

Bezos is making a subtle point here that I feel people are overlooking.

1. Anecdotes that you notice, by their nature, tend to come from reasonably sized groups of people.

2. "Data" as the term is normally meant in business and government does not. It may originally consist of many individual data points that represent something about large groups of people, but by the time it reaches a decision maker it has been filtered through normally just one or two people who have selected it, normalized it, and analyzed it in various ways.

In other words, "data" is often not being used with its dictionary definition of a raw CSV file but rather it means "analysis". And unfortunately the nature of data analysis is that not only is it easy to make genuine mistakes but it can also be very easily manipulated in all sorts of ways to present whatever the analyst wants to be true.

Academic research is an especially prevalent form of this problem because people don't hesitate to claim they've made a "data" based decision then cite an academic paper that presents a model with some absurd assumptions, or where the model outputs aren't visibly connected to the paper's conclusions at all, or which shows signs of P-hacking, or where the dataset is unusably small and so on and so forth.

Hence why I find myself agreeing with the other posters - if you find yourself strongly disagreeing with Jeff Bezos about something that seems to be within his domain, think twice.

comment 5y ago · link · parent

Not sure crime is the best choice of example given the statistically low rates of crime in SF combined with firms shutting up shop because there is so much (unreported) crime.

comment 5y ago · link · parent

I don't see how you arrived at that conclusion at all. Async/await is always strictly harder to use than green threads. Can you explain precisely why you view them as "otherworldly"?

comment 5y ago · link · parent

Thanks. I can't read Chinese, is it the 5<something>10<something> at the start? That would make sense.

I very much doubt it's DeepFaked. Why bother? If the CCP were holding Ma and wanted him to make a generic video like that for putting up appearances I'm sure they have ways to make him do that. I suspect the OP is correct and it's simply that the author of the article doesn't know how to search Chinese social media.

comment 5y ago · link · parent

Those sorts of explanations are all totally ad-hoc and have no real scientific validity. The English are famously stand-offish yet have worse results than Sweden. Texas and Florida are culturally very similar to other parts of the USA, yet unlocked without experiencing any change in their situation whatsoever and have seen similar results to other US states.

You can find counter-examples like that for more or less any posited influential factor on COVID outcomes, except for obesity. Government interventions in particular don't correlate well with anything. The models are all built on the assumptions that they should have a huge impact, but real data tells us differently - the assumptions the models are built on are unsound.

IMHO it's really a pity the game authors used this to influence the Czech parliament. These models were never validated against reality before being thrown at policymakers, instead the (sad to call them this) "scientists" simply assumed that because the underlying theories are simple they must therefore also be correct. I've had actual scientists tell me "of course lockdown works, it's basic germ theory" which demonstrates a pretty chaotic confusion between theory and reality, but that sort of attitude can be found everywhere in the academic modelling world.

comment 5y ago · link · parent

Yes, and it's richer for it. Java is definitely not the last word in language design!

comment 5y ago · link · parent

Not just biologists. It's a common trope in all academic output.

comment 5y ago · link · parent

Well, so far that hasn't been an issue. Kotlin is a pragmatic language. The differences that currently exist can be addressed just with an annotation here or there. Also, Kotlin's features are designed whilst paying careful attention to what the Java guys are doing. Look at how records have played out. You can use JVM records from Kotlin transparently, you can create them by just adding an annotation (not that there's much point in doing so, as records are mostly a labour saving device that Kotlin already had).

Value types are perhaps a better example. Kotlin has them already with nearly identical semantics to Valhalla, but without the ability for them to have more than one field due to the need for erasure. Once Valhalla arrives, Kotlin can simply remove that restriction when targeting the JVM, perhaps add another annotation or compiler flag to say "make this a real Java value type". No language changes needed beyond that.

Kotlin is semantically so close to Java already that they aren't really growing apart, they're growing together. It works well enough to justify its usage, for me.

comment 5y ago · link · parent

I don't see how this is wallpapering over a hole in the design. Far from it. Java has supported async IO since Java 1.4 using APIs like java.nio.channels.AsynchronousChannel. That's a more or less conventional wrapper around epoll.

What's being introduced now is a way to use that API without needing to touch the whole concept of async code. From the developer's perspective blocking calls and threads is pretty nice. It's async that's awkward and hard to use. Making the existing threads facility scale much better is a very clean approach: virtual threads introduces "virtually" no new concepts at all, in fact, if you aren't working with native code via JNI or Panama then you can act as if virtual and physical threads are the same. You literally just upgrade Java and maybe flip a couple of switches and you can now assign one thread per connection yet handle millions of connections (assuming you don't run out of other resources of course).

comment 5y ago · link · parent

Which Chromium based competitors have significant market share?

comment 5y ago · link · parent

It seems very unlikely that a government run warehouse network would have invested into Kiva Robotics like Amazon did. Their warehouse tech is a big part of their competitive advantage.

comment 5y ago · link · parent

I don't think most landlords have the option of convincing Masayashi Son to write an infeasibly large cheque on the grounds that that remind him of what he used to be like, and/or that they are making a "tech" company.

comment 5y ago · link · parent

Is Amazon the best example of this? Their retail arm was never long term loss making in the way e.g. Twitter was, if I recall correctly, but rather more like break even because all profits were ploughed into growth. I don't know how much money Amazon raised but back when Bezos started out there weren't the same kinds of insane sums being tossed about by VCs.

Also Amazon's moat isn't really its website, which is mediocre at best, but its backend systems like fulfillment. Plus brand recognition, size, general efficiency etc.

comment 5y ago · link · parent

Is that correct? That is true for certain very specific types of crime like money laundering, where bankers are expected to prove to themselves that the source of funds is legitimate. I don't believe such requirements apply to literally everyone, as such supply chain investigations can be arbitrarily expensive.

comment 5y ago · link · parent

Is there anywhere in that video or web page that has a date?

comment 5y ago · link · parent

The market cap chart in the article suggests otherwise; since this started hundreds of billions have been wiped off the value of his business empire and its still declining. The trigger was simply a speech where he didn't even criticize the government directly, just the financial infrastructure (which is itself very interesting - why is the CCP so sensitive to criticism of its banks?).

comment 5y ago · link · parent

Note that the vaccines can also cause strokes via blood clotting, disability and death. It is not a huge surprise because the mechanism of action for the mRNA vaccines is quite similar to that of the virus itself. The primary difference is in the controlled dosage, as the mRNA does not self-replicate (at least not yet - some researchers are working on "self amplifying mRNA vaccines").

comment 5y ago · link · parent

This culture is heavily promoted by management consultancies, who seem to think nothing of sending a 24 year old "consultant" into large corporations to tell them how to run their business.

comment 5y ago · link · parent

The best way to align supply with demand would be to eliminate the government intervention. It's government subsidies dished out in defiance of actual market demand that allows so people students to study underwater basket weaving simply because they find it interesting. If students had to rely on (normal) bank loans or corporate sponsorship that problem would dry up really fast.

comment 5y ago · link · parent

However, given the topic is "elite" production, at least some of those people would have got the high earning jobs anyway because university is used as little more than a finishing school by the parents before they parachuted their offspring into a cushy job somewhere inside the government or a large corporation via their contacts network. The actual degree is irrelevant to their earnings.
1
4243444546