Skip to main content

Search

Items tagged with: Rust


Day 13 of #100DaysOfRust

Today monday and I came to the topic of writing tests while continuing to learn #Rust. Of course there are also #tests in the programming languages ​​that I already use, but they are often skipped for the so-called unpaid time. I learn more every day and that everything in the basic course is important. I would say it's harder for me because it's more extensive and deeper - I like #RustLang πŸ¦€

#100daysofcode #learning #learn #code


Day 12 of #100DaysOfRust

Yesterday I met old friends (see my timeline), today I'm continuing to learn #RustLang. A lot of structural theory and how long and where its validity is retained. As a web "script" coder, it's a very new world that's exciting to discover. #Rust certainly has its own peculiarities, which I find very exciting and which make absolute sense β˜ΊοΈπŸ¦€

#100daysofcode #learning #learn #code


Railway was accepted into #Debian today ! Thanks to @awai for packaging most of its dependencies. This #GTK - #Rust app allows queuing travel information, for instance from #DB .


A while back I posted to announce we were enabling the use of #rust as a development language within @thunderbird

Pleased to say that we've now landed support, and as of today it's possible to write new libraries and xpcom components using #rustlang, as part of the libxul build!

https://hg.mozilla.org/comm-central/rev/8a0750b85f6d85fbf5c2e17a29fbc8112112c374

Don't worry, we're not about to "RIIR" - this is enabling new code next year to supercharge the backend architecture for your favourite mail client.


Did some small reviewing of the Rust teams' MR queue today. Mostly small nitpicks, but important nevertheless to show contributors that their work isn't ignored.
#Debian #Rust


#fishshell rewrite-it-in #rust progress, 2023-11-20

76909 rust lines added
48105 / 77063 C++ lines removed
β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 62 %

#riir #rustlang

--

So, that's a significant jump - mostly thanks to the merge of the parser rewrite branch, described as "Herculean". The parser, autoloading module, completion module, function management, history management, and the builtins for complete, disown, eval, fg, history, jobs, read, set, and source have all been ported, as well as many other parts of the code.

This also allowed the removal of lots of supporting tools, including the UTF-8 modules, and quite a few bits of the FFI.

After a few months of slow progress this is a huge step forwards.


Haven't seen the progress bot in a bit, but according to github the #fish port to #rust has passed 50% now!
Github's "Languages" panel for the fish command-line shell project. Breakdown is:
- 52% Rust
- 23% C++
- 17% Shell
- 5% Python
- 1% CMake


After two and a half years of rewrite, #Fractal 5 is finally out! Get the #GTK 4 #Rust #Matrix client from https://flathub.org/fr/apps/org.gnome.Fractal and enjoy new features such as #EndToEndEncryption, location sharing, or multi-account with Single-Sign On πŸš€

:boost_ok:

Celebration logo showing a mixture of speech bubbles, smilies, notification counts, and the version number 5


I'm now a member of the Debian Rust Team. Sorry in advance to Debian FTP Team. #debian #rust #asahi


I'm so so excited to announce #rust hyper v1.0 πŸš€

https://seanmonstar.com/blog/hyper-v1/

#rust


I'm rewriting it in #Rust πŸ˜€

https://github.com/asciinema/asciinema/milestone/8

#rust


#rust programmer (via bing/dallΒ·e-3)
"Rust programmer" - a rusty human-looking metal robot programming a computer with copper cables all over.
#rust


After releasing enum-map 3.0.0-0.gat.0 #Rust crate I realized that a lot of tooling doesn't actually handle semver prerelease versions correctly if they don't have a string like "alpha", "beta", "dev", "pre" or "rc" in them. Just because #semver specification allows it doesn't mean that tools will actually support it.

At this point I'm not going to do anything about this particular release, but I will make sure to include "beta" in my future pre-release Rust crates.


One of the challenges that I'm working on is empowering people with consumer-class internet access (i.e., dynamic addresses) to run their own Fediverse servers. The Publish/Publisher and websocket components I've added to #SofaPub move in that direction.

This allows someone with broad connectivity to re-publish connections from users who are more limited.

This is a big addition and I haven't published it to crates.io yet. But the code is at https://gitlab.com/justindthomas/sofapub.

#ActivityPub #Rust


I just realized that `let _ = ...` and `let _foo = ...` behave differently in #rust.

The former drops the value immediately while the latter drops it at the end of the scope. This almost never matters due to the borrow checker but this was resulting in my tracing context being broken because I was calling `let _ = span.enter()` and the guard was being dropped right away.

#rust


Q: Where do #Rust developers like to vacation?
A: Tokio πŸ₯
@jfbastien, am I doing this right? πŸ˜„


Dear #Rust #rustlang devs:

bumping your MSRV is a semver-major bump. It is, in fact, a dick move to your dependents to do an MSRV bump in a semver-patch bump.

Yes, having to do a semver-major bump sucks.

It sucks even worse for your dependents who now have to semver-major with no functionality changes at all, just because of you.

/rant


The cargo team is currently proposing to change the policy governing crates.io!

They are looking for feedback wrt to the changes.

They are clarifying the rules regarding what is appropriate or not.

IMO the biggest change is that they are looking to add rules that allows them to remove 'inactive squatted' crates and re-assign them to others.

If you might be impacted by this, be sure to check it out and read about it.

https://github.com/rust-lang/rfcs/pull/3463

#rust

#rust


As promised, we are back with a new episode of #AWS Bites #podcast!

Today we talk about mounting #S3 buckets directly in your filesystem using AWS Mountpoint, an interesting open-source project written in #Rust.

Is it a good idea though? 🀨

https://awsbites.com/95-mounting-s3-as-a-filesystem/


