Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chousuke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
181.
▲
by
chousuke
5y ago
I'm personally not that much against query builders, but I dislike things that try to hide the database. Any datastructure that transparently performs database queries as you access items in it goes swiftly in my "nope" pile.
182.
▲
by
chousuke
5y ago
There's nothing wrong with 24/7 support and high availability; just pay people to do evening and night shifts and compensate anyone who gets called to help with an incident outside normal working hours. Night shifts can be pretty
183.
▲
by
chousuke
5y ago
I'm completely hopeless in nano because I can't for the life of me use the arrow keys for moving around, so I just end up typing random strings of hjkl/bw or whatever in the buffer until I realize I have the wrong editor and
184.
▲
by
chousuke
5y ago
My anecdata says once in two decades. I migrated a few simple Perl webapps some time ago, the oldest being 20+ years old or something? Not completely sure when it was created. I moved them from Oracle to PostgreSQL because we would have had
185.
▲
by
chousuke
5y ago
Wouldn't the brain send the signals pre-emptively such that they trigger the action at the correct time, accounting for delays? I don't think it's possible to perform any conscious action that quickly, but if you've tr
186.
▲
by
chousuke
5y ago
Come on, that's just mean. I don't really understand the negativity against V; is there something wrong with setting crazy goals if you're actually working towards them?
187.
▲
by
chousuke
5y ago
Of what you listed, only the telephone network is one where I don't recall experiencing downtime; probably because it degrades gracefully to reduced functionality if something fails. Can't say much about air traffic control, but I
188.
▲
by
chousuke
5y ago
Regarding "no downtime", there are very few applications where that's actually a good goal to have at all. Quite often, simple systems can provide you high availability where your downtime is a few seconds or minutes at most
189.
▲
by
chousuke
5y ago
Part of this seems to be that people are afraid of removing parts of a system. It's easier to add stuff because you "know" you aren't removing some important bit, so it's "safer", even though the new stu
190.
▲
by
chousuke
5y ago
That's not necessarily true though; you could very well implement containers as lightweight VMs that use their own specific kernels, though the image itself doesn't contain any. Thinking in terms of containers vs VMs is missing th
191.
▲
by
chousuke
5y ago
I am in a senior(ish) position and honestly I prefer talking things out with at least one other person before making larger decisions. Even if they're a "junior" person, explaining my ideas to someone helps me see the spots w
192.
▲
by
chousuke
5y ago
There are ways to generate an anonymous proof that a TPM module is certified genuine by its manufacturer, without leaking the actual identity of the individual device. Using TPM2 in VMs means you either pass through the hardware to the VM o
193.
▲
by
chousuke
5y ago
I find that there are very few things related to programming that don't constitute an interface in some way, so it feels natural to me to think about everything in terms of the interface it presents to users, both explicitly in what yo
194.
▲
by
chousuke
5y ago
the database schema is an API like everything else, and you can solve API evolution problems the same way as you would with a web API, using eg. views, stored procedures and versioning. There's no reason not to expose parts of your dat
195.
▲
by
chousuke
5y ago
But it's not more consistent if you need to change something. Having declarative desired state configuration is useful for any environment, even when n = 1. I would definitely deploy a configuration management solution for 10 hosts; it
196.
▲
by
chousuke
5y ago
Instead of just making the claims above, can you demonstrate with examples or evidence that they are true? I'm somewhat concerned about the state of matters myself, but why and how is it that you think Google is making website creati
197.
▲
by
chousuke
5y ago
Why not, though? Millimeters are trivial to convert to meters in your head, since you don't need to calculate anything; just move the decimal point. Using millimeters gives you a "standard precision" which is a boon for int
198.
▲
by
chousuke
5y ago
How much signal is there in that 1.3MB though? We don't think about the weight of websites much nowadays because we have insane bandwidth, but how much of that is actual content? The text on one page can't be more than a few kilob
199.
▲
by
chousuke
5y ago
The problem is, what power allows the developer to refuse? If they do, a manager can find someone who won't, and developers who stand by their principles will lose to competition. A building engineer could probably drop a hint somewhe
200.
▲
by
chousuke
5y ago
I wouldn't say the package manager is entirely coincidental; distro-sync and transaction support makes it easier than it would be if you did the equivalent operation using APT. I'm pretty sure I could convert RHEL into Fedora an
201.
▲
by
chousuke
5y ago
You will. Considering how easy it is to convert between distros with DNF (I've often wished APT had distro-sync) I'd be surprised if there were any real issues upgrading; it's most likely just left to the user's expert
202.
▲
by
chousuke
5y ago
You can convert between any RHEL-like distro by changing your repos, swapping/removing a few key packages (release, branding, subscription-manager certs if converting from RHEL) and then running distro-sync to make sure your other pack
203.
▲
by
chousuke
5y ago
I suspected it was bait, but FreeBSD jails being better than whatever Linux has is such a common meme that I'm asking anyway just in case someone actually knows enough about them to answer. I don't know enough to say for sure, but
204.
▲
by
chousuke
5y ago
I work for a hosting provider. Windows exists and it's used for corporate infrastructure, but the vast majority of actual applications and support services are running on Red Hat, CentOS or Ubuntu. Windows trends to be reserved for AD,
205.
▲
by
chousuke
5y ago
I think rather than a single person, you want exactly two people who have to agree on something to make a decision; and if you can't get to a decision, it's probably a sign you need to solve other problems first. That way, there
206.
▲
by
chousuke
5y ago
Do they really care if any one of those servers loses its data though? At that scale, you need higher level redundancy so it makes sense to prioritize filesystems for other features than how well they actually retain your data. For example,
207.
▲
by
chousuke
5y ago
I'm not sure that talking about feature parity even makes sense. What do FreeBSD jails do that Linux can't? I know there's no single jail system call that you can call so you need to assemble the container "manually"
208.
▲
by
chousuke
5y ago
Very often processes are naturally modelled as a series of transformations. In those cases, writing manual loops is tedious, error-prone, harder to understand, less composable and potentially less efficient (depending on language and availa
209.
▲
by
chousuke
5y ago
The key here is Postgres 9.5. AWS DMS does not support it because they require logical replication support. A few years back I migrated a PostgreSQL 9.2 database to AWS and wasn't able to use RDS because logical replication was not ava
210.
▲
by
chousuke
5y ago
I'm of the opinion that you should commit WIP stuff. Use the SCM for managing your source code, damn it! Just don't publish WIP crap; fortunately, you can have your cake and eat it too, with git. The biggest reason git (and an
More ›