Slava Matyukhin

Results 125 comments of Slava Matyukhin

That's the easiest way to get periodic jobs running every N hours, automatic retries and custom business logic for "should we run this code now?", managed by configuration in code...

Well, we could also do a long-running server which calculates what to run and manages jobs queue as necessary. That's less hackish than "try everything every minute", but harder to...

There are two problems here, both related to Lezer grammar (not Prettier). 1) `{|| ...` was parsed as `{`, `||` (OR operator); I fixed this in e16dc56ba1b402bba29799628c4571a98252d760 (it's in my...

Some parts of this work decently now, and some need more work. Things that do work: - call inference for builtins: - `1 + 1` is Number - `lognormal(1, 10)`...

Overview of remaining subtasks that I want to implement: - analysis stage only returns the single error, it should return the list of all errors - analyzed AST is produced...

On generics and inline lambdas. Example: `List.map([1,2,3], {|x| x})` infers to `List(any)`. There are two missing pieces that are necessary for it to become `List(Number)`. First, generics: during a call...

Btw, basic type inference examples story is here: https://squiggle-components-git-semantic-ab63a5-quantified-uncertainty.vercel.app/?path=/story/squiggle-squiggleplayground-typeinference--basic-examples

Another issue: types and packing/unpacking are tangled in a somewhat weird way; I had to write more type classes than I'd prefer, e.g. `TOr` and `TDistOrNumber` and `TUnion` are kind...

> Does this get rid of units, or is there a plan there? No, they're just not implemented yet. There are two parts to this: 1) there's a bug in...

Thoughts on this PR: - storing types in decorators instead of AST is a nice trick - unfortunately it breaks the prettier plugin - there are workarounds, like flagging decorators...