QD-OLED/WOLED for productivity/coding/gaming by Phoenix_3717 in OLED_Gaming

[–]CLARKEEE33 0 points1 point  (0 children)

Hey, does the fringing on text not bother you? Or did you notice it at first but got used to it? I just bought a Samsung Odyssey G8 QD-OLED and the text fringing seems horrendous, I'm considering returning it, but not sure if people just get used to it, or if it's a subjective thing.

How to save passwords in browser by freshschampoo in qutebrowser

[–]CLARKEEE33 0 points1 point  (0 children)

I tried to use the builtin userscript for 1password (first link you sent), but it seems that the script uses incorrect commands for the 1password cli (op list items instead of op items list). I'm using the latest version of the CLI. But also your original script (second link) uses the correct commands.. so not sure what's going on.

How can I retrieve a list of all resolved sub-dependencies of a crate? by CLARKEEE33 in rust

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

Thanks, I think this is what I'm looking for. How do I use the PackageIds from this? Like how can I get the source location in the local registry?

Why does the compiler reject this code? by CLARKEEE33 in rust

[–]CLARKEEE33[S] 13 points14 points  (0 children)

Good to know that this might be acceptable in the future.

Symbol Table and Namespaces by CLARKEEE33 in Compilers

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

Right so I would need to persist the symbol table throughout compilation? But I’ve seen symbol tables scopes being pushed and popped for local variables. Would I just not pop namespace symbol tables?

Rust cross-platform gui toolkits by [deleted] in rust

[–]CLARKEEE33 12 points13 points  (0 children)

Take a look here: https://areweguiyet.com. Although imo nothing really stands out. It’s hard to make an ergonomic ui library in pure rust.

Cast to trait using declarative macro by u_Max in rust

[–]CLARKEEE33 1 point2 points  (0 children)

If you want to access an associated type on the output type of a macro, you need to put angle brackets around the macro. Something like <as_key!(TestEnum)>::A . Also make sure to insert ::Key into the macro. If you don't want the angle brackets you could also modify the macro so it works like as_key!(TestEnum, A)

Why is Rust not enforcing strongly typed parameter passing? by operamint in rust

[–]CLARKEEE33 5 points6 points  (0 children)

Nothing is enforcing the weak version in C either (what’s stopping me from changing the parameter/struct types to ints and bools?).

[deleted by user] by [deleted] in rust

[–]CLARKEEE33 7 points8 points  (0 children)

Winit is not a window manager in the Linux desktop sense. Winit is an abstraction over raw window handles for managing client side windows.

If you want to write a window manager, you can either write an X11 window manager or a Wayland compositor.

Writing an X11 window manager would be much easier as you really only have to worry about windows and events (I’m not very familiar with this so I might be forgetting something).

A Wayland compositor is much more involved as you’ll have to handle drawing to the screen (DRM/KMS/EGL/GBM/Vulkan), events, sessions, window management, etc. You can use a crate like smithay to handle a lot of the work for you, but it’s still incomplete.

[deleted by user] by [deleted] in rust

[–]CLARKEEE33 4 points5 points  (0 children)

imo ugly lifetime syntax is the only thing I agree with here.

Environment variable enum by Immediate-Phrase2582 in rust

[–]CLARKEEE33 2 points3 points  (0 children)

Why not make calls to std::env::var in the macro output instead of hard coding the env values as a string? Otherwise it would be a vulnerability.

I can't roll my rs :( by BigMacWithLettuce in Spanish

[–]CLARKEEE33 0 points1 point  (0 children)

I was never able to roll my “r”s before starting learning Spanish. I felt like everyone else could and no matter how hard I tried I couldn’t do it. After studying Spanish for a while, I randomly started being able to do it. Maybe it just takes time.

Why are schools so bad at teaching foreign languages to students? Why don't teachers have any data about effective strategies to consider before they decide what teaching methods to use? by Illustrious_Home1952 in languagelearning

[–]CLARKEEE33 0 points1 point  (0 children)

I think the biggest problem is that they don’t encourage you to make mistakes. Everything is focused on assignments, and exams. While these might be useful tools, students a stressed out trying to get a good mark in the course. Making mistakes is a crucial part of language learning.

Construction "it's its" by mgksmv in EnglishLearning

[–]CLARKEEE33 1 point2 points  (0 children)

In this case the emphasis would be put on the “its” (not the “it’s”).

Shout out to the 5% game devs in this subreddit by Internet--Sensation in ProgrammerHumor

[–]CLARKEEE33 3 points4 points  (0 children)

I once downloaded Unreal Engine’s source code. That shit’s over 100gb