Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
601.
▲
by
yakubin
4y ago
I thought Gentoo did that more for the increased customisability than performance, since you have the compilation options to tweak (USE flags). Never used Gentoo though.
602.
▲
by
yakubin
4y ago
That's a quasi-dupe of < https://news.ycombinator.com/item?id=32642874 >.
603.
▲
by
yakubin
4y ago
I went this route. At first I tried writing a bunch of Python scripts reading a YAML manifest. However, after ~2 weeks I already got warnings and errors about things which got deprecated/removed/changed by a new Python version and
604.
▲
by
yakubin
4y ago
ImGui doesn't give you native OS widgets.
605.
▲
by
yakubin
4y ago
And what is your program supposed to do when printf fails? Print an error?
606.
▲
by
yakubin
4y ago
No, the whole page, i.e. HTML + CSS + photo thumbnails etc. It's dominated 90+% by the photo thumbnails, which is expected.
607.
▲
by
yakubin
4y ago
> HTML vs plain text is a distraction; it's not the 1970's anymore and saving a byte or two here and there just isn't the computing world we're living in. Not when images, video, or audio files regularly get attached
608.
▲
by
yakubin
4y ago
They serve different purposes. The viewer in the browser is only to preview what you're going to get if you subscribe without switching context to another application (most feeds I view I don't end up subscribing to). A feed reade
609.
▲
by
yakubin
4y ago
I've recently spent some time sandboxing nginx on my web server by running the master process as the user www-data instead of root, adding some seccomp filters through systemd and writing a custom AppArmor profile[1]. And the hardest p
610.
▲
by
yakubin
4y ago
I think vbezhenar was just joking.
611.
▲
by
yakubin
4y ago
Hitting space in the example I gave would actually be pretty useless, since it would just put a space in the textfield.
612.
▲
by
yakubin
4y ago
Doesn't fit with my experience. Moving from using ssh -X to just pointing remote X applications at my local X server without tunnelling it over SSH consistently improves performance for me. Not just in terms of experience, but also no
613.
▲
by
yakubin
4y ago
And it kills performance, making you watch redraws, while sshd is maxing out a single core.
614.
▲
by
yakubin
4y ago
TIL. Thanks!
615.
▲
by
yakubin
4y ago
That works, thanks! Although there is a weird bug that going forward with Tab cycles through everything and goes back to the first field, whereas going back with Shift+Tab stops at the first field.
616.
▲
by
yakubin
4y ago
Experiment: 1. Open TextEdit.app 2. Type some random characters. 3. Attempt to quit with Cmd+Q. 4. A dialog box shows up, prompting you to save the file. Hitting Tab just cycles between the "Save As" and "Tags" text fiel
617.
▲
by
yakubin
4y ago
I started using macOS with Big Sur (still on it) and I don't understand why Apple would remove the ability to select buttons in dialog windows with the keyboard. I've googled it and it seems you used to be able to do that on macOS
618.
▲
by
yakubin
4y ago
There are two excellent books by Brendan Gregg which can teach you about eBPF: 1: Systems Performance: Enterprise and the Cloud, 2nd Edition < https://brendangregg.com/systems-performance-2nd-edition-boo... > 2: BPF Per
619.
▲
by
yakubin
4y ago
Also seems to be 16:10 instead of 16:9, and have a different set of ports. Honestly I don't see what those two laptops have in common beyond both being Lenovo.
620.
▲
by
yakubin
4y ago
ThinkPad X13 Gen 3 starts at $1919. Macbook Air M2 with 8GB RAM is $1199. Macbook Air M2 with 16GB RAM is $1,399. So even at 16GB it's still a lot cheaper than the Lenovo laptop used. Price doesn't explain the disparity in the har
621.
▲
by
yakubin
4y ago
I haven't written my comment in the spirit of entering a competition of who can get more RAM, but in the spirit that the Phoronix benchmark compares completely different computers, one with 8GB, the other with 16GB of RAM and gives a t
622.
▲
by
yakubin
4y ago
M2 is not limited to 8GB. 8GB is only the base Macbook Air M2 model. You can buy one with 16 or 24GB. Most people who buy 8GB Macs these days complain about performance, while people with 16GB praise it.
623.
▲
by
yakubin
4y ago
Or become a priest and eat the offerings.
624.
▲
by
yakubin
4y ago
First social nocturnal species of mammals that come to my mind are hyenas and beavers. But it does seem that most social mammals are diurnal.
625.
▲
by
yakubin
4y ago
Many of the claims on this page are supported with links to commits, mailing lists posts, etc. However then there is this claim, which lacks any link supporting it: > FreeBSD's malloc (jemalloc) is very forgiving of buggy/host
626.
▲
by
yakubin
4y ago
I wonder if anyone here has experience with both Delphi and SwiftUI. I'd be curious to know which one is more comfortable.
627.
▲
by
yakubin
4y ago
Happy birthday! My favourite distro for ~10 years now.
628.
▲
by
yakubin
4y ago
While robots.txt is not a good security measure, it's a good tool for preventing pollution of search results with pages like wp_login.php. More to steer users to the subset of pages that are useful to them, away from the pages which ar
629.
▲
by
yakubin
4y ago
The web is a public space. There are no doors. Robots.txt is a way of saying "these are not the pages you are looking for".
630.
▲
by
yakubin
4y ago
I've tracked down the root cause: I needed to disable two uBlock Filters in order to successfully load the page: Fanboy's Annoyance and Fanboy's Social. It seems that they block some JS related to social buttons ( https:/
More ›