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.
HN user
pjnz
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.
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.
Thanks for the feedback! I'll try find some time to write a decent tutorial. I'll also remove the implicit goto bit, it's hard to find a good analogy for how the control flow works.
Yep, I've been thinking along these lines. We're going to be gathering a huge amount of data from source, program execution and other sources and applying machine learning to this.
Hacn: https://github.com/pj/hacn. It’s kind of like a React “monad” written in F#/Fable using computation expressions. Sort of like async, but control flow is a bit different, basically "Promises" can trigger re-execution of subsequent steps in the function. Right now its alpha quality and any feedback is welcome.
Hacn: https://github.com/pj/hacn. It’s kind of like a React “monad” in F#/Fable using computation expressions. Control flow is a bit different, basically operations/effects can trigger re-execution of subsequent steps. Right now its alpha quality and any feedback is welcome.