Skip to content

Commit

Permalink
removed leading zero from day
Browse files Browse the repository at this point in the history
  • Loading branch information
gcrois committed Jul 9, 2024
1 parent a8a9936 commit f8dfa4d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/ContentCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const {
dateFunc = (date: Date) => {
const { month, day, year } = dateToParts(date);
return `${month} ${day}, ${year}`;
// remove leading zero from day
const dayStr = day.toString().replace(/^0+/, '');
return `${month} ${dayStr}, ${year}`;
}
}: Props = Astro.props;
Expand Down
11 changes: 11 additions & 0 deletions src/content/blog/synmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Syntax Mapping for LLM Coding"
date: "2024-07-9"

description: "Programming Languages are optimized for human readability and writability, but are these also optimal for LLMs? This project maps syntax from existing parsers into other formats, each with different advantages to be evaluated in LLM Coding tasks."

link: "https://gcrois.github.io/synmap/"
newTab: true

tags: ["Programming Languages", "Parsing", "AI"]
---
2 changes: 1 addition & 1 deletion src/content/blog/tasks.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Flexible Backend for Web Applications"
date: "2024-07-01"
date: "2024-07-1"

description: "An in-progress library to provide flexible backends for compute-intensive web applications, such as switching between web workers, local docker images, and API keys for AI apps."

Expand Down

0 comments on commit f8dfa4d

Please sign in to comment.