News for hackers. Stuff that matters.
Re:Show HN: Make a business model canvas in your browser by realPubkey on Tuesday July 31, 2018 @09:34AM (#17652981)
The whole state json-stringified and then stored as base64 in the localstorage. Looks like a valid solution for that amount of data.
Re:Show HN: Make a business model canvas in your browser by TeMPOraL on Tuesday July 31, 2018 @09:52AM (#17653098)
I think the question should be restated as: how do you save to a file and load from a file? The use of localStorage means you can only have one version of a canvas per browser/device pair.
Re:Show HN: Make a business model canvas in your browser by todd3834 on Tuesday July 31, 2018 @10:09AM (#17653234)
Maybe not ideal but you _could_ use the browser inspector and copy the data from local storage and send it around manually. Not suggesting this is a workable solution but if you just needed to get it off one computer to another.
Re:Show HN: Make a business model canvas in your browser by numbsafari on Tuesday July 31, 2018 @10:15AM (#17653283)
Create a gist and support loading from a gist URL?

It's shareable between devices and people, and even editable if you pretty-print the JSON, rather than base64 encoding it.

I would probably support both options.

https://developer.github.com/v3/gists/#create-a-gist

Re:Show HN: Make a business model canvas in your browser by sleepychu on Tuesday July 31, 2018 @10:47AM (#17653577)
put my contact info in a public gist and say goodbye to me as a business partner.
Re:Show HN: Make a business model canvas in your browser by numbsafari on Tuesday July 31, 2018 @01:09PM (#17654939)
Yeah, good point.

You can make the gist non-public by default (set public=false), and perhaps gists are the wrong tool, but something akin to gists seem like a good way to do something like this. I know Dave Winer was using the DropBox API in this way for some of his outlining tools.

But your point is well made, one of the downsides of the "web" as a platform is that it's hard to know what happens with the data you save to a random web application. I've had experience with product managers loading entire customer lists of emails into random "email validation tool"s, which were clearly just honeypots for foolish people's data.

Re:Show HN: Make a business model canvas in your browser by Gcam on Tuesday July 31, 2018 @10:14AM (#17653279)
Could just offer downloading the data as JSON in a file as well as having it in local storage?
Re:Show HN: Make a business model canvas in your browser by pspeter3 on Tuesday July 31, 2018 @11:15AM (#17653814)
Why convert to Base64?
Re:Show HN: Make a business model canvas in your browser by sbussard on Tuesday July 31, 2018 @05:07PM (#17657150)
It seemed easier to deal with / parse out of local storage. Maybe it wasn't 100% necessary. It looks like it's caused bugs for non-latin characters.
Re:Show HN: Make a business model canvas in your browser by pspeter3 on Tuesday July 31, 2018 @06:42PM (#17657943)
Do you have a link to the bugs? I had never seen that before.
Re:Show HN: Make a business model canvas in your browser by sbussard on Tuesday July 31, 2018 @07:39PM (#17658314)
Re:Show HN: Make a business model canvas in your browser by sbussard on Thursday August 02, 2018 @11:19PM (#17677082)
Re:Show HN: Make a business model canvas in your browser by ibrault on Tuesday July 31, 2018 @11:18AM (#17653852)
To save on bandwidth and storage, I would guess
Re:Show HN: Make a business model canvas in your browser by rounce on Tuesday July 31, 2018 @11:31AM (#17653994)
By making it roughly 1/3 larger?
Re:Show HN: Make a business model canvas in your browser by ibrault on Tuesday July 31, 2018 @06:28PM (#17657845)
Oh yikes does it really? Ignore my misinformed comment...
Re:Show HN: Make a business model canvas in your browser by rounce on Wednesday August 01, 2018 @03:13AM (#17660287)