Live data from Hacker News

Notepad++ is 21 years old

learnhub.top

241–250 of 254 posts

Re: Notepad++ is 21 years old

#241

I continue to use Notepad++ despite having tried every other editor and IDE under the sun. This, of course, drives every person completely insane when I explain that my "IDE" is: - Notepad++ for editing, pretty much stock, no plugins - command line for git and grep (Console2 or Git Bash) - File Explorer alongside Everything [0] for navigating files - Beyond Compare [1] for visual diff/merge - WinSCP/PuTTY for SFTP/SS…

I think I'm one of the last people using WSL1. I think everyone jumped to WSL2 because 2 is bigger than 1, but they're really different things. WSL1 lets me keep my files on the Windows side, let's my IDE (PHP storm) remain performant with no Linux to Windows file system overhead, but I still get to use all the Linux CLI tools. I still pay some overhead for that, but it's better than doing it the other way around and…

Have you tried WezTerm? It is a modern, performant, and full-featured cross-platform terminal written in Rust.

https://wezfurlong.org/wezterm/index.html

Re: Notepad++ is 21 years old

#242

Earlier quoted context omitted.

Wsl 2 can access files in windows, but it is very slow.

With the benefit of Linux and its filesystem being super (natively) fast in WSL2. What I've very often done is use command line tools like compilers, search&replace etc inside WSL2, in a Windows terminal. You have the benefits of speed and all the CLI tools of the Linux world. And then have the GUIs, like vscode, running on Windows. Vscode has its server running on the WSL side, so still very good performance. Best o…

That's the crux of the issue. Vscode works ok because you can run it as a server, but other IDEs (yes there are others) are slow.

Re: Notepad++ is 21 years old

#243

Earlier quoted context omitted.

I think I'm one of the last people using WSL1. I think everyone jumped to WSL2 because 2 is bigger than 1, but they're really different things. WSL1 lets me keep my files on the Windows side, let's my IDE (PHP storm) remain performant with no Linux to Windows file system overhead, but I still get to use all the Linux CLI tools. I still pay some overhead for that, but it's better than doing it the other way around and…

I was like you until last year. I did all my development from Emacs on WSL1, writing mostly Windows-specific code (DCOM). I maintained a set of brittle hacks to allow me to drive Windows side CMake and MSBuild straight from Emacs, and then run LSP on compile commands from Clang tricked into thinking it's cross-compiling. It held up surprisingly well. Eventually, I installed a WSL2 distro so I could run Docker, then I…

You run emacs on the Linux side now though, right? So you're probably better off that way.

Re: Notepad++ is 21 years old

#244
post #241

Earlier quoted context omitted.

I think I'm one of the last people using WSL1. I think everyone jumped to WSL2 because 2 is bigger than 1, but they're really different things. WSL1 lets me keep my files on the Windows side, let's my IDE (PHP storm) remain performant with no Linux to Windows file system overhead, but I still get to use all the Linux CLI tools. I still pay some overhead for that, but it's better than doing it the other way around and…

Have you tried WezTerm? It is a modern, performant, and full-featured cross-platform terminal written in Rust. https://wezfurlong.org/wezterm/index.html

I have not. Native mouse and scrollback is one of the important things I want. I'll give it a go, thanks!

Re: Notepad++ is 21 years old

#245
post #156

Earlier quoted context omitted.

At some point you’re in grep/sed/awk/duckdb/streaming data land.

> duckdb Not sqlite, out of curiosity? which do you use when? I'm going to need one of them soon, which is why I'm asking ... FWIW, the aformentioned text editor working with the 200+ MB file could edit the entire thing almost immediately (at the UI level; I don't know what happened in memory). Each record was less than a screen-length, so maybe 100 char/line conservatively, so maybe 2 million lines. iirc I could ins…

Duckdb is better at ingesting big tables and interacting with parquet, arrow, pandas etc directly. Better for analytics workflows. Better = faster and less boilerplate / data conversion code.

Re: Notepad++ is 21 years old

#246

Earlier quoted context omitted.

That's so cool to know! Is there anywhere one can go to read more interesting stats you've collected?

I just prepared some data https://docs.google.com/spreadsheets/d/1C73B9XI14rLxYD_4kedG... we are migrating to Clickhouse so it will be easier to get some interesting stats soon, then from MySQL ;)

Thanks! Hope you publish more stats once you have the new stack in place!

Re: Notepad++ is 21 years old

#247
post #156

Earlier quoted context omitted.

> duckdb Not sqlite, out of curiosity? which do you use when? I'm going to need one of them soon, which is why I'm asking ... FWIW, the aformentioned text editor working with the 200+ MB file could edit the entire thing almost immediately (at the UI level; I don't know what happened in memory). Each record was less than a screen-length, so maybe 100 char/line conservatively, so maybe 2 million lines. iirc I could ins…

Duckdb is better at ingesting big tables and interacting with parquet, arrow, pandas etc directly. Better for analytics workflows. Better = faster and less boilerplate / data conversion code.

Thanks!

Re: Notepad++ is 21 years old

#248
post #247

Earlier quoted context omitted.

Duckdb is better at ingesting big tables and interacting with parquet, arrow, pandas etc directly. Better for analytics workflows. Better = faster and less boilerplate / data conversion code.

Thanks!

Sqlite is better for applications / transactions though.

Re: Notepad++ is 21 years old

#249
post #14

And yet, this text editor too loads the whole file into memory when you open it. No modern text editor really should do that and support files of essentially arbitrary size by loading at most a few gigabytes around the cursor.

How would you calculate line numbers if you did that?

Exactly, not loading the whole file into memory works well only for hex editors.

Re: Notepad++ is 21 years old

#250

Earlier quoted context omitted.

It runs with difficulty on Wine. Example: I have localization for Japanese fonts on my Linux system but it wasn't showing up in Notepad++. I love Notepad++, but that was the final straw. I have switched to Geany which is missing many features from Notepad++, but will display the fonts correctly. I'm sure there's a way to get the fonts loaded up through Wine, but I've given up.

Geany is great, but you can take a look at Kate as well if it doesn't meet all your needs.

Thank you, I will check it out.
Post reply on HN