What's everyone working on this week (42/2024)?

New week, new Rust! What are you folks up to?

1 Like

Still working on EZSP. Gave ASHv2 a finishing touch thanks to @farnz and @kpreid.

I'm currently waiting for some feedback from the hardware manufacturer on how to properly fragment the larger EZSP frames to correctly fit them into the rather small ASHv2 data payload.

2 Likes

the usual:

  • angst about vim or Neovim
  • all-in on nix-darwin/nix but then losing the will to live and jumping back into macports until finally I just cave and use homebrew
  • fighting the good fight in the intersection of DDD and Rust
  • marvelling at the joy of htmx and server side HTML with the http crate
  • lamenting the pain of htmx and server side HTML with the http crate
  • missing DI (especially Spring)/the Cake pattern from a decade ago
  • and repeat

oh, and at some point I have some proper work to get on with :slight_smile:

2 Likes

Solved it myself: Silicon Labs Community

Feels nice to get quirky things working... :slight_smile:

2 Likes

... and indeed, Rust is brand new to me, as of this October 11th. :grin:

Today, I just got a print copy of The Book, and am working on the introductory exercises in the first two chapters as well as a little Rust code that works with the Golomb sequence, aided by the generous help of some good people on this forum.

2 Likes

Trying very hard to add a state scoping feature to backer :hugs:

1 Like

Somebody just had to change the API for the windowing system. Working through the damage.

   Compiling rend3-examples-package v0.22.0 (/home/john/projects/rend3-hp/examples)
error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
   --> examples/src/animation/mod.rs:164:24
    |
164 |         winit::window::WindowBuilder::new().with_title("animation-example").with_maximized(true),
    |                        ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
   --> examples/src/cube/mod.rs:186:48
    |
186 |     rend3_framework::start(app, winit::window::WindowBuilder::new().with_title("cube-example").with_maximized(true));
    |                                                ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
  --> examples/src/cube_no_framework/mod.rs:65:42
   |
65 |         let mut builder = winit::window::WindowBuilder::new();
   |                                          ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
   --> examples/src/egui/mod.rs:259:48
    |
259 |     rend3_framework::start(app, winit::window::WindowBuilder::new().with_title("egui").with_maximized(true))
    |                                                ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
   --> examples/src/skinning/mod.rs:162:24
    |
162 |         winit::window::WindowBuilder::new().with_title("skinning-example").with_maximized(true),
    |                        ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
   --> examples/src/static_gltf/mod.rs:145:48
    |
145 |     rend3_framework::start(app, winit::window::WindowBuilder::new().with_title("gltf-example").with_maximized(true));
    |                                                ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

error[E0433]: failed to resolve: could not find `WindowBuilder` in `window`
   --> examples/src/textured_quad/mod.rs:175:48
    |
175 |     rend3_framework::start(app, winit::window::WindowBuilder::new().with_title("textured-quad").with_maximized(true))
    |                                                ^^^^^^^^^^^^^ could not find `WindowBuilder` in `window`

There are maybe ten headaches like this. Changes to API names, additional parameters to be filled in, changes to lifetimes, etc. The documentation often misleadingly says that something was merely "renamed", when the changes went deeper than that.
With the churn at wgpu, winit, and egui, and the abandonment of rend3, there goes the rest of my October.

"We must all run very hard to stay in the same place" - Alice in Wonderland.

1 Like

Codecademy offers a free Rust for Programmers course that I went through briskly yesterday as a "quick primer on the fundamentals of the Rust programming language", as they describe it. As part of my current effort to learn Rust, next week I'll work with each of their interactive code examples in greater depth by modifying and, quite likely, breaking and fixing them.

Will be back to report on that in a few days when the upcoming "What’s everyone working on this week (43/2024)?" issue of this series comes online ...

1 Like