Readit News logoReadit News
maxdeviant commented on Zed AI   zed.dev/blog/zed-ai... · Posted by u/dahjelle
owenpalmer · a year ago
Hey Zed team, just one little nitpick about the page. I love the keyboard shortcuts at the top for the download page and login. However, when I try to Ctrl-L and select the url, it triggers the login page shortcut.

Brave Browser Windows 10

maxdeviant · a year ago
Thanks for the report, this should be fixed now!
maxdeviant commented on Zed, a collaborative code editor, is now open source   zed.dev/blog/zed-is-now-o... · Posted by u/FeroTheFox
WCSTombs · 2 years ago
Also the "CLA" link just points to https://zed.dev/cla, which asks me to authorize Zed Industries to access my private GitHub profile. So at this point I don't even know what the CLA says. That's important because not all CLAs are created equal. I think some don't fully remove the contributors' ownership, which would prevent the hypothetical future closed-sourcing.
maxdeviant · 2 years ago
We've adjusted it so that the CLA can now be viewed without signing in.

Sorry about that!

maxdeviant commented on Ask HN: Programs that saved you 100 hours?    · Posted by u/zJayv
znpy · 5 years ago
How would that compare to keycloak?
maxdeviant · 5 years ago
I'm not familiar with Keycloak. I glanced at their docs briefly, and it looks like Keycloak manages your users for you?

WorkOS only handles SSO, so all of our users are still stored in our own database. This is one of the big reasons we went with WorkOS as opposed to something like Auth0 or AWS Cognito.

maxdeviant commented on Ask HN: Programs that saved you 100 hours?    · Posted by u/zJayv
maxdeviant · 5 years ago
WorkOS (https://workos.com/) if you need to support single sign-on (SSO) for your app.

SSO is free, and they offer other enterprise-focused features, like directory sync and audit trails.

maxdeviant commented on Secure by Design   henrikwarne.com/2020/03/2... · Posted by u/henrik_w
ragnese · 5 years ago
And a related question: How far is too far and/or impractical?

I just recently was working on a backend application and was modeling the database entities. The project uses UUIDs as primary keys. Should each entity have its own primary key type? `Location` gets a `LocationId`, User gets a 'UserId', etc, etc, where they're really all just wrappers around UUID?

Honestly, I thought about doing that a bunch of times during the start of the project, but I was pretty sure I'd get some harsh, sideways, glances from the rest of the team.

maxdeviant · 5 years ago
Yes. This is exactly what we do at work.

It makes sure that you never pass a `LocationId` where a `UserId` is expected; the type system literally will not allow it.

maxdeviant commented on Why functional programming matters (1990) [pdf]   cs.kent.ac.uk/people/staf... · Posted by u/palerdot
runaway · 6 years ago
You can write JS functionally but to get the benefits from the video like modeling your data as sum & product types as well as static type checking, you need to use a language with its own compiler.

For languages that compile to JS, Elm looks a bit more like the F# in the video (https://elm-lang.org/) and Typescript (https://www.typescriptlang.org/) is a much more like standard JS.

maxdeviant · 6 years ago
You can also use Fable (https://fable.io/) to compile F# to JS.

u/maxdeviant

KarmaCake day731October 29, 2013
About
https://maxdeviant.com
View Original