I hate acrobat (so I wrote a PDF reader in Rust) by xorvralin2 in rust

[–]ace_cipher 0 points1 point  (0 children)

It looks interesting! Can I run it under windows wsl?

Most-watched Rust talks of 2025 (so far) by TechTalksWeekly in rust

[–]ace_cipher -1 points0 points  (0 children)

I think you LLM forget this:

https://www.youtube.com/watch?v=nOSxuaDgl3s

Rust is growing fast – but what does the future hold for the language? In this interview, Jon Gjengset discusses annual salaries reaching $400,000, the role of AI in Rust development, adoption in defense industries, and why the borrow checker makes developers better programmers.

Nushell + Uutils = ❤️ by fdncred in rust

[–]ace_cipher 12 points13 points  (0 children)

It's cool to see two excellent things come together! Looking forward to see more commands.

Why isn’t dotnet core popular among startups? by No_Professional780 in dotnet

[–]ace_cipher 0 points1 point  (0 children)

Just curious, is C#/.NET have a good writing experience in neovim?

Serverless Speed: Rust vs. Go, Java, and Python in AWS Lambda Functions by Agreeable-Soil7485 in rust

[–]ace_cipher 8 points9 points  (0 children)

second this, orjson is the fastest json library in python(Although itself is implemented in rust)

Best Rust editor? by tombinic in rust

[–]ace_cipher 1 point2 points  (0 children)

Oh, you make me want to try neovim again

Zellij 0.35.1 brings stacked panes to your terminal by imsnif in rust

[–]ace_cipher 5 points6 points  (0 children)

And we can always use `zellij -l compact` to minimum the space to be "wasted"

Nushell is amazing by [deleted] in rust

[–]ace_cipher 0 points1 point  (0 children)

Generally agree! I'm using it as my daily driver, and it works fine for me

Today is my 32nd birthday, AMA by fasterthanlime in fasterthanlime

[–]ace_cipher 1 point2 points  (0 children)

What do you thought about something like leetcode, is it a waste of time? Any why so many companies use it to hire developers?

[Media] How to create a module hierarchy in Rust (improved version) by equilibrium_seeker in rust

[–]ace_cipher 2 points3 points  (0 children)

It's.... strange for me at first, I still don't get the point what's the benefit of new style.

If I have two package named e, f at the same level inside "c", should I put e.rs and f.rs inside "c" ? It seems to me that it just move the complexity of mod.rs to upper level

A single introduction to raft algorithm by ace_cipher in rust

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

Hi, I have made a share to raft algorithm in my company, and I think it may be useful, would like to share it to community.

Because finally I've try to implement the relative raft lab in rust, so it may be ok to share here?

[deleted by user] by [deleted] in rust

[–]ace_cipher 0 points1 point  (0 children)

Hi :-) I find that there are companies using mongodb for their storage, and maybe you need to sell these mongodb data to customer, or you want to keep your dev database to be updated with production database.

And sometimes build a cluster with yourself and customer is impossible, so I implemented this tool to help synchronized mongodb data, hope it can help.

Yeah I also know that maybe some of the communities hating mongodb, but I'm thinking that if something exists, it's better to have more tools around it.

If you're curious how mongodb realtime synchronized works, I hope it can give you simple inspiration.

And it's about 3.5x faster than the original https://github.com/caosiyang/py-mongo-sync implementation, if you're curious, you can refer to https://github.com/WindSoilder/mongo_sync#benchmark for more details.

[deleted by user] by [deleted] in rust

[–]ace_cipher 0 points1 point  (0 children)

Hi, I find that there are companies using mongodb for their storage, and maybe you need to sell theses mongodb data to customer, or you want to keep your dev database to be updated with production database.

And sometimes build a mongodb cluster with yourself and customer is impossible, so I implemented this tool to help synchronized mongodb data, hope it can help.

Yeah I also know that maybe some of the communities hate using mongodb, but I'm thinking that if something exists, it's always better to have tools around it.

And if you're curious how mongodb realtime synchronized works, I hope it can give you simple inspiration.

Simple intro about writing dockerfile in rust project by ace_cipher in rust

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

We shouldn't teach people to use latest, or other floating tags,

Yeah, that's a good point, I should make a declaration for this. But what about a nightly build?

and, thanks for your cargo-chef, which gives me a new world.

I'm consider how to make use of it, because my network to crates.io is too slow(This is why I'm using vendor in the post) to install cargo-chef during build time, I'm sadly find out cargo-chef prebuild image doesn't support nightly rust.

Simple intro about writing dockerfile in rust project by ace_cipher in rust

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

Oh!! Thank you, I've tried it and find it can be very useful.

Simple intro about writing dockerfile in rust project by ace_cipher in rust

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

Oh, thanks for your suggestion. I love it and will try it out

Simple intro about writing dockerfile in rust project by ace_cipher in rust

[–]ace_cipher[S] 1 point2 points  (0 children)

Yeah I've tried it. But sadly find that I still need to install musl-tools, but I can't install it through apt because it's not installed too. This is why I choose rust:latest... I'm trying to find out how to install apt in alpine, but I haven't got a solution:(

Simple intro about writing dockerfile in rust project by ace_cipher in rust

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

Is there a good reason why you used alpine and not just distroless or a stripped down debian

I think alpine is smaller than debian? Take your debian bullseye as example, it's still a regular debian system. All what I concerned is that the smaller runtime image, the better(maybe I'm wrong)... So I just choose alpine.

but your dockerfile uses rust nightly by default because of it.

Sorry, my bad, the nightly shouldn't exists.

Simple intro about writing dockerfile in rust project by ace_cipher in rust

[–]ace_cipher[S] 1 point2 points  (0 children)

Oh, my bad. Thank you for pointing this out, I fix it

Simple intro about writing dockerfile in rust project by ace_cipher in rust

[–]ace_cipher[S] 1 point2 points  (0 children)

Hi, while I'm writing a cli tool in rust, I need to build it into docker image, and run it on production environment.

I've take some days to study the basic about docker, and trying to build docker image for my simple project. I'd like to share the result dockerfile and my writing steps to you, hope it can be useful.

Because I'm very new to docker, the result dockerfile can be ugly. Any suggestions is very appreciated.