skysight-inc/HackerNews huggingface dataset:
> a fiber that tries to block inside a native call, i.e., when there is a native frame on the fiber's stack, will be "pinned" and block the underlying kernel thread.

Doesn't this boil down to the native function blocking the thread?

How about the C API/ABI of JNI? Will there be additions there for better supporting concurrency (i.e. not simply blocking)? Or can that be handled today, with something akin to callbacks?
Does anyone have experiences with both ZGC and Shenandoah? It seems like they both have very similar goals (10 ms max pause) even though the implementation is quite different. So with both landing at about the same time, when would you prefer one or the other? Both seem like such a huge advance over G1 and so similar to each other that between them it doesn't look like it matters much.

Our team is going to be targeting ZGC for the main reason that it's included by default in JDK11. Yeah, builds of JDK11 with Shenandoah are available but it's more work.
That is how they know which results are good and which send people straight back to the results page. And, it's going away thanks to the new "ping" HTML attribute.
In which line of business does facebook have a monopoly?

In which line of business does google have a monopoly?
Show HN: The ultimate full stack starter project (React, Koa, Auth, File Upload)
The "every hiker climbed a hill" question is silly. The sentence is ambiguous between a surface scope reading and a reading with a specific indefinite. The first reading is compatible with every hiker climbing the same hill, and the second reading is true only if this is the case. So even if one of these readings is obviously more accessible than the other (which is not clear to me) there is still no obvious sense in which either picture is the "right" answer.
Shrimp Fail Drug Test for Cocaine, Ketamine, Xanax, and Valium – IFLScience
Europe > EU
> For distances in US, what we have is already superior. Unfortunately, TSA security theater adds major delays, as does antiquated FAA air traffic control procedures.

That's quite the contradiction.

Additionally, it seems you're failing to take into account that high-speed railways also enable suburban and even urban services, which are not possible with airways.
Well, here it is. This is the straw that broke the camel's back for me: I've finally been motivated to switch my browser default to Duck Duck Go.
Thanks a lot! I'm biased, but I hope so too :)
The anecdote in the article was about Beto O'Rourke, not Pete Buttigieg.
You could design a new internal combustion engine (and companies do) but that doesn’t mean the technology isn’t mature. You’re working within a well understood theoretical framework, and the low hanging fruit has been discovered so you’re at a point of diminishing returns.
Overall, I feel like "Surprising" is the word that best describes "Bash".
Wholesale rate is for businesses where they pay for the actual usage, and consumer-oriented providers, which you mentioned, oversell network capacity.
I use right_join never in SQL, but often in offline data analysis (e.g. in R). Modern R has an operator called the "pipe" (%>%) which allows left to right evaluation of functions, and so it's fairly common to write code that basically reads like, say, chained method invocations in JavaScript (i.e. object.method1().method2().method3()). The operator works so that the invoking object is automatically passed as the first argument of the function, so func(x, y) is the same as x %>% func(y). You might see where this is going.

Think of left join as a join from x to y, and a right join as a join from y to x, where x is the data we keep all of and y is the data we keep only when there's a match.

Then, in R, I often use right joins when my "y" data requires preprocessing, resulting in lines of code that are like: (y %>% preprocess1() %>% preprocess2() %>% right_join(x)). I could of course write this as "y_preprocessed = y %>% preprocess1() %>% ...; x %>% left_join(y_preprocessed)" but I think the former is actually a little syntactically clearer.
Thank you for driving innovation in equity markets! We need more focus on long-term capital allocation, and less on the casino aspect of stock prices.

Have you considered incorporating some form of low-frequency trading? With an auction for shares held once a day, once a month, or even once a year?

(I have heard Warren Buffett say that, if it were possible, he would prefer if investors could buy or sell Berkshire Hathaway shares only once annually at a price close to intrinsic value. The low frequency would encourage investors to focus on understanding businesses instead of short-term price movements.)
A couple of problems with this idea - one, the people emigrating and their parents paid for that tuition through taxes. Second, what about all the people who finish college and stay in Romania, but work in some dead end job that doesn't even need higher education?

And lastly, this would mean keeping the people most dissatisfied with the current state of the country in the country. No corrupt government would want that. Much better for them to leave and not cause any trouble.
So I did the math quick, but say you had 256GB of ram, and the key was in there somewhere (pretending it’s nicely lined up in some known endian and format), assuming you can visually cut 50% of RAM out by excluding areas the key definitely isn’t in (we know they key doesn’t have 4 repeating chars or is even 1/4 all zero), if you just cycle through each keysize, you need to be in the 10,000 guesses per second to spend less than a year on it.

I have no idea the keysize or speed that is practical. But it’s hardly impossible to just dictionary attack using your old RAM as the “list”.
Interesting paper. I didn't fully read it yet, but according to the figures :

