News for hackers. Stuff that matters.
Re:Jsonhero.io: Enhanced JSON structure visualization by naan_bread on Tuesday November 29, 2022 @03:56AM (#33785212)
I agree.

My tool flatterer: https://lite.flatterer.dev/ converts deeply nested JSON to csv/xlsx, is done in web assembly in the browser.

It hard to prove that it is not sending data to a server, so it can be trusted. I know people could check dev tools but that is error prone and some users may not be able to do it.

I wish there was an easy way to prove this to users as it would make online tools like this much more attractive.

Re:Jsonhero.io: Enhanced JSON structure visualization by alpaca128 on Tuesday November 29, 2022 @05:37AM (#33785878)
Would be nice to have the option to switch tabs into offline mode, just like we can mute them.
Re:Jsonhero.io: Enhanced JSON structure visualization by informalo on Tuesday November 29, 2022 @06:39AM (#33786302)
You can do that with Chrome dev tools: Network -> No throttling -> Offline

Don't know how reliable this is though or whether a web developer could work around this.

Re:Jsonhero.io: Enhanced JSON structure visualization by remram on Tuesday November 29, 2022 @10:51AM (#33789056)
It could be storing data and send it later when you visit the same origin from a different tab.

Unless you were also using incognito or throwaway tab containers to discard stored data.

Re:Jsonhero.io: Enhanced JSON structure visualization by informalo on Tuesday November 29, 2022 @04:17PM (#33793440)
Good point, thanks.
Re:Jsonhero.io: Enhanced JSON structure visualization by jspash on Tuesday November 29, 2022 @06:28AM (#33786212)
Turn off wifi? Unplug the ethernet cable? Try it from my garden shed where there never seems to be connectivity no matter what I try.
Re:Jsonhero.io: Enhanced JSON structure visualization by ljw1004 on Tuesday November 29, 2022 @08:56PM (#33795963)
I think there is an easy way to prove this to users. Make your thing be a single page self contained html file which they save into the hard disk. Then they can trust the restricted permissions with which chrome runs such local files.

If you have a tech savvy audience they can also view your thing in an iframe with only sandbox="allow-scripts" to prove that it's not making network requests.

I wrote an html/js log viewer with those security models https://GitHub.com/ljw1004/seaoflogs - it handles up to 10kline log files decently, all locally.