Live data from Hacker News

A single line of code cost $8000

pietrasiak.com

371–380 of 423 posts

Re: A single line of code cost $8000

#371
post #358

Earlier quoted context omitted.

> their software also downloaded a 250MB update file every five minutes How on earth is a screen recording app 250 megabytes

Unpacked, it's actually 517M on disk: 517M ─┬ Screen Studio.app 100% 517M └─┬ Contents 100% 284M ├─┬ Resources 55% 150M │ ├── app.asar 29% 133M │ └─┬ app.asar.unpacked 26% 117M │ ├─┬ bin 23% 39M │ │ ├── ffmpeg-darwin-arm64 8% 26M │ │ ├── deep-filter-arm64 5% 11M │ │ ├─┬ prod 2% 10.0M │ │ │ └── polyrecorder-prod 2% 11M │ │ ├─┬ beta 2% 10.0M │ │ │ └── polyrecorder-beta 2% 10.0M │ │ ├── hide-icons 2% 9.9M │ │ ├─┬ discov…

Is it normal to include the Electron framework like that? Is it not also compiled with the binary? Might be a stupid question, I'm not a developer. Seems like a very, very heavy program to be doing such a straightforward function. On MacOS, I'm sure it also requires a lot of iffy permissions. I think I'd stick with the built-in screen recorder myself.

Re: A single line of code cost $8000

#372
post #234

Earlier quoted context omitted.

The lack of dependency awareness drives me insane. Someone imports a single method from the wrong package, which snowballs into the blind leading the blind and pinning transitive dependencies in order to deliver quick "fixes" for things we don't even use or need, which ultimately becomes 100 different kinds of nightmare that stifle any hope of agility.

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

#373

Earlier quoted context omitted.

Obviously five minutes is unnecessarily frequent, but one network request every five minutes doesn't sound that bad to me. Even if every app running on my computer did that, I'm not sure I'd notice.

People complaining about 5 minute update checks hopefully don't use Windows 10/11. A while ago I did some rough calculations with numbers Microsoft used to brag about their telemetry, and it came out to around 10+ datapoints collected per minute. But probably sent in a lower frequency. I also remember them bragging about how many million seconds Windows 10 users used Edge and how many pictures they viewed in the Phot…

Try installing Adobe's Creative Cloud and/or any of its related products. I ultimately setup an instance of AdGuard just to block Adobe's insane telemetry traffic.

Re: A single line of code cost $8000

#374
post #114

For people finding this thread via web search in the future: screen.studio is macOS screen recording software that checks for updates every five minutes. Somehow, that alone is NOT the bug described in this post. The /other/ bug described in this blog is: their software also downloaded a 250MB update file every five minutes. The software developers there consider all of this normal except the actual download, which c…

> 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

#375

I find it ludicrous that the developers of an app as insignificant as a screen recorder would think it's necessary to check for updates every 5 minutes. Once a day would surely be sufficient.

It's a fucking screen recorder. Why does it need to check for updates more than once a month? Why does it need to check for updates at all? It's an appliance. It either records your screen, or it doesn't.

Re: A single line of code cost $8000

#376
post #114

For people finding this thread via web search in the future: screen.studio is macOS screen recording software that checks for updates every five minutes. Somehow, that alone is NOT the bug described in this post. The /other/ bug described in this blog is: their software also downloaded a 250MB update file every five minutes. The software developers there consider all of this normal except the actual download, which c…

From the article:

> Add special signals you can change on your server, which the app will understand, such as a forced update that will install without asking the user.

I don't like that part neither.

Re: A single line of code cost $8000

#377
post #217

Earlier quoted context omitted.

> their software also downloaded a 250MB update file every five minutes How on earth is a screen recording app 250 megabytes

As I recall, it’s an Electron app. I just checked and the current version of Google Chrome is 635 MB, with its DMG being 224 MB. So yes, it’s insane, but easy to see where the size comes from.

firefox is only about 200MB less.

Re: A single line of code cost $8000

#378

Earlier quoted context omitted.

Tauri is not as platform-agnostic as Electron is because it uses different web views depending on the platform. I ran into a few SVG-related problems myself when trying it out for a bit. For example, on Linux, it uses WebKitGTK as the browser engine, which doesn't render the same way Chrome does (which is the web view used on Windows), so multi-platform support is not totally seamless. Using something like Servo as a…

We're talking about a MacOS App. Platform-agnostic is irrelevant.

It's relevant in the broader context, cross-platform is a significant reason people choose Electron, and lighter alternatives like Tauri still have some issues there.

Re: A single line of code cost $8000

#379
post #358

Earlier quoted context omitted.

Unpacked, it's actually 517M on disk: 517M ─┬ Screen Studio.app 100% 517M └─┬ Contents 100% 284M ├─┬ Resources 55% 150M │ ├── app.asar 29% 133M │ └─┬ app.asar.unpacked 26% 117M │ ├─┬ bin 23% 39M │ │ ├── ffmpeg-darwin-arm64 8% 26M │ │ ├── deep-filter-arm64 5% 11M │ │ ├─┬ prod 2% 10.0M │ │ │ └── polyrecorder-prod 2% 11M │ │ ├─┬ beta 2% 10.0M │ │ │ └── polyrecorder-beta 2% 10.0M │ │ ├── hide-icons 2% 9.9M │ │ ├─┬ discov…

Is it normal to include the Electron framework like that? Is it not also compiled with the binary? Might be a stupid question, I'm not a developer. Seems like a very, very heavy program to be doing such a straightforward function. On MacOS, I'm sure it also requires a lot of iffy permissions. I think I'd stick with the built-in screen recorder myself.

F** Electron

Re: A single line of code cost $8000

#380
post #335

Earlier quoted context omitted.

I got 8 :)

Do you mean 8 homes with 10Gb Ethernet, or 1 home with 8 10Gb Ethernet connections?

I read it as 1 x 8GB connection But that’s only because I think 8GB is offered in my area. I’ve limited my current service to 1.5GB / 1GB fibre, because well I only run gbit Ethernet … so more sounds totally unnecessary
Post reply on HN