Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chousuke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
511.
▲
by
chousuke
8y ago
You don't need to understand git's internals; I for sure don't know how it does delta compression of pack files etc. to provide you with efficient storage of snapshots and whatever else it does. However, what you do need to
512.
▲
by
chousuke
8y ago
This attack doesn't touch the init system's attack surface though. It breaks journald, which is a separate program that you don't even have to run (syslog daemons still work) Calling this a bug in the init system is like assi
513.
▲
by
chousuke
8y ago
Is that really legit in German? I know Finnish umlauts (ä, ö) get sometimes mangled to ae or oe, but they are definitely not valid alternative spellings nor are they pronounced even close to similar.
514.
▲
by
chousuke
8y ago
My experience has been that FreeBSD in particular has issues with graphics drivers. My 2015 desktop with a (at the time) mid-range Radeon card is only barely stable (took some fiddling with ports) in the latest 12 release. I hear Nvidia is
515.
▲
by
chousuke
8y ago
Thanks for the explanation. I don't think it's a good idea, but it does clarify some things. In git, a branch is a branch by virtue of being an actual physical branch in the data structure. To elaborate, I think a branch having mu
516.
▲
by
chousuke
8y ago
> Mercurial has a few properties that make this easier than in git. For example, there is no concept of detached head / garbage collection; when you save a commit, it is simply saved forever unless you choose to forcably remove it.
517.
▲
by
chousuke
8y ago
I often find GUIs restrictive because they don't lend themselves well to ad-hoc scripting. I also don't use GUI editors, so that may be a part of it. I can see how a TUI/GUI for being able to quickly stage things from the UI
518.
▲
by
chousuke
8y ago
I would hate to be restricted to a GUI tool to achieve what git add can do from the command line. Using stashes would be just reimplementing the index using less convenient UI. I really don't understand what's so difficult about t
519.
▲
by
chousuke
8y ago
Well, yeah, I'm aware of that, but it still boggles the mind that there'd be something visual in people's memory to actually reference while drawing, other than things like "there's supposed to be muscle here and
520.
▲
by
chousuke
8y ago
I'm like that too, I think. I would hesitate to call it "seeing" things. Something like counting sheep actually causing a visual experience (in color!) just does not compute. It's frustrating, because I've been want
521.
▲
by
chousuke
8y ago
What kind of water are these people drinking? I don't understand how you could be dehydrated and hate the taste of water unless it's severely contaminated. A glass of water when you need it is the best damn thing ever. I'm pr
522.
▲
by
chousuke
8y ago
I run OpenBSD on my router and it's great. It was refreshing to not need Google for figuring out how to set things up, because everything is in the included manual pages, which often do a great job explaining new concepts. Want a qui
523.
▲
by
chousuke
8y ago
It's not necessary optimizing for junior developers. When properly implemented, language hand-holding is a tool for "better" programmers as well. I find that my brain capacity is limited, and the more I can focus it on issues
524.
▲
by
chousuke
8y ago
I think it's important to note that in the case of most data structures, you only need to do the hard work of verifying your unsafe code once, after which you can package it up in a crate. I guess many C programmers might be used to re
525.
▲
by
chousuke
8y ago
A simple "no, this has been discussed before" is plenty respectful. there's no need to spend any more words on it unless someone specifically challenges with new and relevant information. Having a CoC doesn't mean you ha
526.
▲
by
chousuke
8y ago
Man, I see people describing their dreams as having vivid colours and sounds and weird stuff and I can't relate at all. I very rarely dream at all for some reason and the few times I can remember having dreamt there's only a very
527.
▲
by
chousuke
8y ago
> When referring to "state" are we talking about just mutable state? I don't think you should restrict yourself to thinking only about mutability and immutability in your program, but also that of the entire system. If you
528.
▲
by
chousuke
8y ago
No. systemd has nothing to do with this. the issue has existed long before systemd. it's the kernel that changed to allow interfaces to have alias addresses.
529.
▲
by
chousuke
8y ago
I'm curious how that actually works in practice. Do you package all software by yourself? I mean, if the vendor-provided httpd package for example started and enabled itself upon installation, how would you structure your configuration
530.
▲
by
chousuke
8y ago
They do? I admin primarily RH and CentOS hosts and I've not noticed this happening with any packages. As a quick test, I installed httpd on my workstation, and it did not get automatically started or even enabled at boot. I don't
531.
▲
by
chousuke
8y ago
The original Finnish article indeed does not talk about explosions. I don't actually know the technical term in English, but it's a mechanism that causes a fast discharge of gas that displaces oxygen to put out the fire
532.
▲
by
chousuke
8y ago
I think packages starting services at install time or restarting them during upgrades is primarily Debian/Ubuntu weirdness; I don't remember seeing this behaviour with RedHat or Fedora. Automatic startup on install is supremely an
533.
▲
by
chousuke
9y ago
The most common way you generate such generic functions is by using higher order functions like fmap etc, not by directly coding them using do notation, though it is nice to have when you do need it. In languages that have no access to the
534.
▲
by
chousuke
9y ago
What may not be obvious here is that the Haskell function in each of these situations is the exact same generic function. The flow of data is abstracted via the Monad interface, so that it becomes possible to write code that works generical
535.
▲
by
chousuke
9y ago
There are other techniques that Google's routers will most likely use to load-balance traffic transparently to multiple hosts. A relatively simple way is to hash the (source, destination) address pair of the IP packet to determine whic
536.
▲
by
chousuke
9y ago
I think it should be clarified that "destination" refers to an IP address, not an individual host. My understanding is that anycasting means a single address corresponds to multiple hosts achieved by simply advertising it from se
537.
▲
by
chousuke
9y ago
> Git is one of those tools that let you endlessly play with your tools rather than getting the job done I vehemently disagree with this sentiment. In fact, I find the opposite to be true. Git is the first VCS I used that is useful durin
538.
▲
by
chousuke
9y ago
Did you mean "physical replication"? Logical replication corresponds to MySQL's model, I think, whereas WAL streaming is just copying over the changed bytes as they get written to the WAL on the master database. I like Postgr
539.
▲
by
chousuke
9y ago
Give OpenBSD a try. Of the BSDs I've tried, it's the one that feels the most "tasteful", if that makes sense. Everything in the base system is well-documented, well-executed and feels consistent, and most things just do
540.
▲
by
chousuke
9y ago
I'm 31, and I started learning to draw a bit over a month ago. Progress is slow, but it's been visible. The kicker was when I realized that talent doesn't really exist; talent is built. The sort of people who are "natura
More ›