reegnz

Joined 7 years ago

Karma
87
Submissions
49
Member since
Dec 7
[ my public key: https://keybase.io/reegnz; my proof: https://keybase.io/reegnz/sigs/QRYK6wy7kjNCx-u3PPJy6Dy1J0pborPTqlnmXrN05hk ]
View on Hacker News

Recent submissions

Comment · 7 months ago
You can add that via an extension: https://github.com/carderne/pi-sandbox

The price of flexibility is, pi is not opinionated about adding sandboxing out-of-the-box, it gives you options on how you want to do it. You either do it with linux containers, with a dedicated VM, or just bubblewrap. It is nice that it gives you a way to hook into it in a very easy way though.

Comment · 7 months ago
You can get npm to install into `~/.local`.

Put this into `~/.npmrc`:

```

prefix = ~/.local

```

Bam, `npm install -g` contstrained to your `~/.local`

Comment · 11 months ago
Bluetooth codecs/profiles do not enforce social norms. And I hope they never will.

EDIT: they also won't get rid of useless meetings where people are not mentally present but do other stuff instead.

Comment · 11 months ago
To be fair, even with no noise, the HFP has such bad encoding that it doesn't mean much if the room is noisy or not.

Also the sound isolation tech should be orthogonal to using HFP.

Comment · 11 months ago
The trick I'm using (at least on laptops, cannot do this on phones AFAICT) is to change the input device to the laptop's own microphone to get my earphones to not use HFP (Hands Free Profile) and instead stay in a better quality codec (AAC, LDAC, AptX, SBC, whatever your devices agree upon).

Sound quality for my calls on both sides improved dramatically! Since I've discovered this, I tell all my colleagues in our zoom meetings to switch microphones and it's immediately better for everyone on the call (not just the user that was using HFP).

This is because if you use the hands free profile, it'll use a codec that encodes your voice in a terribly bad bitrate, and even worse, the sound you hear in the headphones is also using a terribly low bitrate.

They should finally fix HFP (Hands Free Profile) spec as it's literally impacting call quality for billions of people.

Edit: apparently LE audio is a thing, but device support is still terrible.

Comment · 2 years ago
Cybersecurity company secures computers worldwide by not allowing them to be turned on. - not the onion
Comment · 2 years ago
Why not just use :grep in vim and navigate the vim quick fix list?
Comment · 3 years ago
Yeah, I tend to use that one as well, but for me it just feels 'right' as a line editor plugin. I'm running a lot of kubectl commands and for me this plugin proved to be invaluable.
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Nice idea! I'll look into it.
Comment · 3 years ago
JSONpath and jmespath are objectively worse than the jq language though, as you can only query, but jq also allows for very powerful transformations.

As for learning it, it's the same with any tool, key is repetition and regular use.

Comment · 3 years ago
Let me drop a link to my jq zsh plug-in: https://github.com/reegnz/jq-zsh-plugin

I find the biggest problem with jq is that the feedback loop is not tight enough. With this jq-repl the expression is evaluated at every keystroke.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton