1,562 karma · joined Aug 24, 2019 (7y ago) · 536 submissions
comment 3y ago · link · parent
I'm glad upper bounds can be updated, that definitely seems like the right approach. As a challenge on "just the correct thing to do", how should someone releasing a package using pandas specify an upper bound? Many basic dataframe uses will work just fine with pandas 3, whenever that happens. Some dataframe uses will break even in future minor releases. It's not clear to me that packagers can reliably predict that future.
Another example of upper bounds causing pain: I mostly use poetry which unfortunately makes overrides extremely hard. A bunch of small Django packages work fine in Django 4 but haven't been updated in years and specify they only work for Django 3.x releases. The poetry folks say it's a packager problem, the packagers never respond to a PR, and off I go to make an internal fork of yet another library.
comment 3y ago · link · parent
comment 3y ago · link · parent
That's exactly it, it doesn't. That project you linked (typescript-rtti) mentions in the README that you must install and use it via ttypescript, a typescript wrapper that patches the compilation process to expose compilation details to plugins. Except that plugin API is unofficial and changes break the ecosystem built on it. For example, ttypescript doesn't work for TS 5 and the dev doesn't want to spend time on it. ts-patch has stepped in to provide a source transformer API for TS 5.
There's no way I can recommend libraries like typescript-rtti in commercial projects until something changes. I hope the ts-patch folks don't burn out.
comment 3y ago · link · parent
I passed on the set understanding where it explained an unintuitive SQL behavior and I hope it helped 'em.
comment 3y ago · link · parent
Some sales asks were legit and we got 'em done. Some were legit but low ROI and never done/priority even as sales had majority say in those priorities. Some were "please take this customer-hostile, flaky, human-explicitly-in-the-loop CRM workflow that has the thinnest veneer of plausibility above pure gaming of KPIs and insert it into a core product flow that's working well".
I think low code tools will continue to proliferate and I'm not against it. I do think they will be an interesting test of how much and in what contexts consumers are willing to accept half baked solutions. The capital environment this past decade has meant corporate leadership has been able to touch hot stoves without getting burned. Often they've been rewarded for it.
comment 3y ago · link · parent
comment 3y ago · link · parent
Two books helped me greatly and they both call out the exact distinction between perfection and efficiency you do. Consciously giving up on "efficiency" has helped me finish a lot of projects I otherwise would have put off for far too long!
The books are "How to Manage Your Home Without Losing Your Mind" by Dana White for ADHD folks, "How to Keep House While Drowning" by KC Davis for when life is f'ed. Heartily recommend both.
comment 3y ago · link · parent
If the state needs to persist across devices it it server side (though a frontend cache can make sense), eg: onboarding flow or "task wizard" state.
Some UI interactions are much easier with state machines, but persisting state isn't a concern even across page refreshes, eg: complex animations or complex form validation states (especially validation that involves time or websockety things).
comment 3y ago · link · parent
I’m a happy cis adult male. I liked painting my nails a lot as a kid. I’m glad my parents just set me up with nail polish and ventilated area instead of bringing sexual identity into it.
comment 3y ago · link · parent
comment 3y ago · link · parent
322.
Bivector.net: Geometric Algebra Resources(bivector.net ↗)
32 points · by code_biologist · 3y ago · 6 comments
comment 3y ago · link · parent
Edit: I also just found https://bivector.net/ Holy crap. So good.
comment 3y ago · link · parent
Obviously an early line of research won't have anywhere near the depth, but as an example the geometric algebra community has done a great job of this. Lots of 10 minute videos to 2 hour lectures. Steve Brunton's videos are another example "learning ML math" resource that has helped me a great deal.
comment 3y ago · link · parent
I agree that anything else is extra, but most of my difficult professional engineering decisions are tradeoffs between those first two things: I can build on an older system less well adapted to current needs and deliver more quickly, or build something that fits current needs better but takes a bit longer. I sadly don't have enough days in life where there's a better and quicker option!
Put differently, it's a lot faster to put another layer of duct tape on top of the last duct tape patch of a pipe leak. But every layer of duct tape you put on makes it more difficult to replace the pipe segment underneath. Developing judgement on when to do which is the (difficult) trick.
comment 3y ago · link · parent