HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pjnz

no profile record

comments

pjnz
·2 lata temu·discuss
It's a longshot, but don't forget to apply for the DV lottery. Due to the unusual structure of the program NZ citizens have a higher chance of winning. Short of marriage it's by far the best visa, since it's a green card (permanent residence), not a work visa.
pjnz
·3 lata temu·discuss
https://github.com/pj/hacn - kind of like a react monad written in F# using computation expressions. I'm slowly doing a rewrite of parts of it because it isn't very good.
pjnz
·4 lata temu·discuss
I did some fiddling around building a graphql layer with a bunch of complex types. Basically this was trying to encode all the various GraphQL rules into the type system itself e.g. if a resolver takes arguments, ensure that a schema of the correct type is provided as an object etc. I also built a client that would take a schema and ensure you used it correctly at compile time.

Example of the code: https://github.com/pj/typeshaman/blob/main/packages/graphql/...

Documentation is incomplete, unfortunately I had to get a job. I started working on encoding all of SQL as well.