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?

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

controller support plus 32-angles of sprite rendered out for each animation. Makes it feel much more "3d"-y even though its all 2d sprites.

isometric projection is now also being applied to the directional input and the raycasts, etc.

video/mp4

seanmonstar, to rust
@seanmonstar@masto.ai avatar

There's now a hyper guide using the new graceful shutdown utility: https://hyper.rs/guides/1/server/graceful-shutdown/

seanmonstar, to rust
@seanmonstar@masto.ai avatar

I spent a few hours on a toy project: a gateway app (reverse proxy) like nginx.

Written using hyper and tower, it was pretty easy to get something powerful already...

magnusmanske, to rust
@magnusmanske@wikis.world avatar

I just updated my crate "tool_interface"
https://crates.io/crates/tools_interface/

Besides new supported tools, it also includes a command-line binary for running tools, such as PetScan, PagePile, and Missing Topics from the shell. Examples:
https://github.com/magnusmanske/tools_interface/blob/main/src/bin/ti.rs

Elendol, to rust
@Elendol@hachyderm.io avatar

Trying to resist the urge to reimplement a badly implemented python library using and a simple python wrapper…

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

Ja und Nein, denn Rust ist im grunde sicherer aber auch das kommt darauf an wie mensch es umsetzt. Ich vertraue Rust mehr als anderes Coding, ich schau mir die Libs-Daten an.

»Speichersicherheit – Fast 20 Prozent aller Rust-Pakete sind potenziell unsicher:
Nach Angaben der Rust Foundation verwendet etwa jedes fünfte Rust-Paket das Unsafe-Keyword. Meistens werden dadurch Code oder Bibliotheken von Drittanbietern aufgerufen.«

🦀 https://www.golem.de/news/speichersicherheit-fast-20-prozent-aller-rust-pakete-sind-potenziell-unsicher-2405-185452.html


dpom, to rust
@dpom@fosstodon.org avatar

Expand glob imports is an underrated feature of Rust Analyzer. It’s amazing how the black box melts away when you understand what your framework is bringing into scope.

djee, to rust
@djee@mastodon.gamedev.place avatar

🎆 Bevy Hanabi v0.11.0 is out!

Plenty of changes for that new version. Most notably, 🎆Hanabi now supports (a bit experimentally) trails and ribbons!

Another exciting change is that alpha-masked particles now use the depth buffer, fixing any flickering due to indeterminate Z order.

Migration guide: https://github.com/djeedai/bevy_hanabi/blob/v0.11.0/docs/migration-v0.10-to-v0.11.md, and
CHANGELOG for a full list of changes: https://github.com/djeedai/bevy_hanabi/blob/v0.11.0/CHANGELOG.md

📦https://crates.io/crates/bevy_hanabi/0.11.0
🦀https://github.com/djeedai/bevy_hanabi

Firework particle effect showing sparks fading from white and yellow to red before disappearing. The particles appear bent, thanks to the use of small trails giving some curvature to them, very much like a real world spark trail of a real firework.

jgayfer, to gamedev
@jgayfer@fosstodon.org avatar

I published my first plugin for Bevy! 🎉

🕯️bevy_light_2d is a general purpose 2d lighting crate for Bevy.

It’s designed to be simple to use, yet expressive enough to fit a variety of use cases.

⭐️ GitHub https://github.com/jgayfer/bevy_light_2d

#gamedev #bevy #rustlang #rust

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

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

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

rsk, to gamedev
@rsk@mas.to avatar

Hey! my little rocket game "Scriptgrip" is now available online 🚀 #bevyengine #gamedev #rustlang

video/mp4

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🐉 reworked the fireball to be a quick ranged attack
🦊 ..which completes the first combat rotation!

video/mp4

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦜 added a gap closing attack
🤏 another small step towards a combat system

The attack is lacking some VFX to feel better, but future-me will figure something out! 👀

video/mp4

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦀 added target locking
🐪 ..to a nearby enemy on key press
🐧 most attacks will be directed towards it

video/mp4

mo8it, to rust
@mo8it@fosstodon.org avatar

We made a cute Ferris ('s mascot) at :ferris:

thisweekinrust, to rust
@thisweekinrust@mastodon.social avatar
GameFromScratch, to opensource
@GameFromScratch@mastodon.gamedev.place avatar

Today we check out Helix Editor

It's a very NeoVim like terminal based code editor written entirely in . It comes out of the box configured for coding with syntax and language server support.
https://gamefromscratch.com/helix-code-editor/

underlap, to rust
@underlap@fosstodon.org avatar

Started another little Rust project with rustup update and cargo new .... I just love Rust's tooling.

underlap,
@underlap@fosstodon.org avatar

So my project needs a fairly simple HTTP server. So much choice:

  • std::net::TcpListener
  • hyper
  • warp
  • Rocket
  • tide

I'm tempted to start with warp as I like the functional approach and I want to write decent tests.

#RustLang

vinc, to rust
@vinc@mastodon.social avatar

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

happyborg, to android
@happyborg@fosstodon.org avatar

Having beaten Windows .BAT files and FTP into submission on one laptop (thanks ) while getting my app to build for on another, today I will be figuring out how to debug it with .

It almost works. I can call from the GUI, but my custom protocol handlers aren't being called. 🤔

jarkko, to rust
@jarkko@social.kernel.org avatar

I think there would be still space for systems programming language with a constraint from day zero that it would 1:1 compatible with plain C”s binary layout and memory model:

  1. Roughly just .text, .bss, .rodata and ,data.
  2. No symbol mangling at all.

All the memory safety etc. fancy features would be then designed within exactly those constraints.

is essentially a derivative of C++ when compiled to binary, which does not really make it a strong competitor for plain #C. It can substitute C in many cases for sure, just like C++ did, but there’s always need for minimal systems programming language, which also looks elegant in binary, not just in source code.

A compiled C program can be quite easily understood with a binary with no debug symbols at all if you understand the CPU architecture well enough. That is, and will be a strong asset for C.

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