HackerTrans
TopNewTrendsCommentsPastAskShowJobs

varunramesh

no profile record

Submissions

A "Pure Go" Linux Environment, Ported by Claude

jtolio.com
3 points·by varunramesh·6 miesięcy temu·0 comments

comments

varunramesh
·3 miesiące temu·discuss
Pausing is unintuitive in Unity because you don't control the main loop - all active objects get updated every frame. The recommended way to do it is to set the "time scale" to zero and have menu animations use special timers that ignore time scale. If you control the game loop, you can usually just get away with an "if (paused)" [0].

[0] https://github.com/rameshvarun/marble-mouse/blob/8b25684a815...
varunramesh
·7 miesięcy temu·discuss
It's everywhere. https://www.reddit.com/r/ChatGPT/comments/1l8harj/its_not_ju...
varunramesh
·8 miesięcy temu·discuss
I use lazygit when I want to stage specific lines rather than an entire file.
varunramesh
·11 miesięcy temu·discuss
As the author points out, email OTP can be phished if the user is tricked into sending their OTP to an attacker.

Email magic links are more phishing resistant - the email contains a link that authenticates the device where the link was clicked. To replicate the same attack, the user would have to send the entire link to the attacker, which is hopefully harder to socially engineer.

But magic links are annoying when I want to sign in from my desktop computer that doesn't have access to my email. In that case OTP is more convenient, since I can just read the code from my phone.

I think passkeys are a great option. I use a password manager for passkeys, but most people will use platform-provided keys that are stuck in one ecosystem (Google/Apple/MS). You probably need a way to register a new device, which brings you back again to email OTP or magic link (even if only as an account recovery option).