Viewing profile — mihaigalos
mihaigalos
HN member- Joined
- Fri, Feb 14, 2020, 11:34 AM UTC
- HN karma
- 182
- Public activity
- 113 items
- HN profile
- View on Hacker News ↗
About mihaigalos
No profile information was provided.
Recent public activity
-
comment
Comment #44170254
Excellent article. Cimbar codes can encode glyphs yielding about 10 kB/qrcode, stackable. Ref: https://github.com/sz3/cimbar
-
comment
Comment #43260134
I'm using this in my .zshrc: function cd { builtin cd "$@" && [ -d .git ] && git pull || true; exa -all --group-directories-first; } alias acp='git add -u &&-c "git log --color --p…
-
comment
Comment #41872231
In TDD, u-tests are called "spec". Pretty much sums it up.
-
comment
Comment #41796333
I self-host paper-hn in a k3s cluster. Homepage here: https://github.com/wolfgang42/paper-hn
-
comment
Comment #39779721
Nice tool. Also relevant: https://github.com/dandavison/delta
-
comment
Comment #39380626
If you're fine with plain http on your local network, you can use https://github.com/mihaigalos/aim Spoiler: I wrote it.
-
comment
Comment #38719277
This is awesome, thanks. But would still like to keep the auth server separate to minimize the attack surface something like the now deprecated [1]. [1] https://github.com/scumjr/y…
-
comment
Comment #38719248
Because there is a Yubico server involved in the auth process. No internet access means you cannot authenticate.
-
comment
Comment #38706018
Sidenote: This requires internet access. I'm considering selfhosting a Yubikey auth server and disabling ssh on it.
-
comment
Comment #38705949
I'm using a Yubikey for both sudo and ssh 2FA: # /etc/pam.d/sudo auth optional pam_faildelay.so delay=5000000 auth [success=1 default=ignore] pam_yubico.so authfile=/home/user/auth…
- comment
-
comment
Comment #37887949
Amazing. Congrats.
-
comment
Comment #36770331
I've used Swig to inherit from base classes in Java to implementations in C++. Swig generated the JNI and C++ bindings. Fun times.
-
comment
Comment #35690612
At this point, I wouldn't be surprised if it comes to light that such research is funded by hedge funds owning the commercial real estate you "absolutely have to have for the poor …
-
comment
Comment #35079044
I am surprised the OP deleted their repo after the backlash here and potentially elsewhere. The messages seemed to say "do not execute arbitrary code coming from ChatGPT". That's f…
-
comment
Comment #34750109
And in the next iteration, Go has telemetry on by default, with no flag to disable it. Because you know, they can. And what can you do when your stack is already written in Golang?…
-
comment
Comment #34663095
You could use blink(1) [1] and write some Bash/Python glue to query HN and drive it. [1] https://blink1.thingm.com
-
comment
Comment #34566370
I feel Scrum has evolved into something contradicting the original Agile practices. These were more of a template on how to develop, not a concrete recipe. Scrum then established a…
-
comment
Comment #34405472
I can confirm this. However, I constantly get a "View saved logins" to the top of the input field after I start typing. Did you experience the same? I'm on Firefox 108.0.2.
-
comment
Comment #34399547
Also, I have a Google Authenticator as a fall-back in case the 1st Yubikey PAM fails or I have no access to the internet to contact the Yubico servers for token validation. Perhaps…
-
comment
Comment #34398028
I've taken steps to secure my Linux: * Using Yubikey PAM always as a 2FA for ssh,sudo (also on every Linux in my home network). * Always require authentication on each sudo command…
-
comment
Comment #34339559
Thanks for this. Related: https://tmate.io/
-
comment
Comment #34338662
What is the exact Q you're asking? I'm genuinely interested.
-
comment
Comment #34259528
Nice work! I've written something similar based on regexes: https://github.com/mihaigalos/pipeview
-
comment
Comment #34215749
The contracts crate [1] supports this via macros. I actually prefer the invariant section above the definition, but do admit the pre and post in C++ look better. [1] https://docs.r…