HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ervine

no profile record

comments

ervine
·hace 2 meses·discuss
None of this has been my experience.
ervine
·hace 2 meses·discuss
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
·hace 2 meses·discuss
I think it’s just a Lance joke - cycling has no correlation with TC.
ervine
·hace 2 meses·discuss
Nah, they’re freaks.
ervine
·hace 2 meses·discuss
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
·hace 2 meses·discuss
What's a libertarians take on how health care should work? Completely privatized, completely socialized, somewhere in between?
ervine
·hace 2 meses·discuss
> 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
·hace 2 meses·discuss
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
·hace 2 meses·discuss
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
·hace 2 meses·discuss
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
·hace 2 meses·discuss
I think we're just gonna agree to disagree. Cheers.
ervine
·hace 2 meses·discuss
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
·hace 2 meses·discuss
You can write spaghetti with class components, too. Doesn't sound like a hooks issue to me.
ervine
·hace 2 meses·discuss
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
·hace 6 meses·discuss
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
·hace 7 meses·discuss
This is why I love cycling so much.
ervine
·hace 7 meses·discuss
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
·hace 8 meses·discuss
https://typescript-eslint.io/rules/switch-exhaustiveness-che... if that is something you're not aware of!
ervine
·hace 8 meses·discuss
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
·hace 8 meses·discuss
On the other hand, would we even be talking about it if it hadn't stuck to its goals?