Earlier quoted context omitted.
I implemented a pretty simple iOS/macOS text editor using TextKit 2, and it was astonishing how many hacks, workarounds and manual implementations were needed to support even the most basic features. That codebase is the polar opposite of a finely crafted pen, and the ugliness all comes from the API.
That is exactly it. You know what an engineer you are making a system as complex as that? I don't know your codebase but I'm quite aware of TextKit and I can see what a hard and consuming job you must have done. I wish I could see your editor too.
Fine, I'll build my own text editor
171–180 of 264 posts
Re: Fine, I'll build my own text editor
#172Earlier quoted context omitted.
They're asking about a reaction. "What did I say wrong?" is a valid question IMO, even if wrong is subjective, it's part of the question.
Yes thank you! Wouldn't you be confused to see someone getting offended or angry that you have said text editors are beautiful things?
Yes perhaps, but that doesn't mean I need to care why or that I can demand someone explain themselves.
Let it go and you'll feel better!
Re: Fine, I'll build my own text editor
#173Earlier quoted context omitted.
It's amazing just how many stories of Rob Pike seem to show him being both a dick and wrong
He created Go because he believed that the average Google programmer is too stupid to program in C++, and he didn't like Java, the other language created to address this problem.
Now with containers, running Java apps in containers isn't great because of that JVM layer. Memory management, JVM boot time, etc.
There are many things I dislike in Go as a langage but create a high level language that compiles to native makes sense in the cloud hosting/containers world.
Re: Fine, I'll build my own text editor
#174Ironically, VS Code is one of the few programs that feels fast. Meanwhile, Visual Studio feels slow and janky. Between Notepad++ and VS Code, I don't notice much of a difference in performance for what I do.
Browers are one of the few applications these days that are still highly optimized and performant. This is what allowed us to replace Adobe AfterEffects with a custom browser-based renderer. We've seen a 10x performance improvement in some cases: 2mins (Browser) vs 20mins (AfterEffects).
Re: Fine, I'll build my own text editor
#175Earlier quoted context omitted.
[flagged]
Don't stress about it. The other day there was a thread about public bathroom descriptions and someone said "wow this has a countdown timer before the doors automatically open, how stress inducing" and I wrote "shit or get off the pot". Now overall it's a well up voted comment but occasionally can see someone taking it down a point. What a psychological mystery. A normal person sees a humorous quip and either chuckle…
Re: Fine, I'll build my own text editor
#176Earlier quoted context omitted.
do you want to share your text editor?
I was planning to. It is 100% vibe coded, the first project I did that way. I'm one of those who've been reading all the code in my major projects. But when I got frustrated with editors and off-handed mentioned to Fable something like "I like Kate, but it has way too many option I will never use" it told me that the core part could be wrapped pretty easily (like 50 lines of C++). So I just said "do it" and have been…
Re: Fine, I'll build my own text editor
#177I love this but, Text editors and IDEs are becoming obsolete. This is not a joke.
I use it all the time in Linux to edit config files.
Re: Fine, I'll build my own text editor
#178Earlier quoted context omitted.
It's amazing just how many stories of Rob Pike seem to show him being both a dick and wrong
He created Go because he believed that the average Google programmer is too stupid to program in C++, and he didn't like Java, the other language created to address this problem.
Re: Fine, I'll build my own text editor
#179Earlier quoted context omitted.
I just assume that downvotes without explanation just mean that I am right and that has somehow made someone unhappy. Unless I've been deliberately bait-y, which does sometimes happen, of course. Sometimes I reread later I realise that I've come across in an unpleasant manner that I did not intend, or I misunderstood and my comment is irrelevant, necessary, or occasionally just plain wrong. The real fun comes when yo…
Hah. Yes. The one-dimensional up/down mechanism leaves a lot to be desired. Your response could be so wildly engaging that literally everyone on HN has voted on it; so controversial that the masses and the bots are evenly split between loving and hating it; and so immaculately well-written that no one can think of anything to add or to counter it with which wouldn't embarrass themselves. That's usually what I tell my…
Re: Fine, I'll build my own text editor
#180For some reason on all the canvas based demos, the text cursor is displayed on the line below where actual text insertion happens (at least on Safari). Canvas-based text editor is definitely hard-mode