News for hackers. Stuff that matters.

Cannabat

Re:OpenCode 2.0 on Wednesday October 14, 2026 @10:09PM (#50098300)
Make sure to use the —standalone flag with sandbox invocations of opencode, else you will run the client in a sandbox but not the server.
Re:OpenCode 2.0 on Wednesday October 14, 2026 @10:07PM (#50098285)
4. Tools added by plugins don’t respect your permission config! For example you can set a tool to always ask when used, but it auto allows.
Re:Toad is a unified experience for AI in the terminal on Tuesday December 23, 2025 @05:26PM (#46370201)
Hi Will,

I was about to try opencode after using claude code for quite a while.

I think understand the fundamental difference in how they work (acp against existing agentic loops with toad vs a single agentic loop for all models with opencode) but I’m curious why we might want toad over something like opencode, which lets me use any model under the sun.

I suppose toad gets to use the highly specialized agentic loops for each cli. And has a nicer (? opencode is pretty slick from my brief usage…).

Curious to hear about why you chose to built this way and what advantages you see.

Re:If you don't tinker, you don't have taste on Tuesday October 28, 2025 @09:09PM (#45741419)
My life hack for switching fonts - buy a Berkeley Mono license so I cannot possibly use any other font bc I’d be wasting money. Nice font too.
Re:The death of Glitch, the birth of Slack on Monday December 23, 2024 @06:16PM (#42498373)
Very interesting that discord also effectively evolved out of a failed game, albeit a few years after slack.
I'd love to use this but there appears to be no coverage of my country. Any plans to expand coverage to other regions?
Re:Make a "Magic Eye" image using Excel on Sunday December 08, 2024 @04:17PM (#42360560)
I've always been pretty quick to see the hidden image, but I could see these faster than ever - almost instantaneously, even the first one. I wonder if it's something to do with me having stared at a screen for a decade since the last time I saw a stereogram...
Re:Don't Look Down on Print Debugging on Saturday November 23, 2024 @09:34AM (#42221085)
The article mentions it, but you can sum up print debugging as selectively enabling verbose/trace logging. “We’re about to do X” or “We just did Y, here is Z”.

A debugger gives you insight into the context of a particular code entity - expression, function, whatever.

Seems silly to be dogmatic about this. Both techniques are useful!

Re:Former President Trump is projected to win the presidency on Wednesday November 06, 2024 @02:30PM (#42067927)
Unfortunately, it’s not possible to express this sentiment via election participation. Abstention ends up supporting one candidate more than the other. What seems to be an affirmation of neutrality is not that in practice.
I remember using cash about 10 years ago. Was it under a different user back then? Ken wheeler maybe?

Thanks for your continued work on it!

Re:Uxn on Friday October 11, 2024 @02:17AM (#41806739)
The team who create Atom, Electron and tree sitter are working on zed: https://github.com/zed-industries/zed
3 to 5 times more valuable is a huge leap. How do you measure this? Are you a software engineer?
Re:Sanding UI on Sunday September 22, 2024 @10:42AM (#41617428)
I used RockAuto for the first time recently. The site is super dense with info and functionality, but never once did I feel lost or overwhelm. Neither did I feel like anything was missing. Everything I needed to see and do was exactly where it should be. It's so rare for the screen to disappear like that. It's so transparent that I _almost_ can't say it's a joy to use (it's a joy to use!).
Thanks for for the detailed answer. I'll try it out some time :)
Knip does have some auto fix capabilities but it’s not perfect yet. The detection is great, though. I use it with `dpdm` to keep things tidy. With these (plus eslint, prettier and typescript) in CI, I feel all warm and fuzzy.

OP, can you describe differences from knip?

Urine is not sterile [0], but it probably won't hurt you either.

[0] https://pubmed.ncbi.nlm.nih.gov/25766599/

Re:Designing furniture using the CSS grid (2023) on Sunday May 05, 2024 @07:12PM (#40269492)
Very cool! Did you explore using the gap properties to specify the thickness of your boards?

> I wanted full control of the design process. Doing it in vector illustration software was too painful and it was taking too long.

Aaaand then 5 evenings later… classic :)

I find myself wanting a result type so often in python. This looks great. Thanks!
Re:Storybook 8 on Thursday March 14, 2024 @01:20AM (#39700825)
Thanks - I was looking in the wrong place in the docs.
Re:Storybook 8 on Wednesday March 13, 2024 @05:25PM (#39697736)
I wonder if renovatebot [0] supports this?

[0] https://github.com/renovatebot/renovate

Re:Uv: Python packaging in Rust on Friday February 16, 2024 @03:11AM (#39394444)
I don't know if I'd use the word "enjoy", but it certainly makes python tolerable. With all due respect, it blows mypy out of the water.
Re:Zed, a collaborative code editor, is now open source on Wednesday January 24, 2024 @03:58PM (#39122565)
Same. I'd hope that using LSP and Copilot would not meaningfully impact insertion latency, though - I'd expect those to be fully async, in a separate thread.
Re:Zed, a collaborative code editor, is now open source on Wednesday January 24, 2024 @03:40PM (#39122364)
> These are tests of the latency between a keypress and the display of a character in a terminal

Wow, the numbers are entirely unexpected. I want to see the latency when you have no display server, having booted directly to a shell.

I imagine modern competitive twitch-reflex videogames (fps, fighting) must have far less input latency - 100ms must be totally unacceptable. Suppose that's the power of a GPU.

Re:Zed, a collaborative code editor, is now open source on Wednesday January 24, 2024 @03:11PM (#39122029)
> respond to your keystrokes on the next display refresh

Claimed insertion latency for a keystroke: - zed 58ms - subl 75ms - vscode 97ms - clion 83ms

60 Hz displays refresh once every ~16.6ms. 58ms to insert a character is ~3.5 frames. My laptop can do 120 Hz, and other monitors can even do 300 Hz.

Yeah, it's a lot faster than the other editors, but 58ms seems really slow - definitely not "next display refresh". All of them seem really slow.

Re:Performance Analysis of Python's Dict() and {} on Monday January 22, 2024 @07:34PM (#39097683)
If you want to implement the suggested changes across your codebase, you can use the `flake8` plugin `flake8-comprehensions`, or `ruff`'s `C4` ruleset, which is an implementation of `flake8-comprehensions`.
Re:First do it, then do it right, then do it better on Tuesday January 02, 2024 @05:30PM (#38847968)
Always throwing away the first draft is such a useful strategy. Besides almost always resulting in a better finished product, it keeps you humble and light - life is an experiment!
Re:Smallest Typeface (3x3) on Thursday December 28, 2023 @07:14PM (#38800347)
Check out the album cover of Sheath by LFO (as mentioned on the page). Great IDM album.
Even if the benchmarks are accurate - or even overly conservative - it's possible that these are the "uncensored" versions of the models, and what the public gets access to in the end is far less capable.
That's a simple and practical solution to a common problem. Thanks for sharing.
Yeah but it’s hard to find the hardware this OS is designed for. There’s little need for it. Compared to the oodles or low powered arm boards out there that would love this. So the missed opportunity is just that a lot of effort has gone into a very narrow platform that would probably be more appreciated on a diff platform

Super cool project though of course

Older »