From d20c46be1fb14e25ef2060a4c0b0c6a4c49ce6e7 Mon Sep 17 00:00:00 2001 From: Charles Ancheta <55412395+cbebe@users.noreply.github.com> Date: Sun, 10 Dec 2023 22:10:16 -0700 Subject: [PATCH] Deploy website - based on 8dcbb54b832a577427d9f2717ff02a09e5ae4b5c --- articles/index.html | 11 +- .../{index.18f28088.js => index.cb1f0e09.js} | 2 +- assets/predictor_bg.wasm | Bin 29712 -> 30008 bytes blog/index.html | 11 +- docs/index.html | 11 +- index.html | 2 +- index.xml | 16 +- post/expired-domain/index.html | 6 +- post/go-interfaces/index.html | 192 +++++++++--------- post/i-deleted-my-npm-packages/index.html | 170 ++++++++-------- post/index.html | 21 +- post/index.xml | 16 +- post/pou/index.html | 6 +- .../index.html | 10 +- post/static-website-setup/part-1/index.html | 176 ++++++++++++++++ .../part-1/static-vs-dynamic.webp | Bin 0 -> 15552 bytes post/til/parallel-make/index.html | 44 ++-- post/why-i-migrated-to-hugo/index.html | 10 +- posts/index.html | 11 +- showcase/index.html | 11 +- sitemap.xml | 4 + turnip/index.html | 2 +- 22 files changed, 454 insertions(+), 278 deletions(-) rename assets/{index.18f28088.js => index.cb1f0e09.js} (69%) create mode 100644 post/static-website-setup/part-1/index.html create mode 100644 post/static-website-setup/part-1/static-vs-dynamic.webp diff --git a/articles/index.html b/articles/index.html index 7eca27c..ae2d031 100644 --- a/articles/index.html +++ b/articles/index.html @@ -1,10 +1 @@ - - -
-Now I just have my personal website as a sub-domain in the only domain that I own. It’s not too bad, but now I will have to start replacing all links to my website.
-Apparently “namesake” implies that one was named after the other. I’m not, so the word that I was translating was “katokayo” or “kapangalan” @@ -67,7 +67,7 @@
Software Engineer
+My 4-part series on how to build a website
+ ++ By Charles Ancheta, + 2023-06-08 +
+ + + +PaTi-YFQW-Qj9N#lT4^Q@*(j4*9h%z4F5x4a6>;%;ILwI zcA}JZKRQBLaNZyllhntvHHK_TCBu@sJJ;W88C8oaQkLjq+WNYk8T_swM9VYCHoCid zkV#OG`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l)K$>tsO!@$h~QZ#e7yqZT=7ez9=i4c _r|OJ+mm+S< eL+Jx z)7BWv{=41Jn9WoaXF8*tvo~xU@eT7DZKV@Tq#|E>a{}?khc@cHMLr&d*phPIA%6t` MfKdwguhP^10b$lv_5c6? literal 0 HcmV?d00001 diff --git a/post/til/parallel-make/index.html b/post/til/parallel-make/index.html index 7a180d8..e8386e1 100644 --- a/post/til/parallel-make/index.html +++ b/post/til/parallel-make/index.html @@ -50,28 +50,28 @@ TIL: Parallel
make
I thought to myself that maybe there’s a way to parallelize the compilation steps, after doing some setup. I was wrong, it did not need any setup. Just slap a
--j
in there for infinite jobs and you’re good.# Without -j -[chrlz@workstation master monke]$ time make all -mkdir -p obj -g++ -c -o obj/token.o -std=c++20 -Wall -Wextra -pedantic -O3 src/token.cpp -g++ -c -o obj/lexer.o -std=c++20 -Wall -Wextra -pedantic -O3 src/lexer.cpp -g++ -c -o obj/ast.o -std=c++20 -Wall -Wextra -pedantic -O3 src/ast.cpp -g++ -c -o obj/parser.o -std=c++20 -Wall -Wextra -pedantic -O3 src/parser.cpp -g++ -c -o repl.o -std=c++20 -Wall -Wextra -pedantic -O3 repl.cpp -g++ -o monke_repl -std=c++20 -Wall -Wextra -pedantic -O3 obj/token.o obj/lexer.o obj/ast.o obj/parser.o repl.o -make all 9.08s user 0.66s system 99% cpu 9.748 total - -# With -j -[chrlz@workstation master monke]$ time make -j all -mkdir -p obj -g++ -c -o repl.o -std=c++20 -Wall -Wextra -pedantic -O3 repl.cpp -g++ -c -o obj/token.o -std=c++20 -Wall -Wextra -pedantic -O3 src/token.cpp -g++ -c -o obj/lexer.o -std=c++20 -Wall -Wextra -pedantic -O3 src/lexer.cpp -g++ -c -o obj/ast.o -std=c++20 -Wall -Wextra -pedantic -O3 src/ast.cpp -g++ -c -o obj/parser.o -std=c++20 -Wall -Wextra -pedantic -O3 src/parser.cpp -g++ -o monke_repl -std=c++20 -Wall -Wextra -pedantic -O3 obj/token.o obj/lexer.o obj/ast.o obj/parser.o repl.o -make -j all 10.27s user 0.77s system 255% cpu 4.317 total -
It basically cuts down my compilation time by 50%. I feel like a real dummy +
# Without -j +[chrlz@workstation master monke]$ time make all +mkdir -p obj +g++ -c -o obj/token.o -std=c++20 -Wall -Wextra -pedantic -O3 src/token.cpp +g++ -c -o obj/lexer.o -std=c++20 -Wall -Wextra -pedantic -O3 src/lexer.cpp +g++ -c -o obj/ast.o -std=c++20 -Wall -Wextra -pedantic -O3 src/ast.cpp +g++ -c -o obj/parser.o -std=c++20 -Wall -Wextra -pedantic -O3 src/parser.cpp +g++ -c -o repl.o -std=c++20 -Wall -Wextra -pedantic -O3 repl.cpp +g++ -o monke_repl -std=c++20 -Wall -Wextra -pedantic -O3 obj/token.o obj/lexer.o obj/ast.o obj/parser.o repl.o +make all 9.08s user 0.66s system 99% cpu 9.748 total + +# With -j +[chrlz@workstation master monke]$ time make -j all +mkdir -p obj +g++ -c -o repl.o -std=c++20 -Wall -Wextra -pedantic -O3 repl.cpp +g++ -c -o obj/token.o -std=c++20 -Wall -Wextra -pedantic -O3 src/token.cpp +g++ -c -o obj/lexer.o -std=c++20 -Wall -Wextra -pedantic -O3 src/lexer.cpp +g++ -c -o obj/ast.o -std=c++20 -Wall -Wextra -pedantic -O3 src/ast.cpp +g++ -c -o obj/parser.o -std=c++20 -Wall -Wextra -pedantic -O3 src/parser.cpp +g++ -o monke_repl -std=c++20 -Wall -Wextra -pedantic -O3 obj/token.o obj/lexer.o obj/ast.o obj/parser.o repl.o +make -j all 10.27s user 0.77s system 255% cpu 4.317 total +
It basically cuts down my compilation time by 50%. I feel like a real dummy now.