skysight-inc/HackerNews huggingface dataset:
This article makes no sense.

What is the definition of a Protestant state? From the article, there is no definition. There is only a reference to what is written on a U.S. dollar bill.

I only know of one country where a Protestant religion (Anglican) is the official church of state: the UK.

The U.S. has no official church of state. The U.S. constitution guarantees a separation of church and state, and this right is carefully protected.

According to Pew Research, there are 30 countries where the head of state is required by law to be of a certain religion [1]. Only two of these are Christian: Andorra and Lebanon.

There are additionally 19 countries where a ceremonial monarch is required to be a certain religion, including the UK. [1]

[1] https://www.pewresearch.org/fact-tank/2014/07/22/in-30-count...
Melbourne's gigantic Thomson Dam is nearly full - a rare event.

DamCam: https://www.melbournewater.com.au/water-data-and-education/w...

200KM from Melbourne, the Thomson is the main water storage and holds 1,068,000 megalitres. For comparison, Sydney harbour is 562,000 megalitres.

The Thomson is at 96% full, and in fact most of Melbourne's dams are full or nearly full according to:

https://www.melbournewater.com.au/water-data-and-education/w...
And literally the mafia in Sicily if you're talking about the USA.
I find this outrageous. It also applies to the text of all of my employer' emails (at least those managed in the mentioned web browser), according to a prompt (with no option to reject, IIRC) I read the other day.

Edit: sorry I should have captured that prompt! I am not able to remember what it said, it might have been from the company rather than the browser.
> We get there by a (very likely) short-term increase in current energy production

Right. But right now we're incentivizing the opposite. We're telling fossil fuel companies we don't need them anymore long before we've actually figured out a way to live without them. Do you see the problem yet?
Jancovici: Will technology save us from Climate Change? MIT Media Lab [video]
> A compiler can also change the order of fields if this could improve the speed of reading them

No, C does NOT allow that! C++ theoretically allows to reorder sections with different access specifiers (public, protected, private), but I don't think any compiler actually does this. It would just create a big mess for little gain.
There’s some good Twitter content linked to from HN but I feel this post would be better served in a blog format. I’m interested in this particular piece of content but it seems somewhat absurd to me to have at least a dozen sub tweets comprising a single thought list
> includes all babies born during the week of March 9, 1958 in Great Britain

> When the children were 7 and again when they were 11, their teachers were asked to describe them physically. For the purpose of the analysis below, the children are defined to be attractive if they were described as attractive at both age 7 and age 11.

> Sixty-two percent of the NCDS respondents are coded as attractive.

It is possible that teacher involuntary describe rich students as attractive and poor students as not attractive, or at least there is a bias. Or perhaps it's a bias for some race that is correlated with wealth that is correlated with intelligence. Malnutrition cause learning problems. Poor students get bad schools and not out of school tuition when necessary. It's not a 100% correlation, but perhaps enough to cause a difference in the study.
These la nina/el nino cycles seem to be long period climate patterns which already existed, because they’re measured in decades and we don’t have records for all that long n is very small and quite hard to determine if there are anthropogenic effects to them.

Things people forget with climate is that there are indeed long cyclical patterns not all of which are well understood which have significant weather effects. You can’t just yell global warming every time there is an apparent change or bad weather.

If you are interested in truth and not just a political narrative you have to be curious, open, and ready to acknowledge not everything is going to fit the popular doom stories.
My reading of the comment you are replying to wasn’t comparing the mafia to democracy, but to government broadly. It’s a fair comparison. Specifically to dictatorships and various negative forms of government. The mafia looks much like a certain slice of government that we’ve seen throughout history many of which were rule by man, not by law.
I am not paying for renewables subsidies, nor did I ever. There was a guaranteed price per kWh minimum, that was funded by the consumer, but even this part of the bill was reduced to 0 this year.

