Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pixelbeat__
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
pixelbeat__
4y ago
You're not considering the scale. We have faster iteration than upstream distros. More flexible. More tuned. I won't give exact details but 1% CPU gives extremely significant monetary savings, and there are at least 15% savings f
32.
▲
by
pixelbeat__
4y ago
Totally custom userland, though does reuse common open source components
33.
▲
by
pixelbeat__
4y ago
No, it's completely built from source, and finely tuned to the vast/quite homogeneous hardware, and deployment model. Though yes it is Linux based.
34.
▲
by
pixelbeat__
4y ago
Maintained/released the GNU coreutils for the last 10 years https://github.com/coreutils/coreutils/commits?author=pixelb Designed/Built/Deployed Meta's backend operating system for the last 7 y
35.
▲
by
pixelbeat__
4y ago
https://twitter.com/AutismCapital is a good source ATM
36.
▲
by
pixelbeat__
4y ago
Even with dividends reinvested, $INTC gave zero real returns from Dec 1998 to now, and a net loss if invested after July 2014. Also $AMD now has a larger market cap, and $NVDA is 3 times larger! An amazing decline. https://totalr
37.
▲
by
pixelbeat__
4y ago
Ctrl-L to redraw is often required, but that's standard for any tui
38.
▲
by
pixelbeat__
4y ago
Possibly related to recent VMWare SEC fraud charges https://news.ycombinator.com/item?id=32834988
39.
▲
by
pixelbeat__
4y ago
Careful with tax implications!
40.
▲
by
pixelbeat__
4y ago
Thank you for documenting those gotchas. I know not being a library has different considerations, but some ideas I used in timeout(1) to kill a process group may be useful. Tricky things like using sigsuspend() to avoid signal handling race
41.
▲
by
pixelbeat__
4y ago
Wow so I have been using gnome for 25 years! Here are some screenshots along the way https://www.pixelbeat.org/pics/ss/
42.
▲
by
pixelbeat__
4y ago
I agree that this is an awkward but very desirable property for a system to have. I was calling this "responsive idempotence" when discussing how the GNU coreutils are tested: https://www.pixelbeat.org/docs/co
43.
▲
by
pixelbeat__
4y ago
Trying to differentiate GNU implementations had nothing to do with it. This is never a consideration for me. It was worth the slight increase in complexity for the reasons stated in the commit message. Also an unmentioned point is that the
44.
▲
by
pixelbeat__
4y ago
The above code doesn't propagate errors
45.
▲
by
pixelbeat__
4y ago
Right. Faster generally means less CPU used for a particular use. For example I made ls(1) a bit faster recently. Even though not really noticeable per run, given how often it is run I estimated this to save 9 tonnes of carbon emissions p
46.
▲
by
pixelbeat__
4y ago
I carefully considered this before I optimized GNU yes. The reason it is useful is because yes can output anything, and so is useful to produce any repeated data for test files etc. You can see the justification detailed in the original opt
47.
▲
by
pixelbeat__
4y ago
I did this because it runs significantly faster with relatively extra complexity. It's useful for quickly generating test data etc
48.
▲
by
pixelbeat__
4y ago
Note realpath is the preferred interface these days. For some history see: https://unix.stackexchange.com/a/136527
49.
▲
by
pixelbeat__
4y ago
pee is not really needed these days as with bash you can: tee -p >(command | line) Note the -p option available now with GNU tee that doesn't exit tee if the pipe closes early
50.
▲
by
pixelbeat__
4y ago
Using sponge to replace a file is equivalent to method 6 at: https://www.pixelbeat.org/docs/unix_file_replacement.html Note the caveats listed there
51.
▲
by
pixelbeat__
4y ago
Yes there are inconsistences and surprises with trailing slash handling. For e.g rmdir doesn't follow symlink-to-dir/ on Linux. I tried to at least clarify what was happening in this case recently: https://github.com&#x
52.
▲
by
pixelbeat__
5y ago
Here's an equivalent visual history of the mozilla mail clients https://www.pixelbeat.org/docs/netscape_email/
53.
▲
by
pixelbeat__
5y ago
Jim Meyering's classic "Goodbye World" talk on this https://www.gnu.org/ghm/2011/paris/slides/jim-meyering-goodb...
54.
▲
by
pixelbeat__
5y ago
Jim Meyering's discussion on how this is handled usually in GNU programs https://www.gnu.org/ghm/2011/paris/slides/jim-meyering-goodb...
55.
▲
by
pixelbeat__
5y ago
Lots of similar tools in the vein. Here's my funcpy tool, which has references to similar tools https://www.pixelbeat.org/scripts/funcpy
56.
▲
by
pixelbeat__
5y ago
Overflow https://www.pixelbeat.org/programming/gcc/integer_overflow.h...
57.
▲
by
pixelbeat__
5y ago
As a GNU coreutils maintainer, I'm happy to see another implementation. A lot of the coreutils development effort goes into testing, and new implementations should be able to leverage the existing GNU coreutils test suite, as it just u
58.
▲
by
pixelbeat__
5y ago
I know this is not in the spirit of the article, but getting the number of weeks is quite useful generally. One can do this with the standard date util like: $ echo $(((($(date +%s -d 'Aug 31') - $(date +%s -d 'Jul 1&#x
59.
▲
by
pixelbeat__
5y ago
POSIX portable file names were defined not to have spaces, and just contain '[[:alnum:]_./]'. The findnl script as part of fslint identifies problematic patterns, and has 4 levels of stringency, with "POSIX" being t
60.
▲
by
pixelbeat__
5y ago
For generally converting cli output to HTML see also https://github.com/pixelb/scripts/commits/master/scripts/ans...
More ›