Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mihaigalos
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mihaigalos
1y ago
Excellent article. Cimbar codes can encode glyphs yielding about 10 kB/qrcode, stackable. Ref: https://github.com/sz3/cimbar
2.
▲
by
mihaigalos
2y ago
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 --prett
3.
▲
by
mihaigalos
2y ago
In TDD, u-tests are called "spec". Pretty much sums it up.
4.
▲
by
mihaigalos
2y ago
I self-host paper-hn in a k3s cluster. Homepage here: https://github.com/wolfgang42/paper-hn
5.
▲
by
mihaigalos
2y ago
Nice tool. Also relevant: https://github.com/dandavison/delta
6.
▲
by
mihaigalos
3y ago
If you're fine with plain http on your local network, you can use https://github.com/mihaigalos/aim Spoiler: I wrote it.
7.
▲
by
mihaigalos
3y ago
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/yubikeyedup
8.
▲
by
mihaigalos
3y ago
Because there is a Yubico server involved in the auth process. No internet access means you cannot authenticate.
9.
▲
by
mihaigalos
3y ago
Sidenote: This requires internet access. I'm considering selfhosting a Yubikey auth server and disabling ssh on it.
10.
▲
by
mihaigalos
3y ago
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_fil
11.
▲
by
mihaigalos
3y ago
Amazing. Congrats.
12.
▲
by
mihaigalos
3y ago
I've used Swig to inherit from base classes in Java to implementations in C++. Swig generated the JNI and C++ bindings. Fun times.
13.
▲
by
mihaigalos
3y ago
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 young professionals."
14.
▲
by
mihaigalos
4y ago
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 fine. The scope of it, the way I understood it
15.
▲
by
mihaigalos
4y ago
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? ..
16.
▲
by
mihaigalos
4y ago
You could use blink(1) [1] and write some Bash/Python glue to query HN and drive it. [1] https://blink1.thingm.com
17.
▲
by
mihaigalos
4y ago
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 process where there was need for a family of processes, con
18.
▲
by
mihaigalos
4y ago
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.
19.
▲
by
mihaigalos
4y ago
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 somebody can confirm if it's a good idea or not, but I
20.
▲
by
mihaigalos
4y ago
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 (prevents escalating once and then reusing privileges)
21.
▲
by
mihaigalos
4y ago
Thanks for this. Related: https://tmate.io/
22.
▲
by
mihaigalos
4y ago
What is the exact Q you're asking? I'm genuinely interested.
23.
▲
by
mihaigalos
4y ago
Nice work! I've written something similar based on regexes: https://github.com/mihaigalos/pipeview
24.
▲
by
mihaigalos
4y ago
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.rs/contracts/latest/contracts/
25.
▲
by
mihaigalos
4y ago
I wrote a similar wrapper around Rage+Yubikeys called pass [1], even before I knew passage existed. The fzf integration in your page is beautiful, I'll implement it in pass next. [1] https://github.com/mihaigalos/p
26.
▲
by
mihaigalos
4y ago
Age is amazing. I'm using a Yubikey in conjunction with it to encrypt {passwords, docs} and commit them to a private GitHub repo. See here if interested: https://github.com/mihaigalos/pass
27.
▲
by
mihaigalos
4y ago
Wouldn't a modern approach to testing be more appropriate? I'm thinking about BDD with stakeholders, TDD during implementation. This ensures a high coverage and corner cases are addressed.
28.
▲
by
mihaigalos
4y ago
Smart contracts written i.e. for Ethereum use Solidity, which is not Turing complete. By restricting semantics you have finer control over potential slippages. Besides, a language for smart contracts that is built around the domain is easie
29.
▲
by
mihaigalos
4y ago
This is blackmagic. Nice work! Q: Why not publish it to crates.io (cargo publish)?
30.
▲
by
mihaigalos
4y ago
Have my upvote, you made my day!
More ›