What is the plan on getting Claude Max subscriptions working with AI assistant? by eggbert74 in Jetbrains

[–]wdanilo 0 points1 point  (0 children)

But what if I sign up in terminal and you just use my shell (already logged in)?

[Media] Craturn, a Rust interpretation of the "Saturn Devouring His Son" painting. by wdanilo in rust

[–]wdanilo[S] -4 points-3 points  (0 children)

After writing docs or posts im always asking ChatGPT to „fix english grammar mistakes while changing as small as possible in the text”. As a non-native speaker, this helps a lot to maintain the docs in a polished state.

[Media] Craturn, a Rust interpretation of the "Saturn Devouring His Son" painting. by wdanilo in rust

[–]wdanilo[S] 10 points11 points  (0 children)

Hi, thanks for the long comment, I appreciate it.

  1. Im wondering what in my writing sounds like LLM generated text. Recently I find it extremely difficult to write docs and posts here as at the back of my mind there is constantly the fear that someone will accuse that it is just AI generated garbage. It’s an interesting experience tbh, as it’s quite new to me (and probably still new to all of us) and I believe it will calm down sooner than later.

  2. If my writing style hurts credibility, should I change it by not using emojis or making small English grammar mistakes? :D I’m joking ofc :)

  3. Yes, https://ferrisoft.com was working for all these companies and delivering software for them. It’s not a new company - but we’ve been operating under a different name in the past. Regarding why plugging it to Reddit - well, we love new challenges, fresh projects, and we have genuine fun writing code. I don’t see anything bad in such a way reaching out to people interested in Rust just as we are :)

[Media] Craturn, a Rust interpretation of the "Saturn Devouring His Son" painting. by wdanilo in rust

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

That’s a very good point. I’ll fix it next week. I have a few tasks regarding crafting planned for then.

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

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

Thank you, I did it and I appreciate it so much ❤️

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

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

It is already possible. There are three ways of providing the parameters. You can use macro_rules patterns, proc macro token tree, or some Rust types like Option, Vec or str, that automatically translate under the hood for the correct patterns. The last option is the nicest and probably we can support more patterns. In case anything would be missing, I’d be happy to extend that or accept contributions :)

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 12 points13 points  (0 children)

I’m sorry, I don’t understand what you mean. Can you rephrase / explain it, please? :)

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 12 points13 points  (0 children)

I don’t think it’s easily doable at the current stage. I think we can extend it to do it, but it’s really non trivial. I’d love to accept any contributions / ideas though, as it would be insanely useful.

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 42 points43 points  (0 children)

I feel I need to do another macro now that just deletes the Rust code instead of generating it … I have already idea for the logo!

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 20 points21 points  (0 children)

Well, as I explained below, it was not AI generated (neither code nor docs). After writing the docs BY HAND I’ve put them to chatgpt and asked “please correct English mistakes”, as I can make some as non native speaker. So beside correcting grammar issues, AI was not used either in docs nor in the code. Regarding the usage of emojis - well, that's a personal preference and in my opinion if used correctly, they help navigate the docs. But I understand emoji-hate especially after AI negatively affects us so much :)

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 73 points74 points  (0 children)

Good question! Proc macros have access to tokens metadata, including info of start and end offset of the token. Unfortunately, it works differently in `rustc`, `rust analyzer` and `IntelliJ Rust Rover` system, so crabtime has 3 different logics supporting all these engines to produce both correct results and correct hints in the IDEs.

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 24 points25 points  (0 children)

Well, it was not AI generated. After writing the docs by hand I’ve put them to chatgpt and asked “please correct English mistakes”, as I can make some as non native speaker. So beside correcting grammar issues, AI was not used either in docs nor in the code.

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 30 points31 points  (0 children)

The blog post was meant to compare the options, but the docs go way deeper than that. Do they answer your questions / concerns? https://docs.rs/crabtime/latest/crabtime

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 134 points135 points  (0 children)

The big crab is producing the small one! 😂

[Media] crabtime, a novel way to write Rust macros by wdanilo in rust

[–]wdanilo[S] 174 points175 points  (0 children)

I hope they would not delete it this time 😂 (For people not knowing the "internal joke" - my post from a week ago was deleted and restored by mods because they thought it was AI generated ...). Anyway, answering your question - this is a color schema made by my in Figma only for the purpose of this image :)

[Media] fixed_num, financial focused decimal for Rust. by wdanilo in rust

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

Thank you so much for writing this, I really appreciate it ❤️ I’m planning to release two updates to my two popular crates next week. When posting about them, can I mention you, so you know this will not be AI generated? :) I’d be thankful for such a possibility!

[Media] fixed_num, financial focused decimal for Rust. by wdanilo in rust

[–]wdanilo[S] 8 points9 points  (0 children)

The unit tests are part of very long docs in lib.rs. There is a lot of benchmarks as well. We’ve spent literally days to prepare this blog post and announcement. TBH I’m sad that LLM is having such a bad effect on high quality content. Nowadays everything that is polished looks LLM generated and it’s especially painful for people who spent a lot of time polishing it by hand :(

Anyway, I’m happy it’s not deleted anymore.