- Samsung looks worst than any other vendors (incl. Huawei) about permissions granted to pre-installed apps

- Apps probably set many hidden cookies and identifiers in logs, possibly share information with other apps and bypassing permissions ?

Quick note :

- figure 1 is not much readable

- figure 3 looks broken or misaligned
Glad to see that HN'ers are seeing this for what it is: another Google idea that's sold as "benefitting users" when the only real beneficiary is Google's ad revenue and control over eyeballs.

I'll echo the many here who report that, for everyday use, DDG is far preferable. I've only needed Google for arcane programming links or occasional news stories.
Bernie Sanders interest-rate cap could end credit-card rewards programs
The love story that made digital headlines (just onced)
Airport overhead varies too. CDG is particularly painful to travel to and traverse based on my experience. SAN is basically downtown.
Individual personal responsibility is a problem, lack thereof. Facebook isn't the problem - the individual is - as a collective. They feed the beast.
Why CRDT didn't work out as well for collaborative editing xi-editor
Questions,

Native Image is basically SubstrateVM ?

Is Sulong part of GraalVM? I never seen it mentioned in those release notes. I am just wondering if running the C extension task is even possible in real world.

Timeline on Project Loom?

And I know this is annoying, TuffleRuby, when can it run rails?
This doesn't make much sense seeing as the gasoline tax burden of an electric car should be getting picked up by the power company.

Though, seeing as gas taxes are frequently used as proxies for road usage, I can see the concern. One can't get a thumb on road usage based on KWh from the power company or the gas used to generate that additional power since bigger turbines are quite a bit more efficient than car engine's at capturing the energy from burning a unit of fuel.

Also, full EV's (at least sedans) tend to be heavier than their ICE counterparts. This may not seem to have much impact, but the damage done by a vehicle rolling down a road goes up with 4th power of the weight transferred to the surface per axle. Small increases in weight have increasingly large repercussions for road maintenance over time.

I actually don't see a Machiavellian motive here. Somebody just realized that the old proxy for road usage tax to raise money for road upkeep wouldn't work for full electric vehicles.

Now whether or not they did a good job at articulating why they were doing it, I leave as an exercise to the student. However, I think I could live with this.

I kinda wish the formulas and math involved for stuff like policymaking for upkeep of public infrastructure was a bit more accessible. I feel like if people had a function to look at that didn't necessarily require a bunch of esoteric engineering knowledge to make sense of, tax policymaking could be treated more as the collective action mechanism it should be rather than the bogeyman everyone makes it out to be.

Not that that'll ever happen.
Well, yes. Devs in that environment would not go near it (at least not for anything beyond a POC). In those environments, you have to go through a review board process in order to use some new open source JSON-parser library from Maven Central. Devs aren't just cowboy'ing a new compiler into their workflow.

"Production use requires a license" is a NOT an indicator that it's ready for production use (there are a number of warnings against this). The fact that you need a license, yet can't get one, is a clear signal that it isn't ready for production use. The people in Oracle's target audience see this sort of thing a lot with preview software, and aren't confused by it.
Yes Google Fi seems great, I just wish they wouold offer it to non US residents.
The problem is that FPGAs just can't drive memory bandwidth. (And FPGA configuration times are obnoxiously long).
Azure Datacenter Architecture
Composer/packagist has done many things right: namespaced packages, and downloads straight from VCS to name a few.

I wouldn't consider the Github personal token to be an issue either. It's a one-time setup per device, and my server (which only pulls code) never needed one, because it uses the lock files to download the exact commit/tag, and this significantly reduces the number of API calls made.
The Trouble with On-Demand
And what is the absence of rule of law and (in some cases) human rights abuses coupled with full-throttle sovereignty?

Because that's exactly what you get with much of EE and the Balkans. Lots of talk of sovereignty and lots of examples on how that sovereignty is being squandered and misused. I honestly think that a lot of those countries (my own included) would be better off without that sovereignty.
Bash seems like a language written by people who never intend to do the same thing twice.
Startpage is just anonymized Google search right? Or did I miss a change to their service?
Fine, I only want 0 then. Argument won. I'd rather have 0 kids and fix humanity and global warming than have a kid. The fact that you'd rather nitpick my argument and call it hypocritical in the face of extinction...

It's like...God is on a mountain with his arms raised in a Y saying "I have the secret to you're humanity:" and you say "ACTUALLY IT'S YOUR".

I don't even.
Mark Zuckerberg is an adult responsible for his own decisions in life, including those which enable Facebook to violate our privacy or other bad behavior, as its leader. "If it wasn’t Zuckerberg running the largest network, it would be someone else, and that person might well be worse." - yes but it IS Zuckerberg doing it and he IS responsible for his actions. Externalizing responsibility unto "capitalism" is what has enabled his wrong-doing for this long in the first place!
My only issue with DDG (which doesn’t stop me using it) is if you turn off safe search (eg to prevent false positive blocks for something you want to find) holy shit does a lot of porn show up - for completely non-sexual terms.

