News for hackers. Stuff that matters.
Re:Why modern software is slow by robertsdionne on Thursday September 29, 2022 @09:24PM (#33029706)
notepad dot electron
Re:Why modern software is slow by jiggawatts on Thursday September 29, 2022 @09:27PM (#33029736)
The new Notepad uses XAML, probably using Win UI 2 or 3.

VS Code, which is an Electron application, opens text files something like 20 times faster than the new Notepad.

Whoever wrote and shipped the new Notepad should feel ashamed at their failure as a professional software engineer.

This isn't some Github toy project. It's being forced onto billions of users, without the slightest bit of quality assurance or adherence to the basic practices of the art.

Re:Why modern software is slow by abraae on Thursday September 29, 2022 @09:31PM (#33029758)
> Whoever wrote and shipped the new Notepad should feel ashamed at their failure as a professional software engineer.

Steady on old chap. Who's to say the hapless developer isn't embarrassed about things themselves, but is prevented from doing the right thing by some management edict, ancient process etc.

My money's on that rather than one person's incompetence.

Re:Why modern software is slow by jiggawatts on Thursday September 29, 2022 @11:32PM (#33030582)
I would absolutely refuse to ship anything of this piss-poor quality. I would refuse to even participate if I wasn't allowed to achieve at least the existing tool's quality level.

In fact, I have done similar things.

For example, I was asked to develop a protocol-shim for an authentication system used by tens of thousands of people accessing one of the largest SAP systems in the country. I wrote the code, tested it, and said to the PM that the only thing missing for go-live is some HTTPS certificates to make it secure.

He asked me to go to production anyway to meet his deadline, and that the certificates will be fixed up later.

I straight up told him: "No."

The look on his face was hilarious. He called my boss, my boss' boss, and up.

I told all of them: "No."

We waited for the certificates to be issued.

Re:Why modern software is slow by 8note on Thursday September 29, 2022 @10:11PM (#33030062)
That's a difference between developer and engineer. It's part of an engineer's job to not put out the garbage required by bad management, and instead signal to regulatory agents and media that management is attempting to say, put changes into a bridge that will cause it to call down, killing the first people to step on it
Re:Why modern software is slow by anthony_d on Thursday September 29, 2022 @10:21PM (#33030124)
I’m ready to agree with you as long as you understand software engineering isn’t a thing.
Re:Why modern software is slow by umanwizard on Friday September 30, 2022 @10:42AM (#33035544)
Your fantasy of how engineering is supposed to work does not correspond to the reality of the term “software engineer”, at least in the US.
Re:Why modern software is slow by leetcrew on Thursday September 29, 2022 @10:37PM (#33030214)
we're talking about the default text editor on an OS that supports endless alternatives. yes, it's an embarrassment, but (approximately) no one is dying because notepad is janky.
Re:Why modern software is slow by jiggawatts on Thursday September 29, 2022 @11:27PM (#33030543)
There can be late night disaster recovery scenarios where logging into an under-resourced virtual machine and using Notepad to view a huge log file is the difference between success and failure. Failure can mean huge companies going under, life & death, suicides, end of careers, you name it.

The new Notepad is not fit-for-purpose. You cannot use it to open a file several gigabytes in size. It'll just die, take minutes, fill memory, and even if it opens successfully, it'll be unusably slow.

It's the Windows equivalent of 'vi'. It has to work, all of the time.

Re:Why modern software is slow by kajaktum on Friday September 30, 2022 @12:16AM (#33030866)
> No one is dying

I hate this argument so much

It's like being perfectly fine with a universe with as much suffering as long as no one is dying. I am exaggerating of course, but why inflict this suffering to a BILLION people? I feel bad when I annoy someone for a few seconds (like struggling to open a door) and yet people are perfectly nonchalant to create ecosystem that billions of people use everyday for the next decade at least.

Re:Why modern software is slow by dev_tty01 on Friday September 30, 2022 @01:52AM (#33031443)
>no one is dying

Are you sure?

---- "Larry started to explain about some of the places where he thought that he could improve things, but Steve wasn't interested. He continued, "You know, I've been thinking about it. How many people are going to be using the Macintosh? A million? No, more than that. In a few years, I bet five million people will be booting up their Macintoshes at least once a day."

"Well, let's say you can shave 10 seconds off of the boot time. Multiply that by five million users and thats 50 million seconds, every single day. Over a year, that's probably dozens of lifetimes. So if you make it boot ten seconds faster, you've saved a dozen lives. That's really worth it, don't you think?" --- https://www.folklore.org/StoryView.py?project=Macintosh&stor...

Re:Why modern software is slow by donatj on Thursday September 29, 2022 @09:39PM (#33029817)
You put up the stink of your life or you quit. Anything less and you are a coward and shouldn't work in the industry.
Re:Why modern software is slow by __ryan__ on Thursday September 29, 2022 @09:52PM (#33029915)
In this hypothetical, the individual is choosing between possible homelessness and making Microsoft look bad by following Microsoft’s orders and releasing bad software.

And they should choose possible homelessness?

Re:Why modern software is slow by userbinator on Thursday September 29, 2022 @10:03PM (#33029991)
"possible homelessness"? For someone who at least met the bar for getting hired by Microsoft? On the contrary, I think that individual would easily find a job somewhere else.
Re:Why modern software is slow by j-bos on Thursday September 29, 2022 @10:24PM (#33030140)
Who are these software engineer's working at Microsoft in the year 2022 at risk of homlessness?
Re:Why modern software is slow by __ryan__ on Thursday September 29, 2022 @10:41PM (#33030243)
In this hypothetical, the same person who is a “failure as a software engineer”, according to a parent commenter.
Re:Why modern software is slow by Dylan16807 on Thursday September 29, 2022 @10:53PM (#33030332)
You mixed up two scenarios.

The original claim was that they were a failure.

The hypothetical is that they are not a failure, but are "prevented from doing the right thing". In the hypothetical, they should quit and get a new job.

Re:Why modern software is slow by GauntletWizard on Thursday September 29, 2022 @09:59PM (#33029967)
Cowards ship. Shippers get raises and promotions. Software quality declines.
Re:Why modern software is slow by ripley12 on Friday September 30, 2022 @12:36AM (#33031000)
> without the slightest bit of quality assurance or adherence to the basic practices of the art.

You really don't do your argument any favours with exaggerations like this.

Re:Why modern software is slow by naikrovek on Thursday September 29, 2022 @10:14PM (#33030078)
> It's being forced onto billions of users, without the slightest bit of quality assurance or adherence to the basic practices of the art.

whoa there, you don’t know that. you think you do because you’re getting a ton of upvotes and you’re leaning into the feeling you had when you wrote that comment — the anti-Microsoft comment on a site known for its anti-microsoft comments.

if you don’t work at Microsoft, you have very little hope of understanding the motivations of a team, a product manager, or even a single developer within Microsoft. there’s a lot more there than meets the eye, just like there is at any huge company.

Re:Why modern software is slow by jiggawatts on Thursday September 29, 2022 @11:43PM (#33030650)
Famously, Microsoft fired their entire QA team and now relies only on telemetry. They similarly fired their technical writing team, and now beg the public to write their documentation through pull-requests.

I do know what Microsoft is or isn't doing.

The evidence is in the pudding: opening a large text file in the new Notepad is orders of magnitude slower than any other editor on my system. This is a common failure mode that is trivially caught by testing. It's a well understood problem space, much like how databases "get slower" as the data volume increases, but the well understood solution is to use indexing to make this not occur.

The fact that the Notepad team spent months (years?) working on a trivial text editor and never tested it with text files speaks volumes.

If they had ever opened a large text file, they would have immediately noticed that a mistake had been made. Much like how if a database developer runs a query over large amounts of data, the missing indexes are immediately obvious.

It takes a minute for Notepad to open a file that isn't even "huge".

A minute isn't slow. It's broken.

They shipped broken software to the public, at the scale of hundreds of millions or even billions of users.

> understanding the motivations of a team, a product manager, or even a single developer within Microsoft.

Clearly, performance and quality are never motivations at Microsoft.

Re:Why modern software is slow by forgotpwd16 on Friday September 30, 2022 @04:04AM (#33032255)
>if you don’t work at Microsoft, you have very little hope of understanding the motivations of a team, a product manager, or even a single developer within Microsoft

Their motivations are irrelevant for an end-user. Their results are.

Re:Why modern software is slow by naikrovek on Friday September 30, 2022 @08:06AM (#33033765)
It's important to understand that Microsoft are staffed by people just like us, trying to make things better. Except Microsoft get shit on daily simply because they are Microsoft. That stuff adds up and gets to people who work on things.

If you don't think it should, I remind you that you can't take the humanity out of a human.