Compare commits

..

2 commits

Author SHA1 Message Date
Akemi Izuko f889fcaf51
Blog: switch image paths 2024-01-01 01:30:04 -07:00
Akemi Izuko 3309f41dff
Head: switch to avif images 2024-01-01 01:25:35 -07:00
13 changed files with 23 additions and 24 deletions

View file

@ -17,9 +17,12 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
<!-- Global Metadata --> <!-- Global Metadata -->
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/png" href="/favicon.png" /> <link rel="icon" type="image/avif" href="/favicon.avif" />
<link rel="apple-touch-icon" href="/favicon.png"> <link rel="apple-touch-icon" href="/favicon.avif" />
<meta property="og:image" content="https://dev.noway.moe/favicon.png" /> <meta property="og:title" content="noway.moe" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dev.noway.moe" />
<meta property="og:image" content="https://dev.noway.moe/favicon.avif" />
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<!-- Font preloads --> <!-- Font preloads -->

View file

@ -6,7 +6,7 @@ import { SITE_TITLE } from '../consts';
<header style="width: 100%" class="font-sans sticky top-0 md:static bg-white underline-offset-4 z-40"> <header style="width: 100%" class="font-sans sticky top-0 md:static bg-white underline-offset-4 z-40">
<nav> <nav>
<div class="flex items-center space-x-8"> <div class="flex items-center space-x-8">
<HeaderLink href="/"><img style="padding: 2px;" src="/favicon.png" /></HeaderLink> <HeaderLink href="/"><img style="padding: 2px;" src="/favicon.avif" /></HeaderLink>
<HeaderLink href="/blog">Blog</HeaderLink> <HeaderLink href="/blog">Blog</HeaderLink>
<HeaderLink href="/unix">Unix</HeaderLink> <HeaderLink href="/unix">Unix</HeaderLink>
<HeaderLink href="/llama">Llama</HeaderLink> <HeaderLink href="/llama">Llama</HeaderLink>

View file

@ -2,7 +2,6 @@
title: 'Markdown Style Guide' title: 'Markdown Style Guide'
description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.' description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.'
pubDate: 'Jul 01 2022' pubDate: 'Jul 01 2022'
heroImage: '/blog-placeholder-1.jpg'
--- ---
Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro. Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.
@ -39,7 +38,7 @@ Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sap
#### Output #### Output
![blog placeholder](/blog-placeholder-about.jpg) ![TinyLlama](/images/llama/tiny-llama-logo.avif)
## Blockquotes ## Blockquotes
@ -50,13 +49,13 @@ The blockquote element represents content that is quoted from another source, op
#### Syntax #### Syntax
```markdown ```markdown
> Tiam, ad mint andaepu dandae nostion secatur sequo quae. > Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use _Markdown syntax_ within a blockquote. > **Note** that you can use _Markdown syntax_ within a blockquote.
``` ```
#### Output #### Output
> Tiam, ad mint andaepu dandae nostion secatur sequo quae. > Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use _Markdown syntax_ within a blockquote. > **Note** that you can use _Markdown syntax_ within a blockquote.
### Blockquote with attribution ### Blockquote with attribution

View file

@ -2,7 +2,7 @@
title: 'Use a Ramdisk' title: 'Use a Ramdisk'
description: 'Why you should use ramdisks' description: 'Why you should use ramdisks'
pubDate: 'Dec 29 2023' pubDate: 'Dec 29 2023'
heroImage: '/blog-placeholder-5.jpg' heroText: 'RAM Disks'
--- ---
# RAM Disks # RAM Disks

View file

