skysight-inc/HackerNews huggingface dataset:
The implementation uses invokedynamic (which has been available for ages) and dispatches to java.lang.runtime.SwitchBootstraps#typeSwitch(…):

https://docs.oracle.com/en/java/javase/20/docs/api/java.base......)

The concrete implementation in doTypeSwitch currently says “Dumbest possible strategy”:

https://github.com/openjdk/jdk/blob/master/src/java.base/sha...

There is no @IntrinsicCandidate, so I don't expect Hotspot to special-case any of this yet. The machinery described so far merely computes an array index, and there is a subsequent lookupswitch opcode that selects the appropriate case body to run.

I'd be somewhat surprised if Hotspot could unroll the checking loop and eliminate the subsequent switch. So the Java implementation looks rather bad from a performance point of view (but it's obviously designed for compact bytecode and future optimization). Scala could certainly do the same (the magic of invokedynamic is that it's not magic), and probably much better in many cases, even on current Hotspot.
That's an interesting idea. That we could access the space where these voices roam. (Via sensory deprivation or whatever)

It's funny, thought (this mass of internal voices) is popularly considered to be the firm logical bedrock of reality. Realer than sights and sounds even.

But what if it's something more physical and arbitrary? Blobs of oil drifting in a puddle. Brownian motion.
What sort of control sequences are people using for the PM2.5 sensor? Something like ‘if particulate matter is above SETPOINT; then enable exhaust fan and open filtered fresh air intake damper; else if particulate matter is below SETPOINT and exhaust fan on and damper open, disable fan and close damper’?

Or is this just for logging indoor PM2.5 values?
Kotlin is a 'better Java' because of the ability to mix functional and imperative code. Java will never do that. I don't know what you mean about 'IDE support'. Neither of them are going anywhere.
Anyone interested in this material might also enjoy the book Ishmael by Daniel Quinn.
I'm seeing salaries of $17M/year ..
Well, there is a bias there. If you would ask the parents of the migrant kids you would get a statement that they lost 80% of their culture. A mixture is to be expected and is a necessity for human and society evolvement.
> Yeah, that isn't really happening. The era of the US exporting food preferences was short lived, mostly at the 90's.

I've traveled a bit since the 90s ended and I can say your statement is simply false. The proliferation of mcdonald's, burger king, starbucks, dunkin donuts has grown exponentially since the 90s. These companies' financial statements backs this up.

> And well, stores are dying, so that's off too.

Local stores are dying and being replaced by multinationals.

> clothes haven't actually homogenized any more in centuries (I'm not sure if there's room for it)

Here is just an image of an ASEAN meeting ( south east asian leaders meeting ).

https://media.philstar.com/images/articles/duts-asean-leader...

Looks very "globally" homogenized to me. Not local, nor diverse.

> Overall, 20th and 21th century globalization has been a huge force for enabling local diversity at the expense of global one

Just like the growth of amazon led to the diversity of local bookstores? A pillar of globalization is scale/size and its derivative efficiency. Globalization, by definition, cannot lead to local diversity. It destroys local diversity in the name of scale, size and efficiency.
i wouldn't mind your perspective.

I do thought about a lot and its definitly exhausting to be free but i have been a nihilist since 16. Thought through tons of ideas and concepts (what if the universe is repeating itself, no free will, after life, before life, 'the egg' story, lsd, mdma, ...)

I'm now quite happy and content and still curious with my life. Havent' felt better than this and going the next step: getting a farm and transforming my environment how i want it to be.
This "with zero probability" statement hides that there's a probability distribution assumed. It's really saying that any matrix can be perturbed to be diagonalizable. Which is true. But matrices in that set have a way of showing up a lot in models that the human mind conceives. For example, if you model a point mass accelerating without drag, you will end up with a matrix that isn't diagonalizable. If all matrices were diagonalizable, every linear ODE would be solved by a bunch of exponentials and sinusoids; there'd be no polynomials. But we see things like "1/2 a t^2" all the time.
Is it too much to ask for null safety in the type system?
My personal gripe with lemmy is the lack of decent mobile clients.
Overview of C++ language support in Apple Clang
Tell HN: Lemonade insurance billing dark pattern
Lemonade is a "SaaS-era Renter's Insurance company" with a flashy app, etc.

Just discovered two things:

1.) On page 48 of the fine print PDF they ship out, they mention that monthly payments cost an extra 16% over the basic policy.

