黑苹果折腾第六迭代已在路上

第五迭代中凭借积累的经验与clover存档、kext存档,顺利安装了OSX10.11.6,成功仿冒了rMbP。睡眠问题是极难迈过去的坎,通过App Store的某些应用可禁用睡眠,保持稳定。

意外发现是虽然HDMI输出与VGA输出互斥,在引导阶段连上VGA接口就有机会启用VGA视频输出。

现阶段,仿冒iMac(21inch)硬件已到位,NVIDIA及时发布了适用于Pascal架构的显卡驱动。升级系统至macOS Sierra 10.12.4并安装最新NVIDIA web driver即可成功驱动GTX1060,拉开了第六迭代的序幕。

观察新版Clover(版本号>4000),Boot without caches选项不复存在,因为macOS 10.12.4启动时始终加载prelinked cache

macOS不支持Intel VT-d特性,该特性与虚拟机相关。若BIOS启用了相关特性则需要Clover选项dart=0禁用之,否则System panic in nanosecondsVT-x特性仍受支持。

鼠标DPI键的隐藏功能

按住DPI键5秒以上,鼠标滚轮功能会切换为音量调节,鼠标中键变为播放/暂停。

Airbnb再曝种族歧视问题:房东拒接亚洲客

<div><img src="http://n.sinaimg.cn/tech/transform/20170407/0upN-fyecrxv4438545.jpg" data-link="" alt="Airbnb再曝种族歧视问题:房东拒接亚洲客"/><span></span></div> <p>  新浪科技讯&nbsp;北京时间4月7日晚间消息,旅行房屋租赁平台Airbnb日前表示,一位房东在得知租客的“亚洲人”身份之后单方面取消了住宿预约,现已永久停止与该涉事房东合作。</p> <p>  Airbnb在接受《赫芬顿邮报》采访时称,该事件发生在今年2月份,位于加州大熊湖(Big&nbsp;Bear)附近。日前,网上出现了一段涉事女租客在雪夜里哭诉委屈的视频,使得该事件得以曝光,并引发了人们的关注。Airbnb以公司隐私政策为由,拒绝透露涉事房东和租客的身份。</p> <p>  这位女租客在视频中描述了事件原委。她说:“大约一个月前,我们在Airbnb上进行了预订。我当时问女房东,是否可以再加两个人,女房东说可以,只要我们肯加钱。”</p> <p>  女住客接着说:“我们计划去大熊湖滑雪。住宿问题解决后,我们认为一切就绪,于是准备驱车去大熊湖。随后,我再次向女房东确认,我带了两位朋友一起住宿,是用现金支付吗?”</p> <p>  没想到对方突然改变态度说:“不行,我们算了吧。”然后挂了电话,并单方面取消了订单。于是,女租客用短信告知房东,将向Airbnb举报她的行为。而女房东则回复称:“去吧,就算地球上只剩你一个人,我也不会租给你。”然后说出拒客原因:“一句话,因为你是亚洲人。”</p> <p>  此外,女房东在短信中还称:“我不允许这个国家让外国人去告诉我们怎样做。这就是为什么我们选了特朗普。”</p> <p>  但女租客却称,她是美国公民。显然,女房东只根据女租客的资料照片做出了错误的判断,以为她是外国人。女租客在视频中哭泣着说:“她们看到我是亚洲人,她们看到的只是我的种族。这就是我们所遭受的待遇,让人痛心。”</p> <p>  对此,Airbnb发言人克里斯托弗·纳尔蒂(Christopher&nbsp;Nulty)在一份声明中称:“房东的行为令人憎恶和无法容忍。”纳尔蒂还称,在得知该事件后,Airbnb立即与女租客取得联系,希望能帮助她们重新预订房间,但女租客已另有安排。</p> <p>  纳尔蒂还称:“根据我们的非歧视政策,涉事房东已被永久性地从Airbnb平台移除。”</p> <p>  早在2015年12月,Airbnb就曾曝出种族歧视问题。当时,哈佛大学进行的一项研究表明,如果租客的名字听起来像黑人,在Airbnb上租到房子的概率就会降低。</p> <p>  去年9月,Airbnb引入新规,旨在反对种族歧视问题。这些新规包括:预订过程中将用户照片最小化,要求用户同意反歧视协议和扩大极速预订范围等。极速预订可以让顾客直接预订,不必经过房东审核批准。(李明)</p>        

搭载WinPE的U盘分区优化方案

** 大胆假设,小心求证。 **

众多U盘PE制作工具都采取的套路是:隐性地使用UltraISO单文件版向U盘写入现成的PE镜像。写入后U盘前部将多出一个隐藏小分区存放PE(由于Win只能识别U盘上的首个可见分区)。

问题是:制作完成后的PE相当不透明;制作工具还随意篡改卷标,更引入潜在安全隐患。

为了避免制作工具写U盘镜像的不透明性,现手动操作UltraISO单文件版写入镜像。再使用可靠的分区工具变更分区。

** 操作要点:**

  • U盘分区表格式仍使用传统的MBR,以兼容只接受LegacyUSB设备引导的旧主机。

  • 载有PE的分区为激活状态的主分区,FAT32文件系统,移至整个U盘空间后部。

  • 使用合适的分区工具(如Paragon Hard Disk Manager)在前部建立日常存放数据分区,非激活状态的主分区。

