skysight-inc/HackerNews huggingface dataset:
Having a good way to compose stateful behaviour in React components is really useful. The alternative is a mess of higher-order components which quickly gets very annoying and tedious. Hooks provide that ability, and they make a lot of cases much easier to write.

Hooks also have some behaviour that makes them harder to understand in certain situations. Closures are quite easy to get wrong, and handling callbacks is quite annoying because they're not stable by default.

I think the timeout example is not ideal, it uses useEffect to handle an event, which is not the way this is supposed to be done and which does lead to various complications. But timeouts are the kind of thing that is much more difficult in hook-based React than it should be. But I don't think this is representative, it's a bit more like a worst case for React for things that should be simple but aren't. You don't write timers all day, you put this in a hook once and write other stuff.
If startups have their funds in SVB, which most do, and they can't wire those funds to ADP or whatever there's no payroll. I know this first hand because when I had a startup we wired upcoming payroll to ADP every two weeks. One week our bank (not SVB) made a mistake and payroll didn't go out. It was a mess but thankfully BofA bent over backwards to fix things.
> Well, who wrote before 1952 about learning networks?

steps which you referred not from 1952.

> Where is the prior art to SNARC?

We don't know what was the SNARC so can't say if there was prior art.

Any other fantasies? :-)
I guess you are on a different level of abstraction that I am.

It's clear the art AI's have a model of "van gogh's" style, and apply it to create very unique forms of art. The neural model weight's aren't storing compressed images of van gogh, but relationships and mathematical models about a concept.
I love that the license includes the phrase “internet randos”.
During the original hype over hooks, I vividly remember thinking: 'I wonder how long we'll wait before these too are reviled.'

We're getting there.
Practically every single bond - which banks effectively have to buy and hold for regulatory reasons - has reduced in mark-to-market value every single day the last 2 years.

Personally I think they are nuts for having (reportedly) such a long average duration of bonds in their portfolio, but they were also paying a pretty decent interest rate on savings to their customers - that money has to come from somewhere.
Surely a newer modestly sized hybrid SUV burns far less fuel than a 30 year old sedan.
So what's the idea then? Let's vandalize vehicles in the upper 20% of fuel consumption? Why are pick up trucks not top of the list?
Editors change authors words, more at 11.
Here is the repo: https://github.com/emdgroup/foundry-dev-tools
Disclaimer: I know next to nothing about the financial system or banking inside baseball. This is just one founder's reaction to the whole mess.

We were reluctant to move our funds most of the day yesterday. Felt like a lot of dumb panic. We had emails from a few investors, most saying "stay calm" but one saying "move your money to this bank that I'm invested in!" ugh.

We decided near the end of the day to move at least half our funds (in a money market) out, but by then it was too late to initiate anything. Now we're finding this morning nobody at SVB is returning our calls. We are able to log into the online portal just fine. So not sure if/when we'll be able to to move anything.

Annoyingly, we're moving it because everyone else is moving it. I know it's a really dumb, self-fulling prophecy but at this point you don't want to be the last in line.

Note: I'm still not actually worried that our money will evaporate permanently. But I can definitely see a situation where it is inaccessible for several weeks, causing issues with payroll and operations. I expect worst case a large bank will swoop in last second and buy all the dumb investment vehicles/bonds for pennies on the dollar and then our access to cash will come back.
an imessage group chat is the best social network there is. I have a handful each with a different circle of friends and topics. No ads, no algorithm, it works perfectly.
There’s no free rent at a casino unless you are proven to be a gambler though - or am I mistaken.
Try Operator Mono Lig -- beautiful & readable italics for code styling.
Do you mean in order to detect whether students are using them? I haven't heard of ChatGPT being used in education at all, tbqh.
Unfortunately SoloKey doesn't work as an OpenPGP smart card, which means it's not a real substitute for a Yubikey. I haven't had any luck with resident FIDO2, either.

The Solo team believes that other functionality such as PIV overlaps with GnuPG use cases, so that OpenPGP isn't a priority, and their work on that functionality appears to have stopped in 2021. That's too bad, because OpenPGP's network effects far outweigh its pure functionality, which means a technical substitute isn't a substitute.

https://github.com/solokeys/openpgp
"Mr X is an experienced software engineer with over 500 connections". ChatGPT learns from the best bullshit as well.
A mental health tele health startup. Hey these people are anxious/depressed/bipolar. Wanna sell some “solutions” to them? Maybe this explains some of the (questionable legality) drug ads I get bombarded with on Facebook because I was a cerebral customer for a little bit.

I gotta say their “counseling” was hilariously bad and made me cancel it but keep the prescription with my GP. It was like a call center worker reading off a paper giving you “therapy”. I did it twice and was like this is a joke
Yes. But not from government.

Silicon Valley and their VC-funded startups just crank out tech monopolies or fodder for them to acqui-hire. We saw this before: AOL, MSN, etc. dominated and everyone dialed in, until the Web came out. Then suddenly AOL got “super nice” and started giving out 100 free hours, then 200 then 1000. Then they imploded. Why? The end-users didn’t lead the exodus but the businesses and organizations did! The ones producing the content at AOL keyword:NYTIMES much preferred to invest in Wordpress to power nytimes.com for this new thing called the Web Browser based around an open protocol HTTP.

Silicon Valley needs robust OPEN SOURCE competition. Too many people in the valley (and by extension on HN) love to centralize things in too-big-to-fail server farms, corporations, banks. It’s an old boys club, with the hubris that they can control the world. And they crank out AI behind closed doors, sit on each other’s boards etc. All the while they have come to control our public forums (Zuck and Elon and Larry and Sergey and Bezos and …) They have employees and want people to come into the office. And yet one engineer serves 1 million people. Where’s the service in that?

I much prefer Tim Berners-Lee and Linus Torvalds and Vitalik Buterin. Mayt Mullenweg. If something happens to those guys, the platforms they made don’t miss a beat. No single point of failure. No bottleneck. And best of all, ANYONE can adapt it to their own needs, and it’s free!

We don’t need government intervention. We just need to opt out of the profit-driven silicon valley old boys club and band together to build open source solutions to replace them. The best thing Netscape ever did was open source their browser before losing the battle to IE and M$FT at the time. That’s what led to choice in browsers, via Mozilla, Konqueror, WebKit, Blink etc.

I wouldn’t mind if we had exactly ONE target platform (eg Blink) as long as it was open source and managed collaboratively and democratically like Apache or Mozilla. But closed solutions from Silicon Valley are toxic to human flourishing. They have to be all things to all people while extracting rents forever to please their parasitic shareholder class, who bought shares at $200 and is willing to externalize costs to people and the environment just so they can make the shares worth $300, and so on forever. The whole system is dystopian.

Now we need to disrupt the Big Tech monopoly with open source. We need to move the people of the world from digital FEUDALISM to a FREE MARKET:

https://qbix.com/blog/2021/01/15/open-source-communities/
Show HN: I made an open source tool for transfering data
Data Source/Destinations currently supported are:

1. Local file system
2. Remote file system
3. Amazon S3
4. ADLSv2 Blob Storage

though I intend to add more in the future, as well as expand this project beyond just data transfer.

Check out the simple example within the repo's README to see how it works, or better yet, go through the docs: https://fluke.rtfd.io
It cannot be a pure coincidence that the current "If books could kill"[1] podcast cover "The Coddling ...". very pleasurable, laugh-out-loud listening.

[1]:https://podcasts.google.com/feed/aHR0cHM6Ly9mZWVkcy5idXp6c3B...
It's gets worse because human intelligence exists on a normal curve.

So is the AI smarter than "most" humans, "some" humans, or "a few" humans ?

