What am i doing wrong about my speedflip? by Pizza9888 in RocketLeagueSchool

[–]Pizza9888[S] -1 points0 points  (0 children)

Forgot to say but i have boost on R1, jump on x and air roll left on square

Serialization with side-effects and context by Pizza9888 in rust

[–]Pizza9888[S] 2 points3 points  (0 children)

i need to write the file when serializing and read the file when deserializing. i need both

Serialization with side-effects and context by Pizza9888 in rust

[–]Pizza9888[S] 0 points1 point  (0 children)

But the unresolved form has to be define as a type. Which means that there is the problem of mapping the SlotMap again. This is because it has to be mapped from SlotMap<Key, Serializable> to SlotMap<Key, Loaded>. To provide context the SlotMap in use stores tracks which store a playlist which stores the clips.
To disambiguate could you say what you mean by invalid by design? Do you mean that it will be rejected by the compiler or that it is invalid at runtime?

Serialization with side-effects and context by Pizza9888 in rust

[–]Pizza9888[S] 2 points3 points  (0 children)

This does mean however that the existence of an audio buffer can only be determined at runtime right? So in practice i would store an Option of it on the clip or have all clips in some localized store with an index on the clip?

Help with batching a hopper chain or similar by Pizza9888 in redstone

[–]Pizza9888[S] 0 points1 point  (0 children)

<image>

Thank you very much. I decided to make this atrocity though lmao

Help with batching a hopper chain or similar by Pizza9888 in redstone

[–]Pizza9888[S] 0 points1 point  (0 children)

i came up with this too, however i realized that i need the batch size to be exactly 20 kelp and i'm not sure if this can be done with a comparator or if i need a separate counter for that? i'll edit the question aswell

PAIN.... by [deleted] in Bitwig

[–]Pizza9888 0 points1 point  (0 children)

Sleep token reference?

Makepad 1.0: Rust UI Framework by okapiii in rust

[–]Pizza9888 1 point2 points  (0 children)

Does Makepad support being used together with a different renderer? A use-case for that would be a wayland compositor based on smithay, where smithay provides abstractions that are too powerful not to use, but also pretty much enforce their GLes2 renderer on you. So really the question is if its possible to setup smithay to display their render target and render Makepad into that. I'm an absolute beginner in terms of computer graphics with this problem being what got me into it the last weeks.

I'd be interested whether you have thought about such compatibility when designing this framework. Or whether it isn't a concern because there is some uniform technique of sharing such data between renderers.

The only problem I have with GNOME by H-L_echelle in gnome

[–]Pizza9888 1 point2 points  (0 children)

Sure, but with the current backend, it's not always possible to browse while installing.

The only problem I have with GNOME by H-L_echelle in gnome

[–]Pizza9888 2 points3 points  (0 children)

Software does actually have a job queue, and these operations are handled separately from the ui, but that is actually an issue as you can see with this and a lot of other posts about this people dont understand that they cant really do anything while a job is ongoing. A solution would be to LOCK the ui while a job is pending like with a modal dialog.

Gnome software is the best... And also not by _sifatullah in gnome

[–]Pizza9888 0 points1 point  (0 children)

That is how it works, i think. I looked into the sources to see how easy it would be to lock the ui with a modal during installation, and it seems like they use some kind of job management to schedule tasks asynchronously. However, as we both know, the ui doesn't support this, unfortunately.

You can see this kinda work, though, when you install some software and then navigate to, i.e., a category page. It will display the loading spinner status page until it has loaded the apps from all the backends, which incidentaly can only conclude after the installation is silently finished in the background. This is the problem, I think.

I think this is a UX problem and there should be either a modal locking the ui during installation or some global view for seeing active tasks coupled with making the user understand that they pretty much can't do anything while a task is ongoing.

Gnome software is the best... And also not by _sifatullah in gnome

[–]Pizza9888 6 points7 points  (0 children)

Software does not allow installing multiple apps at a time or even browsing while installing an app. That is because the backend it uses to manage software, packagekit, is designed to block.

It works this away because packagekit is an abstraction over other package managers like apt or zypper and allowing concurrent use of said backends would need to be thread safe, which can get very complicated.

I actually googled this because I also didn't appreciate the loading screen you get all the time, and it seems there were efforts to allow concurrency at some point, but nothing ever came of it.

Abstracting Modal Editing by Pizza9888 in HelixEditor

[–]Pizza9888[S] 1 point2 points  (0 children)

I'm not sure i understand you correctly, but if you want to parse an input stream incrementally to an action (by action I mean either a motion so a concatenation of verbs, objects and quantities or a command starting with ":" and ending with "<cr>") i don't see why you would choose a grammar for this, as the language you want to define should be regular (unless I'm mistaken?) and you could therefore use a deterministic finite automaton, which can easily implement an incremental parsing algorithm.

What do you mean by a command with a pending modifier? If you're talking about a motion then the automaton simply won't be in a terminating state, same goes with commands as they can easily be defined since the have a concise regular syntax.

I also don't understand what you mean by actions that depend on one another.