News for hackers. Stuff that matters.

pseudo_meta

Treesitter is fantastic. It has builtin support in nvim, and there are a lot of plugins that make use of it.

My favorite is nvim-treesitter-textobjects which gives you dozens of new targets for vim motions, such as a function call or the condition of a loop.

Re:Nook Browser on Saturday December 06, 2025 @11:56AM (#46174754)
I use Brave, and for me it's really just the least bad option.

Firefox-based browsers do not support macOS automation (AppleScript/JXA). Safari lacks features/extensions. Orion/Vivaldi had bugs any time I tried them.

From the Chrimium-based browsers I tried, Brave blocks ads, supports PWAs, the crypto stuff can be turned off, and is stable. Brave does not excite me, but it's good enough.

Re:Show HN: Vibe Linking on Friday September 26, 2025 @04:54AM (#45384327)
Plain and simple: It's an AI-enhanced "I'm feeling lucky".

As someone who uses the "I'm feeling lucky" regularly, this is definitely an improvement.

Re:Not caring enough about money? on Tuesday September 09, 2025 @02:38PM (#45186550)
Money does not make you happy, but it can solve problems.

Don't aim to be rich, but try to have enough.

Re:RSS Is Awesome on Friday August 29, 2025 @02:42AM (#45060954)
Love rss, but the upside of not having an algorithm determine your content consumption quickly results in a fire hose of content.

Sadly, filtering features seem to be only available for paid subscriptions of online services, or for self-hosted solutions. Or are there solutions I am not aware of?

Re:Ask HN: Do you still bookmark websites? on Friday August 22, 2025 @05:44PM (#44990208)
- native browser bookmarks: things I visit regularly and want to access quickly, like the website of my bank. - read-later-links: I send it to my todo app, and read it the next day or delete it. No piling off links I never read. - topic-specific links like "tool to extract tables from PDFs" go into my note taking system (in my case Obsidian), where I can also write notes on the links properly
Re:ChatGPT 5 is slow and no better than 4 on Sunday August 10, 2025 @01:23AM (#44852955)
Oh thx, must have missed that. Guess at least that saves me some time to switch to the newer API in the future.
Re:ChatGPT 5 is slow and no better than 4 on Saturday August 09, 2025 @03:40PM (#44849461)
API is noticeably slower for me, sometimes up to 10x slower.

Upon some digging, it seems that part of the slowdown is due to the gpt-5 models by default doing some reasoning (reasoning effort "medium"), even for the nano or mini model. Setting the reasoning effort to "minimal" improves the speed a lot.

However, to be able to set the reasoning effort you have to switch to the new Response API, which wasn't a lot of work, but more than just changing a URL.

I've only used reflog really to look up a hash and reset back to it. Is there anything else about it one should learn?
"Waiting for the AI agent" is the new "waiting for code to compile," it seems.
Is it possible to trigger the expander differently?

I already have zsh-magic-dashboard running on empty enter.

Landline phone. Never used it, the only thing I got there was spam, marketing or survey calls. Twitter for reasons that probably do not need explaining.

If low-tech counts: Contacts. They are just so much hassle compared to glasses, the imagined better looks are not worth it.

Read-later services. Just another pile of things to manage. If I really need to read something, I add it to my todo app.

I wrote a small shell function that does exactly that. Uses gh and yq (you can replace the yq part with jq) https://github.com/chrisgrieser/.config/blob/main/zsh/config...
A formatter with little to no configuration, similar to black.

A linter what the reasoning for all rules is well explained, similar to shellcheck or eslint.

Both ideally integrated in an LSP, which also has all the common features of a modern LSP.

Re:Ask HN: What bookmarklets do you use? on Saturday November 09, 2024 @07:41AM (#42094110)
> Show all images on the page in a grid with size and megapixel tags. Useful for manual scraping. Would you mind sharing that one?
Re:Ask HN: What do you use to quickly generate charts & graphs? on Saturday October 05, 2024 @05:18AM (#41748643)
I love the minimalistic approach of ascii charts:

  Apples         xxxxxxxxxxxxx------- 100
  Bananas        xxxxxxxxxx----------  75
  Oranges        xxxxxxxxxxxxxxxxxxxx 150
  Grapes         xxx-----------------  25
  Pineapples     x-------------------  10
  Watermelons    xxxxxx--------------  50
- https://mrrartpro.com/

- and as Obsidian plugin: https://github.com/alincoop/obsidian-tinychart

The fact that it's a class on ethics and technology is quite ironic.
From the article:

> "A lot of students who take philosophy classes, especially if they're not majors, don't really know what philosophy is," she said. "So I like to get an idea of what their expectations are so I can know how to respond to them." Sounds very reasonable to me.

Looks nice, residuals the merging is something I haven't seen in other clipboard managers.

I think my main question is why I should use a browser-scoped clipboard manager over a global, system wide clipboard manager (that allows me to filter by application).

Re:Does anyone use sound effects in their dev environment? on Saturday September 14, 2024 @12:36AM (#41537485)
I sometimes use sounds as opposed to print statements when debugging automations or certain UI behavior, e.g. to indicate whether a certain if-condition was triggered or not.

The advantage over normal print debugging is that you get immediate feedback, and do not need to switch to a console. This is also useful when it comes to debugging split second timings (custom window movement scripts).

FourSquare, or rather location-based social networking in general. Bummer that this category of apps did not work out, had real potential to connect people locally.
Re:What's your favorite RSS feed reader? on Wednesday August 28, 2024 @09:10AM (#41379086)
Unread for iOS. I think it has the smoothest UI of any mobile feed reader.
With the syntax being a selling point, I think having a comparison between jq, yq, and dasel would be really useful. Luke a few examples how to accomplish X in each one of them, so we can judge for ourselves which syntax is preferable.
Using custom snippets in your editor
Since there is apparently some confusion what mason is and what it is used for, a brief explainer.

As opposed to being a plugin manager, mason is a package manager. It installs editor-agnostic tools like LSPs, linters, or formatters.

As opposed to system-level package managers like homebrew, mason is specifically integrated in nvim. Other than having an UI inside nvim, this entails features such as auto-installing packages when bootstrapping nvim on a new machine.

As opposed to language-specific package managers such as npm or pip, mason includes packages across languages. That means instead of having to install one tool with npm, one with cargo, one with pip etc., you can install all your nvim-related packages just with mason.

While a plugin manager is basically a necessity, mason is more of a nice-to-have tool for nvim. It is convenient for some people, while others prefer using their existing package managers.

Re:Ask HN: How did you learn Regex? on Thursday August 08, 2024 @04:21PM (#41195784)
Use regex101, it's basically an "IDE" for regex.
Tbh, the phrasing of this comment sounds suspiciously like AI
Re:Beyond Hypermodern: Python is easy now on Tuesday July 23, 2024 @03:41PM (#41049971)
Haven't used it much yet, but basedpyright appears to be a promising fork of pyright https://github.com/DetachHead/basedpyright
- Alfred: Launcher and general productivity app

- Hammerspoon: window management and general purpose automation app, configured in lua.

- sketchybar: menu bar replacement, configured in bash/zsh

- Karabiner elements: keyboard remapper

- homebrew: package manager

- Obsidian: note-taking app. Also longform writing (with the right origins) and social scientific QDA (with the right plugins)

- WezTerm: terminal, configured in lua

- espanso: text expander

- CleanShot X: Screenshot App, can also do OCR, Videos, gifs, and screenshot annotations

- Peek: Syntax highlighting for Quick Look into source code files

- Betterzip: Quicklook into archive files & general handling of archives

- Highlights: PDF reader with focus on annotations.

Depending on the perspective, you could also argue that it's a 20% increase of the conversion rate, not 0.5%.

Older »