Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 31, 2024
1 parent 435951a commit c9d9043
Show file tree
Hide file tree
Showing 9 changed files with 127 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13101,3 +13101,18 @@
[submodule "2024/05/30/bootstrap-seeds"]
path = 2024/05/30/bootstrap-seeds
url = https://github.com/oriansj/bootstrap-seeds
[submodule "2024/05/31/subtensor"]
path = 2024/05/31/subtensor
url = https://github.com/opentensor/subtensor
[submodule "2024/05/31/swarms"]
path = 2024/05/31/swarms
url = https://github.com/kyegomez/swarms
[submodule "2024/05/31/swarms-cloud"]
path = 2024/05/31/swarms-cloud
url = https://github.com/kyegomez/swarms-cloud
[submodule "2024/05/31/substrate-template-generator"]
path = 2024/05/31/substrate-template-generator
url = https://github.com/paritytech/substrate-template-generator
[submodule "2024/05/31/substrate"]
path = 2024/05/31/substrate
url = https://github.com/paritytech/substrate
2 changes: 1 addition & 1 deletion 2024/04/06/polkadot-sdk
Submodule polkadot-sdk updated 2021 files
97 changes: 97 additions & 0 deletions 2024/05/30/notes-jmd.org
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,100 @@ this shows the connection of a value learned by a neural network
and a values held in the proof engine as a constructed proof in metacoq.
That means we can also train a neural network to reverse this process.
we can go from unimath proofs to templates to create preptrained neural networks and back.

* godel number.

We can consider a godel number as a function that creates a UU.
each number is a different universe. some are equivalent.
each seed grows by following the execution path.
We can think of the fastest growing number as one possible one.
That would be a qualification or a critera. Which of the godel numbers
are the fastest growing? We can analyse them. This gets into the decidability
because we have to execute them but we can sort them by growth for each step.


Now the tools like qemu, containers and docker, strace/ptrace, perf, criu are all related
to linux and operating systems.
We can create services for these to be operated via protobuf.


We can pull in the protobufs from clarifai and hivemind for example as inspiration.
We can look at commune and bittensor.

So now we can look at the linux api for filesystems and drivers.
it is fed function pointers.
these function pointers are effectively godel numbers, but constrained in type.
we can read data from them and those contain more data that we can interpret.

All of this can be used by ai agents and proof engines
to evaluate and confirm the guix bootstrap code.

We can see a proof engine as a guix package we can expose.
So any nix/guix derivation can be seen as a smart contract to execute
or build it it using another tool as another smart contract to the compiler.

Template haskell allows the user to reach into the compiler and extract out
the compiler's rich terms for the user data.

These terms can be used to meta-program or add in code to the compiler at compile time
or extract out data for runtime, so it allows for transfer and extraction.

The LLVM and gcc compilers allow for this as well via plugins and others.

Now we can imagine we can extract metacoq to haskell and use template haskell
to extract that into C++.
We can create c++ metaprogramming templates and use them from scheme.

wrapping guile internals in scheme and using them to access the internals.
wrapping program X internals via C++ and then in scheme and
using them to expose the internals.
This creates new functions to extract data.
now this data can be seen as a form or morphism determined by the code
or godel number that created it. The function is a godel number and
its reflection is another. There is a relationship between the function and its source code and its extraction,
that relationship is a morphism or path in rewrite along a higher order system.
We can see them all different forms of the same unitary object that is wobbling
in many dimensions.

The linux kernel perf user probes allows for approximation
of the code of the user in the kernel space,
the user probes are reflections of the process in a new viewpoint and
can allocate memory.


The GPU perf model probes allows for approximation
of the code of the model in the GPU space,
the GPU probes are reflections of the process of inference in a new viewpoint and
can allocate memory to store the results. They are
woven into an exsiting model by sampling results non intrusively by
studying of the function and determining with help of the programmer
via hints and heuristics how to augment the runtime of an existing model.

We can build this in rust and use type level meta programming to derive
the changes to the code to add in montioring.

We can expose the rust via guile, we can use rust to reason about guix.
we can use LLMs to reason about guile repl runtime.
https://github.com/guile-rs/guile-rs

We can expose guix guile via rust as a repl subnet for bittensor.

We can create an LLM guile interface.
https://packages.guix.gnu.org/packages/guile-openai/

We can use perf on rust

https://rustc-dev-guide.rust-lang.org/profiling/with_perf.html

Here is a rust kernel
https://github.com/Qubasa/perf_kernel

Rust supports kernel perf data, needs more help, we can help.
https://docs.rs/perf-event/latest/perf_event/

Rust supports protobuf:
https://github.com/stepancheg/rust-protobuf

There is a rewriter for protobuf.
./28/rewrite/rewrite-protobuf

9 changes: 9 additions & 0 deletions 2024/05/31/notes-jmd.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* ideas

Meta memes are Patterns in the memes.
Meta memes are paradigmas changes that reach a broad consensus,
they are Patterns in the memes or memes concerned with memes.

We can see math as one such a meme.
Selection of one element can be seen
as a bitmask.
1 change: 1 addition & 0 deletions 2024/05/31/substrate
Submodule substrate added at 033d4e
1 change: 1 addition & 0 deletions 2024/05/31/substrate-template-generator
1 change: 1 addition & 0 deletions 2024/05/31/subtensor
Submodule subtensor added at cbd42d
1 change: 1 addition & 0 deletions 2024/05/31/swarms
Submodule swarms added at 6b36cd
1 change: 1 addition & 0 deletions 2024/05/31/swarms-cloud
Submodule swarms-cloud added at 564d4f

0 comments on commit c9d9043

Please sign in to comment.