yige.ch
yige.ch
Saturday 04 March 2017

Keychain Not Saving SSH Key Passphrase in macOS Sierra by Default

https://developer.apple.com/library/content/technotes/tn2449/_index.html

Prior to macOS Sierra, ssh would present a dialog asking for your passphrase and would offer the option to store it into the keychain. This UI was deprecated some time ago and has been removed.

Instead, a new UseKeychain option was introduced in macOS Sierra allowing users to specify whether they would like for the passphrase to be stored in the keychain. This option was enabled by default on macOS Sierra, which caused all passphrases to be stored in the keychain.

This was not the intended default behavior, so this has been changed in macOS 10.12.2. To store passphrases in the keychain, set this option in your ssh configuration file:

UseKeychain yes

So that’s the reason. After upgrading to Sierra, I have to enter the passphrase manually every time I connect to a server via ssh in terminal. I keep wondering what kind of bug this is.

Add this small piece of code in ~/.ssh/config should fix this and make keychain enter the ssh passphrase automatically like before:

Host *
  UseKeychain yes

Monday 27 February 2017

Apple TV Aerial Screensaver for Mac

https://github.com/JohnCoates/Aerial

Aerial is a Mac screen saver based on the new Apple TV screen saver that displays the aerial movies Apple shot over New York, San Francisco, Hawaii, China, etc.

Each time the Mac enters screen saver mode, a different high-quality landscape movie which is shot by Apple will be displayed.


Tuesday 11 October 2016

The 45 min Leica Camera Ad

https://youtu.be/PpSMW5H7FPQ

45 minutes of polishing the body of a Leica T camera. Nothing else.

While watching, I can’t help but keep thinking… just how well Apple manufactures its products.

Leica makes the body of a camera out of a single piece of aluminium, just like the unibody design of MacBooks and iPhones.

And Leica polishes those camera bodies with great care, which reminds me of this picture. The jet black iPhone 7 is so extremely polished, it doesn’t feel like aluminium any more. It feels like glass. And Apple produces hundreds of thousands of them every day.

In the 45 min ad, Leica asks: “Of course there are faster and less costly ways to make a camera. But is there a better way?”

I believe so.


Thursday 04 August 2016

宇宙尽头的餐馆

《银河系搭车客指南》说「灾难地带」是来自盖革拉卡查思维区的钚摇滚乐队,被公认为银河系最吵闹的摇滚乐队,但其实根本就是最吵闹的噪音。经常混演唱会的歌迷认为,聆听其音乐的最佳音响平衡点是距离舞台三十七英里左右处的大型混凝土地堡内,而乐手本人则待在环行星轨道上——往往是另外一颗行星——通过无线遥控手段弹奏乐器。

他们的歌曲大体而言都非常简单,所遵循的主题也相互类似:年轻男性生物和年轻女性生物在一轮银月下相遇,月亮随后便在没有合理解释的情况下爆炸了。

许多星球已经彻底禁止了他们的演出,有些出于美学原因,但大多数时候却是因为乐队的播音系统违反了当地的战略性武器限制条约。

——道格拉斯· 亚当斯《宇宙尽头的餐馆》


Sunday 31 July 2016

Interview: Professor Eiiti Wada, Creator of the HHKB

https://www.massdrop.com/article/eiiti-wada-interview?mode=guest_open

A great interview with the creator of the Happy Hacking Keyboard. Questions are decided by a poll in the mechanical keyboard community.

Professor Eiiti Wada:

When America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces.

Newcomers might see the slanted key arrangement as strange, and love the squared (ortholinear) layout. But the current pattern is said to avoid the type-bar conflict. The present key arrangement has a functional beauty. Many typists and computer scientists are fully accustomed to it. Once accustomed, human beings can have a hard time learning the slightly different interface. Keyboards should maintain the present layout.