I’m a big boy, I’m not offended by most of it (the frequency of bizarre Simpson’s porn is a little weird) but it’s somewhat weird the way it appears.

I searched for “power Mac case door”, all fine (with safe search off), as you’d expect. Change “type” to gif, expecting to see images of the hinged door on the g3/g4 series... oh wow that’s a lot of porn. And lots of other weird unrelated stuff.
I dislike psychiatry grossly because the victims of the field are not compensated by how the errors destroy the victim's life.

I'm a person who was medicated with the older & new generation of antipsychotics for two years of my early 20s because I was suffering religious conversion therapy "best I can describe it" from family and where I was in circumstances any other person would have great amounts of stress. The outcome of unfortunate events made me with a doctor who disliked me for desiring to be a woman (I was born a male) and attempted to convince me it's delusions & hallucinations; when I attempted to communicate I never suffered from either. The medication would result in me doubting myself but I eventually broke away from it all. It was impossible to find anyone to help sue for the tremendous pain (I still suffer to this day from it all) and it's been many years since it all happened.

Anyway I deeply believe there should be a special hell for people who go into this field but I doubt anyone had any will in the outcome for me being any different because I've read philosophy on determinism since then. I think the field has done more damage than good and is a net negative with getting away with it all because of government allowing it. People prefer to believe something is good and when it really isn't.
You could sell something like 3g internet connected Kindles and without the overhead of some arrangement with a local carriers which Amazon had to set up with their WAN option (which also works globally).
Oh what M Night Shymalan could have done with this.
Slow security is not inherent to air travel; it's something that was tacked on by politicians. It could easily be added to trains. (Or removed from planes, though I'm not holding my breath.)

Distance to the airport vs. train station depends on where you live. I'm actually closer to an airport than a train station, though I believe that for most people in cities it's the other way around.

You also need to throw cars in there. In the US, I fear the choice is usually car vs. plane not train vs. plane, as passenger rail just doesn't go enough places. Making trains faster would be great for places that already have trains (say, DC to Boston, which is currently doable by train but a bit slow), but wouldn't help with all the places not currently served. Now, if we were to actually ban or hugely tax planes for environmental reasons, that might spur the creation of more passenger rail. I don't see that happening in the US until South Florida goes underwater though.
More importantly it could end credit card access to subprime members. There already aren’t a lot of cards to build (or rebuild) your credit.

It is possible that issuers would respond by replacing with secured cards but consumers hate those and introduces a lot more friction into process.
Social media.
Search.
Slightly off-topic, but without "reading mode" that site is unreadable.
Yes I didn't account for the quality of experience. The TGV is delightful to ride: quiet and smooth. I'd prefer almost any train to air just for the ability to move around. I still have flashbacks to a flight where I was crammed in the corner behind a huge guy.
Unlike the others, I'm going to disagree with what you've said. If you have a mono-repo set up you can develop like it's a monolith but with the added benefit that you don't have deploy the whole macro-service at once.

I think people are just spinning up a bunch of unorganized services and calling them micro and then complaining about it.

If you're on a small team that can build a clean monolith, the work to make them microservices is imo pretty trivial.
They said they expected the package registry to be included in all paid plans. So it's only going to cost you anything if they decide to raise prices for everything across the board, it seems.
Well, if you're exposed to higher concentrations of oxygen, you can have exciting amounts of stress getting used to the lower amounts again after, so the converse effect wouldn't be incredibly surprising.
Seriously, I just don't get these hateful comments on Hacker News regarding AMP. It helps websites load fast on mobile, and users really appreciate when websites load fast.
It is not realistic to demand there be possibility of name clashes in the use of a library that uses non-hygienic macros with short names to simulate the syntax of another language.

> To software written in C, the syntax or naming choices of other languages are really quite irrelevant.

However, at least one person out there thinks that the syntax and naming choices of Go are relevant to software written in C, so they wrote this thing called "libmill".

Oh wait ... what were we talking about?
More AMP bullshit.

But, as a pretty staunch anti-Google company, why does DDG send me to AMP links? Give me the ducking (autocorrect pun!) canonical URL!
> Assuming 3 hours and 250mph (500 - 250) the cutover is 750 miles

FWIW, in Japan for domestic flights, air travel is quite streamlined compared to the US or Europe (since they have to compete with bullet trains!)

No ID check, no check-in (use QR code on phone). Some airports have automatic baggage check machines.

Boarding doesn't start until 15 minutes before departure (tickets are sold from vending machines until 20 min before departure)

Security is light (liquids are allowed, they have a sniffer device)

