Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fyp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
fyp
7y ago
China has shown that it's possible to contain the virus even though they were initially criticized for it being "draconian". They've capped out at under 100k cases (at least for the first wave) with 3k deaths: https:&#x
32.
▲
by
fyp
7y ago
Hmm why not sell everything and hold cash if you just want to keep everything at 0? You're just paying fees for no reason. Is it just some tax trick to keep long term capital gains for the index funds? (does it even work like that?)
33.
▲
by
fyp
7y ago
They do expose some limited interfaces that are pretty easy to browse. For example: https://www.google.com/settings/ads https://myactivity.google.com/myactivity https://www.google.com/m
34.
▲
by
fyp
7y ago
I highly don't recommend buying from them. I bought a steelcase leap v2 in platinum color and it's clear that the base of the chair is a cheap knockoff. Crappy silver spraypaint that flakes, the wheels barely work, the piston was
35.
▲
by
fyp
7y ago
I thought half life alyx wasn't released yet?
36.
▲
by
fyp
7y ago
Yes they do mutate and there are really pretty graphs for it: https://nextstrain.org/ncov
37.
▲
by
fyp
7y ago
Why the fuck are government websites like coveredca.com sharing information with facebook? I don't use facebook logins with it.
38.
▲
by
fyp
7y ago
{**d1, **d2} is very natural if you also write javascript where their spread operator looks like: {...d1, ...d2}
39.
▲
by
fyp
7y ago
Did anyone else find their "eight failure modes of the apocalypse" incredibly arbitrary given the important sounding name?
40.
▲
by
fyp
7y ago
I am currently evaluating whether I want to use the generators for a typescript node.js/react project. Which typescript generator are you using? Do you use typescript on the backend too and if so is it easy to keep the generated type d
41.
▲
by
fyp
7y ago
I read until the end and it turns out to be a nonconstructive proof via the probabilistic method! https://en.wikipedia.org/wiki/Probabilistic_method
42.
▲
by
fyp
7y ago
Another real world example I saw recently was in programming competitions. There's a tradition of displaying a color for your username based on your ELO rating (for example people would brag about being Red or Yellow on topcoder). So p
43.
▲
by
fyp
7y ago
Should also search HN for "piercing the corporate veil" to see the numerous past discussions on the caveats. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
44.
▲
by
fyp
7y ago
My google ads profile correctly identifies me as male: https://adssettings.google.com/ I imagine the high level business use cases for these machine learning APIs are similar. For example, analyze shopping mall camera foota
45.
▲
by
fyp
7y ago
I can kind of make sense of why humans(animals?) evolved to see brightness in relative terms. The same object will have different amount of light reflecting off it based on the time of day so you don't want your brain to register those
46.
▲
by
fyp
7y ago
The reference links are also pretty cool: https://michaelbach.de/ot/mot-pigeonNeck/index.html
47.
▲
by
fyp
7y ago
> If you always had to be 95th percentile in your current peer group (general couch potatoes, high school championship participants, world championship participants, Olympians, Olympic medalists, Olympic champions, Olympic champions twic
48.
▲
by
fyp
7y ago
I wonder why OrderedDict isn't outright deprecated (or reimplemented as a trivial wrapper over dict). You can get the first/last key of a 3.8 dict with dict.keys() and reversed(dict.keys()) which you can then delete to reimplement
49.
▲
by
fyp
7y ago
I wonder if dropbox might have more photos data than facebook. People only share a small subset of all the photos they have taken and have backed up. I can see that being valuable. Otherwise I am not seeing why they would want to acquire th
50.
▲
by
fyp
7y ago
I am having the same problem and I think I am going to go with json schema. The problem is that a lot of the things you want to validate aren't easily expressible as typescript types (e.g., valid email address, make sure two fields are
51.
▲
by
fyp
7y ago
It's a tradeoff. In libc++'s version you still have string size stored in the top 7 bits so you just need a bitshift to get size. It sounds like fb's implementation would require looping until null terminator to get the size.
52.
▲
by
fyp
7y ago
I thought the example in the article was a little artificial at first. Like why would you only have 12 requests if you have 12 backends? Reframing it in terms of capacity cleared that up. If the rate of incoming requests is higher than th
53.
▲
by
fyp
7y ago
The precise statement is that you need to have O(2^(N/2)) items before the probability of finding a hash collision is greater than 50% (or whatever nontrivial percentage). English is hard and I think whoever cares about the details c
54.
▲
by
fyp
7y ago
Birthday paradox is way too important to omit from this list! For example if you're uploading stuff to a bucket, you can compute its hash first to figure out if a duplicate already exists and if so, skip the upload. Why can you do this
55.
▲
by
fyp
7y ago
The dropbox cli already lets you ignore folders. I've have had the following script for many years to ignore node_modules: exclude_folders=$(find . -type d -name "node_modules" | grep -v "node_modules/")
56.
▲
by
fyp
7y ago
It's an interesting idea. You can make two funds sum up to a constant by taking opposite and equal positions. But I am not seeing how you can control the direction the money moves. For example if you knew fund A will gain $x and fund B
57.
▲
by
fyp
7y ago
> 12 years, 5 months at Google > many Google-internal CLs ("change lists" == commits == PRs) > 3,064 Android CLs > 10,787 Go CLs This is at least an average of 3 commits a day (4 if he didn't work weekends). How i
58.
▲
by
fyp
7y ago
I wonder if you can make the same demo with real images using seam carving. See the example images in wiki: https://en.wikipedia.org/wiki/Seam_carving Or online demo: https://alexander.soto.io/seam-carv
59.
▲
by
fyp
7y ago
In case people read the comments first, this is about postgres data types. It's pretty comprehensive and I especially liked the section about how datatypes are implemented internally (pg 25). I wish it went into more details though.
60.
▲
by
fyp
7y ago
Is that how languages that always give you zeroed arrays (e.g., java) do it?
More ›