Better HN
topnewbestaskshowjobs
Log inSign up

wlswo

1 karma · joined Feb 3, 2025 (1y ago) · 9 submissions

backend developer
Submissions

1.

A Jekyll theme that turns your blog into a macOS desktop(github.com ↗)

2 points · by wlswo · 1mo ago · discuss

comment 10mo ago · link · parent

thx

comment 10mo ago · link · parent

Implementation Details: We currently use a hybrid polling approach rather than a pure event-driven one.

Mechanism: The Rust backend runs a high-priority background loop using AXUIElementCopyElementAtPosition to track the element under the cursor.

Optimization: To minimize overhead, the polling frequency is throttled and only ramps up when the overlay is active. We use CoreGraphics to first detect mouse movement delta before triggering the heavier Accessibility API calls.

4.

Xray – A minimal screenshot tool for developers (Rust/Tauri)(github.com ↗)

1 points · by wlswo · 10mo ago · 4 comments

comment 10mo ago · link · parent

Efficiency is not the same as meaning. If you only valued the output, you’ve already lost

comment 10mo ago · link · parent

so sick

comment 10mo ago · link · parent

Interesting approach. It’s essentially a Just-in-Time documentation layer

8.

Show HN: Xray – A minimal screenshot tool for developers (Rust/Tauri)

3 points · by wlswo · 10mo ago · 1 comment