@ -2,7 +2,7 @@
title: 'A Brief History of Local Llamas' title: 'A Brief History of Local Llamas'
description: 'A Brief History of Local Llamas' description: 'A Brief History of Local Llamas'
updateDate: 'Jan 01 2024' updateDate: 'Jan 01 2024'
heroImage: '/images/tiny-llama-logo.avif' heroImage: '/images/llama/tiny-llama-logo.avif'
--- ---
<p style="font-size: max(2vh, 10px); margin-top: 0; text-align: right"> <p style="font-size: max(2vh, 10px); margin-top: 0; text-align: right">
@ -18,7 +18,7 @@ methods of the time. Since then, I've also taken an NLP course, though not one
focused on deep learning. focused on deep learning.
Most my knowledge of this field comes from a few guest lectures, and the Most my knowledge of this field comes from a few guest lectures, and the
indispensable [r/locallama](https://www.reddit.com/r/LocalLLaMA/) community, indispensable [r/localllama](https://www.reddit.com/r/LocalLLaMA/) community,
which always has the latest news about local llamas. I've become a fan of the which always has the latest news about local llamas. I've become a fan of the
local llama movement in December 2023, so the "important points" covered here local llama movement in December 2023, so the "important points" covered here
are coming from a retrospective. are coming from a retrospective.

View file

@ -32,8 +32,6 @@ anyone looking to get caught up with the field.
#### Interfaces #### Interfaces
- [List of web UIs](https://www.reddit.com/r/LocalLLaMA/comments/1847qt6/llm_webui_recommendations) - [List of web UIs](https://www.reddit.com/r/LocalLLaMA/comments/1847qt6/llm_webui_recommendations)
- [SillyTavern tutori]()
- https://www.reddit.com/r/CharacterAi_NSFW/comments/13yy8m9/indepth_explanation_on_how_to_install_silly/ :: tutorial sillytavern webui
- [Jailbreaking GPT when prompting for characters](https://rentry.org/GPTJailbreakPrompting) - [Jailbreaking GPT when prompting for characters](https://rentry.org/GPTJailbreakPrompting)
- [Guidelines for prompting for characters](https://rentry.org/NG_CharCard) - [Guidelines for prompting for characters](https://rentry.org/NG_CharCard)
- [ChatML from OpenAI is quickly becoming the standard for - [ChatML from OpenAI is quickly becoming the standard for
@ -44,7 +42,8 @@ anyone looking to get caught up with the field.
- [Mergekit - MoE training framework](https://github.com/cg123/mergekit) - [Mergekit - MoE training framework](https://github.com/cg123/mergekit)
- [Axolotl - Fine tuning framework](https://github.com/OpenAccess-AI-Collective/axolotl) - [Axolotl - Fine tuning framework](https://github.com/OpenAccess-AI-Collective/axolotl)
- [Unsloth - Fine tuning accelerator](https://github.com/unslothai/unsloth) - [Unsloth - Fine tuning accelerator](https://github.com/unslothai/unsloth)
- llama.cpp vs Transformers vs LangChain vs PyTorch :: library framework tool standard - llama.cpp, Transformers, LangChain, and PyTorch are all popular libraries for
training
#### Tutorials #### Tutorials
- [Karpathy builds and trains a llama](https://www.youtube.com/watch?v=kCc8FmEb1nY) - [Karpathy builds and trains a llama](https://www.youtube.com/watch?v=kCc8FmEb1nY)

View file

@ -2,7 +2,7 @@
title: 'Send emails using Curl' title: 'Send emails using Curl'
description: 'Examples on how to automate emails with Curl' description: 'Examples on how to automate emails with Curl'
updateDate: 'Jul 08 2022' updateDate: 'Jul 08 2022'
heroImage: '/curl-logo.webp' heroImage: '/images/unix/curl-logo.webp'
--- ---
# Emailing with Curl # Emailing with Curl

View file

@ -2,7 +2,7 @@
title: 'SSH Quick Start Guide' title: 'SSH Quick Start Guide'
description: 'The fastest way to get all the SSH essentials out of the way' description: 'The fastest way to get all the SSH essentials out of the way'
updateDate: 'December 26 2023' updateDate: 'December 26 2023'
heroImage: '/ssh-logo.png' heroImage: '/images/unix/ssh-logo.png'
--- ---
# SSH # SSH
@ -15,8 +15,6 @@ developer and CS researcher.
It's also just really cool! It's also just really cool!
![silly akemi](/akemi_silly_transparent.png)
For this course, we will be using the university's lab machines for all For this course, we will be using the university's lab machines for all
assignments and lab demos. They all run Ubuntu 20.04. It's important you compile assignments and lab demos. They all run Ubuntu 20.04. It's important you compile
and test your code on these machines. We will not accept situations where the and test your code on these machines. We will not accept situations where the

View file

@ -2,7 +2,7 @@
title: 'Systemd Timers' title: 'Systemd Timers'
description: "Replacing Crontabs with Systemd's timer mechanism" description: "Replacing Crontabs with Systemd's timer mechanism"
updateDate: 'Dec 29 2023' updateDate: 'Dec 29 2023'
heroImage: '/systemd-dark.webp' heroImage: '/images/unix/systemd-dark.webp'
--- ---
# Systemd Timers # Systemd Timers

View file

@ -42,7 +42,7 @@ const posts = (await getCollection('blog')).sort(
width={720} width={720}
height={360} height={360}
class="rounded-2xl grayscale" class="rounded-2xl grayscale"
src={post.data.heroImage} src={ post.data.heroImage ? post.data.heroImage : "/images/llama/tiny-llama-logo.avif" }
alt="" /> alt="" />
<div class="hero-text"> <div class="hero-text">
{post.data.heroText} {post.data.heroText}

View file

@ -25,10 +25,10 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
<a href="https://www.ualberta.ca/computing-science/index.html">UAlberta</a>. I'm <a href="https://www.ualberta.ca/computing-science/index.html">UAlberta</a>. I'm
usually on discord, but email is the best way to contact me. Some of usually on discord, but email is the best way to contact me. Some of
my interests include <a href="/unix">unix</a>, my interests include <a href="/unix">unix</a>,
<a href="/road_bike.avif">biking</a>, llamas, 日本語とアニミ... <a href="/images/home/road-bike.avif">biking</a>, llamas, 日本語とアニミ...
当たり前じゃん and you (>ω^)! 当たり前じゃん and you (>ω^)!
</p> </p>
<img id="pfp" src="/akemi_silly_transparent.png" /> <img id="pfp" src="/images/home/akemi-silly-transparent.avif" />
</main> </main>
<Footer /> <Footer />
</body> </body>

View file

@ -54,7 +54,7 @@ const posts = (await getCollection('llama')).sort(
width={720} width={720}
height={360} height={360}
class="rounded-2xl grayscale" class="rounded-2xl grayscale"
src={ post.data.heroImage ? post.data.heroImage : "/images/tiny-llama-logo.avif" } src={ post.data.heroImage ? post.data.heroImage : "/images/llama/tiny-llama-logo.avif" }
alt="" /> alt="" />
<h4 <h4
class="title text-xl"> class="title text-xl">

View file

@ -55,7 +55,7 @@ const posts = (await getCollection('unix')).sort(
width={720} width={720}
height={360} height={360}
class="rounded-2xl grayscale" class="rounded-2xl grayscale"
src={ post.data.heroImage ? post.data.heroImage : "/terminal.webp" } src={ post.data.heroImage ? post.data.heroImage : "/images/unix/terminal.webp" }
alt="" /> alt="" />
<h4 <h4
class="title text-xl"> class="title text-xl">