HN user

ratpik

339 karma
Posts36
Comments34
View on HN
news.ycombinator.com 4y ago

Ask HN: How do you do authorization for background jobs?

ratpik
3pts2
news.ycombinator.com 4y ago

Ask HN: Tooling Around SNS?

ratpik
1pts0
news.ycombinator.com 4y ago

Ask HN: How do you represent the technical architecture at your organisation?

ratpik
5pts1
news.ycombinator.com 5y ago

Ask HN: Books/Talks about microservices and asynchronous communication patterns

ratpik
3pts0
news.ycombinator.com 5y ago

Ask HN: How do you do Distributed Transactions?

ratpik
1pts0
techcrunch.com 6y ago

RapidAPI raises $25M more to expand its API marketplace

ratpik
2pts0
news.ycombinator.com 6y ago

Ask HN: Have you built any in memory full text search engines?

ratpik
1pts0
news.ycombinator.com 6y ago

Ask HN: How to build full text search at scale?

ratpik
4pts5
news.ycombinator.com 6y ago

Ask HN: Where can I find examples of good Node.js code?

ratpik
1pts0
news.ycombinator.com 7y ago

Ask HN: How do you debug performance issues in Node.js applications at scale?

ratpik
2pts0
news.ycombinator.com 8y ago

Ask HN: What is your favourite tech talk?

ratpik
701pts147
news.ycombinator.com 8y ago

Ask HN: How do you triage issues from log dumps?

ratpik
1pts1
hackernoon.com 9y ago

Your behaviour is your password

ratpik
3pts0
play.google.com 9y ago

Google launches on-demand services app in India

ratpik
1pts0
news.ycombinator.com 9y ago

Ask HN: How do you do User Management for your product?

ratpik
1pts0
www.huffingtonpost.com 9y ago

Unexplained Aerial Phenomenon Video Released by Chilean Navy

ratpik
2pts0
news.ycombinator.com 10y ago

Ask HN: How do you teach problem solving skills to software engineers?

ratpik
2pts1
medium.com 10y ago

Your political opinion isn’t really your own

ratpik
1pts0
news.ycombinator.com 10y ago

Ask HN: What project management tools do you use?

ratpik
1pts0
www.facebook.com 10y ago

The Ugly Indian

ratpik
78pts11
news.ycombinator.com 10y ago

Ask HN: Polymer or React?

ratpik
12pts8
news.ycombinator.com 11y ago

Ask HN: YC companies posting job ads on HN – Has it worked?

ratpik
2pts0
github.com 11y ago

Can building an app help clean India?

ratpik
1pts0
news.ycombinator.com 11y ago

Ask HN: Do you program in multiple languages in a day?

ratpik
38pts79
news.ycombinator.com 11y ago

Ask HN: What video hosting service do you use for your video platform?

ratpik
4pts9
news.ycombinator.com 12y ago

Ask HN: How do you manage a product that is both B2C and B2B2C?

ratpik
1pts0
github.com 12y ago

Track 2014 Indian election results in real time with Firebase

ratpik
2pts0
link.springer.com 12y ago

How Ants Cut Corners (and behave like light)

ratpik
1pts0
medium.com 12y ago

Google Symptoms

ratpik
2pts0
medium.com 12y ago

Start-up lessons from the Twitter Story

ratpik
1pts0

I am not sure why they have been unable to build the right set of features to grow WhatsApp for Business in India.

That's almost a Billion DAUs where a lot of business transactions happen via chat on WhatsApp.

Love this tool! Discovered it just before the lockdown started and have used it as a collaboration tool in 100+ software engineering interviews since then.

Disclaimer - I work at Postman.

IMHO this is a lot of learning overhead.

Postman allows me to design and mock APIs by simply adding my request and saving the example responses I would like my endpoints to return. The request/response format is what is natural to a web developer and does not need learning another DDL like RAML or OpenAPI/Swagger.

The mock url generated can be directly consumed by anyone without needing any local setup and allows decoupling the consumers of the API from the service deployment allowing parallel development tracks i.e being agile. The documentation comes out of the box when you create anything in Postman and can be shared with your API consumers.

