Yesterday I was listening to Clubhouse where people discussed “Competition vs Collaboration”.

It was an interesting time hearing that, some say more of competitions others prefer collaborations. Talks swang right and left.

But in that discussion what I felt especially interesting are these opinions:

  • Things begin as a collaboration but become a competition
  • Competition and collaboration can be coexist

I like the first idea “Even if it started like collaboration, once someone becomes prominent and stands out it changes to a competition.” …


Several months ago, I made a simple web service which is a kind of “Drawing an Oracle” function.

In this article, I will show you how it is like and how it is made.

Check the actual app before you go on, if you’d like to.

Motivation

  1. I wanted that product

In the beginning of 2020 (last year), I and my coworker printed oracles in which encouraging quotes are written, and presented them to my coworkers/business partners.

This year (2021), however, we couldn’t do the same due to COVID-19. …


If you are a web developer, you’ve probably got confused at least once about “What is REST API and what’s not”.

People use both ‘REST API’ and ‘RESTful API’ in discussions or blogs. But it seems to be that many of them refer the terms without a concrete concept, just meaning “an API whose endpoint use nouns and is called via correct HTTP methods for CRUD action”.

Actually I am one of them. Thus, I looked up the concept of REST.

TL;DR

  • REST is a software architectural style composed of 6 constraints
  • An API that follows every rule is called RESTful…


*This is a memo I took in Computer Architecture course at cousera.

Difference between Architecture(ISA) and Microarchitecture

In the lecture, “architecture” is explained as abstraction layer provided to software and it is Instruction Set Architecture(ISA).

It’s not something like how many chips to embed or how you make circuit.

It is something how theoretically computer works when it’s designed in a way.

When you think how many processors to build or how to organize, that is “microarchitecture”.

It is rather practical issues and you can’t organize without dealing with trade-offs between speed, energy or cost. …


Motivation

Some people might struggle to find a career path in this rapid changing world. And some might want to change themselves.

I made this post to share my experience about how I became a web developer.

To put it simply, I went to a programming boot camp.

From an investment banker to a web developer

I was an investment banker in Japan. Now I work for startup in Japan (It’s named “for Startups, Inc.” ). The company did IPO the other day, by the way.

https://startup-db.com/en/companies/4680/forstartups

When I was a banker, I felt it interesting. But as time goes on, I came to think that getting into a…


Motivation

For Rails developers, it seems to be often that you use Devise gem for user authentication. Also, RSpec would be the most popular test tool for Rails applications.

Let’s say you are a TDD enthusiast, and you’re going to test controller methods (or views, integration tests). If you want to test something that would happen after login, then you need to generate an automated login process in your test code to check that. But how?

The troublesome is that an automated login is a little tricky especially for people new to write test codes.

So, in this article, I’m going…


Motivation

For Rails developers, it seems to be often that you use Devise gem for user authentication.

In such an app, most of your app’s pages might require login to access to.

Let’s say you are a TDD enthusiast, and you’re going to test controller methods (or views, integration tests). If you want to test something that would happen after login, then you need to generate an automated login process in your test code to check that. But how?

The troublesome is that an automated login is a little tricky especially for people new to write test codes.

So, let me…


Photo by frank mckenna on Unsplash

Whatever you start to use, it’s always beneficial to have a look at the official documentation before going so fast by blindly copy&paste stack overflow. And, of course, Docker is not an exception. Great is that it has nice documentation for us.

Four months after graduating from programming boot camp, I first created and pushed docker images following the doc.

I’m gonna share the procedure in this post.

Configurations

System Version: macOS 10.14.3 (18D109)
Kernel Version: Darwin 18.2.0
Shell: zsh
Package manager: Homebrew

TL;DR

If you haven’t installed Docker, follow this article and install it first.

$ docker-machine start default $ docker-machine…


I recently watched this video as a starting point to use TensorFlow.

Josh explains pretty intriguingly here!

In the video, TensorFlow is introduced to be a useful tool, meaning you don’t need to write heavily about some ridiculous math or ML terms.

The video got me interested, who enrolled Machine Learning by Stanford on cousera and ‘translated’ many of linear algebra equations into code, it actually looked easy to write.

So, I started to create my first ML implementation on TensorFlow (sorry Josh, it’s TensorFlow1.0).

TensorFlow actually broke the barriers for us to use Machine Learning

Don’t worry, you can do as much as or better than those writing this.

I used TensorFlow and found it was like as if I wrote pseudocode in English…


Beginner’s guide to install and run Docker on Mac OS

(update 2021–01–10)NOTE:
Some kind reader reported me that this seems not working for Mac with Apple silicon M1. I am sorry but I am not going to inspect in a short period. For M1 user, please look for other resources.

Configurations

System Version: macOS 10.14.3 (18D109)
Kernel Version: Darwin 18.2.0
Shell: zsh
Package manager: Homebrew

TL;DR

For short, the entire installation process is as follows.

$ brew install docker docker-machine$ brew cask install virtualbox
-> need password
-> possibly need to address System Preference setting
$ docker-machine create --driver virtualbox default
$ docker-machine env default
$ eval "$(docker-machine env default)"
$…

Yuta Fujii

Web developer, Data analyst, Product Manager. Ex investment banker( structured finance ). Learn or Die.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store