Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xxbondsxx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
31.
▲
by
xxbondsxx
10y ago
> Wouldn't the prudent thing to do be to sell at least enough stock to pay the tax? It's not liquid yet, that's the issue. That's what is nice about most RSU plans -- they immediately sell to cover, so you don't
32.
▲
by
xxbondsxx
10y ago
...Which is not the case at Dropbox or any startup really.
33.
▲
by
xxbondsxx
10y ago
Doesn't this become less valueable as the data grows? You'll essentially always have at least one "true" value, and at that point you're basically doing the query of: SELECT cateogry FROM orders WHERE express_delive
34.
▲
by
xxbondsxx
11y ago
Isn't this similar to A* or alpha-beta search but with a fitness function and the random-ness of evolutionary algorithms? I feel like it might apply well to a strategy game but for something like chess, would not fair as well. Mixing t
35.
▲
by
xxbondsxx
11y ago
Usually this is enforced at the cellphone carrier level. The US has the amber alert protocol which also has a function for the president to dispatch any message (and can only be used by the president iirc), and that level of message can&#
36.
▲
by
xxbondsxx
11y ago
Hive and Hadoop are offline -- it can take ~45 minutes to execute a query on our entire user table (even longer if it involves joins) and certain times of the day its slower (during work hours usually). Not only that, but once the query exe
37.
▲
by
xxbondsxx
11y ago
If it's any comfort, most people have push notifications turned off for the main Facebook app (understandably since we send quite a few of notifications). However anecdotally some of the survivors of the attacks mentioned that they got
38.
▲
by
xxbondsxx
11y ago
That's not exactly correct; we don't have GPS-level location information for the majority of our userbase (only those that turn on the nearby friends feature). We use the same IP2Geo prediction algorithms that Google and other web
39.
▲
by
xxbondsxx
11y ago
Not quite @chipperyman573. A few points to make here: -- Since we only have city-level location for most users, declaring the area isn't as hard as drawing on a map. We usually just select a number of cities, regions, states, or countr
40.
▲
by
xxbondsxx
11y ago
Hey everyone! FB engineer here who wrote the original code for this and gave the talk during @Scale 2015. There's a recording of our talk here: https://youtu.be/ptsCWGZW_P8?t=333 That's a bit more visual and easie
41.
▲
by
xxbondsxx
11y ago
Yeah this is the burning question thats completely unanswered by the article :-/
42.
▲
by
xxbondsxx
11y ago
Sure there are strong similarities to versioning, but I think the difference is in how callers get migrated. In GraphQL you can update each callsite incrementally. Imagine half the app has been converted to calling PlanetDetails {name} and
43.
▲
by
xxbondsxx
11y ago
Pretty cool! Love that theres no authentication and I can start straight from curl. Nit: drawing from an empty deck does not throw an error: > curl http://deckofcardsapi.com/api/draw/i763hn8lcg0e/ {"r
44.
▲
by
xxbondsxx
11y ago
Yep, we had a bit of a brouhaha over the original update to our patents file and clarified the language afterwards, I think it's a bit more straightforward now!
45.
▲
by
xxbondsxx
11y ago
Hey @iopuy can you file an issue on github? For paths that are not absolute or relative (and thus ambiguous), we: -- Try to detect the top-level version control directory -- Use that if one is found But we could possibly pipe the current wo
46.
▲
by
xxbondsxx
11y ago
Yeah brew will need to be updated to pull down the latest recipes. I'll add this to our launch page
47.
▲
by
xxbondsxx
11y ago
@rmc we have a dependency on a bash script as well, since we need to redirect stdin to tty input and such. So getting the bash file to distribute with PIP and symlink as well was slightly complicated. I only recently realized that the entir
48.
▲
by
xxbondsxx
11y ago
Couldn't agree more staunch! I silently weep every time I have to use the mouse during development
49.
▲
by
xxbondsxx
11y ago
Yeah, we don't match on directories since the regex would overmatch other results (we would basically have to match anything that is words with a slash). However if we added support for checking for file / directory existence we c
50.
▲
by
xxbondsxx
11y ago
@ploxiln -- edited my comment explaining a lot of devs here use network mounts (in which case checking for existence takes a lot longer). I'd love to explore this though, either behind a config setting or eventually as the default beha
51.
▲
by
xxbondsxx
11y ago
Yep, this is where our regexes start to fall short. Mind opening a github issue for this? We can likely add another option in our "fallback" regex, but it's a fine line to draw between overmatching and undermatching. For inst
52.
▲
by
xxbondsxx
11y ago
A lot of the more experienced engineers had cooked up their own regexes / bash aliases / crazy combination of vim macros to handle the above, but everyone had their own one-off solution that was either hard to learn or hard to gen
53.
▲
by
xxbondsxx
11y ago
@andyl We are working on getting a linuxbrew recipe working. There's shouldn't be anything blocking this from working on linux systems (assuming Python 2.7 is installed). In the meantime you can try the manual installation method
54.
▲
by
xxbondsxx
11y ago
Ah yes I remember this! I was always bad at typing out the numbers though. We support range selection as well, but it does require a keypress for each (which is less than ideal if you have a ton of entries). Maybe we'll integrate some
55.
▲
by
xxbondsxx
11y ago
Don't think so itsbits -- we strip out color codes and it works just fine inside tmux, but let us know if you have any issues on GitHub!
56.
▲
by
xxbondsxx
11y ago
Percol was actually a source of inspiration as well, but I got tired of typing things like: git checkout $(git branch | percol) Since I had to almost compose my command beforehand rather than decide once I saw the output. So we take the opp
57.
▲
by
xxbondsxx
11y ago
Yeah fzf is great -- there are a few differences since PathPicker can execute any command with the selected file(s) (rather than just write it to stdout) and runs in tmux with no issues, but fzf has great vim integration and I believe actua
58.
▲
by
xxbondsxx
11y ago
Hey everyone, I'm in the main engineer on this project if anyone has questions. Facebook has a large codebase, so naturally we have a lot of long filenames and paths. It's a pain to type these out by hand, so I'd see a lot of
59.
▲
by
xxbondsxx
12y ago
Bradley hit the nail on the head -- we display a localized emergency services number in the Safety Check UI in case anyone needs to contact the actual authorities. We're not a conduit for life-or-death information like that (which is b
60.
▲
Mark Zuckerberg Announces Facebook Safety Check
(facebook.com)
2 points
by
xxbondsxx
12y ago
|
0 comments
More ›