<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Li Wei, Lu on Medium]]></title>
        <description><![CDATA[Stories by Li Wei, Lu on Medium]]></description>
        <link>https://medium.com/@bblurock?source=rss-14f0be3eb623------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oKkbSjZdbYdDd_RRAl8b-w.png</url>
            <title>Stories by Li Wei, Lu on Medium</title>
            <link>https://medium.com/@bblurock?source=rss-14f0be3eb623------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 02:02:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bblurock/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why you should get a Kindle? (as a non-native speaker)]]></title>
            <link>https://medium.com/@bblurock/why-you-should-get-a-kindle-as-a-non-native-speaker-87a201fb6f41?source=rss-14f0be3eb623------2</link>
            <guid isPermaLink="false">https://medium.com/p/87a201fb6f41</guid>
            <category><![CDATA[e-book-reader]]></category>
            <category><![CDATA[kindle]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Li Wei, Lu]]></dc:creator>
            <pubDate>Tue, 26 May 2020 04:51:43 GMT</pubDate>
            <atom:updated>2020-05-26T04:51:43.004Z</atom:updated>
            <content:encoded><![CDATA[<p>Reading on an e-book device has entirely different experience than reading on real paper, yet this blog tries to convince you why you should get one.</p><h3>Word-wise is so helpful</h3><p>As a non-native English speaker, one of the biggest hurdles that drawing back the reading speed is when you encounter unfamiliar vocabularies. You will have to stop and look up the word in dictionaries, for this, luckily Kindle has the built-in dictionaries for you to lookup the meaning by highlighting the word. If you have an internet connection when highlighting a phrase, Kindle will auto lookup explanation from a different source at the same time: <strong>Wikipedia, Google Translated, dictionaries, and X-Ray</strong>. (fig. 1)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/0*Vb6SwDRmXzClusA5.jpg" /><figcaption>fig 1. X-Ray</figcaption></figure><p>Word-wise on the other hand is automatically displaying translation and hint for difficult words for you while reading. For me, this feature drastically reduces the time I used to spend when reading an actual paper book. You can set the word-wise <strong>appearing frequency</strong> as your preference (fig. 2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/0*lIFnB3AD4Oo_g3Uo.jpg" /><figcaption>fig 2. Word-wise frequency</figcaption></figure><h3>Pre-reading</h3><p>There is a common technique called pre-reading/glimpse-reading in terms of learning, especially in reading non-fiction books. While reading on a paper book, every time before I jump into a new chapter, I will glimpse through the new chapter with very fast speed(few seconds a page), looking for the titles, headings, tables, graphs, numbers, bold text or any interesting thing that catch my eyes. This step is crucial for our mind because it can evoke the inner curiosity before you start to learn.</p><p>You probably will have several questions in mind already by glimpsing through the chapter. Having a goal or question to be answered in mind is an important means for reading and absorbing knowledge efficiently.</p><p>Kindle does provide <strong>quick jump feature</strong> (fig. 3) to fulfill this need, you can browse the chapter page by page in a quick manner without losing your current location. The solution is far from perfect though, the feeling of turning pages on a real book is hard to compare. You do need a bit of practice to get used to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/0*uogwih93K29HhCXb.jpg" /><figcaption>fig 3. Quick preview by clicking the left/right bracket without losing current location</figcaption></figure><h3>Send to Kindle by E-mail</h3><p>This is one of the less known features of Kindle. You can send the document you want to read to your Kindle device by sending an email with attachment!</p><p>Here are the officially supported file types:</p><ul><li>Microsoft Word (.DOC, .DOCX)</li><li>HTML (.HTML, .HTM)</li><li>RTF (.RTF)</li><li>JPEG (.JPEG, .JPG)</li><li>Kindle Format (.MOBI, .AZW)</li><li>GIF (.GIF)</li><li>PNG (.PNG)</li><li>BMP (.BMP)</li><li>PDF (.PDF)</li></ul><p>According to <a href="https://www.amazon.com/gp/sendtokindle/email">Amazon guide</a> you can convert PDF to AZW(Kindle type) easily:</p><blockquote><em>PDFs can be converted to the Kindle format so you can take advantage of functionality such as variable font size, annotations, and Whispersync. To have a document converted to Kindle format (.azw), the subject line should be “convert” when e-mailing a personal document to your Send-to-Kindle address.</em></blockquote><h3>Distraction-free reading experience</h3><h3>Why not read the books over the iPad or any other tablet device?</h3><p>Why not read the books over the iPad or any other tablet device?</p><p>If you are an easily distracted person like me, this is trivial to answer. Every notification showing up will draws you to the hell of context-switching. No browser, no apps, no internet around you, is probably the best environment for reading.</p><h3>It’s possible to read Chinese(or any other languages) Books you bought from other publishers</h3><p>As a Mandarin speaker, Chinese books are still my main source of reading. There are several Chinese E-book publishers out there in the market: <a href="https://www.amazon.com/Chinese-Traditional-eBooks/b?ie=UTF8&amp;node=18327575011"><strong>Amazon Kindle TW</strong></a>, <a href="https://www.kobo.com/tw/zh"><strong>Kobo</strong></a>, <a href="https://readmoo.com/"><strong>Readmoo 讀墨</strong></a>, etc.. One of the concerns of buying e-book is you don’t own the book. With a real book, you can lend, re-sell, give-away your book as your property, it’s a completely different story in the e-book world, the e-books you bought from <strong>Kobo</strong> or <strong>Readmoo</strong> can not transfer to your Kindle device trivially due to DRM protection, and vice-versa.</p><p>Luckily, with a little effort in googling, you will soon discover tools like <a href="https://calibre-ebook.com/"><strong>Calibre</strong></a> in combination with an open-source project <a href="https://github.com/apprenticeharper/DeDRM_tools"><strong>DeDRM</strong></a>. <strong>DeDRM</strong> allows you to remove the lock the publisher(Amazon, Kobo) put on your e-books. However, the topic is out of scope here.</p><h3>Conclusion</h3><p>One of the cons I can bring up is, it’s pretty hard for one to take note on kindle. Unlike a real book, you can’t underline, jotting down the questions or learning you have in the blank space on books(Highlighting paragraph on Kindle is fantastic). I would say pen and paper still work better when taking note. Overall, I’m very satisfied with my <a href="https://www.amazon.com/All-new-Kindle-Paperwhite-Waterproof-Storage/dp/B07CXG6C9W"><strong>Kindle Paperwhite</strong></a><strong>.</strong></p><p><em>Originally published at </em><a href="https://liwei.lu/blog/why-you-should-get-a-kindle-as-a-non-native-speaker"><em>https://liwei.lu</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87a201fb6f41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How do I Setup my Anne Pro 2 for Coding for Mac]]></title>
            <link>https://medium.com/@bblurock/how-do-i-setup-my-anne-pro-2-for-coding-for-mac-9ee1c0be69b?source=rss-14f0be3eb623------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ee1c0be69b</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[mechanical-keyboards]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Li Wei, Lu]]></dc:creator>
            <pubDate>Tue, 30 Apr 2019 18:22:09 GMT</pubDate>
            <atom:updated>2019-08-20T05:16:27.287Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KI4RL5tq5iBq6pSnaffiVA.jpeg" /></figure><p>Over the years I’ve been using Apple Magic Keyboard for coding, it is almost identical to the built-in keyboard of Macbook, which already became my memory muscle when typing. For me, transitioning into a non-Mac keyboard has a high barrier to me. My last mechanical keyboard is 8 years ago, <strong>Filco Majestouch Mechanical Keyboard, </strong>Blue Switch. Sadly, it didn’t work well with Mac, the keyboard layout is too different and the connection hung once in a while.</p><h3>Anne Pro 2 or K1 Keychron Version 2</h3><p>Until recently, I start looking for a wireless Mechanical Keyboard solution, I was wavering between <a href="https://www.keychron.com/products/keychron-mechanical-keyboard"><strong>K1 Keychron version 2 </strong></a>and <a href="http://en.obins.net/anne-pro2/"><strong>Anne Pro 2</strong></a><strong> </strong>after a brief research. Keychron claims that their keyboard family has high compatibility with Mac Devices, and it was so beautifully designed with <em>Low Profile Key</em>, thin, slick and with single color LED version. However, while I was doing research, some posts on Reddit draw my concern, for example, <a href="https://www.reddit.com/r/MechanicalKeyboards/comments/be8x5g/buyer_beware_keychron_k1_v2/">here</a>, <a href="https://www.reddit.com/r/MechanicalKeyboards/comments/b8xx9n/disappointed_with_my_keychron_k1_v2_maybe_theres/">here</a> and several <a href="https://9to5mac.com/2019/03/20/review-keychron-k1-is-a-compelling-mechanical-keyboard-for-mac-with-a-slim-design-and-solid-features/">comments</a> on 9to5Mac complaining about how they ordered the 87-key version but instead the warehouse sent out 104-key version, etc..</p><p>Still, it was actually a tough decision to make to buy Anne Pro 2. Unlike K1, Anne Pro 2 has only one layout option with 60% keys, to put it simply, there are no arrow keys.</p><p>I took the shot anyway, the experience turns out pretty well in the end. The only problem is how to make this keyboard more MacOS compatible.</p><h3>1. Alter the Command Key Layout</h3><h4>Setup Left and Right Command Key</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*G9pRnDOLMhMXJOfOs84-_A.jpeg" /><figcaption>Fig. 1, Change left Windows/Command Key with option/alt key</figcaption></figure><p>The first thing we do is exchange the physical <strong>left Command Keycap</strong> with <strong>Left Alt Keycap. </strong>Later we will set <strong>Right Alt</strong> to <strong>Command Key using </strong>Obins official software as in <strong>Fig. 2 or 3</strong>. Notice that in 60% layout, right option key is missing compared to build-in Mac keyboard, this is something you should get used to.</p><h3>2. How to use Shift + [ArrowKey] and CMD + [ArrowKey] etc.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*gwLc9vYx7M6g_mkNsFYbsg.jpeg" /><figcaption>Fig. 2, Arrow Keys in 60% layout</figcaption></figure><p>As a developer, I use shift very often, <strong>Shift + CMD + [ArrowsKey], Shift + [ArrowKey] </strong>for fast cursor selection, <strong>Option + CMD + [ArrowsKey]</strong> for position jumping and many function of cursor navigation. As you can see in the screenshot above, the arrow keys are shared with <strong>Fn1, Fn2, Ctrl</strong> and <strong>Right Shift, </strong>arrow keys function are done by using what Anne Pro 2 called <strong>TAP mode, </strong>in other words, it works as Arrow Keys only when tap(key down, key up). When long-pressing, they are no longer work as an arrow key.</p><p>Here comes the trade-off, <strong>we have to set these four keys to real arrow keys(not trigger by TAP) </strong>using the tools provide by the manufacturer.<strong> Which on the other hands you lose the Fn1 and Fn2 layer.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*nh9jPy901Oivt-fxjaZLEw.jpeg" /><figcaption>Fig. 3, Use real arrow keys</figcaption></figure><h3>3. Right Shift</h3><p>The downside of the above arrow key setup is you will lose the function of the right shift. Which is crucial when coding, for example for Camel case naming I use both left shift and right shift to quickly type uppercase. So I made the Arrow Up back to Right Shift again. I can’t overcome my muscle memory by solely using left Shift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*9qbcSk7bMM-C8BZlhF5uuA.png" /><figcaption>Fig. 4, Bring back right Shift Key, using Up key in TAP mode.</figcaption></figure><p><strong><em>“What about when I want to use Left Shift + Up”</em></strong><em>, I currently have no solution yet, please leave the comment below if you found any solution :)</em></p><blockquote><em>!UPDATE: adamtow on Reddit suggested a better solution using </em><a href="https://pqrs.org/osx/karabiner/"><em>Karabiner</em></a><em>, which is by far the best solution I tried! Please read [</em><a href="https://www.reddit.com/r/AnnePro/comments/bjd9cb/heres_how_i_setup_my_anne_pro_2_for_coding_for_mac/emc2qoc?utm_source=share&amp;utm_medium=web2x"><em>Here</em></a><em>]</em></blockquote><h3>4. Turn On Magic Fn Layer</h3><p>“Then how do I use Fn Layer for custom mapping”, you ask. Luckily Anne Pro 2 has a brilliant idea, <strong>you can turn you Caps Locks key to a Magic Fn</strong>(which can be enabled by the official tool)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*VoqX5YezWfyPuOa2sw8MIA.jpeg" /><figcaption>Fig. 5, Caps Lock/Magic Fn key</figcaption></figure><p>Here’s my final setup for Fn Layer, this is opinionated, you can make your own preferable layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*QQh90UOXRvwdvmfy4eqDTA.png" /><figcaption>Fig. 6, FN Layer</figcaption></figure><h3>5. [Bug] Capslock not Working when Enabling Magic Fn</h3><p>As for now, Anne Pro 2’s firmware version is “1.12.4”, by turning on Magic Fn, you will <a href="https://www.reddit.com/r/AnnePro/comments/as85rg/anne_pro_2_firmware_version_1124_capslock_does/">lose the Caps lock functionality entirely</a>. If you use multiple input method in MacOS as I do, Capslock key plays an important role for temporarily disabled secondary input method(in my case <strong>Zhuyin</strong>) and allow you to type English, or whatever your default IM, for quick toggling on/off.</p><p>There’s no easy way to solve this as the bug exists in firmware. I guess you can solve it by remapping the hotkey shortcut of quick toggling input method to another key in MacOS preferences setting.</p><h4>Solution 1</h4><p>Using <a href="https://folivora.ai/">BetterTouchTools</a>(such a great tool, by the way, I use it to map my Magic Mouse act as Magic Trackpad) to <strong>record sequence and trigger Capslock.</strong> Since now we map the right alt to command, I’ve decided to use <strong>double-clicking on Right Command as Capslock</strong>. So far this is the most comfortable ways to hack it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5SZHDGhkZAbK_2_3_2wIdg.png" /><figcaption>BetterTouchTool Key Sequence Mapping</figcaption></figure><h4>Solution 2</h4><p>Using <a href="https://pqrs.org/osx/karabiner/">Karabiner</a> to map <strong>Right Command</strong> to <strong>Capslock </strong>with single click.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*Fx2yWwuUUZNDf--1j6q5rw.png" /></figure><p>There you go, with the above setup, I think you can reach Magic Keyboard level of experience when coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ee1c0be69b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom Patch of Writing Function in Origami.studio]]></title>
            <link>https://medium.com/@bblurock/custom-patch-of-writing-function-in-origami-studio-4d1d6395e429?source=rss-14f0be3eb623------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d1d6395e429</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[origami]]></category>
            <dc:creator><![CDATA[Li Wei, Lu]]></dc:creator>
            <pubDate>Sun, 30 Oct 2016 05:50:08 GMT</pubDate>
            <atom:updated>2016-10-30T16:09:22.177Z</atom:updated>
            <content:encoded><![CDATA[<p>A couple of days ago, Facebook has redesign their prototyping product <a href="https://facebook.github.io/origami/"><strong>Origami</strong></a> into <a href="http://origami.design/"><strong>Origami.studio</strong></a>. Before Origami, I’ve tried other prototyping tool like <a href="https://framerjs.com/"><strong>Framer</strong></a>, <a href="https://www.flinto.com/"><strong>Flinto</strong></a>, <a href="http://principleformac.com/"><strong>Principle</strong></a>. Each of them target differently, <strong>Framer</strong> is highly customizable with their own Javascript code, you can even write your own plugin, like keyboard. <strong>Flinto</strong>, from my point of view, is the easiest one to learn, but its prototyping concept is you do the <strong>animation between two state</strong> (Start ← → End), so you can’t do too fancy stuff. <strong>Principle</strong> on the other hand, have <strong>timeline keyframe</strong> for you to customize detail animation.</p><p>Origami.studio has totally different logic of prototyping, every action, touch, transition, animation and switch etc., are consider as a building block, like Lego bricks. These small bricks are called <strong>patch</strong> in Origami.studio.</p><p>Origami provides lots of predefined patches, one group of them is Logic, you can have a look in this official <a href="http://origami.design/tutorials/getting-started/Coming-From-Code.html"><strong>tutorial</strong></a>. In this <em>Fahrenheit to Celsius </em>tutorial you see the power of grouping small patches logic into a single group patch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*NGRTNyy1RRF_vPYF0iJ89Q.png" /></figure><p>There’s one thing missing in the tutorial, they only teach you how to enter the group (with ⌘+↓), <strong><em>but how do I create that custom function group?</em></strong></p><p>I’m going to write a <strong>Cat Age Calculator</strong> to describe how to do that.</p><ul><li>Create a add(+) patch (you can create any type of them)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*CTQ11QDgpaTsMcbx0edqCQ.png" /><figcaption>Add patch</figcaption></figure><ul><li>Select the patch you just created and press ⌘+G to group the patch.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/1*HK9L6iijWl0HRywC86BsLg.png" /><figcaption>You can double click the name to rename it.</figcaption></figure><ul><li>Press ⌘+I, add a Input and Output to that custom group.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*UjAJ1dgSLucBnt_608kuLg.png" /></figure><ul><li>Cat age is calculate as following, one year old is consider as 15 years old of human, two years old is 24, gain every 4 years after 3, 3 is 28, 4 is 32 and on and on. So a simple function in Javascript can be written.</li></ul><pre>function (age) {<br>  if (age === 1) return 15<br>  if (age === 2) return 24<br>  if (age &gt; 2) return 24 + (age - 2) * 4<br>}</pre><ul><li>So we can create three condition patch, using <a href="http://origami.design/documentation/patches/builtin.compare.eq.html">Equals Exactly</a> and <a href="http://origami.design/documentation/patches/builtin.compare.gteq.html">Greater or Equal</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*WXwVOvz5G2rFw635WO_Weg.png" /></figure><ul><li>If age is equals to 1, we output 15, here I’m going to use a multiplying tricks to do that, <strong><em>N * 0(false) = 0, N * 1(true) = N</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*q0WsXbbRUUDLfng-M-nriQ.png" /></figure><ul><li>Make <strong><em>24 + (age — 2) * 4</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*nLtXPWRr6_-JRnG9N4A2nw.png" /></figure><ul><li>Be sure it only happen when condition is true</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*H08mFuDIbcpKC65YneB6JQ.png" /></figure><ul><li>Make a three input add patch and sum them up</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*3gX52ap2-ZaWNdXjY2_ZSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*B1cP7MU_AOxP92BUTm1mGQ.png" /></figure><ul><li>Here you go, the Cat Age Calculator is done. Leave the group mode. Connect the output to a text label</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZMGWrSQCapAc_l21w0lWPQ.png" /></figure><p>Hope this tutorial about <strong>conditional logic patches </strong>make sense to you, and having a little grasp of <strong><em>left to right flow </em></strong>of<strong><em> </em>Origami.studio.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d1d6395e429" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>