I can then use the same Postman Collection to debug and test my APIs and eventually make it a part of my CI/CD process using their Newman CLI tool or just creating a Postman monitor which runs the API specification with tests on a pre defined schedule and notifies you when the tests fail or experience latency issues in production.

https://www.getpostman.com/products

Carbon Clean Solutions built a plant in Tuticorin in southern India that captures carbon dioxide from its coal-fired boiler and converts it into soda ash (a chemical cousin of the baking soda you buy in a grocery store). And, in what Sharma says is a world’s first, the commercial-scale plant set to capture 60,000 tons of CO2 annually does it so cheaply that it did not need any government subsidies.

Before Carbon Clean Solutions came along, the Tuticorin chemicals plant used to buy carbon dioxide to make its soda ash. It also bought coal to fire up its boiler. Now, instead of wasting carbon dioxide that burning coal produced, the plant is capturing it and saving the money on buying any more carbon dioxide. As a plus, the CO2 supply is also more reliable than before.

“I am a businessman,” Ramachandran Gopalan, the managing director of the Tuticorin plant, told the BBC. “I never thought about saving the planet. I needed a reliable stream of CO2, and this was the best way of getting it.”

https://qz.com/878674/two-indian-engineers-have-drastically-...

The most RESTFul way to do this would be to use content negotiation using the `content-type` header set to something like `application/com.vendor.product+json; data-version=2.1; api-version=3.4` where the minor version indicates data changes and the major version indicates schema changes to the data. You can club together the API and data versions into one version like '3.4.2.1' if you can define what a major/minor change to the API means. Exact details on how the client is exposed to the versioning will depend on the product requirements.

In terms of storing the data, we had a system where the content would be zipped after the content developers were done with the authoring and sent to a place which would convert it into appropriate JSON documents with the metadata and versioning information stored in the DB while the the document content could be stored in the cloud or a document database like Mongo or just Postgres. The content authors only knew excel who were trained to follow a schema while writing the content. That was like a low cost CMS. You can update only the content that has a diff or the entire content depending on how well you can identify a diff for the content. The entire content makes it simple.

Having a constant that stays with you in good times and bad has helped me. Could be a person, a piece of music, a book, a video/tv series/movie or just a long a walk.

Following stoicism helps. I read the book listed below that explains it well. My main takeaway from that book was that it is much easier to be happy if one stops caring about two things - External validation and Instant Gratification.

"One of the great fears many of us face is that despite all our effort and striving, we will discover at the end that we have wasted our life." - https://www.goodreads.com/book/show/5617966-a-guide-to-the-g...

https://www.goodreads.com/book/show/26043368-the-gita-for-ch... answers questions like 'How can one win a war when it involves killing ones own family?' with teachings like 'Do your duty with single minded focus and great sincerity, without worrying about the results of the work'

The root has more to do with the socio-economic status of the population. In a country where everyone made more or less the same and worked about the same and respected each other the same, corruption would be an anomaly.

Long term solution is to improve the fundamentals - education, inequality, access to basics.

Corruption.

Bureaucracy is responsible for a lot of corruption. Getting things done in the government is meeting a lot of people and filling a lot of forms. Bribing is sometimes the shortest path to get work done.

Having interoperable data systems, forms that can be filled online and an easy way for citizens to understand the law and fill the papers without a human touchpoint would make things much more seamless and transparent.

P.S. - Low level corruption might not be such a big deal in the developed countries but is an efficiency drain on about 70% of the global population living beyond that.

https://en.wikipedia.org/wiki/Corruption_Perceptions_Index#/...

Check out Jana Care. http://janacare.com

The company is building a mobile based care platform for patients with diabetes or at risk of diabetes along with a Square equivalent device for diagnostics. While cost is one of the issue for patients, it is not the only one. Quality of care varies significantly across a city and the moment you step outside a major city, there is little to no specialized care for chronic conditions that need some form of training for managing the condition. A mobile phone with some form of internet connectivity is ubiquitous these days. So leveraging that to reach as many people as possible makes sense. There are over 80 million people with diabetes in India and another 80 million are expected to develop it over the next decade or so. Add to this the costs and quality of life of patients who have to suffer the complications (kidney failure, amputation, etc), and any improvements that can be made to these numbers with technology is worth the effort and makes business sense too.

