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 π¦
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 βΊοΈπ¦
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.
comm-central @ 8a0750b85f6d85fbf5c2e17a29fbc8112112c374
Bug 1860654 - Support Rust for Thunderbird development. r=rjlhg.mozilla.org
#fishshell rewrite-it-in #rust progress, 2023-11-20
76909 rust lines added
48105 / 77063 C++ lines removed
ββββββββββββββββββββ 62 %
--
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.
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 π
I'm so so excited to announce #rust hyper v1.0 π
https://seanmonstar.com/blog/hyper-v1/
hyper v1
Iβm excited to announce v1.0 of hyper, a protective and efficient HTTP library written in the Rust programming language. hyper provides asynchronous HTTP/1 a...seanmonstar
I'm rewriting it in #Rust π
https://github.com/asciinema/asciinema/milestone/8
3.0 Milestone Β· asciinema/asciinema
Terminal session recorder πΉ. Contribute to asciinema/asciinema development by creating an account on GitHub.GitHub
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.
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.
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
Add "crates.io Policy Update" RFC by Turbo87 Β· Pull Request #3463 Β· rust-lang/rfcs
Rendered /cc @rust-lang/crates-ioGitHub
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/
Mounting S3 as a Filesystem
Saddle up for a cloud adventure like no other in this episode of AWS Bites, where Eoin and Luciano explore the untamed world of AWS S3 Mountpoint. Just like a t...awsbites.com
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.
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!
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.
Boosts welcome.
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
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 (#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
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
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 for maximum visibility.
Details on private message and here: https://github.com/meli/mailpot/issues/16
Boosts appreciated!
Setup docker container network with postfix for testing Β· Issue #16 Β· meli/mailpot
Beyond integration tests, we need a real-world testcase: a bunch of user postfixes talking to a mailing list postfix. This can be done with a docker setup. A simple debian slim image can be used fo...GitHub
https://foss-north.se/2023/speakers-and-talks.html#akjall
- Terminal is #alacritty
- Shell is #nushell
- Multiplexer is @zellij
- Editor is #HelixEditor
- Background is a wallpaper by @davidrevoy
#rust #linux #PopOS