| Post Reply | RetroFed Forum Forum Index
» Opensource
Page 1 of 2 Goto page 1, 2 Next Last » |
| Author | Message | ||
|---|---|---|---|
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Seriously! According to the This started a couple days ago when a friend of mine alerted me to the fact that the official tldr repo now takes ai contributions for their pages (aka the cheat sheet files that are printed) and for the actual program code. She then showed me a repo called ethical-tldr which does not allow for the use of ai contributions in the pages or program code. However, their even though their client doesn't allow vibe coding, it is still written in Python, which itself takes ai contributions. So, I decided to learn C from scratch and make my own tldr client that's faster and better than theirs in *every way! Introducing cldr! I am especially proud of the list and search functionality because the interface is just gorgeous. Note, ABSOLUTELY NO AI was used in the making of this, I learned and wrote everything on my own in just the past 3 days, I don't think I even copied much or any code from websites. *There's still like two things I haven't implemented that the official client does, but they're very minor and I'd be willing to bet that 99% of you won't know the difference.
|
||
| 187 Original | |||
|
Logi
lemmy.world
logi@lemmy.world Joined: 2023-06-08 |
So... C code is faster than python. We knew that. Thanks for the better performing rewrite. Now do it in rust 🤓 |
||
| 26 | |||
|
Logi
lemmy.world
logi@lemmy.world Joined: 2023-06-08 |
What your project desperately needs is a description of what it does. I had to follow the links to ethical-tldr back to the original tldr to see what it's supposed to do. |
||
| 76 | |||
inari
piefed.zip
inari@piefed.zipJoined: 2026-02-07 |
This is an instance of that recurring trope of coding something better out of pure spite |
||
| 54 | |||
inari
piefed.zip
inari@piefed.zipJoined: 2026-02-07 |
So... C code is faster than python. We knew that. Thanks for the better performing rewrite. Now do it in rust 🤓
Looks like someone did that https://github.com/tldr-pages/tlrc |
||
| 28 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
What your project desperately needs is a description of what it does. I had to follow the links to ethical-tldr back to the original tldr to see what it's supposed to do.
Ohh! That's a good point! Thanks! I just updated the README to provide an actual description. |
||
| 53 | |||
|
esa
discuss.tchncs.de
syklemil@discuss.tchncs.de Joined: 2024-12-16 |
You might want to have a glance at the OpenSSF compiler hardening guide, and maybe try out ASAN ( E.g. I get
|
||
| 20 | |||
|
esa
discuss.tchncs.de
syklemil@discuss.tchncs.de Joined: 2024-12-16 |
Looks like someone did that https://github.com/tldr-pages/tlrc
There's also https://github.com/tealdeer-rs/tealdeer |
||
| 28 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
You might want to have a glance at the OpenSSF compiler hardening guide, and maybe try out ASAN (-fsanitize=address). E.g. I get [nobody@bb14e99a9c8e cldr]$ ./build/cldr --update --language C. caution: filename not matched: ethical-tldr/pages.C./*/*.md ================================================================= ==454==ERROR: LeakSanitizer: detected memory leaks Direct leak of 4 byte(s) in...
Ah damn! That's one of the things I had told myself I needed to make sure I checked, but I forgot! Thanks! I'll look into this tomorrow. Like I said, I literally learned C over the last 3 days to make this, so I'm always happy to learn more! |
||
| 18 | |||
|
Creat
discuss.tchncs.de
Creat@discuss.tchncs.de Joined: 2023-06-16 |
There's also https://github.com/tealdeer-rs/tealdeer
In all distros I've recently used this is what gets installed when you install the "tldr" package with the package manager. And for good reason. |
||
| 20 | |||
|
eleijeep
piefed.social
eleijeep@piefed.social Joined: 2025-09-22 |
Really impressive, great job! What resources did you use for learning? |
||
| 31 | |||
Dumhuvud
programming.dev
Dumhuvud@programming.devJoined: 2023-06-11 |
Consider using a different name for the project if you care for searchability. There's already Unicode CLDR Project. |
||
| 23 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
So, I decided to learn C from scratch ... on my own in just the past 3 days Really impressive, great job! What resources did you use for learning?
Mostly just w3. Occasionally I had to look up some stuff for more “niche” use cases, but for the most part I just learned from w3. I already have experience with programming in general, so the hardest part was learning the syntax, and strings… oh god strings are so bad in C, I had to make a new function called strfmt that works like printf but just for returning a formatted string. |
||
| 23 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Consider using a different name for the project if you care for searchability. There's already Unicode CLDR Project.
damn! I guess I should have looked it up before going with the name. I just liked the play on tldr, cldr. |
||
| 11 | |||
Gobbel2000
programming.dev
Gobbel2000@programming.devJoined: 2024-04-03 |
Mostly just w3. Occasionally I had to look up some stuff for more “niche” use cases, but for the most part I just learned from w3. I already have experience with programming in general, so the hardest part was learning the syntax, and strings… oh god strings are so bad in C, I had to make a new function called strfmt that works like printf but just for returning a formatted string.
Do you know about the sprintf function? |
||
| 12 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
You might want to have a glance at the OpenSSF compiler hardening guide, and maybe try out ASAN (-fsanitize=address). E.g. I get [nobody@bb14e99a9c8e cldr]$ ./build/cldr --update --language C. caution: filename not matched: ethical-tldr/pages.C./*/*.md ================================================================= ==454==ERROR: LeakSanitizer: detected memory leaks Direct leak of 4 byte(s) in...
Update to this, ~~I actually just fixed that bug, and ~~I went through the first section of the hardening guide. Changes are now pushed to main and I released v1.2.1 |
||
| 17 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Do you know about the sprintf function?
yes! However, I found it very frustrating to use and it kept leading to ludicrous errors beyond my wildest dreams. So I made my own function that works better and easier. |
||
| 4 | |||
|
muzzle
lemmy.zip
muzzle@lemmy.zip Joined: 2025-06-04 |
damn! I guess I should have looked it up before going with the name. I just liked the play on tldr, cldr.
Just go with tlcr! |
||
| 9 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Just go with tlcr!
Ohh, not bad! If I feel like I need to change it, tlcr is probably the best option |
||
| 6 | |||
|
Artemis_Mystique
lemmy.ml
Artemis_Mystique@lemmy.ml Joined: 2023-08-02 |
C ftw, but seriously, calling an entire language(python) AI slop is going too far, though I will admit python has been responsible for slop code even before LLMs. |
||
| 2 | |||
|
Ace! _SL/S
ani.social
AceSLS@ani.social Joined: 2023-11-10 |
So... C code is faster than python. We knew that. Thanks for the better performing rewrite. Now do it in rust 🤓
Already exists and isn't vibecoded https://github.com/tealdeer-rs/tealdeer |
||
| 12 | |||
|
esa
discuss.tchncs.de
syklemil@discuss.tchncs.de Joined: 2024-12-16 |
In all distros I've recently used this is what gets installed when you install the "tldr" package with the package manager. And for good reason.
I'll admit I have no idea what makes one of the Rust implementations preferable over the other. Nor can I go looking at the code myself now that GitHub has hosed itself again |
||
| 5 | |||
|
kibiz0r
midwest.social
kibiz0r@midwest.social Joined: 2023-07-14 |
Consider using a different name for the project if you care for searchability. There's already Unicode CLDR Project.
We use CLDR quite a bit — and coincidentally, we often jokingly call it TLDR. |
||
| 3 | |||
Valmond
lemmy.dbzer0.com
Valmond@lemmy.dbzer0.comJoined: 2025-11-13 |
So... C code is faster than python. We knew that. Thanks for the better performing rewrite. Now do it in rust 🤓
Why in rust? I mean it would be less faster, right? If speed is of the essence ofc. |
||
| 0 | |||
|
for_some_delta
beehaw.org
for_some_delta@beehaw.org Joined: 2025-05-23 |
yes! However, I found it very frustrating to use and it kept leading to ludicrous errors beyond my wildest dreams. So I made my own function that works better and easier.
Glad you are enjoying C. As one of my proffesor's espoused, "It is God's language". As a C++ developer, I cannot recommend {fmt} enough. |
||
| 15 | |||
|
sem
piefed.blahaj.zone
sem@piefed.blahaj.zone Joined: 2025-09-04 |
In all distros I've recently used this is what gets installed when you install the "tldr" package with the package manager. And for good reason.
What is the reason? |
||
| 4 | |||
moldy_rice
piefed.keyboardvagabond.com
moldy_rice@piefed.keyboardvagabond.comJoined: 2026-08-07 |
What your project desperately needs is a description of what it does. I had to follow the links to ethical-tldr back to the original tldr to see what it's supposed to do.
And yet, you haven't said it either |
||
| 2 | |||
|
MasterBlaster
lemmy.world
MasterBlaster@lemmy.world Joined: 2023-06-07 |
excellent. however if you are making a point about AI not being as good s a quality developer, you are missing the point. CEOs don't give a shit about quality and effectiveness. it is all about getting rid of labor costs. once all he few remaining providers of service are absorbed, we take what they give and pay through the nose. monthly. |
||
| 4 | |||
|
Jankatarch
lemmy.world
Jankatarch@lemmy.world Joined: 2024-07-12 |
Hell yeah! |
||
| 2 | |||
|
Colloidal
programming.dev
Colloidal@programming.dev Joined: 2025-02-26 |
Thanks for your work! |
||
| 6 | |||
|
Ephera
lemmy.ml
Ephera@lemmy.ml Joined: 2020-05-31 |
And yet, you haven't said it either
It's basically short-form manpages, so it gives you a one-liner to describe what a CLI utility does, and then just lists a few concrete invocations to show off different use-cases for it. One other big difference to manpages, though, is that the actual texts aren't packaged by your distro, but rather downloaded from a server. |
||
| 13 | |||
tomenzgg
midwest.social
tomenzgg@midwest.socialJoined: 2025-01-19 |
I could only wish to be this cool. |
||
| 41 | |||
|
shittydwarf
piefed.ca
shittydwarf@piefed.ca Joined: 2026-05-28 |
|
||
| 20 | |||
|
chunes
lemmy.world
chunes@lemmy.world Joined: 2025-04-08 |
I wish people still had shame. Python isn't for command line utilities that you intend to distribute to others. It's for personal one-off scripts. I mean, FFS, if you're gonna vibecode something, why not pick a fast language? The fact that they can't even tell the LLM to use the right technology shows that they are a complete imbecile |
||
| 7 | |||
communism
lemmy.ml
communism@lemmy.mlJoined: 2024-03-19 |
Why in rust? I mean it would be less faster, right? If speed is of the essence ofc.
Performance of compiled Rust and compiled C are comparable. Of course, compiling Rust is slower though. |
||
| 4 | |||
|
endless_nameless
lemmy.world
endless_nameless@lemmy.world Joined: 2026-01-15 |
Why in rust? I mean it would be less faster, right? If speed is of the essence ofc.
The performance metrics are cool (though unscientific) but speed is definitely NOT of the essence lmfao TLDR is not a high throughput real time application. You run it like once per use, probably at a rate of less than once per day. Then you spend a minute reading the output. We're talking about minutes-per-year time savings here. |
||
| 3 | |||
|
bort
sopuli.xyz
bort@sopuli.xyz Joined: 2024-02-19 |
I wish people still had shame. Python isn't for command line utilities that you intend to distribute to others. It's for personal one-off scripts. I mean, FFS, if you're gonna vibecode something, why not pick a fast language? The fact that they can't even tell the LLM to use the right technology shows that they are a complete imbecile
wat |
||
| 12 | |||
|
potustheplant
feddit.nl
potustheplant@feddit.nl Joined: 2023-08-29 |
Mostly just w3. Occasionally I had to look up some stuff for more “niche” use cases, but for the most part I just learned from w3. I already have experience with programming in general, so the hardest part was learning the syntax, and strings… oh god strings are so bad in C, I had to make a new function called strfmt that works like printf but just for returning a formatted string.
Are you allergic to vowels? |
||
| 3 | |||
|
milk
discuss.tchncs.de
milk@discuss.tchncs.de Joined: 2023-08-11 |
Oh yeah this is bound to be maintained |
||
| 3 | |||
|
kieron115
startrek.website
kieron115@startrek.website Joined: 2024-02-14 |
Already exists and isn't vibecoded https://github.com/tealdeer-rs/tealdeer
I was gonna post this as well, this comes with CachyOS by default. |
||
| 3 | |||
|
kieron115
startrek.website
kieron115@startrek.website Joined: 2024-02-14 |
https://github.com/tealdeer-rs/tealdeer Rust TLDR |
||
| 19 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Dependancies [Optional] wget can be installed for less reliance on other projects using ai, if wget is not found, curl will be used instead Small typo: dependencies. Is curl using AI in its code now? Thanks for your work!
1: thanks! I’ll fix that soon. 2: this is according to the same friend I talked about, but it would be good to double check her knowledge |
||
| 3 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Dependancies [Optional] wget can be installed for less reliance on other projects using ai, if wget is not found, curl will be used instead Small typo: dependencies. Is curl using AI in its code now? Thanks for your work!
Update to my previous comment: 1: Fixed! 2: Yes, it seems like it is! According to the open-slopware repository curl does take ai submissions. |
||
| 7 | |||
|
Colloidal
programming.dev
Colloidal@programming.dev Joined: 2025-02-26 |
Update to my previous comment: 1: Fixed! 2: Yes, it seems like it is! According to the open-slopware repository curl does take ai submissions.
Dang, looks like they went all-in on it. |
||
| 7 | |||
Girl Named ZERO
piefed.zeromedia.vip
girlnamedzero@piefed.zeromedia.vipJoined: 2026-07-29 |
Oh yeah this is bound to be maintained
I intend on maintaining this for as long as I'm able to program |
||
| 5 | |||
|
fruitcantfly
programming.dev
fruitcantfly@programming.dev Joined: 2023-07-01 |
This looks like a colossally bad idea:
In addition,
Per the Makefile, this project is built using GCC. GCC itself accepts AI contributions, provided that the code is "legally insignificant" (meaning less than around 15 lines of code) or is part of test cases: https://gcc.gnu.org/ai-policy.html |
||
| 18 | |||
|
Logi
lemmy.world
logi@lemmy.world Joined: 2023-06-08 |
Why in rust? I mean it would be less faster, right? If speed is of the essence ofc.
Because "rewrite it in rust" is its own meme and needs no particular reasoning. |
||
| 4 | |||
sinwell
infosec.pub
Septimaeus@infosec.pubJoined: 2023-07-09 |
Are you allergic to vowels?
Those are method names in C, so I’m afraid you’ll have to take it up with a guy named Dennis who isn’t very talkative these days. |
||
| 5 | |||
|
potustheplant
feddit.nl
potustheplant@feddit.nl Joined: 2023-08-29 |
Those are method names in C, so I’m afraid you’ll have to take it up with a guy named Dennis who isn’t very talkative these days.
Not sure what you mean. You said that you had to make a new function and decided to call it "strfrm". The standard is actually the opposite afaik. You should be more verbose and not use contractions. Something like "string_format" is far easier to read. |
||
| 4 | |||
darklamer
feddit.org
darklamer@feddit.orgJoined: 2026-02-19 |
I wish people still had shame. Python isn't for command line utilities that you intend to distribute to others. It's for personal one-off scripts. I mean, FFS, if you're gonna vibecode something, why not pick a fast language? The fact that they can't even tell the LLM to use the right technology shows that they are a complete imbecile
Sorry, but you're wrong about this. Python can be an excellent choice for many command line utilities intended for distribution to others. |
||
| 3 | |||
|
chunes
lemmy.world
chunes@lemmy.world Joined: 2025-04-08 |
Python isn't for command line utilities that you intend to distribute to others. Sorry, but you're wrong about this. Python can be an excellent choice for many command line utilities intended for distribution to others.
I don't enjoy making my computer work 20 times harder than it has to |
||
| 2 | |||
| Post Reply |
Page 1 of 2
Goto page
1, 2
Next
Last »
Back to top |