David Muir (I'm not a news anchor)'s Avatar

David Muir (I'm not a news anchor)

@davidmuir.co.bsky.social

Dad and somewhat passable software developer. he/him

399 Followers  |  99 Following  |  10 Posts  |  Joined: 28.09.2024  |  1.7035

Latest posts by davidmuir.co on Bluesky


Also not me, clearly my name is far more popular than I had imagined

30.01.2025 16:39 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'll set it in my calendar

17.01.2025 19:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Haha no worries!

26.11.2024 23:34 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Wrong David Muir

26.11.2024 08:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Today I was punished for the audacity of having time to write some code this week by a Friday filled to the brim with meetings.

Become a tech lead they said...

15.11.2024 19:19 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

I mean if you insist, meet Zelda

07.11.2024 18:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
import { authorFeedLoader } from "@ascorbic/bluesky-loader";
  
const posts = defineCollection({
  loader: authorFeedLoader({
    identifier: "mk.gg",
  }),
});

export const collections = { posts };

import { authorFeedLoader } from "@ascorbic/bluesky-loader"; const posts = defineCollection({ loader: authorFeedLoader({ identifier: "mk.gg", }), }); export const collections = { posts };

---
import { getCollection } from "astro:content";
const posts = await getCollection("posts");           
---

<div>
  {
    posts.map(async (post) => {
      const { Content } = await render(post);
      return (
        <section>
          <Content />
          <p>{post.data.likeCount} likes</p>
        </section>
      );
    })
  }
</div>

--- import { getCollection } from "astro:content"; const posts = await getCollection("posts"); --- <div> { posts.map(async (post) => { const { Content } = await render(post); return ( <section> <Content /> <p>{post.data.likeCount} likes</p> </section> ); }) } </div>

Would you like to display your Bluesky posts in your Astro site? I've made an Astro content loader for Bluesky! When you build the site it loads your posts and puts them in a content collection. You can then display them on a page, or use the raw data however you want.

github.com/ascorbic/ast...

03.11.2024 18:15 β€” πŸ‘ 381    πŸ” 72    πŸ’¬ 27    πŸ“Œ 5

Fully agree. Once you get to a certain level you are there to solve business problems, not just sit in front of your IDE.

03.11.2024 16:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot of a Github Actions workflow runs list, showing many failed attempts to get a success build

Screenshot of a Github Actions workflow runs list, showing many failed attempts to get a success build

Oh I do so love setting up builds

29.10.2024 21:31 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

As it's the law, I've got to say it:

I can't believe how bloody dark it is outside

28.10.2024 17:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Picture of a tortoise shell cat sitting on a soft cushion in a sunbeam

Picture of a tortoise shell cat sitting on a soft cushion in a sunbeam

Saying hello to bluesky in the best possible way (with a cat picture)

21.10.2024 20:28 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Manager: "Are we aligned?"

1. Attempt to align yourself. [DC10 Wisdom save]
2. "I don't see a clear ask." [Begin combat]

08.10.2024 18:12 β€” πŸ‘ 130    πŸ” 19    πŸ’¬ 2    πŸ“Œ 0

@davidmuir.co is following 19 prominent accounts