Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Taywee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
451.
▲
by
Taywee
5y ago
Notable sections from that page: > The command -v and -V options were added to satisfy requirements from users that are currently accomplished by three different historical utilities: type in the System V shell, whence in the KornShell,
452.
▲
by
Taywee
5y ago
Unless you're using a shell that subverts that by providing its own built-in, like Zsh, which is allowed because there is no standard for `which`, and depending on its behavior can be problematic and inherently non-portable. That descr
453.
▲
by
Taywee
5y ago
In this case, `which` is just searching the `PATH` and not telling you what will actually run. `command` is correctly informing you of the whole story. I'll add that `which` on my setup is using the zsh built-in, which also informs o
454.
▲
by
Taywee
5y ago
That depends on whether your shell has a built-in which or not. Mine says % which ls ls: aliased to /bin/ls --color=auto Which makes way more sense. Your "which" is not telling you what will actually be ex
455.
▲
by
Taywee
5y ago
I don't know how you can call it bikeshedding when it's over a change that actually broke the build process for some packages, and proposal to remove a commonly-used tool from the system. Sounds like an actual functional differen
456.
▲
by
Taywee
5y ago
What's not machine-friendly about `command -v`'s output? Can you not just use the exit status? Or did you mean that you avoid `which` in favor of `command -v`?
457.
▲
by
Taywee
5y ago
Yes, and claims still require evidence. I'm quite anti-Google but I'm not going to just start believing in random theorizing of evil things they could conceivably be doing without evidence.
458.
▲
by
Taywee
5y ago
You might want to prefer !sp to !g if you want Google results without compromising privacy. Startpage is just a privacy proxy for Google results.
459.
▲
by
Taywee
5y ago
My original post: Private constructors still match for overload resolution, and can cause your compiler to barf when a explicit deletion would allow the compiler to find an appropriate legal match. I was wrong. delete leaves it in the over
460.
▲
by
Taywee
5y ago
300% is still integer scaling, so that should be fine.
461.
▲
by
Taywee
5y ago
C++ isn't super easy about it, though. The best C++ json library (in my opinion), nlohmann's json, still requires you to define to_json and from_json for your types to use them. It's not too bad as a one-off, but when you h
462.
▲
by
Taywee
5y ago
Not everything is puritanical pearl clutching. Some things are actually measurably bad for you. Comparing any old criticism of something as unhealthy to the satanic panic and conservative anti video game pushes isn't helpful at all,
463.
▲
by
Taywee
5y ago
I just stick an avocado half in a plastic container in the fridge. Stays green enough for days. If it gets brown, it's a thin layer that doesn't affect the flavor anyway and you can remove it without losing too much avocado if y
464.
▲
by
Taywee
5y ago
I completely understand why gaming communities centralized on Discord. It has the most convenient and obvious interface for managing little communities of multiple related rooms, and the drop-in drop-out voice chat room system is obvious.
465.
▲
by
Taywee
5y ago
It's a lot of factors. It was a lot of peoples' first 3D game experience, it's old enough that a lot of people who were enchanted by it in their childhood are old enough to dig into it now, it's an early 3D game with re
466.
▲
by
Taywee
5y ago
You can get this everywhere. Just track down the "Redirector" extension and put a rule in to redirect ^(https?://)?www.reddit.com(/.*)?$ to $1old.reddit.com$2 You can also use it to automatically redirect all mobil
467.
▲
by
Taywee
5y ago
I'd say that would be much more surprising and unintuitive behavior just for the sake of slightly more convenient REPL use. I wouldn't want stringifying any function to automatically call it. What if you store the function somewhe
468.
▲
by
Taywee
5y ago
> it seems like most of the critiques of social media coming from big / old media are just symptoms of having their revenue bled away A large portion of it is people who find advertisement inherently distasteful (or, at the least, t
469.
▲
by
Taywee
5y ago
In the city I live, people couldn't even be convinced to wear a cloth mask for basically any reason, and people picketed an elementary school because the district implemented a mask recommendation. I can imagine your scenario, it'
470.
▲
by
Taywee
5y ago
Not exactly correct. If all of the bits is 1, then the value is possibly in the set (not "probably", but "possibly", with the likelihood being affected by the sizes of the set and the array). If any of the bits is zero,
471.
▲
by
Taywee
5y ago
Of course it's self serving. Why would any company lobby for anything that doesn't benefit itself?
472.
▲
by
Taywee
5y ago
For me, I'd love to use my e-reader to handle sheet music while playing my piano or cello, but the screen size means that I have to turn pages far more often than with physical sheets, and ends up being impractical in real life. I lov
473.
▲
by
Taywee
5y ago
Usually get 3 years. Pixel 3 launched in October 2018, and its updates end in about a month. I feel like that's still way too short, and causes many millions of still-usable phones to be trashed or recycled every year. Aftermarket O
474.
▲
by
Taywee
5y ago
Thank god; my fighter jet keeps waking up the neighbors every time I take off toward the office.
475.
▲
by
Taywee
5y ago
Personally, I do tons of things for free because I enjoy doing them. Nobody needs to pay me to play my piano, paint a painting, or run a D&D campaign, and all of that takes effort and skill. I remember the old days of YouTube when most
476.
▲
by
Taywee
5y ago
It's not the subject of the sentence, but "who" is a pronoun in nominative case because it is the subject of the appositive phrase. You wouldn't say "him also recovered", but "he also recovered" in an
477.
▲
by
Taywee
5y ago
Rogan was sick for 3 days and said that one of those days was really rough. Is that better than average for somebody who was vaccinated (as Rogan was) and took a giant cocktail of things, including monoclonal antibodies, which are proven t
478.
▲
by
Taywee
5y ago
It really shouldn't. An asterisk is perfectly legal in a filename and in a URL path. It is a special shell character, but if your webserver is looking up static files via the shell, you need a different webserver pronto.
479.
▲
by
Taywee
5y ago
Who is suggesting we emulate it? Can't things just be interesting historically?