evrimfeyyaz
"My friend has two tokens and I have six, but I owe one to the same friend. There is a toy that costs 7 tokens. Can my friend and I afford to buy it?"
That being said, my website is already served through Cloudflare, and this is an endpoint Cloudflare provides for debugging purposes.
I think this is ethically safe, but legally it probably is not. I definitely agree.
Using Google Analytics without GDPR consent
How to push a view up to avoid the keyboard in React Native
Dismissing (hiding) the keyboard in React Native – RNcasts #6
How to loop inside JSX in React
I'm starting a screencast, and I will share the journey here
I have also separated the part that fetches and formats the data into a library that you can use: https://www.npmjs.com/package/@evrimfeyyaz/covid-19-api
Show HN: Covid-19 in Charts, a web app that visualizes the Covid-19 data
> Just noticed - UK recoveries data looks incomplete. which data source are you using?is it not present in your data source or govt not providing it to public?
The data is from the Johns Hopkins University CSSE. Apparently the UK government does not share recoveries data. There are other places that lacks recoveries data, so I decided to add a small popover that explains it to the user. If you go to the website now, and change the location to the UK, under "Recoveries" it says "No Data," and hovering over the "Why?" below it shows an explanation.
> Just to add, at the beginning under "Latest cases" section adding 'Active Cases' count along with other 3 counts(Confirmed , Deaths, Recoveries) will give better idea on current status of the country.
I have now added the active cases information. But it's not shown in a card like the other three (it looks too crowded with four cards).
> is it possible to add another geographical graph showing top 5/10 countries with color codes? I used filter to check whichever country data I want to see. I would also like to know which countries have highest cases and maybe compare two countries graph?
I actually included a location comparison page at first, but then decided to remove it. Comparing locations didn't seem too reliable to me for two reasons:
1. The quality of the data between locations vary. 2. As all the values are total values for a given location, naturally places with bigger populations tend to have bigger numbers. To counteract this, I needed to also calculate per capita values, which would add some extra work, and I wasn't sure if people really wanted to see it.
If there is enough people interested, I might add that. Also, the whole thing is open source, here is the source: https://github.com/evrimfeyyaz/covid-19-in-charts. If you are interested in adding anything, you're more than welcome.
Thanks a lot for all your feedback, I really appreciate it. I added a few new things based on what you said.
Ask HN: I made a Covid-19 data visualization app, what else can I add to it?
I have created a web app that visualizes the COVID-19 data: https://covid19.evrim.io.What would you recommend I add that would provide an interesting point of view that isn't obvious by a simple plotting of the data?For example, I show the exponential moving average of the new cases data, which makes it easier to see a mid-term trend.I don't want to add any forecasts, as I neither have the...
This website fetches the Johns Hopkins University COVID-19 data from GitHub (in CSV files), and fetching this every single user action is not feasible.
When a user first enters the website, this data is fetched from GitHub, parsed and formatted, and stored in IndexedDB (until it's deemed "stale").
I first used Local Storage, but I needed more space than most browsers allow on Local Storage, so I moved to IndexedDB.
By the way, the API of IndexedDB is somewhat awkward, but there are great libraries like IDB (https://github.com/jakearchibald/idb) that make it much more developer-friendly.
- If we say you take a 10 minute break every 50 minutes, you would need almost 10 hours to work 8 hours. - Let's say lunch for 30 minutes, dinner for 30 minutes. We're at 11 hours. - If you're sleeping for eight hours, we're at 19 hours.
This is a very very strict, and probably somewhat unrealistic schedule, and you only have five hours left after this. Realistically, there would be a lot of other small things that add up to a few hours, going to the bathroom, responding to people on WhatsApp, cooking, etc.
Are you really good at managing your time and getting started, or do you only focus on work and try not to spend time on hobbies and other activities?
So, you have to put in eight hours of actual work? A usual workday is eight hours, but I'd say most employees probably do less than four hours of actual work every day.
Are you a freelancer or an employee, if you don't mind my asking?
Ask HN: How many hours per day are you working?
If you are tracking your time, how many hours of focused work are you doing per day on average?What I mean with focused work is only the time that you are working. Not counting the time you take a break, not counting the time you go to the bathroom, not counting the time you get up to drink water, etc. If you don't stop your time-tracker during non-work activities, please mention it.