skysight-inc/HackerNews huggingface dataset:
In most popular languages, the order of evaluation of both statements and expressions is specified. For your example, the insert query call is guaranteed to happen before the select query call in Java, C#, JS, Go, Python, Ruby, Rust, Common Lisp, SML. It is indeed unspecified in C, C++, Haskell, Scheme, OCaml.

While C and C++ are extremely commonly used, I would still say that the majority of popular languages fully define evaluation order. Even more so since most of these languages considered they are fixing a flaw in C. Rust is particularly interesting here, as they initially did not specify the order, but then reversed that decision afelter more real-world experience.

> "Procedural code" (i.e. serial/sequential execution) is a strategy for dealing with that. It's particularly easy (give each step a single dependency; its "predecessor"), but also maximally inefficient.

> Forcing it by default leads to all sorts of complication (e.g. multithreading, "thread-safety", etc.). Making it opt-in gives us the option of concurrency, even if we write almost everything in some "Serial monad" (more likey, a continuation-passing transformer)

You yourself admit that serial code is a strategy for dealing with the complexity of the world - it doesn't complicate anything, it greatly simplifies things.

Threads and other similar constructs are normally opt-in and used either to model concurrency that is relevant to your business domain, or to try to achieve parallelism as an optimization. They are almost universally seen as a kind of necessary evil - and yet you seem to advocate for introducing the sort of problems threads bring into every sequential program.

Thinking of your program as a graph of data dependencies is an extremely difficult way to program, especially in the presence of any kind of side effects. I don't think I've ever seen anyone argue that it's actually something to strive for.

Even the most complete and influential formal model of concurrent programming, sir Tony Hoare's CSP, is aimed at making the order of operations as easy to follow as possible, with explicit ordering dependencies kept to a minimum (only when sending/receiving messages).

> That's often acceptable when running on a single machine, and sometimes acceptable for globally-distributed systems too (e.g. that's what a blockchain is).

