For future me: https://github.com/Shopify/toxiproxy
It's infuriating how many smartphone apps will show you a screen full of the information you need while online, and then when they lose internet connectivity due to a dead spot in cell coverage, yank it away leaving you staring at a blank screen with a spinning progress indicator.
It's also infuriating how so many apps are completely, totally non-functional if they don't have internet, if only because they're not actually a native smartphone app, but a website being run in gussied up web browser instance.
Me: I’m on a plane (with no data), good opportunity to go through all my open tabs of articles I haven’t read yet.
Browser: great time to try refreshing the page!
https://superuser.com/questions/214132/simple-way-for-browsi...
Private companies issue is that people with slow internet or no internet are not customers for them. It costs loads of money to implement decent offline experience for a web app and there is no one to pay for it.
I found many things that I wanted to do infinitely more frustrating on a spotty connection, then on no connection.
> I can’t seem to emulate the connection dropout, but the 10% packet loss should be harsh enough. ... Still, it’s Bad Enough.)
The total dropout is surprisingly bad, probably because it kills a lot of "are we alive?" checks... then when things come back, they all hammer the crappy link and everything just dies in a way that all too often doesn't recover.
Seriously, more developers need to eat their own dogfood on the subway, or in the back of a grocery store that's surprisingly well RF-shielded, or in a modern steel-reinforced-concrete building but without WiFi (so you're on cellular data which can't quite make it through the building skin), or....
It's an extremely common requirement for public safety applications, such as blue force tracking and PTT voice for the application to be able to use either depending on what's available at that moment.
Side node: It’s Xcode (lowercase c).
(Edited to put the Xcode note last.)
BTW, it's "Additional Tools for Xcode", without the final dot (sorry I couldn't resist) :-)
It irks computer programmers, I guess, but people used to do this for aesthetic reasons for books.
I wouldn't go so far with the 'should'. The recommendation only really applies when you are typesetting a book (specifically a novel) or something like that. Text on the web is still so ugly, that isolated demands for aesthetics seem a bit misguided.
Regarding the missing dot for your final sentence it’s alright; the smiley can sometimes be considered a replacement for it.
I test for these things. Developer Tools lets you see how your website performs on such connections, and how long it takes to get a usable page.
South sweden this almost never happens, here in north Sweden in can happen that you drop down to 2G and can only do SMS but then you really have to go deep into the forests. Up in the mountains you will lose connection completely though. Especially now when they shut down the older networks that has longer reach.
On Android, falling back to EDGE/EGPRS makes Discord just not work at all. I get it - downloading profile pictures and media is something you cannot realistically expect, but being able to receive notifications and text content on currently selected channel is a problem that should have been solved way before $current_year.
> If you want to test services running on localhost, replace enp3s0 with lo. Though some other programs on your system may Not Like It if localhost is slow, so do that at your own risk :3 (Be sure to replace enp3s0 with lo on the undo script!)
In reality, lo will hate to be slow, esp. any application working through local network sockets (cough X11 cough). I experienced this in the olden times of Fedora 4. Somehow I (or a bug) managed to route local network sockets through my eth0. The more load the card has, the slower the X11 applications were. Esp. during launch.
I had to add another card and use it for external traffic, leaving eth0 free.