378 karma · joined Jul 25, 2012 (14y ago) · 188 submissions
comment 8y ago · link · parent
Now I don't think anyone really uses JWTs for API authentication, or they should not at least. APIs should still be gated by access tokens.
comment 8y ago · link · parent
When moving from 4 to 5, we relied on simple smoke tests and unit tests, and had no major issues or bugs. The biggest effort was to make sure all of the application and environment configurations were up to date and using all the new settings introduced etc.
My very subjective opinion is that either most of these code bases are low on quality (meaning they are harder to maintain in general), too tightly coupled with Rails itself (models stuffed full of logic, instead of using plain ruby objects for logic and keeping ActiveRecord for persistence level logic), or engineers are just too scared to make changes to the codebase - which again is perhaps a combination of bad test coverage and bad code quality.
Either way the stories of upgrading major versions being a huge undertaking always make me scratch my head and wonder what are we doing wrong if its easy for us.
And inb4 someone claims our apps are just small and simple - we run about 12 Rails applications in production in various sizes, about half of them being relatively large.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
Im actually amazed that there are people today who think this is a good idea and want to go back to it. Seriously what?
comment 8y ago · link · parent
Combine this with for example strong proof via blockchain about who used to check your info and from where, and you are at a pretty good spot. Note that Estonia does not do that last part just yet.
As for the US, the chances of having a national ID card along with similar infrastructure are slim to none. So don't hold your breath about major changes any time soon. The best best would be to get closer to something like the above solution via private companies or maybe the credit bureaus themselves (once they are force to change their business model from aggregating and selling data without your consent).
comment 8y ago · link · parent
Estonia literally needs to make amendments to their constitution for this to work, yet they refuse to believe it yet. They also need to create actual incentives for people to create their company in Estonia (labour related taxes as pretty high there), as well as work out all the remote banking related issues (banks not wanting to open accounts unless you show up in-person).
comment 9y ago · link · parent
Thats how it should be done, except in the US there is no way to check against a national database of IDs, not even on the state level with DMVs. You literally trust the plastic card the person shows you and thats where the problems start. Online its even worse.