Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chousuke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
481.
▲
by
chousuke
7y ago
Hasn't admitted? As far as I know, it is an explicitly stated goal of the systemd project to provide an integrated (compared to whatever each distribution assembled together to provide one) base system on top of the Linux kernel with
482.
▲
by
chousuke
7y ago
I confess that I haven't run Windows with virt-manager on my own desktop in a long while, but it worked just fine after installing the required drivers at install time. IIRC Redhat distributes signed drivers for Windows for free. The p
483.
▲
by
chousuke
7y ago
Using QEMU directly is a bit tricky and it's not really intended to be used in that fashion by most users, unlike VirtualBox. Both gnome-boxes and virt-manager use QEMU under the hood though, and they provide a point-and-click experien
484.
▲
by
chousuke
8y ago
I suspect I have aphantasia or at least extremely limited voluntary visualization (I can with some effort make myself feel like I'm maybe experiencing something that could be related to a visual sensation, but I would hesitate to call
485.
▲
by
chousuke
8y ago
I suspect using really old and shoddily cobbled together software is one of the reasons vendors usually don't like you looking under the hood. I recently figured out how to poweroff a brocade switch (there is no native command for it)
486.
▲
by
chousuke
8y ago
I've been following a "diet" of eating a normal lunch approximately once per day (usually around midday) and then fasting until the next day, save for an extra fruit or two while at work, and a small bit of something salty du
487.
▲
by
chousuke
8y ago
Hmm, so the branch names are part of the commit's metadata. I'm not sure I agree with that, but I guess it's a valid choice. The first article also states that unnamed branches are useful for small, temporary diversions, and
488.
▲
by
chousuke
8y ago
The mental model helps me with git because it maps pretty closely to what data actually exists. The index is just a useful thing to help me put stuff into a repository in a controlled manner. I've never attained a similar transparent u
489.
▲
by
chousuke
8y ago
I'm not sure if I'm reading your comment right, but if you're going to do something that might result in a mess (such as a merge or a rebase) the sane thing to do is not to have anything uncommitted in your workdir; that way
490.
▲
by
chousuke
8y ago
I have the exact opposite problem. I have a mental model of git, but not a very good one for most of its competitors; I don't really get mercurial for example, but git is just: 1) uncommitted stuff in workdir. Potentially can be lost,
491.
▲
by
chousuke
8y ago
That's just up to how you model your data. there's nothing that prevents you from using a single table with a JSON blob in an RDBMS either, but it's throwing away most of the benefits. A NoSQL database might seem to make migr
492.
▲
by
chousuke
8y ago
I don't really understand what is it about that makes RDBMS schema changes particularly harder in people's minds. All schema changes to your data can be hard or easy depending on what you do, regardless of whether that schema is
493.
▲
by
chousuke
8y ago
Finn here. Most of the technically valid declensions of "dog" would never see any actual use, so it's not quite as bad as it seems, but I think you still need to count them as individual words because they can't form a v
494.
▲
by
chousuke
8y ago
Writing Finnish on a phone is terrible until it learns all of your most commonly used words and their most common forms, at which point out becomes merely bad. Whenever I write Finnish using my phone I basically have to work around the keyb
495.
▲
by
chousuke
8y ago
You'll get there. I'm at the point where my accidental nano sessions look like jkjkdd:q! because I can't remember how to exit it and I can't stand navigating an editor with arrow keys anymore.
496.
▲
by
chousuke
8y ago
Eh, that doesn't scale beyond a few devices. There's out-of-band management, yes, but often it's in the form of an isolated management network, which allows automation quite conveniently. Even the serial console is often acce
497.
▲
by
chousuke
8y ago
AFAIK that suid binary was used to enable starting the X server without a display manager. It still actually ran as non-root.
498.
▲
by
chousuke
8y ago
I find it very pleasant, but I also tend to avoid ORMs. I can just write SQL queries to get me the data I need in any form I want, and it's not always useful to stuff that into objects when I can just process it as is.
499.
▲
by
chousuke
8y ago
You only need a separate API layer if the database can't enforce constraints properly. The database schema (along with stored procedures, views etc.) is an API and database engines are designed to have multiple concurrent writers. Mu
500.
▲
by
chousuke
8y ago
You don't need a SQL dump to backup a PostgreSQL database. It has a mechanism (pg_start_backup) where it will only write WAL (journal) files and will not remove them while you use your filesystem backup (eg. rsync) as usual until you s
501.
▲
by
chousuke
8y ago
I think that distinction between mental model and abstraction is something I've tried to put into words for a long time with little luck. Thanks for that. I think that any person working with a system must be able to form a "moral
502.
▲
by
chousuke
8y ago
Or you could just not. I mean, you could just write out your code as if you already had the types specified and then fill in the boilerplate and fix errors afterwards. That's essentially what happens with dynamic typing anyway, so the
503.
▲
by
chousuke
8y ago
That's disingenuous. Maintaining a stable driver API is far from free, and the project has done just fine without one since its inception. Nvidia is not playing by the rules, and there's an alternative vendor. Why spend extra effo
504.
▲
by
chousuke
8y ago
As a non-native speaker, over the radio makes sense to me because in that case the radio is the medium that carries your speech. It's "in" English because that's the "encoding" of your message. You would then t
505.
▲
by
chousuke
8y ago
I find this interesting because my native tongue, Finnish, is quite good about accepting neologisms. People do use English terms, but it's also very common that there exists a native word and people will use that. Calling computers &qu
506.
▲
by
chousuke
8y ago
To me, using consumer-grade SSDs seems less the problem compared to not having a database replica (for quick recovery) and PITR -capable backups (for near-zero data loss). These are not difficult to set up and are definitely worth it if you
507.
▲
by
chousuke
8y ago
With Postgres, it's perfectly safe and supported if you just do it according to the documentation using pg_start/stop_backup and also archive your WALs properly. Most databases have something similar.
508.
▲
by
chousuke
8y ago
OpenBSD doesn't include the Apache HTTP server, so while their default settings might expose Apache bugs if you choose to use it, it's not fair to say it's a vulnerability in OpenBSD
509.
▲
by
chousuke
8y ago
With git, I think it helps to think of development in terms of patch series. An individual commit is a single patch, intended to do one thing (and hopefully do it well), and a feature branch is a patch series. A pull request is then a reque
510.
▲
by
chousuke
8y ago
My first impression is that the author might intend to have this included in the OpenBSD base system, which I suppose requires a clean reimplementation. I can see how it might be something they'd want in base. I suppose rewriting it wo
More ›