Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l0b0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
511.
▲
by
l0b0
5y ago
The current work project[1] has all of these, with one substitution: Pyenv, Poetry, Pytest, pytest-cov with 100% branch coverage, pre-commit, Pylint rather than Flake8, Black, mypy (with a stricter configuration than recommended here), and
512.
▲
by
l0b0
5y ago
The devs are actively anti-folder structure handling within Darktable[1], which is why I still have to use Digikam or a file manager and then leave my computer for a few hours to re-import my entire collection every so often. Re. UI, open
513.
▲
by
l0b0
5y ago
Definitely. Only make something configurable if you know there are people you want to use the software who will use different values for that configuration. Infinite flexibility equals infinite complexity.
514.
▲
by
l0b0
5y ago
Treating shell scripts as first class has taken me on a bit of a journey over the last decade: - Learned from shunit2 that it's possible to write solid shell scripts, and that writing test code in shell scripts is hard to learn but doa
515.
▲
by
l0b0
5y ago
The article was great, but this was an annoying set of substitutions. There's a perfectly cromulent way of creating technology-agnostic content: metasyntactic variables like "Foo" and "Bar". Instead, the simple subs
516.
▲
by
l0b0
5y ago
Techniques aren't culty, people are. I've been practising TDD for years, but I've only ever heard of this cult in web forums.
517.
▲
by
l0b0
5y ago
I wonder if this could reasonably be applied to the rm command - something like "wait for log(N) seconds before actually deleting N files."
518.
▲
by
l0b0
5y ago
> But, 0.01% really are evil. They’re trying to mislead us. Or sell us something deeply problematic. Or convince us of something that could harm us or others. Since we're pulling numbers out of asses, why not phrase that as
519.
▲
by
l0b0
5y ago
That's about three levels deeper than most users are comfortable navigating, and as such only a negligible fraction of users will ever see this setting, understand what it does, and change it. Too bad every enterprise solution defaults
520.
▲
by
l0b0
5y ago
It's tempting to make shouldiemail.com and just answer "No" for all these features. Seriously though, it must be years between every time I see an HTML email which would not have been improved by being plain text.
521.
▲
by
l0b0
5y ago
> A GWR spokesperson told Sky News there have been reports of "hairline cracks on the suspension" of the trains but insisted the issue "doesn't affect the structural integrity of the carriage". Is the sus
522.
▲
by
l0b0
5y ago
Excellent work, although the "hover me" doesn't do anything in Firefox 88 on Linux.
523.
▲
by
l0b0
5y ago
tl;dr: Nix will soon be deciding whether to rebuild packages based on the dependency contents rather than the build inputs, which should result in much fewer rebuilds. This is excellent news, and hopefully the savings will end up being us
524.
▲
by
l0b0
5y ago
You can do this in the browser already. In Firefox, go to Preferences → Language and Appearance → Advanced and untick "Allow pages to choose their own fonts, instead of your selections above". The user experience is that it improv
525.
▲
by
l0b0
5y ago
Absolutely! I follow some 100+ feeds in Liferea. Basically any site or part of a site which has interesting content with low or intermediate frequency (Hacker News and the like would just flood the "inbox"). It's an excellent
526.
▲
by
l0b0
6y ago
Original: https://southseattleemerald.com/2021/04/24/weekend-long-read...
527.
▲
by
l0b0
6y ago
Thanks for the sha256sum tip - I checked the man page, but it doesn't mention that it reads from standard input by default (only when passing the filename "-"). The code has only changed once in the few months I've been
528.
▲
by
l0b0
6y ago
Here's[1] one way to actually curl + checksum then run in a Dockerfile, in case anyone wants it: RUN curl --location --show-error --silent --output get-poetry.py https://raw.githubusercontent.com/python-poetry/p
529.
▲
The Newline Guide to Bash Scripting
(newline.co)
1 points
by
l0b0
6y ago
|
0 comments
530.
▲
by
l0b0
6y ago
I wrote The newline Guide to Bash Scripting[1] (released today!) with users like you in mind: already familiar with programming, needs to use Bash, but don't want to invest hundreds of hours to understand how to list files, use redirec
531.
▲
by
l0b0
6y ago
You have to use it with caution though, otherwise it just becomes an excuse to never get rid of cruft.
532.
▲
by
l0b0
6y ago
Strange that the article doesn't mention Chesterton's Fence[1]: > [T]he principle that reforms should not be made until the reasoning behind the existing state of affairs is understood. If removing things is allowed, it
533.
▲
by
l0b0
6y ago
It's interesting how these have held up: Do you use source control? Source control is much more common now than in 2000. I worked many years as a software developer before encountering any team which used version control as a
534.
▲
by
l0b0
6y ago
Very good reasons all round. Good luck, we need simpler solutions in the cloud space!
535.
▲
by
l0b0
6y ago
Unsolicited review of sync.sh ahoy! The easy stuff: - Non-exported variables are by convention lower_case, while exported variables are UPPER_CASE. - Function names are by convention lower_case. - There's a "quite" signature
536.
▲
by
l0b0
6y ago
For sure, as long as that's not how they/I write code normally! :D It demonstrates very in-depth understanding of the structure of the language, just as any good writing demonstrates expert-level understanding of natural language.
537.
▲
by
l0b0
6y ago
I've seen a bunch of what I would consider likely candidates. Obviously nobody has proof of any of this, but controversial subjects get storms of downvotes all the time.
538.
▲
by
l0b0
6y ago
Targeted dislike campaigns are clearly a thing. I'm glad they are doing this.
539.
▲
by
l0b0
6y ago
As someone who's used CDK for a few months and never handcoded CF, that sounds completely correct. If you're comfortable with Python, here's a simple but non-trivial architecture you can check out: https://github.c
540.
▲
by
l0b0
6y ago
This takes on a sinister tone in connection with interminable "which X is the best for this project" discussions. Evaluating all Xes would take infinite time because new Xes (JavaScript offshoots, Python package managers, CMSes, I
More ›