Search
Items tagged with: Rustlang
impl Stool for Cat {<br> pub fn peek(&self) -> View {<br>
Original by @cat : tea.codes/@cat/113487015026074…
#RustCataStructures #rust #RustLang #cat #CatsOfMastodon #Caturday
I’ve been on Fedi for a year now and have fallen in love with the platform, so here’s my introduction! I studied computer science with a focus on RTOS and FP/PL, but I’m about to start my final semester of law school. I’ll be practicing at a boutique firm that primarily handles IP cases once I’m barred. I foilboard and I play way too many rhythm games in and out of the arcade.
I contribute to open source projects where I can, and I write up my experience in my digital garden which I’ve been maintaining for over a year now. It’s also a good place to find usage tips for projects/tools that you might want to use.
My passion for tech also includes privacy, and I’m an advocate for minimizing your digital footprint. GenAI is a scam and its purveyors are causing real harm while they sell it as hard as they can.
Follow me for: #selfhosting #digitalgardening #privacy #lawfedi #section230 #copyright #patents #rustlang #gleam #haskell #RSS #neovim #NixOS #zotero #tmux #alacritty #linux #egpu #qemu #arch #archlinux #GNOME #watches #watchmaking #obsidian #obsidianmd #thunderbird #fpv #mechkeys #mechkeeb #mechanicalkeyboard #matrix #signal #fido2 #passkeys #dancerushstardom
be-far's Digital Garden
Tip You will own nothing, and you will be happy. On my little corner of the internet, I document my adventures in tech and complain about the internet of shit.be-far.com
📣 New blog post
✨ Sliding Sync at the Matrix Conference — mnt.io/articles/sliding-sync-a… ✨
I have presented Sliding Sync, a novel, fast and efficient synchronisation mechanism for the Matrix protocol, at the first Matrix Conference in Berlin. It's been many many months that I'm working on this project, and I'm joyful it's now available to everyone for a better Matrix user experience!
The article contains the recording + slides. I've highlighted other talks too.
Is there a good portable asynchronous filesystem access crate for Rust yet? (I'm aware of a number of crates that use blocking filesystem operations from threads, and that's not at all what I mean. I want to issue large numbers of requests from few threads so the I/O scheduler can sort them out.)
(Thanks, POSIX, for assuming that disks are infinitely fast. 🙄)
rPGP is an #OpenPGP implementation in pure #Rust (crates.io/crates/pgp).
It serves as the end-to-end encryption engine for Delta Chat:
@delta, a secure decentralized messager for all major platforms (and then some).
rPGP implements all generations of the OpenPGP standard, up to and including the new RFC 9580.
Aight, listen up y'all.
Here are 5 reasons why you should sponsor me ⬇️
1. I maintain your favorite CLI tools for Arch Linux btw (~500)
2. I write useful blogs, craft interesting posts & promote projects
3. Maintainer of @ratatui_rs
4. Creator of @git_cliff, binsider.dev & more
5. All my work is open source and streamed on YouTube
6. Not convinced? I make music too!
💖 GitHub Sponsors: github.com/sponsors/orhun
#rustlang #ratatui #opensource #sponsorship
New release today: #rPGP version 0.14.0 ✨
(#OpenPGP implemented in pure #Rust, permissively licensed)
github.com/rpgp/rpgp/releases/…
This release brings rather complete support for the excellent new OpenPGP RFC 9580 (also known as "crypto refresh", or "v6")
RFC 9580 standardizes modern cryptographic mechanisms for OpenPGP: AEAD-based encryption, Argon2, and SHA2 fingerprints for the new OpenPGP v6 key format (v4 keys use SHA1).
Thanks @NGIZero for supporting this work!
Linus Torvalds: Rust will go into Linux 6.1
At the Kernel Maintainers Summit, the question wasn't, "Would Rust make it into Linux?" Instead, it was, "What to do about its compilers?"
The Rust in Linux debate is over. The implementation has begun. In an email conversation, Linux's creator @torvalds told, "Unless something odd happens, it [Rust] will make it into 6.1."
🐧 zdnet.com/article/linus-torval…
#linux #rust #linustorvalds #rustlang #it #code #opensource #kernel #linuxkernel
Today I discovered a pretty cool utility for listing USB devices! 🔌
🌸 **cyme**: A modern and cross-platform lsusb!
🔥 Displays manufacturer, serial number, speed, current information (mA) and more!
🦀 Written in Rust!
⭐ GitHub: github.com/tuna-f1sh/cyme
#rustlang #lsusb #usb #devices #utility #commandline #tool #libusb
Question for the rust pros: can anybody do a TL;DR with the right amount of technical details for a experienced operating system person with many years of C and C++ experience that answers the following question?
What’s the advantage of using Rust in low-level and bare metal contexts, eg to access memory maps, raw pointers, etc (eg with features like “unsafe”)?
Please, I’m genuinely technically curious. That will help me figure out my next steps (what to learn and how). 😅☺️
David Airlie, Red Hat kernel maintainer, about the Rust-for-Linux drama: "if people start acting as active roadblocks to work, rather than sideline commentators who we can ignore, then I will ask Linus to step in and remove roadblocks"
Discussions: discu.eu/q/lwn.net/Articles/98…
#linux #programming #rustlang #unix
Rust conf is next week in town. Apparently I couldn't find the mask policy nor did I get an answer when I asked over mastodon, so I decided it wasn't for me.
Is this *too much*? Historically, having two crate versions in your dependency tree and accidentally mixing types from them led to horribly obtuse error messages (expected `Foo`, found `Foo`). We've slowly chipped away at them, but somethings I fear I might have gone overboard with detail. 😬
Reminder that my book—Rust Atomics and Locks—is freely available online: marabos.nl/atomics/ 😊
(If you read it, please leave a review on goodreads.com/book/show/632918…)
Rust Atomics and Locks by Mara Bos
Low-level Concurrency in Practice. This practical book helps Rust programmers of all levels gain a clear understanding of low-level concurrency. You'll learn everything about atomics and …marabos.nl
Can't believe this runs in a terminal! 🤯
🐠 **lifecycler**: Terminal aquarium 🫧
🆙 ASCIIquarium reaches a new level! 🐟
🦀 Written in Rust & built with @ratatui_rs + @bevy
⭐ GitHub: github.com/cxreiff/lifecycler
#rustlang #ratatui #tui #aquarium #terminal #asciiquarium #bevy #gamedev #game #gamejam
GitHub - cxreiff/lifecycler: Bevy Game Jam #5 submission. Terminal aquarium.
Bevy Game Jam #5 submission. Terminal aquarium. Contribute to cxreiff/lifecycler development by creating an account on GitHub.GitHub
My MR which implements a new image mounting dialog for #GNOME Disks in #Rust has been merged 🎉
The new dialog allows not only to mount and view disk images, but also to edit, inspect, write or, if the disk image is already mounted, unmount it.
Thanks to @tbernard for the design and to @pothos for the review and help.
After many years away from the stage, I am back! It looks like I’m accepted to give a talk at the Matrix Conference (2024.matrix.org/) to present ✨ native simplified sliding sync ✨: how it differs from the first version of sliding sync (an experimental project implemented inside a proxy), how we’ve implemented it inside the Matrix Rust SDK etc. Gonna be fun!
Matrix.org
The Matrix Conference is coming to Berlin, Germany on September 19–22, 2024.2024.matrix.org
I'm happy to announce the release of diesel-async 0.5.
It introduces support for the SQLite backend via a new SyncWrapperConnection type and it provides support for the new diesel Instrumentation interface. Checkout the full release block for more details:
Thanks to @slomo the #gstreamer gtk4-paintable-sink just got support for video rotations. This is nice for video apps, making playback of video recorded on phones (portrait mode) more easy or faster (avoiding a copy compared to using a dedicated gst videoflip element).
The change is even better for Snapshot, the #gnome camera app: it uses the sink for its viewfinder and avoiding additional copies here has quite an impact on #mobilelinux devices.
The Matrix Rust SDK now provides a room list that is sorted on the client-side instead of server-side, github.com/matrix-org/matrix-r….
It has landed in Element X iOS nightly and soon on Android.
I’m going to publish blog posts to explain all the technical details but it’s really pretty neat!
#matrix #RustLang #stream #future #asynchronous
feat(ui): Client-side sorting in `RoomList` by Hywan · Pull Request #3585 · matrix-org/matrix-rust-sdk
The goal of this PR is to implement client-side sorting in RoomList. So far, we used to use the sort parameter of sliding sync to sort the rooms. It is set to by_recency and by_name (see Sliding Wi...GitHub
Microsoft Surface's UEFI implementation is in Rust
techcommunity.microsoft.com/t5…
Discussions: discu.eu/q/techcommunity.micro…
Surface UEFI: Evolution in boot, security & device management to build an industry leading secure PC
Take a deep dive into the enabling technologies supporting UEFI developmentTECHCOMMUNITY.MICROSOFT.COM
In today's live stream we finished off the "!todo" plugin of our Matrix bot that tracks todo items for us.
video.infosec.exchange/w/kT1tS…
Coding Matrix in Rust | 2024-06-13
This time: Finished off the TODO plugin!, Started thinking about verifying our device, Next time: Verifying our device so there are no more red shields on our messagesInfosec.Exchange Video
The Rust+Gnome hackfest sponsored by gtk-rs (opencollective.com/gtk-rs) just ended, it allowed us to make great improvements like:
- rewrite the
clone!
macro so it can now be formatted and have rust-analyzer run on it - rewrite rustdoc-stripper so it now uses rustc internal API directly and can be called with cargo. Some work remains to be done but it's already useable.
- finally finished the release blog post (we're months late but better late than never :p)
- lots of other cleanups and bugfixes
#rust #rustlang #gnome #gstreamer #gtk #hackfest #thessaloniki #greece
GitHub - GuillaumeGomez/rustdoc-stripper at cargo-binary
rustdoc-stripper is a tool used to edit/remove rustdoc comments from your code - GitHub - GuillaumeGomez/rustdoc-stripper at cargo-binaryGitHub
Doing a code review today made me realize how writing safety comments in Rust is all about writing down tautologies
We're a bit late but we finally finished writing the release blog post for the last gtk-rs release!
Rust is not about memory safety
o-santi.github.io/blog/rust-is…
Discussions: discu.eu/q/o-santi.github.io/b…
This looks interesting
Hurl is a command line tool that runs HTTP requests defined in a simple plain text format.
It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both fetching data and testing HTTP sessions.
Hurl makes it easy to work with HTML content, #REST / SOAP / GraphQL APIs, or any other XML / JSON based APIs.
(Built with #rustlang powered by #curl)
Hurl - Run and Test HTTP Requests
Hurl, run and test HTTP requests with plain text and curl. Hurl can run fast automated integration tests.hurl.dev
Got very excited by @matt demo of AccessKit integration in #GTK
AccessKit is a cross-platform abstraction for accessibility infrastructure written in Rust.
His work will bring a11y support for GTK on macOS and Windows as well as for the new accessibility architecture on Linux code-named "Newton".
github.com/AccessKit/accesskit
blogs.gnome.org/a11y/2023/10/2…
#GNOME #rustlang #accessibility #a11y #Linux #Windows #macOS
GitHub - AccessKit/accesskit: UI accessibility infrastructure across platforms and programming languages
UI accessibility infrastructure across platforms and programming languages - AccessKit/accesskitGitHub
🦀 The first episode of 'Rust in Production' season 2 is live!
corrode.dev/podcast/s02e01-cur…
Super excited about talking to @bagder about using Rust in curl!
#rustlang #rust #rustinproduction #podcast
curl - Rust in Production Podcast | corrode Rust Consulting
In the season premier we talk to none other than Daniel Stenberg! We focus on integrating Rust modules in curl, their benefits, ways in which Rust and Rust crates helped improve curl, but also how curl helped those crates, and where curl is used in t…Corrode Rust Consulting
Workbench 46.1 is out!
flathub.org/apps/re.sonny.Work…
Happy International Workers' Day
See what's new and details at blog.sonny.re/workbench-46-1
#GNOME #GTK #JavaScript #rustlang #Python #Vala #Linux #development
Workbench 46.1
Labor day marks the release of Workbench 46.1 This new release comes with Save/restore window state and dimensions for each session/pro...Sonny's
GOSIM 2024 Europe Will Be Held in the Netherlands on May 6th: Embrace the Global Open Source Wave and Build a New Era of AI Here comes the GOSIM 2024 Europe!
medium.com/@gosimfoundation/th…
For more information please visit: europe2024.gosim.org
Scan or register here:
eventbrite.com/e/gosim-2024-co…
#rust #rustlang #rustnl #opensource #gui #mobile #app #ai #fediverse #matrix #gosim
The Latest Guest Lineup of GOSIM 2024 Europe Revealed, Gathering Global Masters in AI Open Source field
May 6th, 2024, GOSIM 2024 Europe hosted by the organization of Global Open-Source Innovation Meetup (GOSIM) will be officially held in Delft, Netherlands, Europe. This grand event has provided a…GOSIM Foundation (Medium)
Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind
loglog.games/blog/leaving-rust…
Discussions: discu.eu/q/loglog.games/blog/l…
I like to minimize the size of binaries I build. Unremovable debugging strings annoyed me, so I've added an option to completely neuter `Debug::fmt` in #Rustlang
github.com/rust-lang/rust/pull…
debug-fmt-detail option by kornelski · Pull Request #123940 · rust-lang/rust
I'd like to propose a new option that makes #[derive(Debug)] generate no-op implementations that don't print anything, and makes {:?} in format strings a no-op. There are a couple of motivations fo...GitHub
Some useful types for database-using Rust web apps
I’ve been writing a little web app in rust lately, and in it I decided to try to do it without an ORM.boinkor.net