It's not just blockchain: TCP and QUIC, ACID compliance and transactions, at-least-once message delivery in pub-subs: all of these are designed to provide an in-order abstraction on top of the underlying concurrency of the real world. And they are extremely popular because of just how much easier it is to be able to rely on this abstraction.
This is essentially the argument that "All Cops are Bad"; some few cops are bad, but all cops willingly participate in a system that protects and enables those bad actors. The US military is a good comparison, they routinely dishonorably discharge soldiers who misbehave or fail to behave in honorable ways; police seem much less able to manage themselves in the same way. (Not that the US military doesn't have its own share of problems, nor do they always kick out the people they should, but they seem to have a better culture of doing so than most US police forces. Both could certainly be improved further.)
>> It never had a real use outside of scamming people and buying illegal shit,

Some anecdotal evidence to support what you're saying.

I work at a large health care company. When crypto and blockchain was getting popular, there was a huge push in the company to adopt blockchain and to a degree, crypto. I'm talking hour long presentations by blockchain companies, videos, and trainings. It was heralded as the dawning age of technology where people can be treated and pay in crypto, while at the same time, all their medical files being securely stored on the blockchain. They pushed it as the next step in 100% digitizing health care.

3 months later? It was dropped. Not just dropped, either. It was silenced throughout the entire company. The sharepoint sites promoting it internally were gone, the videos, presentations, and trainings were all scrubbed from the company sites and resources, like it never existed.

I started asking around and found out the executives found out about several exchanges going under and taking millions of people's money and how blockchain was more of a solution in search of a problem. That combination became too toxic for them to invest and be associated with.
The invention of the cotton gin simply moved people from spinning cotton to picking cotton. And increased demand for slaves.

I'm not excited to be displaced personally, but I'm also not really worried about being displaced. If displacement is inevitable, I don't see how the average programmer is going to leverage this for the "stuff of dreams". Usually, tech advancements result in a greater consolidation of wealth into the hands of those that already own capital. Recent tech is no exception. Yes, there has been a lot of wealth created for regular people, but we're still working 40+ hour weeks, and earnings have not matched the increase in productivity.

What I am concerned about is that our field is becoming increasingly arcane magic for the younger generations, especially the masses that are being completely and utterly failed by the education system.
I do think Legoland should never have been built there (they found one of the largest bronze age settlements ever found in Korea - they built freaking Legoland on top of it anyway), but it was built, and defaulting on bonds was probably the stupidest thing anyone could have done with it. I mean, someone could've sneaked in with a can of gasoline at night and burnt the whole thing down, and it would have cost less on the Korean economy.
FTX Auditors Doubled as Crypto Industry Cheerleaders
So you're actually saying HN was wrong?

Maybe HN will be finally wrong about crypto one day too
Quick College Cost Estimator
Right, but these users didn't care about that. They invested in crypto because they thought there was a profit in it, which is why they used the centralized exchanges and sought the returns those exchanges provided. Your point about decentralization, while true, is completely besides the issue. And like I pointed out, the maxim doesn't even make sense with regards to how law treats the property so I continue to wonder what people think they contribute by referring to it.
Reverse engineering copy protection [video]
Is this the end of Legos?
I don't understand how it improves productivity _that_ much. Most of my time isn't actually spent on syntax but rather reading Hacker news and making irrelevant comments.
I don't know for me it's just not necessary. I know who has my back already. This would just feel like pandering. I'd rather people didn't act like I suffered a traumatic life event. It's just a job after all.
You only need three things and no nodejs. NodeJS is mainly needed because many CLI and preprocessing/transforming tools are written in Javascript. If you don't use them, you don't need NodeJS. The three things:

* HTML if you don't already know.

* CSS Box Model, Flex and Grid.

* Plain old JavaScript.

For CSS topics above, there are pretty short videos on YouTube under an hour or so.

If you feel like going sophisticated, encapsulate things as web components. They're mainstream now.

These three above can DO EVERYTHING and everything else boils down to these anyways. Everything else is bloatware.
"People don't want to deal with a hardware token every single time they want to do anything with their money"

Maybe not, but they have to regardless. Banks force this on users anyway (outside the USA). To pay for things I have to use either a chip card (token), or equivalent embedded in my phone (a token), or log in to e-banking using a chip card PIN pad (token) or my phone again, or auth an online CC tx with a phone app (token).

But no matter what I do the only way to move money around without invoking a hardware cryptographic token at some point, is use paper money and physical coins.

So this isn't really something new. Bitcoin was just ahead of the curve in this regard. Also, it's really hard for banks to reverse transactions outside of the USA. What makes bank money "safe" compared to crypto is simply that:

1. Governments will bail banks out because they're too big to fail. Of course you end up paying for it through inflation anyway.

2. Everything is KYCd/AMLd up the wazoo so even if money is drained from your account in the same way it could be for a cryptocurrency, the perps will find it much harder to evade capture.
Ask HN: What is your opinion on Quantum computing?
Do you believe it is viable, hyped nonsense, or some unknowable state between the two.

Cheers, =)
There seems to be a huge overlap between people pushing abstinence from meat on the grounds it is better for the planet and people who a prior believe meat consumption to be immoral.

It would be wise to have a healthy skepticism if a beef and dairy association said there was no impact, so it seems it would be equally wise to apply skepticism to ethically minded vegans saying it is not fine.
there is a small subset of people that indeed believe in the programmable money future in that world, the vast majority of people were just sold a get rich quick scheme and are now losing their money.
They are literally proposing using lithium batteries with no big tech breakthroughs at grid scale. If you have other storage sources, like EVs or home batteries, or some magical new tech becomes available, it'll be cheaper, but if you don't they suggest you can do it with lithium-ion and the renewable tech as it stands today, with price reductions coming from scale.
That's weird. Most modern plantations use the "Super Intensive" method with specialized machines.

