Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
faho
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
211.
▲
by
faho
8y ago
But this particular issue doesn't have anything to do with X!
212.
▲
by
faho
8y ago
>a simple game like that taking >100MB would make me suspicious Nah. Games often feature a bunch of textures and video and sound files. Bad compression or too high resolution on those is quite common, which is why games _are_ often th
213.
▲
by
faho
8y ago
You mean actually reading dirstate[0] or just the branch/bookmark files? We also do the latter, but dirstate format isn't easily readable just with shell builtins (lots of fixed-length fields with NUL-byte padding, also we don
214.
▲
by
faho
8y ago
Mercurial's startup time is the reason why, for fish, I've implemented code to figure out if something might be a hg repo myself. Just calling `hg root` takes 200ms with hot cache. The equivalent code in fish-script takes about 3.
215.
▲
by
faho
9y ago
Turns out it's a wash. On my arch machine the uncompressed image is 27M, with lz4 it's 14M. Both take around 10s to desktop according to `systemd-analyze` (which includes 3s bootloader timeout). Though I did figure out that for so
216.
▲
by
faho
9y ago
>Sure, but this is the installer presumably being loaded from CD/USB Doesn't have to be. You could also load it from HDD, which is probably rather common when we're talking about containers and such (and in other circumsta
217.
▲
by
faho
9y ago
Faster decompression. These things are loaded on every boot, which needs to be fast. That includes both the time to load them into RAM and to decompress them, and it's possible that gzip still wins on that. Personally, I keep my initrd
218.
▲
by
faho
9y ago
Apparently zsh actually does something similar by default. See http://zsh.sourceforge.net/FAQ/zshfaq03.html .
219.
▲
by
faho
9y ago
>Then such a call would be possible: yt https://www.youtube.com/watch?v=mqma6GpM7vM Okay, so I did understand what you are saying. Like I said, that's a rather large layering violation, since the function has nothin
220.
▲
by
faho
9y ago
In this case, what most likely happens is that the first result is offered as the suggestion - i.e. the greyed-out part in the commandline. To accept that, press right-arrow (with the default bindings, of course).
221.
▲
by
faho
9y ago
>2. Ability to search history from a partial command like `git checkout`, where up arrow would step backward from the present. We have that feature, and it's enabled by default. Just type the partial commandline and press up-arrow.
222.
▲
by
faho
9y ago
Note that the reason bash works here is actually a bit ugly. Like fish, it'll interpret an unquoted asterisk (sorry HN formatting) as the glob character. So it tries to match pathnames to `host:directory/`. Only the default bash b
223.
▲
by
faho
9y ago
>* The ability via a flag to say that a fish-function should not interpret passed function-arguments. Note that functions already don't expand the passed arguments. Fish expands them _before_ executing the function, so what you are
224.
▲
by
faho
9y ago
Hi, another fish dev here! We're open to a lot of things (except "make it fully POSIX-compatible"). We're still trying to not massively break everything, though. The sort of things we've discussed include: - Not exp
225.
▲
by
faho
9y ago
Wouldn't it already help if apt-key printed the list of keys it imported instead of the absolutely superfluous "OK"?
226.
▲
by
faho
9y ago
>A lot of people have iPhones and many these days now have Macs. Not really here in Germany. iOS has about 20% of the market, Android the other 80%. macOS is at about 8%. Anecdotally, even discounting that I have neither, of the 20 or so
227.
▲
by
faho
9y ago
I'd imagine the use is that it sometimes makes pronouns more useful. Substituting "he" and "she" for gendered articles: "I have he keyboard and she rock. He is large and she is grey" Without that, I'd
228.
▲
by
faho
9y ago
> I don't think speakers of the language that invented Worcester Sauce are in a position to give prescriptive logical advice to other languages. Of course they are. They didn't invent it, and even if they did they could still b
229.
▲
by
faho
9y ago
>This change fixes an internal inconsistency I agree that it does! "ß" turning into "SS" when uppercasing is awful. >It feels like replying to some bugfix in, say, Ruby with something like "I never liked Ruby
230.
▲
by
faho
9y ago
You and everyone you want to chat with.
231.
▲
by
faho
9y ago
As a german, I see this as a step in the wrong direction. The sharp S is a PITA to begin with, so I'd rather abolish it completely. Now there's a whole bunch of complications coming from this - how do I type this? To type lowercas
232.
▲
by
faho
10y ago
macOS hasn't been. Which isn't surprising, since 1.06.95 switched to GPLv3 (like most GNU projects).
233.
▲
by
faho
10y ago
Joachim Gauck, the current president of Germany.
234.
▲
by
faho
10y ago
>I don't think the problem is cargo culting. Replacing things with better solutions is hard. Take the venerable ANSI terminal. It's archaic and cryptic, I think most people would agree on that. Yet proposing a better, widely us
235.
▲
by
faho
10y ago
What I don't understand about doas: Why does it keep some variables by default, and why does that include $USER and $HOME?
236.
▲
by
faho
11y ago
>Not letting untrusted input automatically increase the attack surface it's exposed to is a feature. How is that a feature? The user's explicitly asking for this. This feature reminds me of vim, that suggests closing with "
237.
▲
by
faho
11y ago
Does that _tell_ you what it's compressed with but then not decompress it? That's the absolute worst way to do it!
238.
▲
by
faho
11y ago
There might still be use cases left for gzip, but this article is specifically about software tarballs. And in that case, I have to agree with it.