Tag Archives: word

字母在單字裡的位置分佈

是一篇老文章了... (2014 年的文章,最近從其他地方提起) 這邊講的是英文,不過同樣方式也可以拿來分析其他語言:「The distribution of letters in English words」,原始文章在「Graphing the distribution of English letters towards the beginning, middle or end of words」。 原文有描述他的資料分析來源: The data is from the entire Brown corpus in the Natural Language Toolkit. It's a smaller … Continue reading

Posted in Murmuring, Science | Tagged , , | Leave a comment

對純文字格式的推廣

在「The future of education is plain text」這邊看到對純文字格式的推廣 XDDD 作者提出了五點: Plain text is always compatible Plain text is easy to mix and match Plain text is easy to maintain Plain text is lightweight Plain text is always forward compatible 是沒錯啦,把力氣專注在內容本身,而不是一堆格式上... 這讓我想起 … Continue reading

Posted in Computer, Editor, Murmuring, Software | Tagged , , , , , , , , | Leave a comment

印 "#" 比印 "B" 來的快的問題

這篇是兩年前在 StackOverflow 上的問題:「Why is printing “B” dramatically slower than printing “#”?」。 問問題的人這段程式跑了 8.52 秒: Random r = new Random(); for (int i = 0; i < 1000; i++) { for (int j = 0; j < 1000; j++) { if(r.nextInt(4) … Continue reading

Posted in Computer, Murmuring, Programming | Tagged , , , , , , , , | 1 Comment