skysight-inc/HackerNews huggingface dataset:
Lockfree means one thread is always making progress. If two threads contend over an atomic operation, one succeeds and one fails.

If you spend some time using atomics they might not seem so scary anymore.
> Weak argument. Iraq War created massive discontent, debates were on the news every night for years.

All states, regardless of professed ideology, are only concerned with matters that affect their stability. Nobody in US power elite gave an F about people stretching for miles in DC and NYC. And many in the country were not even aware of the scale of the protests.

Look at what any state suppresses without remorse and that is where their vulnerabilities are.

In countries like Russia, China, and Iran, where the notion of a "leader" is significant in maintaining state cohesion, public displays of division undermine the psychological barriers that any person (anywhere) creates internally, in a very similar fashion to taboos. Public rebuke of leadership breaks taboos that maintain the 'magic circle' of power. It is all psychological, with local variations based on history, culture, system timeline, etc.
Which is essentially nothing. Imagine an individual, caught committing an illegal act of this magnitude for the third time, being fined 1.45% of their annual pre-tax salary, with no other consequences.

Speeding tickets are costlier than this in many jurisdictions.
Also to say he lacks political power is objectively false. While he's no longer in office, for sure, he still wields tremendous political power.
Seasons 1-6 were in front of a live audience.
From the article:

> JPMorgan uses its custom blockchain and token, JPM Coin

> ...

> JPMorgan was also the first Wall Street bank to launch a presence in the metaverse in February.
the syntax implicit expensive free is the same issue than the syntax implicit expensive allocation. I clearly recall when I read early rust specs that I did not want that (and more).

Additionally, I wonder if they fixed the other C issues, namely removing integer promotion, implicit casts (but different explicit casts for compile-time and runtime), enum, _generic, typeof, 1 loop keyword is enough, no switch, goto is not harmful, have only sized primitive types, change extern/static... Hopefully, rust does not have object-orientation.

And you can bet, you will find a bunch of sickos not writting simple and core rust for linux... but rust with tons of extensions only in 1 or 2 compilers like the "C" from linux which is actually the C from gcc and nothing else (clang and icc playing catchup).

I should re-read the language syntax specs though. But I guess, I would drop that reading if I encounter a definitive nono again.
That's true for memory which has been unmapped from the process (as long as something else isn't mapped to the same virtual address range). But different implementations of C malloc()+calloc()+free() don't necessarily unmap memory when you call free(). Instead they mark it as something that may be returned from subsequent calls to malloc()/calloc(), i.e. the memory isn't returned to the OS.
You've obviously never heard of styropyro who builds insanely strong lasers with basically salvaged junk electronics.

https://www.youtube.com/watch?v=-BeTq99LqUo
Hmm so PLG is a space but do you know some implemenations?
Wonder if similar lawsuits are going to happen in Europe, hopefully it happens here too and the fine is a % of the revenue, fuck f$ceb$$k.
This assumes that writing a ticket causes people to explain their rationale better than a commit comment does. That might be the case, but it often isn't because tickets are filed by developers themselves, or by PMs who just write tickets like: "A system requirement is that users be able to do X" without further explanation.
The budget is publicly available:
https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELE...
Android's backwards compatibility, especially for apps that don't update, is quite solid. The cases where previously working behavior is broken without requiring the app to "opt-in" to the breakage is generally scoped solely to things that are considered abuse vectors. Which "draws over other apps" unfortunately is.

It's not as good as Windows' back compat, no. But then again nothing is, as that's the only platform concerned with preserving not just API compatibility but bug compatibility.
This is the first of a series of three blog posts, with quite an interesting conclusion in the final post[1]:

> On my 2012 desktop workstation with 3GHz Xeon W3550, the Java benchmark reports an average of 7.3 ns per getTransformed invocation. The Rust benchmark reports 128 ns in get_transformed, a whopping 17 times slower execution. [...]

