From f9f459b7f29778465835ca721e58450ab0252abd Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Tue, 25 Oct 2022 18:03:46 +0200 Subject: [PATCH 1/8] fix: author profile id --- www/_blog/2022-10-21-shuttle-beta.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_blog/2022-10-21-shuttle-beta.mdx b/www/_blog/2022-10-21-shuttle-beta.mdx index c09564684..1a47fd8e2 100644 --- a/www/_blog/2022-10-21-shuttle-beta.mdx +++ b/www/_blog/2022-10-21-shuttle-beta.mdx @@ -1,7 +1,7 @@ --- title: Announcing shuttle beta - replacing containers for backend development description: A next-generation backend development framework with the fastest build, test and deployment times ever. -author: damien +author: brokad tags: [rust, startup, beta, backend] thumb: shuttle-beta.png cover: shuttle-beta.png From b09844086d415c799e69b8adc2a37c2fcf5d7eee Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 11:38:14 +0200 Subject: [PATCH 2/8] feat: format date on blog post pages --- www/pages/blog/[year]/[month]/[day]/[slug].tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www/pages/blog/[year]/[month]/[day]/[slug].tsx b/www/pages/blog/[year]/[month]/[day]/[slug].tsx index 87fe7daf4..5b5b8e6bd 100644 --- a/www/pages/blog/[year]/[month]/[day]/[slug].tsx +++ b/www/pages/blog/[year]/[month]/[day]/[slug].tsx @@ -83,6 +83,16 @@ export async function getStaticProps({ const nextPost = allPosts[currentIndex + 1] ?? null; const prevPost = allPosts[currentIndex - 1] ?? null; + const options: Intl.DateTimeFormatOptions = { + month: "long", + day: "numeric", + year: "numeric", + }; + const formattedDate = new Date(data.date).toLocaleDateString( + "en-IN", + options + ); + return { props: { prevPost, @@ -94,6 +104,7 @@ export async function getStaticProps({ ...data, toc: mdxTOC, readingTime, + date: formattedDate, } as Post, }, }; From d7d51a078f14c39caa90ff845751fc77d07bae45 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 11:55:57 +0200 Subject: [PATCH 3/8] feat: fix twitter embed and center it --- www/_blog/2022-10-21-shuttle-beta.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/_blog/2022-10-21-shuttle-beta.mdx b/www/_blog/2022-10-21-shuttle-beta.mdx index 1a47fd8e2..40fc775be 100644 --- a/www/_blog/2022-10-21-shuttle-beta.mdx +++ b/www/_blog/2022-10-21-shuttle-beta.mdx @@ -57,8 +57,9 @@ So we need to restrict the scope of virtualization to something more specific to Where does that leave us then? We need a new take on virtualization. One that has, perhaps, simplified I/Os and is engineered for backend services. Thankfully, we don't have to invent most of that wheel: let's talk about WASI. ## WASM/WASI - -

If WASM+WASI existed in 2008, we wouldn't have needed to created Docker. That's how important it is. Webassembly on the server is the future of computing. A standardized system interface was the missing link. Let's hope WASI is up to the task! https://t.co/wnXQg4kwa4

— Solomon Hykes (@solomonstre) March 27, 2019
+
+

If WASM+WASI existed in 2008, we wouldn't have needed to created Docker. That's how important it is. Webassembly on the server is the future of computing. A standardized system interface was the missing link. Let's hope WASI is up to the task! https://t.co/wnXQg4kwa4

— Solomon Hykes (@solomonstre) March 27, 2019
+
WebAssembly (abbreviated WASM) is an instruction set for extremely lightweight virtual machines. Its most common use is to speed up client-side interactivity. This is made possible as popular browsers have rolled out WASM runtimes a few years back. From 3435aced8701c7b2735195cabb20cc1d472a6b54 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 12:05:38 +0200 Subject: [PATCH 4/8] feat: add socials component to end of blog posts --- www/pages/blog/[year]/[month]/[day]/[slug].tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/pages/blog/[year]/[month]/[day]/[slug].tsx b/www/pages/blog/[year]/[month]/[day]/[slug].tsx index 5b5b8e6bd..f1e610256 100644 --- a/www/pages/blog/[year]/[month]/[day]/[slug].tsx +++ b/www/pages/blog/[year]/[month]/[day]/[slug].tsx @@ -27,6 +27,7 @@ import { DocumentTextIcon } from "@heroicons/react/outline"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faLinkedin, faTwitter } from "@fortawesome/free-brands-svg-icons"; import Copy from "../../../../../components/Copy"; +import Socials from "../../../../../components/Socials"; export async function getStaticPaths() { const paths = getAllPostSlugs(); @@ -335,6 +336,7 @@ export default function BlogPostPage(props: Props) { )} + {/* Sidebar */}
From 56af2a983e3de243dba4e8ef72d597547adc50d9 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 14:36:17 +0200 Subject: [PATCH 5/8] feat: make links and blockquotes pop --- www/components/SignupForm.tsx | 3 ++- .../blog/[year]/[month]/[day]/[slug].tsx | 24 +++++++++++++++++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/www/components/SignupForm.tsx b/www/components/SignupForm.tsx index 24ce6ff82..18ffcd807 100644 --- a/www/components/SignupForm.tsx +++ b/www/components/SignupForm.tsx @@ -7,13 +7,14 @@ import { TWITTER_URL, } from "../lib/constants"; import ExternalLink from "./ExternalLink"; -import Image from "next/image"; + const links = [ { name: "šŸ’» contributing to shuttle", href: CONTRIBUTING_URL }, { name: "ā­ļø starring the repository", href: GITHUB_URL }, { name: "šŸ‘¾ joining our discord community", href: DISCORD_URL }, { name: "šŸ¦ following us on twitter", href: TWITTER_URL }, ]; + export default function SignupForm() { const [state, handleSubmit] = useForm(FORMSPREE_ENDPOINT); diff --git a/www/pages/blog/[year]/[month]/[day]/[slug].tsx b/www/pages/blog/[year]/[month]/[day]/[slug].tsx index f1e610256..581d1ecaf 100644 --- a/www/pages/blog/[year]/[month]/[day]/[slug].tsx +++ b/www/pages/blog/[year]/[month]/[day]/[slug].tsx @@ -173,14 +173,34 @@ const Pre = ({ children, ...props }: any) => { const mdxComponents: MDXRemoteProps["components"] = { a(props) { if (props.href.match(/^https?:\/\//)) { - return ; + return ( + + ); } - return ; + return ( + + ); }, pre: (props: any) => { return
;
   },
+  blockquote(props) {
+    return (
+      
+ {props.children} +
+ ); + }, + icon(props: any) { + return ; + }, }; interface Props { From 399fe3ec61e7ff0ed44c6015aa1f2801b393ca0f Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 15:25:39 +0200 Subject: [PATCH 6/8] feat: use fontawesome for star symbol --- www/_blog/2022-10-21-shuttle-beta.mdx | 2 +- www/pages/blog/[year]/[month]/[day]/[slug].tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/www/_blog/2022-10-21-shuttle-beta.mdx b/www/_blog/2022-10-21-shuttle-beta.mdx index 40fc775be..1dc122082 100644 --- a/www/_blog/2022-10-21-shuttle-beta.mdx +++ b/www/_blog/2022-10-21-shuttle-beta.mdx @@ -75,7 +75,7 @@ The really powerful thing about WASM is that it is a very common compilation tar When we launched [shuttle](https://shuttle.rs/) in alpha, back in March 2022, our purpose was to address the issues people face using containers when building and deploying web apps. So we created an open-source infrastructure-from-code platform with which you donā€™t need to write Containerfiles and orchestrate images, starting with support for Rust. -Since then, more than 1k people ā­edĀ [shuttle repo](https://github.com/shuttle-hq/shuttle) and hundreds joined our discord community. shuttle as a platform has now seen more 2000 deployments and hundreds of users. And we received a ton of feedback from it all. +Since then, more than 1k people edĀ [shuttle repo](https://github.com/shuttle-hq/shuttle) and hundreds joined our discord community. shuttle as a platform has now seen more 2000 deployments and hundreds of users. And we received a ton of feedback from it all. What we quickly realized is that, while we managed to free users from having to work with containers, we completely failed to solve two core problems: long build and deploy times. diff --git a/www/pages/blog/[year]/[month]/[day]/[slug].tsx b/www/pages/blog/[year]/[month]/[day]/[slug].tsx index 581d1ecaf..2b3cdd4af 100644 --- a/www/pages/blog/[year]/[month]/[day]/[slug].tsx +++ b/www/pages/blog/[year]/[month]/[day]/[slug].tsx @@ -25,6 +25,7 @@ import ExternalLink from "../../../../../components/ExternalLink"; import classnames from "classnames"; import { DocumentTextIcon } from "@heroicons/react/outline"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { faStar } from "@fortawesome/free-solid-svg-icons"; import { faLinkedin, faTwitter } from "@fortawesome/free-brands-svg-icons"; import Copy from "../../../../../components/Copy"; import Socials from "../../../../../components/Socials"; @@ -198,9 +199,7 @@ const mdxComponents: MDXRemoteProps["components"] = { ); }, - icon(props: any) { - return ; - }, + FaIcon: (props) => , }; interface Props { From 84b4173b3b8217e5f50b8f8d286c2c131b1de7a1 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 15:47:29 +0200 Subject: [PATCH 7/8] refactor: fastar color --- www/_blog/2022-10-21-shuttle-beta.mdx | 2 +- www/pages/blog/[year]/[month]/[day]/[slug].tsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/_blog/2022-10-21-shuttle-beta.mdx b/www/_blog/2022-10-21-shuttle-beta.mdx index 1dc122082..8d01dd277 100644 --- a/www/_blog/2022-10-21-shuttle-beta.mdx +++ b/www/_blog/2022-10-21-shuttle-beta.mdx @@ -75,7 +75,7 @@ The really powerful thing about WASM is that it is a very common compilation tar When we launched [shuttle](https://shuttle.rs/) in alpha, back in March 2022, our purpose was to address the issues people face using containers when building and deploying web apps. So we created an open-source infrastructure-from-code platform with which you donā€™t need to write Containerfiles and orchestrate images, starting with support for Rust. -Since then, more than 1k people edĀ [shuttle repo](https://github.com/shuttle-hq/shuttle) and hundreds joined our discord community. shuttle as a platform has now seen more 2000 deployments and hundreds of users. And we received a ton of feedback from it all. +Since then, more than 1k people edĀ [shuttle repo](https://github.com/shuttle-hq/shuttle) and hundreds joined our discord community. shuttle as a platform has now seen more 2000 deployments and hundreds of users. And we received a ton of feedback from it all. What we quickly realized is that, while we managed to free users from having to work with containers, we completely failed to solve two core problems: long build and deploy times. diff --git a/www/pages/blog/[year]/[month]/[day]/[slug].tsx b/www/pages/blog/[year]/[month]/[day]/[slug].tsx index 2b3cdd4af..42ce892a3 100644 --- a/www/pages/blog/[year]/[month]/[day]/[slug].tsx +++ b/www/pages/blog/[year]/[month]/[day]/[slug].tsx @@ -199,7 +199,11 @@ const mdxComponents: MDXRemoteProps["components"] = { ); }, - FaIcon: (props) => , + FaStar: (props) => ( +
+ +
+ ), }; interface Props { From 521fb82fe336c7338257ebf8d81cd018d74fa2f7 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Wed, 26 Oct 2022 17:39:54 +0200 Subject: [PATCH 8/8] feat: tldr component, address reviews --- www/_blog/2022-10-21-shuttle-beta.mdx | 12 +++++----- .../blog/[year]/[month]/[day]/[slug].tsx | 22 +++++++++++-------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/www/_blog/2022-10-21-shuttle-beta.mdx b/www/_blog/2022-10-21-shuttle-beta.mdx index 8d01dd277..d8165ef9d 100644 --- a/www/_blog/2022-10-21-shuttle-beta.mdx +++ b/www/_blog/2022-10-21-shuttle-beta.mdx @@ -1,5 +1,5 @@ --- -title: Announcing shuttle beta - replacing containers for backend development +title: Replacing containers for backend development description: A next-generation backend development framework with the fastest build, test and deployment times ever. author: brokad tags: [rust, startup, beta, backend] @@ -7,10 +7,10 @@ thumb: shuttle-beta.png cover: shuttle-beta.png date: "2022-10-21T15:00:00" --- - -> Containers have improved development in a lot of ways, but over time they have also created a lot of problems. We believe it's time to take a bold view and rethink the way we do backend development. -> -> We're announcing [shuttle-next](https://shuttle.rs/beta): a next-generation backend development framework that has up to **100x smaller images** and **deploys end-to-end in under a second**. + +

Containers have improved development in a lot of ways, but over time they have also created a lot of problems. We believe it's time to take a bold view and rethink the way we do backend development.

+

We're announcing [shuttle-next](https://shuttle.rs/beta): a next-generation backend development framework that has up to **100x smaller images** and **deploys end-to-end in under a second**.

+
In web applications nowadays, you can sort any component somewhere in a broad spectrum from client-side to server-side. @@ -75,7 +75,7 @@ The really powerful thing about WASM is that it is a very common compilation tar When we launched [shuttle](https://shuttle.rs/) in alpha, back in March 2022, our purpose was to address the issues people face using containers when building and deploying web apps. So we created an open-source infrastructure-from-code platform with which you donā€™t need to write Containerfiles and orchestrate images, starting with support for Rust. -Since then, more than 1k people edĀ [shuttle repo](https://github.com/shuttle-hq/shuttle) and hundreds joined our discord community. shuttle as a platform has now seen more 2000 deployments and hundreds of users. And we received a ton of feedback from it all. +Since then, more than 1k people starredĀ the [shuttle repo](https://github.com/shuttle-hq/shuttle) and hundreds joined our discord community. shuttle as a platform has now seen more 2000 deployments and hundreds of users. And we received a ton of feedback from it all. What we quickly realized is that, while we managed to free users from having to work with containers, we completely failed to solve two core problems: long build and deploy times. diff --git a/www/pages/blog/[year]/[month]/[day]/[slug].tsx b/www/pages/blog/[year]/[month]/[day]/[slug].tsx index 42ce892a3..c48668aa9 100644 --- a/www/pages/blog/[year]/[month]/[day]/[slug].tsx +++ b/www/pages/blog/[year]/[month]/[day]/[slug].tsx @@ -25,7 +25,6 @@ import ExternalLink from "../../../../../components/ExternalLink"; import classnames from "classnames"; import { DocumentTextIcon } from "@heroicons/react/outline"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faStar } from "@fortawesome/free-solid-svg-icons"; import { faLinkedin, faTwitter } from "@fortawesome/free-brands-svg-icons"; import Copy from "../../../../../components/Copy"; import Socials from "../../../../../components/Socials"; @@ -192,18 +191,23 @@ const mdxComponents: MDXRemoteProps["components"] = { pre: (props: any) => { return
;
   },
-  blockquote(props) {
+  TLDR: (props: any) => {
     return (
-      
+
+ + TLDR + {props.children} -
+
); }, - FaStar: (props) => ( -
- -
- ), + // blockquote(props) { + // return ( + //
+ // {props.children} + //
+ // ); + // }, }; interface Props {