Airports can be located centrally (e.g. Fukuoka airport is a 10 minute subway ride from the center, in Tokyo it's more like 30 min)

Living here in Japan, my cutover to fly is around 600 km. Part of that is due to geography (trains have to take a detour due to an ocean), but the #1 reason is that flying is cheaper.
Kameralı Chat
This can be a game changer.
What about GitHub makes people more likely to use Windows? Or less likely to use Linux?
None of it is going away, the problem is it doesn't get the attention it deserves. All the while Microsoft is busy introducing UWP or whatever comes next they are ignoring everything that came behind it.

On the subject of cross platform I wouldn't go for qt or anything like it unless I really needed it. All those frameworks are too compromised if you are targeting a single platform. Possibly even if you aren't.
Institutional Memory and Reverse Smuggling
Nowadays, people just skip the manual and go to stack overflow. The best way to learn something is still RTFM.
I get $10/GB on Google Fi and can have 9 data only sim cards on my plan for $20/month.
Show HN: Use Docker and Bash to avoid polluting your main OS
> Slow security is not inherent to air travel; it's something that was tacked on by politicians.

Air travel requires security because it's uniquely vulnerable to bombs and hijack. That is why high speed trains require little or no security checks.
The only time I've been interested in what Nick Clegg had to say recently has been when the writers of HIGNFY were writing what was on the autocue.
Maybe someone needs to tell @cramforce where to cram it, with force.

Or, “fuck you very much” if you aren’t much on name based commentary.
It's amusing that they went through all the pain of making a global SIM to make it available only for the US residents.
But is that due to NPCI or Google? I had read a while ago that Google was using Google Play Services as a way to enforce that certain things on the platform get done the way Google wants it to be (speaking loosely, do not have the link to what I read), although Android itself is open source (technically).
> And what is the absence of rule of law and (in some cases) human rights abuses coupled with full-throttle sovereignty?

A national tyranny, which I'd argue is still better than an imperial tyranny.

> Because that's exactly what you get with much of EE and the Balkans. Lots of talk of sovereignty and lots of examples on how that sovereignty is being squandered and misused. I honestly think that a lot of those countries (my own included) would be better off without that sovereignty.

I'd argue first that that's not your call to make; but failing that, we don't know what the enlightened sovereign Eastern Europe looks like, because the people you probably like the most (educated, middle and upper class) are busy leaving, and it seems to me that the people are fighting politics on two fronts (as far as I gather, the local politicians who use their weak constitutions and electoral systems to win elections with minor vote buys to crooks and desperate elderly people in the countryside; and Eurocrats who do effectively the same thing but with better haircuts).
So has Amazon Marketplace Web Services and it is by a huge margin the worst API I've seen my share of bad ones over the years.
Not the same thing
None of those companies went public with a noble goal of making the public rich. They went where the easiest money was.

Why would this signal an I.P.O. drought? If anything it’s the opposite, easy money is no longer available in private markets so we might now return to normalcy.
I always wondered if the difference relied in some inherent neural difference that came with age, or how we approached learning languages.

I picked up 3, and then added a 4th language by accident (parents needed a secret language for adult conversations. To their horror, one day I started speaking to them in that language...), but I learned none of them. Hard not to pick up a language when you are immersed by it, and you don't see kids running around with language books, but rather getting actively taught and spoken to in a specific language.

But immersion can be harder as an adult too. People might not be as patient with you, and especially if you know English, people will just switch to it on the first hint of a struggle, making immersion hard to attain.

But this article doesn't clarify that.
This is a good reminder for me to switch my default search engine to DDG again.

I try it every few months for a week or so and then switch back to Big G when I find DDG isn't right for the types of searches I need.

I look forward to the day when I forget to switch back to Google.
Ask HN: Which are the best MOOCs for learning mathematics?
This title is a prime example of what he denigrates in his essay. He should change it to:
"I am 75% sure Strong Opinions Loosely Held Might Be the Worst Idea in Tech"
I don't think what you're doing is the end of the world, but answer this is extremely patronizing.

You've basically said you know some users block your stuff, but you think they probably shouldn't really want to block your stuff, so you devise an end run around them.

Then, finally, you conclude that if they really want to block your stuff, they should do something that you yourself admit won't block your stuff, but that's okay because they shouldn't want to block your stuff.
Do you find false positives after turning the filter off?
Billionaire Warren Buffett has a ‘simple’ test for making tough decisions
I've carried all the burden of anything resembling proof in this entire thread, in the face of baseless claims that the world will fall apart if you have a #define select macro in a header file that simulates Go syntax!

I've exhaustively explored pretty much the entire space of this. You can whip out and environment with a compiler and try those things I wrote about.

There is literally nothing more to add.
> power consumption by more than 50%.

If generation gets cleaner and cheaper that's less relevant. We only know one way to power aircraft and CO2 is intrinsic to it.
Many years ago I discovered CDPATH, and months later, I determined, never again will I walk into that valley of madness. It breaks so many things.