fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#rustacean

0 posts0 participants0 posts today

📚 Behold, the novice Rustacean's manifesto on "idiomatic" Rust: a delightful chronicle of their fledgling #journey, complete with insightful examples that might just change tomorrow! 😂 But fear not, dear reader, as this personal perspective is as solid as a programmer's first "Hello, World!" 🖥️✨
a-i-nstein.neocities.org/ #Rustacean #Idiomatic #Rust #Programming #Learning #Experience #Hello #World #HackerNews #ngated

a-i-nstein.neocities.orgIdiomatic RustDiscover idiomatic Rust examples and learn the best practices of Rust programming.
After embarking and closing a rabbit hole on AppSec[1][2], I resume Continuing #RustLang The Book with the Module System.

As I step into it, I am adding a "Not so much" section to my "What I love About #Rust" notes.

I am no #rustacean yet, let alone language designer.... However, in my AppSec educational tangent I stumbled upon a very interesting talk by @david_whitney that I subscribe to 99%. It is about code as literature, clarity and intentions. The only thing I disagree with is his argument opposing standardized formatting. I value rendering infinite discussions and useless flames moot with an opinionated formatter and clear unified code more than "my indent looks better than yours".

https://www.youtube.com/watch?v=8j4fhsLcT4k

Why do I bring this all up? Because the not so much list now includes three things I believe should not be a thing at all in Rust. Exactly because they can be subject to style and opinions. Most of all because they lead to "confusing intentions":

- Return key is only sometimes required (optional on last expression)
- Semicolon is only sometimes required (not on expressions)
- Semicolon changes expressions to statements

I think that you should either use or not use return at all times. Same for semicolon. Find another way to differentiate or make expression vs statement more explicit.

[1] https://stereophonic.space/notice/AjWmhGjDCAb7bT1kG0
[2] https://programming.dev/post/16508134
stereophonic.spaceStereophonic

I played around with a number of Fediverse servers in the last 2 months. This Firefish note has my thoughts on them.

izzup.com/notes/9myk5ftrc13p9m

IzzupBrian Winkers (@bwinkers)Another Fediverse site is up for beta testing. https://ultri.net Mastodon was pretty easy to get setup on AWS. Pleroma/Aakoma had issues with RDS Postgres certs. If anyone has a magic recipe for those in AWS we'd still like to spin one up. We've run most of the main ones in the last month. Here are my thoughts on some of the ActivityPub options. * Lemmy - Super easy, but uses a weird Sled database that makes scaling harder. I'd gladly help a Rustacean fix that to use Postgres. * GoToSocial - Easy-peasy like Lemmy, but only requires Postgres. It's pretty easy to set up mass virtual-hosting with it. We'll be using this for the other 15 domains' Fediverse solution. It's not as full-featured, but running Mastodon for all domains would be daunting. * Firefish - I absolutely love it. Chat, file storage and other nifty features. It works with most clients, but has a PWA that is required to access all the features. I'll have my main personal Fediverse account on our Firefish server at https://lnkd.in/g-8a7nBG * Pleroma/Akkoma - I tried to use this Mastodon because it seemed like it might be easier to admin. They did not play nice in AWS RDS, and I have no useful experience with Erlang/Elixir. * Mastodon - You can't possibly go wrong with the standard-bearer, it has the largest user base by far. That means the best chance at compatibility with other servers. It also means you can get your instance on the Mastodon sever lists, which have far more traffic than any other server. The biggest downside is that the Mastodon web client older than I do. #fediverse #mastodon hashtag#aws #pleroma #aakoma #gotosocial #lemmy #erlang #elixir #rust #rustacean 📎

Another Fediverse site is up for beta testing.
https://ultri.net

Mastodon was pretty easy to get setup on AWS.

Pleroma/Aakoma had issues with RDS Postgres certs. If anyone has a magic recipe for those in AWS we'd still like to spin one up. We've run most of the main ones in the last month. Here are my thoughts on some of the ActivityPub options.

* Lemmy - Super easy, but uses a weird Sled database that makes scaling harder. I'd gladly help a Rustacean fix that to use Postgres.

* GoToSocial - Easy-peasy like Lemmy, but only requires Postgres. It's pretty easy to set up mass virtual-hosting with it. We'll be using this for the other 15 domains' Fediverse solution. It's not as full-featured, but running Mastodon for all domains would be daunting.

* Firefish - I absolutely love it. Chat, file storage and other nifty features. It works with most clients, but has a PWA that is required to access all the features. I'll have my main personal Fediverse account on our Firefish server at
https://lnkd.in/g-8a7nBG

* Pleroma/Akkoma - I tried to use this Mastodon because it seemed like it might be easier to admin. They did not play nice in AWS RDS, and I have no useful experience with Erlang/Elixir.

* Mastodon - You can't possibly go wrong with the standard-bearer, it has the largest user base by far. That means the best chance at compatibility with other servers. It also means you can get your instance on the Mastodon sever lists, which have far more traffic than any other server.

The biggest downside is that the Mastodon web client older than I do.

#fediverse #mastodon #aws #pleroma #aakoma #gotosocial #lemmy #erlang #elixir #rust #rustacean

I'm writing #Rust! Now I am a larvae #Rustacean.

Porting my "switchboard" #Clojure project, a browser search backend. Eg I type “py foo” in my omnibar and it:

- 302's to <python docs>/foo.html, if exists
- else, 302's to <python search page>?search=foo

but for like, tons of contexts. Point being: super basic HTTP serving, HTTP requesting, plus logic.

Using `rouille` and `ureq` because I am allergic to async 😝 they're nice so far!

Also upgraded my dev box to Rust 1.69 (nice).

Replied in thread

@terhechte Oh, really cool that you made it public. I'm no #Rustacean, so I can't help with the coding part but I know my way around the basics of #cargo, so I've tried my hand at compiling Ebou on my #Linux machine.

I just tried to `cargo run` it and after installing a few missing development dependencies on my @opensuse, I received a lot of `error[E0433]: failed to resolve: use of undeclared crate or module` during compilation of Ebou itself. Not sure what's missing here though.