Better HN
topnewbestaskshowjobs
Log inSign up

evrimfeyyaz

101 karma · joined Feb 16, 2016 (10y ago) · 71 submissions

Submissions

comment 3y ago · link · parent

I think it's not getting that the friend who has two tokens is the same as the one you owe a token to. When you change the question to make it clearer, it responds correctly.

"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?"

comment 5y ago · link · parent

I personally don't agree with most of the things the article says and that's exactly why I shared it on Hacker News. I was hoping that some smart people with good insights on the topic could respond with rebuttals and I could learn from them. But I guess even on Hacker News people are intolerant towards ideas that they don't "like."

3.

How I Became a Libertarian(cato.org ↗)

25 points · by evrimfeyyaz · 5y ago · 32 comments

comment 5y ago · link · parent

This is a fair point. I wish there was a way to get a visitor's IP without the need to call a server.

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.

5.

Using Google Analytics without GDPR consent(evrim.io ↗)

54 points · by evrimfeyyaz · 5y ago · 113 comments

6.

How to push a view up to avoid the keyboard in React Native(rncasts.com ↗)

1 points · by evrimfeyyaz · 6y ago · discuss

7.

Dismissing (hiding) the keyboard in React Native – RNcasts #6(rncasts.com ↗)

1 points · by evrimfeyyaz · 6y ago · discuss

8.

How to loop inside JSX in React(rncasts.com ↗)

1 points · by evrimfeyyaz · 6y ago · discuss

9.

I'm starting a screencast, and I will share the journey here(rncasts.com ↗)

1 points · by evrimfeyyaz · 6y ago · discuss

comment 6y ago · link · parent

I use Wipr. So far so good.

comment 6y ago · link · parent

I made a web app that visualizes the COVID-19 data: https://covid19.evrim.io

comment 6y ago · link · parent

If you are interested in seeing the source code, the app is open source: https://github.com/evrimfeyyaz/covid-19-in-charts

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

13.

Show HN: Covid-19 in Charts, a web app that visualizes the Covid-19 data(covid19.evrim.io ↗)

1 points · by evrimfeyyaz · 6y ago · 1 comment

comment 6y ago · link · parent

Thanks for the kind words!

> 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.

15.

Ask HN: I made a Covid-19 data visualization app, what else can I add to it?

1 points · by evrimfeyyaz · 6y ago · 2 comments

comment 6y ago · link · parent

I use it on a simple website I built: https://covid19incharts.com

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.

comment 6y ago · link · parent

I agree, this method probably works for a "maker" and not a "manager" (or a person whose job requires them to move between tasks a lot).

comment 6y ago · link · parent

That's really interesting.

- 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?

comment 6y ago · link · parent

This is close to my experience as well. If I want to do anything else that day, such as cook, exercise, relax for an hour, maybe practice the guitar, the maximum I can do is around five hours. For anything above that, I have to be super strict and/or give up other activities.

comment 6y ago · link · parent

I think you meant "6 hours... counting the short breaks." In any case, I think six hours is a good number.

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?

21.

Ask HN: How many hours per day are you working?

8 points · by evrimfeyyaz · 6y ago · 15 comments

22.

Show HN: A JavaScript Library for the Johns Hopkins CSSE Covid-19 Data(github.com ↗)

1 points · by evrimfeyyaz · 6y ago · discuss

23.

Having issues setting goals and sticking with them? I’m working on a solution(indiehackers.com ↗)

1 points · by evrimfeyyaz · 7y ago · discuss

24.

An app that combines time tracking and habit tracking(evrim.io ↗)

1 points · by evrimfeyyaz · 7y ago · discuss

25.

Three apps in three months challenge(medium.com ↗)

1 points · by evrimfeyyaz · 7y ago · discuss

26.

Three apps in three months challenge(evrim.io ↗)

1 points · by evrimfeyyaz · 7y ago · discuss

27.

Show HN: Indie Sumo – Curated list of useful resources for indie developers(producthunt.com ↗)

1 points · by evrimfeyyaz · 7y ago · discuss

28.

Uber buys Careem in $3.1B deal to dominate ride-hailing in Middle East(reuters.com ↗)

2 points · by evrimfeyyaz · 7y ago · discuss

123