2.) The only way to change to annual is a button buried in the chat scripts provided by the virtual assistant.

3.) After the "change to annual" task automatically fails, there is no fall-through to support. It just fails.

Welcome to the brave new world of AI-enabled customer support.

No I didn't carefully investigate the 48 page rider on this, I was too busy with the 300 page rider that came along with my lease agreement that was mostly badly copyedited boilerplate.
Reddit Strike Has Started
I read rchaud as saying “people that give up on blogging not long after starting because they’re not getting readers, whereas if they had posted on Medium/Substack they would get readers and would continue”, but I think that doesn’t reflect reality or the reasons people stop.
Show HN: TL-WHO
Someone™ should make a Python-to-Python compiler which converted all normal constructs into weirdness like this.
Will do. Guidelines/rules it is.
It came to light because some financial records were sent to the CIA's Retired Records Center for some reason and escaped destruction. See page 5 of [1].

[1] https://www.intelligence.senate.gov/sites/default/files/hear...
I can fathom it: the larger the organization, the more important it is to the people with power to treat everything else as abstraction.

I'm told Seeing Like a State shares this insight.

I also hate it. But it's unfortunately "left as exercise for the reader" to come up with an alternative that concentrates power differently.
Does this [1] produce the similar results?

I would personally like to see some language scholars add obscure languages to Google Translate so they could be converted back and forth. Or perhaps make a browser addon like the former LeetKey addon [2] not available for the browser any more which can be useful to battle censorship.

[1] - https://funtranslations.com/babylonian

[2] - https://addons.thunderbird.net/en-us/firefox/addon/leet-key/
> Delivering software with debug symbols - wether commercial or non-profit - isn’t a mistake. It is a decision for better bug reports, traces and convenience.

Yes, it is a mistake. None of those things require symbols on the customer’s machine.
Just remember to add “without further ado” after your intro.
My objection to conspiracy theories is the saliency bias. Conspiracy theorists ignore entirely plausible if not outright proven conspiracies because that makes them boring. And at the same time, they continue to pursue conspiracies that have mountains of opposing evidence because they're interesting, or because it makes a group of people they hate look bad.

Like, let's take the moon landings as an example. Those are some of the most well-documented events to question, so there's lots of evidence for them that's kind of difficult to fake[0]. Hell, if they did film actors in a studio, how did they keep the Soviets from immediately noticing and embarrassing America over it? Faking the moon landings would be a pure ideological win for Soviet Communism.

I think the most instructive example is Jeffrey Epstein. There is more conspiracy theorist interest in whether or not his prison suicide was a murder than the actual child sex ring he was running! The moment a conspiracy theory is proven, conspiracy theorists move on to something more farfetched, as if explanation destroys their power. So now that "a good chunk of US and UK politicians were organized pedos" isn't salient enough, now we have to invent rogue endocrinologists overprescribing HRT in the name of Satanists getting high off adrenochrome in the nonexistent basement of a third-rate DC pizza parlor.

There is literally nothing scientific about this. Conspiracy theorists will never uncover a single actual conspiracy. The thing about conspiracies is that they tend to be frustratingly mundane: like, "Intuit pays off Senators to make tax filing difficult" levels of boring. If you want to keep that from getting out, what you can do is invent a more salient theory and deliberately leak that instead. How many actual conspiracies are being covered up by conspiracy theorists only chasing after the interesting ones?

