News for hackers. Stuff that matters.

denolfe

There is a fork that uses Claude Code-native features and tracks progress and task dependencies natively: https://github.com/pcvelz/superpowers
Re:Compressed Agents.md > Agent Skills on Thursday January 29, 2026 @09:05PM (#46819730)
PreSession Hook from obra/superpowers injects this along with more logic for getting rid of rationalizing out of using skills:

> If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill. IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.

While this may result in overzealous activation of skills, I've found that if I have a skill related, I _want_ to use it. It has worked well for me.

Re:Ghostty 1.0 on Saturday December 28, 2024 @04:14PM (#42534796)
I took this for a spin today. Coming from a long-time iTerm2 user, the first thing I noticed was how snappy everything feels, especially when resizing the window. The straight-forward configuration was extremely nice as well and can be stored in my dotfiles now (iTerm was a giant dump of XML).

A few things that keep me from switching to it full time:

- Missing search scrollback (cmd+f). This appears to be coming soon: https://github.com/ghostty-org/ghostty/issues/189

- More of a nitpick than anything, but the only way to disable cursor blinking is to disable shell integration. Unfortunately, this means taking away things like native scrolling and likely some other things I don't know about. I see there is a discussion here to possibly address this: https://github.com/ghostty-org/ghostty/discussions/2812

I feel like this would be a no-brainer switch for me once the above are addressed.

Re:Learn AutoHotKey by stealing my scripts on Wednesday August 23, 2023 @03:12PM (#37240811)
AutoHotkey is what made me fall love programming after disliking it after getting my degree. After switching to a macbook, AutoHotkey is probably what I miss most from being on Windows. It really has it all.

My old suite had:

- Universal VIM movement w/ CapsLock

- App launch hotkeys

- App-specific hotkeys

- Easy text-expansion

Hasn't been updated in years, but here is the repo for those interested: https://github.com/denolfe/autohotkey

Or a nice boilerplate to start from: https://github.com/denolfe/AutoHotkeyBoilerplate

Mine are probably my favorite possession at this point for this reason, even being an Android person.
Re:AutoHotkey v2 Official Release Announcement on Saturday January 28, 2023 @10:42PM (#34564659)
AutoHotkey was a lifesaver for me when I used to work on Windows. Universal CapsLock VIM movement keys, app-specific shortcuts, clipboard manipulation, text expansion, autocorrect. It really is an amazing tool. For mac, I've been able to cobble together a mix of karabiner, phoenix, and espanso to do all of what just AutoHotkey could do.

Coincidentally, my AHK config was my first open source repo on GitHub. I'm glad to see it moving forward.

Re:GitHub Statistics on Saturday December 24, 2022 @05:12PM (#34121630)
The problem I have with these type of sites is how "issues" are always spun as a negative. I honestly wish GitHub had chosen a different word since a lot of projects use Issues for roadmap, planning, backlog, and more - not just actual bugs.

Unfortunately, GH Discussions hasn't really taken off because of, in my opinion, lack of integrations and bad SEO.

Re:Ask HN: Programs that saved you 100 hours? (2022 edition) on Thursday December 22, 2022 @11:41AM (#34095285)
Karabiner for key remapping has been instrumental for me. I use it for a "hyper key" on CapsLock to provide Vim-like movement keys, text selection, app-specific bind overrides, etc. There is also a library out there for configuring it with TypeScript (Deno).

Hammerspoon for window management is also amazing, though I recently switched to Phoenix because it can be configured in TypeScript.

Re:Ask HN: Programs that saved you 100 hours? (2022 edition) on Thursday December 22, 2022 @11:32AM (#34095159)
I used to be a very heavy AHK user and developed a rather extensive config. Here is my config along with a boilerplate to help you start one that is similar:

- https://github.com/denolfe/AutoHotkey

- https://github.com/denolfe/AutoHotkeyBoilerplate

Re:Asdf – the language tool version manager on Monday October 24, 2022 @08:46PM (#33324718)
I have been using asdf for quite a few years, and I've always been impressed. It's honestly a breath of fresh air to only have a single set of commands to remember for node, go, ruby, python, even crystal. For node, it even respects existing .nvmrc files.
Re:Launch HN: Payload (YC S22) – Headless CMS for Developers on Wednesday August 31, 2022 @04:40PM (#32668059)
Awesome, sounds like the perfect fit for your project!
Re:Launch HN: Payload (YC S22) – Headless CMS for Developers on Wednesday August 31, 2022 @01:56PM (#32665919)
Elliot from Payload here. In addition to Dan's comments above, the main advantage of using Payload's Admin is that it can integrate directly with your auth as well as offer a richer editing experience beyond the normal CRUD that others provide.

For instance:

- Field-based access control - This allows a developer to use code to write complex functions in order to regular access to a field. This can also reference the currently logged in user's permissions/fields etc.

- Conditional logic - Functions can be written to show/hide certain fields in the admin UI

- Dynamic field types - Complex layouts can be built with the Block and Array field types. This allows the ability to build out more of a "page builder" type input vs. simple CRUD.

I hope that answers your question. Here are some links to the docs on each of those:

- https://payloadcms.com/docs/access-control/overview

- https://payloadcms.com/docs/fields/overview#conditional-logi...

- https://payloadcms.com/docs/fields/blocks

It sounds like Payload CMS (https://payloadcms.com) would be a great fit for what you're after - especially if you're all in on TypeScript and React.

The flexible content models and rich text editor makes me think you'll find it interesting.

Disclaimer: I'm a contributor