This article was written five years ago and things may have changed for better or for worse. However, this is an obvious example of how using Rust can make your code slower: by making you implement all the nitty-gritty details yourself (i.e. multi-threaded locking mechanisms), getting everything right and up to speed is left up to you rather than to the standard library, like in Java, where dedicated people have been improving their solution to this problem for decades now.

Rust can be lightning fast compared to Java but it's worth considering using the "slower" alternative for certain workloads (in this case, many cross-thread operations) to get a performance benefit. All the talk about Rust's fearless multithreading does not necessarily make it a good language, merely a less correctness-bug-prone alternative to C++!

I've run the benchmarks on my machine with an up-to-date Rust install; to prevent library bugs, I've also upgraded Rusts's dependencies to the highest level they'll go. For the Java samples, I'm running Java 18 with the default GC (haven't set up 19 yet on my machine).

The results are kind of wild. On the Rust side, the consumers take 46-70ns/op on my machine while the producer takes 400-800ns/op. When I run the Java benchmark, the consumers take a mere 4.71-12.24ns/op (10-65x faster!) but the producer takes a whopping 15486-25810ns/op, 40-368x slower! I've run the benchmark on Java 8 and there the performance for consumers is even better (3.4-6.4ns/op) but the producers continue to be incredibly slow.

I'm not sure what's causing this massive difference in performance (the comments on the article suggest that the producing code is triggering GC, which might very well explain the difference) but it's an interesting result to note.

I'm sure Java experts and Rust experts will both have suggestions about optimizing this code further to make the samples go faster, of course. Rust's multithreaded workloads _can_ be a lot faster (the prime drag race proves that [2]) but I don't think that's the point of this benchmark.

[1] https://morestina.net/blog/784/exploring-lock-free-rust-3-cr...

[2] https://plummerssoftwarellc.github.io/PrimeView/report?id=19...
Their secret weapon is that their product is their valuation and the hype surrounding it.
The on-air duration of an NFL game is actually closest to 3 hours. It's 2 to 2.5 hours when shown without ads.

The NFL GamePass service that you can subscribe to (how I mostly watch the NFL from outside the US) offers 'Game in 40 minutes' (sometimes called Condensed). It just cuts from play-to-play-to-play. It's a great way to be able to watch a couple of other NFL games in a given week (fits nicely into a lunch break), but I do actually miss the proper commentary. Good commentary teams are very helpful in breaking down what happened in the blur of action that is each play.
What an absurd, condescending and pointless reply.

Example:

>> I would rather the American people elect a government that will protect their rights through laws.

>I would also like a world where problems don't exist, but that doesn't change the real world. It's a naive take. The world is complicated.

What in the hell kind of reply is this? How dare you. (On the day that the EU fined Google 4 billion Euros, largest in history, demonstrating laws and governments of people, no less). Your nonsensically dismissive reply is immature and entirely unfit for this community. Take this tripe back to reddit.

Shame on you for how you behaved here.
You also need a culture of supporting non-conformists.

A culture where children are socialized into believing that things must only be done in a certain way because that's how it's always been done and doing it differently not just makes you immoral but makes you a bad person will invariably reduce the number of kids who will grow up trying to "think differently" when solving problems.
You can argue the "best" point I guess but there are all the large state schools (which can give a very good education if you seek it out), Purdue, Notre Dame, University of Chicago... But probably more around the great lakes than further south.
The fastest travel speed we can really understand is about the speed of sound (jet travel), most westerners have travelled at that speed.

At jet speed it takes best part of a month just to get to the moon, to get to the sun takes 17 years. To reach Neptune you’d have to have left about the same time Columbus visited America.
Fedor Pikus has given a number of great talks on the subject at cppcon over the years

some links, in no particular order:

CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?

https://www.youtube.com/watch?v=ZQFzMfHIxng

CppCon 2016: Fedor Pikus “The speed of concurrency (is lock-free faster?)"

https://www.youtube.com/watch?v=9hJkWwHDDxs

CppCon 2015: Fedor Pikus PART 1 “Live Lock-Free or Deadlock (Practical Lock-free Programming)"

