Earlier quoted context omitted.
> Or, given it's a Mac app, just have the Mac app store take care of updates. That's part of the value that using the app store service gives you, And pay Apple their 30% cut on your revenue? No thanks. > the other one being not spending thousands in accidental data transfer when you do auto updates wrong. Or just actually write proper automated tests for basic features first, before a large refactor to prevent intro…
2% of that already goes to stripe or whatever you use. after a year it's 15%. It also gives your both a distribution and marketing channel. It was good enough for netflix etc. *I* don't want applications to be able to update itself. Look at malware zoom for example. It's funny that people don't like telemetry, but at the same time they're ok with regular software update checks + installs.
A single line of code cost $8000
391–400 of 423 posts
Re: A single line of code cost $8000
#392Earlier quoted context omitted.
No, those are abstraction over a TCP socket and introduce more complexity than you'd need for something like this. There's nothing wrong with occasionally polling for updates.
Web push, FCM, APNS, etc are free because they only have a single systemwide TCP channel open - and that channel is already open whether or not your app chooses to use it. Your app can also be ready to receive notifications even when the app isn't running - using zero RAM. Inetd on Linux allows similar stuff (although no ability to handle ip changes or traverse NAT makes it fairly useless in the consumer world). This…
Just poll every launch or 24 hours and move on.
Re: A single line of code cost $8000
#393Seems like a great idea, surely nothing can go wrong with that which will lead to another blog post in the near future
Re: A single line of code cost $8000
#394Earlier quoted context omitted.
The up-front cost of code review can be easily be tripled or quadrupled when it’s distributed over several weeks after the fact in the form of unplanned work, each instance of which incurs its own cost of context switching, as well as the cost of potential rework. The purpose of such a review is a deliberate bottleneck in the earlier stage of development to stop it becoming a much larger bottleneck further down the l…
> The up-front cost of code review can be easily be tripled or quadrupled when it’s distributed over several weeks You’re taking a more extreme position than the one I’m stating. You can review every day or every hour if you want. > a deliberate bottleneck in the earlier stage Wouldn’t it be better if we could catch bugs AND avoid the bottleneck? That’s the vision. Good intentions may disagree about how to accomplish…
Like it or not you still have to stop what you’re doing to identify a bug and then fix it, which takes time away from planned feature work. You’re not optimising anything, you’re just adding fragility to the process.
As I said before, an issue localised to a PR in review blocks one person. An issue that has spread to staging or prod blocks the entire team.
Re: A single line of code cost $8000
#395Earlier quoted context omitted.
Web push, FCM, APNS, etc are free because they only have a single systemwide TCP channel open - and that channel is already open whether or not your app chooses to use it. Your app can also be ready to receive notifications even when the app isn't running - using zero RAM. Inetd on Linux allows similar stuff (although no ability to handle ip changes or traverse NAT makes it fairly useless in the consumer world). This…
An android phone on airplane mode has a battery life of 45 days?
It's actually required by the qualification process for lots of carriers. The built in apps have pretty much no polling for this reason.
During the qualification test, it's actually connected to both LTE and WiFi, but not actually transferring any data.
They cheat a little - the phone is not signed into a Google account, which makes pretty much all Google apps go idle.
Re: A single line of code cost $8000
#396Earlier quoted context omitted.
> their software also downloaded a 250MB update file every five minutes How on earth is a screen recording app 250 megabytes
>> their software also downloaded a 250MB update file every five minutes > How on earth is a screen recording app 250 megabytes How on earth is a screen recording app on a OS where the API to record the screen is built directly into the OS 250 megabytes? It is extremely irresponsible to assume that your customers have infinite cheap bandwidth. In a previous life I worked with customers with remote sites (think mines…
Re: A single line of code cost $8000
#397Earlier quoted context omitted.
> their software also downloaded a 250MB update file every five minutes How on earth is a screen recording app 250 megabytes
For context, the latest iOS update is ~3.2GB, and the changelog highlights are basically 8 new emojis, some security updates, some bug fixes. It makes me want to cry.
Re: A single line of code cost $8000
#398Earlier quoted context omitted.
An android phone on airplane mode has a battery life of 45 days?
Airplane mode and the scheduler disabled, yes (ie. So Apps don't wake up every 5 mins and attempt to contact the network). It's actually required by the qualification process for lots of carriers. The built in apps have pretty much no polling for this reason. During the qualification test, it's actually connected to both LTE and WiFi, but not actually transferring any data. They cheat a little - the phone is not sign…
Re: A single line of code cost $8000
#399Earlier quoted context omitted.
In a code review a couple of years ago, I had to say "no" to a dev casually including pandas (and in turn numpy) for a one-liner convenience function in a Django web app that has no involvement with any number crunching whatsoever.
To push back on this, I consider pandas/numpy so crucial to Python as a whole they are effectively stdlib to me. I wouldn't blink at this because it would happen sooner or later. Unless is was absolutely critical the server have as small as a footprint as humanly possible and it was absolutely guaranteed there would never need to be included in the future of course. However, that first constraint is the main one.
Re: A single line of code cost $8000
#400Earlier quoted context omitted.
While we're listing complaints... 250MB for a screen recorder update?
That’s pretty much the floor for an Electron app. If you’re a small shop or solo dev, it is real hard to justify going native on three platforms when electron gives it for (near) free. And outside of HN, no one seems to blink at a 250MB bundle. There are alternatives like Tauri that use the system browser and allow substantially smaller bundles, but they’re not nearly as mature as Electron, and you will get cross pla…
Except like 1 or maybe 2 billion people with slow or expensive internet.