News for hackers. Stuff that matters.
Re:Lessons I wish I had learned before I started teaching di... by nyc111 on Saturday August 20, 2022 @04:31AM (#32530379)
"Why is it that no one has undertaken the task of cleaning the Augean stables of elementary differential equations? I will hazard an answer: for the same reason why we see so little change anywhere today, whether in society, in politics, or in science. Vested interests dominate every nook and cranny of our society, even the society of mathematicians."

How true! I wonder why humans are unable to devise a society where useful change occur swiftly when necessary.

Re:Lessons I wish I had learned before I started teaching di... by atoav on Saturday August 20, 2022 @05:09AM (#32530589)
This is one of the most unnecessary aspects of IT in my opinion. I get that there are some things that require so much foundation that explaining them in technical detail cannot be done, but there are too many people in our profession that get a kick out of making things look needlessly hard, when sometimes they can be explained in a sentence so you grok the idea behind it.

Maybe it is also a nerd thing, but I know people who will explain you some minor aspect of the thing in excruciating detail, but totally fail to give you the big idea of what this thing even does, solves, is there for etc. It is the kind of explaination that only makes sense when you are on the same level on that topic as them.

This always makes me angry. I can remember how hard it was to grasp concepts and conventions I use blindly nowadays. But back then I was not stupid, there just was a heap of things no documentation or tutorial would explain, because it would just be assumed. Remembering your own struggles is essential when creating explainations for others.

Re:Lessons I wish I had learned before I started teaching di... by chongli on Saturday August 20, 2022 @04:51AM (#32530488)
I just finished writing a comment in another thread (about macOS) on how I'm tired of all the change in the software industry. There's just a constant churn and change for its own sake. UX designers, especially, seem to love continuously disrupting my workflow by rearranging the interface in ways that surprise me and offer little/no obvious benefit.

Here we have the opposite: stagnation, a lack of change. Corruption and nepotism everywhere gumming up the works. To address your point: I believe the reason we cannot devise such societies is because vested interests are more motivated and better equipped to bend the rules to their advantage. That's the whole reason to invest in anything. People want leverage to secure their positions and their possessions against external risks. A society where everyone is equal is like the beginning of a Hunger Games: a deadly rush to either grab a weapon or take cover.

Re:Lessons I wish I had learned before I started teaching di... by atemerev on Saturday August 20, 2022 @04:50AM (#32530483)
The vi editor was designed for slow terminals and a particular keyboard without arrow keys (ADM-3A terminal keyboard), yet after 46 years there is no shortage of vi fans that insist that modal editing (an adaptation for slow terminals) and hjkl (an adaptation for a keyboard that used to have no arrow keys) are inherently superior for all modern editing needs. :)
Re:Lessons I wish I had learned before I started teaching di... by chongli on Saturday August 20, 2022 @04:56AM (#32530523)
Terminals remain dreadfully slow compared to the speed of thought. People prefer vi because it's the best editing paradigm discovered so far which achieves one thing: reduce, as much as possible, the delay between a thought in mind and a corresponding change in the document.

Other paradigms put too many context switches between my thoughts and the changes I want to see. I do not want to take my hands off the home row to reach the cursor keys, or God forbid the mouse. I also do not want to destroy my pinkie finger with endless usage of modifier keys. So that leaves me with vi (and kakoune).

Re:Lessons I wish I had learned before I started teaching di... by atemerev on Saturday August 20, 2022 @05:01AM (#32530540)
Well, for me, to record my thought as quickly as possible, it is vitally important for the editor to always be in the input mode, I can’t lose time to remember the modal context I am currently in (and emacs is hardly better, as it can suddenly switch its focus to some command buffer, and not come back unless some specific action is taken).
Re:Lessons I wish I had learned before I started teaching di... by Lio on Saturday August 20, 2022 @05:11AM (#32530597)
I don’t want to advocate for you to use something that doesn’t fit your preferences but for the record Vim/NeoVim can work that way too.

You can start it in Insert mode and you can have it stay in Insert mode as you run a single command using C-o.

There’s also a plethora of Insert mode ctrl shortcuts which are worth learning in addition to Command mode stuff.

If you’re on the emacs path you'll be able to do all the same stuff, just differently.

The major point is that terminal based software is fully keyboard driven and you can commit the shortcuts to muscle memory and compose them.

Re:Lessons I wish I had learned before I started teaching di... by atemerev on Sunday August 21, 2022 @09:20AM (#32539899)
That’s interesting, thank you.
Re:Lessons I wish I had learned before I started teaching di... by chongli on Saturday August 20, 2022 @05:42AM (#32530732)
Your complaint would make sense if all of my text editing consisted of sequential writing in a stream-of-consciousness fashion. But then, I wouldn't need a text editor at all since I can do that with cat. In reality, I rarely ever do that kind of writing. 99% of the time I am working on some existing document, such as a source code file, and so I need an editor optimized for random access editing. Vim is that editor.

As a long time vim user I am in normal mode all of the time. When I sit down at a vim session I haven't touched in a while I press escape a few times to make sure I'm in normal mode. Then while I'm editing I am continuously typing various motion and change commands, some of which enter insert mode, and then quickly making the change before escaping back to normal mode.

Because I am in normal mode all the time (or perhaps vice versa), I spend most of my time jumping around the file and reading what is already there. Extremely rarely am I looking at a completely empty file where the only useful thing to do is start inserting text. And even then I am often typing some command to pull in text from another file or as the result of a bash command.

Re:Lessons I wish I had learned before I started teaching di... by bluenose69 on Saturday August 20, 2022 @05:35AM (#32530701)
> I also do not want to destroy my pinkie finger with endless usage of modifier keys.

This is exactly why I switched from emacs to vim, after a couple of decades of emacs use. I decided I'd put up with slow editing for a few days, as I forced myself to use vim. (It was that or not type for a week or so.) After a few days of frustration, vim started to grow on me. Swearing became less frequent.

A month later, I was perhaps 75% as fast in vim as in emacs, and my hand pain had completely vanished.

And a few months after that, I noticed that I was really quite fast in vim -- certainly faster than I was in emacs -- and that the constant puzzle-solving (finding the action that required the fewest keystrokes) was intriguing.

Using emacs seems to me to be an exercise in remembering, whereas using vim is more an exercise in thinking. Part of the appeal is that this thinking does not interfere with the thinking involved in writing. It's a bit like driving a standard car: the extra cognitive demand (do I need to shift now? are the revs right yet? am I at the biting point?) seems to be handled by a different processor, and having that processor working makes the experience more enjoyable.

Re:Lessons I wish I had learned before I started teaching di... by mightybyte on Saturday August 20, 2022 @06:04AM (#32530815)
> Using emacs seems to me to be an exercise in remembering, whereas using vim is more an exercise in thinking.

This. This right here is one of the best characterizations of the vim/emacs debate that I have ever heard.

Re:Lessons I wish I had learned before I started teaching di... by aj7 on Saturday August 20, 2022 @11:41AM (#32532834)
Sorry, but HTF did we get from differential equations to eMacs and Vim? (My Twitter personality is showing through.)
Re:Lessons I wish I had learned before I started teaching di... by zadwang on Saturday August 20, 2022 @05:54AM (#32530773)
I think the reason Vi wins even at infinite terminal speed is that it minimizes the things you need to type to express what you want to achieve/edit to computer. This was motivated by slow terminal speed in the beginning but is also addressing the bottle neck of human computer interface.
Re:Lessons I wish I had learned before I started teaching di... by dragandj on Saturday August 20, 2022 @06:53AM (#32531002)
Why would anyone use pinkie for modifier keys? Nowadays you can reconfigure positions of CTRL and Meta and Shift to your taste. I happily us Emacs without ever stretching my fingers, because all these keys sit happily under my thumbs (literally).
Re:Lessons I wish I had learned before I started teaching di... by chongli on Saturday August 20, 2022 @06:57AM (#32531027)
"First you need to buy a custom keyboard that puts all the modifier keys under your thumbs" is not a very enticing pitch for a text editor. Doubly so for those of us on laptops where the idea of carrying around an external keyboard is a non-starter.
Re:Lessons I wish I had learned before I started teaching di... by stoneman24 on Saturday August 20, 2022 @04:51AM (#32530486)
In general, most people hate change. We have divided life, knowledge, every aspect into little known boxes. Change requires us to work, adapt to the alteration. Perhaps reconsider our viewpoints, re-actions and even occupation. Change happens more typically when the new idea slowly seep into main stream society and old ways recede as people retire (or die). Modern technology has vastly increased the rate of change (ideas, lifestyles, jobs etc) by making the transmission of idea much easier and faster. But this places a high demand on anybody reading the news (drinking the firehouse of the internet) and trying to keep up.
Re:Lessons I wish I had learned before I started teaching di... by st-keller on Saturday August 20, 2022 @04:47AM (#32530467)
And in addition to the fight against vested interests, we have to invest a lot of energy against stupidity and to jump through artificial loops set up by lawyers, administrators and managers. Which leaves so litte to actually do something!
Re:Lessons I wish I had learned before I started teaching di... by NhanH on Saturday August 20, 2022 @04:39AM (#32530420)
Because people can’t agree on which change would be the most useful (we have limited capability to change things, regardless of how easy the change would be), nor when it is necessary.
Re:Lessons I wish I had learned before I started teaching di... by hackernewds on Saturday August 20, 2022 @06:37AM (#32530930)
> wonder why humans are unable to devise a society where useful change occur swiftly when necessary.

It does within free markets. Universities and professiorial societies are notoriously elitist, exclusive and x-poly