Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tynorf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
tynorf
7y ago
AFAIK that is exactly how restic works. You use `restic forget` to remove the roots (snapshots), then `restic prune` garbage collects unreachable blobs. ETA: However, nearly all data in restic is encrypted. This includes the index files. So
32.
▲
by
tynorf
7y ago
Many (most? all?) allocators are guaranteed to give you back aligned pointers. For instance, jemalloc(3) on amd64 platforms will give back 16-byte aligned pointers: [...] The allocated space is suitably aligned (after possible pointer
33.
▲
by
tynorf
7y ago
The PyPy interpreter is written in RPython, but is a full Python interpreter with a JIT. When you compile PyPy, it generates C files from RPython sources, which are then compiled with a normal C compiler into a standalone binary. RPython is
34.
▲
by
tynorf
7y ago
As far as I know, JS does not have the equivalent of Python's descriptor protocol[0]. This is notably different from setter/getter methods. [0]: https://docs.python.org/3/howto/descriptor.html
35.
▲
by
tynorf
7y ago
It's posted a few other places in this thread, but it already exists: https://commoncrawl.org/
36.
▲
by
tynorf
7y ago
In Rust you can also do arbitrary operations on the error before it is returned with `Result.map_err()`.
37.
▲
by
tynorf
7y ago
macOS will create local backups (space permitting) and then dump them all at once when connected to the Time Machine drive. Though of course you won't have the backups from between the last time you connected the drive to the time your
38.
▲
by
tynorf
7y ago
This is one reason why people use strings for IDs in JSON, even if they are actually integers.
39.
▲
by
tynorf
7y ago
This article seems to indicate that they would at least develop better games if the employees were not subjected to "crunch". https://gamasutra.com/blogs/PaulTozour/20150120/234443/The_G...
40.
▲
by
tynorf
8y ago
I deleted the Music app and that stopped it. ️
41.
▲
by
tynorf
8y ago
/ # make --version GNU Make 4.2.1 Built for x86_64-alpine-linux-musl Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm
42.
▲
by
tynorf
8y ago
> although you'll get worse performance since Apple doesn't allow third party browsers to take advantage of Javascript optimizations This hasn't been true since iOS 8 with WKWebView[0]. [0] http://www.iphonehack
43.
▲
by
tynorf
8y ago
As a testament to how bad AWS's shorthand is, ECS is actually Elastic Container Service.
44.
▲
by
tynorf
8y ago
> Addresses are complicated too so you might as well just have a country field + the rest and then use an API to standardize, which also makes future queries easy. This, big time. I worked on an ecommerce site that had to ship to Nigeria
45.
▲
by
tynorf
9y ago
Recurly is actually 1.25% plus $0.10 per transaction plus $99/month (core) or plus $299/month (professional).
46.
▲
by
tynorf
9y ago
I'm fairly certain you can use `--flag` with the standard flag package from stdlib: https://godoc.org/flag (in the section on command line flag syntax). Though supporting `-flag` does remove the very nice combining of
47.
▲
by
tynorf
9y ago
> Give me literally any other language. I'm torn between JS and PHP for the language I have the least fun programming in.