News for hackers. Stuff that matters.
Re:How much your computer can do in a second (2015) by PragmaticPulp on Saturday July 11, 2020 @03:55PM (#23805337)
> Modern programs are 100 times slower, but they definitely aren't 100 times more functional.

My IntelliJ IDE is easily 100 times more functional than early text editors.

As for slower: Any relative comparisons are still missing the point. It’s not a relative question. It’s an absolute question: Is this fast enough?

Let’s be honest, none of us are sitting around waiting for our complex IDEs to render characters on the screen. No one really cares if it’s 1ms or 30ms or even 200ms.

Likewise, I don’t care if it takes 100ms or 10s to open the IDE because I’m not quitting it and re-launching it all day. I launch it, leave it open, and that’s that.

People like to glorify the good old days when apps were supposedly faster to launch, but they forget the convenience of simply leaving apps open with our oodles of RAM and letting our computers rely on suspend/wake. The longest delays in my workflow are getting my laptop out of the bag and typing in the password, or maybe downloading things from the internet.

Terminal latency or app launch time just don’t even register on the list of delays during my day.

Re:How much your computer can do in a second (2015) by justin66 on Saturday July 11, 2020 @04:11PM (#23805471)
> Let’s be honest, none of us are sitting around waiting for our complex IDEs to render characters on the screen. No one really cares if it’s 1ms or 30ms or even 200ms.

Waiting longer for a character to render to the screen than it takes to send an IP packet to a different continent and receive a reply may make you happy for some reason, but UI research indicates most people will react negatively to this.

It's worse than that. With something like Visual Studio, for example, we are sitting around waiting for local variables to update in the debugger's watch window, if we're experienced enough to know that we need to do that. This kind of thing is a genuine user interface bug: if a person doesn't realize what a slow, awful piece of software they're dealing with, they'll step step step past a variable update in the debugger, never see it happen on their screen because that only works when you pause and give the watch window time to catch up, and assume it's their program that has the problem.

People can get acclimated to dealing with very slow software, but they shouldn't have to when all the hardware performance to make it better already exists.

Re:How much your computer can do in a second (2015) by aardvark291 on Saturday July 11, 2020 @05:47PM (#23806360)
> No one really cares if it’s 1ms or 30ms or even 200ms.

You would definitely care about 200ms latency.

Re:How much your computer can do in a second (2015) by PragmaticPulp on Saturday July 11, 2020 @10:02PM (#23808048)
Have you looked at actual end-to-end latency numbers for common operations? I’m not talking about theoretical transfer times between buffers or carefully structured synthetic benchmarks.

Using fast-twitch PC games as the gold standard, most people are looking at 60-80ms of latency on a local PC. The online game streaming services hover around 150ms, which is noticeable but still entirely usable. (Source: https://www.pcgamer.com/heres-how-stadias-input-lag-compares... )

That’s why I say that 1ms vs 30ms of terminal latency is a non-issue. When I’m typing, I’m not on a tight feedback loop with each character. I know what I’m typing, so I’m not waiting for specific letters to appear on the order of a blink of an eye.

Most of us are using 60Hz monitors (17ms per frame) with terminals that have 20-30ms of lag, with OSes that introduce slightly more delay, and so on. Then we SSH into remote servers with 50ms, or 100ms, or 200ms of latency or more. The total delay between hitting a key and seeing the letter on screen could easily be 200ms on the regular for an SSH session, yet our typing isn’t falling apart.

Re:How much your computer can do in a second (2015) by justin66 on Saturday July 11, 2020 @10:35PM (#23808249)
That PC Gamer article is not an endorsement of the idea you're pushing that all this latency doesn't matter. "Singleplayer games are mostly fine to play through the cloud, but any cloud gaming platform is going to be a no-sell for people who only play multiplayer games, even with a good connection."

I don't want to give that magazine article too much credence, but when it comes to user experience, we as an industry ought to try for more than "mostly fine" or "isn't falling apart."

Re:How much your computer can do in a second (2015) by markstos on Saturday July 11, 2020 @06:28PM (#23806699)
Typing at 100 wpm is a character about every 120 ms.

A 200 ms delay would be interoperable and a 30 ms delay would be a 25% penalty to see the characters appear.

Re:How much your computer can do in a second (2015) by 6510 on Saturday July 11, 2020 @08:03PM (#23807345)
Stella Pajunas 1946 record of 216 wpm (54,000 strokes per hour, 900 per min, 15 per second, 66 ms) is on average. She must have typed considerably faster some of the time. Anything over 40 ms is probably noticeable.

https://www.pond5.com/stock-footage/item/75268195-miss-stell...

Most wouldn't get near 1/3 of that but when the professionals say your shit doesn't work it does mean something. Trying to increase your speed using a system that cant keep up adds unacceptable annoyance.

I hereby coin the Pajunas rule at 40 ms.

Re:How much your computer can do in a second (2015) by formerly_proven on Saturday July 11, 2020 @04:09PM (#23805455)
> Let’s be honest, none of us are sitting around waiting for our complex IDEs to render characters on the screen. No one really cares if it’s 1ms or 30ms or even 200ms.

I actually do, because I'd like for IntelliSense and clones to save me some typing, but often that doesn't quite work out, because they're too slow (inconsistently slow, too). I'd also like it if my IDE or Word editor could highlight errors in realtime, but in reality it's more like a couple seconds delayed, so I have to navigate a significant distance back to correct them, instead of being able to fix it almost on the spot.

Re:How much your computer can do in a second (2015) by PragmaticPulp on Saturday July 11, 2020 @04:13PM (#23805487)
That’s a different topic, thought. The OP posted about typing latency, not the latency of additional complex features.

It’s not exactly fair to claim that software is “slower” than old software when the software you’re comparing to doesn’t have those features at all.

Re:How much your computer can do in a second (2015) by justin66 on Saturday July 11, 2020 @04:48PM (#23805812)
UI latency is UI latency, and the problem in both cases is due to what markstos mentioned in his initial comment: the increasing internal complexity of the software stack used to develop the software. It's not like modern hardware isn't fast enough to do literally everything that needs to be done locally with minimal UI latency.
Re:How much your computer can do in a second (2015) by 6510 on Saturday July 11, 2020 @08:05PM (#23807364)
I'm guessing 1000x
Re:How much your computer can do in a second (2015) by marcosdumay on Saturday July 11, 2020 @05:00PM (#23805925)
> Let’s be honest, none of us are sitting around waiting for our complex IDEs to render characters onLet’s be honest, none of us are sitting around waiting for our complex IDEs to render characters on the screen. the screen.

I see you are not much into modern IDEs.

Visual Studio used to be a great perpetrator here. The 2017 version doesn't do it much, but I'm not rolling the dice on the 2019 one as far as I can avoid.

I do sit around waiting for Atom to interpret my keystrokes all the time, but it's never much more than a couple of second.

Oracle's SQL Developer is another one that can't keep-up with the keyboard. It's also not as slow as Visual Studio, but it does break a flow. And it loses characters when it's blocked.

Re:How much your computer can do in a second (2015) by llukas on Saturday July 11, 2020 @04:38PM (#23805712)
> Let’s be honest, none of us are sitting around waiting for our complex IDEs to render characters on the screen. No one really cares if it’s 1ms or 30ms or even 200ms.

You seem to never worked on ssh connection around the world. Typing faster than your text appears on the screen is annoying.

Re:How much your computer can do in a second (2015) by wolco on Saturday July 11, 2020 @07:44PM (#23807231)
Or played with a 300 baud modem
Re:How much your computer can do in a second (2015) by lowercased on Saturday July 11, 2020 @09:22PM (#23807813)
> Let’s be honest, none of us are sitting around waiting for our complex IDEs to render characters on the screen. No one really cares if it’s 1ms or 30ms or even 200ms.

I do regularly on my 2019 MBP - I 'only' have the basic SSD and 'only' 16 gigs of memory. Usually Jetbrains stuff, but things freeze up/pause on VSCode and Eclipse as well too.

I'll then be told "oh, must be your hardware", but this is a "feature" I've noticed of... not just JVM software, but probably MacOS in general - sporadic system pauses. SSD makes it more bearable, certainly, but it's not "this" hardware - I've had probably 8 different mac systems since 2008, and they all do this. But... in the 15+ years of Windows and Linux systems before that, similar issues. I see it on other peoples' systems too, but they seem to be able to bite their tongue, or genuinely don't notice (or don't care?)

Re:How much your computer can do in a second (2015) by Retric on Saturday July 11, 2020 @04:01PM (#23805387)
Are you talking pre 1980’s as early? Because IntelliJ vs EMACS is hardly a 100x improvement.
Re:How much your computer can do in a second (2015) by xaedes on Saturday July 11, 2020 @04:43PM (#23805748)
If you don't care, that is fine. But please don't spoil it for the ones caring. Don't argue against it if you don't care
Re:How much your computer can do in a second (2015) by flukus on Sunday July 12, 2020 @01:18AM (#23809031)
> My IntelliJ IDE is easily 100 times more functional than early text editors.

Maybe more than text editors, but I doubt it's even twice as functional as eclipse circa 2005. As slow and bloated as it was for it's time it had all the modern features and ran on machines with (I think) 128MB of RAM.

Re:How much your computer can do in a second (2015) by adrianN on Sunday July 12, 2020 @01:08AM (#23808994)
The OOM killer regularly kills IntelliJ on my 16GB RAM Macbook pro when I have the audacity to leave it open while I try to compile something else. That really sucks, so I use vim whenever I'm familiar enough with the code to not need very intelligent autocompletion.
Re:How much your computer can do in a second (2015) by mlyle on Saturday July 11, 2020 @10:05PM (#23808069)
I can definitely feel the difference getting my terminal echoes over 40ms of latency and feel impeded. Not ridiculously impeded, but...