mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 09:53:51 -08:00
feat: rebrand to conditional finality
This commit is contained in:
parent
394718bcd4
commit
4803c2d68e
7 changed files with 12 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
||||||
# gradient ascent - yet another developer blog
|
# conditional finality - yet another developer blog
|
||||||
|
|
||||||
This repository hosts the source code for my blog, written in Haskell and
|
This repository hosts the source code for my blog, written in Haskell and
|
||||||
powered by [hakyll](https://jaspervdj.be/hakyll/) and
|
powered by [hakyll](https://jaspervdj.be/hakyll/) and
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
description = "gradient ascent";
|
description = "conditional finality";
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
allow-import-from-derivation = "true";
|
allow-import-from-derivation = "true";
|
||||||
|
|
BIN
src/images/conditional-finality.png
Normal file
BIN
src/images/conditional-finality.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
Before Width: | Height: | Size: 19 KiB |
|
@ -2,25 +2,21 @@
|
||||||
author: "Youwen Wu"
|
author: "Youwen Wu"
|
||||||
authorTwitter: "@youwen"
|
authorTwitter: "@youwen"
|
||||||
desc: "a purely functional...blog?"
|
desc: "a purely functional...blog?"
|
||||||
image: "./images/gradient-ascent.jpg"
|
image: "./images/conditional-finality.png"
|
||||||
keywords: "haskell, blog, functional programming"
|
keywords: "haskell, blog, functional programming"
|
||||||
lang: "en"
|
lang: "en"
|
||||||
title: "why I made my blog in haskell"
|
title: "a haskellian blog"
|
||||||
updated: "2024-05-25T12:00:00Z"
|
updated: "2024-05-25T12:00:00Z"
|
||||||
---
|
---
|
||||||
|
|
||||||
Welcome! This is the first post on _gradient ascent_ and also one that tests all
|
Welcome! This is the first post on _conditional finality_ and also one that tests all
|
||||||
of the features.
|
of the features.
|
||||||
|
|
||||||
<img
|
<img
|
||||||
alt="gradient ascent"
|
alt="conditional finality"
|
||||||
src="./images/gradient-ascent.jpg"
|
src="./images/conditional-finality.png"
|
||||||
style="height: 200px; width: 100%; object-fit: cover"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
I'll be writing about computers, code, math, video games, and whatever else
|
|
||||||
here.
|
|
||||||
|
|
||||||
> A monad is just a monoid in the category of endofunctors, what's the problem?
|
> A monad is just a monoid in the category of endofunctors, what's the problem?
|
||||||
|
|
||||||
## haskell?
|
## haskell?
|
||||||
|
@ -59,11 +55,6 @@ The code highlighting is also generated by hakyll.
|
||||||
Haskell is a purely functional language with no mutable state. Its syntax
|
Haskell is a purely functional language with no mutable state. Its syntax
|
||||||
actually makes it pretty elegant for declaring routes and "rendering" pipelines.
|
actually makes it pretty elegant for declaring routes and "rendering" pipelines.
|
||||||
|
|
||||||
I originally wanted to build this entire blog myself. I had a working version
|
|
||||||
with the Svelte framework, complete with GFM rendering, table of contents, KaTeX
|
|
||||||
math, code highlighting, static generation, and other goodies. However, it
|
|
||||||
seemed like a little too much work to maintain. I switched to hakyll because
|
|
||||||
|
|
||||||
1. Haskell is cool.
|
1. Haskell is cool.
|
||||||
2. It comes with enough features that I don't feel like I have to build
|
2. It comes with enough features that I don't feel like I have to build
|
||||||
everything from scratch.
|
everything from scratch.
|
||||||
|
@ -77,7 +68,7 @@ seemed like a little too much work to maintain. I switched to hakyll because
|
||||||
### speaking of math
|
### speaking of math
|
||||||
|
|
||||||
We can have math inline, like so:
|
We can have math inline, like so:
|
||||||
$\int_\infty^\infty \, e^{-x^2}\,dx = \sqrt{\pi}$. This site ships semantic
|
$\int_\infty^{-\infty} \, e^{-x^2}\,dx = \sqrt{\pi}$. This site ships semantic
|
||||||
MathML math with its HTML, and the MathJax script to the client.
|
MathML math with its HTML, and the MathJax script to the client.
|
||||||
|
|
||||||
It'd be nice if MathML could just be used and supported across all browsers, but
|
It'd be nice if MathML could just be used and supported across all browsers, but
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="$lang$">
|
<html lang="$lang$">
|
||||||
<head>
|
<head>
|
||||||
<title>$title$ | gradient ascent</title>
|
<title>$title$ | conditional finality</title>
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
@ -116,7 +116,7 @@
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
class="dark:hover:text-muted-dark hover:text-muted-light transition-all duration-500 text-nowrap tracking-wide"
|
class="dark:hover:text-muted-dark hover:text-muted-light transition-all duration-500 text-nowrap tracking-wide"
|
||||||
><em>Gradient Ascent.</em></a
|
><em>Conditional Finality.</em></a
|
||||||
>
|
>
|
||||||
</h1>
|
</h1>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -28,13 +28,13 @@ import Text.Pandoc.Options (
|
||||||
-- PERSONALIZATION
|
-- PERSONALIZATION
|
||||||
|
|
||||||
mySiteName :: String
|
mySiteName :: String
|
||||||
mySiteName = "gradient ascent"
|
mySiteName = "conditional finality"
|
||||||
|
|
||||||
mySiteRoot :: String
|
mySiteRoot :: String
|
||||||
mySiteRoot = "https://blog.youwen.dev"
|
mySiteRoot = "https://blog.youwen.dev"
|
||||||
|
|
||||||
myFeedTitle :: String
|
myFeedTitle :: String
|
||||||
myFeedTitle = "gradient ascent"
|
myFeedTitle = "conditional finality"
|
||||||
|
|
||||||
myFeedDescription :: String
|
myFeedDescription :: String
|
||||||
myFeedDescription = "on computers, hacks, math, and life"
|
myFeedDescription = "on computers, hacks, math, and life"
|
||||||
|
|
Loading…
Reference in a new issue