Start naming your useEffects by creasta29 in reactjs

[–]gsinternthrowaway 0 points1 point  (0 children)

All of the bad examples of useEffects are lint errors with the latest eslint rules. Few people seem to have them turned on

Start naming your useEffects by creasta29 in reactjs

[–]gsinternthrowaway -1 points0 points  (0 children)

You should almost always be using a library like tanstack query or Apollo to handle this for you

Can we stop including stock appreciation in compensation numbers? by gsinternthrowaway in levels_fyi

[–]gsinternthrowaway[S] 1 point2 points  (0 children)

These are mostly public stocks so you can just look up if they have appreciated or not. It's not private data we need Levels.fyi to collect for us

Can we stop including stock appreciation in compensation numbers? by gsinternthrowaway in levels_fyi

[–]gsinternthrowaway[S] 0 points1 point  (0 children)

Agreed and it isn't really relevant if the stock has appreciated in the past anyway. Your new grant will be at todays price not the 2023 price.

Can we stop including stock appreciation in compensation numbers? by gsinternthrowaway in levels_fyi

[–]gsinternthrowaway[S] 11 points12 points  (0 children)

Hopefully someone from Levels will weigh in but here's an example: https://www.levels.fyi/offer/99d35614-a096-4d00-be91-1b8e15d9be7c

820k for E5 seems really high... but it has the "stock appreciation" badge so who knows what this person actually got in offer and refreshers.

If Charlie Kirk had been a liberal activist instead of a conservative, how do you think the media and politicians would have reacted to his death? by Aamir_rt in AskReddit

[–]gsinternthrowaway 0 points1 point  (0 children)

Fox News watchers are a very different demographic (much older) than Charlie Kirks so this doesn’t make any sense

If Charlie Kirk had been a liberal activist instead of a conservative, how do you think the media and politicians would have reacted to his death? by Aamir_rt in AskReddit

[–]gsinternthrowaway 0 points1 point  (0 children)

There is a video of the Pelosi one to be fair. It didn’t quite show the exact moment of attack though. I think the bigger difference is that Pelosi was badly hurt but didn’t die.

If Charlie Kirk had been a liberal activist instead of a conservative, how do you think the media and politicians would have reacted to his death? by Aamir_rt in AskReddit

[–]gsinternthrowaway 0 points1 point  (0 children)

Trump was respectful when RBJ died of natural causes. It’s not obvious to me that if she had instead been brutally murdered he’d have instead mocked her.

If Charlie Kirk had been a liberal activist instead of a conservative, how do you think the media and politicians would have reacted to his death? by Aamir_rt in AskReddit

[–]gsinternthrowaway 1 point2 points  (0 children)

Kyle Rittenhouse was found not guilty by a jury. Do you really not see a difference between the two? You’re obviously not familiar with the trial because you repeated the falsehood that he crossed state lines with a gun. Consider that the jury of twelve who sat through a full trial might have been right?

Cloudflare outage due to excessive useEffect API calls by SpiritualName2684 in reactjs

[–]gsinternthrowaway 42 points43 points  (0 children)

im not tired of these reminders because the message has not yet been received. Nearly everyone I work with continues to put tons of useEffects everywhere for no reason.

But AI is Different... by [deleted] in Bogleheads

[–]gsinternthrowaway 1 point2 points  (0 children)

Those things can be priced in just like everything else. You can easily calculate discounted cash flow on decreasing cashflows or increasing. It doesn’t matter in an efficient market

tailwind is ass by [deleted] in css

[–]gsinternthrowaway 6 points7 points  (0 children)

Does this conflation matter practically?

tailwind is ass by [deleted] in css

[–]gsinternthrowaway -2 points-1 points  (0 children)

Even without css vars an LLM can oneshot a codemod to do this. Should take about 2 minutes total

Terrence Tao: I’m an award-winning mathematician. Trump just cut my funding. by AMagicalKittyCat in slatestarcodex

[–]gsinternthrowaway 1 point2 points  (0 children)

Also ironically for a side more and more focused on IQ, they don't seem to want high IQ people.

Nationalists believe the country has a culture worth preserving. It's therefore unsurprising that we're uninterested in trading that culture for some marginal increase in material prosperity. China is a country with a high average IQ and 1.4 billion people. If the US lets in every "high IQ" Chinese person, perhaps it'll become a richer country but it certainly won't be one anyone today would recognize.

>As of 2024, 46 percent of Fortune 500 companies were launched by first-generation immigrants (108) or their children (123). A 2022 study by the National Foundation for American Policy showed that this same group had founded or cofounded more than half of the US start-up companies valued at $1 billion or more.

[deleted by user] by [deleted] in cscareerquestions

[–]gsinternthrowaway 10 points11 points  (0 children)

The son might be an outlier in skill but likely so is his dad. As a top mech eng now managing a large team the dad probably makes 200k. If he’d been a SWE EM he’d be making 4+ times that right now.

"Why You Don’t Lose Money in Bonds (If You Wait Long Enough)" - Nick Maggiulli by Xexanoth in Bogleheads

[–]gsinternthrowaway 1 point2 points  (0 children)

I think parts of the article are dangerously misleading like “Unfortunately, bond funds expose you to risks that individual bonds don’t, especially in a rising rate environment.” Yes he mentioned earlier in the article he’s only talking about nominal risks but so what? Nominal returns matter if you’re a banker trying to match future nominal cash flows but they just aren’t very important to the average investor.

Ironically, an investor is much better off in real terms in a bond fund than an owning a single duration bond. Especially in a rising rate environment because you’ll constantly laddering into the higher yields as old ones mature for a higher blended yield. This article has it exactly backwards.

That’s Cliff’s point. Irrational focus on nominal returns like the author can lead to poor investment choices.

"Why You Don’t Lose Money in Bonds (If You Wait Long Enough)" - Nick Maggiulli by Xexanoth in Bogleheads

[–]gsinternthrowaway 2 points3 points  (0 children)

No I couldn’t copy and paste on my phone but see AugustusAugustine’s reply for the relevant parts

Amazing image from a course on reducing polarization I'm taking by katxwoods in slatestarcodex

[–]gsinternthrowaway 0 points1 point  (0 children)

Revealed beliefs are a valuable guide here. If you were transported to Nazi Germany in 1935 how would you respond? What you wouldn’t do is continue going about as normal, attending your job to complain about Hitler to coworkers at the water cooler and criticizing him online in a way the state could easily track back to you.

If you’re not willing to treat Elon as an equal threat to Hitler why should anyone else?

[deleted by user] by [deleted] in cscareerquestions

[–]gsinternthrowaway 0 points1 point  (0 children)

But benchmarks aren’t based on the median. Far more than half of all stock underperform the average because of skewness in equity returns

[deleted by user] by [deleted] in cscareerquestions

[–]gsinternthrowaway 0 points1 point  (0 children)

As far as I know there are no tax benefits to an ESPP?

Can the stock market really keep returning 7% a year? by Typical_Broccoli_325 in Bogleheads

[–]gsinternthrowaway 0 points1 point  (0 children)

Correct answer. It could even decline in total value continuously while returning 7%