RogerBW, to raku
@RogerBW@emacs.ch avatar
thisweekinrust, to rust
@thisweekinrust@mastodon.social avatar
alice_i_cecile, to bevy
@alice_i_cecile@mastodon.gamedev.place avatar

#bevy has outgrown ab_glyph and must choose a better solution to deal with fonts and text in #rustlang. We've opened a new working group to handle this migration, and decide between cosmic-text and parley.

If you have strong opinions or expertise about text and fonts, I'd really appreciate hearing from you.

Draft design doc: https://hackmd.io/@alice-i-cecile/rJhG8KR40/edit
Open membership working group (feel free to chime in or offer feedback here): https://discord.com/channels/691052431525675048/1248074018612051978

mo8it, to bevy
@mo8it@fosstodon.org avatar

System stepping in is awesome! 🤩

It allows you to pause systems and start them again or run them for only one frame ⏯️

Perfect for debugging physics ✨

https://bevyengine.org/news/bevy-0-13/#system-stepping

video/mp4

gabrielesvelto, to rust
@gabrielesvelto@fosstodon.org avatar

Doing a code review today made me realize how writing safety comments in Rust is all about writing down tautologies

#RustLang

rusticorn, to rust
@rusticorn@fosstodon.org avatar

Almost 2 weeks since the last virtual @bevy meetup, finally the videos are cut and online on Youtube: https://www.youtube.com/playlist?list=PLbvvWoCXmXkL4XreEHMBq7ZqZRmiRjB35 - lean back and enjoy 🍿 #rustlang #gamedev 🦀🎮

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦄 added transitions between camera angles
🦊 added an (kinda) isometric camera angle

(I'll fix the tile ground flickering inside the castle walls, don't worry 🐔)

video/mp4

erlend, to rust
@erlend@writing.exchange avatar

https://blog.commune.sh/weird-happenings/

After two months of development, a LOT has happened in the Weird project.

Weird is a web application built to increase the agency of internet users. We are building three interconnected pillars as our foundation:

  • Independent social sign-in rooted in the OIDC standard as keymaster
  • A personal web space creator
  • An actually-social network of shared purpose

In two weeks we're starting our pilot with the Norwegian Buddhist Foundation!

orhun, to rust
@orhun@fosstodon.org avatar

Can't believe this is now possible in the terminal! 🤯

🌀 bevy_ratatui_render: A Bevy plugin for rendering a Bevy app to the terminal using Ratatui.

🦀 Written in Rust | Built with @ratatui_rs & @bevy

⭐ GitHub: https://github.com/cxreiff/bevy_ratatui_render

video/mp4

oblomov, to programming
@oblomov@sociale.network avatar

I have a question for people with better theoretical background on and especially for developers.

Is the following pattern known and does it have a name?

I have a number of classes (call them C1, C2, etc) that all derive from the same class B. I have a superclass (template, actually) D that derives from C1, C2 etc. To have a single B, the standard solution is to go with virtual inheritance to close the diamond (so far, so good).

1/n

omalley,
@omalley@fosstodon.org avatar

@oblomov most of the newer languages (eg. or ) don’t support inheritance between classes/structs. They only support implementation of traits, which only define interface and not implementation. In general, using inheritance for implementation reuse is brittle and I like to avoid it.

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦊 added environment heights

video/mp4

lily, to rust
@lily@glaceon.social avatar

what's a good problem to use for benchmarking async i/o implementations?

ideally it should be simple, and async io should drastically outperform sync io.

coreutils like cat are simple, but not async-favored.

things like managing http connections are great applications of async, but are very complicated.

anyone have any ideas?

hko, to rust
@hko@fosstodon.org avatar

I'm excited to announce the release of oct v0.11.0 🚀️

oct is a tool for inspecting, configuring and using cards 🔒 (https://crates.io/crates/openpgp-card-tools)

oct can now set up cards in mode, the text output format was improved for readability, and some minor bugs were fixed.

Finally, version 0.11.0 uses , a pure OpenPGP library 🦀.
As a result, the binary on links to four fewer dynamic libraries, while at the same time being 10% smaller.

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

Straw-people love to say that is terrible for quick-and-dirty scripting tasks: just write Python or Perl!

My experience with it has been great though: CLIs are so smooth to write, there's great crates for all the dumb little things you want to do, and path + string processing is super easy. And then you can actually read / modify the script in the future. We've been working on a generate-release script for @bevy with multiple contributors over the last month; it's been lovely.

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

This week in the Bevy ecosystem we see Tiny Glade ship a Steam demo, live VJ sets powered by Bevy, screen space reflections in the deferred renderer and more.

We've also got the usual showcases and a couple really interesting crate release for 2d lighting systems and gpu particles.

https://thisweekinbevy.com/issue/2024-06-03-tiny-glade-vj-performances-and-2d-lighting

litchipi, to rust
@litchipi@fosstodon.org avatar

I just had a 23% speed increase on my project by disabling "panic = abort" in the release profile...

And I can consistently slow it back down when adding it again

Is there something there I'm missing ? Seams really odd

alice_i_cecile, to opensource
@alice_i_cecile@mastodon.gamedev.place avatar

Hi! It's time for this week's edition of the . If this is your first time here, every week a do a round up of the community-reviewed PRs for @bevy, the engine for that it's now my full-time job to help maintain!

There's a whopping 20 PRs ready this week; let's check in on and each of them and I'll make the final call:

https://github.com/bevyengine/bevy/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review+-label%3AX-Controversial+-label%3AS-Blocked+-label%3AS-Adopt-Me+

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦕 added castle themed assets
🐢 lighting changes & sky -> fog
🦜 tile map refactor

funnily enough - after I've changed sky->fog, the N24h race was red-flagged cause of fog and ended after only 8h. 👀

(all 3d assets are made with )

video/mp4

ekuber, to rust
@ekuber@hachyderm.io avatar

Niko Matsakis, as usual, with insightful ideas about how to evolve Rust's lifetimes to make them both more powerful and easier to use.
https://smallcultfollowing.com/babysteps/blog/2024/06/02/the-borrow-checker-within/

kubikpixel, to rust
@kubikpixel@chaos.social avatar

«Methods Should Be Object Safe»
– by @noracodes

🤔 https://nora.codes/post/methods-should-be-object-safe/


lily, to rust
@lily@glaceon.social avatar

i never considered doing a pub use on enum variants...

RogerBW, to raku
@RogerBW@emacs.ch avatar
thomastospace, to random
@thomastospace@phpc.social avatar

I just started a plain typescript project, and was too lazy for a docker setup so I just installed Node with apt and went on my way.

I installed Typescript, that went fine, but when trying to use it it gave a vague error.

Quick search fixed it, but... I'm amazed by the cause: Typescript didn't support the version of Node I had installed, which sure.. That's okay. But why didn't NPM tell me this? NPM does not have node version constraints?!?

🤯

lukasrotermund,

@jaapio While composer is useful, it's not always the bee's knees, especially during major updates involving multiple packages.

Some of the error messages are completely useless and I have spent hours trying to find the problem. I have often wished I could switch to another language because I was stuck in composer update hell.

For example, I have fewer problems with Go modules and rust dependencies via rusts cargo. Both update more smoothly.

#php #rustlang #golang

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

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