Vim.wasm(rhysd.github.io) |
How can I close it?
this is vim running in your browser, not some weird hybrid server-side vim thing that stores all your config files and plugins server-side in a per-user account but then transpiles them to wasm (regardless of plugin language) and sends them to the browser.
[update] ah i see from the readme write support is in the todo list.
The real question would be: why would you do that when you can instead use any proper native UI toolkit?
Answer: it's now a choice. If you need command line stuff like vi running smoothly in a browser, the DOM is an obstacle, not a solution. If on the other hand you want a wasm application driving the DOM and generally looking and feeling like a web app, you can do that as well. There are several frameworks emerging for rust, kotlin, C#, and other languages that do exactly that and that use bindings for the DOM and other APIs you have in javascript in a browser. Basically, you are writing normal dom/html/css based applications; except it all compiles down to wasm and does not involve any javascript.
:w test
"test" E667: Fsync failed Warning: original file may be lost or damaged.
But seriously, this is great work.
Just tried ą ę ł etc ;)
We brought this abomination on ourselves.
Ctr+[
Vim-ing on devices with not physical Esc key makes you get used to this (default configured, no extra keymapping required) Esc alternative :PVim would be a particularly good editor since most operations are simple and elegant with only an occasional exit of insert mode.
but emacs... probably not as fun.
RMS means well but GNU is a bloated mess.
Will change your life man.
:colorscheme
unknown "that's weird
:set file^I^I "I guess tab autocomplete doesn't work
:set filetype=cpp
i#include <iostream><Esc> "I guess syntax highlighting doesn't work either
:set tabstop=4 softtabstop=4
i^I^I "at least that worked!Ctrl and [
That should send the same as Esc (ASCII 27).
I seem to remember this working on a new iPad Pro keyboard.
Very useful for SSH and termux.
...but this is pretty cool :D
:o test.tx :wq I get an fsync failed error and I'm told to press enter or type a command to continue.
I can't do either.
:imap jk <Esc>
:imap kj <Esc>
works great. However it seems like outer and inner text objects aren't working at all. E.g. daw, ci) :imap kj <Esc>
Worked fine here, felt super snappy too.I might need to try it out for a bit. It has the nice feature that if you press it in normal mode there's usually no effect.
The only issue I have is when I type something that ends with j or k and immediately want to exit insert mode. e.g. if I type "ack" and then mash jk to leave insert mode. Sometimes the j will hit first and only "ac" is left in the buffer.
That happens rarely though, and sometimes now I'll know it's going to happen and consciously type "ackkj" or just pause a beat to ensure the right thing happens.
You can fix it with Vim’s ^L command (control-L: refresh display). I’ve had to do that in the MacVim GUI occasionally too, especially when displaying symbols such as “→” that are wider than a normal character.
[blocked]
sorry can't help myself trying this. but good job!
It is similar to CodeMirror, Ace, and Monaco.
CodeMirror: https://codemirror.net/
Ace: https://ace.c9.io/
Monaco: https://microsoft.github.io/monaco-editor/index.html
I hope the author will work out some of these kinks so that it becomes usable !
Furthermore I can't use 'Ctrl-v' that let's you select a column of text (EDIT: correction, this does work).
'q:' should not be captured by the browser? Nevertheless impressive work.
Things that doesn't work starts from where you might need to change word "ciw", visually select word "viw".
It would probably need to get the engine to draw to a fake screen buffer and run an OCR algorithm over that. And even if the OCR and layout worked well, there would be a lot other work necessary to get reasonable text based interactivity, though that's probably partially solved by projects like Vimium. Some interactions like dragging would likely never be supported.
Not easy at all, but somehow more reasonable than updating lynx to support all of today's new technologies. I wonder if anyone's already tried something like it.
It uses Firefox as a backend so can in fact run Wasm. However it doesn't use OCR, it uses the DOM to get precise coordinates for text nodes, this recreating a pure text representation of the page, using nothing but spaces and carriage returns for "formatting".
Hey, dial back the blasphemy there. HTML is not PDF, it's usually made from text in the first place.
I'd guess you could force all text to use a monospace font, with fixed measures and line-height, and limit the width of the page. Then mostly dump the resulting text arrangement into the terminal.
Now, layouts from the various elements and CSS are probably a lot trickier, but snapping all margins and padding to multiples of a symbol's size should go a long way.
It seems that this could even be embedded at different levels in the browser: the layout engine or just the user's JS. (If JS can obtain the exact layout of text lines and elements―likely not, though, especially in forms. Maybe via devtools.)
#if PLATFORM === 'WASM'
then
fetch()
else
the actual sockets and stuff
endAs if Flash (http://adobe-flash.github.io/crossbridge/), PNaCL (https://developer.chrome.com/native-client/reference/pnacl-b...) never existed.
It also doesn't have any of the security issues because its limited to things JavaScript can do.
I'd love to have my VIM with my config just available as a web service to use it on every device! That's what I already love about NextCloud and the likes - just one install and every device can access it. If you know how you can also make it secure enough for every day stuff - I think to be really secure going offline is not enough anymore.
here's a VNC server in your browser:
https://github.com/novnc/noVNC
or an x window system tutorial, with an in-browser x server
https://magcius.github.io/xplain/article/index.html
personally I think this will lead to more hiding of what internet sites are doing, and prevent blocking of undesirable behavior.
This will enable doing full web development in browser only
Ironically, MS' own ‘ergonomic’ (cough) keyboards have gigantic Win keys, right under the thumbs which are the strongest digits. These keys are great to use on Mac, it's an eye-opener as to how the historical keyboard mutations ended up in just the wrong way for two platforms (and for Emacs).
I could also say some things about the nonsensical shape of keyboards and the moronic replication of the typewriters' staggered key layout...
Some people do use the super key. I have it bound to a huge number of actions (WASD to switch workspaces, Alt+WASD to move window to adjacent workspaces, C to close window, X to pause/unpause media, Z to show workspace overview, tab to switch between workspaces like alt-tab does for windows, P and ; to invert colors, F and T to control window tiling, / to bring up the dropdown terminal, and the 4x4 grid from '6' to '.' to go to one of my 16 workspaces).
It would be a shame if applications started using 'super' in their keybindings - having a key that is effectively globally reserved for user-configurable actions is very useful. There are no worries about conflicting keybindings when you use super; the same cannot be said of keybindings that use ctrl or even ctrl+alt+letter - for example, many IDEs use ctrl+alt+letter to do stuff, which would mess with global user-configured shortcuts. Perhaps the position could be optimized though.
>These keys are great to use on Mac
The use of the super key on Mac is horrible. It should sit there uselessly, until I tell it to do otherwise. On Mac, here are no safe hotkeys to bind anything to. On Linux, my WM configuration has a ton of actions bound to the super key, and I never have to worry that it will conflict with another application.
I have myself been looking at https://ergodox-ez.com/ but I’d love to hear of alternatives, especially if you have first hand experience on them.
For me (Gnome) the super-key shows an overview of my windows and let's me enter a command which is fairly convenient.
I had a similar problems with Emacs in the browser (I stumbled upon it a long time ago). The keys I needed the most were also the keys intercepted by the browser.
I don't know, man. Most websites would be smaller if they were replaced by a HD video of someone reading the contents.
Hey, dial back the blasphemy there. PDF is not an image, it’s usually[0] made from text in the first place.
As someone who has a bunch of experience both creating and parsing PDFs, it’s definitely very doable to extract the text content and render it in a similar way on a terminal. Yes, parsing the PDF format is much more painful than average HTML, but these days there’s libraries commonly available to assist.
[0] unless the PDF is a famous redacted DOJ document, then it’s a poorly scanned collection of image crammed into a PDF container.
This way I can use all the default US-based shortcuts for emacs/vim/... while still being able to easily type the special chars for my native language, e.g. pressing AltGr+o results in 'ö'.
This method is slightly inconvenient for typing long texts but for me it's still the perfect solution to such problems.
Examples:
ä - AltGr+" a (the double quote looks visiually like 2 dots)
ç - AltGr+, c
õ - AltGr+~, o
and so on. I found this solution very practical, even if quite late in my life (went from German QWERTZ, to French AZERTY, to end up with QWERTY), because QWERTY is available everywhere, even if I have to work remote through Windows computers, and it is much much friendlier than AZERTY/QWERTZ. Additionally it gives me to write with the same layout German, French, Portuguese, etc. And it is very easy to remember how to get the accents, because the used signs are visually close.
But anyway, EurKEY would be a sane standard in Europe, instead of the hellish borderline-inusable national standard keyboards...
For every shortcut you can imagine you can find at least one keyboard layout out there where it's inconvenient.
Just get over the crappy nationalized keyboard layouts and use US English keyboards like all programmers do!
I can type French + English + Romanian just fine and comfy (would also work for Spanish + Italian fine, northern languages might be a bit of an issue...), with all the accents and special chars of each language, on a US-English layout keyboard that also has `[` and ``` (backtricks) and all the 0-9 numbers available one keystroke away. Mac keyboards work fine by default, the Windows ones might ned fiddling around with picking US vs US-Intenational and windows quote character settings until you get it right.
Western European keyboard layouts (except British) are just plain broken imo, you can't need more than one key to type a damn `[` (array access), or force ppl to use Shift to type numbers, wtf.
Otoh, typing Lisp code on a French keyboards is kinda' cool in a way :P
What I have found even more useful is triggering a "layer" when Caps Lock is held down, which turns H, J, K, & I into an arrow cluster; U & O into Page Up / Down; and P & ; into Home / End. To toggle regular Caps Lock, I just activate the layer and then hit A. It's a big time saver! :)
Would I ever (at 31) ever achieve the same fluency with emacs if I switched cold-turkey today as I've developed with vim in my teens and twenties? What about in my fifties?
Now I sometimes find myself using some of the emacs shortcuts when editing files with vim...
Love, Silicon Valley
Aren't there conflicts on most desktops?
- Windows, off the top of my head, has Win+R, Win+C, Win+V, Win+x, Win+D, Win+L, Win+E, Win+Directions - Linux (well Ubuntu/Gnome3) has Win+L, Win+R, Win+Mouse, Win+Directions - macOS (considering Ctrl to be super here) has Ctrl+Arrows, along with many common Ctrl+Letters from the unix world
Most Linux desktop environments (Gnome, KDE, etc.) provide default mappings that involve super, but they can all be changed freely by the user. So you can get rid of Win+L or change what it does (at least on KDE, or if you are using just a WM like i3).
macOS is just weird, with the cmd/ctrl split.
That's one of the most commonly used shortcuts I use. Not just in vim, but also in the shell. When I screw up on my typing, the mistake is often 3 or more letters back. Instead of hitting backspace a lot or moving the cursor and retyping mid-word, I prefer to say "screw it", hit Ctrl-w, and retype the word. It's faster. My brain is just not optimized to type pieces of words. I can't use muscle memory then.
Besides that, I don't know about you or dmitryminkovsky, but I remapped it to Caps system-wide, so by remapping to Ctrl, I'd be losing a lot more than those shortcuts you mentioned. On the other hand, CapsLock has always been a useless key to me. When I want to type in all-caps, it's less confusing/error-prone to just hold Shift with my pinky while typing. Also, Caps is in a much easier place to hit than Ctrl, so it's more fitting for a key that I hit a lot.
Tell me about it!
> Mapping it to Ctrl is a much more sensible choice.
Never considered this, but just moved my pinkie to Ctrl and then to Esc and then to Ctrl... hmm... I use Emacs bindings in Insert Mode, wouldn't this interfere with them?
When you format the ASCII table in four columns, you can see `ESC` and `[` on the same row. Holding `CTRL` essentially ~lops off the first three bits~ subtracts 64, resulting in `ESC`
...
...
0011000 CAN 0111000 8 1011000 X 1111000 x
0011001 EM 0111001 9 1011001 Y 1111001 y
0011010 SUB 0111010 : 1011010 Z 1111010 z
0011011 ESC 0111011 ; 1011011 [ 1111011 {
0011100 FS 0111100 < 1011100 \ 1111100 |
0011101 GS 0111101 = 1011101 ] 1111101 }
0011110 RS 0111110 > 1011110 ^ 1111110 ~
0011111 US 0111111 ? 1011111 _ 1111111 DEL
[0] http://www.catb.org/esr/faqs/things-every-hacker-once-knew/No, it inverts the 7th bit (or subtracts 64).
The Linux `ascii(7)` man page has a similar table, but with 2 columns. The first 32 control characters listed there have their "caret notation" character in the opposite column.
[surfing keys](https://github.com/brookhong/Surfingkeys)
I'm not sure, but I think Karabiner can be configured to act the same way.
Does anyone actually like Caps Lock?
so emails and general writing tend to be all lower case and rely on the editor to upcase for me. mostly works.
Added bonus: on MacOS, emacs keybindings work in pretty much every place where you can input text, so you get’em everywhere. It’s part of the Cocoa Text System:
It is the reason why Ctrl+i in a terminal is the same as Tab though. Likewise for Ctrl+m == Enter.
WASM doesn't offer any security over internal data corruption as buffer access within linear memory aren't validated for data bounds or nullability.
So it is possible, for a WASM module generated from C or C++ code, to provide input data to its functions in such a way that it would compromise its behavior from the outside, even though it doesn't escape the sandbox.
Politics.
You know that open source is not the same thing as open standards, right?
At least for Flash I remember that the OSS implementations couldn't run many real-world flash programs. Did this change later?
Wasm is nearly identical, but different in the ways that matter. You are being blinded by being ahead of the curve, but the curve has moved now.
The ErgoDox on the other hand has been a joy to use for approximately a year now and its design allowing for wasy swapping of keyswitches plus its open-source firmware mean I have limitless customisability and am not stuck using low-quality chinese cherry-mx clones (kailh). I hear they've actually improved now, but the ones in the TECK were definitely subpar.
I use a split ortholinear keyboard because a standard layout keyboard makes my fingers hurt after a while. ErgoDox and TECK(while it worked) were both good enough for mitigating my problems while not being as exotic and unwieldy as a kinesis.
I would love to try out a https://shop.keyboard.io/ once (hopefully) the price comes down a bit.
Well, I guess you already noticed that regular keyboards are made for people with arms growing from the front of their chests. Some, like MS, now generously provide some angle between the halves so people with shoulder-mounted arms can curve them in more comfortably without keeping the wrists crooked.
Now, let's take the flat profile, specifically crosswise the keyboard. It seems greatly suited for people with digits extendable in the plane of the wrist. But where I am, fingers mostly rotate on joints instead.
While we're here, feeble attempts at wrist support on most current boards don't have much respect from me. MS at least made the board incline the other way, which is vastly better (though I'd like some forearm support now).
As for the staggered key layout, it works sort of okay for the left hand where the key columns are staggered to the right (going away from the user). Now, which way are they staggered under the right hand? Also to the right. Meanwhile my fingers mostly move forward and backward in line with each forearm, so I'd imagine ortholinear layout to be more reasonable.
Kinesis Advantage and Maltron boards seem to get all of this right, but I'm yet to buy one.
I'm not sure about the next point, but apparently in the ‘palms down’ position the bones in the forearm are rotated DNA-style, which may or may not be suboptimal. Some boards, like Kinesis Freestyle, can be mounted in a vertical accordion-arrangement, and there are also mice that are handled like joysticks.
The sad thing is, while plastic boards could probably be manufactured in any shape you'd like (at least other gadgets don't seem to have a big problem), prevailing designs are seemingly dictated by the inertia of the market instead of the ergonomics, so they still hold on to ideas of typewriter design from a century ago. And better designs are caught in the bog of higher prices because no mass production for these weird things.
Got this one backwards on the phone. It's to the left, under both hands.
I went through 20 iterations to find a layout optimised for using Vim in Ubuntu - feel free to check it out.
Cons: it's a bit expensive, considerably bulky and annoyingly (for workmates) noisy since it has a big volume of air between the halves of the keyboard; it's overkill for most situations where you're going to be browsing an watching Netflix.
Pros: it looks like a fucking spaceship (I'm not a habitual use of F-bombs), teaches you proper typing by separating the keys you're supposed to press with the left and right hands (this lives on even when you work with other keyboards); has such a long key travel that your hands don't hurt when typing in a hurry/hammering the keys with intensity, but actually fires before half of that travel, which makes typing certain combinations with pinkies and ringfingers easy and comfortable.
It's a great keyboard, but it's too much for most people methinks.
---
Edit: from the pictures the Ergodox is very close to a non-bulky kinesis except for the concave bowl design of the keyboard halves; it's great for resting your hands and arms solidly. But I have an unused Kinesis at home because it doesn't fit my desk concept; this would fit the bill nicely.
Relevant: https://old.reddit.com/r/StallmanWasRight/
(Disclosure: RMS was a childhood hero, since I read the Steven Levy "Hackers" book, right up there with Mr. Rogers, Richard Feynman, Neil Armstrong, and Marvin Minsky. One day, RMS reached out, to ask me to sign over copyright, to the FSF, of a tiny bit of Emacs code ("Yes, sir!"). Today, I occasionally have the privilege of exchanging emails with him.)
I disagree. Stallman infuriates and disappoints just as much as he inspires. He often comes off as rambling and intransigent. Years ago I found an open letter to him that I found reasonable[1]. Near the end, the writer considers how Stallman’s way of presenting an argument is harmful to his goal:
> Dr. Stallman, I have a tremendous amount of respect for your contributions to GNU, emacs and gdb amongst others. You are a man of considerable intellect and programming ability. That said, I nor the people that I spoke with about your talk found you to be a particularly charismatic or persuasive speaker. The only people that seemed convinced by your speech were the ones who had already been leaning towards your point of view to start with. Several friends of mine who had not heard of the FSF before left half way through because they were so put off by some of conspiratorial rhetoric above.
Stallman’s reply was a single line:
> I am skeptical of advice from people who disagree with what I stand for.
Stallman isn’t a paragon or righteousness. He’s a rambling human with as many biases and unreasonable obsessions as the next person. He makes me question if he really wants to change the behaviour of the masses, or if he just wants to mock and deride what he doesn’t like. If he’s going for the former, he’s doing an awful job; you don’t convince people to change their views with aggressiveness and ridicule. If he’s going for the latter that’s his prerogative, but it’s not my belief that people like that are beneficial to the world.
In some regards, some things that seem arbitrary actually have a large amount of informed reasoning behind them. He doesn't show off, and maybe makes his arguments too simple, in simple language, but I've seen him trot out more of the logic and academic terms&references on occasion (for people who know those terms&references).
And I think this ties in with him being obstinate/uncompromising: it's wrt logic he's worked out (and some values weights specific to him). IMHO, we need some uncompromising people, to provide different perspectives, and as a check against all the rest of us (including myself) who compromise more easily.
Some other things that seem arbitrary actually might be, even if they seem counterproductive (not, e.g., a principles reason). For a simple example, I've suggested a few times that saying "free software" to people unfamiliar with the term seems to derail many discussions, or is just confusing (especially when we keep doing it after the somewhat less-confusing "libre software" term). I think probably RMS has decided saying "free software" creates an opportunity to educate someone new on what "software freedom" is (even at the cost of any other discussion that was going on). Maybe "free software" is also a wordplay that appeals to him (like "GNU" being a recursive initialism), and which he thinks others might like. But I haven't seen that seem to work well in practice, overall. (Or maybe it works better one-on-one for him than it does in larger practice by others?)
Which brings me to another theory: RMS might think a bit differently than our typical programmer, and this might also affect his advocacy. We tend to think others are like us (sometimes more than they are), and we might also use ourselves to help model others. I suspect RMS realizes that others are a bit different, but I don't know whether he doesn't understand people well enough to influence them as well as he could, or he's prioritizing differently. For example, promoting the "software freedom" idea itself takes priority over everything else, including the goals of the person he's talking with and any promotion that might immediately build on those goals. (I can't get into details, but I've also seen setbacks due to RMS/FSF being seemingly misled by people who said the right catchphrases to him/them. Usually people mainly enthusiastic, not intentional manipulators. I don't know how well he was able to read them, and maybe he could read them, but was willing to take a chance because his mission needs a lot more workers.)
I think we're blessed to have at least one "full RMS". How does shooting for 50% RMS for everyone else sound?
I'm really confused to why so many people whom I respect find him insightful.
He never understood software freedom, but as far as I can tell he is responsible for communicating the way that free (as in freedom) software can be competitive in the real world. Before that, all anyone would talk about was how we had to have free software for moral reasons (which I personally believe). He was the one that saw how successful projects were being run, put 2 and 2 together and told everybody else how to do it. I have much respect for ESR and I wish that the good things he has done had a wider audience.
Richard M Stallman.
Wasm will be absolutely pervasive at all levels of the stack.
Yeah, I heard that before.
* Ctrl if held and used with other keys.
* Esc if pressed and released on its own.
There's no reason to press and release Ctrl on its own (minus games), and you never need to chord Esc with anything else, so they can both live on the same key.
You touched on “things that seem arbitrary” twice, but that wasn’t part of my point at all. Neither were most of your arguments. I don’t think Stallman’s behaviour is arbitrary, I think it’s harmful to his alleged goals.
> I think we're blessed to have at least one "full RMS". How does shooting for 50% RMS for everyone else sound?
Above all, that’s what heightened my certainty you did not absorb the meaning I intended for my point. The answer to that question is the premisse of my post. “How does shooting for 50% RMS for everyone else sound?”. It sounds awful. The Stallman we already have could even drop a few points.
Again, part of my point was that Stallman is uninterested in such feedback, as demonstrated by the quoted exchange. The linked open letter did just what you suggest and was fruitless. His intransigence in such matters is why I don’t think he’s worth emulating. It’s my belief the world needs people open to challenging their own core ideas, to entertain the possibility they might be wrong and evolving their understanding of themselves, others, and the world itself. Stallman comes across as the opposite of that.
For example:
https://www.fsf.org/blogs/licensing/recent-licensing-updates
> We added the Commons Clause to our list of nonfree licenses... It's particularly nasty given that the name, and the fact that it is attached to pre-existing free licenses, may make it seem as if the work is still free software.
So while RMS was undeniably a force of good, we should take his advice with grain of salt, and start discussing which freedoms we can protect, and what the price for that is.
> The “Commons Clause” is a nonfree license because it forbids selling copies of the program, and even running the program as part of implementing any commercial service. Adding insult to injury, it also twists the words “commons” and “sell.”
RMS and FSF's stance on software freedom is ultimately straightforward: they want to protect end user's freedoms, and protecting this involves removing the ability for anyone in between to take away end user's freedoms.
Unlike in fiction, real-life humans aren't universally perfect to everyone's standards. In some areas they believe or practice something great, in others they say or do repugnant stuff. Fortunately, you can evaluate one's contribution in different areas in isolation, and I wish more people would learn how to do that.
For what it's worth, I have seen him be flexible in thinking, in response to argument, including on famously firm positions. It has happened.
Of course, I'm also aware that many people have been frustrated by perceived inflexibility, and some of those times are very unfortunate.
If it inspires patience, consider that RMS has been flooded for decades with arguments that are often not well-informed, or are not in good faith. And he's only human, with finite time -- some needles in the haystack will get brushed off before he's able to invest enough time to see them. I suspect most of his responses are almost on autopilot, because he'll talk with anyone, but most of the conversations have happened many thousands of times before. (And I'm sorry I just now realize I should've warned of that, before I suggested you invest in reaching out to him yourself.)
I don't go full RMS, myself, and I was thinking that the exact makeup of the proposed 50% RMS level could be cherry-picked by the individual/observer, and include overlap with good qualities they already see from some other sources. I now realize that anything that looked like a quantification or calculus of RMS's qualities or value was counterproductive to discussion. I'd like to modify it to say that I think RMS exhibits some qualities that I'd like to see more in people. (And, on later occasions, I might have time to enumerate some suggestions.)
Anyway, thank you for your patience here, and for prompting me to rethink some things.
I appreciate that Stallman is human and has had to deal with ill-intentioned people over the years, which could be the reason he’s less willing to be flexible on certain matters these days. But I see that as less of a reason to ignore said inflexibility and more of a reason to question if he’s the best person to continue to carry his message.
He may be tired of fielding the same questions over and over, but every day there is someone else hearing his message for the first time as he continues to present it. As long as he keeps on introducing his views to new people, he should be responding to their concerns as coming from individuals thinking about them for the first time (because that’s what they are), not as questions he’s tired of addressing.
If our combined hypothesis are that Stallman has a good message but he’s harming it with his delivery, he should consider passing the baton to someone with more patience, if lack of it is indeed the reason for his attitude (a word I use with neutral meaning).
> Anyway, thank you for your patience here
You as well. I feel this was a healthy and respectful way to disagree and discuss a point at length. Thank you.
Most of his open source contributions seem to be littering up source files with long-winded comments and grandiose attributions to himself. I've read a fair bit of his code and it's certainly not impressive. Quite the opposite actually.
> They consider Commons Clause to be harmful for good reasons.
Your quote only tells that they consider the license non-free. Which is true, if you subscribe to their definition of "freedom" [0] (which I don't - YMMV). Harmful though? I don't think so.
Have you looked around lately? Has opensource software won? Where it did, it did because it helped big tech companies to "commoditize their complements". Where it didn't, it is because by itself it doesn't provide hobby developers with any incentive to keep working once the maintaining stops being fun.
> RMS and FSF's stance on software freedom is ultimately straightforward: they want to protect end user's freedoms, and protecting this involves removing the ability for anyone in between to take away end user's freedoms.
Exactly. What they are missing however is that without developers' engagement you get the situation that we have now. And that some of the freedoms are more important than others - like freedom to repair, to run for every purpose, and... to actually have a polished piece of software. Do you still think opensource "won"?
In the end it's a free world, or it should be. Also free to decide which license to use. And free from hordes of preachers falling on every mention of Commons Clause.</rant>
[0] https://en.wikipedia.org/wiki/The_Free_Software_Definition#T...
RMS/FSF goal is to protect the rights of end users. Not developers. That's the difference between copyleft and permissive licenses. Commons Clause is neither, and it seems focused on the wrong thing. The problem isn't charging for software; the problem is charging and preventing others from redistribution and access to source code.
As for losing interest in maintaining software, I don't see how Commons Clause helps.
This is simply not what Commons Clause does, you really should read it. Access to the source code is not prevented. And redistribution is not prevented either, on the condition that end users do not sell it. That is all.
> As for losing interest in maintaining software, I don't see how Commons Clause helps.
It helps by allowing someone to actually build a business around their work without fear of "unfair" competition ("unfair" is in quotes because it is legal and in line with FOSS, it just doesn't seem fair to me [0]).
[0] https://onezero.medium.com/open-source-betrayed-industry-lea...