skysight-inc/HackerNews huggingface dataset:
I suspect some of the JS frameworks started with a set of JS functions, etc. to do things dynamically on a page. And it grew. And then someone comes by and says "hey we're building a new app, mind if we use that?". And it was cloned and morphed. And it grew. Maybe that repeated a bit, and then someone created a framework of generic tools.

Then this happened in multiple places. Or hackers didn't like how something worked so they came up with their own spin. I believe React came out of or is strongly influenced by FB, which makes sense - a Single Page App is the design and progressively loading more ads, ahh I mean content.

And here we are building client/server apps with a technology invented for document sharing.

There are 2 frameworks solving the "keep track of state" problem on the server and allowing for dynamic/reactive UI via web sockets instead of XHR: Ruby/Rails 7 and Elixir/Phoenix LiveView. They still use JS but you can limit it to client-side things and maintain state and validations on server.
Why? Someone’s buying $100 ones: https://www.toolup.com/Milwaukee-48-73-1300-White-Vented-Hel...

And people pay for Sawstops.

It’s harder to get them to wear them than to buy them.
I think it's whatever their company pays for! If this hard hat means lower insurance costs for the company then it's just a math problem.
Dark mode turned that part of the code to gray text. The default light mode is readable even if the yellow background is a little strange.
See also: "The rsync algorithm" (1998)
https://rsync.samba.org/tech_report/

