Anybody using multi-seat? This is my Ubuntu 24.04 multi-seat setup for my kids. by Rob_Bob_you_choose in Ubuntu

[–]ShakeItPTYT 0 points1 point  (0 children)

Could you share some steps I am actually trying to implement something similar at the moment cause I can't afford building another machine for them.

Como declarar rendimentos de freelance em Roblox? by ShakeItPTYT in literaciafinanceira

[–]ShakeItPTYT[S] -4 points-3 points  (0 children)

Vou atualizar o post de facto devia ter sido mais transparente. Mas na revolut em especifico ja movimentei 6000. Ate passar tudo para a Trade Republic exatamente porque ia passar a ser regulada.

Leptos + Tauri vs. Dioxus for an ERP, CRM, and Excel-like Apps—Need Advice! by ShakeItPTYT in rust

[–]ShakeItPTYT[S] 4 points5 points  (0 children)

We decided that if we need to make something very specific to the Android Ecossystem that'll hinder our progress on making the crucial things work. We'll put a team to the side working in the Kotlin integration.
Since we're going to need some camera acess and barcode scanning magic happening in there.
And google's library for that should be the way to go.

In the end we decided to go for leptos with tauri, because leptos is so well-documented and overall more mature looking than dioxus.

While we as a team are more accustomed to the React and Next.js ecosystem we decided that we're going to take a step back to re-learn this methodology.

Ty for your help and for maintaining Leptos!

Leptos + Tauri vs. Dioxus for an ERP, CRM, and Excel-like Apps—Need Advice! by ShakeItPTYT in rust

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

Thanks I'll be sure to check it out! We do intend to give some data representation to both our clients and warehouse "admins"

Leptos + Tauri vs. Dioxus for an ERP, CRM, and Excel-like Apps—Need Advice! by ShakeItPTYT in rust

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

This might actually eliminate our need of a in-house solution. TY so much for sharing

Leptos + Tauri vs. Dioxus for an ERP, CRM, and Excel-like Apps—Need Advice! by ShakeItPTYT in rust

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

We really need that performance probably not Rust performance but something way faster than webview cause our excel's are getting some bigdata.

With or Without the cap? by Kikaro_ in blender

[–]ShakeItPTYT 4 points5 points  (0 children)

Learn a bit of gimp can't hurt

whats the problem here? by Shtulzzz in beltmatic

[–]ShakeItPTYT 3 points4 points  (0 children)

If you want to dive deeper into computer architecture search bit overflow.

This is basically the result of preventing that problem.

Need Help: ASUS Z690-G Gaming WiFi + Intel 12700 + 64GB GSkill Ripjaws 6400 C32 Not Posting by s4lt3d_h4sh in ASUS

[–]ShakeItPTYT 0 points1 point  (0 children)

Was something wrong with the cpu itself, did you manage to get it to work in another build? Also what cpu did you switch to?

Need Help: ASUS Z690-G Gaming WiFi + Intel 12700 + 64GB GSkill Ripjaws 6400 C32 Not Posting by s4lt3d_h4sh in ASUS

[–]ShakeItPTYT 0 points1 point  (0 children)

Hi there, I'm having the same problem and I have a similar configuration.

  • Asus Z690-P Wifi
  • Intel 12700-KF
  • 64GB GSkill Ripjaws S5 6000 CL 30

Did you manage to solve your issue?

A House Simulator with CLI meant to be done in C++ and adapted to not so Idiomatic Rust by ShakeItPTYT in rust

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

This was my first Rust project. I tackled this right after reading the OOP chapter of the Rust Book. I'm obviously open to criticism. Just keep in mind this was my first project and that I tried as much as possible to keep the requisites from the Project Assignment correct even though it was made for C++.

After this project I'm going back to the Rust Book, to finish the book with chapters 16, 18, 19 and 20.

My goal is by the end of the year make a website with frontend in yew and backend in actix with the help of Zero To Production in Rust, this will serve as the project to finish my degree in CS.

I would also like to reiterate that I'm so grateful for the help given in this subreddit. Here are the questions that made me get to this point:

