From 2fc2a835a4bb039d333bdf5091d79535a4a24708 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 10 Nov 2024 16:15:47 -0500 Subject: [PATCH] Revert "Start on notebook" This reverts commit 3c75b720d1755520bf31fe44553cc421802296a2. --- .gitignore | 11 ++- .../2022-10-15-multicast/Multicast.ipynb | 69 ------------------- _notebooks/2022-10-15-multicast/run.sh | 24 ------- 3 files changed, 5 insertions(+), 99 deletions(-) delete mode 100644 _notebooks/2022-10-15-multicast/Multicast.ipynb delete mode 100755 _notebooks/2022-10-15-multicast/run.sh diff --git a/.gitignore b/.gitignore index ab952ef..7cc94e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,7 @@ -.bundle/ -.ipynb_checkpoints/ -.jekyll-metadata -.sass-cache/ -.swp -.vscode/ _site/ +.swp +.sass-cache/ +.jekyll-metadata +.bundle/ vendor/ +.vscode/ diff --git a/_notebooks/2022-10-15-multicast/Multicast.ipynb b/_notebooks/2022-10-15-multicast/Multicast.ipynb deleted file mode 100644 index 77496ef..0000000 --- a/_notebooks/2022-10-15-multicast/Multicast.ipynb +++ /dev/null @@ -1,69 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "2bfdffd8", - "metadata": {}, - "source": [ - "# No More Magic: A Practical Introduction to Multicast\n", - "\n", - "Recent interaction - had a networking issue, likely required configuration tweaking, but:\n", - "\n", - "- Not a lot of people who knew how to diagnose\n", - "- Training people to diagnose is challenging\n", - "\n", - "I've said that [High Performance Systems aren't magical](/2019/07/high-performance-systems.html), but realization that for many topics, accessibility is problematic. If I _wanted_ to know more, I don't have any meaningful way to investigate beyond asking for someone's time. While manager's judgment call is fine (\"this isn't worth investigating further\"), I've had a lot of career \"upskilling\" learned from open source. Want to make sure that if other people are interested, there's a way to meaningfully engage with the topic." - ] - }, - { - "cell_type": "markdown", - "id": "d8cee425", - "metadata": {}, - "source": [ - "Add links for:\n", - "- Notebook source\n", - "- Script for running the notebook" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "2edfbd79-d246-4b9a-a4a3-8e383c6b22a1", - "metadata": {}, - "outputs": [], - "source": [ - "#include \n", - "#include \n", - "#include \n", - "\n", - "auto run_parallel(std::initializer_list commands) {\n", - " \n", - "}\n", - "\n", - "std::vector threads{};\n", - "\n", - "for (auto command : commands)\n", - " threads.emplace_back([=]() { std::system(command); });\n", - "\n", - "for (auto& thread : threads)\n", - " thread.join();" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "C++17", - "language": "C++17", - "name": "xcpp17" - }, - "language_info": { - "codemirror_mode": "text/x-c++src", - "file_extension": ".cpp", - "mimetype": "text/x-c++src", - "name": "c++", - "version": "17" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/_notebooks/2022-10-15-multicast/run.sh b/_notebooks/2022-10-15-multicast/run.sh deleted file mode 100755 index bff1c80..0000000 --- a/_notebooks/2022-10-15-multicast/run.sh +++ /dev/null @@ -1,24 +0,0 @@ -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -mkdir -p "$SCRIPT_DIR"/notebook - -# Package pinning because of https://github.com/jupyter-xeus/xeus-cling/issues/415 -read -r -d '' RUN <