Better HN
topnewbestaskshowjobs
Log inSign up

pseudo_meta

188 karma · joined Jun 30, 2023 (3y ago) · 60 submissions

Researcher in sociology & SWE

- Website: https://chris-grieser.de/

- GitHub: https://github.com/chrisgrieser

- Mastodon: https://pkm.social/@pseudometa

- Meet: meet.hn/city/de-Berlin

#neovim #lua #zsh #alfred #obsidian #sociology #qda #data_science #sts #digital_economy

Submissions

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Money does not make you happy, but it can solve problems.

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

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

- 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

comment 1y ago · link · parent

Oh thx, must have missed that. Guess at least that saves me some time to switch to the newer API in the future.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

"Waiting for the AI agent" is the new "waiting for code to compile," it seems.

comment 1y ago · link · parent

Is it possible to trigger the expander differently?

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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...

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

> Show all images on the page in a grid with size and megapixel tags. Useful for manual scraping. Would you mind sharing that one?

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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).

comment 2y ago · link · parent

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).

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Unread for iOS. I think it has the smoothest UI of any mobile feed reader.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Using custom snippets in your editor

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Use regex101, it's basically an "IDE" for regex.

comment 2y ago · link · parent

Tbh, the phrasing of this comment sounds suspiciously like AI

comment 2y ago · link · parent

Haven't used it much yet, but basedpyright appears to be a promising fork of pyright https://github.com/DetachHead/basedpyright

comment 2y ago · link · parent

- 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.

comment 2y ago · link · parent

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