skysight-inc/HackerNews huggingface dataset:
Please note that "modern Redux" code is very different than what most older tutorials show. We've introduced newer APIs like Redux Toolkit, which is a set of utilities that simplify the most common Redux tasks, and the React-Redux hooks API, which is generally easier to use than the traditional connect API.

I strongly recommend reading through the "Redux Essentials" tutorial [0] in the Redux docs, which has been specifically designed to show "how to use Redux, the right way" with our recommended practices

The older patterns shown in almost all other tutorials on the internet are still valid, but not how we recommend writing Redux code today.

You should also read through the Redux "Style Guide" docs page, which explains our recommended patterns and best practices. Following those will result in better and more maintainable Redux apps.

Redux isn't the right tool for all use cases, and we don't expect everyone to like Redux :) But writing Redux code today with Redux Toolkit and React-Redux hooks is drastically simpler than the legacy-style patterns were a few years ago, and we routinely get positive feedback from folks who hated Redux before and now love using RTK.

It's also worth noting that there's significant technical differences in how Context + `useReducer` work vs how (React-)Redux works, and that affects what kinds of tasks they're suitable for. I covered those in extensive detail in a post [2].

[0] https://redux.js.org/tutorials/essentials/part-1-overview-co...

[1] https://redux.js.org/style-guide/

[2] https://blog.isquaredsoftware.com/2021/01/context-redux-diff...
Iranian troops in Crimea backing Russian drone strikes
Now you know why businesses love university graduates! Being told what you want is a prime mover in business.

Now back to my TPS reports.
It is transparently ludicrous to assume as a matter of evidence. Yes, many people are stupidly incautious, particularly when they "have nothing to hide". But having nothing to hide and therefore being incautious make planting anything easy.
Not before losing his career and having to flee his country, probably because his reputation was dragged through the mud. News of the acquittal doesn't travel nearly as far as the initial arrest - see sibling comment below.
> You cannot implement a CT-like system on top of DNS.

[citation needed]

> It only works in the WebPKI because browsers are able to force CAs to participate, by distrusting CAs that don't include SCTs in their signed certificates.

So? In a DNS PKI system, browsers would already distrust ALL CAs. So by that argument, it's in a much better footing to begin with.

What's happening is that you're thinking that in a DNS PKI system, TLD operators like Verisign would be equivalent to certificate authorities.

Except that they wouldn't, because Verisign couldn't create rogue certificates for other TLDs like certificate authorities can. And even if Verisign could create rogue certificates for .COM domains, this is already something that they can do today with the WebPKI system in place, since they can hijack any .COM domain at any time.

And even if Verisign is caught hijacking a domain to create rogue certificates with the WebPKI system, the browsers can't do anything about it, because Verisign is not part of their roots of trust.

So basically, you wouldn't be any worse than today (because Verisign can still attack your domain, regardless) but you'd certainly be much better, because you wouldn't have to keep a database of certificate authorities from all over the world who can create certificates for any domain in the entire world.

Oh, by the way, we're talking about a database of fully-trusted authorities that even if they are caught in any wrongdoing, can never actually be distrusted (like you mention) in hundreds of millions of deployed systems out there who might take months or even years to update, or worse, who never update (Android devices, IoT devices, etc).
A view not shared by many diseased starving children in war torn, natural disaster stricken developing nations.

Having said that the most powerful force we have available to rectify such conditions is economic development based on liberal economics and the rule of law. Charity is analgesic, economic development is the cure.
Regarding wait_for_less_busy_worker on the surface it seems suboptimal to add a wait time before responding. Can someone explain why this is the best solution?
I like to watch Office Space again whenever I give my two weeks' notice somewhere.
I think people’s need to frame seemingly every issue and even their entire worldview as liberal vs conservative is the biggest problem in politics.
I agree. I wouldn’t even say it’s backlash it’s just debugging out loud.

HN users want to test how true a statement is because when you’re coding a program, any edge cases that prove your code wrong can literally break everything. I think that begins to rub off on how you perceive all kinds of propositional statements in other areas.
There are many reasons to hire people locally, even if they do work remote. This factors into the replace-ability aspect.
Yes - not as intense, but that's not nec bad. Oil filled heaters are an esp reliable, but sunlight has lots of red and infrared, too. Melanin can probably make good use of infrared light (and other intense light) to help sterilize whatever is passing through your interstitium. Given the Epstein-Barr connection that might (or might not) be helpful.
Ask HN: At what age did your kid learn to touch type?
My son 6yo son types occasionally - emails to mom when she's away, Google Docs for things he wants to print, and responding to small prompts in apps.

If I do nothing, his typing speed will increase over time, and he'll probably learn to touch type in some way, but he won't be using the correct finger for each key.

