HackerTrans
トップ新着トレンドコメント過去質問紹介求人

ervine

no profile record

コメント

ervine
·2 か月前·議論
None of this has been my experience.
ervine
·2 か月前·議論
Not scientific but I enjoy actually going somewhere. Jogging you can get to places in your neighborhood, but cycling I can get to places in my region.

That’s why I get on the bike, you’re moving through areas slowly enough to enjoy them but quickly enough to really take in a lot.
ervine
·2 か月前·議論
I think it’s just a Lance joke - cycling has no correlation with TC.
ervine
·2 か月前·議論
Nah, they’re freaks.
ervine
·2 か月前·議論
My love of cycling in every form is one of the greatest gifts my dad gave to me. I wish everyone was so lucky to find an activity they were obsessed with that has only upsides.

So much North American rhetoric is focused on hatred of the cyclist - while that bums me out, what bums me out even more is that all the haters are missing out on the wonderful world of cycling. Commuter, road, gravel, mountain, track, indoor, fixed, single speed, folding, electric, uni, cargo, whatever.

I'm gonna go ride now.
ervine
·2 か月前·議論
What's a libertarians take on how health care should work? Completely privatized, completely socialized, somewhere in between?
ervine
·2 か月前·議論
> No one understands TanStack. Sorry to break it to you.

Damn, all these years of using TanStack libs successfully, and I had to learn it here that I don't understand them.
ervine
·2 か月前·議論
No, writing shit in react is gonna be a nightmare regardless of paradigm. HoC, Class Components, render props, whatever - if you don't know what you're doing and react internals are magic to you, it's game over. Anyway, we can agree to disagree on hooks vs. classes. Cheers.
ervine
·2 か月前·議論
I guess I think it's table stakes to need to deeply understand how the framework you're using works. Lifecycle methods vs. hooks, you still gotta know what's doing what and why.
ervine
·2 か月前·議論
So your argument is that instead of explicit class component methods, hooks are implicit based on understanding the react rendering model?

I guess so - but react could also change (and I think did at some point) how their class methods work, how often they're triggered, and when.

I don't understand the stateless comment - hooks are as stateful as you make them, using useState or useContext or any of the other ways of maintaining data between renders.
ervine
·2 か月前·議論
I think we're just gonna agree to disagree. Cheers.
ervine
·2 か月前·議論
It wasn't OOP hate, it was hatred of splitting functionality across a number of methods rather than putting it in a single (reusable, sharable!) hook and having your component consume it.
ervine
·2 か月前·議論
You can write spaghetti with class components, too. Doesn't sound like a hooks issue to me.
ervine
·2 か月前·議論
I just don't understand this take, every time I hear it I wonder if people just haven't spent the time to adjust their mental model.

Hooks are IMO the best thing that happened to react.
ervine
·6 か月前·議論
I didn't realize it was moom giving me my "move app to other monitor" hotkey, and moom didn't launch on startup after upgrading to tahoe. I've been using that hotkey for years.

That's when I realized there's no default hotkey for moving an app to an external monitor. That is absolutely wild. (Happy to be wrong)
ervine
·7 か月前·議論
This is why I love cycling so much.
ervine
·7 か月前·議論
Wonder if it's worth squashing in the branch, merging to main, then immediately reverting.

Now the work is visible in history, branch can be deleted, and anyone in the future can search the ticket number or whatever if your commit messages are useful.

Dunno if it's worth polluting history, just thinking out loud.
ervine
·8 か月前·議論
https://typescript-eslint.io/rules/switch-exhaustiveness-che... if that is something you're not aware of!
ervine
·8 か月前·議論
You can restructure your JS to avoid some crazy verbose TS though, sometimes. I think that's the point they were making. Why be so hostile?
ervine
·8 か月前·議論
On the other hand, would we even be talking about it if it hadn't stuck to its goals?