经测试,能够在Win下成功挂载、分配盘符,读写数据分区。也可利用BOOTICEx64来回切换可见分区,而无需刻意隐藏分区。

在Win8PE下甚至实现了同时挂载数据分区与PE分区。

Primitive preparation of the applying for graduate program

https://www.zhihu.com/question/29876082

There will be intensified competence to confront, since others’ GPAs are likely to be so high…

2017 NUS summer program should serve as useful science researching experience. It is even viable to turn to the professors there for a recommendation letter.

Currently, the prize in ACM contest and mathematic modelling contest are of great significance.

计算机网络模型与网络设备的工作原理思考

集线器只是用电子器件模拟总线,工作在物理层。

交换机可处理帧工作在数据链路层。

路由器工作在网络层。

强大的网关工作在应用层。

《并行计算:模型与算法》研读兴趣

《并行计算:模型与算法》研读兴趣

  • 概念:并发、并行与分布式

    并发:多个线程在同一时间段内同时执行。更多地考虑控制问题,包括同步和互斥等经典问题。

    并行:多个线程在同一时刻同时执行。主要面向具体计算问题。

    分布式:多个进程在多个通过网络互联的处理器上同时执行。

  • 回顾算法复杂度的概念

    复杂度表示所用到的符号有:

    • $f(n)=\Theta(g(n))$: 存在常数$c_1 \ge 0$,$c_2 \ge 0$,以及正整数$n_0$,对所有$n \ge n_0$有$0 \le c_1 g(n) \le f(n) \le c_2 g(n)$。

    • $f(n)=O(g(n))$: 存在常数$c_1 \ge 0$,以及正整数$n_0$,对所有$n \ge n_0$有$0 \le f(n) \le c_1 g(n)$。

    • $f(n)=\Omega(g(n))$: 存在常数$c_1 \ge 0$,以及正整数$n_0$,对所有$n \ge n_0$有$0 \le c_1 g(n) \le f(n)$。

    • $f(n)=o(g(n))$: 对任意$c_1 \ge 0$,存在正整数$n_0$,对所有$n \ge n_0$有$0 \le f(n) \le c_1 g(n)$。

  • 针对并行计算,具有研究价值的算法的简要描述

    • 最大值。输入为一个数组$A[n]={a_1,\dots,a_n}$,输出该数组中最大值。

    • 矩阵转置。输入为一个按行存储的矩阵$A[n][n]={ a_{11},\dots,a_{1n};a_{21},\dots,a_{2n};\dots;a_{n1},\dots,a_{nn} }$,输出为矩阵的转置$A’[n][n]={ a_{11},\dots,a_{n1};a_{12},\dots,a_{n2};\dots;a_{1n},\dots,a_{nn} }$。

    $$A’[n][n]={ a_{11},\dots,a_{n1};a_{12},\dots,a_{n2};\dots;a_{1n},\dots,a_{nn} }$$

    {$A’[n][n]={ a_{11},\dots,a_{n1};a_{12},\dots,a_{n2};\dots;a_{1n},\dots,a_{nn} }$}

【170305】TOEFL复习

http://mp.weixin.qq.com/s/bqXUoVCAMHki-FI2w0svRQ

A degree achieved at collage can prepare undergraduates for social entrance. Not only can students obtain textbook knowledge related to their areas of study, but they also acquire various helpful skills even after their graduation. Collages advocate independent thoughts and innovation. After-class activities such as student communities and the confederacy of student provide with worthwhile opportunities

A university degree can better prepare students to enter society. Not only students gain textbook knowledge relating to their specific majors, but they also acquire various that may help them after graduation. Universities always encourage liberal thoughts and creativity. Extracurricular activities such as student clubs and student governments provide students with opportunities to practice their social skills through organizing and supervising meetings and managing funds. All these skills will benefit them for their future careers.

构建下一艘“核动力航母”

Reference

Single CPU performance
Single thread performance
Multiple CPU performance

Remarks on the first “Craft Vessel”

  • E3-1231 V3 gets the almost highest efficiency price ratio.
    The integrated graphic with Intel QSV technology is not necessary. Also, the single core performance of the CPU turns out to be satisfying, even without locking the frequency multiplier at 38x.
    If an iGPU were to be appended, E3-1246 v3 are most likely to be accessible. However it is approximate to i7-4770/4790.
  • B85 chipset costs a lot less than Z97,yet supports frequency locking and over-clocking.
  • Kingston Hyper Fury DDR3 RAMs are not economical compared with others.

Orientation for the next “Nuclear Craft Vessel”

  • B350 motherboards compatible with Ryzen 7 can be a waste.
  • A320 motherboards have not been launched yet.
  • X99 with DDR4 RAM is quite different from X79 with DDR3.
  • E5-2683 v3 has numerous cores and is affordable, but is not so ideal for its single thread performance.
  • E5-2637 v3 has strengthful single thread performance, but doesn’t have so many cores.
  • Double E5-1620 v3 remain to be inspected.