https://www.youtube.com/watch?v=lVBvHbJsg5Y

CppCon 2015: Fedor Pikus PART 2 “Live Lock-Free or Deadlock (Practical Lock-free Programming)”

https://www.youtube.com/watch?v=1obZeHnAwz4

CppCon 2017: Fedor Pikus “Read, Copy, Update, then what? RCU for non-kernel programmers”

https://www.youtube.com/watch?v=rxQ5K9lo034

Tony Van Eerd has also given some talks on lock free queues, I'll leave it as an exercise to the reader to search youtube :)
Most people don't need to know advanced physics. We just need to follow the science, right? We can trust them because they are authorities with special training!
The budget of the EU parliament? What do you mean? The budget of the parliament was about 740k€ in 2022.

Did you mean the budget of the EU itself? It's about what you said (180B€ in 2022). Of course, that doesn't account for individual member States' budgets. The EU's budget is dwarfed by the aggregate of all members' budgets, and it is lower than most of the big EU countries' budgets.
> What? Did GPT3 write the parent comment?

No. Why do you think that is?

> This is a multi-billion dollar fine, a $4.1B fine.

As it should be the standard and nothing less than that. Even so, this one is a 'generous' multi-billion dollar fine that won't scare them.

I am saying it needs to be much higher than that. GPT-3 cannot explain itself or its own comments, can it?
I like it. It uses uncomplicated language, doesn't try to frontload you with the complexity beneath, and shows clean and well-principled code (e.g. no `using namespace std;` - they say that all code snippets compile).

And I say this as someone who gets a kick out of template metaprogramming.

Yes, you will commit atrocities if you try to learn C++ from just this resource. It is very much a nice facade around the bottomless pit that is C++. But in terms of getting someone started on their first small C++ projects, this is extremely to-the-point, and infinitely better than requiring people to dig through "how do I read a file" StackOverflow answers or needlessly elaborate articles that show terrible code "for the sake of exposition".

It might go against the intent of the site, but some kind of notice like "C++ is big and has many sharp edges, so you should eventually look to curate your understanding beyond this site" would round it out.
The censorship happened. That's not debatable. The only question is why.
The stuff I quoted was listed as an abstract of sorts for the episode. I know NRK is very good at providing subtitles for their TV productions, but as you say they're abbreviated.

I'm guessing maybe audio books along with the actual books would be the best source for such? I mean there's Mozilla Voice, but it's quite limited in the Norwegian department and perhaps not quite as interesting as an audio book would be.
>we're not talking about shutting down trolls - we're talking about excluding political opponents, by actual elected politicians.

"shutting down trolls" is precisely the language used when shutting down wrongthink, though. Everyone is a "paid Russian troll" or a "paid shortseller troll".
As my first language, I've yet to experience another language that genuinely lets me be as creative as C++.

There are hundreds of ways to implement and optimize similar functionality that I feel like an artist writing in it. This, of course, comes with many downsides.
Modern CAD programs can't bypass the laws of physics.

The faster you go in an atmosphere the more the atmosphere resists. It gets less and less efficient the faster you go. That's just how it works.
They already do both of those things.
To a point; they control all the interfaces, which is why an app like Facebook cannot access your photos, location or address book without your explicit permission.

And Apple has gone for the nuclear option of removing apps from the store; not long ago they booted Fortnite, one of the big earners (billions in revenue of which Apple got a percentage through their commissions), after they added a means to circumvent the app store fees, starting a long proceeding into getting it lowered or dismissed entirely - partially successful in specific jurisdictions.
Also, for clarity, it is fully expected that the compiler will use the as-if rule to optimize it. Most likely by having a dedicated token/ast node that only decomposes to comma separated values if if actually needs to, with common usage in initalizers being handled by simply copying the data directly into a static data segment without ever creating an integer list at all.
I think this is about Google's Android certification, that allows manufacturers to ship Android with any google app. Some like the Play Store are basically required by users, but Google makes it a "get all or none" deal with a lot of other demands, which includes a google search widget.
It mostly funds projects:

