Marginally related, but this is one of the things I'm bullish on ChatGPT for. Too frequently, I've gotten hundreds of lines of malformed textual data that I need to standardize. This is like impossible with REGEX but I can drop it into GPT and it does this wonderfully.
Agreed. It works especially well for formatting where semantics matter, such as separating the term and definitions of flashcards. Hard to do with code, but easy with GPT.
ive done it with transforming data (for example pasting a table in and asking it to turn it into LaTeX) or something and had the occasional issue with it misordering or forgetting things. It didn't take long to spot the error for me though
You could run it through thrice with a different prompt/temperature/model and pick the majority result (or exit with success on the first two passing runs).
Good idea. If the data is a list of records where the order isn't important, randomly permuting them (ETA: then sorting the final outputs) would be another option.
ETA2: Would the downvoter care to explain why? Genuinely puzzled.
I have no idea how Regex became the standard. The syntax is impossible to remember unless you write regex expressions daily. Most people only rarely need regex so it needs to be relearned every time. It is also incredibly unsatisfying to write (and read).
I used it a lot for a few years decades ago, and only use it rarely now. I remember the syntax well and I am not know for having a great memory. I think its terseness suits the extreme focus of its use perfectly.
I tried using ChatGPT (4) for format conversion.
I had a draft yaml file and needed some differently structured json.
Mainly with the same content.
If you just want to change the format it works. If you need more than programming skills it seems too fail duo to the amount of text.
E.g. if you have a list of items and want ChatGPT to generate a meta field which it cannot generate using simple python code it stops after 10 to 20 elements.
Thus at least the cloud version doesn't work so well here.
I also wanted it to help me fill out my i18n file with translations and plural forms. Even thought he got every word correct i needed to split it into multiple requests. Not sure if the api would have worked better (used the web frontend).
For the plural forms I finally added them myself as it was way faster for my natural language than copy pasting all the small chunks. Really hoped for more help there.
hey, if you are search for really seamless i18n with nice DX, check out https://inlang.com – js library, web editor, automation cli & vs code extension are just some of the completely free and open source offerings
Modern .NET is fully open-source with a permissive MIT licence. This includes the compiler and analysers infrastructure (Roslyn), the package manager (Nuget), and even the shell language (PowerShell).
It is a superb alternative to Java, Go, and similar languages. Why is using .NET on Linux or MacOS such a weird thing?
Agree. While I completely understand and respect anyone's reasons to not use any piece of tech, always we talk about .net I find funny that the main reason to not use it is that "it comes from M$$$$44". That's all the technical analysis.
In my experience, is as great as any other backend stack for UNIX. But, hey! If anyone wants to ban a piece of software on their systems for whatever random reason, they're free to do that. Luckily they have tons of alternatives from companies with great sense of ethics (Go, Swift, Java, ...)
Developing a .NET CRUD webapp on Mac using Rider, ASP.NET + EF Core and PgSQL.
Deploying on Debian Linux behind a reverse proxy.
It's a comfy life. Everything (more so than the Java ecosystem) just works.
That said, I still have that nagging fear that Microsoft will do a Microsoft in some way and I'll be forced back onto Windows with all its attendant horrors.
I have a feeling that Microsoft has “let go” of Windows. It has expanded far beyond it and no longer even needs to depend on it as a separate revenue stream.
Some other concerns are raised here. E.g. I wasn't aware that the debugger was licenced restrictively and not under the same permissive licence as the rest of .NET Core.
Well I am quite far into this project using .NET. Hopefully it doesn't get worse.
As far as I know the .net debugger infrastructure is not open source, so unless you are happy to stay within the confines of VSCode, I think that your options are pretty limited for stepping through your code.
i'm currently developing .net apps in neovim with full LSP support, it's lovely. There are definitely alternative debuggers, such as netcoredbg from Samsung
I tried debugging my .net project in VS Codium and can't because the debugger will only run in Microsoft's Visual Studio Code. That was enough to make me second guess putting my eggs in that basket.
reminds me a bit of klogg https://github.com/variar/klogg which is more for log files and based off glogg which went dead. it has nice filtering and highlighting type stuff. It's great for live views of log files.
The MIT license just gives you permission to use the work as published. Normally that work would be in source form, but there is nothing in the MIT license requiring that. In this case, it seems that the authors chose to release the binaries under the MIT license.
It was originally an internal tool, so I would guess either A) he doesn't have permission from all the contributors or B) he used reused code from elsewhere within Microsoft that wasn't open source compatible.
My guess is that it's aimed more at the humanities. Hence the GUI. My experience: in the world of humanities text analysis, there are just a ton of Java programs which were funded by some academic grant. Mostly they are closed source, not updated, might have a horrible GUI, and the website is always written in 8 point font.... Don't hate them for what they are....
44 comments
[ 2.1 ms ] story [ 96.6 ms ] threadETA2: Would the downvoter care to explain why? Genuinely puzzled.
Not to mention, non tech people will now be able to use what once could’ve only been done with cryptic regex.
If you just want to change the format it works. If you need more than programming skills it seems too fail duo to the amount of text.
E.g. if you have a list of items and want ChatGPT to generate a meta field which it cannot generate using simple python code it stops after 10 to 20 elements.
Thus at least the cloud version doesn't work so well here.
I also wanted it to help me fill out my i18n file with translations and plural forms. Even thought he got every word correct i needed to split it into multiple requests. Not sure if the api would have worked better (used the web frontend).
For the plural forms I finally added them myself as it was way faster for my natural language than copy pasting all the small chunks. Really hoped for more help there.
Is a good Linux command line tool in the same genre
It is also a good OS-X/FreeBSD command line tool as well.
Perhaps it might be[0]?
I'm not quite sure how I feel about that however... :-D
0 - https://learn.microsoft.com/en-us/dotnet/core/install/
What's wrong with this? Genuine question.
Modern .NET is fully open-source with a permissive MIT licence. This includes the compiler and analysers infrastructure (Roslyn), the package manager (Nuget), and even the shell language (PowerShell).
It is a superb alternative to Java, Go, and similar languages. Why is using .NET on Linux or MacOS such a weird thing?
In my experience, is as great as any other backend stack for UNIX. But, hey! If anyone wants to ban a piece of software on their systems for whatever random reason, they're free to do that. Luckily they have tons of alternatives from companies with great sense of ethics (Go, Swift, Java, ...)
Love the sarcasm here, heh.
Deploying on Debian Linux behind a reverse proxy.
It's a comfy life. Everything (more so than the Java ecosystem) just works.
That said, I still have that nagging fear that Microsoft will do a Microsoft in some way and I'll be forced back onto Windows with all its attendant horrors.
The current implementation is not as good as what you get from javascript world.
1. https://www.theverge.com/2021/10/22/22740701/microsoft-dotne...
Some other concerns are raised here. E.g. I wasn't aware that the debugger was licenced restrictively and not under the same permissive licence as the rest of .NET Core.
Well I am quite far into this project using .NET. Hopefully it doesn't get worse.
Running .net code on Linux is fine, though.
This is vsdbg (which comes with Visual Studio 2022 and the Microsoft-provided binary of VS Code).
There are alternatives like OmniSharp[1], the debugger shipped with JetBrains Rider, and Samsung's netcoredbg[2].
[1]: https://github.com/OmniSharp
[2]: https://github.com/Samsung/netcoredbg
I've been using Omnisharp for ages, but I could never get netcoredbg working.
Last time I tried te integration with emacs-dap it kept segfaulting for no obvious reason.
But I may give it another try now!
https://superuser.com/questions/706761/textanalysistool-net-...
> I open-source pretty much all my work, but TextAnalysisTool.NET is an exception due to a variety of historical reasons. Sorry about that!
-- https://github.com/TextAnalysisTool/Releases/issues/22
My guess is that it's aimed more at the humanities. Hence the GUI. My experience: in the world of humanities text analysis, there are just a ton of Java programs which were funded by some academic grant. Mostly they are closed source, not updated, might have a horrible GUI, and the website is always written in 8 point font.... Don't hate them for what they are....