Live data from Hacker News

Viewing profile — mihaigalos

mihaigalos

HN member
Joined
Fri, Feb 14, 2020, 11:34 AM UTC
HN karma
182
Public activity
113 items

About mihaigalos

No profile information was provided.

Recent public activity

  1. comment
    Comment #44170254

    Excellent article. Cimbar codes can encode glyphs yielding about 10 kB/qrcode, stackable. Ref: https://github.com/sz3/cimbar

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

  3. comment
    Comment #41872231

    In TDD, u-tests are called "spec". Pretty much sums it up.

  4. comment
    Comment #41796333

    I self-host paper-hn in a k3s cluster. Homepage here: https://github.com/wolfgang42/paper-hn

  5. comment
    Comment #39779721

    Nice tool. Also relevant: https://github.com/dandavison/delta

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

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

  8. comment
    Comment #38719248

    Because there is a Yubico server involved in the auth process. No internet access means you cannot authenticate.

  9. comment
    Comment #38706018

    Sidenote: This requires internet access. I'm considering selfhosting a Yubikey auth server and disabling ssh on it.

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

  11. comment
  12. comment
    Comment #37887949

    Amazing. Congrats.

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

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

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

  16. 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?…

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

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

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

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

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

  22. comment
    Comment #34339559

    Thanks for this. Related: https://tmate.io/

  23. comment
    Comment #34338662

    What is the exact Q you're asking? I'm genuinely interested.

  24. comment
    Comment #34259528

    Nice work! I've written something similar based on regexes: https://github.com/mihaigalos/pipeview

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