News for hackers. Stuff that matters.
Re:Ask HN: Right to Repair for Software? by bdamm on Friday January 27, 2023 @04:10AM (#34544124)
This is exactly the thing.

If the difference between python 2 and 3 is so small that a program can be easily ported, then WHY did there need to be a difference at all?

Re:Ask HN: Right to Repair for Software? by pabs3 on Friday January 27, 2023 @04:16AM (#34544169)
Usually change happens because the old way was worse and the new way is better. For each individual porting change, you would have to look up the appropriate PEPs to discover why the change was made.
Re:Ask HN: Right to Repair for Software? by _Algernon_ on Friday January 27, 2023 @04:37AM (#34544262)
That's the claimed reasoning, yes. Is that actually true though?

It may be from a pure economic perspective focused on a business that can socialize externalities. Sometimes new developments reduces development time. On the other hand, the externalities of that is that a modern computer performs worse running equivalent tasks today in the browser than a native app 15 years ago on hardware from that time. Lucky for businesses that they aren't held responsible for the ewaste they helped produce.

Re:Ask HN: Right to Repair for Software? by pabs3 on Friday January 27, 2023 @04:39AM (#34544275)
Web development isn't mandatory, you can still have a native app in 2023.
Re:Ask HN: Right to Repair for Software? by _Algernon_ on Friday January 27, 2023 @04:49AM (#34544331)
The point is that the lack of businesses being made responsible for the externalities they cause disincentives native apps, not that it is impossible.

If 90% of apps necessary for normal life are only available as poor web versions it drives obsolescence no matter what the remaining 10% do.

Re:Ask HN: Right to Repair for Software? by pca006132 on Friday January 27, 2023 @06:13AM (#34544807)
Why is web app a bad thing though? Most of the apps do not require much performance and the web version can also be pretty fast, at least sufficient for users. I think the same author writing that crappy web app will produce worse native apps if forced to do so.

Web apps is better than native as they are automatically running the latest version, platform independent (windows, mac, linux, android, ios), in some sense more secure. Instead of asking people to write more native apps, I think we should rather ask them to write more quality web apps if they don't need native capabilities.

Re:Ask HN: Right to Repair for Software? by 5e92cb50239222b on Friday January 27, 2023 @06:29AM (#34544904)
I started writing yet another rant about how most HN users don't care about the rest of the planet, but then thought better of it. Long story short: way more people on Earth are using cheap (and thus low-power) hardware then you probably think. And it isn't necessarily old.
Re:Ask HN: Right to Repair for Software? by _Algernon_ on Friday January 27, 2023 @06:22AM (#34544871)
Try running eg. Libre Office and gdocs on a 10+ year old laptop. The difference is night and day. And that is a web app which should not be particularly demanding (essentially text entry).
Re:Ask HN: Right to Repair for Software? by pca006132 on Friday January 27, 2023 @10:28AM (#34547076)
No, google docs is not just text entry, it is much more complicated than that due to synchronization and they did not try to optimize it well IMO. Text entry, even with highlighting and rich text, can be fast with web app, see VSCode and markdown applications for example.

As an example, see Atom vs VSCode. We thought building a code editor with electron will lead to something slow like Atom, but m$ later proved that it is possible to build something fast. Perhaps not as simple as native, but it can be done.

Re:Ask HN: Right to Repair for Software? by drekipus on Friday January 27, 2023 @05:19AM (#34544503)
> That's the claimed reasoning, yes. Is that actually true though?

yes.

one of the changes (and in my experience, the most problematic change) was the removal of the keyword "print"

it was a poor choice at the start to treat "print" like a keyword. it is a simple, breaking change to remove it, easily automated (ps: just add brackets), and now the language is more consistent and flexible.

The only reason to keep it is to not "touch" things. but it is easily mitigated, so that isnt a good enough reason imo. I much prefer a consistent language.

otherwise I'd stick with PHP.

Re:Ask HN: Right to Repair for Software? by account42 on Friday January 27, 2023 @06:48AM (#34545022)
Is it easilty mitigated though?

By a python programmer, sure.

By another programmer, ok.

By your grandpa that just wants to run that python script to organize his stamp collection that has worked for decades? No.

For something as popular as python there will be thousands such people. Stuff that will simply NOT get fixed.

But that cost is easily ignored by the original developers.

Re:Ask HN: Right to Repair for Software? by robertlagrant on Friday January 27, 2023 @06:25AM (#34544884)
There's no point positing a less likely reason. Python wanted to incorporate Unicode fully. There was no way to do that that they came up with that didn't break a lot of software. You can read the documentation and see the discussion. It's not companies; it's a few people in Python leadership deciding.