[0] Take the Apollo Guidance Computer, a luggage-sized electronic computer that actually did most of the mission calculations for spaceflight. There's about fifty of them, and they are fully working computers that collectors have even managed to restore to fully working order. Why waste the billions it took to develop such a thing if you're just going to film a few actors in a studio?
How to Add Social Media Icons to Notion Page?
A. G. Sulzberger on the Battles Within and Against the New York Times
I don't know about Dubai, but in most places with its own history, US 'mainstream' culture have trouble reaching (US have plenty of different culture too, even if they reach a bit sometime (misouri/KC barbecue)).
Especially food.
Maybe "most companies" was the wrong choice of wording. How about "most large companies that actually influence the world?"

>Most people in business, like most people generally, are ethical human beings. Good to deal with, trust worthy and reliable.

It doesn't matter if the people you've anecdotally dealt with are ethical. It doesn't even matter if most of the people "in business" are ethical. The incentive structure to make the right choice for large public companies, or even venture-backed private ones just isn't there.

I wish I was incorrect, but I'm not. If I was, we wouldn't still have companies producing fossil fuels, animal agriculture, or surveillance capitalism.
Every school class in Germany has now at least 1-2 kids with migration background. Syrian, Ukraine, etc. So overall every class is affected (because the teacher needs to allocate more focus on them). Is that bad? Maybe, but what do you expect if you have migration and no increase in teacher capacity. The way to solve it is get more teacher capacity.
> The only real backlash in recent history that's been effective has been the Bud Lite fiasco.

That is limited to the US, in Europe even Duff is more known.
You're definitely not wrong. Most civil aviation authorities I'm aware of have some profound issues with their policies around pilots and mental health issues. Fixing that is more likely to prevent the issue in the first place. That's closer to the root cause and something that shouldn't be ignored.

But parallel to that (and unfortunately-but-most-likely in lieu of): we simply shouldn't be losing large aircraft and having no idea what happened.
I guess you guys could find this also interesting:
https://infosec.exchange/@rdpsnitch
If your whole argument against transit requires us to ignore the three biggest transit systems is order for your argument to work…. You don’t have a good argument champ.
Kotlin is made by Jetbrains which make IntelliJ - so IDE support is a plus-point for Kotlin. That is what I meant.

I think Java has become way more functional over time. It is not and probably never will properly support a pure functional style (e.g. like Scala) but I don't see it much behind compared to Kotlin. Mind to give some examples where Java is behind Kotlin in this context?
> And this is right and good.

