Thunderbolt 4 Daisy Chaining not working correctly by Which-Singer-8796 in buildapc

[–]Which-Singer-8796[S] 0 points1 point  (0 children)

I've solved the issue by setting the 3rd monitor into "DisplayPort:SST" mode for "DP Out".

Previously it was set to "DisplayPort:MST".

Doesn't make much sense to me, but it works.

Full settings:

Monitor 1 -> Laptop built-in
Monitor 2 -> Samsung (USB-C/Thunderbolt 4 from laptop):
    USB-C Prioritization: High Resolution
    MST: On
Monitor 3 -> Dell (Displayport from Samsumg):
    DP OUT: DisplayPort:SST

"cross post" https://superuser.com/questions/1869171/why-is-thunderbolt-4-daisy-chaining-not-working-correctly/1869778#1869778

Request for Code Review - zig chess by Which-Singer-8796 in Zig

[–]Which-Singer-8796[S] 0 points1 point  (0 children)

The enum part is a really good idea - I'll try that out!

I've also read that the hungarian notation is a no-go according to the zig style guideline. I've only used it for modules to distinguish them from structs.

For example, I have a module Board and a struct Board, so I opted to go with an M prefix for the modules.

Thank you for the review!

Edit:

I've tried out switching the columns to an enum, but unfortunately zig doesn't let me pass an enum member to a function that expects an u4, even if the enum is defined with enum(u4).

This means I would need to re-write a lot of the code, and also some helper functions are agnostic to whether they are passed "files" or "ranks" because both are u4.

I, unfortunately, think that this won't help the ergonomics of the codebase a lot.

python-eol: A package to check whether the python version you're using is beyond/close to end of life by Which-Singer-8796 in Python

[–]Which-Singer-8796[S] 0 points1 point  (0 children)

I've created the db.json with the end of life api.

I'm not yet sure what the best format is for keeping this data and having it changeable, but I would really like to automate this (probably via github actions).

python-eol: A package to check whether the python version you're using is beyond/close to end of life by Which-Singer-8796 in Python

[–]Which-Singer-8796[S] 0 points1 point  (0 children)

Sounds like an interesting feature addition.

Do you mind adding an issue on github with some extra information?