Robots.thoughtbot.com
#37

giant robots smashing into other giant robots

2 hours ago ... Articles by thoughtbot about design, Ruby on Rails, and iOS.

Link: robots.thoughtbot.com

  • A Simple Approach to Thread-Safe Networking in iOS Apps

    robots.thoughtbot.com 21 Sep '17, 12am

    I’ve intentionally left a lot of details out in order to keep this example short, but real code would potentially need to deal with error handling, cancellation and more. And what about performing the requests in parallel? Serialising these two unrelated requests is potentially wastef...

  • Booleans and Enums

    robots.thoughtbot.com 20 Sep '17, 12am

    Booleans are one of the first data types new programmers learn and with good reason: having only two states makes them one of the simplest. Surely something so simple can’t be abused? It turns out it’s easier than you’d think to make a mess with Booleans. Languages with first-class su...

  • Better Date Manipulation in PostgreSQL Queries

    robots.thoughtbot.com 19 Sep '17, 12am

    Better Date Manipulation in PostgreSQL Queries Derrick Carr September 19, 2017 postgres sql data web Sometimes we need functionality outside the reach of our ORM’s API. When that happens we write good ol’ SQL. It’s a trade-off. We give up convenient date and time helper methods (like ...

  • Styling a Middleman Blog with the Bourbon Suite: Revisited

    robots.thoughtbot.com 15 Sep '17, 8pm

    It’s been a while since we first released our blog post about setting up a Middleman Blog with the Bourbon suite and some things have changed since 2014. Middleman is one of our favorite static site generators and Bourbon is an open-source, lightweight scss suite for styling websites....

  • Finding the Oldest/Youngest Records Within a Group

    robots.thoughtbot.com 18 Sep '17, 12am

    One caveat: there’s a slight issue with using a datetime as an identifier here. What if two orders have the same datetime (specifically the most recent)? In the case of users making orders it’s pretty unlikely short of a double-submit bug, but depending on your use-case for the table ...

  • Things I wish I knew before my first Design Sprint

    robots.thoughtbot.com 06 Sep '17, 12am

    There are plenty of great books , tutorials, and case-studies that can teach you to run a design sprint. But, at some point you have to take the plunge and put that learning into practice. Design sprints encourage mistakes, practice and learning that’s what makes them so useful to the...

  • Deadlines

    robots.thoughtbot.com 11 Sep '17, 12am

    Deadlines are a tool. There are good and bad deadlines. This post is going to outline how you could be using deadlines to superpower your project as well as some of the pitfalls that we see many organizations fall into. The following is taken verbatim from the excellent post How Do Yo...

  • Refactor in a branch

    robots.thoughtbot.com 07 Sep '17, 3pm

    That brings us to the third kind of refactoring: re-architecting toward a goal. This is when you can use a classical best practice (as examples: composing instead of inheriting; replacing a global with an instance variable) to make your feature easier to implement. It’s the most fun k...

Related

dailyvim.tumblr.com
Daily Vim Devotional
creepyrobots.tumblr.com
Creepy Robots
rubyinside.com
Ruby Inside: The Ruby Blog