yige.ch
yige.ch
Wednesday 14 June 2017

岚少直播「尼尔:机械纪元」

至今为止我最喜欢的一段单机游戏解说,看完很感动。

原视频是岚少在 Bilibili 分五天完成的直播,由「百度岚少吧」录制。原视频保存在百度网盘上,从国外下载并不方便,所以我把它们上传至 YouTube,希望有兴趣的人能看到。

#1 一周目 A 路线上半

#2 一周目 A 路线中段

#3 一周目 A 路线结尾 + 二周目 B 路线上半

#4 二周目 B 路线下半

#5 三周目 D 路线 + E 路线大结局

补充:NieR: Automata Music Concert (5th May 2017) 音乐会朗读剧第五幕,E 结局后续,真大结局


Wednesday 24 May 2017

Stack Overflow: Helping One Million Developers Exit Vim

https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/

This made me laugh for several minutes.

It looks like developers in Ukraine, Turkey and Indonesia are getting stuck in Vim quite a bit: it makes up a larger portion of their Vim questions than in any other country. In contrast, in China, Korea and Japan the fraction going to this question is one-tenth as much. That might indicate that when developers in these countries enter Vim, they usually meant to do so, and they know how to get out of it.

No. It’s because China, Korea and Japan are non-English-speaking countries. People who get stuck there are less likely to do a search in English.


Friday 12 May 2017

Steve Vai — “Tender Surrender”

https://youtu.be/Yw74sDWPH7U

一开始还一脸矜持端庄,渐渐就变得又猥琐又色情,弹得真是好。


Friday 28 April 2017

Use Vim Mode on macOS

Karabiner is a very good keyboard customizing tool for Mac. I’ve been using it for a long time. I loved its Vim mode so much, I even bought a keyboard without arrow keys for my daily use.

However, Karabiner was broken after upgrading to macOS Sierra, due to the complete rewrite of the Mac keyboard driver. (Apple has done this to support the new Touch Bar MacBook Pro, apparently.)

Since then, the author of Karabiner has been working hard to reimplement the app. It is an open-source project on GitHub. I check the commits page every day to see the progress.

After almost one year, the new Karabiner still hasn’t been finished. While waiting for the new Karabiner, I’ve found that Apple actually added some native custom key binding support for macOS. Now it is possible to simulate some kind of the Vim mode on Mac.

Here’s what I’ve done:

  • Create a new file ~/Library/KeyBindings/DefaultKeyBinding.dict

  • Add these contents to the file

/* ~/Library/KeyBindings/DefaultKeyBinding.dict */

{  
    /* Vim arrow keys */
    "^h" = "moveBackward:";  
    "^l" = "moveForward:";  
    "^k" = "moveUp:";  
    "^j" = "moveDown:";  
}
  • Reboot

Now I can use Ctrl-hjkl as system-wide arrow keys.

This method is however not perfect. If an app has defined its own use of Ctrl-hjkl keys, this setting will not overwrite it. So it just won’t work in some apps. It’s also not as convenient to press as the Karabiner Vim mode, which uses s key and a time delay instead of Ctrl.

I’m still waiting for the new Karabiner. Please consider donating to the author if you are waiting too.


Wednesday 05 April 2017

The Symbolic Mac Pro

http://daringfireball.net/2017/04/the_mac_pro_lives

So: only 30 percent of Mac users are in what Apple considers the pro market. Most of those use MacBook Pros (or other MacBooks). Most of those who use desktops use iMacs. None of this is a surprise, really — and this is exactly why so many users who depend on the Mac Pro have been deeply concerned about its future. For Apple to care about the Mac Pro, it requires Apple to care about a small number of users.

The Mac Pro isn’t going to disappear, which is finally a good news I can hear from Apple.

To be honest, I never really need a Mac Pro. Whether the Mac Pro lives or not should has nothing to do with me. However, I still have been quite sad and disappointed about Apple for a long time because of the 3-year-unchanged Mac Pro. It’s not just an expensive computer. For me, the Mac Pro is symbolic.

The Mac Pro isn’t about making money or “care about a small number of users”. It’s all about the people who use it. The programmers who compile huge softwares. The photographers who process large graphic and video files. The compositors who render film visual effects. Those are the ones who make Mac (and Apple) so cool. The Mac Pro is the flagship of all Macs. A flagship is the ship that carries the flag and raises the morale of all other ships. The Mac lineup without Mac Pro isn’t a cool lineup. And the Apple without Mac Pro isn’t a cool company.

I’ve been sad not because I’m a “pro user” and couldn’t get the power I need. I’ve been sad because Apple isn’t cool and special any more. Several years ago, Apple was still the company who made things for the “crazy” ones, the ones “who see things differently”, the ones “who are crazy enough to think they can change the world are the ones who do”. Today, they just display some percentage numbers to show just how kind they are to still even care about “a small number of users”.

I really hope they can bring something back next year .