Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l0b0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
541.
▲
by
l0b0
6y ago
I wrote ~3000 words on how to find help for commands (and discovering which commands exist) for a book. It's not a trivial task at all.
542.
▲
by
l0b0
6y ago
One cool data format standard I only recently learned about is multihash[1] - a self-describing hash format: the first byte represents the hashing algorithm, the second byte represents the length of the hash, and the subsequent [length] byt
543.
▲
by
l0b0
6y ago
Cats & walking to work listening to podcasts.
544.
▲
by
l0b0
6y ago
CSS needs fewer font display options, not more. People have got drunk on text customization ("branding"), resulting in a web where no two sites read the same way. A few months ago I unticked "Allow pages to choose their own f
545.
▲
by
l0b0
6y ago
The biggest problem with Python typing + mypy is that it's not complete: not everything can be type annotated strictly (as in, avoiding `Any`) and correctly (as in, matching actual types passing through the code and not just whatever
546.
▲
by
l0b0
6y ago
This is only a problem if the `FringeScientist.quack` signature is identical to Ducky.quack: $ cat test.py from dataclasses import dataclass from typing import Protocol class Ducky(Protocol): def quack(self) -> None:
547.
▲
by
l0b0
6y ago
In other words, the problem is with describing secret information as "public".
548.
▲
by
l0b0
6y ago
That requires configuring a static list of repos. I might see if that can be changed, but I'm not exactly a C expert.
549.
▲
by
l0b0
6y ago
The `git maintenance` documentation links seem to go to the wrong place - nothing on that page mentions "maintenance". Maybe this[1] is what they meant? Time for a plug for Folder Git[2], which runs a Git command in a bunch of fol
550.
▲
by
l0b0
6y ago
My point is, if you had to pull `0` in that `for` loop into a variable, would you call it `zero` or `first_index` (or something else actually relevant to the loop)? I'd certainly prefer something relevant to the loop rather than `zer
551.
▲
by
l0b0
6y ago
"Pink box testing"[1] is my favourite variant of this. [1] https://neilbowers.wordpress.com/2008/08/11/pink-box-testing...
552.
▲
by
l0b0
6y ago
#define zero 0 is just bad programming, barring some philosophical code which cares about "zero-ness". Names need to reflect what they represent , not their precise values. Are we looking up the first index? Then how abou
553.
▲
by
l0b0
6y ago
Basically, human complexity means that tagging >> categorization.
554.
▲
by
l0b0
6y ago
On GOG: https://www.gog.com/game/wing_commander_3_heart_of_the_tiger
555.
▲
by
l0b0
6y ago
> Besides being a dream for micromanagers, it seems to be more about signalling progress vs. actually making progress. There are two massive red flags in that sentence. If the standup is being used as an excuse to micromanage som
556.
▲
by
l0b0
6y ago
In addition to pjc50's answer: 5) Right now it's probably harder (in most cases) to write a correct formal spec than actually implementing that spec. Otherwise formal specs would be much more popular in general. 6) The proportion
557.
▲
by
l0b0
6y ago
I'm just going off of the title, but I would expect microdosing to naturally involve only small effects.
558.
▲
by
l0b0
6y ago
$ type -a [ [ is a shell builtin [ is /usr/bin/[ $ type -a [[ [[ is a shell keyword
559.
▲
by
l0b0
6y ago
Strange how many commenters misunderstood this. This alerts when any command runs for a long time, without having to modify the command itself.
560.
▲
by
l0b0
6y ago
As soon as I realized there was an archival variant I signed up - 15k bookmarks archived using 45GB of space, which I can download anytime I want. The profile page even shows filters for any dead links (and why they're dead) so I can f
561.
▲
by
l0b0
6y ago
This looks like a specialization of Tim Berners-Lee's Rule of Least Power[1]: > suggests choosing the least powerful [computer] language suitable for a given purpose https://en.wikipedia.org/wiki/Rule_of_
562.
▲
by
l0b0
6y ago
I've been absolutely bingeing on his blog since discovering the podcast[1] during the 2020 Christmas break. The measured pace seems to make it much easier for me to absorb it without cognitive overload, at least the less extremely tech
563.
▲
by
l0b0
6y ago
Thank you all so much for the answers! Sorry for my ignorance (or laziness, since I haven't read up on this and don't know of a disinterested guide for techies) about backups; not allowing it is a completely understandable trade-o
564.
▲
by
l0b0
6y ago
As someone who is comfortable with TOTP but hasn't tried FIDO-/Yubikey-style devices, I have a few questions: - Are drivers for this already installed as part of desktop Ubuntu 20.10/Windows 10? Any driver installation will
565.
▲
by
l0b0
6y ago
It's kind of ironic that the example of "simple" code is a shell command which has many hidden gremlins. Just off the top of my head: - It swallows extra spaces between the arguments. - If the first argument starts with a hyp
566.
▲
by
l0b0
6y ago
Sounds like this can be solved by adding support to LLVM. I realize that might be a tall order, but isn't that preferable to locking entire platforms out of a popular new language forever? > The LLVM developers have been somewha
567.
▲
by
l0b0
6y ago
Great effort already! I would love to use an open source Pinboard-esque system: as simple and powerful as possible. That said, as a power user on del.icio.us and then Pinboard: - I should be able to put every single non-control Unicode char
568.
▲
by
l0b0
6y ago
Anecdotal after using Wayland for the last few months: * The brightness control for my screen doesn't work with it. Never been an issue on my Samsung laptop. I strongly suspect this depends on your hardware, but I'm not goi
569.
▲
by
l0b0
6y ago
> I think this is one of the big differences between junior and senior software developers. This may just be the curse of knowledge, but as a senior developer I would have to disagree. I've thought software was crap as long
570.
▲
by
l0b0
6y ago
> People who stress over code style, linting rules, or other minutia are insane weirdos I suspect this has to do with a combination of personal preference and never having worked with a reliable (in terms of just never changing t
More ›