Roy LiIntelligent or Not? An Implementation of Aplysia’s Biological Memory in CodeWe are our memories: who we love, what we fear, our goals, our habits, our souls. Before I went to college, I did not know what programming…Apr 2, 2017Apr 2, 2017
Roy LiOn ReadabilityAs programmers, we spend enormous amount of time reading code. Other people’s code and our own code. Instead of developers, we might as…Mar 26, 2017Mar 26, 2017
Roy Li5 Nice Books I Read This YearChristmas and New Year are times when gifts are exchanged to show caring and affection, what gift is better than the ones that can inspire…Dec 29, 20161Dec 29, 20161
Roy LiGuard the black sheep in your testAs software engineers we write lots of tests, I even believe tests you write should be more than the real code. XCTest is a great framework…Sep 10, 2016Sep 10, 2016
Roy LiSource Level Adventure inside RxSwiftReactive programming is a very nice way of binding different parts of our code to a cohesive whole and allow each component stay isolated…Sep 4, 2016Sep 4, 2016
Roy LiA gentle touch on CKY parsing with a working Swift exampleParsing lies in the heart of natural language processing, it assigns syntactic structure to a sentence so we can make sense out of it. As…Jul 28, 2016Jul 28, 2016
Roy LiTwo Real World Traps from Value SemanticsIn development, we often use value semantics to promote immutability and prevent implicit sharing among elements of our code. This is…Jul 4, 2016Jul 4, 2016
Roy LiUnit Tests and a Space Rescue MissionI have seen countless people preaching that unit tests are very important for any software project. The fact that very few of them actually…Jun 25, 2016Jun 25, 2016
Roy Li亚古兽,悟空,乐高和编程的故事虽然题目里面有“编程”两个字,但是不要担心,我只是讲一个简单故事,没有任何学术细节,没有任何专业用语,你不需要懂得编程,你甚至不需要知道怎么使用计算机,你只需要知道什么是数码宝贝,龙珠和乐高。就是这么简单。Apr 24, 2016Apr 24, 2016
Roy LiA few things from “dub dub” 2015.This morning, I just got back from San Francisco where I fortunately attended the Apple WWDC 2015 with a free ticket. I am compelled to…Jun 14, 2015Jun 14, 2015