News for hackers. Stuff that matters.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jackfoxy on Monday September 04, 2023 @09:00PM (#37386714)
I would certainly accept this vulnerability in order to have Notepad++ on Linux. Nothing like it.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by rpgwaiter on Monday September 04, 2023 @09:30PM (#37386877)
What does nppp give you that vscode, sublime, or the gnome editor doesn't?
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by gmiller123456 on Monday September 04, 2023 @09:37PM (#37386920)
Simplicity. I use VSCode when working on a project, but if I just need to edit a single file I use NPPP.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by TylerE on Monday September 04, 2023 @09:48PM (#37386977)
What’s wrong with doing that in sublime? If you don’t install a bunch of kids it’s very minimal.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jay_kyburz on Monday September 04, 2023 @10:09PM (#37387089)
Sublime pissed a lot of people off when they started nagging v3 user to upgrade to v4, then when you do, they nag you to pay again.

I also got tired of how the package manager worked. Whenever I was setting up a new install, I could never remember what combination of packages I needed to install to get everything to work how it used to.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by dralley on Monday September 04, 2023 @11:11PM (#37387415)
Just copy the configuration files and extensions out of the directory where they're installed. Or use sync functionality.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by prepend on Monday September 04, 2023 @11:27PM (#37387505)
N++ is just simpler.

There are ways to avoid sublime’s annoyances. But N++ doesn’t annoy.

Although if you have sublime installed and running the way you like it, you probably don’t need N++.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by kcartlidge on Tuesday September 05, 2023 @11:42AM (#37393275)
> I also got tired of how the package manager worked. Whenever I was setting up a new install, I could never remember what combination of packages I needed to install to get everything to work how it used to.

This is one of the things VS Code does quite well. Stick a recommended extentions file in your repo root and anyone who pulls it gets automatically offered the chance to install them.

(View -> Command Palette -> search for "Recommended Extensions")

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by crosvenir on Monday September 04, 2023 @09:52PM (#37387001)
Vscode? Near instant start times. Macros? Standard column select with just alt.

Sublime? Honestly I can't remember as it's been a while since i used it.

Gedit? 100s ROM standard text operations such as line trims, case replacement, line ending replacement, find in files, replace in files, replace via regex in files, split window of same file, auto save non-saved files, show whitespace from tool bar, opening of very large files quickly, code folding, line numbers shown by default, probably wouldn't print errors when executed in the background on a fresh or updated install for the last 10 years necessitating the redirecting of all output streams thereby hiding possible issues.

And I actually kinda like gedit...

Waiting for the "if we'd all just use emacs" folks to show up.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jay_kyburz on Monday September 04, 2023 @10:06PM (#37387077)
Try Kate. Its great!
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by kjs3 on Tuesday September 05, 2023 @12:04AM (#37387712)
Vi, you despicable emacs heretic.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jackfoxy on Monday September 04, 2023 @09:58PM (#37387031)
VsCode, or Codium, which is what I use, does not have a macro facility. That for me is the killer feature of Notepad++. I have no experience with the other editors, but I suspect they also have no macro capability, or if they do it doesn't measure up.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by westurner on Monday September 04, 2023 @10:38PM (#37387251)
- Microsoft/vscode#4490: "Macro recording" (2016-) https://github.com/microsoft/vscode/issues/4490

It looks like there are a number of vscode extensions for recording macros:

- https://www.google.com/search?q=vscode+macro+recorder

- https://marketplace.visualstudio.com/search?term=Macro&targe...

- the macro-commander README explains its JSON-based macro language. YAML might be easier to maintain than JSON. https://github.com/jeff-hykin/macro-commander#what-are-some-...

For teams with multiple editors, you can specify workflow automation scripts with shell scripts, or e.g. hubflow, or CI container/cmd YAML, and/or a pre-commit.yml instead of with an IDE-specific tool.

Isn't there native real-time collaboration functionality in vscode/vscodium that would be useful for a native macro recording feature? (Edit) Live Share can't be installed in vscodium. https://github.com/VSCodium/vscodium/issues/128

Support for jupyter-collaboration Y.js CRDT RTC could be added to vscode-jupyter and/or a more generic extension: "Support for real-time collaboration in the extension?" https://github.com/microsoft/vscode-jupyter/discussions/1293...

jupyterlab/jupyter-collaboration: https://github.com/jupyterlab/jupyter-collaboration

And then vscode sessions and thus macros could be recorded from ide events and appended to a jupyter_ydoc: https://github.com/jupyter-server/jupyter_ydoc

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by billti on Monday September 04, 2023 @10:35PM (#37387240)
I find the Vim extension for VS Code has macro support that is good enough for most of my use cases (if you’re a fan of Vim key bindings - obviously).

https://github.com/VSCodeVim/Vim/blob/master/ROADMAP.md#repe...

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by vlovich123 on Monday September 04, 2023 @10:14PM (#37387113)
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by 29athrowaway on Monday September 04, 2023 @09:51PM (#37386998)
notepadqq
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by jackfoxy on Monday September 04, 2023 @09:55PM (#37387019)
Took a look at it and rejected it pretty much out of hand...don't remember why, but IIRC it doesn't fully implement macros among other things.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by justin_oaks on Monday September 04, 2023 @11:25PM (#37387495)
I use notepadqq. It does most things I use Notepad++ for in Windows.

That said, I'll switch to Vim for serious text manipulation or an IDE for coding.

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by armchairhacker on Monday September 04, 2023 @10:25PM (#37387184)
Maybe there are power features or something which makes Notepad++ better, but for my usage Kate (https://kate-editor.org/) fits the same niche.

Fast startup and good UI for quick edits on individual files. But it has enough features to technically be an IDE (including LSP integration apparently)

Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by pyeri on Monday September 04, 2023 @11:28PM (#37387512)
Also don't forget geany! It is pretty much the Notepad++ of Linux Desktop world I think.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by kcartlidge on Tuesday September 05, 2023 @11:37AM (#37393170)
Kate renders nicely, performs fluidly, opens fast, and never lets you down. I use Notepad++ on Windows as it's work-approved, but Kate where I can.
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by eru on Monday September 04, 2023 @10:51PM (#37387309)
What about Wine?
Re:Multiple Notepad++ Flaws Let Attackers Execute Arbitrary ... by pyeri on Monday September 04, 2023 @11:32PM (#37387537)
> In this case, there are 4 bugs. One causes N++ to write 1 to 3 bytes past the end of a buffer, the other bugs cause N++ to read some bytes past the end of heap objects, even the researchers aren't sure how they could be exploited.

Honestly, if you go down to the C level of buffers and stack overflows, I think most modern day GUI apps will come up with some bug or other. It's almost like torturing the data to come up with the conclusion you want, EVENTUALLY it is bound to yield you something!