Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andremedeiros
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
andremedeiros
1y ago
Curious to hear about what prompts power this.
2.
▲
by
andremedeiros
2y ago
I would 100% vote for you!
3.
▲
by
andremedeiros
2y ago
That's totally fair feedback. Particularly optionality having been removed from proto2 to proto3 is confusing.
4.
▲
by
andremedeiros
2y ago
The default transport (gRPC) certainly is, but HTTP RPC translation/gateways are easily generated.
5.
▲
by
andremedeiros
2y ago
Gotcha. I think this might be where Protobuf falls short because you have to "source" the tooling for all its different outputs, but support for OpenAPI 3.0 spec generation has existed for over a year.
6.
▲
by
andremedeiros
2y ago
What does this do that Protobuf doesn't?
7.
▲
by
andremedeiros
2y ago
Amazon is great at a lot of things, but AI and Machine Learning aren't it. From what I saw when I worked there, they don't have the talent to produce their own models (which is, I think, what we all expected to see), but the surpr
8.
▲
by
andremedeiros
3y ago
I lived in Ottawa at the time these protests were going on. These people weren’t there to protest. They were there to antagonize.
9.
▲
by
andremedeiros
3y ago
There's an HN post that takes first place on my bookmarks bar, which is an Ask HN about the best paper people read in 2020 [^1]. Every once in a while I'll open it and browse through a ton of amazing papers and research and try to
10.
▲
by
andremedeiros
3y ago
Normal and acceptable are two very different things. Another post from earlier mentioned other shady practices from them, so I wanted to bring this up too.
11.
▲
Netflix doesn’t give you an in-app option to disable promotional notifications
(help.netflix.com)
2 points
by
andremedeiros
3y ago
|
3 comments
12.
▲
by
andremedeiros
3y ago
I got tired of getting pings from Netflix, so I finally opened the app and tried looking for the setting to disable them. Apparently they opt you in to these by default, and the only way to disable them, according to the help article, is th
13.
▲
by
andremedeiros
3y ago
Keep in mind that this isn’t rooted in any specific best practices. It just felt right.
14.
▲
by
andremedeiros
3y ago
The Reddit API usage is as efficient as it can be, server wise, although I’d like to be proven wrong by them. As far as the app goes, an average of ~330 reqs/user/day is pretty good, considering they built the platform budgeting f
15.
▲
by
andremedeiros
3y ago
HN is a whole other beast. A notification server would have to keep track of any replies to any of your comments / submissions in order to determine what to notify you about, purely because they don’t have a notification model.
16.
▲
by
andremedeiros
3y ago
All the comments in this thread are right. This specific scenario was about providing a consistent experience. All the work that this backend does could be done using iOS’ background updates, but: 1. Those aren’t consistently scheduled 2. T
17.
▲
by
andremedeiros
3y ago
I would demolish a couple hot dogs right about now…
18.
▲
by
andremedeiros
3y ago
Theoretically it could do it all from the app, but it would have to resort to background updates, which are scheduled at iOS’ discretion. Christian was aiming for consistency, which is why this exists.
19.
▲
by
andremedeiros
3y ago
This is bang on.
20.
▲
by
andremedeiros
3y ago
I promise you this is very much what’s running in production.
21.
▲
by
andremedeiros
3y ago
This is an amazing way to look at it. Thank you for your perspective <3
22.
▲
by
andremedeiros
3y ago
I’ll be happy to once I sit down in front of my computer.
23.
▲
by
andremedeiros
3y ago
That’s how it worked, yes, but we went to great lengths to ensure that call had minimal impact on their end. The TLDR here is that we only ever requested new notifications (give me anything that came after this thing I know about), which fu
24.
▲
by
andremedeiros
3y ago
I’m never proud of my code haha. This could always be better. No specific design patterns either. The one fun thing I learned was about databases. Given enough records, a query planner might decide to start doing things very differently and
25.
▲
by
andremedeiros
3y ago
Honestly, Lemmy would probably not need half this code. We wrote this to work with an entity that exists in a “come and get it” model. Lemmy being open source means we could build the features right in the server and slash this code to a ba
26.
▲
by
andremedeiros
3y ago
That’s great feedback. Any particular areas I can walk you through?
27.
▲
by
andremedeiros
3y ago
Got it, thanks!
28.
▲
by
andremedeiros
3y ago
I’ll check in with Christian and see what he wants to do. Got any particular recommendations?
29.
▲
by
andremedeiros
3y ago
This right here is why I did it. To see a friend succeed, and to help make a community happier <3
30.
▲
by
andremedeiros
3y ago
Hi all! I wrote this code, and for educational purposes, I’d be more than happy to answer any questions. A gentle reminder that the whole history is here for show. This is very vulnerable — you can see the times I was in a rush, or when I t
More ›