HNHacker News
TopNewBestAskShowJobs

ekseda

55 karma · joined March 4, 2020

submissionscomments
ekseda··on Testing in production: using JSON Schema for 3rd party API response validation
Json schema validation is cpu expensive in nodejs, so you do not want it in production for every request. We made a proxy [1] that only allows requests that are conform to the swagger json which is easy to hook between frontend and backend in dev-mode

[1] https://github.com/EXXETA/openapi-cop

ekseda··on Supabase (YC S20) – An open source Firebase alternative
Can supabase be used with the offline-first approach like horizon, RxDB etc. or does it require an ongoing connection to the server?
ekseda··on Supabase (YC S20) – An open source Firebase alternative
I wrote a master thesis where I compared several realtime database products. I promise you amplify is no where "getting there". It is a crippled version of firebase and there is no fix in sight. For example you cannot even do sort-queries with datastore or Amplify is not working with angular because they have broken typings since 9 months with no fix. And the list goes on..
ekseda··on Test Your JavaScript Knowledge
I do not understand this post.
ekseda··on OrbitDB: Peer-to-peer databases for the decentralized web
No this is not readable. You can write readable old school javascript, but just try to tell me what this line does: https://github.com/amark/gun/blob/master/src/type.js#L111
ekseda··on OrbitDB: Peer-to-peer databases for the decentralized web
Yes sorry for not doing this. In the source code folder, please open any random file and try to understand what the code does.

I once tried to fix a bug that I found in GUN but I gave up after just trying to figure out what the code is supposed to do.

ekseda··on OrbitDB: Peer-to-peer databases for the decentralized web
Another one is that the source code of OrbitDB is not completely obfuscated.
ekseda··on An OpenAPI proxy that only allows data that matches your swagger.json
Check out the readme. There are many erros that can only be catched by validation and not by parsing.