HNHacker News
TopNewBestAskShowJobs

jasonshaev

172 karma · joined September 9, 2016

submissionscomments
jasonshaev··on Presidio: Customizable data protection and PII data anonymization service
For the specific example cited (credit card numbers) the Luhn check is very standard. So, no there isn't :)
jasonshaev··on Virtual DOM is pure overhead (2018)
I don't understand what this has to do with React. You are sending 2MB of data to the frontend. Can you paginate it? Request a subset?

If you are fetching data from multiple endpoints and waiting to render anything until ALL of them come back, that has nothing to do with React. You can start rendering the components that already have their data as soon as it comes back, not wait for all of the other components to have fetched.

jasonshaev··on Be Careful with UUID or GUID as Primary Keys
Sure, not a bad idea :)

That being said, I can still extract information. For example, I can create a user today, and then another user a week from today. From that information I can extract how many new users a service adds in a week.

To avoid that, I can increment by a value other than one, but that might make sharding harder unless I pick a number like 10, 1000, etc. (of course depending on sharding strategy), which is probably easy to figure out.

I guess my point is that it's harder to avoid leaking information with auto incrementing IDs. This may or may not matter depending on the use case.

jasonshaev··on Be Careful with UUID or GUID as Primary Keys
Auto-incrementing IDs also leak information. For example, if a service uses an auto-incrementing customer_id column and I'm assigned customer_id 12345, I know there are a maximum of 12344 other customers (making a few assumptions). This information is potentially useful for competitors.
← PreviousPage 3 of 3