triskelion, to rust
@triskelion@floss.social avatar

Hey RIIR enthusiasts, sorry to disappoint you, but LLVM and glibc are not written in . Feel free to express your frustrations xD

kornel,
@kornel@mastodon.social avatar
vinc, to rust
@vinc@mastodon.social avatar

Today, I'm improving the network logs in my hobby operating system

melroy,
@melroy@mastodon.melroy.org avatar
vinc,
@vinc@mastodon.social avatar

@melroy yes it is! You will find a SSH demo at the end of this page: http://moros.cc

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

I'm doing a lot of Blender -> Bevy work at the moment, and I needed a way to visually check the resulting texture atlases. Hence this sprite viewer that pulls in the metadata I'm generating via python scripts and Blender.

bevy_inspector_egui on a Resource + the generated information and I can check the animation for any directionality and any animation.

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

I wrote an overview and sales pitch for for my new website: https://www.ncameron.org/rust/ What do you reckon? Does it tell you what you'd need to know if you're curious about Rust, but don't know much about it?

hko, (edited ) to rust
@hko@fosstodon.org avatar

During our work towards openpgp-card v0.5 (https://fosstodon.org/@hko/112520486266094575), we wondered how to deal with secrets in log files.

It's often good if secrets are redacted in logs: This avoids accidental publication of a user PIN (or decrypted payload) in bug reports.
On the other hand, it can be useful for a developer to have full and verbatim logs (including secrets) for debugging.

We started work on this, but would like to hear from you. What should we do?

robinm,
@robinm@fosstodon.org avatar

@hko Don't put secret in log files, but a key that can be used in conjuction with another file that contains the secrets (just like you do with secrets in CI config files)

hko,
@hko@fosstodon.org avatar

Thank you to everyone who voted and weighed in!

hko, to rust
@hko@fosstodon.org avatar

I just released openpgp-card v0.5.0: https://crates.io/crates/openpgp-card/0.5.0

openpgp-card is a Rust client library for using card hardware security devices.

This version comes with a significantly adjusted API:
The low-level API has been moved to the "ocard" module. At the top level of the crate, more convenient abstractions are now directly available (including PIN handling for cards in KDF mode).

tymwol, to rust
@tymwol@hachyderm.io avatar
  • What is the religion of developers?
  • It's not a religion, it's a cargo cult.
epage, to rust
@epage@hachyderm.io avatar

If Cargo gained a [diagnostics] table to mirror the recent #[diagnostic] attribute, what use cases would you have for improving Cargo errors related to your packages?

See https://github.com/rust-lang/rfcs/pull/3383#issuecomment-2135594569 for more context

seanmonstar, to rust
@seanmonstar@masto.ai avatar

Here's hyper-util v0.1.5 :rust:

  • Graceful shutdown helper for coordinating many connections
  • Enable service with less features.

https://github.com/hyperium/hyper-util/releases/tag/v0.1.5

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦛 added ground type 'base'
🐔 ground tiles can be gathered
🐊 ..and placed if the tile is 'base'

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

nother page up on the website, and perhaps the most interesting one: training courses! https://www.ncameron.org/training/ There's a bit of detail about the courses I'm planning to offer and I'm really interested to hear what you all think about them (and of course any thoughts on the website design - this is the busiest page yet).

nrc,
@nrc@hachyderm.io avatar

I'm very excited about these courses. I love writing high-performance code and this is really what we all use for, right? But coming from managed, high-level languages to Rust means learning a lot about systems and performance engineering. I reckon the performance course will help a lot of folk in that position. https://www.ncameron.org/training/#performance

nrc,
@nrc@hachyderm.io avatar

The beginners course is a bit more vanilla content-wise, but the format is innovative (and unique, I think). Half-way between an intensive course and learning by yourself from a good book. It's the kind of format I would have found fun and effective, and I hope others do too. Lots of doing stuff, lots of Q&A and discussion, lots of freedom and flexibility. https://www.ncameron.org/training/#beginners

markstos, to rust
@markstos@urbanists.social avatar

I don't understand this error message:

 Updating crates.io index  
error: failed to select a version for the requirement `bindgen = "=0.69.4"`  
candidate versions found which didn't match: 0.65.1, 0.64.0, 0.63.0, ...  

If I run crate search bindgen, it shows that v0.69.4 clearly exists.

Cargo.toml contains:

[build-dependencies]
bindgen = "0.69.4"

markstos,
@markstos@urbanists.social avatar

@kornel Thanks. rustup update caused rustc to update from 1.75 to 1.80, which appears to have resolved the issue.

I got started down this path trying to resolve an error about "edition = 2021", and updating rustup/rustc appears to have resolved that as well.

To bad there wasn't clearer error message about what the real problem was.

kornel,
@kornel@mastodon.social avatar

@markstos you may still have a non-rustup version of rust/cargo installed. v1.75 would work fine. The dependency problem affects only 1.59 and older, and edition=2021 breaks 1.55 and older.

kubikpixel, to rust German
@kubikpixel@chaos.social avatar

💩→🦀 How Rust rose to dominance (by accident)

📺 https://yt.drgnz.club/watch?v=8lMQfwreqRE


ferrous, to rust
@ferrous@social.ferrous-systems.com avatar

🎉 We have news: We've updated to 1.76.0 and you can now purchase your license online in our shop.
@pietroalbini fills in the details over on the blog 👉

https://ferrous-systems.com/blog/ferrocene-24-05-0/

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🐍 added items for tile objects
🦊 small plants can be gathered
🐳 ..and placed if the tile is empty

video/mp4

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • modclub
  • everett
  • rosin
  • Youngstown
  • slotface
  • ethstaker
  • mdbf
  • kavyap
  • osvaldo12
  • DreamBathrooms
  • anitta
  • Durango
  • ngwrru68w68
  • tester
  • khanakhh
  • love
  • tacticalgear
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • cisconetworking
  • JUstTest
  • All magazines