Live data from Hacker News

I couldn't submit a PR, so I got hired and fixed it myself

skeptrune.com

131–140 of 218 posts

Re: I couldn't submit a PR, so I got hired and fixed it myself

#131

> I added an AbortController to the debounced search function, so that it aborts any previous queries when a new one is made. This means that the search results are always relevant to what the user is currently typing. To me one of the most annoying things an application can do is go off and do something before I'm done telling it what to do. Filters that apply themselves without an explicit indication that I'm done…

When I implemented search-as-you-type on my blog, I decided to wait for the current search suggestion request to complete before doing a new one. Seemed like a reasonable balance between responsiveness and not overloading the server.

Firing queries all the time is especially annoying if your users are in another continent, and you don't have proper state management to only show results for the latest query, as opposed to the latest response.

RTT from Europe to AWS us-* can easily get to multiple seconds during peak times.

Re: I couldn't submit a PR, so I got hired and fixed it myself

#132

Earlier quoted context omitted.

> That's 500 times. Totally ridiculous for a company who core goal is profiling their users Seven interviews later and 1 PR later: Fails in A/B due to declining user engagement

Nailed it in one. Or (similarly) never makes the priority/cut-off list because "what metric does it move?"

Well, the setting is for kilometers, so the metric is metric.

Re: I couldn't submit a PR, so I got hired and fixed it myself

#133
post #84

Earlier quoted context omitted.

Interesting. I still have a bricked phone from my onboarding at Google, and no internal people cared either. There's a tool I could have used to fix it, but it's accompanied by a message saying that if you use it without permission you'll be fired.

> There's a tool I could have used to fix it, but it's accompanied by a message saying that if you use it without permission you'll be fired. Sometimes I name certain APIs/function names/whatever with a "do_not_use_or_you_will_be_fired" suffix. Generally for hacks I don't want people to copy-pasta. I can't actually fire anyone, but it gets peoples attention (especially more junior folks).

React has a bunch of those: https://github.com/facebook/react/blob/ddf8bc3fbac7aefbf557e...

Re: I couldn't submit a PR, so I got hired and fixed it myself

#135
post #111

If Google Maps would like to hire me so the km/miles switch can remember I only ever want to see distances in km, my contact details are in my HN profile. I must have changed that back from miles once a fortnight since Google Maps launched 20 years ago. That's 500 times. Totally ridiculous for a company who core goal is profiling their users...

Also accepting gmaps work, if only it could preemptively cache the return trip for any trip longer than an hour, so that I'm not stuck with no service trying to remember how I got there.

Suggestion to use an offline app that will save you from such surprises.

https://www.comaps.app/

Re: I couldn't submit a PR, so I got hired and fixed it myself

#136

If Google Maps would like to hire me so the km/miles switch can remember I only ever want to see distances in km, my contact details are in my HN profile. I must have changed that back from miles once a fortnight since Google Maps launched 20 years ago. That's 500 times. Totally ridiculous for a company who core goal is profiling their users...

Also the currency in Google Flights... It always defaults based on your IP geolocation.

Re: I couldn't submit a PR, so I got hired and fixed it myself

#137

> I added an AbortController to the debounced search function, so that it aborts any previous queries when a new one is made. This means that the search results are always relevant to what the user is currently typing. To me one of the most annoying things an application can do is go off and do something before I'm done telling it what to do. Filters that apply themselves without an explicit indication that I'm done…

I think a good middle ground is to wait a few hundred ms at least, for the user to stop typing, before sending off the query. Or maybe, still send the query, but don't populate results until they stop.

Re: I couldn't submit a PR, so I got hired and fixed it myself

#138
post #128

Earlier quoted context omitted.

What do you mean?

If you are following a route in Google maps in Apple CarPlay you can’t search in the map without cancelling the navigation. So you need to use another phone or another maps app.

Ohhh

Yeah it makes sense I haven't encountered that since I don't have CarPlay

Re: I couldn't submit a PR, so I got hired and fixed it myself

#139
post #19

Earlier quoted context omitted.

Clicking through the links in his article, I came across a guy who apparently did the same thing at Apple - he introduced the "auto remove" feature for expired passes added to your wallet, then promptly quit. I had no idea that's how that feature came about, but now I'm going to send a little mental thank you to him every time I get off a plane. That shit was FRUSTRATING.

That reminds me, I need to apply for a job on whichever team hasn’t added a toggle to remove contact names from the autocorrect dictionary…

Crazy because I remember that the first few iPhone OS versions had really bad autocorrect dictionaries, especially for German. The workaround for that was to make contacts for missing words because contact names never got marked as misspelled.

Re: I couldn't submit a PR, so I got hired and fixed it myself

#140

I often have the thought that it would be pretty awesome to take jobs for 6 months here and there just to implement specific features I want in my favorite SW, apps, sites, etc. * Join Logic Pro team for 8 months and add better score notation tools * Join Apple's iOS Music app and fix the weird blip that happens at ~17 seconds on any track * Google Maps to stop the navigation/directions from spelling out how to get f…

Howdy neighbor.
Post reply on HN