I know from experience that this habit will be hard to break: it took me over 100 hours of typing to correct my fingering and reach the same wpm I had before.

I figure I should get him to learn proper technique from the start. I'm considering having him use https://www.typingclub.com/kids-typing (aimed at kids up to 1st grade). He's responded OK to the first few lessons, but I wonder:

- will it get boring over time?

- how much weekly practice will he need?

- has this or anything else worked well for other kids?

Since folks on HN probably care about typing speed more than most people, I figure some folks here will have taught their kids to type at a relative young age.

Any experiences to share, or any tips?
Dilbert does have a cartoon TV series that ran for 2 seasons.

https://youtu.be/J1KEPvuiQIs
Don't worry, others browsers will get this security feature soon on all modes private or not!
The Historical and Political Origins of the Corporate Board of Directors (2004)
I worry about illiberalism becoming more prominent on the left and right.
It would seem you struggle with the definition of depreciation.

"noun
a reduction in the value of an asset with the passage of time, due in particular to wear and tear."

Given enough time, depreciation leads to zero, or some "scrap value".. this is literally part of its definition.

https://en.wikipedia.org/wiki/Depreciation

When house values "fall" this is NOT depreciation, but market forces (supply/demand, interest rates, mortgage rates, government policy...).

The point of "depreciation" is normally to allow things to be written off at a reduced value over the assets lifetime.

Cars do "depreciate" because over time, they face wear and tear and at the end of their lifespan they are traded in for "scrap value".

Homes do not depreciate because there is no logical reason why this asset's value would reduce over time/wear/tear when it can be properly maintained, as is the case of the houses from the 1700's i sent you.
If you just copy the utility classes (for example from tailwind ui) and don't touch the css file, you get what you see in a reliable fashion. I guess that might qualify as working without knowing CSS for some, in the crudest way possible.
For the cost of a college education at some places you could likely hire a knowledgeable professor of the skill set you’re interested in to live with you for four years.

Nobody will loan you money to do that, howvevr.
Yup! The Government of Canada discusses medical inadmissability [0] on its site. Specifically, those of us with MS are prevented due to "Excessive demand on health or social services". Cases of this have happened: there's a WaPo article from 2017 that includes some examples [1] such as a family being denied immigration due to their child's intellectual disability and spouses of Canadian citizens who are denied permanent residency due to costly disability.

