21,276 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 1y ago · link · parent
Maybe then you get into arguments about whether the dependencies were "required", but there it's more or less resolvable by relying on what "actually" happened rather than the minimal tree (which is its own exercise)
comment 1y ago · link · parent
Everyone talks about moving fast and being dynamic but everyone I know deep in this has lost like actual years to churning from this kind of behavior.
comment 1y ago · link · parent
Two words: API Reference.
Have the clinical explanation of methods exposed, with actual breakdowns of what method parameters do. List them all, don't surround it by prose. List out the options! Don't make me dive into the source to find out what I can or can't pass into a parameter!
Having to play this game of "alright I want to know how to use this API, so first I need to figure out what tutorial page _might_ use this" to find the tiny examples that should just be next to the methods I care about in the reference is really frustrating.
comment 1y ago · link · parent
2013 saw 4.4k fatalities. 2019 saw 3.2k fatalities. 2020 saw 2.8k fatalities.
In 1970 there were 16.7k fatalities.
I think it would be very hard to argue that COVID explains both the Japan drops while seeing increases in other countries to that extent. In the comparative analysis one can argue that COVID affected some places more than others, of course. But the improvement gap between, say, Japan and New Zealand is pretty huge!
comment 1y ago · link · parent
It's more "what's worse? A huge truck with worse visibility, alone, or a car that has better visibility, safety features, and less likely to kill someone in an accident, driven alone".
Obviously if the bed or the back set were the only swap, none of it matters.
And like... yeah there's the calculus of how often you use it etc.
comment 1y ago · link · parent
It's obviously a trade between various participants, who have their own interests. 30km/h limits have had good success. If people think the number of fatalities is a problem, there's a solution waiting for you.
comment 1y ago · link · parent
between 2012-2023 there were the following evolution in the number of road deaths per year:
- 60% drop in Lithuania
- 50% drop in Poland
- ~38% drop in Japan
- 20% drop in Germany
- 20% increase(!) in Israel, New Zealand and the US
so abstractly, looking at what those countries did in the past 10 years and considering whether changes would work or be applicable for you (and maybe not doing whatever NZ or the US is doing)
For Japan's case, they applied a lot of traffic calming[0]. In particular, in 2011 Japan changed up rules to allow for traffic calming through a simple and cheap method: setting the speed limit to 30km/h in various spots. [1] has a summary of the report.
Now, one thing I do know about Japan is that their qualification of road deaths is ... dishonest is strong but it's technical. If someone is in a car accident and survives a couple of days, but dies later from complications, that is not counted as a road fataility (IIRC it's a 24 hour window thing).
I would like to point something out though. Between 2003 and 2016 car accidents nearly halved (from 940k to 540k). Between 2013 and 2023 fatalities according to their metrics dropped 40 percent.
Things can be done
[0]: https://en.wikipedia.org/wiki/Traffic_calming
[1]: https://pmc.ncbi.nlm.nih.gov/articles/PMC6951391/ [0]: https://www.oecd.org/content/dam/oecd/en/publications/report...
comment 1y ago · link · parent
That way when the battery goes from 60% to 30% you get told about it, instead of when you go from 30% to 5% and then have other problems as well.
Not so certain about the actual knowability here though
comment 1y ago · link · parent
I think if your kind of comfortable is needing to clear 500k or million in comp a year then you aren’t not in scrappy startup mode! This is fine but money out the door is money that then needs to get raised in early rounds
I dunno, I do think oxide for basically everyone who joins is asking for them to get pay cuts but I would really hope that people would still at least putting some stuff into savings.
And like … even if the equity is variable if people are getting even a bit of equity, that might end up as something in the end.
Saying this I think with the recent raise the comp could be made higher just to make the buffer even better. There’s definitely an opportunity cost
comment 1y ago · link · parent
If you are growing your emergency fund then you aren’t really living paycheck to paycheck right? You’re putting money off to the side. Tho perhaps you’re not putting aside much for, like, travel.
Plenty of smaller startups not hitting that level, especially when they’re lean. And I think up until this raise Oxide was lean!
(To be honest given this finding raise I could see a salary increase for oxide across the board, to help with that)
comment 1y ago · link · parent
I still like the money and the number going up. But now that it’s above a certain multiple of what I consider a “comfortable” life, I’m not worrying as much.
Would for change your job for an extra 500k a year? Surely right? An extra 50k? An extra 5k? An extra 500 dollars a year?
Theres some mental calculus that includes everything. Some people will just take “offer with most money” every time. Hell of a lot of people don’t.
I do think that C suite folks might not have the right vision of what “normal/comfortable” is for employees though. So they might offer a low number thinking it’s actually a “comfortable to live with at this stage of life” number and then get confused why they can’t recruit good talent and think people are obsessed with money.
First offer has gotta be within the ballpark of the right number if you don’t want your interviewee to immediately come back to you with a much higher number!
comment 1y ago · link · parent
Now you have families, debt, etc. There are things. Minimum expectations for family etc. But come on! It’s not poverty wages!
“I am willing to take a pay cut for a thing that I’m passionate about” is such a normal thing that everyone serious I know in this industry says. Or like… even just ethical choices to leave money on the table (there’s a reason online casinos pay their software engineers so much!). Not everyone makes the choice (and I get people saying no) and but in a sense I gotta imagine it’s part of the calculus for making it work. “We won’t have to pay people half a mil in total comp like meta has to, because the mission is more straightforward”. I feel like an O&F ep mentioning someone from intel expecting _triple_ the comp. 600k!
And like… people saying it’s not enough and talking about equity. You’re not paying rent with equity!
Signed: a guy who was at a small startup and who would have been very happy with the inflation/CoL equivalent of 200k instead of what I had those early leaner years
At one point “joining the scrappy startup” does involve some scrappiness. Otherwise you’re just working in a division of Google that hasn’t been integrated into the borg yet.
comment 1y ago · link · parent
> Adding non-primitive props you get passed into your component to internal dependency arrays is rarely right, because this component has no control over the referential stability of those props.
Expecting referential transparency is a fine constraint. Inversely, the useRef technique might lead to its own weirdness where your UI is using some stale composite object that your event handler doesn't see anymore (and I prefer slow perf to chasing down correctness issues because you have a ref _and_ you have some accidental mutability somewhere in the stack _and_ you have stale UIs)
comment 1y ago · link · parent
[0]: https://en.wikipedia.org/wiki/Japan_Meteorological_Agency_se...
comment 1y ago · link · parent
CostPostCache = CostOfCache + CacheHitPercentage * CostWhenHittingCache + CacheMissPercentage * CostPreCache
CostOfCache is pretty cheap compared to the CostPreCache IMO... CostWhenHittingCache is very low... and CacheMissPercentage is also probably pretty low in your typical React component that has more than 2 children node involved. Mathematically it feels like a no-brainer!
"Fix your slow renders first" just feels off. Yes you want to fix slow first renders! You also want to avoid wasting render cycles. These are distinct issues from my view. What am I missing? Why shouldn't React "just" do useMemo by default?
comment 1y ago · link · parent
I don't need to know for certain the account on the receiving side exists, just that I have signed in before with it. Facebook does this at least!
Like "has an account" isn't possible without leakage, but "has logged in through this flow before" (hell, stick timestamps in there too!) does.
One thought though: your SSO provider has that account list, but often prompts a re-login. So it could be that your SSO provider account picker _doesn't have access to your account information fully either_.
comment 1y ago · link · parent
Maybe I'm missing some security detail here
comment 1y ago · link · parent
My experiences in the country using VPN stuff was pretty interesting though... it _really_ felt like depending on where you were physically in the country that you were going through completely different censorship pipes. And things like Apple push notifications would just get through no problem so you could at least receive stuff via push from banned apps.
I wonder what kind of detailed explanations of the mechanics there are, because I don't have a mental model of it that works beyond "censors just tell each regional office of national operaors to do stuff and they all do it slightly differently"
comment 1y ago · link · parent
comment 1y ago · link · parent
A decent sized SaaS-like with usage simulation, and a postgres/rabbit setup that is merely fine. A place to check if your debugging tooling/strategy is upt to snuff.