My Release Note ver 0.30.05 has just been released 📣

🛠 Technical input

JavaScript

Read MDN
→ Asynchronous
→ Client side APIs

Computer Science

none

Others

Webを支える技術 -HTTP、URI、HTML、そしてREST
→ Cache
→Authentication

Clean Architecture: A Craftsman’s Guide to Software Structure and Design
→ Component
→ What is architecture?

📚 Reading

Done

none

In progress

Webを支える技術 -HTTP、URI、HTML、そしてREST

Clean Architecture: A Craftsman’s Guide to Software…

My Release Note ver 0.30.04 has just been released 📣

🛠 Technical input

JavaScript

Read MDN
→ Asynchronous

Computer Science

none

Others

Webを支える技術 -HTTP、URI、HTML、そしてREST
→ Status error code
→ HTTP methods
→ Header

Clean Architecture: A Craftsman’s Guide to Software Structure and Design
→ Design principle

📚 Reading

Done

none

In progress

Webを支える技術 -HTTP、URI、HTML、そしてREST

Clean Architecture: A Craftsman’s Guide to Software Structure…

My Release Note (ver 0.30.03)

My Release Note ver 0.30.03 has just been released 📣

🛠 Technical input

JavaScript

Read MDN
→ Asynchronous

Computer Science

none

Others

Webを支える技術 -HTTP、URI、HTML、そしてREST
→ Status error code
→ HTTP methods
→ Header

Clean Architecture: A Craftsman’s Guide to Software Structure and Design
→ Design principle

📚 Reading

Done

none

In progress

Webを支える技術 -HTTP、URI、HTML、そしてREST

Webを支える技術 -HTTP、URI、HTML、そしてREST (WEB+DB PRESS plus)

Amazonで山本 陽平のWebを支える技術 -HTTP、URI、HTML、そしてREST (WEB+DB PRESS plus)。アマゾンならポイント還元本が多数。山本…

www.amazon.co.jp

Clean Architecture…

This series is basically about what I’ve learned recently.

JavaScript is known as Object-Oriented Programming, but if you are asked what the OOP is, can you answer?

When you talk about OOP, people often mention class, and some also say JavaScript has class, which is why it is considered as…

My Release Note ver 0.30.02 has just been released 📣

🛠 Technical input

JavaScript

Read MDN
→ prototype chain
→ Asynchronous

Computer Science

none

Others

Webを支える技術 -HTTP、URI、HTML、そしてREST
→ URI
→ HTTP 1.1

Clean Architecture: A Craftsman’s Guide to Software Structure and Design
→What is Design and Architecture?
→ Programming paradigms

📚 Reading

Done

none

In progress

Webを支える技術 -HTTP、URI、HTML、そしてREST

Clean Architecture: A Craftsman’s…

This is my note when I learned differences among var, let and const. Let me know if it’s wrong…

Simply saying, the differences are below:

var
Reassign → ○
Redeclare → ○
Scope → Global/Block
Hoisting → ○

let
Reassign → ○
Redeclare → ✗
Scope → Block
Hoisting →…

My Release Note ver 0.30.01 has just been released 📣

🛠 Technical input

JavaScript

Read MDN
→ var vs let vs const
→ Global scope vs Local scope
→ Hoisting
→ prototypes

Computer Science

Watched “Structured Programming (Programming in C)”

Others

Webを支える技術 -HTTP、URI、HTML、そしてREST
→ Details of HTTP 1.1 (cache, stateful/stateless, header, status code)
→ 8 HTTP methods(GET, POST, PUT…

<GraphQL server setup>

  1. Install dependency
$ npm init
$ npm i express graphql express-graphql axios nodemon

2. Set up a server
- Create a new file server.js
-
Then build a simple server

const express = require("express");
const { graphqlHTTP } = require("express-graphql");
const schema = require('./schema.js')
const app =…

<Your Task>

  • Given a string with ‘(‘ and ‘)’
  • Write a function to validate if the string has the pair of ‘(‘ and ‘)’.
"()"              =>  true
")(()))" => false
"(" => false
"(())((()())())" => true

<Solution>

Step 1: Create a variable to count the length of the string
* Dividing by 2 is because you will loop through the string and remove the pair of ‘()’. If all pair match, it should end at (parens.length / 2) times

function validParentheses(parens) {
let length = parens.length / 2
}

Step 2: Iterate and replace the pair with empty ‘’.

function validParentheses(parens) {
let length = parens.length / 2
for (let i = 0; i < length; i++) {
parens = parens.replace('()', '')
}
return parens == '' // Expected output: true or false
}

<Your Task>

  • Given an array with strings
const text = [‘a’, ‘a’, ‘b’, ‘b’, ‘c’, ‘d’, ‘e’]
  • Write a function to count numbers of duplicated elements
const text = [‘a’, ‘a’, ‘b’, ‘b’, ‘c’, ‘d’, ‘e’]function duplicateCount(text) {
// Code here
}
duplicateCount(text)

<Solution>

Step 1: Create an empty object

function duplicateCount(text)…

Sumiya Ushiro

Living in an Asian country / 20 Aug 1990 / English writing & translating / Startup / Art / Photo / Movie / Book / Travel / Coffee…

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