blacksheepcode's profile picture. Full Stack JavaScript Developer. I think a lot about how to make things testable. Want to make programming fun.

David Johnston

@blacksheepcode

Full Stack JavaScript Developer. I think a lot about how to make things testable. Want to make programming fun.

David Johnston reposted

I forgot my bank password and lost my entire net worth. No, actually, that didn't happen, because banks work and bitcoin doesn't.


David Johnston reposted

Far too general, barrel files are useful in many scenarios including reducing circular dependencies. Tree shaking is totally OK, in every tool since about 5y


David Johnston reposted

🎉 Join us in 2 weeks for a special year-end event! Wednesday December 13, 6pm at Kogan in South Melbourne. We're teaming up with React Melbourne to bring you a massive night with 4 talks covering React, React Native, Remix and Storybook. Don't miss it! meetup.com/react-melbourn…


Oh FFS. What's even the point of having DMs open?

blacksheepcode's tweet image. Oh FFS. What's even the point of having DMs open?

David Johnston reposted

🎉 1 day to go! Join us tomorrow, 6pm at Culture Amp. Remix, Server Components, Next.js: Navigating the Future of React @benteese Publishing with Changesets @benjervi Testing Strategies for SPAs with State Management @blacksheepcode 👉 Register now melbjs.com


David Johnston reposted

Oh oh it's back to school laptop season let me give you the fundamentals: You don't need a MacBook Pro, get an Air. If you want Windows: Lenovo Yoga series in your price range Dell XPS series in your price range HP Spectre series in your price range Don't get a gaming laptop


David Johnston reposted

I really like reducers for when I want to write some code that makes me feel like the cleverest lad in JS Land for a day and then becomes utterly incomprehensible forever after

This post is unavailable.

David Johnston reposted

I had to read the blog post explanation several times before this clicked. 🤯

This is pure magic, a #JavaScript function that uses Regular Expression to check if the number is Prime. Found in this article noulakaz.net/2007/03/18/a-r… and rewritten in JavaScript #Regex #TechTwitter

jcubic's tweet image. This is pure magic, a #JavaScript function that uses Regular Expression to check if the number is Prime.

Found in this article noulakaz.net/2007/03/18/a-r… and rewritten in JavaScript

#Regex #TechTwitter


David Johnston reposted

I have never wanted anything more in my life

RMac18's tweet image. I have never wanted anything more in my life

David Johnston reposted

I've published docs on Caching and Server Timing headers for the Epic Stack: github.com/epicweb-dev/ep… 🎉 (Should still be interesting if you're not using the Epic Stack. May inspire you to add some of the same concepts to your own app).

kentcdodds's tweet image. I've published docs on Caching and Server Timing headers for the Epic Stack: github.com/epicweb-dev/ep… 🎉

(Should still be interesting if you're not using the Epic Stack. May inspire you to add some of the same concepts to your own app).

David Johnston reposted

🎉 Only 6 days to go! Join us Wednesday June 7 at Kogan HQ in South Melbourne. We’re running a special joint meetup with @webdirections Code + React Melbourne + Melbourne CSS. Don’t miss it! meetup.com/en-AU/react-me…


🤔

Dev stuff I’m thankful I left behind: - container orchestration - DB migrations - self-rolling auth - fully native mobile apps - Docker - git rebase - code coverage - working on Linux - Python



David Johnston reposted

Honestly making a simple message queue in Postgres is way too easy. The below lets me pluck print jobs from the database giving me "exactly once" delivery with retries in the event that the transaction fails somewhere.

lxunos's tweet image. Honestly making a simple message queue in Postgres is way too easy.

The below lets me pluck print jobs from the database giving me "exactly once" delivery with retries in the event that the transaction fails somewhere.

United States Trends

Loading...

Something went wrong.


Something went wrong.