Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l0b0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
391.
▲
by
l0b0
5y ago
Is there a type 3 error? If not, or if the question is as meaningless as I suspect, why would anyone ever want to use "type 1 error"/"type 2 error" rather than "false positive" and "false negative&quo
392.
▲
by
l0b0
5y ago
Erika Fatland's Sovietistan: Travels in Turkmenistan, Kazakhstan, Tajikistan (originally published in 2014, so pretty recent) is a fascinating view into those countries from a lone traveller.
393.
▲
by
l0b0
5y ago
Some examples of common cultural (that is, completely avoidable) antipatterns: - LISP dialect devs insisting on using incredibly obscure technical abbreviations for important names, like car/cadr/cdr instead of first/second&#
394.
▲
by
l0b0
5y ago
You wouldn't even need to serve actual malware, just give people an old version of PuTTY with either a known vulnerability or insecure defaults.
395.
▲
by
l0b0
5y ago
I don't think GP was talking about replacing all downloads with malware, just key ones, like individual targets.
396.
▲
by
l0b0
5y ago
That's a cheap barb. First, I maintain a bunch of (small, to be fair) FOSS projects, mostly with zero payment over many years. Second, I've supported several projects with actual money. Third, if I can't reach anyone at the
397.
▲
by
l0b0
5y ago
If you think that's bad, try figuring out where to report bugs or even find the original source code for several of the tools and libraries we all use every day. Some of them don't seem to have a web site, only a bunch of unoffici
398.
▲
by
l0b0
5y ago
One option is to trust on first use, checksum the installation script and at least casually verify the diff each time the checksum changes[1]. Pros: - Protects against simple hijacking. - Reproducible as long as the installer doesn't a
399.
▲
by
l0b0
5y ago
Everyone in charge is less competent than they seem.
400.
▲
by
l0b0
5y ago
I'd recommend a project from work, Geostore[1]. Highlights: - 100% test coverage (with some typical exceptions like `if __name__ == "__main__":` blocks) - Randomises test sequence and inputs reproducibly - Passes Pylint with
401.
▲
by
l0b0
5y ago
Third try, nice! Does anyone know of an open source version of this, like Lexica[1]? [1] https://f-droid.org/en/packages/com.serwylo.lexica/
402.
▲
by
l0b0
5y ago
Poetry2nix[1] is good for that. A lot of packages unfortunately require overrides to work, but poetry2nix ships with a bunch of these by default. [1] https://github.com/nix-community/poetry2nix
403.
▲
by
l0b0
5y ago
Cool stuff! Have you considered using Nix for this? That way you get even more reproducibility, because all the OS packages (including Python and Poetry) can be easily pinned. If you only use packages which are already in nixpkgs you won&#x
404.
▲
by
l0b0
5y ago
Meta: I posted a "PyPI is down" link a few days ago, and the post got insta-flagged. Is there some rule about this sort of thing?
405.
▲
by
l0b0
5y ago
Thank you for the tip. The issue is that I want the project to be usable by people who are not using Nix. IIUC I'd have to duplicate the configuration to do that with pre-commit-hooks.nix. Is that correct?
406.
▲
by
l0b0
5y ago
Did you actually read the comment thread? My comment: > NixOS isn't broken. I'm running into the same problem (link above). The response: > if you don't have a functioning ld or libstdc++ that's on you,
407.
▲
by
l0b0
5y ago
If you're worried about reproducible builds, make sure to use a commit ID for the `rev` property rather than a (movable) tag, optionally with a tag comment: rev: 148ec47877499e3d671f6366f9eed812db181b40 # v1.2.0
408.
▲
by
l0b0
5y ago
My favourite pre-commit feature is how it'll stash any unstaged changes before running checks when committing. No more irrelevant linter errors when committing part of a change. (And yes, it does the right thing when doing `commit -a`.
409.
▲
by
l0b0
5y ago
I don't understand this comment. Google clearly cares about the performance of that product, since it's the fastest webmail I've used by a long shot. Or maybe you care more about performance than almost everyone, and use Mutt
410.
▲
by
l0b0
5y ago
There are three kinds of web developers: - Those who don't care about performance, as long as it loads within a few seconds on their own beefed up system on the LAN. This article is for them, and we can only hope they will listen. - Th
411.
▲
by
l0b0
5y ago
I might not be familiar with that. Do you mean the /network/updates page of a repo?
412.
▲
by
l0b0
5y ago
Bash as a CGI. It took all of a couple minutes to work out my first ever remote execution bug.
413.
▲
Dependabot on Gitlab
(paperless.blog)
1 points
by
l0b0
5y ago
|
2 comments
414.
▲
by
l0b0
5y ago
From the article: > A NASA spacecraft has entered a previously unexplored region of the Solar System — the Sun’s outer atmosphere, or corona. > The mission’s closest approach is scheduled for 2025 at a distance of just 6.2 mil
415.
▲
by
l0b0
5y ago
The Mathematica showcase on Code Golf[1] is by far the most impressive showcase of any language I've ever seen. (Start reading from the bottom.) [1] https://codegolf.stackexchange.com/a/44683/9570
416.
▲
by
l0b0
5y ago
"X is obsolete" for any X which is not literally marked "obsolete" in the relevant reference is just a convenient lie. The real reason is going to be either "I don't like X" or "I don't unders
417.
▲
by
l0b0
5y ago
ls | grep '.csv$' | xargs cat | grep 'cake' | cut -d, -f2,3 > cakes.csv That's quite a few antipatterns in one go. Unless you have a bajillion files the `xargs` is unnecessary, the `cat` and `ls` are unne
418.
▲
by
l0b0
5y ago
Shout-out to Toitū Te Whenua LINZ, the New Zealand government mapping authority, for actually funding several projects in the geospatial field.
419.
▲
by
l0b0
5y ago
Some things which have worked for me (Scandinavian working elsewhere, senior dev): - Re. keywords, trim the CV according to the job you want. I've worked with PHP, PL/SQL, VBA and other technologies I'd rather never touch aga
420.
▲
by
l0b0
5y ago
Now, can we please get GitHub issues back into third party search engines? Now, whenever I search for something I know is in an issue I only ever get results from those crappy GitHub scraper sites. This is happening on both Google and Duc
More ›