Category Archives: Code Examples

Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug

I get my system test working at the start of video but the problem is it works so well that it still passes even after I re-introduce the bug when it should have failed. Crap! That means my test is … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , , | Comments Off on Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug

Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug

I get one system test working for generating the todo file and almost get the second test working. The second test that actually tests the bug we fixed. Went down a bit of rabbit hole trying to get the optimal … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , , , | Comments Off on Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug

Saturday MP Show #8: Another Failure at Adding System Test for the Standard Ruby Linter ToDo Bug Fix

Similar to the previous episode I fail at adding a system test. Should I be live coding all these failures? I think so. Maybe? Do they make boring videos? Probably. Should I say “ummm” less? Most definitely. I think there … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , | Comments Off on Saturday MP Show #8: Another Failure at Adding System Test for the Standard Ruby Linter ToDo Bug Fix

Saturday MP Show #7: Trying to Add a System Test for the Standard Ruby Linter ToDo Bug Fix

I, Chris, try to add a system test for the todo bug fix in episode 5 but run into some issues. I find out I stupidly hard coded the todo file name when he first added the ability to generate … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , | Comments Off on Saturday MP Show #7: Trying to Add a System Test for the Standard Ruby Linter ToDo Bug Fix

Saturday MP Show #6: Adding Unit Tests for the Standard Ruby Linter ToDo Bug Fix

I add a unit test for the Standard Ruby linter bug fix done in the last episode. When adding the unit test I find out someone has improved the todo generation logic. Thank you. I also find a remove a … Continue reading

Posted in Code Examples, Saturday MP Show | Tagged , , , | Comments Off on Saturday MP Show #6: Adding Unit Tests for the Standard Ruby Linter ToDo Bug Fix

Saturday MP Show 2: Struggling to get the RubyMine Debugger Working

Chris fights to get the debugger working in RubyMine and does not make any progress on Standard. It was frustrating but overall Chris enjoys working with RubyMine so thank you JetBrains for creating it. If you have any questions you … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , | Comments Off on Saturday MP Show 2: Struggling to get the RubyMine Debugger Working

Saturday MP Show #1: Creating a Docker Development Environment for Standard (Ruby Linter)

Chris creates a Docker environment for Standard which is a Ruby linter. Thank you to Test Double for creating Standard. If you have any questions you would like answered or constructive feedback please send an email to ask@saturdaymp.com. You can … Continue reading

Posted in Code Examples, Saturday MP Show | Tagged , , , | Comments Off on Saturday MP Show #1: Creating a Docker Development Environment for Standard (Ruby Linter)

Rate Limiting Using Nginx and Fail2Ban – BSides Edmonton 2022

I’m honored to be presenting at BSides Edmonton on November 25, 2022. I’ll be demoing rate limiting using nginx and Fail2Ban. You can find the demo here in-case you want to follow along during the demo or you want a preview/spoiler. While I’m … Continue reading

Posted in Code Examples, Presentations, Security | Tagged , , , , | Comments Off on Rate Limiting Using Nginx and Fail2Ban – BSides Edmonton 2022

A Ruby-Type Talk featuring Sorbet

Last Saturday at the Edmonton Ruby Meetup (YEGRB) I discussed type checking, Sorbet, and integrating Sorbet into an existing Rails application. Feedback and questions are most welcome. Thanks you to YEGRB for hosting and for everyone that participated in the … Continue reading

Posted in Code Examples, Presentations | Tagged , , , | Comments Off on A Ruby-Type Talk featuring Sorbet

Generate a Todo List in Standard (Rubocop)

The older I get the more I appreciate code linters. Something that can detect and often correct my formatting errors? Great! One less thing I have to worry about. Then I can spend my time on more important tasks such … Continue reading

Posted in Code Examples, Software Development | Tagged , , | Comments Off on Generate a Todo List in Standard (Rubocop)