virgoerns

Joined 12 years ago

Karma
58
Submissions
29
Member since
Mar 24
meet.hn/city/pl-Wrocław
View on Hacker News

Recent submissions

Comment · 2 months ago
Do you mind sharing your script? I also noticed that fail2ban currently eats ~25% of CPU and started thinking if it's even worth running at this point
Comment · 2 months ago
I also run a public cgit instance and get over 1M hits every day, although my pet projects are nowhere near the size or impact of kernel. I had to block (via nginx conf) cgit endpoints for diffs, blame, snapshots and historical commits, because nothing else works. Now they return 402 (payment required). I consider this my total defeat and it's killing me inside, but it is what it is.
Comment · 5 months ago
1. Buy a domain and bind it to your email so this situation never happens again in the future. 2. Automatically forward all new emails to the new provider (gmail has an option for that somewhere). 3. Gradually change your email in all services and inform peopke about address change. 4. Use your old gmail as spam box.
Comment · 7 months ago
Emacs?
Comment · 8 months ago
It doesn't need root if you set MANPATH.
Comment · 9 months ago
The problem with long startups is that they break the flow. I live in CLI. I open and close terminal windows all day long, sometimes just for quick 2-3 commands to check something. 100 new interactive shells a day is my guess. I already know commands to run, my fingers are ready to type, they already pressed the keys ti spawn a new shell and now they have to stop for 500 ms. Repeat these 100 interruptions every day and you get the death by 1000 spoons.

I don't use oh my zsh, but on one laptop zsh took 600ms to start. I narrowed it down to a strange "bug": adding even a single empty file to the custom fpath caused the slowdown. It bugged me so bad that I decided to try fish again, but this time for real. And this time it stuck with me. I like its architecture (defining functions to change its look-and-feel - great idea!) and of course its 32 ms startup time.

Comment · 11 months ago
We're buying mice and we want 2 or 3 females. So yesterday I was searching "how to check mouse gender". Imagine my confusion when search engine recommended me a bunch of "how to sex mice" youtube videos!
Comment · 1 year ago
FYI, ctrl-d isn't a shortcut to exit terminal. It sends EOF (end of file) character which, when reaches shell, closes stdinput file of shell. It generally closes any active interactive input, like all repls, interactive input to sed etc. When interactive shell loses possibility to get more input, it closes as soon as possible and then its parent, the terminal window, also closes. More-less :)
Comment · 1 year ago
How do you use it so it's more ergonimic than typing arguments manually reversed? `unmv !$` ?
Comment · 1 year ago
Podman 4.7 supports both the ordinary compose (Go implementation) and older Python podman-compose. But personally I moved to quadlets and didn't look back.
Comment · 1 year ago
I love that you include hledger! It's amazing piece of software, even if a little obscure for people unfamiliar with plaintext accounting!
Comment · 1 year ago
Zoxide isn't a replacement for cd, but it is a wrapper for cd. It's the alternative for OG "z" (written in Bash I believe) and autojump (python) that were here for 20 years or so.

Basically, when tou type "cd some/subdir", these tools remember the frequency/recency of durectories you cd into, so at some point you can type "z sub" and they teleport you to "some/subdir" no matter what's your current working dir.

I love it and use it daily. Zoxide just has some nicer features than the alternatives (and maybe it's faster).

Comment · 1 year ago
Comment · 1 year ago
They can be configured globally with core.hooksPath or init.templatedir git config options.
Comment · 2 years ago
Can you tell what's the usecase for creating FUSE for dokuwiki? Basically, dokuwiki is just a bunch of text files so wouldn't it be simpler and more efficient to e.g. mount them as NFS or share via Dropbox/Syncthing?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton