skysight-inc/HackerNews huggingface dataset:
Sometimes you would like to return out of a series of hooks calls early or throw to an error boundary. That also leads to conditional calls.

Example: you have a {data, error} = fetchData() and then a useEffect(..., [data]) or 3. It would be very handy if you could just throw the error before the useEffect because you already know it's going to be irrelevant.

So then you put everything after in a new component (because that can be rendered conditionally) or keep checking for errors throughout the effects code. Both are kind of meh.

I'm not sure if this could maybe even work, actually, because there are no real out of order calls, only incomplete calls? But rules of hooks say no, and I have gotten the "hooks called out of order" error for it.
Get ready to phase-out your lifestyle, then.
Inflation is happening. Investors are buying houses before the inflation hits the home housing market.

Some people think inflation won't happening. These investors are betting incredible inflation, because this may be the first time where large scale investors are buying houses individually (except 2008 mortgage crisis).
My emergency backups have emergency emergency backups (but those do not have emergency emergency emergency backups).
I think what you are saying is probably correct, but remember what happened to MS and IE. IE was never forced, and other options weren't blocked. The issue was bundling and inability to uninstall due to tight coupling. Both of those would apply to iOS though the details and current political landscape would probably give them a pass.
Shipwreck survivor reunites with her rescuers
Didn't the idea start on Something Awful or another site like it? Do they still run their secret Santa?
I'm a little younger, but got into programming/OSS on a similar timeline. Notably, my dad bought the FUD about the evils of Linux so I wasn't allowed to attend a scrappy LUG in '96.

To geezers like us, the elephant in the room is this article being hosted by m$. And honestly, I still can't fully trust that this isn't the Embrace phase of a long game. For the ultimate cognitive dissonance, I'd even work there because I like how they treat their employees.

On the other hand... whose screen should we be throwing sledgehammers through? The internet enabled an absolute explosion of tech, but these days it's nearing impossible to live without a smartphone. Governments tacitly support Apple and Google's monopsony to distribute apps to access government services.

Back when it was just nerds on the net, we controlled our digital lives. But today, the rug has been swept away and... the impact of our sledgehammer only isolates us from the non-nerd friends and family.

And I'll say it... if I brought a modern phone to a LUG in '96 with Candy Crush on it, y'all wouldn't get anything done for a month. It's not just resignation. Contentedness is a problem too. So I support the OSS devs I can.
> start-up scene and other non-polluting sectors of its economy

Because all modern-day chip are so much environmentally friendly...
Building codes are written in blood.
Plan 9, OpenBSD
curl is for examples on HN. In practice, I never use curl and I never send a user-agent header. If use -H"User-Agent" (no space after the H) it should work fine. Example below. I cannot even think of a single website that requires a user-agent header in order to retrieve a page, but if you send one it will likely be used for something. Fingerprinting, changing the "UI" and blocking are a few uses that come to mind.

curl -H"User-Agent" https://www.wsj.com/amp/articles/if-you-sell-a-house-these-days-the-buyer-might-be-a-pension-fund-11617544801 \
|grep -Eo "(<p.*<\/p>)|(<h[12].*</h[12]>)|(<a href=.[^{].*</a>)" \
|tr -cd '[ -~]' > 1.htm
firefox ./1.htm
The custom backgrounds are only good for hiding the actual background of your room. I normally use the blur filter for that, it works more naturally.
iPads can already sort of control a Mac via Sidecar. Not entirely the same thing but it's there.
It's just a arbitrary rule comfortable for Apple.
Ha yes. We had same reaction. But it is what the market is pricing probabilities at. And if you see the returns market has been right so far.
We are also skeptical. But numbers don't lie. I think it is a good way to size how much to buy if you really want to buy GME. Don't put all your money in but limit it to 10% as Kelly suggests
Japan traditionally had a caste system where certain people were restricted to certain neighbourhoods. There was a lot of official effort to break that up after the war, but you can still tell which neighbourhoods are which.
It will be bad for the permanent wfh employees. While they are eating lunch at home, their coworkers will be grabbing lunch with the boss, building those relationships, and getting all the promotions and raises.
Isn't that the reverse of big tech companies taking free labor? That sounds more like they're giving more free labor, because they can afford to.
> Taken together it's difficult to see how home values will be allowed to fall.

If you allow increased density, and you use it to provide actually valuable homes (rather than studio/one/two bed apartments or the like mostly intended as a store of wealth), then land value can go up while unit value goes down.

This means people joining the market can buy for a couple of years salary, while people already in the market can exit and downsize for a decade's salary.
If it's your own EC2 instance and you're not using a load balancer then why can't you just use Let's Encrypt?
ivermectin is primarily used to combat parasites.
the dose required to perturb the mechanisms contributing to covid infection are toxic.

https://en.wikipedia.org/wiki/Ivermectin
https://news.bloombergtax.com/daily-tax-report-state/u-s-cit...
> Most of Canada, outside of Alberta, has long transitioned away from extraction dominant industries

And yet, Alberta was the most economically successful province, literally subsidizing all others. Go figure how the service transition worked out...
Apple and Google dominate the mobile OS market with iOS being on 60% of devices in the US, and 40% with Android. Apple is responsible for 100% more sales in the mobile app distribution market compared to Google, but together they're responsible for over 99% of all mobile app sales in the US.

Read the definition you quoted from the FTC. Apple and Google are a group of two firms with monopoly positions in the mobile OS market and the mobile app distribution market. Google is even forcing developers to use their payment service on the Play Store and to give them a 30% cut[1] of all app sales to match Apple.

[1] https://www.cnbc.com/2020/09/28/google-to-enforce-30percent-...
My wife and I got COVID twice 9 months apart last year. The second time my wife ended up in the hospital.

We both got vaccinated as soon as we could.
Our initial idea was a platform to digitize the restaurant cookbook! We wanted any chef or restaurant to be able to publish recipes and other food content on our platform.

For consumers, this would be a curated recipe platform with recipes from the best chefs as oppose to random users. For chefs and restaurant owners, this would give them an outlet to publish recipes and promote their work without the need to sign book deals and contracts that are often very unfavorable (unless you're already a celebrity chef).

We tried pitching various iterations of this idea to get restaurants onboard, but unfortunately we weren't able to sell them a platform that didn't immediately boost sales.
In short-term inflation risk.
As a "coding" teacher I would stop teaching how to "code" and start teaching how to think and solve problems.
I have a friend who works for two unicorns remotely in different product spaces (with their approval) since he left school.

He essentially lives in a hacker commune, has been pulling in a half million a year, and plans to retire in his mid 30's and live off of the interest.

I envy his resolve, but it's certainly not the life for me.
Then people should start explaining how free they are from regional dealerships.

Apple 30% cut is for developer access to the Apple cultivated and exclusive selection of customers.

They built the platform, infrastructure, distribution channel and trust of the users, creating a market where there was none.

One can argue that a 30% margin may be too fat, but considering other industry margin and that Apple consolidates in that margin logistic, distributionship and dealership I haven't yet seen a convincing case comparing it fairly to other industries

But still, exclusive distribution rights are neither unheard of nor have scores of people up in arms about them restriction people from of choice, so why is Apple singled out and targeted?
'Miraculous' mosquito hack cuts dengue by 77%
We didn’t “hate” proprietary code (it often came off that way, I’ll admit). We did think it was morally wrong to make money off it. We thought it was like patenting the Pythagorean theorem.

So really, you think “building things in general” required . . . what? Calm acceptance of restrictive licensing and software patents? Or maybe we should have been nicer about it? Again, it’s like “building things” must be properly done the way we currently do it. With lots of lawyers and lots of EULAs.

This strikes me as a profoundly conservative position. How rude those Jacobins were! If only they were more polite. If only they had recognized that we live in the best of all possible worlds . . .
Smart contracts are perhaps the most oversold part of the whole block chain concept.

What works for digital products (service contracts, financial transactions, data delivery) cannot always be mapped to the physical world.

There are some interesting concepts that deal with trust and verifiability of data entry, scanning, and sensors, though. They just don't have anything to do with smart contracts or block chain per se, though they borrow some high-level ideas from it.

But this an area where block chain in general has no place and other mechanisms (simple rule-based plausibility checking, automated anomaly-detection, etc.) are much more helpful. The physical world requires different approaches.
> Alberta fundamentally has to shift gears - just like Saudi Arabia.

The only problem here is that Alberta was forced to give up all its money in equalization payment, and has none left.
No, their job is to maintain inflation as close to 2% as possible.
> it just seems so trivial to me too build a small interpreted system that circumvents the "no dynamic JavaScript" rule

While it's possible to build an interpreter in JS, doing so in an extension is an unambiguous violation of the Chrome Web Store Developer Program Policy. The goal isn't to make abuse impossible so much as to limit potential attack vectors in order to make enforcement more tractable.
True. Correlations are not modeled in here. And the fact is once shit hits the fan all correlation converge to 1.
This is not a tool for helping you with that.
All it does is tells you - don't put more than x% in this stock.
It answers a very specific question --- I like XYZ, how much should I buy?
It doesn't cause a shift into renewables. The providers along that pipeline might simply be fucked. The regional and global rate just stays more attractive to the more vertically integrated players.
More specifically, the environmentalists are censorious, using their downvotes liberally (really, illiberally) to suppress dissenting views. This makes it hard for dissenters to even discover the presence of other dissenters.

Meanwhile, the dissenters are less censorious and more oriented toward discussion, so they don't downvote opponents as much.

The result is a heavy--and obvious--bias.

But according to dang, because people on both sides perceive a bias against them, HN must be unbiased.

It's kind of like that theory about vegetarians causing everyone else to eat vegetarian: it's too much trouble to cater to both, and vegetarians refuse to compromise, so everyone just gets vegetarian food.
> Alberta should obviously have been more diligent in saving up oil revenues generated

It was literally all stolen by the Federal government through equalization payment. Can't really blame Alberta here...
> Everything of value related to reddit comes from the users.

Truth.

It's amazing how much goodwill Reddit had as just a "dumb host" for forumlike communities, before things like the comically bad single-page-app redesign and the stupid decision in the OP article.
I wish society learned that there are things more important then corporate efficiency. Maybe optimizing for our quality of life should take precedence over squeezing out that last 10% of work effectiveness.

I recently read Russel Bertrand's essay "In praise of idleness", he made this observation that work efficiency dropped during the world war but life still went on. This was from switching to production for the world war over consumer stuff. His overall point was we should have kept the same amount of consumer work we were doing but get rid of the war production and just kind of chill and enjoy life. I think there's a parallel to the pandemic, where we made this big adjustment, maybe we were less productive, but with wfh quality of life went up in a way. Maybe we are OK with less effectiveness. The world as we can see didn't end, despite a decent effort.
The fastest, most effective way to transition from fossil fuels is to limit their supply. Any parent knows you can read all you want about how to raise a child before it's born, but the real learning starts at birth. Within seconds you learn more than before when it was abstract.

Likewise, to learn to live without fossil fuels, shutting down supply will lead us to face the actual problems we have to solve, not theoretical. Obviously, don't shut everything all at once, and protect the helpless, hospitals, and necessary things.

Among the rest of us, no one will be injured. Entrepreneurs will innovate. Inconveniences will lead to learning and life improvement.
What made you 99.99% before reading this? I have seen plenty of experts saying that they don't know how long immunity will last.

Anecdotal data: my wife and I got COVID twice 9 months apart last year. The second time my wife ended up in the hospital.
In my opinion, people should not accept to do this kind of work, but I understand that societies tend to be structured in a way to push a lot of people to work like slaves with the illusion of freedom.

But that's an other story.
Google’s AI approach to microchips is welcome – but needs care
Non-engineering stuff, typically. Cafeteria workers, security, etc.
> If the US economy is weaker, while other economies are getting stronger, our influence in the world will be impacted (economically, militarily, culturally).

To many people, that's a feature, not a bug. (The CCP being one of them, of course. The implications of domestic powers aligning with the CCP are left as an exercise for the reader.)
As seen in "The Martian" by Andy Weir. (Spoilers!)

> “At the microscopic level, the protein cubes were solid food particles suspended in thick vegetable oil. The food particles compressed to less than half their original size, but the oil was barely affected at all. This changed the volume ratio of solid to liquid dramatically, which in turn made the aggregate act as a liquid. Known as “liquefaction,” this process transformed the protein cubes from a steady solid into a flowing sludge.”
The job market is really tight, and if others offer near-Facebook-level comp with WFH, they have to compete.
Many of my best friendships were forged online, often in groups collaborating on doing real work.

I have not been able to get any such spontaneity during remote work with my group or division at a large tech company with mostly young coworkers. I haven't been able to figure out why.

> the “oh no! I despise slack” group

Chat can be super useful, but can also create a nasty interruption culture. I don't know what the tools are to turn chat into a value-adding thing, but I don't think they're in place yet.

It pains me to see the number of people who reply quickly to chat messages all day in order to show they're 'working' rather than doing their jobs.
Speaking as someone who now works remotely permanently, this has been... life-changing.

So for 10 years I lived in NYC and--don't get me wrong--there are lots of things I liked about NYC but I'm so over the summers and the winters. Also bear in mind that I think NYC is infinitely better for most people to live in than the Bay Area.

But I now live in Florida. It's about the 182nd day in a row where it's been 70-80F. Sure it's humid and that may sound weird after the comment about NYC summers but NYC summers are a special kind of hell beyond the heat and humidity. Here there's usually a breeze. I've been here 6 months and I don't even use the AC.

Add to that that for the same price as my 50 year old 1 bedroom in NYC I now live in a 3 bedroom duplex apartment. I spend a ton of time outside and this has greatly increased my mood and wellbeing.

There are things I definitely miss: camaraderie with my coworkers, free food and the like but honestly I'm just over going into the office. I'm not sure I'll ever do that again.

The ability to live anywhere in the country just opens up so many possibilities.

It's worth noting that this doesn't enable a true digital nomad lifestyle if that's what you want. That's because you still need to be employed somewhere and you and the company are subject to the employment rules (and taxes) in that locale. Maybe that will change in the future.
This reminds me of this video[0] of a philosophy teacher who argues that we've entered a new era of "identity" where identities are based on curated profiles vs. what it used to be, around so-called "authenticity." One of the aspects of that is our identities are curated now to appeal to the "average online follower" (he calls it the "general peer") which is an abstraction of the "typical" person we cater to to get engagement (likes, follows, etc).

[0] Forgot video:
https://www.youtube.com/watch?v=-QMHOsfjHq0

Timestamp when he talks about the general peer
https://www.youtube.com/watch?v=-QMHOsfjHq0?t=1228
Terminology correction: control over the "office environment" (meaning bossing people around directly or whatever) is something you'd expect from the lowest level of manager. "Middle" managers are the next tier up, the people in the middle of the corporate hierarchy between the actual groups doing work and the VP-level senior executives.

Middle managers are famous for feeding off of email directives, I guess. Not control over the office environment to which they may not be local.
>"You need to create for an audience of one that you understand well.

An audience of one is specific. Whether it’s you or someone you know well, there are clear preferences that you can cater to. They have a manageable number of needs and pieces of feedback. Which means that creating for an audience of one is specific and attainable. You have a goal post that can tell you whether you scored or didn’t, so failure and success are both explicitly defined. Now, you know what to make, but more importantly, you know exactly when you’ve failed making it."

Interesting quote. What was not mentioned is how to find the audience for what you create; whether it's a new thing with a new market to be created or an improvement on an existing thing with an existing market.

An interesting blog on why it's important to find the right audience for your work is https://leveragethoughts.substack.com/p/cracking-the-who-you...
> 150 GWh/annum is just 17 megawatts!

... no no no ... these aren't single use cells, instantaneous power isn't a meaningful unit (I mean energy/time is technically power, but one couldn't compare this to power as measured from a traditional power plant or anything like taht).

If one had to somehow contort the output into watts:
Recharged every week, 150GWh of car batteries would eat ~1GW of grid capacity. It is still a very long way from any meaningful fraction of grid energy (~4TW globally), but watts really aren't the right unit to measure production capacity.
The parts of Shikoku that are right next to bridges to not-Shikoku are doing alright. But even then, it's hard to make a case for Tokushima over an equivalent place across the water (I guess Himeji?).
List of remote companies offering 4 day work weeks
I didn't know that. Oh, come on. That's so unfortunate.
Who's next to follow the sound fiscal policymaking of el salvador?
Here we are talking as if it’s the big companies that’s the problem.

The problem is their clients.

Your mom and pop store down the street sending out the weekly newsletter that helps keeps their business alive is the ones sending the mail that annoys you so.

The mail sending companies offered the feature of knowing when a subscriber opened an email and when they clicked on something.

So that tiny blogger who sends a weekly update in sub stack to subscribers eagerly awaits her click and open stats.

It’s hard for the likes of Mailchimp to pull back those features because their customers so rely on them.

How do I know? I write this kind of sending software all the time for thousands of these small customers.

We are talking husband and wife operations here. People who know nothing about email sending or what goes on behind it.

But take away their click and open tracking and you lose their business the next day —- that part — they know and want.

Add in the part of them knowing who opened and who clicked on what and it’s gosh darned magic for most small business owners.

Don’t blame Mailchimp, Sendgrid, Substack etc — that’s pointless.

Blame your mom as she sits writing next weeks newsletter update.
Everyone who served customers first (whoever they are), ended up in the dustbin of history. Apple became so big exactly because they made a right choice between serving customers and serving their self-interest, speaks profit and growth. The purchase and continue support of billions Apple’s customers underline the correctness of Apple’s choice and strategy. It’s also remarkable that not the Apple’s customers who have sued the company but the third players who want to use the Apple’s ecosystem to make their own profit (and probably serving their customers). Unfortunately, when they signed their developers contracts, they have already agreed to the T&C of the App Store and now they pretend they don’t know it, didn’t agree with it.
Restricting local storage features for "Privacy" looks like sly strategy by Apple.

Some new APIs proposed by Google is bad, so declining by Apple is fair. Mozilla also decline some APIs.
Indeed, I stand corrected. I would swear that they previously allowed you to subscribe with an in-app purchase. Disney+ does still offer an Apple in-app subscription.
You make it sound like an environmentalist (as opposed to anti-environmentalist) bias is bad, but you haven't explained why.
>> Eventually they might be able to cut the L3 cache out of the CCD die completely and rely only on external SRAM die as L3.

That might also reduce latency? They've got all these cores around the cache, but in this case it would be directly above all the cores. Seems like it could reduce the maximum distance to cache. But then you'd need even more cores to keep the die sizes similar :-)
People who think that building more housing will lower rents don't understand https://en.wikipedia.org/wiki/Induced_demand

It will not bring rents down. Rents in the Bay Area, for example, will NEVER be "reasonable". Building more housing will only turn the Bay Area into LA, or NYC.

Try living in any place with high density, it's still expensive.
Apple has more than 50% market share in the US[1]. The FTC is meant to protect American consumers, so the fact that Apple has a majority of market share in the US and is abusing their monopoly position in the US is relevant. The fact that Android leads iOS worldwide is less relevant.

1 - https://gs.statcounter.com/os-market-share/mobile/north-amer...