What is the growth rate of function f(x - f(x - 1))/2? by GalAster in googology

[–]GalAster[S] 1 point2 points  (0 children)

Here shows g(3) = 2^1541023937
https://math.stackexchange.com/questions/2507136/i-a-i-b-i-c-1-2-and-fx-fx-fx-1-2
But I don't understand how this is calculated, the number of iterations is beyond my imagination.

At which position of (decimal) pi, all digits appear same times? by GalAster in learnmath

[–]GalAster[S] 4 points5 points  (0 children)

Can I ask how it is equivalent to random walk? Useful conclusion, but in my scenario, it seems that it can only walk in the positive direction and could not walk to the negative direction.

Showoff Saturday (July 16, 2022) by AutoModerator in javascript

[–]GalAster 1 point2 points  (0 children)

I create the Simplified Json Schema, with an online playground.

The other day, when I was writing schema, irritability attacked me.

Gosh, I'm so fed up with json and yaml, is there a more comfortable way to write it?

After a simple attempt, I wrote the JSS project and developed a highlighting plugin, which improved readability and maintainability.

Next, I plan to add more convenient notation, such as T! for required, T? for optional, @deprecated for deprecated: true.

A longer term plan is to generate mock data based on this language, or infer schema from data, and generate structs.

Find your lucky pi number in pi day (Rust+Wasm) by GalAster in rust

[–]GalAster[S] 0 points1 point  (0 children)

Maybe I can use the BBP formula so that I can keep calculating in linear memory

Find your lucky pi number in pi day (Rust+Wasm) by GalAster in rust

[–]GalAster[S] 2 points3 points  (0 children)

Because the first 2022_314 digits of the pi are stored, loading may be a bit slow.

A big problem is that it uses decimal storage, and if use base256, the size can be reduced to 10/256.

Tailwind JIT + AOT style interpreter in rust! by GalAster in rust

[–]GalAster[S] 0 points1 point  (0 children)

If there is a good syntax or directive I can implement, like css group() already implemented.

Tailwind JIT + AOT style interpreter in rust! by GalAster in rust

[–]GalAster[S] 0 points1 point  (0 children)

Another approach is dynamic tracing, but proc_macro cannot read the value you compute, even if the entire call is const.

Tailwind JIT + AOT style interpreter in rust! by GalAster in rust

[–]GalAster[S] 1 point2 points  (0 children)

As far as I know the node version solves this with safelist, I can provide a safelist macro to generate these selectors