5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 9y ago · link · parent
Most languages already have HTTP client libraries. (In particular, Rust has Hyper. Ruby/Python/Node/Go have HTTP clients built-in in the stdlib, Haskell has http-client, etc.) Who uses libcurl really? (Spoiler alert… PHP.)
Of course libcurl does FTP and Gopher and all the things, but these aren't commonly required, most applications just need HTTPS.
comment 9y ago · link · parent
> Securely erasing saved keys is just as important as generating them. It’s especially challenging to do so on flash storage, where wear-leveling might mean multiple copies of data need to be erased. To address this issue, iOS devices include a feature dedicated to secure data erasure called Effaceable Storage. This feature accesses the underlying storage technology (for example, NAND) to directly address and erase a small number of blocks at a very low level.
I guess that means separate storage, as the main storage in recent iPhones is an NVMe SSD and not raw NAND attached to the processor.
BTW, is there a good / easy way to connect raw NAND to a normal desktop PC?
comment 9y ago · link · parent
I think more improvement is needed on the VRAM side than on the disk side, so HBM2 hype > Optane hype :)
comment 9y ago · link · parent
Also, normal (NAND) NVMe M.2 SSDs are still TWICE as expensive as good old SATA ones, at least in my country… And they want to push Optane into the consumer space later this year… who even needs that much performance at home?
comment 9y ago · link · parent
comment 9y ago · link · parent
> Shadow DOM makes it hard to theme your app.
Polymer uses CSS custom properties for this and it's not even hard, it's pretty cool, it's like you're making a CSS API for theming <your-element>.
comment 9y ago · link · parent
Oh, and also: "only store a blacklist" does not work if you want to provide the "revoke this app you gave access to a while ago and now it's spamming" functionality like in most social networks.
comment 9y ago · link · parent
comment 9y ago · link · parent
Uh, excuse me? They literally rewrote the whole sendfile system call to make it faster (and to make it possible to add in-kernel TLS for, well, sending files over TLS). I'm sure they would welcome, say, driver improvements for the Intel 10/40Gb Ethernet cards.
comment 9y ago · link · parent
Except when they don't. Everyone already forgot tweet number 2147483648? :) https://techcrunch.com/2009/06/12/all-hell-may-break-loose-o...
comment 9y ago · link · parent
Just booted my laptop (FreeBSD -current amd64, 1366x768 display) and started X: only 204M "Active" memory. Of the 204M: 60M is syncthing, 39M compton, 31M Xorg, 11M i3bar, 11M polkitd, 10M i3, 9M dunst, 5M wpa-supplicant… Not counting syncthing that's 144 megabytes. I think that looks reasonable. You can go lower and optimize for low memory (no polkit, no compton — 94M) or go higher and optimize for usability and fancy UI features (install gnome :D)