HNHacker News
TopNewBestAskShowJobs

parthdesai

1,842 karma · joined April 27, 2016

submissionscomments
parthdesai··on Parsing Protobuf Definitions with Tree-sitter
You need it when an empty string is a valid value in your domain.

A better example is Int32Value. By default, protobuf will serialize int32 to 0 if it's not present.

parthdesai··on React chaos in mid and large web apps: Any different experiences?
a tool used strictly internally
parthdesai··on React chaos in mid and large web apps: Any different experiences?
Loved react till v15, I'm lucky enough that I moved into a strictly backend role right about when react 16 was introduced. I don't comprehend how hooks stuff is more readable. I occasionally browse the front end code in our company when trying to debug an issue, and the code just looks so un-intuitive. It's littered with `useHooks`, `useEffect`, `useMemo` and stuff.

It's night and day comparing that to our backend/backoffice written in Elixir.

parthdesai··on Tour de France: How professional cycling teams eat and cook on the road
My personal semi-conspiracy theory is that cycling is the only sport that took anti doping measures seriously and sort of fucked itself over. All the "anti" doping measures in major sports are laughable. There's too much money involved for the athletes to be not on steroids.
parthdesai··on AWS Lambda Web Adapter
> Running clusters of VM/container/instances to “scale up” to transient demand but leaving largely idle (a very, very common outcome) then an event oriented rewrite is going to save a big hunk of money.

If you're using k8s, HPA is handled for you. You just need to define policies/parameters. You're saying as if rewriting an entire app doesn't cost money.

parthdesai··on The economics of American lotteries
I'm still working through the book but that's the whole premise. It'll be impossible for us to rationally and logically relate to what (in this case) they go through. Logically, to us, it makes no sense to buy lottery tickets. But given the circumstances they grew up in, the lack of opportunities that continue to riddle them, they're willing to take that chance since it offers a higher probability of them leading a comfortable life.
parthdesai··on The economics of American lotteries
Morgan Housel in Psychology of Money talks about this. It does make sense, unfortunately, some of these people are at a point where the probability of them living a comfortable life via winning a lottery is higher than anything else.
parthdesai··on Class Action Against General Motors LLC, OnStar LLC, LexisNexis Risk Solutions [pdf]
why would you want GM in first place?

You've Japanese, German and to some extend even Korean cars that are much better. If pick up truck is what you're looking for, then Ford is much better

parthdesai··on Airbnb's Devastating Effect on Canadian Housing
> Don’t blame Airbnb when you refuse to build enough housing, the markets going to figure out how to market.

Sure, but I can definitely blame Airbnb for enabling owners to skirt local regulations.

parthdesai··on Managing mutable data in Elixir with Rust
After a certain scale, it actually does start to slow you down

https://discord.com/blog/using-rust-to-scale-elixir-for-11-m...

parthdesai··on Prime Video cuts Dolby Vision, Atmos support from ad tier–and didn't tell subs
eh, both had great 1st season and then they were terrible in the following seasons.
parthdesai··on Postgres as queue
FWIW, River was directly inspired by Oban: https://news.ycombinator.com/item?id=38351067
parthdesai··on Campfire
If you take some of the public slack channels, campfire fits the better.

Look at Elixir's slack for example. Since it's a free tier, you can't view older messages that can be beneficial to someone. And Elixir's slack channel is not going to need fancy workflows, web hooks for CI, gitops capabilities et all.

parthdesai··on Mourning Google
> Their successful products are vertically-integrated to provide a walled "convenient" experience to users

Isn't that a selling point of Apple ecosystem as well? Everything just works

parthdesai··on Lessons from building GitHub code search [video]
Weird, I've never found that to be the case. There's a "flash" sort of message right at the top of the search results that says "Sign in to see results in the `x` org"
parthdesai··on OpenAI's board has fired Sam Altman
> We all know what

Genuinely curious, what is it?

parthdesai··on Ruby on Rails: The Documentary [video]
> Domain. Team. Project Planning. Combine any of them and the projects demand different things, but with Rails you are out of luck

hmm, sounds like this rails app that one might have not heard bout. You should check it out. Think it's called Basecamp

parthdesai··on What I learned getting acquired by Google
> It is in the heart of the Toronto downtown, near Richmond & Spadina

No, it's Richmond and University or Richmond and Bay. It's basically in financial district which is as boring and corporate as it comes. My point was to the GP saying "Google always seems to lease the best/coolest office real estate"

parthdesai··on What I learned getting acquired by Google
Not a googler, but their office in Toronto is in pretty meh area tbh
parthdesai··on US Smartphone Shipments Decline 19% in Q3 2023 as More Americans Delay Upgrade
As the technology matures, you don't really need to upgrade it every year. You can already see that the updates in phone are incremental. For a person updating their phone every 3 years, it's a big update but that's not the case anymore for a person upgrading their phone every year.
parthdesai··on Uber migrates microservices to multi-cloud platform running Kubernetes and Mesos
Where does a line cook's use case fit in it? From what I know, uber eats sends a order to a restaurant, an employee manually punches in the order on their POS system, and the order ticket goes into the kitchen
parthdesai··on Uber migrates microservices to multi-cloud platform running Kubernetes and Mesos
> a line cook is a user, a doctor's secretary is a user

I was with you on other types of users, but can you elaborate on these particular use cases?

parthdesai··on Instagram apologizes for inserting 'terrorist' into Palestinian bio translations
Not an arab, but as a brown person, it's a bit funny when TSA always "randomly" selects you for screening
parthdesai··on YouTube TV, which costs $73 a month, agrees to end "$600 less than cable" ads
That and you can also see certain youtubers chopping off sponsored ads block into multiple parts and integrating it with their video
parthdesai··on How Netflix uses Java
Netflix themselves have moved off falcor though

https://netflixtechblog.com/migrating-netflix-to-graphql-saf...

parthdesai··on Narges Mohammadi wins 2023 Nobel Peace Prize
If you're going to make claims with such authority, please have the correct information. Sure Al-Qaeda was formed after the Soviet withdrawal, but it consisted of very members that US and Pakistan (ISI) helped in their fight against Soviet union, including Osama Bin Laden.

https://www.wikiwand.com/en/Afghan_Arabs

parthdesai··on Narges Mohammadi wins 2023 Nobel Peace Prize
> So I thought it was weird, sure, but I could somehow rationalize it.

Not if you happened to be a person in Libya/Syria/Afghanistan or a few other middle eastern countries.

parthdesai··on Vespa.ai is spinning out of Yahoo as a separate company
>When was the last time you changed your mail id?

I get this sentiment, but I don't know anyone in my age group (late 20s/early 30s) that use yahoo mail either. My dad did use yahoo mail, but i'm guessing it has about 20 years left.

parthdesai··on Insiders reveal problems at Upside Foods
eh, you still need salt + pepper.
parthdesai··on Insiders reveal problems at Upside Foods
Just for fun and games, let's apply your logic but inverse the argument.

Do salt and spices actually taste good though? When has anyone ordered only salt and spices?

Need both (or salt, spices and vegetables/lentils/beans etc), and a skilled cook for delicious meal.

← PreviousPage 6 of 24Next →