Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l0b0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
451.
▲
Triumph at Saturn [video]
(youtube.com)
99 points
by
l0b0
5y ago
|
11 comments
452.
▲
by
l0b0
5y ago
> Grab a notepad and make a note every time you encounter some software bug in production (be it yours or someone else’s), or need to rely on your knowledge as a computer expert to get a non-expert system to work. Email me your list
453.
▲
Looking at the Outlying Data Points
(rachelbythebay.com)
2 points
by
l0b0
5y ago
|
0 comments
454.
▲
by
l0b0
5y ago
My career in IT (at the uni support desk) started with me screwing up an UPDATE. The colleague setting up the internal system had typed in something close to `UPDATE users SET password = hash("`, and asked me to type in the password I
455.
▲
An UPDATE without a WHERE, or something close to it
(rachelbythebay.com)
5 points
by
l0b0
5y ago
|
2 comments
456.
▲
by
l0b0
5y ago
> Some random person writes a blog post and now we have for some reason suddenly a 'best practice'. That's not giving other developers much credit for critical thinking. Famous articles such as Git Flow or The Joel Test ar
457.
▲
by
l0b0
5y ago
That top quote is enough to turn me off reading this article, and your comment perfectly explains why. Ironically, telling everybody else to think about what they're doing is something a lot of people have been doing since forever, s
458.
▲
by
l0b0
5y ago
On a platform I don't control, separate from the cloud provider I'm deploying to and requiring both billing and PII, I suppose? No thanks.
459.
▲
by
l0b0
5y ago
Unless things have changed in the meantime, the killer feature of CloudFormation for me is that I don't have to keep track of the state locally. Having to set up tracking of the infra state in Terraform is a huge pain, since it should
460.
▲
Where do your eyes go?
(radimentary.wordpress.com)
2 points
by
l0b0
5y ago
|
0 comments
461.
▲
by
l0b0
5y ago
`git depgraph` is really interesting, but it's based on Madge[1], which looks JS-specific. Does anyone know of something like Madge which is cross-language, that is, resolves references between files in Nix, Python, Java, JS, Ruby, Rus
462.
▲
by
l0b0
5y ago
I only read the article, not the paper, but aren't there a few issues/other plausible explanations? Off the top of my head: - The vast majority of GitHub projects probably have only a single contributor. Hopefully this study exclu
463.
▲
by
l0b0
5y ago
If that's realtime, how is it possible for something so big to dissipate so quickly? I would've thought the flash would take anywhere from minutes to days to dissipate.
464.
▲
by
l0b0
5y ago
I've configured my own and work systems for a few years using Puppet and Ansible, and I have to say Nix is miles ahead of them both. - Actually reproducible builds, as opposed to "only if all the external factors involved, like t
465.
▲
by
l0b0
5y ago
Ubuntu is based on Debian, another Linux distro, and was still a huge step forward. Building on the current best in class to create something better sounds like a sensible idea.
466.
▲
Keyboard Latency (2017)
(danluu.com)
170 points
by
l0b0
5y ago
|
114 comments
467.
▲
by
l0b0
5y ago
I didn't realize this was only for assignments, but the same applies if you prepend `x =` before the relevant lines.
468.
▲
by
l0b0
5y ago
Sure, once you cherry-pick the most trivial imaginable example ternary expressions are easy enough to read. First counter-example which came to mind: print("yes") if random.choice([True, False]) else print("no") D
469.
▲
by
l0b0
5y ago
There should be lots of implementations of both protocols by now - could we compare them for length and complexity to determine some sort of objective measure of the difference?
470.
▲
by
l0b0
5y ago
Oh? The Logitech G613 Bluetooth keyboard and M510 Bluetooth mouse were plug and play on Windows, Arch Linux and NixOS. Back in the day, sure, but I don't think custom drivers are much needed for anything but GPUs by now.
471.
▲
by
l0b0
5y ago
I did this at my current employer (NZ govt uses shitty third party services which really want to invade your privacy). Basically, nope, I'm not installing this closed source third party app (whose only job is to issue MFA tokens for
472.
▲
by
l0b0
5y ago
Definitely. There's no dichotomy though. I use some of the features of my IDE: editing obviously, interactive debugging and just general exploration via Ctrl-click are infinitely faster and more powerful than anything I've used
473.
▲
by
l0b0
5y ago
I scanned until I saw `ls | egrep '.*_test\.(py|cc)' | xargs -d $'\n' -- rm`, and then stopped. This is a terrible idea[1][2]. [1] https://mywiki.wooledge.org/ParsingLs [2] https://unix.stacke
474.
▲
by
l0b0
5y ago
It's best to give up on any kind of consistency between command options. Any project is free to do anything it wants, and they all do. Someone is eventually going to come up with standard N+1[1] which does things consistently, but they
475.
▲
by
l0b0
5y ago
That's easy: perverse incentives. 1. Secure by default makes for a higher barrier to entry. It's human nature to want to keep barriers of entry low for your life's work. (I have similar thoughts around copyleft licenses being
476.
▲
by
l0b0
5y ago
I've been using jottacloud.com for backups for a while now. The amazing thing is that EUR 8/month gets you unlimited storage. I'm currently at 3 TB of raw photos. Supported by rclone, which makes it really easy to set up a
477.
▲
by
l0b0
5y ago
No worries - the book grew out of a Bash course[1] I developed and ran at my previous and current employer, which mostly goes through a bunch of WTFs and non-trivial syntax and solutions to common problems which turn out to be more subtle t
478.
▲
by
l0b0
5y ago
I've used Arch and Ubuntu both for years, so here's my take. Basically, anything you get working in Arch stays working. On Ubuntu, every single major upgrade has been broken so badly that I eventually gave up and reinstalled fro
479.
▲
by
l0b0
5y ago
Wooden "bow" hammock. These sell all over the place, and I got the cheapest I could find at NZD ~300 including transport. The "bed" is easily detachable so I can store it out of the weather, and the hammock itself is hol
480.
▲
by
l0b0
5y ago
I'm afraid quotes are the way to go. The alternatives are basically escaping (which looks even worse) or using a different language. The book also mentions a few more tricks you probably want to know about for dealing with the really t
More ›