https://invidious.fdn.fr/watch?v=4RnDldkqUb4
Crucial missteps led to tragically delayed rescue in a Seoul alley
Fractional reserve is a scam, not crypto. Every institution which doesn't have money which they promised to keep safe, should collapse. Proof of reserves and audits are extremely easy in crypto and it doesn't require any regulations. Self custody of crypto is also pretty simple. Market is young, people greedy and as a result we got this domino of falling companies. Even after Mt. Gox collapse people didn't learn much, but I quietly hope it will come.
my stepdad was an MP in Korea. He said they had lines painted around the b52's on base. If you crossed the line without authorization you got three warnings and then you're shot dead. Messing around the military installations isn't like speeding or running a light, you need to take that stuff seriously because they absolutely do. I wouldn't try to video a military base with a drone without getting permission first regardless of what I think the law says.
This type of article pops up every year, but the argument always presents a false dichotomy.

Yes, most things don't need to be SPAs or implement cutting-edge CSS features. That doesn't mean you have to build your website in pure HTML.

PHP is incredibly easy to learn and provides immediate benefits without negatively influencing your page's performance.

For CSS, there are many prebuilt stylesheets out there that are easy to implement.
What exactly did the investors invest in?
> It's a losing side to thus remain trapped in that dichotomy.

Well yeah that was my point already.
> The workers were getting to uppity, expecting things like actual work-life balance.

Which of these large companies would you say have a poor work-life balance on average? Google, Facebook, Adobe, Microsoft, and others have reputations as rest-and-vest retirement homes. I've heard Netflix can be challenging, along with some parts of Apple, but nothing like startups, investment banking, or big law.

Twitter before Elon was more like "rest" since they were vesting garbage, but he's trying to morph them into Tesla, which does have a terrible reputation for balance.
.. but what if she DID have a nail in her head? :)
Central banks hold dollars all the time, as a speculative asset. Same reason people buy treasury notes at low interest rates.
I’ve had all my submissions deleted when requested so not sure what the issue is
It's said that the father of LISP, John McCarthy, the father of LISP, lamented the W3C's choice of SGML as the basis for HTML : « An environment where the markup, styling and scripting is all s-expression based would be nice. »

Following John McCarthy, this HTML <b><i><u>Hello World</u></i></b> could have been written {b {i {u Hello World}}} and {* 1 2 3 4 5 6} could have been evaluated to 720. For instance: http://lambdaway.free.fr/lambdawalks
GitHub Copilot has been concretely demonstrated to emit significant chunks of OSS licensed code.

Significant enough that if the license is GPL (which some has been) it will "taint" the entire codebase and license it under GPL. Significant enough to be found by automated OSS audit tools, which would trigger a re-write and education for the developer who committed it.

EDIT:

> If I write down lyrics I remember I still wrote it.

Not from a copyright point of view. The rights to those lyrics belong to the songwriter. It's kinda like photographs. You don't automatically have the right to distribute a photograph of yourself that was taken by someone else.
And then every snippet ever created with that trained data would have to include an acknowledgement for every repository included in the training set.

The LICENSE file would be longer than the rest of the code.