It took almost a year and a lot of hard work, but rust-libadawaita-sys and rust-gstreamer-player-sys are in debian now. Once #rustc 1.70 lands there #libadwaita-rs will be available enabling all kinds of cool #Rust #Gtk apps to be packaged.


Hit me with your best #opensource #linux #rust #nixos #podcast links!

Both English and German language is okay.

Additionally, German podcasts about other topics are okay as well.

You have until tomorrow morning UTC, so I can download enough episodes for 26hrs of travel starting Saturday evening.

:boost_ok:


Published the new 0.2.0 version of the rustc-tools crate. This tool aims to make rustc internals accessible (as much as possible).

Want to write a few lints for your project without adding them to clippy? Take a look at the example: https://github.com/GuillaumeGomez/rustc-tools/blob/master/examples/lint.rs
Just want a Rust parser? You can too: https://github.com/GuillaumeGomez/rustc-tools/blob/master/examples/ast.rs

Enjoy!

https://crates.io/crates/rustc-tools

#rust #rustlang


Lots of hacking, questioning life choices and coffee later the #gtk-rs sys crates' source code gets all regenerated.
Simultaneously I bumped the version so they are on par with the latest release.
This is the last missing piece to get #libadwaita-rs into #Debian. Tomorrow I'll tackle #gstreamer and the rest of the crates.
#Rust #GTK #Debian


Wir suchen #Rust #Entwickler. Anfangs als #teilzeit aber sehr sehr wahrscheinlich wird das zu #Vollzeit wachsen (oder mehrere Teilzeit, wenn das besser passt).

Ort: Voll #Remote - wir haben kein BΓΌro mehr - aber aus vertraglichen und rechtlichen GrΓΌnden muss der Arbeitsort innerhalb von .de liegen.
Selten (derzeit einmal im Jahr) eine Fahrt in die Gegend um Frankfurt/Main einzuplanen, Firmenevent.

NΓΆtig: Gute #Rustlang Kenntnisse. Und man sollte andere Sprachen (viel C, etwas Java, Bash) zumindest grob lesen kΓΆnnen.
Es geht ums (Neu/Um)schreiben von Applikationen.
Außerdem Umgang mit #git/#gitlab nâtig - und wir sind voll #linux basiert.

#Festanstellung ist das Ziel, #Freischaffend ist weniger gern gesehen..

Bei Interesse: DM an mich.

#fedihire #fedijob

Boosts welcome.


Now that the #Serde issue is resolved by removing the binary, I want to thank @decathorpe again, not only for reporting the issue, but also for all his efforts in the #Rust and #Fedora communities ❀

For others: Please don't call things like this "drama" again. This is pushing back against mistakes that would affect the whole community. I love how much the community cares and that such problems are not ignored πŸ₯°

We are not here to only get things done, we are building a future ❀

#RustLang


That's your chance to grow the community. Teenagers buy any hype, tell them programming is a new pog and everyone does that.

BTW, I think #Rust has the same problem. The /r/rust description even says something like "it's a programming language, for the game go there".
#rust


Hello Fediverse friends! My partner, who has total 16 years of experience in software in an impressive array of various technologies, is looking for new opportunities. What he's looking for:
- #Rust (#web or #embedded or anything really)
- 100% #remote in Germany or hybrid in #Berlin
- German employment contract
- meaningful work (no nonsense like web3, cars, or gambling)

Do you know anyone hiring for positions that would fulfill those expectations? #FediHire #FediJobs


Check out this photograph / digital artwork that would look great framed and hanging on your wall in your home or office or produced on a variety of products.

Mono conversion of my original photograph showing old rope tied up in a harbour.

https://pixels.com/featured/all-tied-up-mono-john-hughes.html

#BuyIntoArt #ayearforart #macro #MacroPhotography #chain #rust #mono #blackandwhite
Check out this photograph / digital artwork that would look great framed and hanging on your wall in your home or office or produced on a variety of products.

Mono conversion of my original photograph showing old rope tied up in a harbour.

https://pixels.com/featured/all-tied-up-mono-john-hughes.html

#BuyIntoArt #ayearforart  #macro #MacroPhotography #chain #rust #mono #blackandwhite


Thought experiment: Systems languages have long lifespans once they gain traction. If you started learning #Rust today, it would be roughly equivalent to picking up #C in 1980, or #CPP in 1993. You would have 30 years of experience in a language that is still being used worldwide by major players in tech. If Rust followed a similar trajectory, your skill set would still be sought after in 2053, with no end in sight. Tech moves fast, but it also moves slow.
#rust #c #cpp


Has someone (possibly in the #rust community) packaged #bors for #nixos - not the one that discontinues development, but the one the rust project uses?

Because now with bors.tech dying and #github mergequeues being shitty as they are (from what I read in the official feedback discussion) I want to self-host bors or homu, so we can have nice things!

Please :boost_ok: for maximum visibility.


Was using Rust for a while, I guess my C++ code shows signs of this as well. #cplusplus #rust πŸ˜€οΈ
showing features of a Camera intrinsics class using modern C++


Help wanted: someone interested in helping me setup a simple test workflow with a few #docker containers running postfix in a network, in order to test a #rust mailing list manager project.

Details on private message and here: https://github.com/meli/mailpot/issues/16

Boosts appreciated!


Spent some time this weekend to configure my terminal, since I've started using it more and more recently. Quite pleased with the results:
- Terminal is #alacritty
- Shell is #nushell
- Multiplexer is @zellij
- Editor is #HelixEditor
- Background is a wallpaper by @davidrevoy

#rust #linux #PopOS
Screenshot of a configured terminal. It is split into two panes, the left pane showing source code, and the right pane showing a shell prompt. The background of the terminal is slightly transparent and blurry, and shows an artwork of a spooky house.

⇧