At any level of that, you have a paradigm shift affecting millions to billions of people.
It's always cheaper, but it breaks theirs terms of service, and they may block you at any time. Not something any business will take lightly.
When designing new systems it is best to clearly define the expected units for everything clearly at the start. SI units are great but sometimes they are not great for the specific use case. When measuring high power systems like power plants or EVs kW/MW/GW are a more appropriate unit versus Watts. In embedded systems you have limited bandwidth having to have large variables just to store values in SI units is a waste versus using an appropriately scaled unit and saving bandwidth.

Overall the conversion of the unit isn't the root of the issue. Clearly defining the data types and units of everything is the key issue. This makes sure any conversion is done when necessary and allows people to design systems so that they can avoid conversion if possible.
The Muji ones cost considerably more than the cheapest similar notebooks from eg a supermarket.
The Economics of Train Crashes
The certs are just an alternative to managing the authorized_keys server-side. That's it. What you said about MFA and not getting long-term secrets is some extra thing on top of it and not invalidating your parents point.
Just raise taxes on the 1%

/s
Individual user benchmarks on github and 2-3 blogs.

Not super scientific, Im sorry to say, but methodologically benchmarking this is really hard.
Depends if the font is $1200 or $20...
Does not fit in traditional media indeed. When I was a kid/teen, Discovery Channel, at least in my native Netherlands, had some interesting content. I could also gobble up something like How it's Made all day.
Content like Tim's could definitely fit in there too.

YouTube enabled everyone to publish this type of content, for good and bad...
In my opinion in most cases it's neither worth the price nor worth the effort to use paid fonts on a website. There's a huge amount of fonts for free on Google Fonts. Also, yoou are allowed to host them on your own server, so there's no privacy issue.
> I think is a vastly superior approach to TDD, which assumes how an API is going to be used

I think this is a function of how much you're designing up front, not of TDD itself. The stuff you design, you write tests for and then build. How much you choose to design up front (maybe almost nothing) is up to you.
This! I've had to step up for folks in the past who were perceived by someone as "phoning it in" by calling out that the person frequently shows up before 6am
We work in the same industry. While I do make more money, that is primarily due to being older and having a little more experience. She makes decent money.

The lesson here might be that having more fucks to give does not necessarily lead to better performance reviews or more promotions. Or equally likely, my wife is smarter than I am and is able to exceed expectations with far less effort.
Oracle will sell you a perpetual license that you own forever.

Most foundries won't do that for fonts (at least for web).
do European schools similarly invest endowments and use the gains on non-academic pursuits such as medical centers and sports facilities ?
"decentralized, text-based social network" just sounds like IRC all over again.
That sounds like vertical slices.
One of the promises of using hooks was that you wouldn't have to care about things being recreated every render. Gone were the days of complex update logic in lifecycle methods like `componentWillUpdate()`, `componentWillReceiveProps()`, `componentDidReceiveProps()` etc. Now you use clean, functional components everywhere, even if they needed local state. No kludge, just clean code.

But most of the production functional React code I see is sprinkled so liberally with complex `useCallback()`, `useMemo()` and `useRef()` calls to prevent unnecessary updates that it seems just as bad as before. Worse, sometimes, because the hooks pattern can encourage more indirection. I still find myself thinking all the time about object references in state, cloning vs. mutating, dependency arrays with 5, 6, 7 distinct dependencies.

Honestly, I don't know if it's any better than it used to be. At least the `componentDidReceiveProps()` logic tended to all be in one place.
This is a very easy thing to say. However, I suspect it often does not pass the 'when the rubber meets the road' test.
Show HN: Generating Flashcards with ChatGPT
Showing a correlation without investigating the paths of causation is like blaming life for death.
Hooks are often side effects (but not always) and that sounds like "imperative" programming, but actually the side effect is what is inside the useEffect hook, not so much the hook itself.

