Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nousermane
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
nousermane
4y ago
Sending pixels is not necessarily a show-stopper for a remote desktop that feels "snappy". Case in point - scrcpy, remote "desktop" to access Android from Linux/Mac/PC. Very responsive, including during fancy a
62.
▲
by
nousermane
4y ago
I think large chunk of it is from dynamic linker, rather than glibc. At least that appear to be the case according to "file a.out". Adding "-static" option seems to prevent that: $ gcc -Wall -s -nostdlib tiny.o; wc -
63.
▲
by
nousermane
4y ago
I guess this was written a fair while ago. On my laptop, even in 32-bit (i686) mode, with gcc-12 and libc-2.34: - very first, unoptimized program compiles to 15440 bytes (vs 3998 on OP's system); - super-optimized hand-rolled assembly
64.
▲
by
nousermane
4y ago
Sure. And bloated websites aren't dropping from the race here, either. They are communicating, over HTTP (and maybe WS/SSE), with fair number of servers, that also implement significant functionality. Then, there are microservices
65.
▲
by
nousermane
4y ago
> How many files touches some typical desktop program to display 3 pictures Not sure about typical, but here is rough estimate for the rock bottom of it: "feh" image viewer on Ubuntu/X11: $ strace -e openat -o >(wc
66.
▲
by
nousermane
4y ago
It is bad design, but more importantly, server push is a (subpar) solution to a problem we shouldn't have in the first place. How exactly modern web ended up in a situation where, first time browser is displaying a single page (with
67.
▲
by
nousermane
4y ago
Well, IETF can always publish an HTTP/2.1 with that removed, no?
68.
▲
by
nousermane
4y ago
Cache API being "useful" and "entirely client-driven" - both great points, but how is does it contradict my statement about same API being usable for server-push (i.e. force-feeding some objects to client it didn't
69.
▲
by
nousermane
4y ago
Wasn't originally intended use for server push, something like this? 1) Load page through javascript-enabled browser (headless chrome, etc), and record resources accessed from the same server; 2) Save this list somewhere, where server
70.
▲
by
nousermane
4y ago
Are they going to kill Cache API [0] as well? because if not, one can still (kinda) "server-push" stuff through that. [0] https://developer.mozilla.org/en-US/docs/Web/API/Cache
71.
▲
by
nousermane
4y ago
> there's a weird bug where it creates copies of emails that have the deleted attachments. As saying goes, it's not a bug, it a feature. You can disable it by setting following gmail options: - Auto-Expunge: off - When a messag
72.
▲
by
nousermane
4y ago
> Also, the original email remained within Gmail. That's a "feature" of gmail's IMAP server that is easy to confuse for a client bug - see pugio's comment about having exact same problem when using Thunderbird. G
73.
▲
by
nousermane
4y ago
Yes, for any attachment/mime-section ("inline" is just a flag of "Content-Disposition" header in corresponding mime section). No, across many emails, at least not without writing some macros. Sort-of, labeling delet
74.
▲
by
nousermane
4y ago
Mutt can do that. Open an email, "v", select attachment to delete, "d". Done. Works with gmail, too - assuming you've jumped through the necessary hoops to enable full read-write IMAP access to your account. Edit: H
75.
▲
by
nousermane
4y ago
> why do tantalums get used so much over ceramics for bulk decoupling? higher energy density > (or electrolytics even) no risk of drying up. Also, higher energy density, especially for small parts.
76.
▲
by
nousermane
4y ago
Or copper pipes soldered with lead-free/SAC. Those are rather pricey though.
77.
▲
by
nousermane
4y ago
That's a respectable approach. I feel the same about dbus and systemd - fine that they exist for some, but I'd rather see them not stretch tentacles into libresolv, ntpd, udev, firefox, wtmp/utmp, etc...
78.
▲
by
nousermane
4y ago
I understand you're being sarcastic, but there are plenty of intermediate options between "use Ubuntu" and "chisel transistors from a rock". In particular, if you want to dab into comping your OS, Gentoo is a good s
79.
▲
by
nousermane
4y ago
Azure network is junk. Try running traceroute from a VM running there - it will come back empty. They just silently drop ICMP "TTL expired" packets, for "security" reasons, no doubt. Also, you can't spoof source IP
80.
▲
by
nousermane
4y ago
$30 and even less is not uncommon for an older, slightly scuffed up, used phone. Or maybe you already have one, laying far back in your desk's drawer. Not a kind of phone most people would use as a daily driver. But as a dedicated bank
81.
▲
by
nousermane
4y ago
Keyword-based moderation has some pretty bad failure modes, yeah. False-positives from context, false-positives from different meaning of the same word... But what alternatives are here? "Report" button, and human reviewing each a
82.
▲
by
nousermane
4y ago
"Attestation" of a VM is such a fraught concept... Isn't whole idea of virtualization, to outright lie to the "guest" operating system? Yes, dear Windows, you're running on a dual-core Xeon Gold 6326 with i440B
83.
▲
by
nousermane
4y ago
> Let's say I'm a healthcare provider, and I'm about to send sensitive medical data to a third party vendor. Let's say I'd like mandatory disclosure on shenanigans like that, so I can avoid this healthcare provid
84.
▲
by
nousermane
4y ago
Performance reviews degenerating into assessment of "politics and networking" skills, as GP put it, is more common than people care to admit. Objectively evaluating performance of somebody who is smarter than you is incredibly har
85.
▲
by
nousermane
4y ago
That outcome would be expected from either decreasing cell size, or increasing bits/cell (what used to be commonly called SLC/MLC/TLC/QLC). I don't see TFA mentioning either directly, but there are some hints that o
86.
▲
by
nousermane
4y ago
"Cheap domains" is not a thing. $25/year domain for a personal website is kinda pricey. But scam/spam operator can pay that and more pretty darn easy.
87.
▲
by
nousermane
4y ago
> (...updatable view...) WHERE deleted_at IS NULL This is the way. Also, save record creation timestamp, and you can have very flexible "time-machine" selects/views of your table essentially for free.
88.
▲
by
nousermane
4y ago
eSIM has one and only one user-friendly use-case: ahead of traveling abroad, to buy a local cell subscription without hassle of having to show up to a shop, or wait for mail-in. Ditching physical SIMs altogether, on the other hand, is nothi
89.
▲
by
nousermane
4y ago
That is a legend born at the time USB-mini-B was replaced with USB-micro-B. For what it's worth, typical USB-mini-B has a particularly bad spring design. "Spring" is just a protrusion stamped out from a thin flat sheet of reg
90.
▲
by
nousermane
4y ago
Only as in "ability to replicate that alien technology". In the same way, all materials and construction techniques for 1896 Marconi radio receiver were available in Ancient Greece.
More ›