Hacker News

Ask HN: How you reduce token usage when using Cline/Continue in VSCode?

Hacker News - Sun, 06/14/2026 - 5:49am

Hi HN,

I have recently started using cline but i noticed it consumes so much token. So, i would like to know what steps you take to make sure that less token is consumed!?

Comments URL: https://news.ycombinator.com/item?id=48525711

Points: 1

# Comments: 0

Categories: Hacker News

The Same-Fringe Problem

Hacker News - Sun, 06/14/2026 - 5:11am
Categories: Hacker News

Show HN: Switcheroo-control-rs, a Linux hybrid graphics manager in Rust

Hacker News - Sun, 06/14/2026 - 5:08am

Hi HN,

This is a working WIP Rust port of switcheroo-control, a Linux hybrid graphics manager. It provides a daemon and a CLI to list GPUs and launch applications on the discrete GPU (e.g. switcherooctl launch --gpu 1 glmark2).

The original tool works fine so I didn't start this project to solve any particular problems. I mostly built it because I wanted to see how a system-level Linux tool like this would look in Rust. It was a fun learning exercise in working with udev, ioctl calls and zbus for D-Bus communication. I expected it to be a struggle, but I was pleasantly surprised by how painless it actually was. I didn’t expect to find such mature abstractions for low-level Linux components.

Also, since it implements the same D-Bus interface (net.hadess.SwitcherooControl) as the original project, the components are fully interoperable. This means the Rust daemon works with the original Python client and the Rust client works with the original C daemon.

I hope you like it!

Comments URL: https://news.ycombinator.com/item?id=48525499

Points: 1

# Comments: 0

Categories: Hacker News

Conquering Recursion

Hacker News - Sun, 06/14/2026 - 5:03am
Categories: Hacker News

Show HN: Chess in SQL

Hacker News - Sun, 06/14/2026 - 4:57am
Categories: Hacker News

Pages