108 karma · joined Nov 16, 2017 (9y ago) · 43 submissions
comment 1y ago · link · parent
I believe it boils down to a lack of foresight. At some point in time, someone is going to revisit your code, and even just a small `// Sorry this is awful, we have to X but this was difficult because of Y` will go a long way.
While I (try to) have very fluid opinions in all aspects of programming, the usefulness of comments is not something I (think!) I'll ever budge on. :)
comment 3y ago · link · parent
[1] https://mypy.readthedocs.io/en/stable/command_line.html#incr...
comment 5y ago · link · parent
This works https://search.marginalia.nu/search?query=define%3Ahallucina... This doesn't, or at least it's empty https://search.marginalia.nu/search?query=define%3Ahallucina...
comment 5y ago · link · parent
/rant. Those kind of features are going to keep coming anyway, I'm afraid.
comment 6y ago · link · parent
I haven't used borg. Only done some maintenance on restic backup jobs at work. Restic's command design is intuitive and the documentation is good. But Borg looks just fine in that regard as well.
comment 6y ago · link · parent
It's been said before plenty of times, but I think the solution has to be sought in increasing awareness of the dangers of the internet. Compare it to the electrical grid. 99% of people would not mess with it without consulting/hiring an expert. Not just because it's illegal, but because of the obvious danger. But for the informational grid, "nobody" (exaggerating) cares because they cannot oversee the consequences.
Problem then is, how do you educate people about this... I don't know.
comment 6y ago · link · parent
comment 6y ago · link · parent
You're right about virtualenv. I don't realy use that anymore, the venv module added in 3.3 gets the job done. And that does default to symlinks for posix. https://github.com/python/cpython/blob/3.8/Lib/venv/__init__...
comment 7y ago · link · parent
- get light dumbbells, ranging from 2 to 6 kg, and start doing wrist flexor exercises every day. Slow pace, good form, not too heavy weight, stop when it really hurts.
comment 7y ago · link · parent
comment 7y ago · link · parent
I know this is circumstantial, but on average there were 2 developers. The company needed something to just get the bills out. It also needed to be correct, stable, easily expandable for new datasets (requiring all kinds of conversions), testable from unit to e2e, integrate with other APIs to retrieve metadata, and .. I forgot a few, probably.
comment 7y ago · link · parent
The idea was interesting, but it didn't quite work out. At some point he left the company and we had to do something about the pipeline, as it was crashing most of the time. We did some calculations, and figured that with the right approach, a good old MySQL+PHP solution would do the trick. And it did.
Having switched jobs myself in the meantime, I'm happy knowing the system is still running, and finding people to maintain it is relatively easy.