-1 karma · joined Feb 11, 2020 (6y ago) · 21 submissions
comment 6y ago · link · parent
what I've learnt throughout many years of coding is that purest mantra one should follow is YAGNI. devs think like devs and strive for perfect code. but that goes directly against the business. the majority of the entire world is being run on really bad code. but that bad code works. and that is what is important.
in a way, you should treat things like blackboxes with strict interfaces. no one should care how the box works, as long as its interface works like it is supposed to.
PS: the dangers of DRY are introduction of deep dependencies that might, and probably will, bite you in the ass along the way. DRY should be used only for libraries, not for business logic - ever.
comment 6y ago · link · parent
then, when you are parsing the events(hydrating or replaying) you just check the schema version in the envelope and handle the changes/payload accordingly.
it's actually very trivial once you put it all together.
comment 6y ago · link · parent
facebook is the same but due to its nature it does it only via its social sharing widgets that people put on their websites and the embedded comments and things like that.
google's cdn is the most dangerous of these things.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
you can get your subscriptions via https://www.youtube.com/subscription_manager
15.
Ask HN: YouTube Scubscriptions with No Account?
1 points · by fsajkdnjk · 6y ago · 2 comments
comment 6y ago · link · parent
though one thing i began working on was my own map tile rendering. i had a free provider(since google and others are insanely expensive for this specific type of project) but i wanted to make my own, for fun. and recently i quit working on a one of my big projects so with a ton of free time on my hands i am thinking of trying again and relaunching the project.
comment 6y ago · link · parent
comment 6y ago · link · parent
I do that now in my event-sourced application with stupid simple mysql. It is trivial to implement such functionality into the app layer and not into the storage where you are limited by the third party sw itself.
comment 6y ago · link · parent
also, still not having custom search engines via keywords in the url bar, like chrome, is so lame.
20.
Ask HN: How to disrupt the payment card industry?
7 points · by fsajkdnjk · 6y ago · 9 comments