News for hackers. Stuff that matters.
Re:CudaText: Cross-platform code editor by rememberlenny on Friday July 23, 2021 @11:28PM (#27938169)
> Disclaimer: word "cuda" is taken from Serbian language, it means "miracles".

This has to do with a Serbian word and not the Nvidia GPU programming language.

Re:CudaText: Cross-platform code editor by inb4_cancelled on Saturday July 24, 2021 @01:43AM (#27938761)
Weird, the actual serbian word is "čuda", pronounced "chuda", and they're completely ignoring the diacritics.
Re:CudaText: Cross-platform code editor by puszczyk on Saturday July 24, 2021 @07:43AM (#27940056)
In Polish it’s actually “cuda”, without diacritics (same meaning). Regardless, one often ignores diacritics in writing in English/Western context. My last name has “ń”, though all the airlines insist to put “n” there; same with Western European banks. While for some words they maybe ambiguities if you skip the diacritics they are usually resolved by the context. Polish ppl are def used to read a text without diacritics and not surprised by this. (Of course a larger body text is a bit harder/slower to read, but it happens often when text messaging or in a Western context). I don’t know for sure, but I suspect that Serbian is similar.
Re:CudaText: Cross-platform code editor by codetrotter on Saturday July 24, 2021 @09:26AM (#27940768)
> Regardless, one often ignores diacritics in writing in English/Western context

For example I think most people will write the name of the car make Škoda as Skoda.

Re:CudaText: Cross-platform code editor by Symbiote on Saturday July 24, 2021 @11:35AM (#27941787)
I think a lot of this is because, especially historically, people outside Czechia etc didn't know how to type Š. It's an effect of English-speaking countries defining global standards for computers, aviation and so on.

Hypothetically, and with a little exaggeration to make the point, if Sweden had somehow had that global influence in the mid-20th century, the American actress "Raquel Welch" might have been stuck with "Rakuel Velch" in her passport, and Swedish people would wonder why she was annoyed by this.

Re:CudaText: Cross-platform code editor by rollcat on Saturday July 24, 2021 @12:18PM (#27942154)
And that's how, (in my head,) we ended up with the international spelling of "Česko" using the Polish "cz".
Re:CudaText: Cross-platform code editor by shakow on Saturday July 24, 2021 @01:33PM (#27942851)
The “international” spelling is actually the English one. E.g. France and Germany respectively use “tch” and “tsch”, which correspond to the pronunciation in their languages.
Re:CudaText: Cross-platform code editor by desi_ninja on Saturday July 24, 2021 @01:58AM (#27938826)
It hindi language, chuda means 'get f*ckd'.
Re:CudaText: Cross-platform code editor by Symbiote on Saturday July 24, 2021 @04:04AM (#27939182)
Writing ČudaText rather than CudaText would help clarify it's nothing to do with Nvidia.
Re:CudaText: Cross-platform code editor by brundolf on Friday July 23, 2021 @11:39PM (#27938215)
Yeah, I went in thinking I'd see some kind of wild text editor implemented entirely on the GPU
Re:CudaText: Cross-platform code editor by mrweasel on Saturday July 24, 2021 @04:51AM (#27939323)
Or an editor that somehow makes Cuda programming easier.
Re:CudaText: Cross-platform code editor by dsego on Saturday July 24, 2021 @11:19AM (#27941644)
As a croat, I don't think this works. It didn't even cross my mind that it would be miracles, a) because it's plural, b) it's combined with the english word "text", c) would be more correct to spell it with 'ch' and not just drop the diacritic d) it's a noun and not an adjective which would be more suitable.
Re:CudaText: Cross-platform code editor by Ballas on Saturday July 24, 2021 @02:45AM (#27938961)
Cuda is a trademark of Nvidia. I expect the outcome to be the same as if it was named NvidiaText.
Re:CudaText: Cross-platform code editor by thewakalix on Saturday July 24, 2021 @03:36AM (#27939094)
Nvidia doesn’t have any connection to text editors. Can Apple sue people for selling fruit under the name “apple”?
Re:CudaText: Cross-platform code editor by 411111111111111 on Saturday July 24, 2021 @03:41AM (#27939112)
They've essentially done that and won, so.... Yeah?

There was a smallish apple producer (the fruit) that used a red apple with a bite taken out that lost the right to their logo. More recently there was another recipee startup with a pear logo that apple sued

Re:CudaText: Cross-platform code editor by Hallucinaut on Saturday July 24, 2021 @05:41AM (#27939503)
What a broken system. The new blasphemies of the modern age are corporations overstretching into ownership of words representing things older than the language itself.

At least Google had the decency to invent a word (itself a derivative of a word invented by a child).

In the UK the cloud IaaS vendor Skyscape was forced to change name by a certain media company for only part of their name, in an unrelated field.

How about if you want to protect a trademark you don't use a word with real world meaning? What benefit does it give society to give these protections to extant words?

Re:CudaText: Cross-platform code editor by petepete on Saturday July 24, 2021 @07:09AM (#27939868)
Also Microsoft OneDrive used to be known as Microsoft Skydrive and the same company objected.

Wouldn't be so bad if Sky had contributed anything useful to the world in the last twenty years.

Re:CudaText: Cross-platform code editor by beardyw on Saturday July 24, 2021 @07:40AM (#27940037)
Less sport on TV? Actually I do follow F1 through the Channel 4 highlights, but last weekend it was all live from Silverstone. I realised my life is too short for hours and hours (and hours) of coverage. The highlights are perfect. Sorry Sky.
Re:CudaText: Cross-platform code editor by ithinkso on Saturday July 24, 2021 @08:09AM (#27940205)
They also sued polish company a.pl a few years ago because they said it sounds like 'apple' when you read it in english (.pl being of course polish TLD and it is read very differently than 'apple'). Not sure how this was resolved but the site is still up
Re:CudaText: Cross-platform code editor by kernelsanderz on Saturday July 24, 2021 @12:44AM (#27938459)
I clicked thinking it was some NLP project that ran on the GPU.
Re:CudaText: Cross-platform code editor by prvc on Friday July 23, 2021 @11:05PM (#27938079)
>CudaText: Alternative open source version of Sublime Text

Doesn't seem to have any relation to Sublime Text. "CudaText: Free Software alternative to Sublime Text" might be a better title.

Re:CudaText: Cross-platform code editor by Igelau on Saturday July 24, 2021 @12:19AM (#27938361)
Or just text editor
Re:CudaText: Cross-platform code editor by jpe90 on Saturday July 24, 2021 @01:14AM (#27938596)
I'm really impressed with this so far! It's very fast and looks great. The lexer I was able to find within 30 seconds of opening it for the first time highlights Haskell code better than Sublime- I'm not seeing weird syntax errors like I do in Sublime and quasiquoting works correctly.

I immediately miss "Find in files" bound to Control P in Sublime- I didn't see similar functionality in a list of plugins https://github.com/halfbrained/cudatext_plugins_list but I may have missed it.

I've been looking for a go-to lightweight editor so I'll keep trying it out. I know some people will disagree but it doesn't quite sit right with me that Sublime charges $100 and not only relies on the community to maintain plugins, but charges those plugin maintainers as well (if they don't want to get hit with nag messages). I don't think that's really working out.

Edit: Title referred to this editor as "open source version of sublime" at the time of the writing of this comment

Re:CudaText: Cross-platform code editor by AlexeyTor on Sunday July 25, 2021 @01:44PM (#27951259)
The FindInFiles plugin is mentioned in that plugin list. Version 4 is better than 3.
Re:CudaText: Cross-platform code editor by KMnO4 on Friday July 23, 2021 @11:55PM (#27938265)
> It starts quite fast: ~0.3 sec with ~30 plugins, on Linux on CPU Intel Core i3 3Hz.

That is impressive!

Re:CudaText: Cross-platform code editor by toredo on Saturday July 24, 2021 @01:06AM (#27938557)
Yes, especially the 3Hz. Basically, that means the editor is loaded in 1 cycle.
Re:CudaText: Cross-platform code editor by jerf on Saturday July 24, 2021 @01:17AM (#27938610)
CISC vs. RISC, bah! My text editor is implemented as a single CPU opcode! It's KiloMegaGigaTeraCISC.

You should see the silicon that implements the web browser instruction. KMGTCISC may not dispatch many ops per second, but what ops they are!

Re:CudaText: Cross-platform code editor by robertlagrant on Saturday July 24, 2021 @04:01AM (#27939165)
Implementing the LoadCudaText opcode has proven surprisingly useful.
Re:CudaText: Cross-platform code editor by AlexeyTor on Sunday July 25, 2021 @01:45PM (#27951267)
Fixed the homepage text. Thanks.
Re:CudaText: Cross-platform code editor by dflock on Friday July 23, 2021 @11:46PM (#27938234)
Just gave this a quick try out. It's really pretty great!

It's become my new default "occasional/quick" editor. I use VSCode for work & as my "main" editor. But when I just want to edit a file, quickly - using a GUI editor, but without all the baggage/projects/etc... this is it.

Re:CudaText: Cross-platform code editor by etaioinshrdlu on Friday July 23, 2021 @10:48PM (#27938006)
A little disappointed it is not massively parallel text-processing on GPUs...
Re:CudaText: Cross-platform code editor by ta988 on Friday July 23, 2021 @11:12PM (#27938096)
The page says it: Disclaimer: word "cuda" is taken from Serbian language, it means "miracles".
Re:CudaText: Cross-platform code editor by bubblethink on Friday July 23, 2021 @10:50PM (#27938014)
Yeah, a bit odd to use cuda in the name since it's such a specific thing.
Re:CudaText: Cross-platform code editor by macksd on Friday July 23, 2021 @11:12PM (#27938098)
They explain: "Disclaimer: word "cuda" is taken from Serbian language, it means "miracles"."

Right or wrong, I wouldn't be too surprised if they got a nastygram from NVIDIA's legal department at some point.

Re:CudaText: Cross-platform code editor by AlexeyTor on Sunday July 25, 2021 @01:47PM (#27951283)
When this will happen, I will rename the app to CudeText. I am the developer.
Re:CudaText: Cross-platform code editor by macksd on Tuesday July 27, 2021 @06:23PM (#27978398)
I'm glad you have a plan - but I hope they leave you in peace!
Re:CudaText: Cross-platform code editor by ta988 on Friday July 23, 2021 @11:10PM (#27938091)
Written in Free Pascal? Fun we don't see that often.
Re:CudaText: Cross-platform code editor by Rd6n6 on Friday July 23, 2021 @11:30PM (#27938178)
The main reason I use sublime is it’s super fast and uses very little battery. How is this in those respects?
Re:CudaText: Cross-platform code editor by dflock on Friday July 23, 2021 @11:44PM (#27938229)
I just tried it, did some light testing - and it's definitely comparable to Sublime in speed.
Re:CudaText: Cross-platform code editor by Flex247A on Saturday July 24, 2021 @12:22AM (#27938372)
In my experience, CudaText starts up slightly faster.
Re:CudaText: Cross-platform code editor by 8191 on Saturday July 24, 2021 @01:06AM (#27938554)
Unfortunately does not have the search capabilities of Sublime Text. You need a plugin for searching through files, which is a bit awkward to control (bulky key-bindings, strange result panel, etc...). That's the reason why I finally bought Sublime Text.
Re:CudaText: Cross-platform code editor by AlexeyTor on Sunday July 25, 2021 @01:49PM (#27951304)
The plugin can be improved, it is open source. FindInFiles does it’s job good, though.
Re:CudaText: Cross-platform code editor by dang on Saturday July 24, 2021 @12:24AM (#27938381)
A past thread from 2017:

CudaText: A lightweight, cross-platform code editor - https://news.ycombinator.com/item?id=13851189 - March 2017 (44 comments)

Re:CudaText: Cross-platform code editor by nope96 on Saturday July 24, 2021 @12:07AM (#27938316)
Re:CudaText: Cross-platform code editor by Igelau on Saturday July 24, 2021 @12:15AM (#27938348)
Wow, that animated cheetah is really giving me those late 90s vibes
Re:CudaText: Cross-platform code editor by nope96 on Saturday July 24, 2021 @02:13AM (#27938880)
Re:CudaText: Cross-platform code editor by Bigpet on Saturday July 24, 2021 @02:09AM (#27938866)
Neat. From the features it looked like it could've finally replaced wxMedit as my general purpose editor.

But alas there's a couple of things not quite working for me.

* re-interpreting a files encoding as UTF-16/UTF-8 doesn't seem to switch it for some reason

* no hex mode search and replace (sure you can use regex escape codes, but that's more a workaround than a solution)

* re-opening pngs/jpg other images in hex mode require re-opening the file, just dragging it into the window

* couldn't find the "search/replace in files"

Re:CudaText: Cross-platform code editor by AlexeyTor on Monday July 26, 2021 @12:02PM (#27961108)
I cannot understand what your items 1, 2, 3 mean (item 4 means you didn't find the plugin FindInFiles). Please file an issue in the Github, so we can talk.
Re:CudaText: Cross-platform code editor by AlexeyTor on Sunday July 25, 2021 @01:52PM (#27951318)
FindInFiles plugin exists in addons. About other issues: I will check them, but you can also file a bug report on GitHub.
Re:CudaText: Cross-platform code editor by daptaq on Saturday July 24, 2021 @02:36AM (#27938936)
If you want all of that, and more, there is always Emacs :)
Re:CudaText: Cross-platform code editor by wsc981 on Saturday July 24, 2021 @02:47AM (#27938967)
But why install a whole OS if all you need is a text editor?
Re:CudaText: Cross-platform code editor by Santosh83 on Saturday July 24, 2021 @12:08AM (#27938324)
Tangentially related: does Object Pascal (the language CudaText is written in) have comparable memory safety to say Rust?
Re:CudaText: Cross-platform code editor by pkphilip on Saturday July 24, 2021 @10:26AM (#27941196)
Freepascal is similar to C++ in that it requires the programmer to allocate and deallocate memory if you are using pointer objects.
Re:CudaText: Cross-platform code editor by kseistrup on Saturday July 24, 2021 @10:26AM (#27941190)
What is the relation to

    https://aur.archlinux.org/packages/cudatext-qt5-bin/
    https://aur.archlinux.org/packages/cudatext-gtk2-bin/
that is sold as “Cross-platform text editor, written in Lazarus”, but links to an entirely different URL?
Re:CudaText: Cross-platform code editor by nh2 on Saturday July 24, 2021 @12:20PM (#27942175)
That's the same software with different UI backends.

If you click the "entirely different URL", it redirects to the HN post's URL. The AUR URL is apparently the URL of the author's company, and I guess that the editor moved to its own URL now.

Re:CudaText: Cross-platform code editor by kseistrup on Saturday July 24, 2021 @12:26PM (#27942236)
Thanks!
Re:CudaText: Cross-platform code editor by bluepoint on Saturday July 24, 2021 @01:21AM (#27938637)
Interestingly enough there is no arm version for mac, but there is a version for Haiku.
Re:CudaText: Cross-platform code editor by cwp on Saturday July 24, 2021 @01:52AM (#27938800)
That's open source for you. I once worked on a project that had RiscOS as a first-class platform, and I was pretty sure that the maintainer was the only user of RiscOS in the world.
Re:CudaText: Cross-platform code editor by legends2k on Saturday July 24, 2021 @10:08AM (#27941057)
Good to see a light weight editor. Another bloat-free editor I've my eye on is lite [1].

[1]: https://github.com/rxi/lite

Re:CudaText: Cross-platform code editor by geokon on Saturday July 24, 2021 @06:27AM (#27939702)
A bit tangential.. but can anyone recommend some good resources on writing a (emacs-like) text editor? I'm curious how they look architecturally
Re:CudaText: Cross-platform code editor by teddyh on Saturday July 24, 2021 @12:26PM (#27942239)
You want this:

The Craft of Text Editing

—or—

Emacs for the Modern World

–by–

Craig A. Finseth

https://www.finseth.com/craft/

Re:CudaText: Cross-platform code editor by geokon on Saturday July 24, 2021 @12:59PM (#27942513)
looks awesome. thank you
Re:CudaText: Cross-platform code editor by e3bc54b2 on Saturday July 24, 2021 @09:31AM (#27940791)
Maybe uEmacs source[0] will help? Torvalds still uses it according to his last interview..

[0] https://github.com/torvalds/uemacs

Re:CudaText: Cross-platform code editor by stoicjumbotron on Saturday July 24, 2021 @03:04AM (#27939013)
Is there any good guide on how to set up LSP for autocomplete for react/jsx or plain js in CudaText? I really want to give this a try.
Re:CudaText: Cross-platform code editor by AlexeyTor on Tuesday July 27, 2021 @11:53AM (#27973894)
Re:CudaText: Cross-platform code editor by rajandatta on Saturday July 24, 2021 @07:41AM (#27940048)
Anyone known if CudaText has features to edit Lisp or Scheme family of languages? Will be checking out the project.
Re:CudaText: Cross-platform code editor by AlexeyTor on Sunday July 25, 2021 @01:56PM (#27951348)
Yes, both lexers are present in the Addons Manager.
Re:CudaText: Cross-platform code editor by scambier on Saturday July 24, 2021 @10:45AM (#27941375)
There a Lisp lexer, and that's it, it seems.
Re:CudaText: Cross-platform code editor by olivertap69 on Saturday July 24, 2021 @10:47AM (#27941400)
Yes