Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yencabulator
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
847 ms
·
5341.
▲
by
yencabulator
7y ago
I've never heard or seen that, outside of this document. So I would say no, it's not a Go practice, it's an Uber practice.
5342.
▲
by
yencabulator
7y ago
My mom is an old lady, does it daily, and picked up the habit in her 60s. She is very much not a superhuman. Her swim group is all the other old ladies in their 60s in the neighborhood. The "gradual" introduction is to start swimm
5343.
▲
by
yencabulator
7y ago
`1e7` is an untyped numeric constant with a default type of float64. https://blog.golang.org/constants https://golang.org/ref/spec#Constants
5344.
▲
by
yencabulator
7y ago
The silly assumption being made here is that "DoH" = "talk HTTPS to Cloudflare". I want DoH, but I need private domains. I would like to talk DoH to a thing I control.
5345.
▲
by
yencabulator
7y ago
Meanwhile, > An average of 1,390 containers have been lost at sea each year over the past three years, [...]
5346.
▲
by
yencabulator
7y ago
> PulseAudio mostly works I regularly kill PulseAudio to get bluetooth headset pairing to complete.
5347.
▲
by
yencabulator
7y ago
Two counterarguments: 1. Popcorn button, that uses a sensor to detect when the popping slows down and stops at that moment so I don't need to babysit it. 2. Beverage button, that detects the start of boiling and stops at that moment.
5348.
▲
by
yencabulator
7y ago
It's fine as long as you don't store Go pointers in non-Go memory. If the local variable is the last reference to the thing, https://golang.org/pkg/runtime/#KeepAlive makes sure the Go side doesn't
5349.
▲
by
yencabulator
7y ago
> If the only reference to something was passed from Go to Rust, will Go's GC marker find it? No, and rightly so. I would expect https://golang.org/cmd/cgo/#hdr-Passing_pointers to apply just as much here
5350.
▲
by
yencabulator
7y ago
Wow, they made the 8th bit essentially be the case bit, and losing+recreating it mostly just made everything uppercase.
5351.
▲
by
yencabulator
7y ago
That's called "indemnity insurance", and it very much exists. You get $x every time you need to see a doctor (capped to $y/year, or such). E.g. $3000/day if you're confined into a hospital. It's tough to f
5352.
▲
by
yencabulator
7y ago
Relatively routine outpatient surgery: Doctor's fee $750 Anesthetician's fee ~$150 Hospital facility fee ~$24,000 Hospital facility fee, cash price ~$9,000
5353.
▲
by
yencabulator
7y ago
My dad's routine is to slowly make the story more and more absurd until someone questions him.
5354.
▲
by
yencabulator
7y ago
How often have the ISS solar panels been shattered, so far?
5355.
▲
by
yencabulator
7y ago
Hit 'y' before copying the link; the line numbers have already shifted.
5356.
▲
by
yencabulator
7y ago
Excel is a great example of a domain-user tool that's very hard to use correctly, and even harder to know when you're using it incorrectly; that's not "snobbism". https://www.zdnet.com/article/e
5357.
▲
by
yencabulator
8y ago
Edge swipe from the top could be made impossible to hijack.
5358.
▲
by
yencabulator
8y ago
The linked https://blog.apnic.net/2016/04/04/dns-zombies/ is also a good read.
5359.
▲
by
yencabulator
8y ago
You can make your queries ride over GET very easily, using just fetch.
5360.
▲
by
yencabulator
8y ago
> My understanding is, the string itself is on the stack, but the data is on the heap What makes you say that? Pointers to stack are totally possible in Go; just because the `str` field is a pointer doesn't mean it points to the hea
5361.
▲
by
yencabulator
8y ago
That might be a question of latency vs bandwidth. Often RAM is used for random-access workloads (duh), so latency matters. The GC is very much a sequential scan. The blog post talks about that, briefly.
5362.
▲
by
yencabulator
10y ago
Please get non-Chrome browsers on board: https://developer.chrome.com/native-client