The problem isn't India specific. China, US, Europe and the Middle East have similar or higher prevalence rates. It is just that India makes sense as a place to start doing things.

It's been a few years that we have been working on this. We mostly operate out of Bangalore but we have an office in Boston too. Feel free to drop by!

http://world.time.com/2013/05/12/no-answers-in-sight-for-ind...

http://www.bloomberg.com/news/2010-11-07/india-s-deadly-diab...

Type 2 is treatable by lifestyle changes. The specifics can very person to person based on genes, the time for which you have had it and so on, it is largely possible to use lifestyle modification to get off medication and have your average sugars under control and basically enter the pre-diabetic stage.

At http://www.janacare.com/, we are using technology to help this process.

Atul Gawande's checklist manifesto emphasizes the need for processes while solving complex problems like surgery. A doctor can forget to wash his hand while a machine cannot forget. So that is a place where computer assisted techniques make sense just like the case of flying a plane where the autopilot can take care of most things except when things go wrong and humans have to take over. I don't think anyone with adequate experience in healthcare and technology would make wild claims about replacing doctors with machines. There are plenty of places where machines can aid doctors and simplify processes at scales thereby letting doctors focus on more complex things. That's how the automobile industry evolved and so will healthcare. But doctor's will always be needed. They would just be doing different things or existing things in a different way.

There are plenty of people in this part of the world (Eg. India) where people are just getting to the point of trusting a ATM machine with cash withdrawal. Assuming machines become better than doctors at asking patients the right kind of questions, knowing when they are lying or just not able to communicate their problem, there is still a significant barrier and probably a generation of cultural changes that would make it acceptable to have a machine as your primary care giver. Diagnostics have been using complex technology for a while, so there is no doubt about technology improving the decision making process. However diagnosis is just one and probably a small part of the healthcare process. Actually improving the patients health requires following a treatment plan and adherence to lifestyle and medical processes. Most people just fail to comply due to behavioral reasons. This is where technology and so call 'AI' can play a role. By understanding individual human behavior patterns and guiding people to do small changes that would improve their health outcomes. We have been working on fixing this problem for people with chronic conditions like diabetes at http://www.janacare.com.

Why not build a re-CAPTCHA type service around crowd sourcing PDF metadata. Read a PDF while you wait for something to happen.

Too idealistic?

"It seems that the influence of your teacher has been to give you a false idea of what are worthwhile problems. The worthwhile problems are the ones you can really solve or help solve, the ones you can really contribute something to. A problem is grand in science if it lies before us unsolved and we see some way for us to make some headway into it."

That is very good advice. You could replace teacher with your corporate manager and science with society and it becomes relevant to everyone working on a normal corporate job or a start-up.

It is dropping altitude faster (40 metres/sec) as it nears the equator and is moving at almost constant velocity (between 7.89-7.91). Looks like it will continue to slowly spiral around the earth and crash in the Atlantic Ocean/N.America based on simple extrapolation. Except that the it is probably not going to be that simple. Just hit the equator. Alt: 156, Spd: 7.93, Long: 128.8, Lat: 0. Now altitude is increasing again.

Sorting the sub-lists to find the 5 medians by itself is at best a O(nlogn) as per this example. That would make the algorithm non O(n). Or am I missing something?

HTTP PATCH is a very good way to do RESTful bulk operations

I frequently use the PATCH operation to create, update and delete in bulk, sometimes a combination of these. That is the best bulk operation I have found till date that is RESTFul and compliant across client/server.

Eg.

curl --dump-header - -H "Content-Type: application/json" -X PATCH --data '{"objects": [{"body": "Surprise! Another post!.", "pub_date": "2012-02-16T00:46:38", "slug": "yet-another-post", "title": "Yet Another Post"}], "deleted_objects": ["http://localhost:8000/api/v1/entry/4/"]}' http://localhost:8000/api/v1/entry/