HNHacker News
TopNewBestAskShowJobs

chrismmay

42 karma · joined November 27, 2019

submissionscomments
chrismmay··on My Business Card Runs Linux
Very cool project! It would be neat to incorporate WiFi into the next version instead of USB. Then you could publish a mobile app to communicate with it. It would be fun to play with at parties. https://www.gridconnect.com/products/esp8266ex-tiny-wireless... .
chrismmay··on What we know about you when you click on this article
The Web can be a dangerous place, much like the rest of the world. Never heard of uMatrix before. It looks interesting. Thanks.
chrismmay··on What we know about you when you click on this article
I agree with you. I think the down-voting that goes on here is basically group-speak censorship and creates an echo-chamber. Tyranny of the majority...
chrismmay··on What we know about you when you click on this article
Yeah, privacy.net isn't that great. It was the first one I found. I found a few others that take different approaches.

https://webbrowsertools.com/privacy-test/ https://panopticlick.eff.org/ https://tenta.com/test/ https://dnsleaktest.com/

This page has lots good info on this topic. https://browserleaks.com/

chrismmay··on What we know about you when you click on this article
I think you would miss out on about 90% of what the web has to offer if you simply disable Javascript. A bit like saying you should never use a bank or credit cards and do everything with cash. Javascript is one of the most popular programming languages these days. This forum is full of programmers, so it's not surprising you get downvoted for recommending that people disable Javascript.
chrismmay··on What we know about you when you click on this article
I use Brave and OpenVPN on a cloud server. I tested my privacy with this https://privacy.net/analyzer/ ... Strangely, it said I was logged in to twitter, facebook and reddit when I'm not logged in to any of them. I don't even have a twitter account.
chrismmay··on What Happened to Software Development?
I hope younger devs keep in mind that one day you will be the "old" one.
chrismmay··on User Agent Changes
We are... but they report the UserAgent properly (sort of). Here's an example:

Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148

chrismmay··on User Agent Changes
You have me there on the "who" bit. I admit I have also been guilty on occasion of doing whatever is necessary as a client to get a server to respond.

My point is that if we are going to try to fix it, we should address the problem, not mask it or throw up our hands and just set the UA to some silly constant. The information is helpful in troubleshooting issues and avoids people having to ask the inevitable "what browser/device are you using?" and also helps to allocate resources when testing. I honestly don't know what we would do as software developers and testers without somewhat accurate UA information.

Maybe where we are right now is the best we can do. You can pretend to be Chrome and most of the major devices/clients will report their UA accurately, but if everyone did what you are claiming is your right to do, we would not have a viable ecosystem.

chrismmay··on User Agent Changes
I agree, making laws about it shouldn't be necessary. The context of this discussion is that applications should not flatly refuse to service UA clients who are not the biggest 3 or 4 players. A better solution would be to require servers to service all clients, but if an unknown or unexpected client is detected, the server's response should include a compatibility warning. Server-side software makers are simply trying to limit the amount of testing they need to do to provide a reliable system. Client-side software makers, by lying about who they are, are trying to do the exact same thing. The problem is that these two actions result in an outcome that achieves neither server nor client's goals, and there's the rub.

You are arguing that it should be ok for your software to lie about who/what it is. If we go down that road, we end up with chaos. Software misreporting who/what it is so a server that will think it is a compatible system and agree respond, when it might otherwise refuse.

fraud n. A deception practiced in order to induce another to give up possession of property or surrender a right. n. A piece of trickery; a trick.

Personally, despite the obviously good intention to provide a reliably working software system, I think building a software system that systematically lies when reporting who/what it is is worse than a one-off lie to a customer support person on a phone call.

Surely there is a solution that does not involve deception.

chrismmay··on User Agent Changes
You are absolutely right, but don't expect apps to work, and if you report a problem to an app maker, you can expect the response "Sorry we cannot reproduce your problem. Everything works fine for us with browser XXX", or possibly "Sorry we cannot find logs for your device XXX" because you are falsely reporting your device in the UA, but telling them in your communication about the problem something different.
chrismmay··on User Agent Changes
We do support iOS 11. The client being on iOS 11 is an indication that the device has run our of storage space. Because it was out of storage, the files for our app were truncated because there was insufficient storage. A truncated file is there but it's corrupt. iOS doesn't detect this corruption, and the app is broken. Forever, and it can't be fixed without a factory reset, complete reinstall of the OS or somehow jailbreaking the device as far as I know. The customer reporting "stuck on a blank screen" and the User Agent being stuck on iOS 11, even when most people have automatic updates enabled are the primary indications that leads to this conclusion.
chrismmay··on User Agent Changes
Say for instance, all clients claimed to be Chrome. This would skew analytics towards Chrome, and would clearly benefit Google. If this activity did not benefit Google, Google would fight this activity, presumably on the grounds that other companies are producing a product that claims to be their product when it is not. Since it benefits Google, Google is not compelled to fight this misrepresentation. I argue that Google is evil for allowing this to happen, and that the US government (FTC) should intervene in this area where possible, on anti-trust grounds.
chrismmay··on User Agent Changes
This is a webview embedded in a native app that we don't control, not a web browser. No, clearing the cache in Safari doesn't help. This stackoverflow https://stackoverflow.com/questions/5468553/clearing-uiwebvi... says you can write some native code to clear the cache, but we don't control the native app, we control the web app that runs in the webview. We will report the problem to the native app developer, but hopefully the user can just free-up space and upgrade their iOS in the meantime.
chrismmay··on User Agent Changes
I have seen a few cases where users complain that our mobile app (which runs in a webview inside a native app) doesn't work for them. When we look in the server logs, we find a user agent string that indicates a user is running iOS 11.4.1. My theory is that the older version indicates that the client's mobile device has run out of storage space. The device can't download the update to iOS 13.x since there is insufficient storage available on the device.

Even if the user frees-up some space on their device, not enough to upgrade to iOS 13.x, but enough to run our app theoretically, our app still fails to run for them. Uninstalling and reinstalling the native app that contains the webview that runs our web app doesn't solve the problem either. My theory is that there are truncated versions of some of our javascript files left over from when the device ran out of storage that don't get re-downloaded even when storage is later made available....

I've been telling people to free-up space on their device and upgrade it to iOS 13 to fix the problem. I sure hope that works...

If all user agents become a fixed string, how on god's green earth will we troubleshoot problems reported by users? I sure hope we get another header that will tell us the real client platform information so we can eventually repeat this exercise after another few years...

This scenario is complicated, but my point is really that of course we need a User Agent to accurately tell what platform the client is running for entirely legitimate reasons and mega corporations should not do patently evil things to make the lives of developers and support people even more frustrating than they already are. There should be laws against things like this. It really is fraud to change something like the User Agent string to a constant value that is incorrect, and it WILL lead to damaging events in real people's lives if it happens. People could be fired for being led down the wrong investigative path when troubleshooting problems. From the article, it sounds like significant damage has already been done.

← PreviousPage 3 of 3