(FWIW, I agree with you theoretically, but practically it's hard to get your head around what the ramifications of that would mean)
>and they kill more people in the US than there are murders

Do you have any source for this absurd claim? The data show otherwise:

>In 2019, the estimated number of murders in the nation was 16,425.[0]

and police was about 1,000 for the same year.[1]

[0]https://ucr.fbi.gov/crime-in-the-u.s/2019/crime-in-the-u.s.-...

[1]https://www.statista.com/statistics/585152/people-shot-to-de...
These quirks appear to be over 20 years old so the patents should be expired.
I would consider it, except it is no longer being installed most places, since it is "deprecated".
I recommend the video here:
https://news.ycombinator.com/item?id=33500380
I mean, yes? People will be doing math as long as there are people around to do it. It'll look different, sure. But there will always be problems, and math/programming is problem solving par excellence.
The summary says the human studies used 3000 people over twenty years and the 72 percent less compares the humans who did high intensity exercise versus those who did not - it did not state the rate was zero, it was just significantly less in those who did high intensity exercise.
HN is a respite from those awful cookie banners, that's something.
Have you tried emailing them and asking for your comments and submissions removed under GDPR/CCPA?
Using it in practice, the sheer quantity of suggestions (often one for every line) is fatiguing especially when 99% of the time they seem fine.

I posit it becomes increasingly likely over large periods of time over many engineers that severe bug or security issue will be introduced via an AI provided suggestion.

This risk to me is inherently different than the risk accepted that engineers will use bad code from Stack Overflow. Even Stack Overflow has social signals (upvotes, comments) that allow even an inexperienced engineer to quickly estimate quality. The amount of code used by engineers from Stack Overflow or blogs etc, is much smaller.

Github Copilot is constantly recommending things and does not gives you any social signals lower experienced engineers can use to discern quality or correctness. Even worse, these are suggestions that are written by an AI that does not have any self-preserving motivations.
Eight SpaceX employees say they were fired for speaking up against Elon Musk
Why are we assuming it would go to salaries? Do budget surpluses normally result in bonuses for rank-and-file employees?

Aren't you still capable of eating something that isn't free?

This line of reasoning makes any workplace perk into an act of infantilisation:

401(k) matching? You mean you let them remove that much agency from your investment planning?

Healthcare? I would prefer to be a big girl and buy my healthcare plan on the open market.

Free parking? I'll decide for myself where to park since I'm an adult.

Nice toilet paper in the bathroom? Do you think I can't provide toiletries for myself? That money could have been salaries.
>Perhaps the NYTimes was as caught up in crypto nonsense as anyone else

The article about his was written AFTER he lost all his investors' money (a few days ago).
The prestigious conference where he is speaking is happening in 13 days from now.

Everyone knows this guy was a grifter, he created and ran an exchange from the Bahamas, he didn't invent the iPhone of crypto or something. I see 0 evidence of any Steve Jobs level innovation.
I can’t wait for the day the EU actually tries to enforce their laws on individuals and companies with no presence there. Will be a fun extradition battle to watch
Sounds like it didn't pass the sniff test with them.
Better example with coins:

If I convince one person to pay $10 for a quarter, are all quarters worth $10?

If you answered "yes", you can run https://coinmarketcap.com/.
Well, Spark does allow you to accomplish distributed workloads for certain forms of computation. But it's limited to those forms of computations (streaming, map-reduce). It also has a large operational footprint. It's also lamentable that distributed code that uses Spark looks nothing like its non-distributed counterpart.

Something very much like Spark map-reduce can be implemented in ~100 lines of Unison code:

https://www.unison-lang.org/articles/distributed-datasets/

Some videos on Unison's capabilities over and above Spark:

Distributed programming overview:
https://www.youtube.com/watch?v=ZhoxQGzFhV8

Collaborative data structures (CRDTs):
https://www.youtube.com/watch?v=xc4V2WhGMy4

Distributed data types:
https://www.youtube.com/watch?v=rOO2gtkoZ3M

Distributed global optimization with genetic algorithms:
https://www.youtube.com/watch?v=qNShVqSbQJM
> Governments issue bonds for what turn out to be bad investments all the time.

Yeah, and this is even worse since Gangwon-do is an extremely rural and aging area without any hope of future growth. It only contributes 2% of the total GDP in South Korea and is rapidly shrinking. No sane private entity would go there without government supports since none of significant development there would make financial feasibility. It's where a government is supposed to intervene.

The current governor (who was a prosecutor like Yoon anyway) seems to consider this as a really good chance to put their political opponents into jail and they need to access confidential information to make the case. The default is a necessary part for the grand scheme and he probably was willing to make that sacrifice. He was just not competent enough to understand its implication.
Serious prison time for the executives involved would probably be more effective.
I believe that's what we call a pyramid scheme. It only works as long as resources are being poured into it. The second the money flow stops, it instantly collapses.
Punctuation and other ways negotiators have resolved climate change issues
Interesting. It seems to be able to detect the subtle nuances of meaning fairly well. Maybe not perfect, but I would give it at least 8 stars on a scale from 1 to 10.
What's wrong with granny smith?????
Only do this though if you are a peer or someone they can aspire to be. If you once got laid off but your life then went on a downward spiral and you never really recovered, just keep it to yourself. It’s not comforting.
Bloomberg Terminal has a firehose of news, especially news about money things.
It’s fine if it’s opt-in. Most developers simply assume consent, however, which has all of the normal problems that come along with assuming consent in any context (ie your assumption being wrong in a significant number of cases and the completely avoidable consent violations that occur thereby).
There seems to be a legal theory that public discourse is not to be removed under the GDPR. Discord, for example, will also not delete your messages.

Part of the problem is also that the government agencies tasked with regulating these things are hopelessly slow in pursing matters, especially when non-EU companies are concerned.
It's interesting how often the same stories play out for different interpreter implementations. Everyone tries:

- a multi-pass JIT

- interpretting the input directly to reduce time to first op

- making the fastest transpiler they can and skipping the interpreter

All of these are addressing different constraints and affect each other. For instance, a cheap transpiler is only slightly slower than an interpreter loop, and allows you to move the threshold for the JIT farther to the right. If you can avoid trying to optimize things that you will only be slightly successful at, you can invest more of your CPU budget in deeper optimization on the hottest paths. You are also running on-stack replacement less often, and in fewer scenarios, which may mean you make different tradeoffs there as well.
Nominally meat production emits more CO2, but one also has to take in account the nutrition of the food. 1kg of beef vs 1kg of rice. Not exactly the same.

The CO2 footprint of a plant-based diet is lower. However, that is not the only aspect of this discussion. All the studies on the subject that I read seem to indicate that eliminating animal protein always leads to deficiencies and lack of growth in children. All the studies on the health benefits of veganism only seem to apply to obese people eating junk food.

But one does not need to go full vegan. Reducing meat consumption to the bare minimum and maybe selectively eating animal products that are less harmful to the climate, it arguable a better strategy.
Is the difficulty dropping because miners are then racing against less miners, or is it a different mechanism?
I don't know much about fusion.

But it seems to me that the main problem with fission today are the time, capital and expertise required to build the plants.

Even if we had a commercializable fusion reactor prototype today, would it be really easier to deploy at scale before we hit 2.5 degrees of global warming?
There is a loss, and people (especially more recently it seems?) sometimes are unable to cope at all with loss. I do agree it's unhealthy and extreme to put it that way. A dead loved-one is never coming back. That is a pain you must learn to live with. But you can get another job, perhaps even the same one again.
Introduction to Stable Diffusion
It was rhetorical. Try reading my original post again.
I believe that copyright should be reformed, and all books must be available for free in the digital form. If there would be fewer books, well, there are more than enough fiction books than one can read in the hundred lifetimes. Technical/science books, and crucial technical information contained in them can be made available as paid web services, or authors could be funded prior to writing it - via crowdfunding, grants, or by irresistible graphomania.
Has this worked in practice for you?
>With food, there is simply not a comparable alternative to meat.

For the fillet mignon of top gastronomy maybe not (although I can recommend everyone to try Juicy Marbles: https://www.cnet.com/home/juicy-marbles-review/).

For the burger, which are eaten quickly in between? Definitely. And that is definitely the very largest part of meat consumption worldwide. I don't think most people would even notice if the burger patty, bursting with sauce, was replaced by Beyond Meat or Impossible Meat.
The "investors" didn't invest in technological magic. They just wanted to double their coins. Just ask any crypto investor what was supposed to be the end product out of his investment.
Lotteries are a tax on stupidity and the whole crypto mania is just a big lottery run by various individuals!