Live data from Hacker News

I can't stand using VSCode so I wrote my own

bold-edit.com

71–80 of 186 posts

Re: I can't stand using VSCode so I wrote my own

#71
The author could try forking and patching VSCode to fix the annoyances manually.

Years ago I had an issue with VSCode: it was missing a small feature that was very important to me, with the GitHub issue stuck in limbo.

I ended up going into the source and implementing the feature myself. It took a few hours after bugfixing, I think the fix was ~100 LOC. Then I used the locally-built version. I recall building took a while, and the source and artifacts took a lot of space, but no other problems.

I also created a PR referencing the issue and it got merged rather quickly. Someone else ended up finishing the work since there were some problems (I think relating to coding conventions, and possible edge cases I didn’t need or handle).

Maybe I was lucky for the feature to not require much edits, and probably for the PR to get taken over and then merged fast. But it seems like the author's issues are also small, and it would be easier and more ergonomic to patch VSCode than to create an entirely new debugger.

Re: I can't stand using VSCode so I wrote my own

#72
post #12
post #6

No offense, but who made this? How did the submitter find this? The Download page has a name but a Google search doesn’t return much. Not that anyone would run a binary just like that, but I do find it interesting.

I hope developers are among the most careful about putting new things on their systems. I hope.

Nah, we can’t work without admin on our system because we need to install 100 programs we’ve never really vetted, a couple of which have been out of support for a decade.

How else are we going to efficiently add 20,000 lines of code we haven’t read as dependencies to our project… this week?

We’d love to do things safer but it’s not in the sprint plan, which plan assumes speed only possible if you use third party tools and code you haven’t properly vetted for basically everything.

Never mind that then you slow to a halt when infosec sees a CVE rate of ten a week against all those packages you had to have, often against ones you’re not even using but are a dep-of—a-dep for some optional functionality you don’t invoke, and now your team spends 80 person-hours a week addressing those and messaging about doing those and having code reviews of one-line dep version bumps and running regression tests and moving them through the deployment pipeline (we’re Responsible and Safe, as you can plainly see, so of course we have at least three multi-step stages to get to deployment, wouldn’t want to be unsafe!), all because we want to “move fast” but also “be safe” (but not at the same time, so the left hand doesn’t know what the right hand’s doing until everything’s already all fucked up)

(Sigh)

Re: I can't stand using VSCode so I wrote my own

#73
post #53

Earlier quoted context omitted.

Turbo Pascal was so fast in the 80s that if I saw a syntax error further down the page it was faster to hit "compile" and let the compiler move the cursor to the error than it was for me to move the cursor myself. It was a very special compiler and they don't make them like that anymore.

It’s crazy that this is still the gold standard

We got outsteped by C and C++ industry adoption, followed by doing everything in interpreted languages.

Finally 30 years later, the pendulum is turning around.

Re: I can't stand using VSCode so I wrote my own

#74

> FOR PERSONAL USE ONLY Since the license says for personal use, I assume that means I can’t use this in a corporate setting? https://bold-edit.com/download

If you interpret this very strictly it could even imply that this editor couldn't be used to say write open source code that's distributed to the public. Basically all you could do with it is write code at home for your own use.

That’s why I ask actually.

Whats the generally accepted legal interpretation for “personal use”.

Re: I can't stand using VSCode so I wrote my own

#76

To be fair, it's not hard to outperform something written in Electron with native code with a factor of ten :) Anyway, this is really impressive, so good job!

Opening a 1GB JSON file and scrolling, editing, and keeping syntax highlighting correct is something that even native text editors struggle with.

With a native editor, like Sublime, it may take a while to become functional, but it will eventually do what I want.

With VS Code, loading in a big file usually crashes it.

Thankfully I don’t have to deal with this as much as I used to.

Re: I can't stand using VSCode so I wrote my own

#77

> FOR PERSONAL USE ONLY Since the license says for personal use, I assume that means I can’t use this in a corporate setting? https://bold-edit.com/download

All my work in a corporate setting is personal use. It's me personally using the software to earn money.

Point is, "personal use" is such a nonsense term.

Re: I can't stand using VSCode so I wrote my own

#78

>I'd tweak the script; then to see the results I would press F5 to run the already built binary and wait over a second EVERY SINGLE TIME (about 1480ms). I put in a bug report for this years ago but it got ignored :( https://github.com/microsoft/vscode/issues/137066 Vscode has gotten slower over time. It's true you can't get nanosecond performance out of JS, but anything under 17ms should be trivial. I believe the vsc…

In my experience, that one-second wait to run a binary that you just built is due to realtime scanning by Windows Security. It's not very bright. It sees a new .exe file and assumes you downloaded it from the Pirate Bay, even though it was written by link.exe. You can disable it as long as Group Policy doesn't dictate otherwise.

Not having an exclusion for a development directory is like using a 10yo machine or using a laptop without the power brick connected: it’s basically leaving half the perf on the table.

Still, a second seems a bit much for a real-time scan.

Post reply on HN