The component is still a pure function. It "returns" side effects without executing them, just not as the function return value but through a side channel. But that side channel is sort of a clutch to achieve a pure relation from input to output, just that the output is now a return value from the function plus the sideeffects, which may be executed or not.
"It's just a parrot" parroted repeatedly to suggest a lack of deeper understanding, while revealing the same.. So meta.

The general reaction of people to all this has been one of the most interesting things about it imo. Earlier versions were generally just fun and sometimes amazing but suddenly so many are going out of their ways to play it down. Of course there are valid criticisms and worthy discussions but some of it feels like more than that.

I think one side of it is that for the first time many people are genuinely comparing bots to humans, which by itself is kind of mind blowing.

Another side seems to be more about "controlling" something new and scary. Maybe that thing is tangible, like the tools themselves, or maybe it's just the idea that we're not that special.
Imagine if the French - or the Founding Fathers - had waited for their populace to reach some artificially high and fundamentally undefined level of education before instituting democracy on the idea that democracy presupposes education.

This would rightly be understood as a shallow hold-out. ... and they would probably still be waiting today.

Education is hard work and does not happen spontaneously. Good governance can facilitate education. But people should always be assumed to be capable of judging their informational environment independently of formal education. Not to do so would be deeply paternalistic and infantilizing.
The best we could possibly achieve in regards to "fairness" is a representation of ourselves which of course isn't necessarily fair.

"We are faced with an unresolvable paradox. As there exists no unbiased observers to monitor and tweak the system. We haven't escaped ourselves as we have only ourselves to attempt to refine the AI system"

https://dakara.substack.com/p/ai-the-bias-paradox
They'd have to keep you employed to manage the hardware. What happens if you get run over by a bus (which I never hope will happen)? What happens if you decide to move to another city? There are a lot more "what ifs" by employing you to build and manage the hardware.

Saving $100k would not be worth the hassle/risk for most well funded startups.
The Reason Amazon Just Called Everyone BTO – how scary it is
Latin America Drove U.S. Immigration from 1970–2019
You're probably right, seems like there hasn't been any new ones since the original influx.

EDIT: never mind since posting this there have been a few more.
Fonts still being able to make money makes me think that all this AI art generation probably won't put artists out of a job. Surely we have enough fonts at this point to be a 'solved' problem, and yet somehow people keep paying for it.
It’s kind of amazing how wrong the author is here. Any comparison to crypto bubbles fails when one digs anywhere below the surface level. Crypto was a solution in search of a problem. Machine learning is a collection of techniques specifically designed to solve problems. That’s why it was used long before your grandma knew what ChatGPT was, and ML will continue to be used even if OpenAI shuts down ChatGPT tomorrow.

I will say that crypto is a big reason why AI is blowing up, though. It primed people to believing in tech-backed get rich quick schemes. That’s why I avoid all ex-crypto “entrepreneurs” turned AI aficionados who couldn’t backpropagate their way through a paper bag.
This is the same line that made me scratch my head. I'm a non-network guy who has been stuck migrating our phone system from PRI to SIP, and every time I think I get it done, I have to buy another license from Cisco--that our resellers didn't tell us about at the beginning of the project. The latest issues is our voice gateways need a special security license to handle TLS. Outside that, cost per usage is one of the most common cost metrics I've seen--sure if its SaaS it seems directly related, but this is for on-prem licensing--I get the exact same application, only I'm licensed by how much I use it, like the authors font licensing complaint.
My impression has always been the limit has been designed to accommodate a "worse case scenario" where many, many banks need to be saved.

If it's only a handful, it's in the gov't interest to ensure that businesses and people don't loose their savings.
The other day I created a backend using Redux and RTK Query...
A federal rescue is fine by me, as long as the government turns a profit (like TARP), and the investors/management get clobbered before anyone else. Otherwise we are just encouraging more bad behavior.
Yeah, it got much better now.

But since react query and swr I think most applications don’t need state management anymore.

If you have complex state, it makes sense. But just to fetch/refetch some queries redux is overkill.

