From 6c47d91adc5a8fd99b33886b563bfc6ab3b92b5c Mon Sep 17 00:00:00 2001 From: Isaak Date: Fri, 21 Jun 2024 09:22:51 -0700 Subject: [PATCH] Initial Commit (#1) --- .github/pull_request_template.md | 15 +++ .github/workflows/docs.yml | 45 +++++++ .github/workflows/format.yml | 30 +++++ .github/workflows/jekyll-gh-pages.yml | 45 +++++++ .github/workflows/lint.yml | 33 +++++ .gitignore | 4 + CODEOWNERS | 1 + Cargo.lock | 7 ++ Cargo.toml | 4 + buzz_cli/Cargo.lock | 7 ++ buzz_cli/Cargo.toml | 11 ++ buzz_cli/src/bin/buzz_cli.rs | 3 + fizz-buzz-ai-docs/404.html | 25 ++++ fizz-buzz-ai-docs/Gemfile | 34 +++++ fizz-buzz-ai-docs/Gemfile.lock | 119 ++++++++++++++++++ fizz-buzz-ai-docs/_config.yml | 29 +++++ .../2024-05-28-buzzing-to-fizz.markdown | 40 ++++++ fizz-buzz-ai-docs/about.markdown | 5 + fizz-buzz-ai-docs/index.markdown | 3 + 19 files changed, 460 insertions(+) create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/docs.yml create mode 100644 .github/workflows/format.yml create mode 100644 .github/workflows/jekyll-gh-pages.yml create mode 100644 .github/workflows/lint.yml create mode 100644 .gitignore create mode 100644 CODEOWNERS create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 buzz_cli/Cargo.lock create mode 100644 buzz_cli/Cargo.toml create mode 100644 buzz_cli/src/bin/buzz_cli.rs create mode 100644 fizz-buzz-ai-docs/404.html create mode 100644 fizz-buzz-ai-docs/Gemfile create mode 100644 fizz-buzz-ai-docs/Gemfile.lock create mode 100644 fizz-buzz-ai-docs/_config.yml create mode 100644 fizz-buzz-ai-docs/_posts/2024-05-28-buzzing-to-fizz.markdown create mode 100644 fizz-buzz-ai-docs/about.markdown create mode 100644 fizz-buzz-ai-docs/index.markdown diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..1ab4f98 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,15 @@ + +## Overview + + +## Issue Link (If Applicable) + + +## Merge Checklist + +- [ ] Ran tests/wrote new or updated relevant tests +- [ ] Updated docs + + +## Validation + diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..73ed099 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,45 @@ +name: Jekyll Docs Deployment + +on: + push: + branches: ["main"] + + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./fizz_buzz_ai_docs + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml new file mode 100644 index 0000000..a68854c --- /dev/null +++ b/.github/workflows/format.yml @@ -0,0 +1,30 @@ +name: 'Format Check' + +on: + + workflow_dispatch: + + push: + branches: + - main + + pull_request: + +permissions: + contents: read + pull-requests: read + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + check-format: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + + - name: Run Formatter + run: cargo fmt --check + diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 0000000..56c8fa6 --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,45 @@ +name: Deploy Jekyll docs + +on: + push: + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./fizz-buzz-ai-docs + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..9537c80 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,33 @@ +name: 'Link Check' + +on: + + workflow_dispatch: + + push: + branches: + - main + + pull_request: + +permissions: + contents: read + pull-requests: read + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + check-links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + + - name: Install Clippy + run: cargo clippy + + - name: Run Linter Buzz_CLI + run: cargo clippy + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db9c650 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*target* +.jekyll-cache +_site +_build diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..b9d5b28 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +@isaak-willett diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..031697c --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "buzz_cli" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..8a20fb1 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,4 @@ +[workspace] +members = [ + "buzz_cli" +] diff --git a/buzz_cli/Cargo.lock b/buzz_cli/Cargo.lock new file mode 100644 index 0000000..031697c --- /dev/null +++ b/buzz_cli/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "buzz_cli" +version = "0.1.0" diff --git a/buzz_cli/Cargo.toml b/buzz_cli/Cargo.toml new file mode 100644 index 0000000..802ae3c --- /dev/null +++ b/buzz_cli/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "buzz_cli" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[dependencies] + +[[bin]] +name = "buzz-cli" +path = "src/bin/buzz_cli.rs" diff --git a/buzz_cli/src/bin/buzz_cli.rs b/buzz_cli/src/bin/buzz_cli.rs new file mode 100644 index 0000000..244f744 --- /dev/null +++ b/buzz_cli/src/bin/buzz_cli.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello"); +} diff --git a/fizz-buzz-ai-docs/404.html b/fizz-buzz-ai-docs/404.html new file mode 100644 index 0000000..086a5c9 --- /dev/null +++ b/fizz-buzz-ai-docs/404.html @@ -0,0 +1,25 @@ +--- +permalink: /404.html +layout: default +--- + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/fizz-buzz-ai-docs/Gemfile b/fizz-buzz-ai-docs/Gemfile new file mode 100644 index 0000000..e125873 --- /dev/null +++ b/fizz-buzz-ai-docs/Gemfile @@ -0,0 +1,34 @@ +source "https://rubygems.org" +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "~> 4.3.3" +# This is the default theme for new Jekyll sites. You may change this to anything you like. +gem "minima", "~> 2.5" +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.12" + gem "jekyll-timeago", "~> 0.13.1" +end + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] diff --git a/fizz-buzz-ai-docs/Gemfile.lock b/fizz-buzz-ai-docs/Gemfile.lock new file mode 100644 index 0000000..db732f7 --- /dev/null +++ b/fizz-buzz-ai-docs/Gemfile.lock @@ -0,0 +1,119 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + bigdecimal (3.1.8) + colorator (1.1.0) + concurrent-ruby (1.2.3) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.16.3) + forwardable-extended (2.6.0) + google-protobuf (4.27.0) + bigdecimal + rake (>= 13) + google-protobuf (4.27.0-arm64-darwin) + bigdecimal + rake (>= 13) + google-protobuf (4.27.0-x86_64-darwin) + bigdecimal + rake (>= 13) + http_parser.rb (0.8.0) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + jekyll (4.3.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) + jekyll-timeago (0.13.1) + mini_i18n (>= 0.8.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + mini_i18n (0.9.0) + minima (2.5.1) + jekyll (>= 3.5, < 5.0) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.5) + rake (13.2.1) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rexml (3.2.8) + strscan (>= 3.0.9) + rouge (4.2.1) + safe_yaml (1.0.5) + sass-embedded (1.77.2) + google-protobuf (>= 3.25, < 5.0) + rake (>= 13.0.0) + sass-embedded (1.77.2-aarch64-mingw-ucrt) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.2-arm64-darwin) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.2-x86-cygwin) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.2-x86-mingw-ucrt) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.2-x86_64-cygwin) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.77.2-x86_64-darwin) + google-protobuf (>= 3.25, < 5.0) + strscan (3.1.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) + webrick (1.8.1) + +PLATFORMS + aarch64-mingw-ucrt + arm64-darwin + ruby + x86-cygwin + x86-mingw-ucrt + x86_64-cygwin + x86_64-darwin + +DEPENDENCIES + http_parser.rb (~> 0.6.0) + jekyll (~> 4.3.3) + jekyll-feed (~> 0.12) + jekyll-timeago (~> 0.13.1) + minima (~> 2.5) + tzinfo (>= 1, < 3) + tzinfo-data + wdm (~> 0.1.1) + +BUNDLED WITH + 2.5.11 diff --git a/fizz-buzz-ai-docs/_config.yml b/fizz-buzz-ai-docs/_config.yml new file mode 100644 index 0000000..b2ad234 --- /dev/null +++ b/fizz-buzz-ai-docs/_config.yml @@ -0,0 +1,29 @@ +title: Fizz Buzz AI +email: willettisaak@gmail.com +description: >- # this means to ignore newlines until "baseurl:" + Fizz Buzz has been described as the hardest problem in computer science. + With Fizz Buzz AI an attempt is being made to solve this unsolvable problem + with the most advanced methods. +baseurl: "/fizz-buzz-ai" # the subpath of your site, e.g. /blog +url: "https://pickles-bread-and-butter.github.io" # the base hostname & protocol for your site, e.g. http://example.com +github_username: pickles-bread-and-butter + +# Build settings +theme: minima +plugins: + - jekyll-feed + +# Excluded items can be processed by explicitly listing the directories or +# their entries' file path in the `include:` list. +# +# exclude: +# - .sass-cache/ +# - .jekyll-cache/ +# - gemfiles/ +# - Gemfile +# - Gemfile.lock +# - node_modules/ +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/fizz-buzz-ai-docs/_posts/2024-05-28-buzzing-to-fizz.markdown b/fizz-buzz-ai-docs/_posts/2024-05-28-buzzing-to-fizz.markdown new file mode 100644 index 0000000..4db00fa --- /dev/null +++ b/fizz-buzz-ai-docs/_posts/2024-05-28-buzzing-to-fizz.markdown @@ -0,0 +1,40 @@ +--- +layout: post +title: "Bonjour from Fizz Buzz AI" +date: 2024-05-28 14:35:37 -0700 +categories: Fizz Buzz +--- + +[Fizz Buzz](https://en.wikipedia.org/wiki/Fizz_buzz) is generally recognized as the hardest +problem in computer science. It is acknowledged by expert$ to be more challenging than the +infamous P vs NP, Genarlized Star Height, proving the Aanderaa-Karp-Rosenberg conjecture, and +NC = P problem. + +> The code in this repo is dogshit - Linus Torvalds + +> If you can solve this you need to interview with my company - Bill Gates + +> If you can't solve it in under a minute one of my engineers in India will - Jeff Bezos + +> I'm stuck at the login of my Windows laptop, puts on MSFT - @elon (sent from xitter) + +> This was a mistake - Bjarne Stroustrup + +> We're releasing a new ChatGPT on Azure that can estimate the solution to Fizz Buzz to 10 sigfigs - Satya Nadella + +> It has a recall of 15% on ground truth data - Satya Nadella + +> How many H100s do you need? 200? - Jensen + +> Google offered 12 million for the H100s, I need your final offer - Jensen + +Here at Fizz Buzz AI we are seeking to solve the unsolvable, go where no GPU has gone before, delve into the +depths of shared memory, and break out of the questions everyone wants answers. We plan to leverage the most +advanced transformer technology to not only give close-ish answers but solve this problem at it's core. +We have brought together a crack team of Pickles, Bread, and Butter, who all have deep experience in enterprise +software and ML Infrastructure at large companies like Tyson Foods, Grandmothers Kitchens everywhere, and +Jewish Delis all over New York. + +If you'd like to contribute check out our [Patreon](https://www.patreon.com/fizz_buzz_ai) + +[fizz-buzz-ai-gh]: https://github.com/pickles-bread-and-butter/fizz-buzz-ai diff --git a/fizz-buzz-ai-docs/about.markdown b/fizz-buzz-ai-docs/about.markdown new file mode 100644 index 0000000..4018d51 --- /dev/null +++ b/fizz-buzz-ai-docs/about.markdown @@ -0,0 +1,5 @@ +--- +layout: page +title: About +permalink: /about/ +--- diff --git a/fizz-buzz-ai-docs/index.markdown b/fizz-buzz-ai-docs/index.markdown new file mode 100644 index 0000000..e4d427d --- /dev/null +++ b/fizz-buzz-ai-docs/index.markdown @@ -0,0 +1,3 @@ +--- +layout: home +---