Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chousuke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
571.
▲
by
chousuke
10y ago
From what I've seen, the problem of inefficiency most often manifests when the entire system of software is taken as a whole. On a developer's machine with local SSD, a small database and a really small working set, even large ine
572.
▲
by
chousuke
10y ago
My rule of thumb in commenting is that I comment the why or how, not the what... Unless the what is sufficiently non-obvious, in which case it is usually prudent to have a really good explanation of the why, as well.
573.
▲
by
chousuke
10y ago
Eh, you "never, ever" have to worry about DynamoDB scaling in a perfect world where marketing is literally true. If you read Amazon's documentation, there's quite a lot that you need to pay attention to if you want Dynam
574.
▲
by
chousuke
10y ago
Thanks for that. Unfortunately the documentation neglects to even link to API documentation for the objects that get passed to the gcli functions or even mention their types, so I guess I'm supposed to use some sort of console with pri
575.
▲
by
chousuke
10y ago
I switched to VimFx so I could get electrolysis working. I had to tweak scrolling speed quite drastically and and there are some behavioural differences which means I have to unlearn some muscle memory. However, with the classic theme resto
576.
▲
by
chousuke
10y ago
I don't see it as a negative, really, just realistic. It is a fact that everyone makes mistakes, and with the inherent complexity and features that are demanded of modern software, it is harder and harder to maintain a comprehensive un
577.
▲
by
chousuke
10y ago
My problem with Subversion is that it only really works well for trivial cases where you have linear and non-overlapping changes. It's great for configuration management, but not much else. If you have more than 1 person doing simultan
578.
▲
by
chousuke
10y ago
My experience with Red Hat (or CentOS) is that the default SELinux policies usually work out of the box, so turning it off grants no benefit. The few times SELinux has "broken" something the fix usually been as simple as creating
579.
▲
by
chousuke
10y ago
If you use systemd you can assign services to slices which can be assigned cgroup resource reservations / limits. I don't think any distro does too much with this out of the box yet (IIRC by default all services run under a single
580.
▲
by
chousuke
10y ago
I'm not sure if I qualify as a docker expert, but I feel like I need to comment on these... Firstly, I think it is correct that docker encourages disposable infrastructure, because your docker setup basically must be able to recover fr
581.
▲
by
chousuke
10y ago
I feel that sometimes I'm pro containers, and sometimes I'm very much against them. Docker does make deployments and upgrades very easy once you have the initial infrastructure set up, and you can deploy applications directly from
582.
▲
by
chousuke
10y ago
Let's see if I can explain it concisely... When you send traffic to an IP address, your router must know where to send it to. In consumer routers, you usually just have a default route for the whole internet towards your ISP's gat
583.
▲
by
chousuke
10y ago
Sure you can make do without the index, that doesn't mean it's better not to have it. I personally don't feel comfortable with mercurial, but that may be because I don't understand it. It's been a long time since I
584.
▲
by
chousuke
10y ago
Let me just start by saying that while gitless seems fine, it tries to hide the index and thus encourages bad habits in git users. The index is by far one of the best features git has in comparison to other VCS, and trying to hide it beca
585.
▲
by
chousuke
10y ago
I feel like people's opinion of git's usability is lower than what it actually is. Certainly, it's got a lot of different switches and stuff, but since its data model is so simple, you can always understand what it's d
586.
▲
by
chousuke
10y ago
From an utilitarian viewpoint, sharing a single, global language is probably useful. but I feel that such a world would likely also suffer from less variety in culture and viewpoints. Languages tend to accommodate the way of thinking preval
587.
▲
by
chousuke
11y ago
Nowadays, the omnibus package makes gitlab pretty easy to maintain. I had to do an upgrade from Gitlab 6.9 (source-based on ubuntu 12.04) to 8.3 (omnibus rpm on rhel7, managed via puppet) recently, and it was surprisingly smooth. The packag
588.
▲
by
chousuke
11y ago
The way I see it, actual arrogance is a character flaw, allowing yourself to become secure in your "knowledge" that you have something over other people which makes you unconditionally superior. I don't think there's muc
589.
▲
by
chousuke
11y ago
You know, if you use Docker for the right reasons, in the right way, it can be a real time saver. I'm not really sold on the way Docker specifically tries to be fire-and-forget easy (it often succeeds in being silly and you have to wor
590.
▲
by
chousuke
11y ago
> Now, you'll want a second network port with its own chipset (perhaps on its own card) for being able to ssh in if the webserver crashes I don't think this is necessary with modern NICs and SR-IOV. I imagine you'd just c
591.
▲
by
chousuke
11y ago
You know what? I read the s6 page and found this: http://uselessd.darknedgy.net/ProSystemdAntiSystemd/ I found it rather enlightening and found myself agreeing with pretty much everything. Trying to argue for or again
592.
▲
by
chousuke
11y ago
I am. Currently I am not aware of any serious effort besides the systemd project to provide a coherent, modern core userland for Linux distros. Previously, every distro built their own init systems and core tools to manage services, leading
593.
▲
by
chousuke
11y ago
> Linux has always been about choice This is wrong. Linux has never been about anything. It's always been only what people have made it; no less, no more. Viewed like this, systemd is not at all "un-linuxy" (if that made
594.
▲
by
chousuke
11y ago
Not anymore: https://github.com/syl20bnr/spacemacs Seriously though, this joke has unbeliveable staying power, despite being almost as old as emacs itself.
595.
▲
by
chousuke
11y ago
What I find interesting is that PostgreSQL is slowly gaining features like that make it a good fit for many use cases of NoSQL datastores. With the BDR extension, it might even be possible to use PostgreSQL to implement an eventually consis
596.
▲
by
chousuke
11y ago
I think your example is somewhat badly chosen. If I had to delete four lines, I'd most likely mash dd until done, or maybe Vjjjd. It would be completely automatic and not require reaching for numbers or the arrow keys, making it signif
597.
▲
by
chousuke
11y ago
I don't actually program all that much, but I find that for text editing, vim (or even vi) is hard to beat. As a sysadmin, I appreciate the fact that some form of vi exists on any vaguely unix-like machine I log into. Even without a
598.
▲
by
chousuke
11y ago
I can't say what you were trying to do, but I've had to set up SELinux several times, and it's always been a fairly simple iterative process: 1. enable permissive mode 2. test application 3. check audit logs for any complaint
599.
▲
by
chousuke
11y ago
SELinux isn't that hard. Disabling it is just lazy. Granted, creating a really secure policy takes effort, but even just having it enabled with simple policies can help mitigate the impact of a bunch of vulnerabilities, even if it wo
600.
▲
by
chousuke
11y ago
tame is easy and simple, which is a good thing, but comparing it to SELinux for ease of use is missing the point. SELinux is capable of providing very fine-grained access control depending on user, process and file contexts. tame is merely
More ›