🖼 Github 针对中国大陆 IP 返回 403 Forbidden 当使用中国大陆 IP 访问 Github 首页或者登陆页时,会得到 403 Forbidden 响应,并提示: > Access to this si...

Github 针对中国大陆 IP 返回 403 Forbidden

当使用中国大陆 IP 访问 Github 首页或者登陆页时,会得到 403 Forbidden 响应,并提示:

> Access to this site has been restricted.

根据测试,部分香港 IP、新加坡 IP 同样受到影响。可能和 Github 使用的 GeoIP 数据库有关。

相关讨论:

https://github.com/orgs/community/discussions/156515

拨测结果:

https://www.boce.com/http/20250413_87e23328ffb950ac0cefbcfda72de14b.html

https://boce.aliyun.com/detect/http/c127bbe2fdbc4f9ba01f1672aebd2ec2

Read More

[活动]国服竞逐排位拿昵称活动即将开启,感受前所未有的代练狂潮

4月16日-4月22日国服即将开启排位竞逐活动,给国服回归的新玩家说一下奖励和规则:

[奖励]
1、特殊奖励:昵称名牌皮肤,共三个等级,头像框个人生涯均有特效标签显示,按TAB全局玩家都可以看到。
2、其他奖励:打满获得3000武器竞技点。(图源截自远芳芳faraway)



[规则]
1️⃣仅限预设职责的排位且定完级。
2️⃣加分:获得段位进度点数x10(+组排额外加50分),减分:扣除段位进度点数x3。
3️⃣保底机制:总额分成多个节点,点数每到一个节点便不会低于所达到的节点。



B站有个up发的预设职责三位置青铜,开放排位十强的视频,他评论区没明说所做何意,但是看见这个帖子你就知道了,不知道能吃多少米

Read More

SDL Merges Wayland Multi-Seat Support

An interesting merge this weekend to the Simple DirectMedia Library (SDL) that is widely-used by cross-platform games and other applications for software/hardware abstractions is Wayland multi-seat support. This addition also comes with a developer working on Valve's Linux graphics efforts.

Merged on Saturday to mainline SDL3 Git is multi-seat support for allowing multiple keyboard/pointer inputs simultaneously for different concurrent users. Frank Praznik, who is involved with Valve's Linux graphics efforts, authored this multi-seat support. He summed up in the commit:
"Wayland environments can expose more than one seat for multiple collections of input devices, which can include multiple, simultaneously active, desktop pointers and keyboards with independent layouts. The Wayland input backend previously presumed that only one seat could exist, which caused broken behavior if the compositor exposed more than one, which is possible on wlroots based compositors such as Sway. This introduces support for handling multiple seats, including proper handling of dynamically added and removed seats and capabilities at run time.

The SDL Wayland input system was accreted over time, and the assumption that only one seat will ever exist resulted in state and related objects not always being tied to their most appropriate owner in a multi-seat scenario, so refactoring was required to manage several bits of state per-seat, instead of per-window or globally.

As Wayland keyboards can have per-seat layouts, fast keymap switching is required when multiplexing input from multiple seats to the global SDL keyboard device. A parameter was added to the keymap creation function to specify if the keymap lifetime should be externally managed to facilitate keymap reuse, and some layout info was moved from the global keyboard state to the keymap state to avoid unnecessarily redetermining it whenever a reused keymap is bound. This reduces the overhead of switching keymaps to setting a single pointer.

Multiple seats also means that multiple windows can have keyboard and/or mouse focus at the same time on some compositors, but this is not currently a well-handled case in SDL, and will require more work to support, if necessary."

In the pull request it's noted this Wayland multi-seat support was tested with the Sway compositor while using two sets of keyboards and mice.

Multiple mice


This Wayland multi-seat support for SDL could be useful for split-screen multi-player games and similar purposes.

Read More