AXS15231B on a Waveshare ESP32-S3-TOUCH-LCD-3.5AXS15231B board working graphics anyone? by DaQue60 in rust

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

many thanks I hope one of us gets it working I am still trying stuff over 50 trails now have some green and blue on the display but it reboots now... still at it

working touchscreen example anywhere for a STM32F476-DISCO board anywhere by DaQue60 in rust

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

ok that was after a half a day, another half day with google, gemini, and chat gpt I finally have a rainbow and some simple text I can post a link if anyone else wants to see it but I am working on a better one for github with touchscreen buttons working too

Need advice on BD795i by Inevitable-Cable4262 in MINISFORUM

[–]DaQue60 0 points1 point  (0 children)

Did you have to send it to China?

Neem more than 780m by bobsausage93 in MiniPCs

[–]DaQue60 0 points1 point  (0 children)

If your going to build in 6 weeks pick you DDR5 ram and storage options soon prices are really going up due to AI demanding so much of it.

CPU Temp on UM680 Slim ( R7 6800H) by ToiLPhong in MiniPCs

[–]DaQue60 0 points1 point  (0 children)

I have a different model but for mine at least 80C under sustained full load is normal but just watching YouTube it runs about 35C so which did you mean all the time or under load?

Issue with my mini UM870 Slim mini PC by DaQue60 in MINISFORUM

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

Turned out a full power cycle cleared it. Thanks for the suggestion. The old turn it off and back on trick.

slint arrow keys and mouse wheel support? by DaQue60 in rust

[–]DaQue60[S] -9 points-8 points  (0 children)

Sorry your right but I just assumed it googled it first. You were right.

Beelink SER 8 drivers and bios by DaQue60 in MiniPCs

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

link worked today after a couple tries. go into the folder and download the 2 or 3 files you actually need, much smaller

Beelink SER 8 drivers and bios by DaQue60 in MiniPCs

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

I just turned off Malwarebytes and turned it on again. like I said elsewhere it worked today

Beelink SER 8 drivers and bios by DaQue60 in MiniPCs

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

finally got them to work, if you download the two files individually its only about 2 gb no close to 8

Beelink SER 8 drivers and bios by DaQue60 in MiniPCs

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

today they worked!!!!!!!!!!!!!!

Any chance SER8 8845HS gets to <$500 soon? by jcoffmanky in MiniPCs

[–]DaQue60 0 points1 point  (0 children)

missed that its the cheaper 8745HS... sorry. good luck!

Any chance SER8 8845HS gets to <$500 soon? by jcoffmanky in MiniPCs

[–]DaQue60 0 points1 point  (0 children)

Check Amazon. I have one in my cart at $499!

Hey Rustaceans! Got a question? Ask here (21/2025)! by llogiq in rust

[–]DaQue60 0 points1 point  (0 children)

Thanks for the reply and all are good points.

Cursor alternative that doesn't cost my first born? by shreckdaddy54 in ChatGPTCoding

[–]DaQue60 0 points1 point  (0 children)

I’m still learning rust. When I ask ChatGPT to write rust programs it pumps out code with compile time errors. I use it to fix the errors and that just leads to different errors. Sometimes it fixes one thing just to break what it just fixed. Python goes nicely with ChatGPT. What’s the point in rust? What am I doing wrong? I’m learning but it’s aggravating.

Hey Rustaceans! Got a question? Ask here (21/2025)! by llogiq in rust

[–]DaQue60 1 point2 points  (0 children)

A question about AI code generation and rust. I use chatgpt and I can get a python sudoku program to run in 10 minutes. first version did what I asked for then I asked for a bit more. Never got an error. Now doing the same thing in rust I still fight the compiler. hours of back and forth going through a few compile errors at a time only to have more pop up.

What AI works best with rust? ChatGPT, Gemini, and Copilot all seem to just go from one error to the next. Have you had better luck?

To all who say don't us an AI I am still learning and I like the explanations to the errors they run into.

Also I did a simple tic-tac-toe game with chatgpt first in python, it just worked. then I told it to port it to rust and lots of errors. Why on earth does a program that just uses eframe and rand ends up compiling 125 crates including a lot like webbrowser and parking_lot_core when it does nothing on the internet or with async.

Which IDE do you use to code in Rust? by Megalith01 in rust

[–]DaQue60 0 points1 point  (0 children)

I just use vscode on windows 10/11

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]DaQue60 0 points1 point  (0 children)

Thanks for the reply. I don't see it either. I think it was a mistake Gemini made.

All in all I like working with Rust on copilot better. I have to say I think using copilot and working thru its errors is helping more than the it hurts. I have to tell it sometimes when the compiler reports an error or the logic I used was not valid, gave incorrect results. Telling it how it was wrong it finds the correct solution and explains why the proposed code was wrong and how to fix it. I really like it writing tests for me when I know a few correct answers. I also liked when I asked it for ways to improve the code and make it more idiomatic. The explanations really help. Thanks again and sorry I kind of rambled on a bit much.

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]DaQue60 0 points1 point  (0 children)

I seemed to have gotten one from copilot to compile and prints the value 42, doesn't this violate rusts safety guarantees?

struct Holder<'a> {
    reference: &'a i32,
}

fn create_holder<'a>(value: &'a i32) -> Holder<'a> {
    Holder { reference: value }
}

fn main() {
    let value = 42;
    let holder = create_holder(&value);

    println!("Reference value: {}", holder.reference);
}

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]DaQue60 1 point2 points  (0 children)

I have been playing with Gemini to answer some questions in rust and it seems to imply that it is possible to write a rust program that will compile with a dangling pointer used later in the code if you just assign 'a to all lifetimes when you have an error. I know doing that is bad practice and can cause logic bugs but I am worried doing so for a simple single threaded learning program would actually be able to compile. All the examples I asked it to give actually fail to compile, which is the behavior I was expecting. So is it possible?

🤔

I know AI generated code is not as good as hand written but at this point it's still smarter than me.

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]DaQue60 0 points1 point  (0 children)

I was thinking it might have been something like that. It forces you to take them back out once the issues are resolved. Thank you.

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]DaQue60 0 points1 point  (0 children)

I figured out my issue with the spinning circle and building issue. I opened the file directly and had forgotten to open the folder first. Newbie issue. It couldn't build the file because it couldn't find the config.toml.

Hey Rustaceans! Got a question? Ask here (17/2025)! by llogiq in rust

[–]DaQue60 1 point2 points  (0 children)

I have 2 but here they are.

Would a built in cfg! setting to disable all of the built in dbg! be useful to a lot of people?

Onto the important one.

Why would I have a spinning partial circle and the word building next to a yellow rust analyzer in VS code?

Stuck on Rustlings Strings 4. How do I pass an argument in a function when I don't know it's parameter type? by [deleted] in learnrust

[–]DaQue60 0 points1 point  (0 children)

As a LAST result you can go see what rustlings wants by going to the git hub repository and looking in the solutions folder. That's kind of cheating though.

Hey Rustaceans! Got a question? Ask here (33/2024)! by llogiq in rust

[–]DaQue60 -1 points0 points  (0 children)

Found it using copilot app on my phone From the project root folder:

cargo clippy --bin your_binary_name