Also worth noting that there are very few things that can offset MA. One is potentially marriage. But again, I'm a qualified Canadian professional who's half Canadian. (2 grandparents on opposite sides/both families are from border regions so I'm not eligible for citizenship that way). Still couldn't stay.

[0] = https://www.canada.ca/en/immigration-refugees-citizenship/se...

[1] = https://www.washingtonpost.com/posteverything/wp/2017/02/03/...
Ask HN: Where to find public domain SVG icons for use on our websites?
Can confirm. It helps me out. It is a potassium channel blocker that somehow improves nerve conduction in the lower body. It has been available at compounding pharmacies for a very loving time. A company took that, made it a time release pill, went through the FDA hoops, and then released it as Ampyra. Like all MS drugs it was super expensive. Now the generic is available. Still expensive, the number I see is something like $1100 a month. My pharmacy told me they bill the insurance company $180 lol.

If you don’t have insurance or it doesn’t want to cover it, you can get a prescription and a compounding pharmacy can make it for you. If they don’t do time release you’ll have to dose every 3 hours or so. It’s a lot less expensive though. Last time I checked it was less than $100 a month.
Another unique bonus of university education: in my undergrad one of the professors noticed that I cared about the subject material more than my classmates.

Due to this he gave me opportunities to perform research in areas that I didn't even know existed.

Had I not gone to a university I never would have been exposed to these areas of technology.
Absolutely bonkers.
It feels like an observation that could be more easily made from the outside. On the inside of a company, we're wrapped up in everyone's immediate motivations for every decision they make, and we can see at a micro level that everyone is doing their best in their own eyes to get from it what they can, but from the outside you could see a larger pattern of the attitudes and beliefs of people at different levels in corporate hierarchy.

Personally, even if this is not from some deep intellectual tradition of management theory, it helped me see things that I'd been staring at my whole career without understanding. One way it changed my perspective is that it helped me realize that the loyalty of middle management strivers is real, the realest in the company. I used to assume that company rah-rah and loyalty rhetoric was meant to increase the performance and affordability of front-line workers, i.e., that the leaf node employees were the target, and middle management was the delivery mechanism. Middle management parroted loyalty rhetoric to their employees to show upper management that they were carrying out their plans in a capable way and could be perhaps trusted with a promotion.

But that never quite made sense. Inspirational company rhetoric is actively irritating to most employees. It's an odd misfit in the front lines of a large company who feels inspired by company boosterism, and they either learn to keep their enthusiasm under wraps, or they are disliked by their fellow workers, who embrace the Loser mentality. Since all the company rah-rah stuff seemed stupid and unproductive, my theory about why companies did it was that it was a peculiar blindness of the otherwise smart people who run companies. But now I realize that if you see middle management as the target, and front-line workers as collateral damage, the cult of loyalty makes a lot of sense. Looking at managers now, I can see that a lot of them buy into it on an emotional and intellectual level, and they believe that it will contribute to their rise in the organization. It works on them! That's why companies do it!

I know people who told their managers that they thought company morale campaigns were creating resentment and cynicism among their fellow employees. They did this in a spirit of openness, as something that management should be aware of, and they suffered real though unofficial consequences. From a cynical, utilitarian perspective, the retaliation they suffered was hard to make sense of. It was petty and ineffective. But it makes sense if you realize that they were attacking an intensely felt part of their managers' self-identity, and their managers' reaction reflected personal hurt, not rational calculation.

I never understood those things until I read this blog post. I always assumed that the cynicism about company values started at the lowest level of management, that management was a tower of atheists acting out the company religion for the sake of the believing suckers at the bottom. But that was a poor fit for reality compared to the Sociopath/Clueless/Losers structure.
Well like adding a test from panadas/great expectations, software looks great when its set up and already added. So trying to add one myself I just have to imagine, so great expectations make sense probably an API hook set up. But I'm using panadas mostly so how do I add one? Is it going to be more work to use existing tests? If so how much? Really I'm trying to timeline how long setting up everything from my pipeline inside the product as well. Since I want a junior doing alot of this aswell is this going to be weirdly hard for a math uni grad? You know?

The online demo I didn't see abilities to do that on that type of account, which idc just part of gauging how long it would take to go from 0 to running to useful for the company.

Thanks for the help I'm going to keep an eye out for the product in the future for sure. It’s just at the point it is still more work for me to see if I want to do the work to use it
I feel us programmers should be open to breaking rules in favor of convenience. I don't see an issue to why you can't use `p:not(:first-child) { margin-top: 12px; }` just because you're using Tailwind (that particular rule gives a margin to every paragraph except the first one which is usually needed in articles). The most productive programmers I have seen frequently disregarded best practices if it suited the situation.
Kids can't have their own rooms (unless you make $300-400k and can afford a 3BR), they do not have opportunity to enjoy outdoor space (there are homeless, traffic, no grass, etc), kids can't go outside without their parents presence, parents struggle to keep up with constantly increasing real estate prices, which down the road affects their children's future. These are just a few from the top of my head.
You have to live I note present. We all die. MS just makes you fear for the future. Best advice I have is use a PMT (if your doctor agrees) and slow the progression so advances in medicine can cats up. Exercise, good diet, controlled blood pressure and cholesterol are important.

Few die form MS, but it makes you weaker to other conditions, so maintaining good health is key.

Be present and understand that there are many in far worse situations than yourself. For my condition there is one DMT (as I have PPMS) called Ocrevus, and there are trials for other drugs. Time will tell what works well, but hope springs eternal.

Once last point: it is diagnosed by Venn diagram: the inter station of MRI lesions, mobility issues, spinal fluid bands. It is a circumstantial conclusion: we are in the early days of understanding this condition. Just remember that life is terminal and enjoy every day to its fullest.
Sorry to hear, I've been there.

First things first, do see a medical professional.

Secondly. I find I have to take quite a holistic approach to my life to keep on an even keel. Regular moderate exercise (whatever you enjoy and are likely to keep up, doesn't have to be much). Regular sleep schedule. Get outside lots, ideally in green spaces. The sun and elements on your face is really important. Clean up the diet too. Don't go crazy here but be sensible with sugar, reduce alcohol intake, reduce caffeine. Up the fruit and veg intake.

I also need a hobby or interest that really engages me. For me it's piano but finding something that recharges you and makes you feel switched on, really helps.

Other things that help me are relaxation exercises, doesn't have to be meditation, but something of that nature. Start to gently train your mind to unwind, bit by bit. Low intensity yoga is also excellent here.

Trying to foster self compassion, and compassion for those around you, can really dampen those low feelings for me too. Try to feel you are enough, you are suffering but doing your best, and we all share this nature. Suffering and compassion can connect you to others too.

Obviously, this is very personal advice. It depends on the specific underlying causes. As someone who has to deal with low energy, mood and some anxiety sometimes, but not acute mental illness, these have been life savers for me.
> It's true that the G4 processor was introduced in 1999, before OS X was even in beta.

While it's true the beta of OS X as a desktop OS wasn't released until September 2000 [0], OS X Server 1.0 was released into "production" (limited though it may be) in March 1999 [1], which preceded the first G4's release in August 1999 [2].

[0] https://en.wikipedia.org/wiki/Mac_OS_X_Public_Beta

[1] https://en.wikipedia.org/wiki/Mac_OS_X_Server_1.0

[2] https://en.wikipedia.org/wiki/PowerPC_G4#PowerPC_7400
There's an infinite number of reasons something can be wrong: there's only a few it can be right.

Also, basement internet drastically underappreciates the magnitude of effort that goes into creation.

I don't play CoD, but I can appreciate the years of development of work that likely went into this (+ the engine, the libraries, the mocap animations, the sound work, etc).

Is it perfect? No. But it would take an incredibly large and well-funded team a lot of calendar time to produce anything that surpasses it.

So kudos to the entire team at Infinity Ward for making something and shipping!
There's nothing there that disagrees with what I said.

UNSCEAR did not say LNT was wrong at low doses. They said LNT was not confirmed (vs. other models) at low doses. This should not be surprising at all, since at low doses the signal becomes very weak.

There's a difference between "we don't know if LNT is correct" and "we know LNT is incorrect". You are improperly concluding they are saying the latter. They are not.
> What they can do however, is decrease your salary because they are no longer beholden to American anchor prices.

They pay you as much as they need to to get you or someone of equivalent skill as you (encompassing all things including communication skills) to work for them. 'Anchor prices' isn't a thing.

> how come it is nearly universally the case that junior American devs are paid salaries that are equal or higher to that of non-American devs working outside of America but within the same company

Because that's how much it takes to get them to work for the company.

That's the only answer to any question of 'why is someone paid this much' (in a functioning market.)
The effect might be due to pushing people towards more beans (soluble fiber.) Interesting recent study shows beans help. If the effect is due to the soluble fiber you want to get beans daily, to keep the bacteria that are helping you, thriving.

https://www.inverse.com/mind-body/diet-rich-in-beans-legumes...
Biden wants SpaceX to beam internet to Iran amid uprising
People can absolutely change their chemistry, body smell, blood acidity etc.. But it is very very difficult; change in diet, water fasting for weeks... Microbes in body have to be replaced and metabolism set into new equilibrium.
interesting, I'm 0 and a favoured mosquito target, and my wife is A and does not get bit very much.

We have two kids to which the same dichotomy applies: I now need to check what blood type they have!
The problem is that making it anything else in the (US) suburbs is damn near impossible. So you have your nice little suburban office park ... and what else? If you want to replicate the feel of a city, even at small scale, you're reliant on restaurants and other kinds of stores and entertainment venues being nearby. Unfortunately, they won't see your office park as a draw. They'll still cluster near the big roads. Your choice in the suburbs is to be in Car Hell or to be isolated.

The closest compromise I've seen is the area around a local mall. There are tons of restaurants - everything from brewpubs to fast food to a Brazilian steakhouse to coffee shops and my favorite bubble-tea shop. Groceries of all kinds and levels, all sorts of clothing, hardware, housewares, a movie complex, you name it. And there are a couple of semi-decent-looking apartment buildings in the area. It's still very car-centric, crossing the eight-lane road between the apartments and the mall wouldn't be fun, but if I were single and worked in one of the nearby office parks I could see living there and hardly needing to drive anywhere.
I started going back in to the office every day and I love it.

I was too lazy being at home all the time, both professionally and personally.

Seeing people in person is so much better than via chat.

Of course, this works because my current commute is not awful.
Germany failed to roll out enough renewables. They were depending on gas for more than backing up renewables.
> DC has had an amazing culinary renaissance, with Jose Andres leading the way, but at the time it was mostly noted for steak houses for lobbyists

It’s not a renaissance if there was nothing there of any quality before. For a rebirth there men’ needs to have been a birth.
Tailwind is moderately useful but not the panacea people are looking for or they’re being told.

I style things normally in CSS with exceptions or one-offs that are styled in tailwind classes. Usually try to avoid those.
How far away was he?
Oh, heck, you are right! I mixed up react and react native.
I second getting some bloodwork done. I was feeling similar and found I had crazy low testosterone. Getting healthy is kind of trendy right now, but my quality of life has gone way up after a few months of TRT (now stopped), regular exercise, and going to bed earlier. (Huberman lab early podcast episodes are a good place to start).
I personally think you can't make statements like that without trying to reproduce this on another machine and with another account etc.
Interested in the same usecase, but for Mikrotik routers.
I have PPMS and have been trying acupuncture. Symptoms feel a tad better, but might be placebo. Correlation is not causation. However, my perspective is that the MS weakens the signal, and acupuncture might just turn up the volume.

Separately, ongoing physical therapy is a must for me.
Do the mosquitoes prefer diabetic people?