上一页 1 ··· 191 192 193 194 195 196 197 198 199 ··· 491 下一页
摘要: Let's say we have following semigroups: // Total: Sum up all the number const Total = (x) => ({ x, concat(o) { return Total(o.x + x); }, fold() { retu 阅读全文
posted @ 2020-05-28 14:42 Zhentiw 阅读(157) 评论(0) 推荐(0)
摘要: It can be difficult to work on multiple projects that use different versions of Node. nvm (Node Version Manger) make this easier by allowing you to do 阅读全文
posted @ 2020-05-28 01:57 Zhentiw 阅读(167) 评论(0) 推荐(0)
摘要: Thinking how to add tow Guessin object together? It is similar idea to Functional programming, Data type. import math import matplotlib.pyplot as plt 阅读全文
posted @ 2020-05-28 01:48 Zhentiw 阅读(293) 评论(0) 推荐(0)
摘要: import math import matplotlib.pyplot as plt class Gaussian(): """ Gaussian distribution class for calculating and visualizing a Gaussian distribution. 阅读全文
posted @ 2020-05-28 01:40 Zhentiw 阅读(375) 评论(0) 推荐(0)
摘要: For example, we have current html code: <main class="grid-wrap"> <div class="grid"> <span>One column default</span> </div> <div class="grid"> <span>Ha 阅读全文
posted @ 2020-05-25 14:32 Zhentiw 阅读(304) 评论(0) 推荐(0)
摘要: Now that we know what we are looking for, let's go over some tips on how to actually write your code review. When your coworker finishes up some code 阅读全文
posted @ 2020-05-25 00:27 Zhentiw 阅读(223) 评论(0) 推荐(0)
摘要: Is the code clean and modular? Can I understand the code easily? Does it use meaningful names and whitespace? Is there duplicated code? Can you provid 阅读全文
posted @ 2020-05-25 00:23 Zhentiw 阅读(165) 评论(0) 推荐(0)
摘要: import time import pandas as pd import numpy as np with open('books_published_last_two_years.txt') as f: recent_books = f.read().split('\n') with open 阅读全文
posted @ 2020-05-23 17:09 Zhentiw 阅读(399) 评论(0) 推荐(0)
摘要: const Task = require("data.task"); const Either = require("data.either"); const { Right, Left } = Either; const { List } = require("immutable-ext"); c 阅读全文
posted @ 2020-05-20 03:45 Zhentiw 阅读(242) 评论(0) 推荐(0)
摘要: const Task = require("data.task"); const Either = require("data.either"); const { Right, Left } = Either; const { List } = require("immutable-ext"); / 阅读全文
posted @ 2020-05-20 03:10 Zhentiw 阅读(228) 评论(0) 推荐(0)
上一页 1 ··· 191 192 193 194 195 196 197 198 199 ··· 491 下一页