Category: 未分类

Chrome 的颜色管理

Chrome Canary 里面有了这么个参数:

Force color profile Mac, Windows, Linux, Chrome OS, Android
Forces Chrome to use a specific color profile instead of the color of the window’s current monitor, as specified by the operating system. #force-color-profile

和在第二个显示器上颜色不准确的问题相关,虽然不知道具体是哪里出的问题,但是改成 sRGB 暂时解决了

Chrome Stable 61 没这个问题,也没这个 flag,和颜色相关的有一个

Color correct rendering Mac, Windows, Linux, Chrome OS, Android
Enables color correct rendering of web content. #enable-color-correct-rendering

看了几个 DaVinci Resolve 的教程,感觉剪辑部分基本就是个改良版的 Final Cut X 啊,非常不错。

Sublime 换标

挺好看

不过虽然号称解决了 HiDPI 的部分问题,但非 ASCII 在 UI 中依旧是方框,而且以前将 dpi_scale 置为 1 可以解决的方法,现在也不行了。

vagrant 在新机器上的问题

由于是直接拷贝迁移了 virtualbox 的 虚拟机到 Windows 10 上,vagrant 的虚拟机也一并移了过来。vagrant up 时双手合十还是踩了不少坑:

  1. 一个是在设置 port forward 时报错,...The requested address is not valid in its context. - connect(2) for "0.0.0.0" port 8080 (Errno::EADDRNOTAVAIL)...,参考此 issue 将 host_ip 设置为 localhost 解决:https://github.com/mitchellh/vagrant/issues/8395
  2. 这个坑填上之后,又有另外一个错 ...io.rb:32:in `encode': incomplete "\xA1" on GBK (Encoding::InvalidByteSequenceError)...,参考此文解决:https://laravel-china.org/articles/4082/a-wonderful-problem-encountered-in-the-use-of-vagrant 。我的情况略有不同,并不是 snapshot 名称中有中文,而是 snapshot 的描述中有中文,参考了作者的方法使用 VBoxManage.exe showvminfo <machine uuid> --machinereadable 命令才发现的问题,最后删去中文描述可解决此报错。
  3. 最后一个坑是 vagrant-hostsupdater 插件导致的,改 host 时没权限,按理应该弹 UAC 吧?但是却直接报错了。解决(绕过)方法是先取消 hosts 文件只读,然后修改其权限,给当前用户添加修改权限,正好平时改 hosts 也方便。

结论就是 vagrant 代码貌似不够健壮啊(ruby 也来快糙猛?),另外 HashiCorp 说好的 otto 也偃旗息鼓了,vagrant 还要再战几年?

Adobe 真是让人又爱又恨

一身的小毛病,离又离不开,刚 Photoshop crash 到要疯,趁更新的时候吐吐槽。

  • js 已经侵入的这么深了?开个 Photoshop 后面跟着起了一堆 Node 和 CEF,一个破更新程序又起了一堆
  • 启动慢到无法忍受,点一下图标可以去上个厕所,上完回来还没起来
  • 启动过程还不断抢焦点,神经病一样,堂堂 Adobe 这种事情都处理不好么?
  • 内存占用一点都没节制,再开个 Illustrator 16G 都打不住
  • 硬件加速应该改名为硬件减速
  • 3D 渲染简直慢到不可理喻,有人用这功能么?
  • 刚才的情况,Photoshop 一取色就 crash,关了硬件加速,取色不 crash 了,调整图层样式的时候又 crash,holy sh*t
  • 更新之后问题依旧,取色的时候,如果ESC取消,就挂了

Copyright © 2024 yet Another

Theme by Anders NorenUp ↑