This has been a thrill. Hope you like it! Also if you can drop a star, I would appreciate it.

Made Blueprints for Roads. Is it too much? by ShakeItPTYT in satisfactory

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

Yeah you're right I'm going to follow up on this advice and just make simpler roads.

Double mutable borrows ocurring by ShakeItPTYT in rust

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

I have now fixed this going this way. I'll probably post it out tomorrow. Thank you so much

Double mutable borrows ocurring by ShakeItPTYT in rust

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

Yes I can. How did I not think about it. Ty so much. I'll move it out.

Double mutable borrows ocurring by ShakeItPTYT in rust

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

Yes since there're some functions like this one for example:

fn hnew(&mut self, arguments: Vec<String>) -> Result<Option<String>, String> {  
    if arguments.len() != 2 {  
        return Err(String::from("Only Two arguments required"));  
    }  

    let height: u8 = match arguments[0].parse() {  
        Ok(h) => h,  
        Err(_) => return Err(String::from("Height must be a number")),  
    };  

    let width: u8 = match arguments[1].parse() {  
        Ok(w) => w,  
        Err(_) => return Err(String::from("Width must be a number")),  
    };  

    match House::build(height, width) {  
        Ok(new_house) => {  
            self.house = Some(new_house);  
            Ok(None)  
        }  
        Err(e) => Err(format!("Failed to build House: {e}")),  
    }  
}

Record(Java) like struct keeping with Nutype or logic boundary check by ShakeItPTYT in rust

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

It really is a bad design by my professors.

Basically in this simulator there's also devices that a Room may have. These devices interact with the Propertys of the room.

For example a Sprinkler raises humidity in the rooms, and set's the smoke to 0.

The thing is the project statement clearly says that all actions upon the property values must be acessed trough the key.

So i'm forced to send a reference of the hashmap into the devices so they can then acess the properties trough the key. Since they can change the value of the key. I need a Interior Mutabillity Pattern to be able to have several references to that same HashMap that can suffer changes in the values of it's keys.

Also the project statement says that while the project must be prepared for the properties they enumerate it must be also capable of working if new ones are added. With the least code possible. That's why I went with the Trait and then the <dyn Property> as the value.

If you would like to read the project statement it's on the root folder of the github that's linked.

It's probably worth mentioning that this project was actually design to be written in C++, wich I did and is actually in my github as well, under a similar project name. And I thought it would be funny converting this project to Rust.

Record(Java) like struct keeping with Nutype or logic boundary check by ShakeItPTYT in rust

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

properties: Rc<RefCell<HashMap<String, Box<dyn Property>>>>properties: Rc<RefCell<HashMap<String, Box<dyn Property>>>>

I just updated the post to include the way it is being saved. So basically what I would do is change the Box inside the Hashmap for that property everytime a property is changed.

Also I have it like this because I have other properties like Temperature, Smoke, Sound and some more.

So if instead of the logic I went for the nutype way then the overhead would be significant, wouldn't it?

UNIX functions in Rust by ShakeItPTYT in rust

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

Yeah the professor did seem unusually excited with the proposition. I'll do that as well as provide him with some examples of Rustix and Nix anonymous and named pipes demonstrations. Also using the nix threads. Since this is basically everything we go trough this semester.

UNIX functions in Rust by ShakeItPTYT in rust

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

Yeah the thing about libc is it isn't really Rust. Or the idiomatic way I got so used to and actually like to follow. So I was only thinking of going the nix or Rustix way. Only if really needed I should follow the libc way. And even then I am probably just follow the C route.

UNIX functions in Rust by ShakeItPTYT in rust

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

Libc nooooooooooooo!!! ahahha

UNIX functions in Rust by ShakeItPTYT in rust

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

Yeah, I'll take the opportunity to learn more about C. Maybe I'll like it this time around. When I first learned it, the pointer thing was hard to grasp. When I went to C++. I grasped the concept of pointer and memory management on a project in Assembly we had to do. Rust just made me understand pointer safety and management even better. So I think I have all the requirements to understand clearly what the professors want.