© 2022 Hashnode
#translation
Recently I chose Hashnode as medium alternative for my recent blogs, and started to write a bit of posts in Bengali. However I found the lack of localization and translation in this website. Previousl…
Introduction Translating software is widely used to identify and translate a foreign language into a native language and vice versa. In this blog, we are going to see how to create a Google translate …
Twitter as we know it is a great platform to share, learn and have fun observing the left and right fight :D. While the platform itself is evolving and improving constantly, there are some features th…
Squarespace is not designed to have a multilingual site. It sounds unbelievable, but it’s true. Squarespace is a CMS for creating websites that has been a huge success since 2014, thanks to the varie…
在這次題目,我們要實作一個程式透過凱薩密碼來加密訊息像是,底下所示。 $ ./caesar 13 plaintext: HELLO ciphertext: URYYB 背景 傳說是凱薩使用的加密法用於隱藏機密訊息,透過調整字母原本的位置。舉例來說,他可能會將 A 寫成 B,B 寫成 C,C 寫成 D ...並照字母順序循環,Z 寫成 A。以此類推,凱薩的 HELLO 可能會寫成 IFMMP。…
背景 根據 Scholastic,E.B. White 的 Charlotte's Web 閱讀年級落在 2 - 4 年級,Lois Lowry 的 The Giver 閱讀年級落在 8 - 12 年級。這是什麼意思,為書籍指定特定的閱讀年級? 在大部分的情境,一名專家可以看完一本書之後大概為其決定等級(學校年級),但演算法應該也可以做到。 所以什麼樣的特徵會被斷定是較高的閱讀年級?像是,…
判定兩個 Scrabble 單字誰比較大。 $ ./scrabble Player 1: COMPUTER Player 2: science Player 1 wins! 背景 在 Scrabble 遊戲中,玩家透過建立單字來得分,分數則是透過每個字的對應分之總和。 ABCDEFGHIJKLMNOPQRSTUVWXYZ 1332142418513113101111448410 …
函式煉金 原文是透過 函式養殖 來比喻, 這邊用 煉金術 來比喻 下面是 compose const compose = (...fns) => (...args) => fns.reduceRight((res, fn) => [fn.call(null, ...res)], args)[0]; ... 別害怕!這是戰鬥力突破 9000 的超級賽亞人版 compose。 先…
Chapter 01: 我們在做什麼? 原書:https://mostly-adequate.gitbook.io/mostly-adequate-guide/ 介紹 哩厚!我是 Franklin Frisby 教授。很榮幸認識妳。接下來我們會共度一段時光,因為我要教你一些函式編程囉! 關於我的部分,我就介紹到這邊,來談談你怎麼樣?我希望你至少有一些熟悉 JavaScript 程式語言,也…
Hello everyone. It is my first time writing a post here. Please feel free to give any kind of feedback. I created a package & CLI for translating JSON files and also objects (if you want to use it in …