I disagree (without down-voting). This is basically 1-man echo chamber, you take what you like (it doesn't matter how many eloquent words you use to describe this, result is same), reject what would challenge your beliefs and would make them weaker. That's the opposite of critical thinking so needed in real world, and prime source why the current world, particularly west, is so torn to pieces about shit like russia, trump, guns, migrants and so on.

Stuff in life is complex, always, almost at fractal level. You keep learning, if you actually want, about new viewpoints that will challenge your current ones, every effin' day. Maybe at the end conclusion is don't trust anybody, people are generally a-holes etc. That's still fine as long as it represents truth.
Take a die with six to twenty sides and assign a belief system/worldview to each number.
Roll the dice twice, first for the belief system/worldview, the other for the number of months you live by it.
Of course, you can vary the parameter according to your taste and courage.
But it is important to persevere, so you better start small.
I call it Rhinehartian chaotic paradigm shift.
Dice Man goes chaos magic.
Some of the channels are also super high production values. B1M comes to mind.
Which has occurred - perhaps if we actually want to try to control for “insane pilots” there has to be some way for someone on or off the plane to force it into autopilot with cat 5 autoland at the nearest airstrip.
>Don't overthink this. It doesn't matter which instance you use.

Nah. Disagree and I don't even know why is this highlighted. It really does matter what you choose. Same with Mastodon.

Each instance has an admin who can do whatever they want (eg delete the instance and permaban you) and on top of that each topic has a mod too. Plus your instance can be de-federated by others (what if your instance end up being a far right honeypot?)

The usual reply is that "but but then you can just move to another instance" but this is basically where the federated system fails for average people.

Just like with Mastodon the only way to use a federated system is self hosting a single user instance for your own profile.
The real interesting part about Clippy is not the cartoony art, but the fact that it actually would have been helpful if the project managers of office would not have gutted it: http://erichorvitz.com/lum.htm
I hate the fact that if I choose Numba, then I can’t easily compose with other tools like autodiff, etc. Maybe Jax improves the situation in some aspects.

Generally though… While Python might have many distinct popular/well-developed tools, they tend to compose very badly. IME, it feels relatively painful if you’re trying to do something new which hasn’t been solved and wrapped for you.

As for Julia footguns, it has been relatively trivial IME to get substantial improvements compared to Python. Whether that is the best one can do, I dunno.
One point of clarification: one bit on a classic PMR drive contains hundreds of magnetic grains. It is the grains that flip, not the bit. It would take many grain flips to affect the bit. Errors of this sort do not manifest as flipped bits per se—they manifest as a degraded signal, which the drive may or may not be able to translate to the correct bit sequence correctly. Also, the nature of ECC is (usually) that you get the correct sequence or an error. It would be unusual to get an incorrect sequence unless that is happening somewhere off-drive.

If you have a stored drive that is reporting errors, my starting assumption would be that something else is causing problems besides the platter—maybe the heads have gotten a bit of corrosion from humidity.

Still disagree?
I thought the start is tomorrow?
Johny Srouji was mysteriously absent from the Vision Pro launch
> but let’s hope no one ever catches up to what China did in Wuhan.

You have to look into the history of these programs, further, to gain some perspective.
The earth does not concern itself with per capita.
Actually, most people shouldn't do that in most cases, because they aren't qualified to understand the evidence presented to them. Nor are the hypotheses they're testing their own. Valuable hypotheses arise from evidence - not vice versa. This is why juries in complex cases need so much time to be walked through subject matter by expert witnesses, and why standards of evidence are applied to what they are and aren't allowed to hear, and why the conclusions they may or may not draw are circumscribed to the cases being made by lawyers as allowed by judges. When people search the internet for evidence to support their most uncomfortable hypotheses, they'll always find it. That's how we get masses of people who believe in conspiracy theories and satanic panics, with the certainty of those who incorrectly believe they've done their own "research".

Taking up the most uncomfortable (i.e. "forbidden") hypothesis and giving it the weight required to attempt to prove it to yourself is not a systematic way of finding truth; it's a way of deceiving yourself into believing in the simplistic frameworks of other people's paranoid conspiracy theories.
Today I configured setup for my website (which is empty, I'm more interested with configuring things than writing actual stuff). All I did: set up github pages (few clicks in repository settings) and set up cloudflare DNS with "proxied" setting (which is default one). So now my empty website vbezhenar.com is protected by mighty cloudflare and it took very low effort and zero dollars to do so. You might want to check it out.
Its better because it gets rid of crap layout
When you have a concentration of power and influence, it will be applied. Another comment here refers to "speaking the same language". Latin was spread by the Romans, Spanish by the Spanish, English by the English, but the concentration of power and influence in the USA really powered the spread of a particular kind of English.

People shop at the same Walmarts because Walmart drove the other retailers out. People shop at Amazon for whatever. Coca-Cola has influenced our view of Christmas with its imagery, and post-WWII influenced the perception of America and its culture overseas.
Unironically brings a tear to my eye.
Click on the special coverage section -> three dot menu -> block channel.

Or better yet, just don’t use their feed.
How are you different from something like Signoz ?
Correct. OP jumped the gun on this post.
Thanks, that actually looks appropriately elementary.
But the point is it wouldn't be as easy for an untrained person to kill as many people at once as it is now, and cops wouldn't be as terrified to go up against the killer as they are now when they know an AR is in play.
One very effective procrastination avoidance technique I recently came across was giving yourself a simple choice: do the next thing on your list or do absolutely nothing until you feel good enough to do that task.
Seems to work wonders.
I understand how it could be seen as whataboutism, but think it's extremely relevant in a discussion about American imperialism.

If nothing else, it's certainly interesting and unique.

America is the first (and maybe only, ever?) major imperial power that allows such open discussion of its atrocities.

I say this not from the standpoint of defending or attacking America. I just find it fascinating.
Maybe with the rising global water levels, living "in, around, under or on top of water" will become a more attainable possibility for a whole new range of people /s
Yeah, we are all susceptible to this. The tweaks were not worth the time because they didn't move the needle on the core offering. At the end of the day, this succeeds or fails based on how good the logos are. In my few minutes of trying this out, the generated logos were random, seemingly unrelated to the names, and just generally very unoriginal and low quality. I don't want to sound discouraging because this is a cool project, but just to say that spending time perfecting pixels and whatever else that doesn't have to do with the underlying functionality is probably not time well spent at this point.
> To be a little more precise, the OSI does not own the "open source" term. But most of the industry accepts that, if a license isn't OSI-approved, it isn't an open source license.

I agree, but this is only putting it mildly. To make an analogy, does the United States get to decide what the borders of the United States are? No; there is (AFAIK) no international law which has delegated that right to the US Government. But most of the international community accepts that, if the US says that someplace is a part of the US, it is. In the same way, OSI and its Open Source Definition decides what is and is not Open Source.
It's actually lower res than retina, given that you hold the retina-branded devices much much further away from your eyeballs.

It's a 1.0, and it's state of the art. We won't have retina-level AR/VR for a few more years yet, and a few more years after that for it to become affordable in consumer devices.
Do you mean top 5-10%? Top 95% means 5% of people are less clean that you :)
All of the same arguments can be made for SMTP, and hosting your own server there.
Covert Action is also one of my all time favorites (I bought an external numpad for my laptop to be able to play it decently). I can fully understand why people wouldn't like switching modes for so long so often, but that was part of the charm for me. You got to play detective, cryptographer, James Bond, and maybe could catch everyone in time. Shadows of Doubt scratches a bit of the itch for me, but ai really want a remaster of Covert Action.
Oops. This is what I get for attempting to reduce my caffeine tolerance.
Nope not at all, here you go:

https://openjdk.org/jeps/401

It's part of Valhalla, as a pre-requirement for heap-flattening.

Ctrl+F for "Null-restricted type". The strawman proposal syntax is "Foo!".

When inlined, a null-restricted class type should have a heap storage footprint and execution time (when fully optimized) comparable to the primitive types. For example, a Point!, given the class declaration above, can be expected to directly occupy 128 bits in fields and array components, and to avoid any allocation in stack computations. A field access simply references the first or second 64 bits. There are no additional pointers.

For a summary of current status and what it means for you as a developer, I recommend the linked email here and the author's comments in the thread:

https://www.reddit.com/r/java/comments/13xtog3/valhallas_lat...
I wonder if there'll ever be a webpage submission on HN where 50% of the comments aren't just complaining about the presentation or the way it's been implemented.
It’s fine. If your biggest gripe with something made by a corporation is its name then you will always be unhappy.
After 8.0 then started to release very quickly. I'd say, we're now with Java 10u30 by old standards (or 1.10u30 by even older standards)
China’s central and eastern European trade ambitions reaching end of the line?
I wasn't even a programmer back in 2001, but flipping through this book shows how certain concepts endure, even as technology evolves. It's a bit like the snake eating its tail - even as we move on, we find ourselves revisiting tried approaches.
Or TCL.

How I wish it was TCL.
Not at all surprising. A general rule you should follow when running game servers, and not just for Minecraft:

If you're going to run a server with mods don't run it on a system or a network you care about.
Compared to what?

I mean.. what good beaches can you get to from NYC, even by car, in 75-100min?

That's like how long it takes me to drive to Jones Beach, from Brooklyn, on a good day.