Most redux (and also angular ngrx/ngxs) projects I’ve seen, are just over engineered. They solve an easy task in a very complicated way.
For conventional relational databases like Postgres, multiple nodes only give you reliability, not performance (ignoring things like read-only replicas which your application explicitly has to choose to query), so horizontal scaling doesn't help there.

Enterprise-grade SSDs is what I meant by direct-attach storage - I was comparing against network storage which is what all cloud providers use (your EBS volume is accessed over the network internally, which incurs some latency, ultimately limits IOPS and destroys random access performance which can't be cached or read-ahead by the underlying hypervisor).
I would argue 'not exactly'.

Technically, React was the mistake. Eliminating React would prevent React hooks from existing in the first place.
I also didn't realize I was looking at the numbers for a hybrid
FTC Enforcement Action to Bar GoodRx from Sharing Consumers’ Sensitive Health Info for Advertising [2023/02/01]

Under proposed order, GoodRx will pay a $1.5 million civil penalty for failing to report its unauthorized disclosure of consumer health data to Facebook, Google, and other companies

https://www.ftc.gov/news-events/news/press-releases/2023/02/...

GoodRx Response to FTC Settlement

https://www.goodrx.com/corporate/business/goodrx-response-to...

FWIW, I used to work in healthcare IT, mid 2000s. At the time, it was understood that sharing data for the purposes of marketing and advertising was illegal.

Also, being a geek somewhat familiar with stuff like tracking pixels, I'm still not sure what to make of GoodRx's response.

If I can't make head's or tails of this case, what hope does a layperson have?
The parties that want this are government agencies that want more power.
Perhaps the companies that plan to support the government agencies in this work.

There is a lot of money and political power that wants these laws. But they don't seem likely to be running any campaigns as obvious as astroturfing.
Isn't it more likely that the new commenters are people who want to remain anonymous?
I feel like you have a unique perspective to offer here - though at the moment I disagree given the lack of detail.

What about the specialized services from AWS provides leverage outside of the “cattle mindset”?

In my experience, AWS’s primary value and leverage is based on intermittent burst compute. It’s why you rarely get a hard answer on the Hz of each vCPU and have credits to the overuse or underuse of said instances. The cpu is then used to arbitrage value in the dedicated services like lambda and others - so your mindset and infra needs to match AWS’s incentives to get the same value, correct?
Ask HN: How do you implement modal images?
How do you build the modals to show expanded versions of images when you click them?

I've become opinionated on this. My guidelines are:

1) Use most of the screen available, something like 90% width/height.

2) Close the image when clicking ANYWHERE on the modal. This includes the image itself.

3) No need for a close button.

This allows more viewing area and easy closing method if you know that you just have to click anywhere to go back to what you were doing.

Sites like Discord make it tough on me because they restrict the viewing area too much, they don't expand much. And this is because they expect you to click on the surrounding area to close it. If clicking the image closed it they could expand more.

4) Have a button to expand images vertically.

This is for very long images.

I show first a normal version of the image where it is completely visible, but maybe hard to read. If the user chooses so they click a button which expands the image vertically and allows the user to scroll to read the image.

I experimented with expanding vertically automatically but I found this to be not very natural, as I expected to see the "whole picture" first.
Wow, that's an insane request for a director. Even at the management level, unless you have a specific, obvious "dual role", this borders on inappropriate.

The company in the first case was the closest to correct. If you really weren't sacrificing your commitments, then they're being unreasonable, but I can say I understand their perspective.

So many engineers move to management, yet want to remain "hands on", and won't let go. It's obnoxious and frustrating, when they inevitably have their heads spinning from meeting after meeting, and no time remaining, but still insist on trying to help.

Simply looking at code output and calling it a problem to produce too much is hilariously shortsighted, but I can see how someone with some bad experiences could trend in that direction.
You're basically describing Redux connected components.
Mercury has partner banks though, so you are still banking, just through an intermediary. The banks still hold the funds. (Depending on the product you use).