5,570 karma · joined Oct 5, 2013 (13y ago) · 1,210 submissions
comment 2y ago · link · parent
I don't agree with this. As a single administrator, being able to do `journalctl -u <service>` and get all output from a unit (and its subprocesses), including anything that it erroneously send to stdout or stderr instead of its logfile, is a godsend. Back in the SysV days I had to manually step through initscripts to figure out what's wrong when a daemon immediately exited without logging anything.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
That doesn't seem right to me. According to cppreference[1] it's the operator with the third-highest precedence, well above assignment, which is the second-lowest.
[1] https://en.cppreference.com/w/cpp/language/operator_preceden...
comment 2y ago · link · parent
Do you have any examples of this? In my experience you almost always want the bitwise operators to have a higher precedence than the logical operators, as using the result of logical operators as a bitmask makes little sense. Consider e.g. `A & B && C & D`, which currently is equivalent to `(A & B) && (C & D)`, but with reversed precedence would be equivalent to the almost nonsensical `A & (B && C) & D`.
Now, the precedence of == with respect to & and | is actually problematic (as Ritchie admits as well). Having `A == B | C` interpreted as `(A == B) | C` is almost never desirable. For extra annoyance, the shift operators do have higher precedence than comparison, so `A == B << C` does what you usually want (`A == (B << C)`).
comment 2y ago · link · parent
The 57.5 kWh battery in the base Model 3 has the same energy content as just ~1.18 US gallons (4.46 liters) of pure gasoline. Electric motors are a lot more efficient than combustion engines, though.
comment 2y ago · link · parent
[1] https://github.com/torvalds/linux/commit/48bff1053c172e6c7f3...
comment 2y ago · link · parent
Nowadays VA-API is near universally supported, and any half-decent video player uses it to do hardware decoding.
comment 2y ago · link · parent
comment 2y ago · link · parent
If this all seems archaic, keep in mind that all this has been designed 20+ years ago, when bandwidth was quite a bit less abundant.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Not by definition. If you generate more streams this month than the average user, your streams are a larger fraction of the stream counts than your 7$ is of the revenue pool, and this artist will get paid more than if he only got your 7$.
Splitting the revenue per-user instead of per-stream can certainly make a huge difference, but switching to per-user instead of per-stream benefits artists with listeners that generate a below-average amount of streams per month, regardless of their absolute stream numbers.
comment 3y ago · link · parent
If with lose out you mean that Spotify pays out less per stream to small artists as opposed to big artists, then that's not the claim made in the parent comment nor one I've been able to find any evidence for.