4 ms·
I'm not into web "programming", but do people really have to abndon binary data storage these days? I think compressing more informaiton produces still more inf
by IYasha 4y ago
I'm not into web "programming", but do people really have to abndon binary data storage these days? I think compressing more informaiton produces still more information. While JSON is by no means as heavy as, for example, XML, it's far heavier than just array of int graph[x][y];
- recursive 4y agoTo put it into a url, you'll still need to serialize to text, even if the underlying data is binary.
- IYasha 4y agoyup. data > gzip > UU/B64/URL-encode > text.
- misnome 4y agoA colleague has been tasked with writing a remote image viewer. It’s slower than before (running on the same machine) “because it’s client-server”. Naturally, the 16 Megapixel images are sent as an array of json floats…
- secondcoming 4y agoUnless it's still at a proof-of-concept stage, that person is out of their depth.
- misnome 4y agoYes, yes they are. Unfortunately this is dysfunctional academia, so as long as the people paying the bills (who know nothing about building software) like them, they remain at this depth. Extra fun fact: Two years into the project, they hadn't heard of REST. Then rejected it, because, I quote, "The S means stateless and [they] need the server to store state"
- Zamicol 4y agoAt work we have two api endpoints. One for JSON and the other for binary.
- nonethewiser 4y ago> I'm not into web "programming" Elaborate
- IYasha 4y agoI write performance-critical code where it is normal to count bits, not just bytes, and keep track of number of instructions generated by your code. The whole web thing where people shove everything into a browser is just weird to me.
- wildrhythms 4y agoWhat's weird about passing an application state back and forth in a serialized format? Surely your counting bits example can be extrapolated to make sense of that.