In other news a screen recorder app is a 250MB (presumably compressed) download...
A single line of code cost $8000
71–80 of 423 posts
Re: A single line of code cost $8000
#72Earlier quoted context omitted.
whyyy does wikipedia not redirect mobile links to the desktop website when you have a desktop UA?
Because people on desktops asking for the mobile site should be able to view the mobile site. The url specifically asks Wikipedia to serve the mobile site.
Re: A single line of code cost $8000
#73> Screen Studio is a screen recorder for macOS. It is desktop app. It means we need some auto-updater to allow users to install the latest app version easily. No, it doesn't mean that. Auto updater introduced series of bad outcomes. - Downloading update without consent, causing traffic for client. - Not only that, the download keeps repeating itself every 5 minutes? You did at least detect whether user is on metered…
Does the app store handle staged rollouts? That was a thing I thought was missing from this writeup. Ideally you only roll up the update to a small percent of users. You then check to see if anything broke (no idea how long to wait, 1 day?). Then you increase the percent a little more (say, 1% to 5%) and wait a day again and check. Finally you update everyone (who has updates on)
Re: A single line of code cost $8000
#74Re: A single line of code cost $8000
#75Re: A single line of code cost $8000
#76Seriously this alone makes me question everything about this app.
Re: A single line of code cost $8000
#77Bugs are great chances to learn. What might be fun is figuring out all the ways this bug could have been avoided. Another way to avoid this problem would have been using a form of “content addressable storage”. For those who are new, this is just a fancy way of saying make sure to store/distribute the hash (ex. Sha256) of what you’re distributing and store it on disk in a way that content can be effectively deduplica…
> out all the ways this bug could have been avoided. The most obvious one is setting up billing alerts. Past a certain level of complexity, you're often better off focusing on mitigation that trying to avoid every instance of a certain kind of error.
Re: A single line of code cost $8000
#78I would also put into question if you _really_ need to check for updates every 5 minutes. Once per startup is already enough, and if you're concerned about users who leave it on for days, it could easily be daily or even less often.
If the update interval had been 1 day+, they probably wouldn't have noticed after one month when they had a 5 minute update check interval.
Re: A single line of code cost $8000
#79I am always kind of a stickler about code reviews. I once had a manager tell me that I should leave more to QA with an offhand comment along the lines of "what is the worst that could happen" to which I replied without missing a beat "We all lose our jobs. We are always one bad line of code away from losing our jobs" The number of times I have caught junior or even experienced devs writing potential PII leaks is abso…
The website makes it seem like it's a one person shop.
Re: A single line of code cost $8000
#80I would also put into question if you _really_ need to check for updates every 5 minutes. Once per startup is already enough, and if you're concerned about users who leave it on for days, it could easily be daily or even less often.
This could have easily been avoided by prompting the user for an update, not silently downloading it in the background... over and over.