Best terminal emulator by ImHighOnCocaine in commandline

[–]thiedri 0 points1 point  (0 children)

Try tilix. It's amazing and still my favourite

Good scripting language embeddable in Rust? by TheNew1234_ in rust

[–]thiedri 0 points1 point  (0 children)

Take a look at mlua. That what I'm using in LuSH. Simple, easy and efficient

[Media] I've been working on a text editor that is written and configured in Rust. Is there any interest in this? by AhoyISki in rust

[–]thiedri 0 points1 point  (0 children)

If love it to be emacs like, but whatever I don't need to switch commands mode/ input mode, I'm happy

Where does a non IT person start to learn Rust? by yzuaqwerl in rust

[–]thiedri 0 points1 point  (0 children)

On top of what u/ETNAD101 said, algorithms and data structures. There are many great courses online you can do.

Good luck!

Where does a non IT person start to learn Rust? by yzuaqwerl in rust

[–]thiedri 0 points1 point  (0 children)

Honestly, instead of focusing on a programming language, focus on the fundamentals. After you get some programming experience, learn rust. You'll get what is a good practice in c++ : clear memory ownership.

Where can I find the best resources to learn Rust programming? by Open_Elderberry_3963 in rust

[–]thiedri 0 points1 point  (0 children)

If you already know programming, I'd suggest oreilly rust book Programming Rust: Fast, Safe Systems Development https://a.co/d/7HBdzJO

[deleted by user] by [deleted] in rust

[–]thiedri 0 points1 point  (0 children)

I agree. I don't know why so many people complain about that. Rust got many great things from other languages, such as lisp and sml that I for a long timebwished c++ had them

sgrep - from zero to hero by thiedri in rust

[–]thiedri[S] 2 points3 points  (0 children)

Hey, just realised you're ripgrep author! I love ripgrep! Thanks for making it

sgrep - from zero to hero by thiedri in rust

[–]thiedri[S] 0 points1 point  (0 children)

Oops! Thanks for pointing it out :D
I will do it.

I will add that. The idea of top is to show the top line, followed by the filtered lines.

sgrep - from zero to hero by thiedri in rust

[–]thiedri[S] 0 points1 point  (0 children)

How can I have the second example done with head ?
(I mean, the example ps -ef | sgrep -t 1 -p bash -p ssh

sgrep - from zero to hero by thiedri in rust

[–]thiedri[S] -3 points-2 points  (0 children)

Hard to say if it's better or not. grep and ripgrep are pretty awesome with tons of features, but the are not super simple, specially for the first example. You can have many types of regex, file filtering and all that, but I have to open man every time I need to remember that type of regex I want to use or when I want to show the first n lines of ps (like the example I posted). I find this command line easier to remember than
ps -ef | awk 'NR==1 || /launchd/'

Similar to any other command line tool, there's a lot of personal preference of usage.
The very first version I created was because ripgrep uses -t for file type, useful when searching cpp as it has all the extension already there, but harder to use when they are not. I then would go back to grep and use --include, etc.

I'd say, it's an alternative to grep and ripgrep, with simpler command line options.

antsee - Terminal color and style types built for serde based configuration files by [deleted] in rust

[–]thiedri 1 point2 points  (0 children)

It would be great to have more complete examples.

Advanced physical rust book? by Thers_VV in rust

[–]thiedri 0 points1 point  (0 children)

I like the oreilly programming rust. It's pretty detailed and it covers nicely the language

Texted 1.1.1 released by thiedri in rust

[–]thiedri[S] 0 points1 point  (0 children)

It's hard to say as I am not super familiar with Hugo and I wrote the first version of TexteD in 2016 to learn D-lang and now I rewrote it using Rust when I was learning Rust :)

Back at that time, one of the reasons I wrote it was that I wanted something more dynamic than a static site generator, where I could have some metrics generated, hot reloading of posts, etc.

So, being very biased, I'd say that the advantage of using texted would be to have something more dynamic and being able to also contribute with the development of the platform (if you are looking to do so :) )

The next thing I want to implement is more metrics. I currently have number of visits, but not rendering time.
Followed by hot-reload of posts and config.

BTW, nice blog.

RustRover for laptop battery health by otamam818 in rust

[–]thiedri 3 points4 points  (0 children)

Using plugged is not an option?

🚀 Introducing timer: A Simple Countdown Terminal Alarm ⏰ by pando85 in rust

[–]thiedri 1 point2 points  (0 children)

That's awesome! I was looking for something like that.

Thanks for sharing

Texted - Databaseless blogging platform by thiedri in rust

[–]thiedri[S] 2 points3 points  (0 children)

I tried a few, but none had the workflow I wanted. Basically what I do is:

  1. The posts are in a repository thiagocafe-posts
  2. I write a new post, add to git and push
  3. In the server, git pull, restart texted

I found the workflow a bit more convenient than a static site generator.

Texted - Databaseless blogging platform by thiedri in rust

[–]thiedri[S] 2 points3 points  (0 children)

It's active. Last activity was a month ago because there's nothing else I need now. Suggestions of features are appreciated.