skysight-inc/HackerNews huggingface dataset:
> I don't have a negative attitude towards the concept of monads nor one informed by its funny name (where did you even get that notion? Programming is filled with jargon).

It is a really weird idea which goes back to Simon Peyton Jones himself. Quote: Our biggest mistake was using the scary term “monad” rather than “warm fuzzy thing”.

I love Haskell, but the condescending attitude of some of it's adherents are off-putting. If some programmers don't grasp the wonder of monads, surely it can only be because they are scared of the word.
Even if everything you said was true (it's definitely not!) that doesn't explain why the web is bogged down with entirely static content being delivered with beefy JavaScript frameworks.
Because that’s what everyone else does when saying that the performance characteristics of the two should be evaluated in the same way, e.g. page load time.
But the commenter above claimed that trust in entities is fleeting? And we have proven that Apple can read your messages if they really want to. [1]

Also, if you are concerned that state will seize your server physically - then you should probably put the server to a place where it can't.

[1]: https://news.ycombinator.com/item?id=24058454
Zig Live Coding: Self-Hosted Incremental Compilation Debug Info
An addendum to the "progress" section....

SpaceX has been flying cargo to the International Space System for some time using their Dragon capsule. A few days ago they completed their first manned mission on the Crew Dragon.

Three big items from this:

1. They have a reusable cargo/crew capsule for LEO operations.

2. They have gained experience in building human life support systems and associated ground operations.

3. They implemented autonomous docking for both the cargo and crew variants of Dragon. This is one of the keys to achieving in-orbit propellent transfer. Item (2) in my original post.
Having once in a generation physical gifts is a huge amount of luck.

Most people have to cope with mediocre physical gifts that no amount of training will fix.
Sociopathy and narcissistic personality disorder on top of average skills.

My career took off when I had a particularly bad metal break where I exhibited both to a frightening degree. When I got over those I just retired with all the money I'd made.

Make no mistake, success is a mental illness.
I have no idea. There's a gazillion times more people doing video calls than make professional videos, but not all of them would be willing to pay for the software and those who are probably wouldn't pay very much. It's the age old question of whether or not it's better to sell something cheaply at high volumes or more expensively at lower volumes.
I don't think that's fair, it's not a rant and not specifically targeting OO and frameworks. It's targeting that mindset of modern PHP = PHP with a lot of unnecessary abstractions. Even when you have some experience that can get to you.

I am involved in a legacy PHP project from the early 2000s. The code is as you would expect, maybe a little bit better because the programmers involved were pretty capable, but it is code visibly evolved by first targeting PHP 4 and only then 5. For quite some time I thought that modernizing it thoroughly would be the way to go, just that it'd be too much work. Then in my day job I got confronted with a modern PHP project. Using a framework of course, written like it was Java. It was horrible. Abstractions everywhere, impossible to follow the code without getting into the details of the framework, thus very hard to make changes. That experience confirmed the decision we made with the other PHP project of only modernizing it carefully, putting the HTML in a view layer and stuff like that, but staying away from the framework trend.

So this article seems spot on to me and something that can give useful input to other programmers.
Haha, this is amazing! I'd use it in the post, but I fear it's a strawman of the Frequentist side.
Perhaps one day we will let those areas re-grow without interference again, but until we're past the expected peak of 12 billion people on this planet about 100 years from now, we're going to need every calorie we can get hold of to prevent mass starvation, considering we're also going straight into a top-soil crisis, depleting groundwater reserves by massive irrigation, and so forth.

But yeah, I was mainly referring to natural grasslands where the original grazers have been replaced by grazing cattle. De-forested land should be re-forested if it can't be used for anything else.
Interesting, thanks for the update. In my understanding most browsers now partition their cache for third-party resources like iframes, making it dependent on the combination of the embedding and embedded domains (as otherwise it would provide a trivial way to set third-party "cookies" e.g. via ETags). So if you'd load the service worker from "widgetusercontent.com" on another site, the browser would not use the cached version it has from "widget.com", so you wouldn't be able to pass the same auth cookie to your service (I haven't tested that though).

That said for your use case I think you could set a first-party cookie on "widget.com" and pass that to the iframe. That would require a script on the page though as opposed to an iframe, so maybe your service worker version is easier to implement.
They actually could require iOS among their shoppers. I did Postmates deliveries in ~2015 and they handed each delivery person an iPhone 5c with the courier app preinstalled.
> Performance doesn’t only boil down to the first page load.

For 99% of websites I open it really does boil down to just that.
I agree with you. I don't think anyone can convince me to use these bloated frameworks on any project ever again in my life.
But you still have to walk to the device - any kind of a significant distance in anything but a completely silent room turns speech recognition into a game of broken telephone. And you most certainly aren't buying something as elaborate as a doll house through voice. Voice is best suited for things you routinely re-buy, such as coffee beans, cat food, etc.

And then there are devices like watches and phones that are always on you and walking to a device is not a concern.
New York unveils landmark antitrust bill that makes it easier to sue tech giants
$1.98 per MINUTE?

I thought I'd woken up in 1980.

But I guess this is aimed at people making professional video presentations etc rather than for webcam meetings.

It seems to work pretty well, but none of the examples have any sudden movement, which is where there's often tearing etc.
lf these shoppers are really just "independent contractors" participating in Instacart's open market then Instacart is completely failing as a market maker.
Automatic Merging When Builds Pass
> But I think the best approach is a bespoke app for each platform in the own native toolkit.

Which is basically the first line of my comment and how we used to do back in the day, with common logic and those in-house "engines".
It's true that low oil prices will encourage oil fired plants to open back up,but I'm not sure that a very short term drop is going to have much effect since spinning up and down a power plant isn't exactly a short term decision.
Microservices Using Spring Cloud Stream – Code Generation with AsyncAPI
A program worth using is worth buying
> The amount of material must have been ridiculous to store in such a place.

This is a photo supposedly of the warehouse: https://imgbb.com/r4Q64xc
> transition diets towards including a significant amount of seaweed and shellfish. Insect farms are also an alternative with low foot print.

Why not just plants? We're destroying the ocean as well and you don't have to resort to insects for protein.
Your example seems pretty awful though. You'd rarely want to select element based on it's text
Don't just learn to code, learn to create
I'm still using 1Password self-hosted - works fine.
How to Monitor Kubernetes Operators by Distributed-Tracing?
I don't get the Berkshire Hathaway analogy. If you buy that stock, in what way are you not getting "1-to-1 direct exposure to the Berkshire portfolio"? You're owning the same investments Warren Buffet owns, in the same proportions, to within a rounding error.

It would be a mistake to invest in BH because, say, you're really bullish on Dairy Queen, but that doesn't seem like the mistake you're describing.
Don't. No matter how many people vocally moan about subscriptions (myself included), the fact is if you are actually creating value for users then people will pay them.

One time fees lead to bloated software, most of the money is in making upgrade versions and forcing users to pay again, which means there is a huge financial incentive to constantly add features that sound cool whether or not users actually use them.

For pricing IMO your starting sweet spot will be around $10/month. There's a benefit in charging something and getting people signed up with their card details. At some point in the future you may find it beneficial to charge $5/m to get more users through the door and make money through extras. Just my 2 cents.
Could it be the case that a bright outlook leads people to overlook issues that need to be addressed. Maybe a more depressive (or realistic) disposition motivates people to enact change.
The price of free time: programmer's guide to helping a Non-profit
If you work as precisely as you answered my question, you don't deserve the twice bigger salary.
The funny thing about these stories is that it probably can be proven, and the reason for that is that there's quite likely a text or an e-mail from some cocky idiot saying "We could make a tonne if we push the price down" or "Man I can't beleive we managed to push the price to -37, we're going to make a killing".
Are the people creating templates interested in this product, though? If I was a creator, I'd rather want to sell a premium template and get a percentage of each sale – or if they were included for free in the premium plan, then a kickback from the premium plan sales.
DTO everywhere and interfaces with only one implementation? And Domains. Because after reading 2 blog posts we're now doing Domain Driven Design!
> In all seriousness: You shouldn't remote diagnose mental illnesses for anybody.

As a counterargument: I am extremely annoyed by the people who publicly criticize the personal traits of others without even considering that they might be affected by a mental disorder.
If you do it once, it may have been an accident. If you try to repeat the success, it starts to look like intentional manipulation.
Seems more like pandering than bragging. Or maybe just lying out of self consciousness.
Ah, maybe. I didn't use OWA back then... And even now it's pretty shit (compared to GMail), so ...
Not really. Hypercard included a fully functional programming language (HyperTalk) and a simple database. It really isn't analogous to the Web.
US Army shows footage of hypersonic missile in flight and on impact
Roughly twice the amount exploded compared to Tianjin, actually. 2750 tonnes of ammonium nitrate compared to 800 tonnes of ammonium nitrates and 600 tonnes of potassium nitrate in Tianjin.

So yes, quite ridiculous.
Yep, I built a salary calculation app with Rails and React, using it as an API and it still saved me tons of time, and the business logic was well suited to Ruby with some nice unit tests
> without pulling in libraries

I don't see having these things as separate libraries to be a weakness - this way they can evolve independently from the language and can be much more specialized.
What is an example of the Liskov Substitution Principle?
If we're comparing things to how they were just a few years ago, Maps has been far worse to me than Gmail lately IMO.
The difficulty is making a weld that doesn't weaken or anneal the parent metal through heat induced material changes.

Welding thick to thin is nontrivial because of the different heat input required in each substrate. You tend to burn through the thin part.

Patching may be possible but thick patches don't make things any easier.
I thought it was just a variation of "everyone will stop working!". If a few people stop it's not a problem. We need enough productivity to keep things going but working a useless job is a problem. Working for no reason and no purpose. Work for the sake of working. Work consumes resources, we shouldn't spend finite resources on things we don't need. You can just sit there and think of something to contribute to society. That is, if we are worthy of such flattery in your experience.
I agree with the first part. We get by fine for the most part by our own intuitions driven by fear and risk aversion. We are constantly triggered into action, not persuaded -- not by ourselves or anyone. But I think the blog here is a call to be more rational. I would consider Bayes another tool out of many. Unfortunately that doesn't change how we are though. We're still hungry and trigger driven at the end of the day.

Which is why I disagree with the other thing you said. People are pretty stupid. To think you know anything without prior research is stupid. Priors need to be deliberately created (act of learning and understanding and internalizing) for a guess to be educated. Anything without we default to stupid, so most of us are stupid with most things.

But just getting by is an incredibly low bar. We have been tested however with the covid situation. But take covid. Mask wearing isn't a "priors" issue. It's the understanding of what a mask does and how it influences risk that is important. You don't need authority to understand the benefits of a mask, though once understood, it would definitely fall under "staying on the safe side with large margins".

At least that is my take.
Yeah, thanks. I know about those as well, although I haven't tried them except for a quick trial. I could see them as complementary to other exercise, but I don't think I could personally find the focus or motivation to do them as a primary thing.

The kind of aikido I did was actually fairly physical. While it's no MMA, and even something like wrestling or judo are intense in a pretty different way, it was both physically and mentally more than just a health workout for me. For me tai chi or qi gong don't fit the same slot, but for some others they might of course be the thing.

I just wanted to mention the martial arts thing because I found it to be good for general fitness and mental well-being. Venues and instructors, and their styles, vary a lot though, so YMMV.
Parys' quasi-polynomial algorithm for solving parity games, https://arxiv.org/pdf/1904.12446.pdf

Note, another implementation doesn't have this behaviour for the family of inputs I use. It's an implementation detail that has no effect on correctness. Thus for the other implementation another family should exist.
> 1-2 million is ~0.1% of the Chinese population

Amazing hot take. Ethnically cleansing millions of people is A-OK as long as your country's population is large enough. That is prime wumaodang logic.

> XJ model - integrating Uighur rapidly

The Chinese model of "ethnocide" -- eradicating the religion, culture and written language of successive minority groups from Manchu to Tibetan, Uighur, Hlai, Zhuang, Oirat Mongols and hundreds of other groups -- is successful in creating a monolithic mass of resource and people subservient to the CCP, to better enrich the CCP Beijing princelings. So understandably it is heavily pushed by media domestically and by the wumao abroad. Nonetheless ethnocide is frowned upon as a crime against humanity these days in the rest of the world (and before you go whatabout on me, yes lots of other countries did it hundreds of years ago).

> [Muslim country support for Uighur genocide is] not just lol-debt trap

It's also lol-sanctions, lol-trade-war and lol-UN-veto-power, not to speak of the CCP siccing their asymmetric warfare units on you. Muslim countries don't mind pissing off EU or US because those don't bother to get into a pissing match these days (unlike in the cold war era). Mainland Chinese politicians however, are incredibly insecure, thin skinned and obsessed with "face", so any perceived insult and they fund some rival warlord or prince to coup you off the throne...
Why Flutter is the best choice for mobile development
The article this thread is about clearly shows that your second statement is not true.
Well, we can still mitigate the risk quite a bit. We don't have to store 2750 tonnes of it, all in one place, for 7 years. That is asking for trouble.
PHP is a html template engine, so using it to create an API sounds like "The wrong way" by definition. I think you actually need these frameworks in PHP to turn it into something other than a template engine. They recompile your code, change the way it is loaded and accessed via HTTP, it's a whole different way to use the language and runtime.
This is a really complex difficult subject. All the articles on this agree that something must be done. None of them have any details on what that something is. I am quite suspicious of politicians grandstanding about this but offering no details, have they actually done their homework? What are they actually proposing? What will the consequences (good and bad) of this change be?
Just wait until a domestic terrorism incident happens. You cannot audit who has access to this thing. It's a terrifying invasion of privacy.
They are saying in that README that pyright as a VS Code Extension will be left to rot, leaving just the typechecker as open source and maintained.
It works on pre-recorded video so webcam meetings are not their target market.
> Japan is second to China in financing coal plants in developing nations.

It's hard enough for me to consider China a developing nation these days, but Japan?
Is there another programming language one can use for web development without a framework? Genuine question, I always thought that's PHP only advantage.
Rust SIMP detected
> In a workplace environment, it is completely inappropriate.

Quite. Just as it would have been vulgar to bring up the Holocaust with a German tourist in Switzerland or Italy in 1940.
Here on HN we like to complain about JS frameworks and Single Page Apps. Yes, they can be slow. But they also power some great interactive web experiences like Figma or Slack that just aren't feasible to build any other way.

The low hanging fruit here is content websites (news, blogs, etc) which are loaded down with hundreds of tracking scripts, big ads, and tons of JS that has nothing to do with the content the user came to read.

Try loading this page (which is far from the worst):
https://www.theverge.com/21351770/google-pixel-4a-review-cam...

Privacy Badger reported 30 (!!!) tracking scripts on that page. Even with PB blocking those, it still takes ~15s before the page is usable on my MacBook Pro with a fast connection.

It's just a bunch of text and some picture galleries. It loads like it's an IDE.
It's the perfect tool. I don't think I've ever said that about any piece of software before. I literally wouldn't change a thing about it.
Tool to quickly generate small SVG backgrounds
Yes and there's no socialist country that has produced Amazon, Google, Apple, Tesla, SpaceX to name a few. This platform, keyboard, routers in the middle are all US made. And there's a good reason for that
You write that as if it is a done deal. Mars' atmosphere is roughly .5% of that of Earth and almost exclusively CO2. Temperature ranges are well out of what they are on Earth. It is hard for technology to survive there, it is impossible for people to survive there until there has been an unbelievable investment in infrastructure.

If you think there will be a million people colony on Mars in your lifetime than you are not in touch with the physics of this kind of endeavor. All of our GDP for the next 50 years pooled together would likely not be enough to pull off a feat like that. The scale we're talking about here is too large to even contemplate.

10 people in a shitty little dome, maybe. Right up to the moment they die because of some small mishap.
How Debian Packaging Works
It's not that easy to reuse those because projects often differ in what they need (do you really want unique selectors for one single element?). But there are a couple of CSS selector generators, maybe you are referring to something like https://github.com/fczbkk/css-selector-generator or https://github.com/antonmedv/finder?
What's your definition of non-violent? I think the following bad behavior deserves jail time:

Signal man distracted on TikTok causes train crash

Fraudster electronically steals retirement savings

Pedophile gets child to do stuff over the internet

Driver repeatedly drives drunk, though never hits anyone
The browser dev tools warn you about it (with links to how to fix it) and I think if you’ve got the change they also tell you which cookies have been blocked. I don’t mean that to sound holier-than-thou, even with the messages I spent a couple of hours last week debugging the exact problem you mention on an internal tool.
Looking at study #2...

I immediately notice that the study is funded by the American Federation of Teachers. That makes it credible like a smoking study funded by tobacco companies. This should not be getting served by a .gov web site! I also see that the authors have highly biased credentials, and that none are related to economics or statistics.

It says "Moreover, using models that estimate the spending levels required to achieve common outcome goals, we find that the vast majority of states spend well under the levels that would be necessary for their higher-poverty districts to achieve national average test scores." which is technically true because the needed funding is beyond infinite. No amount of school funding can fix bad students. The study's comment that this "would likely be a multi-generational effort" can be seen as an admission that the funding won't actually work.

The claim that "there is now widespread agreement" that the schools need more money appears to be an argumentum ad populum.

I see a repeated claim that schools serving students with poverty need more money per student. If true, this proves that money is not the problem. Bad students are the problem.

The "progressivity" idea throughout the document is really disgusting. The idea is that problems unrelated to school funding could be fixed by throwing more money at the problem. There is the assumption that we should prefer spending money to educate people who don't want education over spending money to improve the education of people who actually want it. That is wasteful.

BTW, regarding the actions that a school district would take regarding destroyed property, it's not a hypothetical. I think it was last week that I had a teacher explaining it to me, but I can't find the comment right now. The kids were tossing them down stairwells for fun, but I don't remember the brand of hardware. I've also known teachers, not just from my own childhood but as an adult, and it fits. Schools are horribly mismanaged. Bad management shouldn't be rewarded with larger budgets.
But compared to the lottery, the skills needed to exploit the right place and the right time are not trivial to learn.
It's common enough many American backpackers in hostels introduce themselves as Canadians, saves them the hassle.
I didn't! They were the first in my 'to outlaw' list :)
The solution to notifying companies via live chat agents is to format your message like this:

> I have a technical message for the person or team responsible for building the XYZ website. Please ensure the following message gets delivered to them. Not acting on this message could cause the website to stop working entirely.

> [Technical details]
True, but same goes to hosting your own server.

And I would bet that a team who's job for many years is to ensure the safety of your data will do a better job at it than 99.9% of users that host it themselves.