> Approximately 94% of the EU budget funds programmes and projects both within member states and outside the EU. Less than 7% of the budget is used for administrative costs, and less than 3% is spent on EU civil servants' salaries.

From [0], see also [1]

[0]: https://en.wikipedia.org/wiki/Budget_of_the_European_Union#P...

[1]: https://www.europarl.europa.eu/about-parliament/en/organisat...
This is one of the egregious sins of Teams that I've noticed. Who would ever want copy & paste to work this way..? Fine if you want to have that option, but call it "Copy entire message". Everyone at my company universally agrees Teams is shit.
Imagine the outcry if government announced that every transaction you ever do will be recorded in a publicly available database.

Bitcoin as it currently exists will never be a replacement for fiat --- not even close --- for a multitude of reasons.
Why Printers Are So Terrible
both threads can make progress at the same time.
I disagree. The problem overall is indeed not black and white. There are psychological factors to be considered with constant surveillance and because western societies tend to be older, security already has a disproportionate focus. The only rational argument for more security measures are real threats. And these plainly don't manifest themselves.

What are the obvious benefits of facial recognition? We are not talking about medical applications here or unlocking your phone...

Video taping public places is the extreme position in my opinion. I lacks measure, focus and applicability. It would just be a waste of energy with even worse secondary effects.
If they got bought out I’d worry for the future of my game library.
The "official" reference if anyone is interested: https://en.cppreference.com/w/
So we’re in a situation where we strongly suspect that there should be cosmic strings riddled throughout the Universe. And yet decades of direct and indirect searches haven’t found any. At all. We’re left with two conclusions. Either our understanding of the physics of the early Universe is way off base and cosmic strings aren’t nearly as generic as we think they are, or we’re not understanding how cosmic strings manifest themselves in the modern-day cosmos and our observations are missing something.

I think it's safe to say our understanding of the physics of the early Universe is way off base, and by early, I mean a few seconds old. We're going to have to unify GR and QM before we have a shot at understanding the physics of the early Universe.
This was about a previous title where it was saying facebook whatsapp instagram refusing access to Iranians even outside the country.

The title is corrected now.
This article is worth reading (link [14] in the above quote):

>Climate Science Denial Network Behind Great Barrington Declaration

https://bylinetimes.com/2020/10/09/climate-science-denial-ne...
I don't think moderation automatically means censorship. In my opinion, HN mainly tries to enforce a productive decorum, which makes this board better than others.

Most people who are concerned about government censorship are not free speech absolutists. You are invoking the logical fallacy of appeal to extremes.
Amazon CodeWhisperer: Build applications with an ML-powered coding companion
Both. Noise limits where you can go, and that limits who will want the service.
FDB screwed their users in 2015 when they abruptly closed shop with no further development, support, or even a migration plan.

Gotta get that Apple money.
Was it government mandated? I could see someone making the case that the government "sure would appreciate if someone removed this meddlesome priest", but I don't see a mandate anywhere.
Some of us were already apprehensive about going to the doctor before the pandemic.
Why Are So Many People Lactose Intolerant?
This is not a sensible response: the Capitol riot was the closest the US has come to open, widespread political violence in a century and a half. The fact that it was largely ineffective doesn't detract from it any more than the Beer Hall Putsch's failure detracts from, well, you know.
It wasn't? Private clubs obviously exist.
So one thing really should be cleared up - the 2nd paragraph of this article talks about incorrect criticisms (i.e. misinformation) of an article

>> They were called eugenicists and anti-vaxxers; it was falsely asserted that they were “Koch-funded” and that they had written the declaration for financial gain.

It then says

>> Yet emails obtained pursuant to a FOIA request later revealed that these attacks ... were the fruits of an aggressive attempt to shape the news by the same government officials

The source is a paywalled opinion piece, so I can't get to the bottom of it. In my opinion this claim is serious if true, and entirely bad-faith and undermines the credibility of the article if untrue.

