Skip to content
View SamuelMarks's full-sized avatar
:octocat:
C > Rust > Go > TypeScript > C++
:octocat:
C > Rust > Go > TypeScript > C++

Highlights

  • Pro

Organizations

@ng-bottle-libraries @offscale

Block or report SamuelMarks

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
SamuelMarks/README.md

Both scaling source-code and scaling deployments are difficult. They need not be.

I build tools for a different philosophy of software engineering… one that rejects the bloated, non-native defaults of the modern stack.

  • Restore Monolithic Velocity: Polyglot systems—separate backend(s) from frontend(s)—create a "synchronisation tax" that kills development speed. My cdd compilers automate this away, making multi-language development as fast as a Ruby on Rails or Django. And synchronises tests and docs also; improving software quality.
  • Demystify Deployment: Software deployment is not as complex as the industry makes it seem. My verMan.io toolchain provides a direct path to reproducible, cross-platform, bare-metal environments, making containers a choice, not a mandate.
  • Outpace ML Fragmentation: The pace of ML innovation is relentless. My kitchenSink.ai compilers treat entire ML frameworks as its search space.

SamuelMarks's GitHub stats


Bidirectional Code Synchronisation

My cdd compilers are the engine for restoring monolithic velocity. Each one works bidirectionally: you can generate typed code from a specification, or derive a specification from well-structured code. This keeps your polyglot architecture perfectly synchronised.

graph LR
    subgraph "A. Compilers"
        PyComp["cdd-python"]:::blue
        RsComp["cdd-rust"]:::red
        CComp["cdd-c"]:::yellow
        KtComp["cdd-kotlin"]:::green
        EtcComp["..."]
    end

    subgraph "B. Specification"
        OpenAPI["<b>OpenAPI</b>"]:::navy
    end
    
    PyComp <-- "to/from spec" --> OpenAPI
    RsComp <-- "to/from spec" --> OpenAPI
    CComp <-- "to/from spec" --> OpenAPI
    KtComp <-- "to/from spec" --> OpenAPI

    %% Styling
    classDef blue fill:#4285f4,stroke:#20344b,stroke-width:2px,color:#ffffff
    classDef green fill:#34a853,stroke:#20344b,stroke-width:2px,color:#ffffff
    classDef yellow fill:#f9ab00,stroke:#20344b,stroke-width:2px,color:#ffffff
    classDef red fill:#ea4335,stroke:#20344b,stroke-width:2px,color:#ffffff
    classDef navy fill:#20344b,stroke:#a0a0a0,stroke-width:1px,color:#ffffff
Loading

This toolkit eliminates boilerplate for data models, API clients | servers routes, and tests, enabling maximum code reuse while demanding truly native performance.

Language Native Compiler Repository
Python cdd-python
C cdd-c
Rust cdd-rust
Java (Android) cdd-java
Kotlin (Android) cdd-kotlin
Swift (iOS) cdd-swift
TypeScript (Angular) cdd-web-ng

Application: Outpacing ML The cdd-python compiler powers the kitchenSink.ai project, which translates models between frameworks.

Google Other vendors
tensorflow pytorch
keras skorch
flax sklearn
trax xgboost
jax cntk

Demystifying Deployment

Applications, databases, and ML can be deployed with verMan.io—my answer to the heavyweight, container-first paradigm. You can still use this within containers, but you are not limited to non-native abstractions like Docker.

graph TD
    subgraph " "
        Mgrs["<b>Polyglot Version Managers</b><br>Go | Rust | C | Shell"]:::blue
    end

    subgraph " "
        Cloud("Cloud VMs"):::yellow
        Native("Bare Metal<br>Win, Linux, BSD..."):::yellow
        Docker("Docker"):::yellow
    end

    Mgrs --> Cloud
    Mgrs --> Native
    Mgrs --> Docker

    %% Styling
    classDef blue fill:#4285f4,stroke:#20344b,stroke-width:2px,color:#ffffff
    classDef yellow fill:#f9ab00,stroke:#20344b,stroke-width:2px,color:#ffffff
    classDef navy fill:#20344b,stroke:#a0a0a0,stroke-width:1px,color:#ffffff
Loading

This toolkit uses lightweight, purpose-built package managers for direct and efficient deployment. These work with or without Docker, Kubernetes, etc.

  • Core Managers: rvm/nvm-style package managers written in Go, Rust, and C for consistent cross-platform dependency and version management.
  • Orchestration Layer: A mature Python toolkit to automate deployments across 50+ cloud providers.
Purpose Repo
Provision nodes specified in JSON, across 50+ clouds offstrategy
SSH into node provisioned by offstrategy|offset offshell
Deprovision node provisioned by offstrategy|offset from cloud providers offswitch
Bring Your Own Node (BYON) [so can use ↕] offset
Deploy any of 50 "offregister-" prefixed softwares—including clustered databases—to nodes provisioned by offstrategy|offset offregister

Pinned Loading

  1. offscale/cdd-python offscale/cdd-python Public

    Open API to/fro routes, models, and tests. Convert between docstrings, classes, methods, argparse, SQLalchemy, Pydantic, JSON-schema.

    Python 18 5

  2. serve-actix-diesel-auth-scaffold serve-actix-diesel-auth-scaffold Public

    Server entrypoint scaffold to get you started using actix + diesel with a custom OAuth2 implementation.

    Rust

  3. ng-material-scaffold ng-material-scaffold Public

    @angular/material scaffold with REST API integration; uses OAuth2 as backend from https://github.com/SamuelMarks/serve-actix-diesel-auth-scaffold

    TypeScript 1 2

  4. offscale/offregister offscale/offregister Public

    Register node(s) to cluster(s). Nodes can be specified directly, or taken from `etcd`

    Python 2 2

  5. offscale/liboffkv offscale/liboffkv Public

    liboffkv is a C++ library that provides a uniform interface for 3 different distributed KV-storages: etcd, ZooKeeper, Consul.

    C++ 14 4

  6. offscale/nginxctl offscale/nginxctl Public

    Commands for modifying and controlling nginx over the command-line

    Python