I immediately had a use case for inertness when building the UI in my most recent color picker post. Inertness opens up a huge number of new layout capabilities in backer!
I immediately had a use case for inertness when building the UI in my most recent color picker post. Inertness opens up a huge number of new layout capabilities in backer!
The core property of a view which neither expands nor self-sizes is the same as a view which expands but with zero accommodation from its parents. It's constraints are *inert* in the eyes of it's container.
So if I'm adding a background to a view with constraints, and I want another view to expand, but only enough to take the space the other one is taking, I'm falling into a middle territory where I'm neither pushing, nor self determined.
What is it about "following-along" that's different? In backer, nodes are either unconstrained or constrained. An UNconstrained node will freely expand - pushing outwards on it's neighbors, and a constrained node doesn't. It sticks with it's size and everything that contains it accommodates that.
I like this idea, but something about it is unsatisfying.
What happens if I want view A to use view B's height, and the views are siblings in a row? There has to be a version of this "follow along" concept which can permit views to use sibling constraints in any container.
This is extremely useful in "bottom-up" layout systems, because very often you have no idea how big a view is going to be, so you want to just "follow along" some other view's layout to make something like a nice padded background
in my layout crate backer, I had blindly picked up a concept called overlay / background from swiftUI which gives any view the ability to simply use whatever space another view ends out with, and to be rendered on top of or behind it
this is rust cross-platform GUI btw
#rustlang
this language selection is just due to a lack of mature gui options in rust, people have to use webui. I'm doing my part!
github.com/cyypherus/ha...
yeahh I let them know lol, at least the discord one works
i participate in an open source / software discord that has plenty of people who'd be willing to give you informal input. Plenty of rust people like myself that are happy to help in an ad-hoc manner
opensourceforce.net
are you all bots? this is all over a sequence of asterisks, the thing most password fields on the planet are already doing?
zed extension would be cool
it's super resistant to code churn which is bad for architecture & not strong at identifying minimal interfaces or minimal interactions to get work done
what are you trying to make?
mesh networks are the peoples internet
liberation from the state controlled bandwidth
github.com/cyypherus/ri...
what are you hoping to find?
too low level? I dont find it to be any lower level than something like swift, in fact swift's standard library is lacking in comparison
in another light, now you are not limited by the speed at which you type, & you can shoot for more ambitious projects
it goes deeper than just keeping you on your toes. types are an encoding of the valid states your program can be in
the decisions you make around types eliminate or add branches and code paths throughout your entire program, choose wisely
nonetheless, it is not uncommon for an LLM to output shitty rust. can't imagine if it's worse in other languages
has to be core modules because it's web?
I'm far from the web world but close to the wasm world, wit & components are fantastic to work with in rust
why wit-like? why not just wit?
> vscode
yes
how do you feel about
clippy::type_complexity
clippy::too_many_arguments
I disable them both for my crates tbh
just give the llm primarily wasm tools, not bash access
wasmtime sandboxing is pretty strong, it's a harness problem
starlark-lang.org
I haven't seen many mentions of starlark, seems to be more established & accomplishing a similar goal
Starlark even compiles to wasm, which gives you doubly sandboxed code execution
helix editor has nothing to do with that crypto site
I wonder what people think of this oss license blurb..
There's a cool hidden internet running on reticulum with search engines and forums and chat rooms.
I built a nomad network TUI client with ratatui and my crates rinse & micronaut.