News for hackers. Stuff that matters.
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by klmadfejno on Saturday May 15, 2021 @11:31AM (#27166093)
Perhaps a dumb question but why is offline stressed so much here? Nothing in the underlying tech seems to suggest one should expect it to not work offline?
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by osrec on Saturday May 15, 2021 @12:03PM (#27166387)
Browser based apps generally struggle to function well offline (this is also true of certain native apps, but that's a whole other discussion). Using the PWA "toolbox" you can have in-browser apps stored locally via service workers so that they work without needing to fetch anything via the internet.

It's rather useful, and can provide a much better user experience, especially when you have a patchy network.

Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by tmpz22 on Saturday May 15, 2021 @12:47PM (#27166784)
What’s an example of a large tech product that functions as a PWA that users really love?
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by osrec on Saturday May 15, 2021 @12:57PM (#27166872)
There's Twitter's PWA, which isn't too bad in my opinion.

My product has approx 300k users and is a PWA: https://usebx.com - our users seem to like it :)

Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by dkarp on Saturday May 15, 2021 @02:59PM (#27167902)
If you don’t mind me asking, how does your product make money?
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by osrec on Saturday May 15, 2021 @03:17PM (#27168033)
We have a quota on the number of documents you can create, after which you must subscribe. It's a very generous quota, but we still have a good number of people subscribing.

Our major income comes from larger corporate contracts with medium to large businesses, that deploy our product on-prem. Often these were people who used our SaaS product, liked it, and asked us to deploy it internally for their business. Much less hassle than running a company that's purely SaaS based, and more stable income!

Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by echoradio on Saturday May 15, 2021 @01:08PM (#27166955)
I don’t know if meets the condition of “users really love,” but don’t Google Docs have the capability of functioning as an offline PWA?
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by jononor on Saturday May 15, 2021 @01:10PM (#27166976)
Dunno about "really love" anymore, but gmail?
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by lana-k on Saturday May 15, 2021 @03:38PM (#27168239)
Other users have already explained the technical aspect of PWA (i.e. you can install it and run offline as a desktop app). I just want to add that by offline-first I also mean confidentiality -- your data doesn't leave your device, whether you're offline or not.
Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by aseipp on Saturday May 15, 2021 @12:28PM (#27166613)
You need to use specific browser APIs (Service Workers) in order to support "offline mode" for a webpage, including support when there's no internet at all. This means the page and its content is stored locally for later, separately from normal HTTP caching.

Yes, if you loaded the page once into a tab and then never closed it ever again, then it doesn't matter so much and you could use it if your internet shat out, but in practice people close and then re-open things later under varying network conditions.

Re:Offline-First PWA for Plotly Visualization of CSV via SQLite by EvilEy3 on Saturday May 15, 2021 @11:56AM (#27166335)
Because you don't want your application to become potato on each network hiccup?