37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
Certificates are definitely the weak spot here, as many of them already have a poor track record regarding security so probably poor spines too. Certificates requires central authority somewhere in the chain, and if they don't let you in, you don't stand a chance. Self-signed certificates are not gonna fly for most parts, unless you teach people to self-validate certificates with out-of-band ones.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Sure, but it's not easy. You'd have to run content-scripts from some browser extension that polyfills the APIs you want to get rid of. But disabling XHR/fetch/others won't stop your browser from being able to make requests. CSS can make requests (like when you provide custom font paths, or images), HTML can also make requests (<img> and <iframe> elements comes to mind). Without those, we don't have a web anymore, we have a document storage without links to other resources.
CSS cannot be used as an external API as much as HTML cannot be used as an API. The trick the author is talking about under "CSS as an API" assumes that JS is activated, otherwise you can't really do anything dynamic with the data. And if you're not doing something dynamic (like you wanna display some text in :content under a :before element), you can just set it in the HTML response instead of in the CSS response.
I'm not saying that disabling JS by default is bad (I do so myself, enabling it only for trusted sites). I'm just pointing out that disabling CSS is not gonna give you any additional benefits. As long as you're in the browser, a HTML page can make requests for you, even if you have CSS disabled.
comment 5y ago · link · parent
The only issue I can think of is mixing code/data with styling information. Otherwise there is no "issue" per se.
> What does this circumvent that cannot be done with pure JS?
Nothing, it is just JS after all, and the idea that you can store data in other things than JS variables is not new (jQuery days we stored data in various attributes in the DOM to keep track of state). You could also store the same data in <title/> tag and get the same results. Not sure what the use case is, except it's a fun little hack.
Maybe this will spawn some new JS framework, nothing would surprise me anymore.
comment 5y ago · link · parent
Except for enjoying a web without styles, there is no reason to disable CSS (together with disabling JS). You're not gonna prevent any more JS fudgery by having JS and CSS disabled compared to just JS disabled.
comment 5y ago · link · parent
It's really hard to start a service from 0 and get users to join the platform when it's new. Imagine then that there is no way for users to try out the platform before subscribing to it, uptake will be even lower.
You don't have to reply to every chat and communication channel, especially if it's clear that you've already tried to help the user and it's not enough for them. Ignoring is a powerful tool many forget.
comment 5y ago · link · parent
US law always seemed strange to me but why is discussions around violence and murder not covered under free speech? The countries that take free speech seriously allow you to freely speak about anything, as long as you don't break the law (inciting violence for example). Seems strange US would be so far behind on this but still see themselves as last bastion of free speech.
comment 5y ago · link · parent
Is not hard to imagine that they are getting rid of Cookies because they now have other ways of getting the data, and getting rid of Cookies would make things harder for competitors that don't own the full pipeline.
Even with that, I'm sure that the engineers working on Chromium/Google Chrome are being told that they are removing Cookies for the greater good and don't have insights into the longer pipeline that we're now seeing the middle off.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
> If posting for assistance please provide your case number in your post. Moderators will only respond to PMs that have been requested in a post, and unsolicited DMs to individual moderators and chat requests will not receive a response.
Maybe if you try to create a normal post, you can get help faster.
comment 5y ago · link · parent
Many of us agree with that, hence it would be preferable that cryptocurrencies were the standard, not country-currencies. In the grand scheme of things, Bitcoin ends up being more resistant and durable than the many ledgers each country runs themselves.
Or in other words, if you trust in Bitcoin, use it directly, not via Coinbase. As peter_d_sherman said: "currency is only as good as the underlying network"
For example, what would happen to the Turkish lira if the Central Bank of the Republic of Turkey burned down and somehow couldn't restore data from backups? With Bitcoin and others, the risk is much lower from central failure. Although individual failure risk is much higher. Tradeoffs.
comment 5y ago · link · parent
comment 5y ago · link · parent
And while it's true that you don't strictly need a server for signalling, most people would expect a library called PeerJS to work P2P over the internet, without requirements to have a speaker/microphone and also without having to be within speaker/microphone range.
comment 5y ago · link · parent
comment 5y ago · link · parent
But afterwards I started thinking, is it possible to store is doing this on purpose, in order to ex-filtrate data via the WiFi connection? They wouldn't get more than the hostname if it's over https, but who knows what more kind of data they could get from it. They could also block websites of competitors and blame the internet, and prevent consumers from comparing themselves.
Or I'm just a conspiracy-nut lite, but it wouldn't surprise me a lot if it was like that.
comment 5y ago · link · parent
If you're looking to do "pure" P2P in the browser, we're not there yet as we cannot accept incoming connections without something in between right now.
comment 5y ago · link · parent
But, seems that at least in the TechEmpower framework benchmarks, es4x (JS) ends up on position 9 while the closest PHP framework ends up at 13. Now it's just a small benchmark with specific tests, but I do think it's easier to make NodeJS handle large amount of requests than PHP. Although again, you can definitely do large amounts of requests with PHP too. I've spent about 5 years on each, found that getting good performance out of V8 is easier than out of PHP.