1,395 karma · joined January 6, 2016
1. https://www.amazon.com/Algorithms-4th-Robert-Sedgewick/dp/03...
Spark has had SQL engines (SparkSQL/Hive on Spark) for a long time. Photon is just a new, faster one. Photon tasks also run on Spark executors only, so it's not independent of Spark[1]. Also, while it's proprietary now, I wouldn't be surprised if Databricks open-sources it in the future, like they did with Delta Lake.
1. https://databricks.com/blog/2021/06/17/announcing-photon-pub...
They have some proprietary features like DBIO [1]. They also have some cloud-specific features like storage autoscaling [2] that would not be available in OSS Spark. Even Delta Lake [3] used to be proprietary, but I suspect the rise of open-source frameworks like Iceberg led them to open-source it.
Shameless plug - when working at a since-shutdown competitor to Databricks, I'd come up with storage autoscaling long before them [4], so it's not unlikely that they were "inspired" by us :-) .
1. https://docs.databricks.com/spark/latest/spark-sql/dbio-comm...
2. https://databricks.com/blog/2017/12/01/transparent-autoscali...
4. https://www.qubole.com/blog/auto-scaling-in-qubole-with-aws-...
At that time MySQL had neither spatial indices nor a native haversine method. I switched out the search method to translate the area name to a lat-long on the frontend (based on google maps) and then use a haversine in the query to retrieve results. It was still a couple of orders of magnitude faster than the previous solution, and more accurate to boot.
1. The Mughal Empire at War: Babur, Akbar and the Indian Military Revolution, 1500-1605 (Asian States and Empires) https://www.amazon.in/dp/B01EX69NJ0/ref=cm_sw_r_apan_glt_DMX...
Edit: added the link
You get several types of ready to eat breads in India too, but they're more "localized". For example, from Britannia, apart from the usual milk, white, brown, whole wheat, multigrain, etc, you also have Kulcha, missi bread, pav, fruit bun, etc. In the US you would probably see rye bread, sourdough, etc.
Having said that, where I really envy US and Europe is the variety of cheeses. You get most of them in India too these days but they're prohibitively expensive.
Perl and Ruby do both very well. Or at least they do the latter in a simpler way than Python, and they're no worse than it for the former.
2. https://sw.kovidgoyal.net/kitty/
Edit: formatting
Edit: 50 -> 60
Majority, yes, but not all.
> Like the Supreme Court observed, the decision to exclude those under 45 was arbitrary and irrational.
I don't disagree there.
> Again, SII was sitting on 50 million doses in January. Why did the government not procure them? Why did the government resort to piece-meal purchase orders?
Actually the govt did commit to buy 60 million, as the link I shared mentioned. As to why it did not buy outright, I'd guess it's because it didn't need them when only FLWs were being inoculated. Maybe the storage and transportation infrastructure was also not in place, but I'm just speculating here.
Edit: another reason (which I just read in an article) to order piecemeal, was apparently to keep options for other vaccines open as and when they became available. At the time there were quite a few possibilities - Pfizer, Moderna and Novavax IIRC. In hindsight this was suboptimal as Pfizer and Moderna had committed their supply elsewhere and Novavax was not completed in time.
> The US on the contrary ordered 300 million vaccines at once
Did they also pay in advance for all 300 million?
> SII did not get 3000 crore advance for the government till end of April.
SII asked for that amount only in the beginning of April[1], so that's not that much of a delay.
1. https://www.hindustantimes.com/india-news/outstretched-sii-c...
My point was that the states themselves asked to be allowed to procure the vaccines, so blaming the Union for asking them to "compete" is incorrect. As your link to the Liberalized policy states, 50% of the supply was being purchased by the Union, presumably to supply to the "poor" states.
> How does that preclude the Union from extending vaccine coverage to all?
You're right - it doesn't. However I think the (only) Rs. 35000 crore budget should have made it clear that the government was not planning to inoculate everyone for free. Some, like me, got lucky; but I know plenty of people who had to pay for their vaccines.
> And then placed an order for a grand total of 11 million doses
From Jan 16-Feb 28, India was inoculating only frontline workers and healthcare staff. For these AFAICT, the Union ordered 11 million vaccines in Jan[1], as you mentioned, and 14.5 million in Feb[2].
India started inoculating senior citizens and people with co-morbidities from March 1, and in March the Union had ordered 120 million vaccines[3].
The Union claimed, in May, that they were purchasing the entire supply of both SII and Bharat Biologicals, so if there was any shortage it was due to the lack of manufacturing and not lack of purchase. I'm not blaming the manufacturers of course - obviously they took time to scale, and they (especially SII) have done well now.
1. https://www.indiatoday.in/coronavirus-outbreak/story/india-o...
2. https://www.business-standard.com/article/current-affairs/go...
3. https://www.hindustantimes.com/india-news/120mn-doses-ordere...
Edit: added some more information on vaccine orders
This is not true - the govt gave Rs. 3000 crore (the asked-for amount) in aid to SII.
> They jumped at it with all hands and today account for 90% of all doses administered.
True, but it's likely that the government's commitment to buy 100s of millions of vaccines played no small part in giving them the confidence to scale up the way they did.
> India is like top 3 in the world in pharma manufacturing
True, but SII is the big daddy of vaccines. Even before Covid, they were making 60% of the entire world's supply of vaccines.
> Many companies were ready and willing to switch to vaccine manufacturing but were tied up in bureaucracy with no support from the government.
SII had the capability and capacity, and committed to deliver the quantity as well. They had started manufacturing Covishield in the millions as early as November 2020 or so. Bharat (Covaxin) had a fully developed vaccine. Under the circumstances, why would the government (or any other buyer) risk spreading itself thin over many different suppliers instead of going with those which already had a product in hand?
My wife and I are under 40 and we got the vaccine for free at a government health centre.
> Instead, states were pitted against each other to procure doses
Initially all vaccine supply was routed through the centre. Then some states like Delhi and Maharashtra asked to be allowed to procure vaccines on their own. This was in the early days when the vaccine supply was less. When they didn't get any interest from sellers they again asked the centre to procure it for them [1][2]. By then SII (Covishield) in particular had scaled up sufficiently to be able to supply enough vaccines.
1. https://www.newindianexpress.com/cities/delhi/2021/may/27/ke...
2. https://www.thehindu.com/news/cities/mumbai/uddhav-thackeray...
In the long run, you might want to set aside 3-4 hrs/week on some real physical activity though - walking is fine but you need upper body strength too.
In any case, once you have a partner and/or kids in your life, you'll find you won't be able to spend this much time on coding, so enjoy it while it lasts!