Live data from Hacker News

A single line of code cost $8000

pietrasiak.com

61–70 of 423 posts

Re: A single line of code cost $8000

#61
post #22

Earlier quoted context omitted.

A 5 minute update check interval is usage-reporting in disguise. Way fewer people would turn off a setting labeled “check for updates” than one labeled “report usage statistics”.

Do they say that they don't do any usage reporting?

from their FAQ on the buttom of the fronpage:

Screen Studio can collect basic usage data to help us improve the app, but you can opt out of it during the first launch. You can also opt out at any time in the app settings.

Re: A single line of code cost $8000

#62

‘Simple’ bugs get a bit more expensive than this… https://en.m.wikipedia.org/wiki/Knight_Capital_Group#2012_st... 440m usd

whyyy does wikipedia not redirect mobile links to the desktop website when you have a desktop UA?

Why do they have a separate mobile website at all instead of writing proper CSS to make one website work on all devices?

Re: A single line of code cost $8000

#63

Oh boy, I know of at least one case where a single line of code cost ~$500k… Curious where the high-water mark is across all HNers (:

I would be surprised if half of the user on this site did _not_ create or personally see a bug where a line cost way more than $8000

Re: A single line of code cost $8000

#64
post #42

> 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)

Yes it does support this

Re: A single line of code cost $8000

#65
post #15
post #6

Ever consider not using cloud for everything? Hosting this on traditional hosting would have limited the problem and the cost.

And in that case, the problem would not be discovered until 1) someone opened a bug report, which rarely happens, because any competent user would just disable auto-updates, and 2) that bug report would be investigated, which also rarely happens.

It's not like you are forbidden to monitor your services just because you didn't put them in big clown.

Re: A single line of code cost $8000

#66

‘Simple’ bugs get a bit more expensive than this… https://en.m.wikipedia.org/wiki/Knight_Capital_Group#2012_st... 440m usd

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

#67
post #11

I 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.

To be as user friendly as possible, always ask if user wants automatic background updates or not. If you can’t update without user noticing it, please implement manual updates as two mechanisms: 1) Emergency update for remote exploit fixes only 2) Regular updates The emergency update can show a popup, but only once. It should explain the security risk. But allow user to decline, as you should never interrupt work in…

> You have to understand, if user has 30 pieces of software, they have to update every day of the month. That is not a good overall user experience.

That's not an user issue tho, it's a "packaging and distribution of updates" issue which coincidentally has been solved for other OS:es using a package manager.

Re: A single line of code cost $8000

#68
They had no cost usage alerts. So they even did not know that the thing was happening, just realized with the first bill.

I think that is the essence of what is wrong with the cloud costs. Defaulting to possibility for everyone to scale rapidly while in reality 99% have quite predictable costs month over month.

Re: A single line of code cost $8000

#69
post #42

> 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…

While we're listing complaints... 250MB for a screen recorder update?
Post reply on HN