DerickBailey.com

Trade Secrets Of A Developer / Entrepreneur

  •  About
  •  Twitter
  •  G+
  •  RSS
  • Blog
  • Courses
  • Products
  • Newsletter
  • Publications
  • Podcasts
  • Work With Me!

What Is RabbitMQ? What Does It Do For Me?

October 12, 2016 By Derick

What Is RabbitMQ? What Does It Do For Me?

Wes Bos asked a question on twitter that threw me off a bit.  @derickbailey I’ve never understood what rabbitmq is / what it’s for. Do you have a post or something that explains what I would use it for? — Wes Bos (@wesbos) October 10, 2016 It was a simple question, but I realized that […]

Filed Under: AJAX, API, Architecture, Distributed Systems, HTTP, jQuery, JSON, Messaging, RabbitMQ

Custom Errors w/ Clean Stack Traces in Node.js

May 16, 2016 By Derick

Custom Errors w/ Clean Stack Traces in Node.js

Some recent discussion in the WatchMeCode slack spawned a bit of research into creating custom errors through factory methods, while keeping the stack trace for those errors clean, in Node.js After a bit of digging, I found a good solution using Node’s Error.captureStackTrace method, and recorded a quick screencast to highlight it’s use.  The Screencast […]

Filed Under: API, Code, Error Handling, Functions, JavaScript, NodeJS, Screencasts, WatchMeCode

Optional Folders In Express.js Routes

April 20, 2016 By Derick

Optional Folders In Express.js Routes

I recently found myself needing to support an unknown URL folder structure with an Express router. The gist of it is that I am serving video files that may or may not be in a sub-folder, from another service. And after some digging, I found there are at least three ways to make this work – most of which involve copy & paste programming.

Filed Under: API, ExpressJS, JavaScript, NodeJS, Routing, Tips And Tricks, WatchMeCode

Paging Through The File List Of An AWS S3 Bucket, w/ Node

April 13, 2016 By Derick

Paging Through The File List Of An AWS S3 Bucket, w/ Node

I’ve got some code running for the WatchMeCode media service that pulls a list of files from my AWS S3 bucket, and populates a database. The code has been working fine for a while now, but I recently wanted to add a sub-folder… and my code that reads the file list suddenly didn’t find the […]

Filed Under: Amazon S3, API, aws-sdk, JavaScript, NodeJS, Recursion

Derick Bailey Around The Web

  • Twitter: @derickbailey
  • Google+: DerickBailey
  • Screencasts: WatchMeCode.net
  • eBook: Building Backbone Plugins

Copyright © 2016 Muted Solutions, LLC. All Rights Reserved · Log in