(and also https://rsync.samba.org/how-rsync-works.html)

The great innovation with rsync was the idea of having a rolling checksum. It allows:

- quickly identifying which parts of a file have changed
- efficient computation (because the checksums are incremental / rolling)
> What does Discord and Slack require that SMS doesn't? Hint... an account for a proprietary service that may terminate or delete your account and/or history whenever they feel like it.

Right, instead SMS requires you to pay a monthly subscription fee, and if you change providers and phone numbers you have to update all your contacts.

Phone number tied messaging should be made a thing of the past, it's not something to champion anymore.
> As an iDevice user that admits to using iMessage - why do you care what SMS replacement the rest of the world gets?

Because I don't want Google's messaging system adopted as a "standard". I don't want another chat protocol forced on me that will stagnate just like SMS. I don't want to involve the carriers at all.

> At this point, anything is better than SMS, and no - it is flatly not acceptable to force people into using ad-hoc communications apps because Apple refuses to play nice with the community.

Absolutely false, and I challenge the idea that RCS is "better" on the whole. RCS is not a "standard", RCS is not open source, it's literally just another proprietary chat protocol. That's not a step up in my book. It's painfully obvious that some kind of "open protocol" is not going to take hold, email is the only real example we have left of this and it's shit as well. No companies can agree and again, RCS is not open, it's effectively owned by Google. Would you ok with iMessage being the SMS replacement? (Don't waste time talking about how you think Apple wouldn't do that, just imagine we live in a world where they would).

> Obviously they are. Google makes the most prolific mobile operating system in the world, and carriers have to transport the messages. Obviously this requires both of them to cooperate.

And they make, in my opinion, a rather shitty OS. You clearly think differently (no pun intended) and that's fine but I don't want Google involved in chat. They have the worst track record as do carriers. Just look at the RCS rollout and how Google effectively owns the implementation, how is that good? The carriers refused to play ball until Google provided the implementation, why should we believe either will be good stewards of it?

> People want a replacement and upgrade from SMS - not a WhatsApp or some other 3rd party proprietary app that will go away eventually.

Look outside of the US buddy. SMS is pretty much a US-only thing and trust me, RCS is not going to bring people back in droves, they left SMS for better and they are staying there.
Rationing was at least as much about making everyone feel involved in the war effort as it was about actual material savings.

https://www.nps.gov/articles/rationing-in-wwii.htm

I tend to think the TSA measures to fight terror fall into the same category. More of a psychological operation on the public than anything effective.
If it works, there will be studies that proves it, EU will make it mandatory for companies to buy this kind of hat for their workers, the price will fall.
> more effective safety net (... payments that can't be spent on gambling)

> there's no alternative that does them better

State-run EBT cards exist and seem to be working OK.

Federalizing more things reduces people's ability to usefully vote with their feet by moving to a different State when people don't agree with State government policies.

> more stable economy (lower inflation, higher employment)

Speculative and seems unlikely. Do you have examples where a CBDC helps pay for projects better than the existing payment rails?
I remember reading a similar HN thread in the past where someone didn’t understand how you build a html form without React, and that it seemed wild that someone would consider it.

Framework, no framework, whatever works. I’m a fan of your approach. But it’s interesting to see how abstractions like react have created a class of web developers that may not know their HTML / DOM fundamentals.
The gaslighting. The usage of energy isn't the cause, its the source of the energy.

They did this with recycling too, its the individual's responsibility to save the planet, not the companies packaging their products terribly to save a buck.
Thank you for your answer and the inspiration! I'll try my best!
Frameworks solve for architecture.

When a choice is made to use a framework the choice declares the stakeholder(s) trust the framework to provide a better architecture than the assigned developers. How prolific a given group of frameworks become understates how little faith the decision makers have in developers to write an acceptable solution.
Signatures with Public and Private Key Pairs [video]
yeah that's what I was thinking. If 40k landed in my lap, my current income and burn rate being what it is, I would easily finish all my walls on my house and roof.
Pioneering study reveals best and worst jobs in UK
> Oregon does with the infamous kicker rebate.

Haven’t heard about it before, but this sounds great, not sure why it’s infamous. Sadly, though, things like that overall very rare, hence why I said “almost never”.

> But my point is more that governments (ideally) collect taxes based on projected spending (a budget), so of course spending will roughly match up with collection.

I think it’s the other way around: the budget is planned around expected tax revenues, instead of tax revenues being planned around budget. This is actually a huge difference: when there is a revenue windfall, extra funds are spent on pork or vanity projects, instead of returning them to people who they were taken from.
Capital requirements are still there. Banks taking deposits and lending it to people doesn't make something a ponzi. Having actual assets with real value and having the potential for liquidity problems is actually the opposite of a ponzi.
Sort of tongue in cheek, but the visible effects of moderation are awful in 90% of circumstances across the internet. Granted we don't see the benefit of the non-visible parts, but on reddit especially there are endless stories of communities being ruined by moderation, and moderation being used to force community behavior that suit the moderator's agendas.

There instances, like HN, where the platform isn't trying to be used for making money or pushing an agenda. Moderation on this tends to be good, but that set of circumstances is rare
Hear hear.

On an unrelated side note, I don’t post my public twitter handle on this account’s profile page, but I did on the account that bears my real name. Some years ago you followed me on twitter and were to date the only person from HN to have done so. In gratitude, I followed you back, and I have been duly rewarded by your engaging content and your explanations of the ins and outs of auth. I particularly enjoyed your ELI5 thread on oauth. I have an appreciation for DevRel I would not developed had I not been reading your tweets.

To come back to the topic at hand: Tech is for the public good. Shout it from the rooftops!
I didn't realize it was more than 50% ads, more than most websites we consider terrible nowadays.

I think one reason is that back then, it was the way of keeping in touch with the commercial offering. Now, there are millions of review websites and user groups for that. A quick search can least you to the most niche products easily. As a result, ads just try to sell you stuff you are already aware of, instead of informing you about a new product and its capabilities, making them a lot less interesting.

And even ads about shady products were kind of interesting.
At the end of the day, any sort of tax is going to generate a dead weight loss. The amount of money that gets distributed to you with a carbon dividend inevitably is going to be less than your additional tax burden or the consumer surplus from the goods and services you otherwise would have bought without the tax. Of course, you make very good arguments about why the dead weight loss is absolutely dwarfed by the negative externalities of fossil fuel emissions. Even if you don't consider climate change, air pollution is a contributor of over 100,000 deaths in America alone. However, this point is moot if people aren't willing to act on those externalities.
Tradespeople generally receive PPE from their employer, safety procurement people will be the ones making the purchasing decision about something like this. I wouldn’t do business with a contractor that doesn’t provide PPE to their employees.

A skilled tradesperson costs about $100/hr in my area, $200 isn’t a lot of money when it comes to safety. Fall harnesses are hundreds of dollars, arc flash suits are thousands of dollars.

It is about 10x the cost of a regular hard hat, but lower insurance premiums could make up the $180 difference over time.
> What does Discord and Slack require that SMS doesn't? Hint... an account for a proprietary service that may terminate or delete your account and/or history whenever they feel like it.

I'm sorry, what are carriers? Also SMS isn't some open protocol that anyone can use, there are gatekeepers everywhere for SMS. Your "account" for SMS is your carrier account.
Except Rust? We can't ignore the fact that Rust has shown that memory safety is not incompatible with low-level semantics. (Of course, Ada, Cyclone, CCured, etc. showed this much earlier than Rust.)
Throwing in my support for Krita.

I suppose it just depends on what you need in an image editor but in my opinion GIMP has been dead in the water for well over a decade at this point.

Krita on the other hand has a pretty rich feature set and seems to be more actively developed - I just wish it were more performant and a bit less quirky, interface-wise. I still use it on a regular basis though.
Came here to say the same, that was when the story went from interesting to hilarious.
How much is climate change to blame for this epidemic?
What the junk fees actually are must be specifically stated. That's why it won't work for all types of products
This is so hillarious!

> I’d rather be addicted to opium than to bloody Instagram, because at least opium makes you feel better. Max Zuckerbot or whatever his name is... I hope he’s proud of what he’s done: he's created an absolute monster.
Study on BeReal Notification Times
Definitely a good step in the right direction.

For comparison: https://www.nspe.org/resources/ethics/code-ethics

While I think software engineering is vastly different from other kinds of engineering, I can't think of a good reason that the code of ethics would be any different.
If you're a small business struggling to understand carbon offsets and removal I'll be happy to help.

I run https://carbonremoved.com/ for individuals and we're beginning to work with businesses too.

Email me at "ewan@" the domain above if you'd like to take real action towards net zero.
IIRC there was a micro-lens array between the objective lens and the sensor; each of the micro lenses added a separate, overlapping contribution on the sensor and with a bunch of signal processing magic you somehow back out the position/direction.

Reading the article, I don't at all see what the difference is between the Lytro camera and what's described there - although I'm not an optics expert.
No, it's Oracle.
To a degree that’s Google’s fault.

Every person doing a search is a data point. Every result they go to is a signal. You can use that information to do a better job of providing relevant hits to good quality websites.

Google is good -> gets more traffic -> gets more signals -> Google gets better faster.

Everyone could do that. But Google gets the most traffic. They have the most popular browser. The most popular phone OS on earth. And they pay for that same advantage from the only other popular phone/tablet OS.

If someone else was the default search on iOS they could improve much faster than they do today and be a bigger threat to Google.

So Google pays.
No, it's not. An S-curve is logarithmic.

It may mimic a quadratic curve in smaller values, but for pragmatic purposes it becomes asymptotic to some arbitrarily chosen value, in most cases.

There is no decay either, because the value of y is still always increasing.
> You would be guilty if you would allow it to freeze to death or similar.

This significantly varies by jurisdiction, and isn't settled at all. I don't think being present makes you responsible either. Unappealing as it may seem, you should indeed be able to pull up a chair, have some popcorn, and watch the baby freeze. People should only bear obligations they explicitly consented to. I don't think anyone has the moral authority to impose such an involuntary obligation on anyone else.

Modelling society as a constrained adversarial relationship between fundamentally opposed and competing groups is more accurate than assuming there is "one team" that knows a fundamental "good" or "right" and that the rest of us just need to "see it". People who perform honour killing or preside over slavery are just as sure of their moral superiority as you are. What we need is a world where we can coexist peacefully, not one where we are all united under one religion of moral correctness.
All in good fun ;)

As several people pointed out, I never said what my context for encoding recipes was, so here's a bit more about what inspired this example. I throw a lot of dinner parties, and a lot of my friends have dietary restrictions. I always try to pick a menu where everybody can eat at least one entree and at least one side.¹ I want to be able to query my recipes for "vegan-friendly" or "peanut-free". But also a lot of recipes have substitutions: if a pork ingredient can be replaced by tofu, does that dish count as "vegetarian"? Maybe, maybe not, but it'd be nice to have the option to choose.

(The other menu constraint is the cooking process: I can't make two dishes that both take the slow cooker, but I can do two that both take skillets.)

I occasionally look for recipe apps but I never find any that are good for this use case. For now I still print out recipes and put them in a binder and figure out the menus on a whiteboard. So ultimately it's more an interesting example than a problem I'm trying to solve.

¹ I love them to death but I also a breath a sigh of relief when none of my vegan friends can make it
Great point. This would be great for a net importer country like the US. Germany (net exporter) wants their goods competitive abroad.

On the other hand, if the US and other high-consumption countries collaborated on this it would probably be effective.

Like I said, I go back and forth on it. Or better put, I think both approaches are valid albeit with big implementation challenges.
This is a good start:

https://reactjs.org/docs/faq-internals.html

https://reactjs.org/docs/reconciliation.html
KeePassXC (https://keepassxc.org/) - open source, full featured, standard file format, bring your own cloud storage
https://archive.ph/VVwbl

EDIT: ah, dang, also doesn't work
I will accept boring positivity over boring negativity any day, and as dang responded, that is basically his approach here too. I think boring comments in general should be dissuaded but frankly this post on HN was never going to generate much interesting convo anyway
My point is that these companies are not ruthlessly scientific user experience optimization machines. Google burying advanced search should not be taken as evidence that users didn't like advanced search.
I find this whole thing confusing. PayPal's very name would suggest that it was initially set-up as a way for friends/acquaintances to split a bill or what have you. So why on Earth would a business use it and especially to the tune of $1.3M??? I'm not very techie so don't all scream at once, but why wouldn't a company use whatever local {Business Bank} is closest to them that has an actual branch??? Something like Fifth Third, M&T or whatever that has an actual SMB component?? I know Wells Fargo can no longer be trusted either, but surely the B2B banking space isn't as bad as the Retail side? Paypal didn't have a separate biz focus until after they hooked up with Ebay, correct? So that would suggest to me that the "holes" in their offering on the business side is very much "caveat emptor?" Or am I missing some essential part of the argument???
It depends. Azure Static Webapps + Azure Storage (tables, queues and blob) for simple js web applications. Fly.io for things that need more complex environment.
That’s the exact point - you worked through it and got a “feel” for how the variables worked, so even if you use a calculator you get a feel if things are off.

Same thing happens everywhere - people don’t understand enough to do something like ballparking some numbers to check if they’re at all reasonable - but this is useful.
I think the idea is that learning to use a slide rule results in a deeper "intuitive understanding" of what the results of calculation should look like.

Using a slide rule is also explicitly imprecise, so the user isn't expecting that the result to accurate to n decimal places. They're aware of the imprecision and are likely at least considering whether the level of precision is enough to answer the question they're asking.

If I'm looking at a blueprint as see a dimension listed as "1.5mm", my instinct is that anything from 1.47mm to 1.53mm "-ish" is likely to suffice. I'm going to want to understand how that part interfaces with others to make sure it won't cause an issue if it's slightly different. If on the same drawing that dimension is marked as "1.5125mm", my assumption would be that the person who drew it out was specific for a reason. I'm going to be much less likely to try to consider the interface with other parts because I assume that level of precision indicates that it's already been considered.

Note that the above is just a conceptual example. I'm not a draftsman, machinist, or an engineer - I've just done enough amateur machining and design work for 3D printing that it popped to mind. Yes, I'm aware that there are implicit and explicit tolerances based on the number of significant digits in a measurement. :)
How about instead of doing really dumb complex forms we put our thinking heads on and try to optimize the process.

If you type 'Tolkin' the UI could suggest 'Author' and if you click on it adds it as a constraint. There are all kinds of things you could do by having a simple switch to complex search and have interesting options with a good UI.
For those who aren't aware, in addition to inventing Rust, Graydon also wrote Monotone, the source control system whose internal design Git is based on. Interpersonally he can be prickly sometimes but his opinions are well worth listening to.
Ahh a that's probably it
My favorite video game franchise (Ys) has its roots on the PC-98. Thankfully not only the code seems to have been preserved considering Ys 1 and 2 are the games with the most ports I currently know up to modern PC era.
Bjorn Lomborg has said similar things: https://nypost.com/2022/09/06/theres-plenty-of-good-news-abo...
Why not shave a few more bytes removing double quotations around single token attributes?

Before: <link rel="icon" href="data:,">

After: <link rel=icon href="data:,">
They do pathing/differential rendering. They don't all do it the same way but one example is they build the DOM "in memory", render it out, and then when they re-render they compare they old/new html and inject only the diff. They also have built in things to make sure you don't lose focus when you add an attribute to the input (or change it in some way).

There are lighter-weight shadow dom frameworks out there (than Vue/React/Angular) so why would you want to write one yourself?
NATS 2.9 Is Out
Nah. orichalcum.js is the hot new thing. It's a fork of adamant with support for monads, generics, and native blockchain integration.
My point is that, in a thread on a story about bad internal information from Twitter, you're suggesting that Musk knew this already.

It's like I'm buying a car, and I overheard that the car's engine is one bump away from blowing up. But instead of using that information to choose a better car, or to get a better price, I instead wave having any warranty and push hard to buy it at full price. How would that make sense?

A much better theory, in my opinion, would be that Musk did not know this information. If he did, his actions make extremely little sense.
The private chats should be for non-work conversations. DMs are for private/personal/rapport-building conversations. There's no reason you can't have both going at the exact same time.
Salesforce is great, but heavily focussed on Sales / CRM part of the equasion.
I'm not sure if salesforce is able to replace other parts of ERP systems like Purchasing, Inventory management, Manufacturing etc...
ERP systems are much more vast than Salesforce (which I agree, is great in what it does, but it's not ERP)
I know there are various statutes including a presidential EO recently directing the EPA to require the addition of ethanol.

Does the actual regulation issued by the EPA require the addition of corn-derived ethanol? Or is just ethanol?
I have to say, I wasn't expecting to see the Fermi paradox brought up in the final paragraph. I think that's the first time I've heard AI described as an existential threat not because of malevolence, but because of its potential to collectively dumb down all of humanity due to over-reliance on it.
You just eviscerating an instance of a problem I see damn near every time I follow a link to mises.org, and the pattern of argument that got me to give up on ever getting value out of Ayn Rand's essays the time I gave that a shot, and you did it better than I likely could have. Thanks you, because those bug the hell out of me.

Smug-ass more-logical-than-you tone (which is itself part of the con, so you feel good when you identify with them and start to repeat their arguments, and can more easily dismiss other ideas as "emotion-driven" or whatever, so you don't slip away from the pack) while apparently hoping I won't notice the parlor tricks they pulled near the beginning where they were relying on folksy, naïve definitions of key terms, and trying to sneak poorly-justified premises past me. And it seems to work on lots of people, is the worst part. Damned charlatans.