Live data from Hacker News

Apparently CodePen 2.0 sends data to their servers as you type

news.ycombinator.com

11–20 of 69 posts

Re: Apparently CodePen 2.0 sends data to their servers as you type

#13
post #3

Sent to them to render the preview pane. Same as pasting secrets anywhere on a browser. Wait until you find out copying content on a computer might sent it over Wi-Fi/Bluetooth for sharing on other devices.

Yes, that is for rendering Edit: and as "kypro" pointed out also for saving the current work but if you you quit (or crash) without saving the pen there is no way to recover unsaved work regardless

Re: Apparently CodePen 2.0 sends data to their servers as you type

#17
post #4

You're gonna be shocked how many input fields do this for various UX features :)

Shopify does this. If you ever go to purchase a product on a Shopify 'site, and enter eg your e-mail address, it'll save it even if you decide to cancel and close the tab. Sometimes you receive spam from companies along the lines of marketing or "we noticed you didn't complete your purchase" type crap. Shit is rly invasive.

Re: Apparently CodePen 2.0 sends data to their servers as you type

#19
post #2

because this is how autocomplete logic works i guess? Frontend cannot guess language and completions for you

Well, except for the cases when you happen to have the entire VM for your language running in the same tab where you program lives, and they both are all JS. Probably harder, and wouldn't work equally well for everyone, but it would be possible to have "guess language and autocomplete" entirely client-side, especially when it comes to JavaScript of all languages.

It seems like the main disadvantage would be that you have to load all the autocomplete data / model weights on the client-side and your webpage might be CPU/memory limited

Re: Apparently CodePen 2.0 sends data to their servers as you type

#20
Look into https://www.fullstory.com/ , many major websites use this, it's basically a real-time video view of the user's browser screen. You can see where they move their mouse, how quickly they are typing, each character one at a time.

I worked for a company that would have phone support for users, and we'd be watching their screens giving gentle suggestions to them as they were using our app for how to do what they needed to do. We never offered up what we were doing, but given users' poor descriptions of what they were doing, FullStory was an amazing customer service tool.

Post reply on HN