HNHacker News
TopNewBestAskShowJobs

dhruvrrp

699 karma · joined April 6, 2015

submissionscomments
dhruvrrp··on VSCode, Dev Containers and Docker
At least for python, just pinning the top level dependencies are not enough. if you pin tensorflow==2.4.0, it doesn’t pin its required packages, rather it just defines a range. An example would be tf will try to get wheel>=0.26 (which was released in 2015 and is currently on release 0.36.2)
dhruvrrp··on VSCode, Dev Containers and Docker
Slightly off-topic, it really irks me when people take about reproducible builds/environments while using docker, while having something along the lines of apt-get update/pip install in their dockerfile.

Like that completely destroys the reproducibility of your container!

dhruvrrp··on Bill and Melinda Gates: America’s Top Farmland Owner
That is not completely true. In EU more than 40% small farmers consumed more than half their produce.

In India heavily subsidizes farming as well, for good reason since a significant portion of the population is employed in the agricultural sector.

https://ec.europa.eu/eurostat/statistics-explained/index.php...

dhruvrrp··on Bill and Melinda Gates: America’s Top Farmland Owner
There is a cutoff where small farmlands are not sustainable or economical. Small farms means that the overhead for the produce is too high, and they require extensive subsidies to stay afloat.
dhruvrrp··on Simple Bank Is Closing
Have you tried privacy? (https://privacy.com) seems to be pretty similar to the enveloping you’re talking about.
dhruvrrp··on Poll: Will you take the Covid vaccine?
It was hovering around 30-40% 2 months ago, and was around 56% in May. Unfortunately historical data is hard to find since most gov/hospital websites only seem to show covid related data.
dhruvrrp··on Poll: Will you take the Covid vaccine?
My county has less than 15% ICU bed availability.
dhruvrrp··on DoorDash S-1
Pretty sure Lyft pink is through Chase sapphire as well, which in turn gives Grubhub+ (at least for me)
dhruvrrp··on Hotel guest in Thailand jailed for defamation after posting bad online reviews
Link to the resort’s response from twitter https://drive.google.com/file/d/1VZCwyULmkLpZ7y5nT5wsaX0mn8w...

Seems like a messed up situation and i would like to side with the guest, but given I don’t have a culture frame of reference I wouldn’t be too fast to judge the resort.

dhruvrrp··on Mark in the Middle
I completely agree. Not everyone knows, or even wants to cook 3 meals a day (me included). For people who have gotten free food through their work, it is a big deal.

Now they either have to make stuff themselves (which costs time) or source it from outside (which costs money).

dhruvrrp··on Boeing gearing up for 787 move to South Carolina
Isn't the North Charleston plant the one riddled with serious QC issues, and the one Qatar airways refused to take deliveries from?

https://www.nytimes.com/2019/04/20/business/boeing-dreamline...

dhruvrrp··on Ask HN: What's the worst piece of software you use everyday?
Problem with helm is that it was not created as a deployment tool in mind, but that is the use-case that caught on. Helm was designed to be the apt get for k8s, where there is a specific set of users who create the charts and a different set that just go 'helm install redis'.

They might make improvements in helm 4, but who knows.

dhruvrrp··on Father and Daughter Convicted for $100M Fraudulent Tax Refund Scheme
They are already convicted and awaiting sentencing, so I don’t think this is similar to Belgium case you’re talking about.
dhruvrrp··on We Never Paid for Journalism
Which is completely in line with what that person said. Why spend $x on newspaper advertisements when you can spend them on Google and have much better targeting.
dhruvrrp··on Man sues AT&T over 'SIM Swap' hack allegedly involving employees
When i upgraded my phone, I had to get a new (micro?) sim and they didn't even ask for my ID or the old sim.
dhruvrrp··on Alan Turing to be the face of new £50 note
I had a lot of trouble spending leftover Jersey pounds when i reached London. People didn’t even recognize the bills! I think a McDonalds ended up accepting them.
dhruvrrp··on Recognizing the signs of disruption in our urban habitat
If the Bay is still relevant at that time, then all it would take is a few hundred million to contain the rising water levels, in the form of barriers, flood walls, etc.
dhruvrrp··on Show HN: IAvisa – Explore visa requirements worldwide
I don't think Timatic is foolproof either. It seems to work fine as long as the requirements are basic (have visa/duration of stay/visa on arrival) but it (or the people using it) seem to break down as soon you add any complexity.

I was travelling to a country which provided visa on arrival for 14 days, but my return ticket had a 1 month stay because I had a different ticket from that country to India after a week. Delta denied checking me in (took them more than an hour to solve the issue) at SFO and then Air France denied boarding me in Paris for my connection (took them 30 minutes to solve the issue).

dhruvrrp··on Bulk Data Structures C++
The author's pseudo-code implies that bd->items is full already, since it is probably initialized to the initial number of items that are added. This is probably for memory optimization for games. Also explains why resize increases the size by 1, just enough memory to add the new item.

This way you don't need to worry about keeping track of size and capacity either.

The reason I suggested -1 is because when we iterate through bd->items, we need a way to know if it's a valid value or just "holed".

dhruvrrp··on Bulk Data Structures C++
I would say it depends on how one might want to handle it, like when you create an item_t you set next_free = -1 as a flag to indicate that it is not free. And have bulk_data_t's 0th position's next_free be 0.
dhruvrrp··on Uber Posts $5.2B Loss and Slowest Ever Growth Rate
That absolutely did not work. I recall having to calling cab companies at night and the operator would estimate 30-40 minutes for a 20 minute ride. Spoilers: they would never show up
dhruvrrp··on MoviePass Worked Out Great
Moviepass worked great when it handed you $2 of VC money for every dollar, but I appreciate the fact that it did end up disrupting the market as it died.

Most of the big chain now offer Moviepass-esque premium services. AMC now charges like what, $12 a month for 2-3 movies / week? That's how much individual tickets cost in the bay, so as long as a person watches even a single movie a month they're breaking even!

dhruvrrp··on Would you accept cheaper rent in exchange for a monthly Amazon purchasing quota?
I don't think Amazon even needs experiments like this to increase its dominance.

Take the apartment complex i live in as an example, last year there was a marked increase in package thefts that the residents started complaining. The management came up with a few solutions that all got shot down, cameras were a straight no from most people because of privacy implications, increasing rounds by the security was also shot down since its a huge complex and it would require a lot more people (which they implied might lead to increase in rents in the coming years).

What did everyone decide on? on-site Amazon lockers. So now the choices are that you either buy from Amazon, or risk having your package stolen. Guess what everyone does now?

dhruvrrp··on Amazon workers launch protests on Prime Day
> He says he has to pick an item about every eight seconds, or 332 per hour, for a 10 hour day.

Ignoring the math, it’s hard to imagine that pace. Are they forced to continually be moving? Or is the person counting picking up, say 15 usb chargers as 15 separate things?

dhruvrrp··on YouTube videos that have almost zero previous views
Because a lot of people care of recommendations? If you watch news on yt then maybe recommendations are garbage but if you watch videos related to some niche activity or music then recommendations are a godsend.
dhruvrrp··on BMW CEO to quit after carmaker loses early lead in electrics
They both are hybrids so don’t even fall under the same category as electric cars for most people.

The bmw website doesn’t even show options for 330e so that seems to be discontinued and for the 530e the electric range is 16 miles, so basically a luxury Prius.

dhruvrrp··on Twitch Sues Troll Streamers over Violent Videos, Pornography
IANAL but it would go something like this: Twitch has IP addresses of the trolls, but no way to tell their real identity. So they file the lawsuit and then use it to subpoena the ISPs assigned those IP addresses to get their client information.
dhruvrrp··on The new Dropbox
that is the name of their company blog i think...
dhruvrrp··on No Kings: How Do You Make Good Decisions Efficiently in a Flat Organization?
Rough consensus is a really naive solution to making decisions. Being in a flat structure doesn't change the fact that different people have different requirements.

Just because you have more people "agreeing" to one particular idea doesn't make it the right idea.

dhruvrrp··on Project Svalbard: The Future of Have I Been Pwned
HIBP could be an excellent B2B offering for companies. Imagine someone like Microsoft offering it as an addon to their business clients to improve security practices.

Or a more independent company offering it as a standalone service, kinda like Mozilla (Monitor) or even something like Symantec (tho they seem to be bleeding money recently)

← PreviousPage 3 of 6Next →