Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l0b0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
421.
▲
by
l0b0
5y ago
My favourite set of pragmas: set -o errexit -o noclobber -o nounset -o pipefail shopt -s failglob inherit_errexit These are all easy to find in the Bash manual.
422.
▲
by
l0b0
5y ago
Problem is, the only user facing metric is basically "Did you get the last week's updates?", which currently is shipped on Friday and the user usually notices on Monday.
423.
▲
An Anthropology of Clean Code
(ravik.substack.com)
2 points
by
l0b0
5y ago
|
0 comments
424.
▲
by
l0b0
5y ago
After having configured a bunch of crontabs, I found the Nix+systemd timers approach a massive improvement.
425.
▲
by
l0b0
5y ago
I and another person are taking over an old batch processing system at work. The system itself is fairly stable, but interacts with some other systems which keep falling over or changing things without adequate notification. Currently there
426.
▲
by
l0b0
5y ago
I don't have millions of emails; I might've received a few thousand legitimate emails since my first account in ~2000, and most of those I wouldn't keep this long.
427.
▲
Ask HN: Lever Espresso Machines
2 points
by
l0b0
5y ago
|
1 comments
428.
▲
Ask HN: IMAP2Git
2 points
by
l0b0
5y ago
|
3 comments
429.
▲
Ask HN: Is There an IMAP2Git?
6 points
by
l0b0
5y ago
|
10 comments
430.
▲
by
l0b0
5y ago
I've heard this many times, and I don't really understand the argument. I've used the shell plenty of times for this sort of work, but it's much more complicated to do certain things correctly than in an IDE. Things li
431.
▲
by
l0b0
5y ago
> 1. Find and replace a pattern in a codebase with capture groups > git grep -l pattern | xargs gsed -ri 's|pat(tern)|\1s are birds|g' Or, in IDEA, Ctrl-Shift-r, put "pat(tern)" in the first box and "
432.
▲
by
l0b0
5y ago
At part 3 now, and it's great. I feel like I might finally learn what all the arcane stuff in the manuals actually mean. Most of the Nix documentation is like reading ASCII EBNF or research papers. This, on the other hand, has just t
433.
▲
New way to detect coronavirus through building ventilation systems
(sciencedaily.com)
1 points
by
l0b0
5y ago
|
0 comments
434.
▲
by
l0b0
5y ago
ECMAScript has gone through many revisions since its inception, so it is clearly possible to modify the language.
435.
▲
by
l0b0
5y ago
I'm not saying it solves every problem for everyone, but have you looked at Nix? I've found it to be great for portability (at least on other Linux distros), and you can easily install anything from stable nixpkgs packages to Git
436.
▲
by
l0b0
5y ago
I've been using JS on and off in various incarnations, and this sort of blows my mind. First because I don't think I've ever seen that approach used anywhere, and second because it would probably take me upwards of an hour
437.
▲
by
l0b0
5y ago
That points to the underlying problem: a crap standard library. If extremely common functionality has to be outsourced to (short but) completely non-obvious third party modules, the standard library has failed at its core task.
438.
▲
by
l0b0
5y ago
There are plenty of people out there who would love to see this feature more widespread. See all the fuss about making sure end users can't look under the carpet, like disabling copying, obfuscating JS, and DRM.
439.
▲
by
l0b0
5y ago
This is "unstable" as in "recent versions", not as in "broken". Anecdotally, "unstable" is a complete misnomer. Arch Linux (rolling distro, upgraded on my machines almost every day for ~6 years) was f
440.
▲
by
l0b0
5y ago
But the available data shows between 56% and 80% have a passport. We certainly can't conclude "most people in the EU don't have passports" from that data set.
441.
▲
by
l0b0
5y ago
If you're a developer you're doing yourself a big disservice by not learning how to deal with special characters.
442.
▲
Nix and NixOS Get So Close to Perfect
(christine.website)
3 points
by
l0b0
5y ago
|
0 comments
443.
▲
by
l0b0
5y ago
This might be good advice for fiction, but I would expect most non-fiction writers to be familiar with how terribly your intuition or instinct actually matches the real world. For example, the natural intuition about something which has lit
444.
▲
by
l0b0
5y ago
Piling onto the anecdotes, I always do a rough maths of likes vs. dislikes before watching any video from unknown creators. For pure entertainment, a 100-to-1 ratio or better means it might be watchable. For science, maths or computing mayb
445.
▲
by
l0b0
5y ago
> With Schools using Google Forms as a testing platform, students are able to use this shortcut to search through the source of the page, and determine the correct answers. So they're serving the answers with the questions,
446.
▲
by
l0b0
5y ago
It would be interesting to find out whether you can get the same effect by moving the screen further away, thereby reducing the field of view you have to scan through.
447.
▲
by
l0b0
5y ago
I lived in Geneva and worked in Lausanne (not the same periods) for a few years, and never saw anyone get fined for jaywalking in either city, not even myself. :) I guess it depends where you walk…
448.
▲
by
l0b0
5y ago
Yeah, my first thought was that the plethora of tools the code has to go through — version control, whichever tools are used for code review, linters, formatters and tests — means the odds of getting anything like this into a big code base
449.
▲
by
l0b0
5y ago
tl;dr: If you're seeing unreasonably short startup times, try `hyperfine 'bash -i'` instead. Funny, I thought my startup time was going to be ginormous, considering I've literally committed to it 203 times so far[1]. Nop
450.
▲
An UPDATE without a WHERE, or something close to it
(rachelbythebay.com)
91 points
by
l0b0
5y ago
|
107 comments
More ›