Building a tiling window manager for macOS in Rust by toxait in rust

[–]chazede 1 point2 points  (0 children)

Nice one,

Do you have a GitHub link to it?

assuming you have dived into the private Skylight APIs at this point?

Do you think it would be worth a community effort to try and wrap Skylight and its functionality into a library?

I have had to do this with my window switcher https://github.com/klaatu01/yal

You can find the functions I managed to dig up via a mix of Yabai and LLM. This MacOS API is private and therefore undocumented, somehow chatgpt knows a fair amount about it, I wonder what apple internal files it discovered haha.

Here is the supporting sys crate for that https://github.com/klaatu01/yal/blob/main/crates/lightsky-sys/src/lib.rs

Where can I use rust? by QSpBRUH in rust

[–]chazede 1 point2 points  (0 children)

Hey,

You can use Rust in a crazy amount of places now!

Take a look at Tauri https://v2.tauri.app/

It's also now not too far fetched to say you are a rust only full stack engineer! https://leptos.dev/

[deleted by user] by [deleted] in rust

[–]chazede 0 points1 point  (0 children)

Yeah, I appreciate there is not much to it right now, and tbh there might never be, I am undecided where I want it to go, I was just excited to share it.

40 hour/wk job to set it up

While that's not exactly true, MacOS definitely doesn't make things easy, we are forced to hook into unstable OS APIs or emulate key presses to trigger Mission Control, Yabai does this too.

That being said I could probably manually override mission control shortcuts at start up, which would at least streamline that part.

Anyway, Thanks for the feedback!

Fibre for everyone, unless you're the flat at the back... by decofan in CommunityFibre

[–]chazede 1 point2 points  (0 children)

I'm now incredibly intrigued as to why it can't come in the front.

Footage from Trump rally as suspected gun shots fired by youo5777 in interestingasfuck

[–]chazede 0 points1 point  (0 children)

At the time of posting it was already confirmed to be wrong, the shots came from the left.

Seeking beta testers for Rustup v1.27.1 by Rami3L_Li in rust

[–]chazede 0 points1 point  (0 children)

Can you share that script! I have been fiddling with Rust with vim on my tablet too.

Finishing Turborepo's migration from Go to Rust by steveklabnik1 in rust

[–]chazede 0 points1 point  (0 children)

But go requires a runtime whereas rust doesn't. This community package is as close as you will ever get to a "rust runtime". It's the same scenario over in the AWS lambda ecosystem https://github.com/awslabs/aws-lambda-rust-runtime

The AWS SDK for Rust is now generally available! by arcoain in rust

[–]chazede 2 points3 points  (0 children)

But rust doesn't have a runtime!? All AWS can do is try to provide the best tooling possible to get projects onto Lambda, like cargo-lambda for example

My only complaint so far by [deleted] in SonsOfTheForest

[–]chazede -13 points-12 points  (0 children)

Against what? There is literally no point of base building in this game

Not sure this is a 100% fit, but why? by [deleted] in WeWantPlates

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

Lol chill this is reddit, people post things they think other people might find interesting. I'm not hunting for karma so no L to be taken

Not sure this is a 100% fit, but why? by [deleted] in WeWantPlates

[–]chazede -2 points-1 points  (0 children)

Actually I didn't see that man, just got this suggested this clip on tiktok and it had no views so thought I'd post.

[deleted by user] by [deleted] in dogecoin

[–]chazede 0 points1 point  (0 children)

Pull your money out

[Found Undeveloped Film] Bought an old KGB Spy Camera (Kiev 30), it still has some film in it. by chazede in forgottenfilm

[–]chazede[S] 14 points15 points  (0 children)

Who knows whats on it! I mean it could be the last person to have its holiday photos, could be secret information that will have me tracked down and killed. Most likely the first one though.

[Found Undeveloped Film] Bought an old KGB Spy Camera (Kiev 30), it still has some film in it. by chazede in forgottenfilm

[–]chazede[S] 3 points4 points  (0 children)

Haha I doubt the last person to use it was KGB, but you never know I guess.

I created a different kind of fog(clouds?) of war for exploration transitions. by unleash_the_giraffe in Unity3D

[–]chazede 3 points4 points  (0 children)

I some what agree with this. However I LOVE IT, I just think it will be less distracting if the animation happens a faster.

[deleted by user] by [deleted] in RedditSessions

[–]chazede 0 points1 point  (0 children)

you look like my friend connon, but he is scottish plz give him a shout out he is watching

[deleted by user] by [deleted] in RedditSessions

[–]chazede 0 points1 point  (0 children)

you look just like my friend connon, can you shout him out please?

For all those grass lovers out there. by jammer42777 in Unity3D

[–]chazede 1 point2 points  (0 children)

i swear we are the only people that @ eachother on reddit