508 karma · joined Aug 2, 2012 (14y ago) · 172 submissions
comment 1y ago · link · parent
https://github.com/google/pytype?tab=readme-ov-file#pytype--...
comment 2y ago · link · parent
comment 2y ago · link · parent
Is there a helper to merge venv1 and venv2, or create venv2 which uses venv1 dependencies and on load both are merged?
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
GitHub provided a way to contribute, but also to avoid learning to rebase, thus making it more welcoming to devs who only know about commit and pull - that is what made it so popular. The squash then rebase or merge step is done on server side. Plus it has a very "harmless" UI, but that hides a lot of details (patchsets) and the layout wastes so much space imo.
This also means devs could avoid learning more about git, and this lowest common denominator git workflow makes it so frustrating for those of us who learned git all the way. I can't even mark a PR as "do not squash" to prevent it being merged in the default way which throws out all history.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
And when you can not get corporate to switch away from GH, then that is it. In hindsight an obvious way to (almost) print money, congratulations, but also a sad state of affairs.
But I imagine the $20k/yr is something you can easily spend on a 1/5 of a dev doing Gerrit maintenance.
comment 2y ago · link · parent
comment 2y ago · link · parent
Sidenote: this one of the ideas behind Ida Aukens (controversial, and I would say misunderstood) "You will own nothing and be happy": One way to make companies liable is by making them own and maintain what they produce for the entire product cycle, and you only rent these items.
Of course this needs a very healthy and competitive market with effective regulations to prevent eternal enshittification. And maybe it doesn't work when shareholder value is everything that counts.
comment 2y ago · link · parent
https://github.com/google/pytype https://github.com/google/pytype https://github.com/microsoft/pyright
comment 2y ago · link · parent
1: http://markfasheh.github.io/duperemove/duperemove.html 2: https://manpages.debian.org/bookworm/manpages-dev/ioctl_fide...
comment 2y ago · link · parent
"just" - I bounced off Phabricator because I couldn't use native git tooling, and what mapped to where wasn't clear to me. The pure git approach of git-pr is the exact opposite of that. Sure, someone is going to write just-too-useful-to-skip-wrappers around that later, but you always know what's going on under the hood.
comment 2y ago · link · parent
And even if everything git-pr does could be done by talking to the Gerrit REST-API, a simple straight forward and lightweight implementation of the "essence" of this model is very useful.
comment 2y ago · link · parent
1) push 3 commits (author)
2) push 3 commits + 1 review commit (reviewer)
or even 2a), + 3 interleaved review commits, might be needed if the final refactor removes something.
then
3a) force-push 3 commits with the review comments applied (you mentioned --force is supported)
3b) or push 3 + 1 + (worst case 3) fixup commits, then a squash later?
If 3a), does pico have the concept of patchsets like gerrit, so the state 2) can be retrieved later?
PS: ... or even 2c, if the line I am commenting on is removed in patch 2 I would need to push a whole "review tree" (or fix conflicts in b and c):
a -- b -- c -- review-c
\ \
\ `-review-b
`- review-acomment 2y ago · link · parent
Since everyone is treating containers as cattle CRIU doesn't seem to get much attention, and might be why a video and not a blog post was my first introduction.
comment 2y ago · link · parent
1: https://github.com/DefGuard/defguard discussed at https://news.ycombinator.com/item?id=36056080
comment 2y ago · link · parent
"Upload every keystroke" is a huge no, and is going to be abused by companies looking for some performance metric to apply to devs (cloud IDEs are going to lead to that as well). Or things will revert to pre-git workflows where a huge number of files will remain open/changed until the final submit/push.
My workflow is to do the `grace checkpoint` equivalent and only make it public once it is presentable (and won't waste other peoples time when looking over or reviewing it). I never ever want these personal checkpoints/commits anywhere else. Mercurial/hg initially also had no easy way to have and clean up local-only commits, so for me and many others git it was.
comment 2y ago · link · parent
I hope one day it supports the very real use case of using/abusing browser tabs as bookmarks. I know I am not the only one who keeps lots of windows with currently almost 100 tabs open. Windows represent certain topics, which I finish in a day, in in months, or sometimes never - but still they re-open everytime I open Firefox. I know there are add-ons to help with "tab overflow", but native support would be better.
comment 2y ago · link · parent
90–93%: 99.9% pure silica in grits and powder form constitutes; 7–10%: Matrix of unsaturated polyester resin with catalysts to help with ambient temperature curing, according to https://en.wikipedia.org/wiki/Engineered_stone
Technically you can safely handle it, just like technically you can have lead or even asbestos in a lot of places. But some poorly paid worker ends up with ruined health in the end, so I can totally understand the ban.
comment 3y ago · link · parent
It seems this add-on manages and AllTabsHelper open tabs only and does not have a separate session manger (the one built into Firefox is a joke, sadly).
1: https://addons.mozilla.org/en-US/firefox/addon/tab-session-m...
comment 3y ago · link · parent
Or Cross laminated timber, great for long-term sequestering of carbon.
https://en.wikipedia.org/wiki/Compressed_earth_block https://en.wikipedia.org/wiki/Cross-laminated_timber
comment 3y ago · link · parent
Ideally all bio waste is industrially composted and the generated CH4 used to generate electricity and heat, but sequestering it is also okay.