Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tylerhou
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
871.
▲
by
tylerhou
8y ago
Await doesn’t immediately execute the future; see the example code in the article. It looks like the Dart concurrency model is basically the same as JS except with microtasks and replacing “worker” with “isolate.”
872.
▲
by
tylerhou
8y ago
Ideally you should have both features. What if you auto-paid bills with your card?
873.
▲
by
tylerhou
8y ago
What’s to stop you from configuring it so it says “Hey Google” differently based on the person talking?
874.
▲
by
tylerhou
8y ago
I think the implication was that he was at a welfare cliff.
875.
▲
by
tylerhou
8y ago
LiChess ratings are inflated; I'm ~1800 on LiChess but I probably am 1200 in real life.
876.
▲
by
tylerhou
8y ago
Yes, and if college loans were dischargeable upon bankruptcy, the interest would be even higher (to account for the greater risk).
877.
▲
by
tylerhou
8y ago
Extensions have the same auth rights as your logged-in account (the ability to see people who are out of network, for example). It’s against LinkedIn’s ToS to scrape data.
878.
▲
by
tylerhou
8y ago
Or, maybe, making a product which has to deal with legacy code for billions of users is actually difficult? Like, we know Facebook is evil, but they can’t be that evil, right?
879.
▲
by
tylerhou
8y ago
How do you define "hijacking the button?" There are many valid uses of pushing state to history, and it's very difficult to distinguish a malicious use from a non-malicious use in the general case.
880.
▲
by
tylerhou
8y ago
Yes, I missed that you can drop candidates whose lengths are less than your longest match so far. So a set might be better.
881.
▲
by
tylerhou
8y ago
You probably don't need a dict; just a list of candidates. And you should clarify that you should sort your list by reversed word length and keep another list of indexes into each word. EDIT: You shouldn't sort the list beforehand
882.
▲
by
tylerhou
8y ago
The subsequences of a string X are any strings Y such that Y is X with zero or more characters dropped, with the condition that the original characters of X must remain in the same order. As an example, the string "help" has 16 su
883.
▲
by
tylerhou
8y ago
> It’s so large that it can hold an infinite number of disjoint copies of the natural numbers inside it! Nit: you can embed infinite copies of the natural numbers inside the natural numbers as well, with room to spare. Consider the prime
884.
▲
by
tylerhou
8y ago
Floors can be weird; I’m not sure how you’d handle a hotel skipping the 13th floor, for instance. Also, are floors 0 indexes or 1 indexed? It therefore probably shouldn’t be built into the protocol.
885.
▲
by
tylerhou
8y ago
Hangouts Chat is a different product than the one you linked. https://www.blog.google/products/messages/latest-messages-al... Disclaimer: I work at Google.
886.
▲
by
tylerhou
8y ago
Edge is a completely different product based on a new rendering engine which is as spec compliant as Firefox.
887.
▲
by
tylerhou
8y ago
It isn't even clear whether the class of problems quantum computers can efficiently solve is a strict superset of the class of problems classical computers can efficiently solve, before you even consider whether it's clear that w
888.
▲
by
tylerhou
8y ago
This is not the experience I had when interviewing at my current employer (or any employer I’ve interviewed at!) and I didn’t go to college.
889.
▲
by
tylerhou
8y ago
Testing requires laws to be defined in a language understandable to machines and to be unambiguous. That’s not gonna happen anytime soon.
890.
▲
by
tylerhou
8y ago
Citation?
891.
▲
by
tylerhou
8y ago
>> The north is a lot more spicy stuff. The south is more about sauces and freshness. > Citation needed, please. Not really true; here is an anti-citation: https://en.wikipedia.org/wiki/Sichuan_cuisine
892.
▲
by
tylerhou
8y ago
> you can’t un-write to disk Why not? (Experimental) versioned file systems exist.
893.
▲
by
tylerhou
8y ago
Nit: 1/3 of a meter is rational. You're looking for "whole number."
894.
▲
by
tylerhou
8y ago
Crime is mostly down; base wages have stagnated yes, but real total compensation has been steadily increasing. Hundreds of thousands of people rise out of poverty every day. Inequality has grown, though, which is probably bad. Debt accumula
895.
▲
by
tylerhou
8y ago
> How do you measure progress? For the past decade, we've severely deteriorated as a society - Yet politicians will call it progress. Citation? By most metrics we've improved as a society in the last 10 years.
896.
▲
by
tylerhou
8y ago
You can easily substitute juice/off-brand colas for coke. You can also easily substitute FaceTime/Skype/Hangouts for phone calls (provided you’re not using mobile data)...
897.
▲
by
tylerhou
8y ago
A CRDT which models edits of arbitrary text with essentially unbounded revision history (required for merging) almost certainly can only grow (monotonically?) in size. Maybe you can be smart about compression, but I don't think it can
898.
▲
by
tylerhou
8y ago
Test accounts which ended up getting deleted before (presumably) auth worked.
899.
▲
by
tylerhou
8y ago
That's what I'm suggesting, but I'm pointing out the fact that CRDTs are generally append only data structures and it's possible to run into space issues with them eventually for some users.
900.
▲
by
tylerhou
8y ago
It's possible and there has been research in this area, see http://archagon.net/blog/2018/03/24/data-laced-with-history/ for details about conflict resolution. The main problem is garbage colle
More ›