It's a settled matter. We know how much it costs to produce electricity from different sources based on upfront and operational costs, and nuclear is not competitive.
The thing I never understood is why is "demonetization" black and white. Why not by default have a filter on ads that prevent them being shown on any "unsavory" content but allow the advertisers to opt-in to this. I'm sure that many brands would be fine with their ads being shown next to sexual content they can just uncheck the box "Don't show my ads next to sexual content". Other brands may be fine with violence and others with both.

Obviously getting your video flagged as sexual, violent or whatever other default-disabled category would still greatly impact your profits as you will have less ads bidding on your video but it is far better than the 0 revenue of today.
Can you explain what the poster above you was writing? I have trouble parsing it, since it seems they are from some academic discipline I am unfamiliar in.
Its there, open the doc. Submission title would only have fix a fraction of the controllers.
Every event starts out as one to benefit the attendees

Not so sure. Events like Dreamforce and other company-branded and sponsored events seem to have started with the goal of making more money/selling more stuff, and then had to go figure out how to make it look appealing enough that people would attend. (Though I still don't really know why anyone would attend Dreamforce.)
That's not very weird to me. It just means DoorDash's business model is unsuitable and that DoorDash shouldn't exist.
There are some individual governments that run like the mafia (Putin's Russia comes to mind), but the analogy doesn't really hold in the typical case.
>Obedience to the state is not a functional moral code.

What's your bar for "functional moral code"? More importantly, what makes you think the alternative (ie. "it's okay to break laws if you think there's a Really Good Reason for it") is functional?
This is correct... but there's also a good reason as to why allowing companies might be a good idea.

Companies allow individuals to limit their liability.

Now I'm sure there are people who abuse this, but it also allows good people to not risk their life getting involved in a political process where they could be sued for their personal assets.

Perhaps it would be better if the government created a separate category though to separate regular businesses from political liability protection "businesses".

I'm still not entirely sure that would be for the best though on a practical level. Businesses do advocate for themselves with lots of money but that money also prefers a stable boring economy... meaning without those actors, we might start seeing laws and lawmakers that are crazy on both sides more than we are now.
I got into sailing for a bit (poor man’s sailing in a 16’ sailing kayak), and it took a lot of mental processing for me to realize how the keel (or a form of hull acting as a keel) is essential for sailing upwind. The physics are really interesting.
I thought I'd mentioned this[1] 2 days ago, in an APISIX submission. But it's a different spreadsheet! There's also an introductory blog post to thr matrix I linked here[2].

[1] https://news.ycombinator.com/item?id=32854783

[2] https://kubedex.com/ingress/
Lazygit is an alternative which worked great so far for me

https://github.com/jesseduffield/lazygit
Any tig users here ? I’m happy with it since then, looks like the feature set is pretty similar
This is undoubtedly cool, but I'd be really impressed if it wasn't stupidly slow. (I'm not saying it is stupidly slow, because I haven't had a chance to run it, just that I'd be impressed if it wasn't.)
Is that tiny, illegible-in-dark-mode hello world the only example or am I missing something? For as much content as there is in the README I would hope that a syntax change would, well, show some more syntax comparisons.
The analogy I was trying to make is that if you think there is an obviously undervalued company on the market that is crazily under-priced, you're probably wrong, and the market is probably right.

Similar, if OP thinks that there is an obvious case that Americans would back a completely socialized healthcare system, they are probably wrong, and the politicians that actually spend all their time talking to people and understanding the "market" of votes are probably right. One survey quoting a number of 70% does not mean anything particularly significant.
Ask HN: How would you build a system to get news fast?
I'm doing a thought experiment and wondering how I would get news about specific companies fast. This means not leveraging RSS feeds or news aggregators. The closest commercial offering I can think of is something like Benzinga.

Given the above requirements, how would you build such a system?
Jesus it's nice to read an informed comment on here.

Yes, it's difficult to try to get these facts across to folks without them thinking you're a shill for big oil. It's especially sad/frustrating when people who claim to be engineers don't understand the engineering involved in the process of transitioning to green energy.
Call me crazy but I don't think equating a VCS to something that people 100% get confused by (time travel) helps many people understand a VCS.
Show HN: Scramble – Automatic API documentation generator for Laravel
Scramble generates OpenAPI docs without requiring you to write PHPDoc annotations.

This allows you to always have up-to-date docs based on the actual codebase.
No, it’s a command-line interface. For a decent illustration of the difference, see https://en.wikipedia.org/wiki/Text-based_user_interface and https://en.wikipedia.org/wiki/Command-line_interface.
It's funny to read you talking about “beliefs” and “cult” while at the same time being in such a denial:

> You've seen absolutely no such thing.

Just go ahead, grab a few popular projects in Zig (for instance Bun or the zig compiler) and their issue tracker and see how fine the situation is.

And as an epistemological conclusion to this discussion, I should note that while you use “beliefs” pejoratively, but “knowledge” is in fact nothing more than rationally founded “beliefs” that's open to perpetual questioning ;).

Here you just refuse to accept to even think about the rational arguments because they go against your beliefs, hence the reluctance to address the arguments when I've exposed them, falling back to parroting your common sense over and over.
> speech that is legal should be free everywhere.

Yes! This is precisely what should be the standard. Everything that is not explicitly illegal is legal and protected. No corporation should prohibit legal things.
The "used to" is a long long time ago. Before FAANG there was, for example Intel, Microsoft and Cisco, and they were very happy to vacuum up companies instead of holding a big r&d bag. Cisco got to be very good at it, in particular. And of course this is very much standard practice in pharma drug discovery.

I think the Golden Age of internal R&D was probably 1960-1980 at Bell Labs, IBM and the really large engineering cos like Boeing?
IMO, it means that _most_ crypto trading is impossible (on less than 1D time frames at least)... or rather the edge you need to be successful is astronomical.

If you have to pay $100 to place a $100,000 bet, you're going to burn through so much cash just to break even. Making a profit becomes exceptionally difficult.

Now, on an exchange like BitMex, its a bit more feasible because you get a rebate on some trades. So you can make back a portion of what you pay in fees. This is just a general overview though. There are more complexities to it.
If it didn't imply giving the government so much information, that would actually be a great program.
> If we look at the article about the 5th Circuit ruling, it appears that implication is that the judges are misunderstanding the law as well.

Judges are often appointed by politicians. Often judges are appointed specifically for their political beliefs and worldview. This may or may not be the reason why the judges opinion seems more consistent with a political point of view than a well founded legal one.
This isn't a language declaration, it's a tool declaration. A tool useful for prototyping new language features and compiling them into large existing source bases.
A great testament to the .NET stack.
I assume you mean SCOTUS prior to 2022? Everyone knows about the right-wing corruption at play in the abortion and the forced school prayer decisions.
Happy tig user. Viewing git history without it is painful.
Only takes a quick glance of the actual article to gain clarity on it though.
> I don't think the people on HN are really in touch with how real people program in the real world.

I mean, I’m a real programmer in the real world. I think most people on here are. Rust is already in heavy use at Microsoft, Amazon, and Google, it’s not some fringe thing anymore.
Usually its about how much RAM it needs access to.

Password hashing algorithms (scrypt, argon2, etc) are generally designed to minimize the advantage custom hatdware gives.
What law makes spambotting illegal?
At the start of the movie, Michael is not involved in the family business. The movie shows how and why Michael gets dragged into the family business, and it's not "American society is so prejudiced against Italians" American society considered Michael a war hero at the start of the movie. Michael is not shown to be the victim of a society prejudiced against his ethnicity.

Michael is dragged into the family business when a corrupt Irish-American police captain, paid off by a rival Italian-American mob, try to assassinate Michael's father. Corrupt police and Michael's loyalty to his family interact in a manner that drags Michael into a life of crime.
Stable Diffusion Implemented Using TensorFlow and Keras
I have made a Stable Diffusion implementation using Tensorflow / Keras. The weights have been ported from the original pytorch code.

This code runs about 4x faster compared to the original Torch implementation on my 8GB M1 MacBook Air. The speedup is on devices with less memory. Still gotta figure out why.
Seems the usual HN crowds that are worried of centralization and monopoly praising these super apps. What am I missing?
I was using https://www.coreweave.com/gpu-cloud-pricing the A4000s here, with 20ish steps 512x512 and I think it was close to a 1-2 s IIRC. There are some consumer cards that can get close i'm sure with some tweaking of image size, steps and other SD tuning.
The AI part in 5-in-row is a good challenge.
Setting aside how silly it is to think about weather in this way, you’re also just plain wrong.

Despite the doom and gloom marketing from those seeking to put their hand in your wallet, most people will definitely NOT be negatively impacted by climate change.
Might be clearer if you just write in English.
This doesn't answer the question of why people choose to work at Uber if there are jobs available that provide all of these things. People in Europe have the opportunity to work in a job that covers for all of these benefits. Driving for Uber isn't mandatory. Is the implication that the adults working for Uber just aren't smart enough to know they're being exploited?
yeah I mean it's true of basically any youtuber whose handle isn't just their name
You'd think that a flood-prone house would be worth something, like half the amount you'd rent it for over the time period. So not 100's or 1000's of Ks, but maybe in the 10's of K. Sales full-price on a coast that'll be inundated in 50 years will definitely be to a greater fool.
A combination of resume driven development for those involved and a desire for more power/control. FedNow with a GA of next summer solves for instant payments. FedAccounts (citizen accounts held at the Fed) would solve for direct cash payment policy but it’s untenable in the US because of the Fed’s desire to support commercial banks over a more utility approach to financial infra, so using deposit account info on file with the IRS and the Treasury solves for targeted fiscal policy maneuvers (helicopter money or stimulus payments).

If someone is trying to sell you on programmable money, ask them exactly what they’re trying to solve for. Lot of crypto words in the press release for example.
$1B USD is a long way off from the £1.2m -> £120m I replied to though. That 1.2->120 just seemed way too low which is why I asked.
I guess there are varying definitions of "free market". I was going off of Wikipedia:

> In economics, a free market is an idealized cognitive model of an economic system in which the prices of goods and services are determined by supply and demand expressed by sellers and buyers. Such markets, as modeled, operate without the intervention of government or any other external authority.

Adam Smith is mentioned later on in the article though:

> For classical economists such as Adam Smith, the term free market refers to a market free from all forms of economic privilege, monopolies and artificial scarcities. They say this implies that economic rents, which they describe as profits generated from a lack of perfect competition, must be reduced or eliminated as much as possible through free competition.

https://en.wikipedia.org/wiki/Free_market
I used to sail and fairly quickly got the understanding for sailing up-wind. The thing that blew my mind, and continues to, is that the top speed you can reach is dependant upon the length of the boat and not the weight. This obviously excludes modern things like motorised craft, planing, foiling etc.
A lot of companies started with Java or Go, and will consider Rust without ever touching C++. The stigma alone is enough to turn people off.

Hell it's going into the kernel in 6.1.

C++ runs a real risk of surviving only in the embedded/realtime space in the next 10 years.
It's a System On Module (SoM). It's designed to fit into a carrier board which will pass through all of the pins to the application-specific peripherals. The connector type is incidental, it's just to pass through the signals. No compatibility with the conventional M.2 use will be intended or implied.
It's right there in the T&C and content guidelines isn't it?
Play By Email seems marginal. It's certainly true that you can do it from the command line (I'd heartily recommend nmh over using sendmail directly), but it's sort of incidental rather than by design. That said, I'd count it.
Thanks - grim.

A CNN link that’s less ampy:

https://edition.cnn.com/2022/09/15/us/pieper-lewis-sex-traff...
> What's wrong with a defacto slave enjoying their life doing what makes them most satisfied?

Creating such a being in the first place when one could've been a better small-g god.

Now this may just be naturalism bias on my part, a large number of people are a lot more comfortable with a thing if it's natural rather than the same thing artificial.

> You seem to be forgetting that people will get things banned if they're obviously bad.

The American Civil War was fought over a disagreement about what the north and south thought was obvious.

> How do banks survive the onslaught of fraud!

More than just laws punishing those who do it. Sarcasm aside, a better question might be, how does the USA stop hackers from all over the world from breaking into USA hospitals, encrypting all the documents, and getting hard to trace ransom money in return for the decryption keys?
It would have been nice to get some commitments from the bigger Phabricator users before going public, so I could read this and see oh projects x, y, and z are going to be using Phorge! But maybe they wouldn't until they see what kind of project it's going to turn out to be..
Not really, no. The average thing you keep around because "it might be useful someday" usually once really was useful! As it passes out of usefulness, if you don't have something coming in to replace it, you're down one useful thing.
Last I read was that the meeting of ice in Antarctica is increasing the probability of extending La Nina (sorry I lost the source). There are theories about ENSO states becoming more frequent with climate change, the most favoured one was a more stable El Nino (see PNAS article by Lenton on climate tipping)
I think Jonathan Boccara's talk, "105 STL Algorithms in Less Than an Hour" ( https://www.youtube.com/watch?v=2olsGf6JIkU ), gives a nice overview of the <algorithm> library. Also, the examples on the reference pages (usually near the bottom) at cppreference.com are usually pretty good. For example: Here's how to create a pseudo random number generator using the Mersenne Twister engine.

std::mt19937 e; // Mersenne Twister engine
std::uniform_int_distribution<int> u(0,99999); // uniform ints 0 to 99999, inclusive
auto rng = std::bind(u,e); // so rng() retuns the next random number

And filling a vector with random numbers could look like this:

std::vector<int> nums(1000);
std::generate(nums.begin(), nums.end(), rng);

This last line can be written in C++20 more simply like this:

std::ranges::generate(nums,rng);
mypyc is alpha at best, I wouldn't put it in list of recommondations.
> I have a hard time believing this. Captions demand more attention if anything. I can passively "watch" a video by only listening to the audio, but I can't passively read.

I do this. I can parse what is happening on screen and read the captions in a fraction of the time the thing actually plays out, then I got a few seconds to do something else. Usually I would be reading HN or something while I tune out the video for a few seconds, before glancing at it again to catch the next bit.

Listening to a video and reading something else at the same time doesn't work for me. When I do that, I usually forget what I was reading or miss something in the video. Interleaving works much better for me.

Also I don't normally do that, just when there's some particularly boring part that I don't want to skip but which doesn't demand my undivided attention.
The big issue I see is public officials using their office for private gain.

But I see a lot of confusion here between “public” in the sense of “oriented towards the common good” and “public” in the sense of “not widely known”.

Same with “private” - could mean “oriented towards the good of only certain individuals” and also “not generally known.”
There’s a big difference between doing something that’s maybe not the best use of resources, but still serves a purposes, even if it’s just pleasure (ex: watching the Kardashians) and doing something for no reason that makes any sense at all.

We should all be judicious with how we use our limited resources. The market often serves to incentivize that good judgement. When the market starts incentivizing waste (e.g. “cryptocurrencies”) that’s when you need to start banning things.
I've used this non stop for months now, it's so good! You can get it from neovim as well as your git plugin and merge resolver if you don't want to use fugitive or something else. https://github.com/kdheepak/lazygit.nvim
Rust is still fringe even at FAANG level companies. I work at one such and we have a service or two written in Rust. I like Rust as a C++ replacement in the right context, but for 99.999% of applications it’s not better in any qualitative or quantitative way than C++. Or Java. Or Go.
Prosecution in general, not just for social networks but for everything in society, shouldn't necessarily be more aggressive, just faster.
semicolons help the parser. easier to point where erroneous statement began.