While trying the script, I am getting the following error -
<Trace> ReadWriteBufferFromHTTP: Failed to make request to 'https://hacker-news.firebaseio.com/v0/item/40298680.json'. Error: Timeout: connect timed out: 216.239.32.107:443. Failed at try 3/10. Will retry with current backoff wait is 200/10000 ms.
I googled with no luck. I was wondering if you have a solution for it.
It makes many requests in parallel, and that's why some of them could be retried. It logs every retry, e.g., "Failed at try 3/10". It will throw an error only if it fails all ten tries. The number of retries is defined in the script.
Example of how it should work:
$ ch -q "SELECT * FROM url('https://hacker-news.firebaseio.com/v0/item/40298680.json')" --format Vertical
Row 1:
──────
by: octopoc
id: 40298680
parent: 40297716
text: Oops, thanks. I guess Marx was being referenced? I had thought Marx was English but apparently he was German-Jewish[1]<p>[1] <a href="https://en.wikipedia.org/wiki/Karl_Marx" rel="nofollow">https://en.wikipedia.org/wiki/Karl_Marx</a>
time: 1715179584
type: comment
Linux is not designed for being executed in a web browser. Emulation will be slow. With exaequos, applications are in webassembly. It will both an application store, a common development environment and an isolated machine
"The difference is the extensive legal framework protecting Western citizens and companies from state security overreach."
Unfortunately, China is winning in the rest of the world for the same reason. While western citizens and companies are well protected, the West has intentionally kept the rest of the world vulnerable for self dirty interest. We have seen the Western hypocrisy in policies and moral codes destroying societies for decades all over the world. If the Western code of conducts for the rest of the world were hypocrisy free, Chinese slithering would have been impossible, and the world would be a lot better than it is now.
We have been following Singapore math for our kid since he was a little over five years old. We've found the concepts in this book series practical and workbooks enjoyable for the kid.
If solving problems create opportunities for new ventures, that is what the smart people should do instead of piggy backing on technologically stagnated big corporations. Developing countries may have significantly less quality of life in general, but there have always been a class of people enjoying life no less than anyone in the "first world", probably more. Simply put developing countries also need amazon, paypal, EV as they develop and adaption of long existing technology is more important than innovation there. So, entrepreneurs from technologically advance (and competitive) countries have even more opportunities to play bigger roles and create significant impact in a society.
This only really applies to a few developing countries, though. I actually think it only really applies to India.
When you're creating products for developing countries, you have to build for a certain market. The one in India is enormous and prosperity is increasing (although the pandemic has been a setback, yes).
Yeah, if only 5% of the Indian population can afford your product, that's still a market comparable to the entire German population (~70 million). As long as the way that the other 95% have to live doesn't bother you. I have never been to India, but I still remember the news of the Covid lockdown in 2020 where the migrant workers were suddenly left without income and had to fend for themselves...
If I am okay with the way the other 95% live around the world, I do not see any reason I would be bothered by the way the other 95% have to live within an arbitrarily delineated portion of the world.
Ideologically yes, but practically & subjectively it doesn't feel that way in large Indian cities (anecdotal, I visited India for 2 months years ago). Walking through the center of Delhi (and many other large Indian cities) you see the kind of poverty you never encounter first-hand in developed-world cities like those in Western Europe, North America, Japan, Singapore, etc.
It was definitely a shock for me at first & is not a pleasant way to live IMO.
> you see the kind of poverty you never encounter first-hand in developed-world cities like those in Western Europe, North America, Japan, Singapore, etc.
This is unfortunately very true. Living in most Indian cities requires one to build a character that can withstand living amidst such destitution. Millions of people do it everyday though. You kind of have to mentally block it out.
From my history of long time loneliness, I have learned to cope with it by observing things that bring me out of my comfort zone in positive way. I found the following activities helping me-
1. Attending (and pushing myself to mingle) conference or workshop on topics of my interest and expertise.
2. Spend some time at the park or places where relaxed people are around you.
3. Learning wu shu or Tai chi from a good master. It not only helps to widen your physical capabilities, but also you get to interact with other people.
4.Challenge yourself with activities that you are able to fulfill, and enjoy. Volunteering for non-profit organization, hiking in the mountain, learning a new sports, even walking slowly, aimlessly in the market/mall helped me feel myself.
I am pretty sure it would, and that is one of the reasons Opera Mini is still very popular in Africa.
One of the things it does is to remove the need for hundreds of requests to fetch every single image/script in the page (from the client that is). Instead it is only one file to fetch over http. Only that makes a huge difference.
I wonder why India with population 1.3bn has only 145MB zipped footprint when USA with population a quarter of that has almost 1 GB? AFAIK, FB is huge in India.