From 07d032dbd2dfd103ba895bef64f4f871c92fe94d Mon Sep 17 00:00:00 2001 From: James Schloss Date: Mon, 25 Oct 2021 18:53:19 +0200 Subject: [PATCH 1/2] removing partial implementations --- contents/cooley_tukey/cooley_tukey.md | 6 ----- .../verlet_integration/verlet_integration.md | 27 ------------------- 2 files changed, 33 deletions(-) diff --git a/contents/cooley_tukey/cooley_tukey.md b/contents/cooley_tukey/cooley_tukey.md index d67d4dbd2..67309b5d2 100644 --- a/contents/cooley_tukey/cooley_tukey.md +++ b/contents/cooley_tukey/cooley_tukey.md @@ -81,8 +81,6 @@ For some reason, though, putting code to this transformation really helped me fi [import:7-13, lang:"haskell"](code/haskell/fft.hs) {% sample lang="py" %} [import:6-12, lang:"python"](code/python/fft.py) -{% sample lang="scratch" %} -[import:4-13, lang:"julia"](code/julia/fft.jl) {% sample lang="asm-x64" %} [import:15-74, lang:"asm-x64"](code/asm-x64/fft.s) {% sample lang="js" %} @@ -136,8 +134,6 @@ In the end, the code looks like: [import:15-28, lang:"haskell"](code/haskell/fft.hs) {% sample lang="py" %} [import:15-26, lang:"python"](code/python/fft.py) -{% sample lang="scratch" %} -[import:16-32, lang:"julia"](code/julia/fft.jl) {% sample lang="asm-x64" %} [import:76-165, lang:"asm-x64"](code/asm-x64/fft.s) {% sample lang="js" %} @@ -251,8 +247,6 @@ Note: I implemented this in Julia because the code seems more straightforward in [import, lang:"haskell"](code/haskell/fft.hs) {% sample lang="py" %} [import, lang:"python"](code/python/fft.py) -{% sample lang="scratch" %} -Some rather impressive scratch code was submitted by Jie and can be found here: https://scratch.mit.edu/projects/37759604/#editor {% sample lang="asm-x64" %} [import, lang:"asm-x64"](code/asm-x64/fft.s) {% sample lang="js" %} diff --git a/contents/verlet_integration/verlet_integration.md b/contents/verlet_integration/verlet_integration.md index 402a7ba1b..e6ca0e4c9 100644 --- a/contents/verlet_integration/verlet_integration.md +++ b/contents/verlet_integration/verlet_integration.md @@ -42,15 +42,6 @@ Here is what it looks like in code: [import:1-10, lang:"python"](code/python/verlet.py) {% sample lang="hs" %} [import:14-21, lang:"haskell"](code/haskell/verlet.hs) -{% sample lang="scratch" %} -Unfortunately, this has not yet been implemented in scratch, so here's Julia code: -[import:1-13, lang:"julia"](code/julia/verlet.jl) -{% sample lang="m" %} -Unfortunately, this has not yet been implemented in matlab, so here's Julia code: -[import:1-13, lang:"julia"](code/julia/verlet.jl) -{% sample lang="LabVIEW" %} -Unfortunately, this has not yet been implemented in LabVIEW, so here's Julia code: -[import:1-13, lang:"julia"](code/julia/verlet.jl) {% sample lang="js" %} [import:1-14, lang:"javascript"](code/javascript/verlet.js) {% sample lang="rs" %} @@ -101,15 +92,6 @@ However, the error for this is $$\mathcal{O}(\Delta t)$$, which is quite poor, b {% sample lang="hs" %} [import:23-28, lang:"haskell"](code/haskell/verlet.hs) {% sample lang="scratch" %} -Unfortunately, this has not yet been implemented in scratch, so here's Julia code: -[import:15-31, lang:"julia"](code/julia/verlet.jl) -{% sample lang="m" %} -Unfortunately, this has not yet been implemented in matlab, so here's Julia code: -[import:15-31, lang:"julia"](code/julia/verlet.jl) -{% sample lang="LabVIEW" %} -Unfortunately, this has not yet been implemented in LabVIEW, so here's Julia code: -[import:15-31, lang:"julia"](code/julia/verlet.jl) -{% sample lang="js" %} [import:16-32, lang:"javascript"](code/javascript/verlet.js) {% sample lang="rs" %} [import:15-32, lang:"rust"](code/rust/verlet.rs) @@ -173,15 +155,6 @@ Here is the velocity Verlet method in code: {% sample lang="hs" %} [import:30-35, lang:"haskell"](code/haskell/verlet.hs) {% sample lang="scratch" %} -Unfortunately, this has not yet been implemented in scratch, so here's Julia code: -[import:33-45, lang:"julia"](code/julia/verlet.jl) -{% sample lang="m" %} -Unfortunately, this has not yet been implemented in matlab, so here's Julia code: -[import:33-45, lang:"julia"](code/julia/verlet.jl) -{% sample lang="LabVIEW" %} -Unfortunately, this has not yet been implemented in LabVIEW, so here's Julia code: -[import:33-45, lang:"julia"](code/julia/verlet.jl) -{% sample lang="js" %} [import:34-45, lang:"javascript"](code/javascript/verlet.js) {% sample lang="rs" %} [import:34-45, lang:"rust"](code/rust/verlet.rs) From 90daef5c42970f278b436c5c127dca95ff5a60f9 Mon Sep 17 00:00:00 2001 From: James Schloss Date: Mon, 25 Oct 2021 18:58:15 +0200 Subject: [PATCH 2/2] removing languages completely --- .../verlet_integration/verlet_integration.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/contents/verlet_integration/verlet_integration.md b/contents/verlet_integration/verlet_integration.md index e6ca0e4c9..08fe4a4b3 100644 --- a/contents/verlet_integration/verlet_integration.md +++ b/contents/verlet_integration/verlet_integration.md @@ -91,7 +91,7 @@ However, the error for this is $$\mathcal{O}(\Delta t)$$, which is quite poor, b [import:12-23, lang:"python"](code/python/verlet.py) {% sample lang="hs" %} [import:23-28, lang:"haskell"](code/haskell/verlet.hs) -{% sample lang="scratch" %} +{% sample lang="js" %} [import:16-32, lang:"javascript"](code/javascript/verlet.js) {% sample lang="rs" %} [import:15-32, lang:"rust"](code/rust/verlet.rs) @@ -154,7 +154,7 @@ Here is the velocity Verlet method in code: [import:25-34, lang:"python"](code/python/verlet.py) {% sample lang="hs" %} [import:30-35, lang:"haskell"](code/haskell/verlet.hs) -{% sample lang="scratch" %} +{% sample lang="js" %} [import:34-45, lang:"javascript"](code/javascript/verlet.js) {% sample lang="rs" %} [import:34-45, lang:"rust"](code/rust/verlet.rs) @@ -203,19 +203,6 @@ Both of these methods work simply by iterating timestep-by-timestep and can be w [import, lang:"python"](code/python/verlet.py) {% sample lang="hs" %} [import, lang:"haskell"](code/haskell/verlet.hs) -{% sample lang="scratch" %} -Submitted by Jie -

- -

-Link: [https://scratch.mit.edu/projects/173039394/](https://scratch.mit.edu/projects/173039394/) -{% sample lang="m" %} -[import, lang:"matlab"](code/matlab/verlet.m) -{% sample lang="LabVIEW" %} -Submitted by P. Mekhail -

- -

{% sample lang="js" %} [import, lang:"javascript"](code/javascript/verlet.js) {% sample lang="rs" %}