frostphunk

joined 1 year ago
[–] frostphunk@lemmy.world 7 points 1 year ago* (last edited 1 year ago)

Hey guys,

Seems I had a bad USB port. Looks like ChatGPT won’t be coding us a driver anytime soon

I do concede my lack of sleep has led to bad judgement

[–] frostphunk@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

You’re right, I didn’t consider documentation being a problem never written a driver . I just assumed it was pretty easy for something with just 12 buttons. Any pointers on REing. I’m assuming victrix doesn’t put out any docs on their sticks

[–] frostphunk@lemmy.world 1 points 1 year ago

Not at Pc atm but I’ll let you know ASAP

also I’m running steam as steam deck in gamescope on wayland in case my hardware helps anyone. Should be recent versions b/c rolling release distro

 

Otherwise I have to write one myself. In which case anybody have a good guide on writing Linux kernel drivers in rust? Maybe specifically catered towards controllers

Otherwise I guess I can get chat gpt to do it

The thing has three ‘modes’ Pc,ps4, and ps5. But just connecting it to Pc doesn’t work

[–] frostphunk@lemmy.world 5 points 1 year ago

The inspiration we need

[–] frostphunk@lemmy.world 40 points 1 year ago* (last edited 1 year ago) (22 children)

It’d be kinda sick if they actually worked that way

[–] frostphunk@lemmy.world 2 points 1 year ago (1 children)

What’s the context here?

[–] frostphunk@lemmy.world 0 points 1 year ago (1 children)

Thankfully the code is open source so a good answer can be had. Unfortunately not familiar with the code base

Ofc instances themselves may modify the code to track certain things. However this highlights the importance of using instances you trust.

I wonder if there is a checksum or something to verify what version of code an instance is using

[–] frostphunk@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

Learning rust is hard, yeah. But I’ve found that once you get the hang of it, actually using rust and writing code day to day is as fast or faster than using other languages (Jacascript, Pythong, etc). Rust tells you exactly what you did wrong and why it’s dangerous, this is incredibly useful in avoiding bugs and speeds up productivity. Therefore, I have doubt the main creators of Lemmy have issues with writing rust code.

I agree that finding developers can be hard, though. Especially since rust is still a relatively new language. I also agree that new programmers who recently came to lemmy and want to help it succeed by contributing code will take a good bit of time to get to that point of ‘being comfortable enough with rust that it increases productivity’. However, I also think we have to consider the inverse, that the influx of new users will also see experienced rust programmers who want to help contribute to Lemmy and be successful at it (and in fact I think we’ve already seen this if I take Lemmy PR activity as any indication). Indeed even the rust subreddit stickied protest post hinted that rust developers are among the few who can help enact new alternative platforms to Reddit, and there are definitely OG and amazing programmers in that community.

That’s also not mentioning that rust has continued to gain traction and is continually one of the most favorite languages for devs (according to stackoverflow)

TL;DR: I’m a rust optimist and have faith in the rust community to help out Lemmy where it matters.

Source: been rust dev for 4+ years, do it for day job. Also considering helping out Lemmy when my life becomes a little bit less crazy

Lemmyrs/rustlang for rust instance btw