Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chousuke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
391.
▲
by
chousuke
7y ago
I think you can use format!() to format the byte array as a hex string. The result of a hash is never a string, so it makes sense that you'd need another step to print it as one.
392.
▲
by
chousuke
7y ago
You can use iptables to limit metadata access to certain users but that takes effort so no-one does it. I guess a machine-local service that takes ownership of the metadata service and implements additional restrictions (such as limiting ac
393.
▲
by
chousuke
7y ago
It is expected that you can't review everything you use, but you can still control the amount of trust you put in random blobs downloaded from the internet. If you're using dozens of docker images, perhaps you're trusting too
394.
▲
by
chousuke
7y ago
Sway can pretty much replace awesome nowadays, so I'd encourage giving it a shot. You can even script around the way it does multi-monitor workspaces to make them work similarly to awesome (just bind your switching shortcuts to a scrip
395.
▲
by
chousuke
7y ago
I think I might have to try v for scripting. I've been wanting a non-dynamic language for that purpose, and v having few dependencies and fast compile times might actually make it usable for that purpose.
396.
▲
by
chousuke
7y ago
It does that. You can hack the script to only install partial sets, but you're encouraged to install all the sets. I've seen at least one mention on the mailing list about merging the sets because the recommendation is to always i
397.
▲
by
chousuke
7y ago
I switched over from awesome to sway just a few days ago. With a bit of scripting and a Python tool that implements the screensaver inhibition dbus protocol, I have awesome-style per-monitor workspaces and swayidle won't kick in to loc
398.
▲
by
chousuke
7y ago
My own understanding of QM at this point is that it's sort of wrong to think of anything being exactly anywhere, ever. The way I intuit it, QM systems seem to be described by their wavefunctions sort of the same way a bunch of sine wav
399.
▲
by
chousuke
7y ago
Languages are "invented" too, but we can still use them to approximately describe reality. Things are true in math if we can follow the rules to derive the truth from axioms. That knowledge may then describe or predict something w
400.
▲
by
chousuke
7y ago
I suspect that if someone just replaced crond with a thing that generates systemd timers, few people would notice.
401.
▲
by
chousuke
7y ago
I think it's fine not to remember things like this; it's what man and tools like this are for. Not having memorized cron syntax likely just means you don't work with it frequently enough for your brain to deem it worth the ef
402.
▲
by
chousuke
7y ago
The releases may seem more major than they did in the past because PostgreSQL dropped one part of its version number with version 10. 11 is to 12 roughly as 9.5 is to 9.6, not as 9.0 is to 10.0
403.
▲
by
chousuke
7y ago
I am not vegetarian, but I still sometimes choose the vegetarian option because it tastes good . I'm not very surprised by more people finding tasty vegetarian options when more are made available.
404.
▲
by
chousuke
7y ago
Sometimes it helps to automate small things anyway, as practice . I've noticed that as I become more practiced with automation, even the small things take less time (and are less prone to error) than doing things manually. It's a
405.
▲
by
chousuke
7y ago
I suppose requiring a transition might be the problem in the first place. XFS and LVM are things that are in use now . Though they might not be the most performant or the most convenient at this time, it makes for a strong strategy if you
406.
▲
by
chousuke
7y ago
I think Red Hat ultimately decided btrfs is not going to go anywhere, and ZFS is unfortunately a non-starter for licensing reasons, so from their perspective it really doesn't matter how good it is. I suppose the benefit of using XFS a
407.
▲
by
chousuke
7y ago
Seems like there are no RHEL 8 packages yet, but I think this release fixes the build issues, so they'll probably happen soon.
408.
▲
by
chousuke
7y ago
To me, "unconscious" encompasses all the processes in your brain that you are not aware of, which is most of them. You can become aware of the result of those processes as they emerge as a phenomenon of consciousness (such as beco
409.
▲
by
chousuke
7y ago
For such cases, we should have the necessary legal tools to deal with them if the material is truly dangerous enough to be consequential. It is not the job of a corporation to decide, though I suppose they are not under any obligation to pr
410.
▲
by
chousuke
7y ago
To be fair, that is no less a problem with proprietary software. With open source, you at least have the option of paying someone with fewer scruples to pick up the work. My personal perspective is that in most cases the amount of benefit &
411.
▲
by
chousuke
7y ago
I hear that lots but it always leaves me wondering, what is the thing that actually gets you to do it? If the solution were that easy, there wouldn't be a problem.
412.
▲
by
chousuke
7y ago
I think that my primary issue with ORMs is that they often allow you to code as if the database doesn't exist, instead of explicitly structuring code to handle network and database failures at the points where you deal with external da
413.
▲
by
chousuke
7y ago
I think it has more to do with responsibility. Humans are capable of understanding the harm caused by our choices and that brings responsibility.
414.
▲
by
chousuke
7y ago
I think it would make more sense to tie the behaviour to the domain's whois record. If that changes significantly, chances are the domain has changed owners.
415.
▲
by
chousuke
7y ago
As far as I understand it, the primary reason is that gravity is a much weaker force than any of the others, so detecting gravitational effects is difficult unless the scale of the event is colossal. These instruments are extremely sensit
416.
▲
by
chousuke
7y ago
I think "cannot" is a bit too strong a claim. The brain literally invents faces when it interprets the signals from our eyes. Are you saying that it can't make up signals that don't exist? I don't see any reason to
417.
▲
by
chousuke
7y ago
The space outside the solar system is mostly empty, but also really big. Maybe these things are more common than we think. Rare events also happen all the time; something being extremely improbable doesn't mean it will never happen.
418.
▲
by
chousuke
7y ago
"In my opinion" is not a magic phrase that you can use to say whatever you want. Opinions are subjective evaluations of things for which there is no justifiable objective answer, such as personal preferences and judgements. Saying
419.
▲
by
chousuke
7y ago
It's a good reminder anyway. There are lots of people involved with tech who genuinely don't seem to understand that things fail, even in "the cloud". As for pet servers in the cloud, not having them is the ideal, but it
420.
▲
by
chousuke
7y ago
Is that 0.1% for non-snapshotted data? I'm under the impression that if you snapshot your data, EBS can recover some failures from the S3-backed snapshot transparently, increasing durability. I obviously don't know the technical d
More ›