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
> main disadvantage would be that you have to load all the autocomplete data / model weights on the client-side
Not sure what "model weights" you're talking about, but yes, that is the trade-off. Although complete autocomplete data for the entirely of the JavaScript APIs would be what, in an efficient format, easily below 1MB at least.
yes it can. all you need are some tokenizers for the languages you want to guess and once you derived the language, a few lookup tables to store variable name references in :)
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
HotJar and similar services are (were?) popular as well, and those record your mouse pointer movements and clicks as well, then displays that as an overlay over the application, so it's essentially a "screen recording" of your session of the application.
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.
They can only send the marketing emails if you have the "send me marketing emails" checkbox checked when you type in your email address. Dark pattern, yeah.
That has never stopped companies from spamming me with marketing even when I didn't agree or even explicitly disagreed (unchecked). Not a single company has been or ever will be held accountable so they just keep doing it.
Shopify 's "abandoned cart" emails are legally considered transactional emails, not marketing, which is probably what you're getting. It's a feature built in to Shopify. If the email isn't related to your abandoned cart contents, you can report it to Shopify. Shopify will investigate reports of abuse and eventually will terminate a store account for blatant abuse.
Isn't the email at the top of the form and the marketing checkbox at the bottom? It's an awful dark pattern and makes me want to not use any company that uses shopify.
They require your full address to show you shipping prices as well (vs just letting you estimate with country and postal code alone), so I have to punch in a ton of details before I nope out at awful shipping costs, and I end up with these emails.
i made my own html playground that is browser only and shares preview via url hash because of these useless shenanigans of codepen, its not as featureful but i mostly use it for sharing single page html files
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.
Something like this would've been incredibly useful at my previous job - we often had to put together how a user triggered an issue using a combination of logs and analytics to track what actions they took..
Elastic has something like this too, as does Splunk iirc. Idk how all three compare I just know they can track DOM events type of stuff and recreate a flow video.
CodePen does not disclose this in neither ToS nor in Privacy Policy, only in Builds documentation they say: “As you work on CodePen, your Pens are constantly running through the CodePen Compiler”
I take no opinion on whether this is good or bad, but I can see how from a UX perspective it's nice not to lose 10 minutes of work because your browser crashes or something.
Yes, absolutely, there are good reasons for that. The point is that any secrets typed/pasted in there should be considered compromized
Edit: but then if you you quit (or crash) without saving the pen first there is no way to recover unsaved work regardless. That is, the pen must be saved manually at least once for the user to benefit from the autosave.
Pretty sure it always autosaved so this makes sense to me? I always assume it would send my data over to their backend, its code that ends up there regardless?
I don't know why anyone would paste or type secrets into codepen which is public by default... But it always seemed like it auto-saved / sent your code over to the back-end, going back ten years roughly?
It's also a foolish thing to do. Any time anyone types anything into anywhere on any webpage, that data is as good as gone, it's out there. Back in the 90's I experimented with per-character logging on all form input boxes, just because I could. That's still possible today.
Reddit does this. Every keystroke you type into a comment box is sent back to them. So, that means even if you decided to cancel posting something, they still receive what you wrote. I have been known to write responses that were harsh and angry, and I simply don't send. Sometimes it's therapy for me to think through something while typing whatever is in my head. Then I go back and edit once I have have thought it through. I don't want that info sent back. So, I tend to not involve myself with much online anymore. I don't want to expose myself to the thought police.
I find the browser the most unsafe piece of tech deployed.
keepo404 | 21 hours ago
embedding-shape | 21 hours ago
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.
odo1242 | 19 hours ago
embedding-shape | 19 hours ago
Not sure what "model weights" you're talking about, but yes, that is the trade-off. Although complete autocomplete data for the entirely of the JavaScript APIs would be what, in an efficient format, easily below 1MB at least.
mkgiga | 12 hours ago
[OP] maxim-fin | 20 hours ago
giancarlostoro | 18 hours ago
mkgiga | 11 hours ago
bashy | 21 hours ago
Wait until you find out copying content on a computer might sent it over Wi-Fi/Bluetooth for sharing on other devices.
[OP] maxim-fin | 20 hours ago
tvink | 21 hours ago
embedding-shape | 21 hours ago
[OP] maxim-fin | 19 hours ago
glub | 19 hours ago
crisnoble | 13 hours ago
nusl | 20 hours ago
Boss0565 | 19 hours ago
masfuerte | 19 hours ago
weezing | 19 hours ago
davidmurdoch | 18 hours ago
xingped | 15 hours ago
davidmurdoch | 14 hours ago
aveao | 14 hours ago
They require your full address to show you shipping prices as well (vs just letting you estimate with country and postal code alone), so I have to punch in a ton of details before I nope out at awful shipping costs, and I end up with these emails.
davidmurdoch | 14 hours ago
You're probably getting the "abandon cart" emails, which is legally considered a "transactional email", and doesn't require consent.
[OP] maxim-fin | 19 hours ago
Edit: accidantlay -> accidentally
pdyc | 21 hours ago
https://easyanalytica.com/tools/html-playground/
cph123 | 21 hours ago
nseskin | 21 hours ago
[OP] maxim-fin | 19 hours ago
midnitewarrior | 19 hours ago
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.
VoidWhisperer | 19 hours ago
[OP] maxim-fin | 19 hours ago
giancarlostoro | 18 hours ago
[OP] maxim-fin | 19 hours ago
kypro | 19 hours ago
I take no opinion on whether this is good or bad, but I can see how from a UX perspective it's nice not to lose 10 minutes of work because your browser crashes or something.
[OP] maxim-fin | 19 hours ago
Edit: but then if you you quit (or crash) without saving the pen first there is no way to recover unsaved work regardless. That is, the pen must be saved manually at least once for the user to benefit from the autosave.
phyzome | 16 hours ago
mkgiga | 12 hours ago
giancarlostoro | 18 hours ago
[OP] maxim-fin | 18 hours ago
Edit: The point is that any secrets typed/pasted in there should be considered compromized
giancarlostoro | 17 hours ago
traviswingo | 17 hours ago
That flow would be considered unsafe, and probably common.
[OP] maxim-fin | 17 hours ago
giancarlostoro | 17 hours ago
leptons | 14 hours ago
quietraster | 15 hours ago
aveao | 14 hours ago
[OP] maxim-fin | 14 hours ago
mkgiga | 12 hours ago
Actually never mind, you aren't sending them private information anyway so it's not a privacy concern in the first place.
dbushell | 14 hours ago
millerm | 14 hours ago
I find the browser the most unsafe piece of tech deployed.
c-hendricks | 14 hours ago
mkgiga | 12 hours ago