Software Engineering Blog

  • AWS Lambda tips / gotchas for Python

    I use Pipenv to bundle Python libraries but you cannot run pipenv install on Lambda environment. There was also a gotcha when I tried to use psycopg2, so in this post, I’m going to clearify how I successfully connected to RDS. ... more

  • Dockerize your Development Env with Example

    In the previous post, I wrote the basics and walkthrough on how to dockerize your local development environment. After that, I was requested to write a more concrete example, so this is a post with actual example from one of my personal rails projects. For this application, I don’t use Docker for production (yet) so it is relatively simple to start with, becasuse I didn’t have to worry about production impact. ... more

  • Docker for Local Development

    The requirements for local Docker is different from production. Also there are unique difficulties of running Docker on your local, too. This post is about what I learned so far regarding how to use Docker comfortably for our daily development after trial and error.
    (Edit) I added a link to real files I use at the bottom of this post, but first please read through this! ... more

  • Introduce Let's Encrypt on EC2

    Recently I introduced Let’s Encrypt on my EC2 instance so this is the record for the future. I have nginx as web server but the setting procedures were quite straightforward and easy with Certbot. One thing unique on Amazon Linux is you have to add --debug option to run some of the commands. ... more

  • Business Logics and Domain Logics

    It had been really vague to me about what exactly is business logics for a long time. But now I understand what it is, it helps me how I organize my code. The definition may vary to the people, but I have one solid definition which I have been able to rely on. ... more

  • Relation of Specs and Requirements

    One confusion I see a lot in software development projects is people sometimes mix up the words of “Specificiations” and “Requirements” for the other. ... more

  • Learning English with Python Scraping

    If you have ever tried to learn some foreign language, you know learning words is undoubtedly one of the biggest challenges. I have used online web dictionary services with my native launguage, but they are weak in keeping your search history. My favorite service gives me only 10 histories, ... more

  • Test Rake tasks with RSpec

    It’s tricky to test rake tasks for following reasons.

    1. It’s annoying to see the task’s outputs when running tests if you set it up so.
    2. rake does not allow you to run the same task for multiple test examples as it is.
    ... more

  • MVC + Pattern Architecture (Rails)

    Rails is popular for start-ups. The reason of adopting Rails, I think, is to maximize the development productivity, namely to build an application very quick with small amount of code. But if you try to do everything within the original MVC, you will easily end up messing up with fat controllers and/or fat models, and lose the maintainability and readability of your codes. Rails MVC+ First let’s think about why your code gets unmaintainable easily. ... more

  • CI Automation in a ruby project

    We introduced Jenkins for our Ruby on Rails project and we loved it the convenience and power it gave us. It was the first project in the company to enable CI process with Jenkins at that time. Jenkins CI screenshot ... more

  • Dynamic Prepared Statement (Presentation)

    My presentation regarding static vs dynamic prepared statements.

    How Dynamic (Client_Side) Prepared Statement Works

    More presentations from Yukio Mizuta
    ... more

subscribe via RSS