diff --git a/TODO b/TODO index 1a2e240..192afa3 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,4 @@ -MVP necessary: - Fix articles with inline html in them and/or links - -MVP unneeded: - post jump points and table of contents (be wary of having this take up too much space on mobile) - ico? - Make references(the tiny number things) appear to the side instead of the bottom on desktop, try to make it bottom of page in print or bottom of print otherwise diff --git a/posts/fractions_sidequest.md b/posts/fractions_sidequest.md index 145ee0f..e9be80c 100644 --- a/posts/fractions_sidequest.md +++ b/posts/fractions_sidequest.md @@ -72,7 +72,7 @@ impl Add for Frac{ This code feels bad even from a code quality point of view but idk why, regardless it's hilariously bad performance wise. - + Considering that we're "only" doing addition this is incredibly slow. Slower than addition in (insert butt of the joke language of this week here). All that in mind something is definitely up and if you read the code above and think about it enough you'll probably see it. @@ -154,7 +154,7 @@ async fn recurse(f1:Frac,f2:Frac, remaining:u64)->Vec{ looks good at first glance(actual version code quality is bad but blog version seems alright). What happens when we run it? - + Oh... we run out of memory... or well we run out of 30 gigabytes of memory because I set a limit to avoid effecting the other stuff running on the server(because it isn't mine). But why? Doing the math if all we had to deal with was the fractions we'd be using about `17501876*4/1000**3 ~ 0.07 GB`, if we include the overhead of all the Vecs we make and are pretty agressive with how much memory they use maybe 0.21 GB which is a difference of over 142x. So what's the rest of the memory? @@ -196,7 +196,7 @@ fn recurse(f1:Frac,f2:Frac, remaining:u64)->Vec{ This solves the whole running out of memory thing. A funny side effect is that now it's even faster(even though it's 1 thread). - + So that was fun going through and making all this work out well, now I can generate gigabytes upon gigabytes of fractions with ease. diff --git a/static/css/icon-colors.css b/static/css/icon-colors.css index 53ca566..0c3ac0f 100644 --- a/static/css/icon-colors.css +++ b/static/css/icon-colors.css @@ -1,6 +1,3 @@ -@layer futureproof; - -@layer futureproof{ @media (prefers-color-scheme: dark){ :root { @@ -17,4 +14,3 @@ } } -} diff --git a/static/css/layout.css b/static/css/layout.css index 4055bb7..82a2a5d 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -40,7 +40,7 @@ h2 { } h1, h2, h3, h4, h5, h6 { /*I want serifs dangit*/ - font-family: "courier-std", serif; + font-family: "Courier Prime", Georgia, serif; } p{ font-size: var(--base-text-size); @@ -77,7 +77,7 @@ time { #content { box-sizing: border-box; display: block flex; - margin: 1rem;/*calc(24px + 3rem) 1rem 1rem 1rem;*/ + margin-top: 1rem;/*calc(24px + 3rem) 1rem 1rem 1rem;*/ padding: 1rem; /* needed due to flex parent*/ width: 100%; diff --git a/static/images/rss.svg b/static/images/rss.svg index 4a69f55..0646a2c 100644 --- a/static/images/rss.svg +++ b/static/images/rss.svg @@ -3,7 +3,9 @@ diff --git a/static/video/frac_gen_v1.mp4 b/static/video/frac_gen_v1.mp4 new file mode 100644 index 0000000..0ff5a30 Binary files /dev/null and b/static/video/frac_gen_v1.mp4 differ diff --git a/static/video/frac_gen_v2.mp4 b/static/video/frac_gen_v2.mp4 new file mode 100644 index 0000000..9714fbb Binary files /dev/null and b/static/video/frac_gen_v2.mp4 differ diff --git a/static/video/frac_gen_v3.mp4 b/static/video/frac_gen_v3.mp4 new file mode 100644 index 0000000..ce95964 Binary files /dev/null and b/static/video/frac_gen_v3.mp4 differ diff --git a/templates/default.html b/templates/default.html index b2d15de..defa33e 100644 --- a/templates/default.html +++ b/templates/default.html @@ -11,8 +11,8 @@ - - + @@ -32,8 +32,11 @@
{{{content}}}
- - +
+ + +
diff --git a/templates/post.html b/templates/post.html index cc69a2a..fdc7c3d 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,6 +1,6 @@
-

{{{title}}}

-
+

{{{title}}}

+
{{{date}}}