Better HN
topnewbestaskshowjobs
Log inSign up

jacksonzheng

1 karma · joined Jul 2, 2023 (3y ago) · 5 submissions

Submissions

comment 2y ago · link · parent

It took me over 2 months to make this video, and I tried super hard to condense it down to the essentials, building up from first principles.

It has everything you need:

Email magic link

Google OAuth

Role Based Access Control

Postgres DB (easy deployment with Docker)

Automatic database cleanup

Automatic account linking

Freedom for the user to change their username

Freedom for them to switch Google Accounts

Fully styled sign-in form

Reusable components ready to copy and paste

And much more.

Here's the video: https://youtu.be/TLGFTH4s_0Y?si=f_9CI_yK7E4ejjaO

The code is linked in the description.

What do you think?

2.

How to set up authentication using Next-Auth in just 1 hour 30 mins(youtube.com ↗)

5 points · by jacksonzheng · 2y ago · 1 comment

comment 3y ago · link · parent

I wonder whether the memory and gpu requirements have factored in optimisations like speculative sampling for inference?

comment 3y ago · link · parent

They still have some of the best research talend in the world working there. And they have Microsoft providing them basically free, "almost" unlimited compute resources. It's not what they have now, but their ability to make new stuff that's their "moat".

comment 3y ago · link · parent

You'd have to get a separate license from TII to host the models for commercial use.