There's a huge difference between filtering out or demarcating content believed to be inaccurate or attempting to misinform, versus astroturfing against said articles through false accusations. Which is it, and what's the evidence?
I really like the widget, it's well done and well thought. It feels fresh and better UX than the widget for some reason. You are onto something with Taku. Wishing you the best.
It's already in Shenzhen.
Sweden has a permanent one. The inner planets are in Stockholm while the outer planets are across the rest of Sweden.

There was a touring one that was in Cambridge (UK) recently and we thoroughly enjoyed walking it even if the walk to Pluto was quite far. Walking it in reverse order would have been better, perhaps. Didn't think of that.
I think it's really as simple as having a big company hitting a giant IPO that creates wealthy individuals who go on to invest in smaller up and coming startups. E.g. Seattle has Amazon and Microsoft, Bay Area has Meta, Google, etc.
With the current lobbying and campaign funding rules, government is more or less a consortium of big businesses. What exactly does business have to fear, when all the branches of government are full of their own representatives?

You can’t both assert that the government doesn’t serve the people AND government doesn’t serve businesses. I agree that it is an unreasonable premise.
For your first note, if I ask Siri to "Set an alarm in 6 hours" it does that (yes, I know you're talking about Android, but I assume Google Assistant does the same)
No it doesn't. Malicious apps aren't impacted by this at all. It's a hardening technique for non-malicious apps to help protect them against malicious inputs. Which any maintained, updated app would naturally just get when they update, and in the meantime there's no regression in security from previous releases.

It's only on-everywhere because Apple doesn't do backwards compatible. Update or get kicked out is the expectation.
Supersonic commercial service is interesting, but it was a small niche that the pandemic made even smaller.

Constraints on the customer base:

- Absolutely must have face-to-face meetings on another continent

- Rich/"important" enough to pay for business-class transcontinental flights

- Can't do any productive work on a normal flight, so important to reduce flight time

- Not staying for a long visit, so cutting a couple of hours from the flight is important (Edit: added this item)

- Not rich enough to fly charter

That's a tough set of criteria, especially with CFOs looking to cut unnecessary business travel. Zoom is a lot cheaper than business-class travel.
IIRC, Facebook got its start by scraping student data from university servers. If so, the belief that any data it can get its hands on is fair game pretty much is the foundation of the company.
I selfishly hope that the software industry will continue its geographic diffusion and not be centered in any particular physical place anymore. I think it's possible, under the right conditions, to foster the same culture in virtual spaces, and I hope it happens.
I mean, you can skim the emails here [1].

Maybe individual messages are kind of okay, but all together it definitely reads like policing of private speech. The inter-agency communications in particular are pretty bad.

[1]: https://nclalegal.org/wp-content/uploads/2022/09/Joint-State...
Negotiate trade agreements for the second largest market in the world. Make harmonised law and regulations and operate the courts associated. Finance infrastructure projects and the development of the poorest members. Manage various cooperation efforts between members in sector like education.
No, he was banned before the new regime, but immediately after he was implicated in an attempted coup.
The EU has a GDP of almost 20 Trillion, what kind of magnitudes of cash would you expect?
Speculation - google would want to operate in the EU even at a loss:

1. Other search engines regularly appearing in news / on screens would remind the non-EU users about alternatives.

2. Lost traffic is lost information. Google still relies on knowing your behaviour to improve targeting.

3. Giving a whole region to other search engines would build up their financial standing and they could threaten Google in other regions in the future.
I have been wondering what he is going to do under the recently declared partial mobilisation. I hope he could find a way to get out the country. He needs to know he is always welcomed in Turkiye.
Of course it's baked into the culture of the company. The CEO famously called his users "dumb fucks"[1] for trusting him with their data. As far as I'm concerned there's no reason to think his basic attitude has changed. Just the messaging has gotten better.

[1] https://www.esquire.com/uk/latest-news/a19490586/mark-zucker...
For anyone confused, the HN title has been changed to "As unrest grows, Iran restricts access to Instagram, WhatsApp (reuters.com)"

before it was, [Social Media] banning Iranian users.