News for hackers. Stuff that matters.
Re:We Need Software Updates Forever by inetknght on Thursday September 23, 2021 @12:23PM (#28631346)
> This is not some conspiracy. It's just a fact of life.

I disagree.

> Examples, image editors need to load new formats.

An image editor doesn't need to load new formats. An image editor just needs a library to convert to a format it can edit easier which almost always ends up being a bitmap of some sort.

That smells like a library. And that smells like not one library for _all_ image formats but instead one library for _each_ image format.

User wants to support the new copyright-compressed-image-video? Add a library. User doesn't want support for old-copyright-expired-and-is-now-public-domain-image-video? Don't update that library.

> Old computers didn't have cameras, now they do, many softwares would suck without support for them.

Nearly all softwares suck with support for them! Different features on the camera, different features in the software. What's needed is for software to just have a library to process an image stream and let the OS handle the camera...

> New input devices come out (mice, touch screens), software needs an update to support them.

What's new about mice that needs a software update? What's new about touch screens that needs a software update? These things haven't fundamentally changed in fifty years.

> Old old computers didn't have networking. Once networking exists plenty of software will be effectively obsolete if not updated to take advantagae

I disagree. Plenty of software shouldn't _need_ networking. That image editor? Yeah no it doesn't need networking. Your OS does though. Your OS should transparently provide any networking that you might need to edit an image on the network. Mount that network drive and your image editor should see it as if it's a local file. No update needed to the app.

> Old software was ASCII only, then the net connected us to the world and not all that old software needs to support full unicode.

Well yes but have you noticed how broken full unicode support often is? ASCII just worked.

> Old software didn't support useful rich copy and paste

And thank God for it. Rich copy and paste is a security nightmare and always ends up pasting junk and trash and vomit into something. I don't want rich copy and paste. How do I turn it off??!?!?!?!

> OSes realized they needed to put the user in control.

Hahahaha yeah... uhhh... no. Modern paid-for OSes (Windows, macOS, Android, et al) often take away more user control than they give. Dumb down the user interface so that they don't have to teach the user how things actually work and don't have to support that weird use case that the one power user used and most people wouldn't even understand. So take it away because it's just not worth the cost involved.

Re:We Need Software Updates Forever by BrightGlow on Thursday September 23, 2021 @12:37PM (#28631545)
The problem with your suggestions is that the program would still need to be updated to support those new libraries. And new mice and touchscreens have gotten new hardware features, which require changes in the software to support them. Even something as simple as upping the resolution of the device can require an API break to widen the data type. Networking is also not something that can just be tacked on by the OS, if you want a decent experience then it needs to be built into the program.

Unicode is required if you want to have decent support for non-English text, for a really basic example you might want to try writing an ASCII document that includes multiple languages in it and see how it doesn't really work at all.

I'm not sure what you mean rich copy and paste is a security nightmare, programs that don't handle a complex data type will just ignore that type. A text editor will commonly just negotiate the type down to "text/plain" or equivalent.

Re:We Need Software Updates Forever by inetknght on Thursday September 23, 2021 @09:23PM (#28637623)
> the program would still need to be updated to support those new libraries

Really? You think programs can't just load all of the libraries in a given directory?

> And new mice and touchscreens have gotten new hardware features

Yeah, like... more buttons and higher DPI

except they still boil down to the exact same interface. "Button X was pressed... button Y was released... moved +X+Y"

For real the biggest innovation I've seen in touchscreens is a sensor that tells how far away a stylus is or how hard it's been pressed. And that's really _not_ a big breaking change to require an update to every piece of software.

> Even something as simple as upping the resolution of the device can require an API break to widen the data type.

Yeah okay but that hasn't really happened any time recently. Or are you going to tell me that we should support a screen whose resolution is measured in _more than_ billions of pixels wide and tall? because I'm pretty sure your eye can't even _see_ that many pixels.

> Unicode is required if you want to have decent support for non-English text

Yes okay that's nice. That doesn't change the fact that unicode is broken in most apps.

> programs that don't handle a complex data type will just ignore that type

Programs that do handle that type are exactly what I want to stop. I absolutely never ever want to copy HTML from somewhere but there's often no way to disable it. Formatted text? Trash. Send me a file. Picture? Trash. Send me a file.

Re:We Need Software Updates Forever by BrightGlow on Sunday September 26, 2021 @12:54AM (#28658495)
>Really? You think programs can't just load all of the libraries in a given directory?

They can't, a library implements a specific API.

>except they still boil down to the exact same interface. "Button X was pressed... button Y was released... moved +X+Y"

Well no, with multitouch the interface has changed from that to a series of events, and you have to handle gestures too. Some apps still don't support these. This isn't just for mobile devices, laptops all have these touchpads now too.

>Or are you going to tell me that we should support a screen whose resolution is measured in _more than_ billions of pixels wide and tall?

This would be for pointing devices, so yeah, with a high DPI mouse then you might want to make it 32-bit or 64-bit. This wouldn't be for billions of pixels but to subdivide into many fractions of a pixel. Example: the original Win32 API only uses 16 bits for mouse coordinates, so a new API is needed and the apps need to be changed if they want to take full advantage of that mouse.

>That doesn't change the fact that unicode is broken in most apps.

Please report those bugs to the developer, that should be fixed.

>Programs that do handle that type are exactly what I want to stop. I absolutely never ever want to copy HTML from somewhere but there's often no way to disable it. Formatted text? Trash. Send me a file. Picture? Trash. Send me a file.

I can't agree with this, I copy formatted text and pictures all the time. Your program should have the ability to remove the formatting.

Re:We Need Software Updates Forever by inetknght on Tuesday September 28, 2021 @02:17PM (#28685793)
> They can't, a library implements a specific API.

I'm sorry, what? That's the whole point of putting things into a library. Every library should be compatible with the common set of APIs. Any library that isn't compatible is defective.

> with multitouch the interface has changed from that to a series of events, and you have to handle gestures too. Some apps still don't support these. This isn't just for mobile devices, laptops all have these touchpads now too.

A series of events is exactly what a mouse has always reported.

Gestures? Apps don't need to support gestures. Even iOS often doesn't understand the gestures that it claims it supports. Why on earth do you think an app should support something that the OS itself can't support?

> subdivide into many fractions of a pixel

The whole point of a pixel is to be the smallest point that a program needs to understand.

> the original Win32 API only uses 16 bits for mouse coordinates

My screen resolution is 2560x1600. I have two monitors spanned, giving me 5120x1600. I can see someone having a couple dozen of them to get up beyond 65k width. But at that point the user is already reaching the limits of the hardware to render such a large number of pixels, the limits of physical space to even _have_ them.

Given that the Win32 API has been around for a few decades and I don't think we're actually reaching the hardware capabilities to need the upgrade... I'm going to simply say that you're being hyperbolic.

> Please report those bugs to the developer, that should be fixed.

No, fuck that. I have better things to do with my time than to be every developer's free QA.