Growthist📈 吞食天地27
不能果断,宁要武断
关注数: 8 粉丝数: 177 发帖数: 7,297 关注贴吧数: 14
今年刘海屏将消亡,明年水滴屏等过渡方案都会淘汰 第一款发布的水滴屏手机是Android之父所在公司开发的Essential Phone,几乎没有反响。随后iPhone X的大刘海出现了,一众国产厂商开始无脑跟风,下巴留的贼宽够停航母也要弄出大刘海,惹人厌,只有三星和索尼一直坚守底线。 人人都知道刘海不符合设计审美,技术上也只是过渡,而且完全没必要搞得那么宽,一众国产厂商却一意孤行。从去年下半年到现在,在市场的压力下,众厂商开始缩小刘海转向水滴屏,但这同样是全面屏的一种过渡,同样不会有好反响。 算一下,iPhone X去年下半年发布,随后几个月国内厂商跟风,到了2018年也就真正发力了半年多。水滴屏将会有着同样的命运,因为实用的屏下摄像头方案很可能在明年某个时候发布,目前正在技术迭代中。 机械自动弹出/升降式机构比刘海/水滴屏在电子技术发展极端上在要落后一些,虽都为全面屏的过渡方案,但在设计审美上没有妥协。而滑盖推动结构在技术上和设计上比前两者更落后,缺点非常多。 不出意外,随着明年屏下摄像头方案的出现,以上的过渡方案都将淘汰。 鉴于屏下摄像头方案还未发布,我对目前方案的接受度为:有额头常规摄像头布局 > 摄像头自动升降机构全面屏 > 水滴屏 > 刘海屏 > 手动滑盖推拉全面屏 不知道各位怎么看?
关于Firefox动态主题不动的解释和解决方法 原因: Mozilla 官方自 Firefox 18 起就不再正式(主题商店还有,但在浏览器上已经不好用了)支持动态主题,声称动态主题会拖慢性能,决定抛弃。 官方博客链接:https://blog.mozilla.org/addons/2012/12/11/improving-performance-with-static-themes 科技媒体报道(base64解码):aHR0cHM6Ly90aGVuZXh0d2ViLmNvbS9hcHBzLzIwMTIvMTIvMTEvbW96aWxsYS1hbm5vdW5jZXMtYW5pbWF0ZWQtdGhlbWVzLWFyZS1nb2luZy1hd2F5LWluLWZpcmVmb3gtMTgtZm9yLXRoZS1zYWtlLW9mLXBlcmZvcm1hbmNlLw== 解决方法: 官方解决方法: 多安装几款主题,再安装 Personas Shuffler 主题切换扩展,每切换一次主题,新主题如果是动态主题就会动起来的。 官方答疑链接:https://support.mozilla.org/zh-CN/kb/animated-theme-stops-working 注:上面的扩展已经5年未更新了,也不支持 Firefox Quantum,不用再尝试了。支持 Firefox 57 的主题切换软件有几款,目前好用的只有 Persona Switcher,需要在扩展选项里设置下参数。 第三方(网友)解决方法: 不需要安装新扩展,不需要切换主题,打开 Firefox 主题就能动起来。 步骤: 1. 打开新标签页,在地址栏键入 "about:config" (不含双引号和括号,下同) ,搜索 "lightweightthemes" 2. 将 "lightweightThemes.persisted.footerURL" 和 "lightweightThemes.persisted.headerURL" 这两项的值由 "true" 改为 "false"(双击即可更改)。 3. 改好后重启 Firefox 后果: 修改参数后,没研究会影响到什么地方,但动态主题会持续动作。有国外网友称修改后有可能会引发crash(崩溃)或者系统蓝屏(可能是老爷机)。
The explanation to (im)mutable # The explanation to immutable and mutable objects of Python3 foo = list(range(4, -1, -1)) print(foo, "output of foo") bar = list(range(5)[::-1]) print(bar, "output of bar\n") print(foo == bar, end="") print(", foo == bar") if foo is bar: print("Yep, they are the same thing with different names." + "\n") else: print("But, they have different ids due to different memory spaces.\n") print(id(foo), "<-- foo's id") print(id(bar), "<-- bar's id\n") # Look the difference below: # mutable objects baz = list(range(4, -1, -1)) print(baz, "output of baz") print(id(baz), "<-- baz's id, it differ from foo and bar though it is defined by the same function with foo.\n") qux = foo print(qux, "output of qux") print(id(qux), "<-- qux's id, it's same as foo.\n") qux += [5] print(qux, "qux now") print(id(qux), "<-- id of qux is not changed") print(foo, "foo is also changed due to mutable memory space") print(id(foo), "<-- id of foo is not changed\n") # We should know: # x +=[m] is not x = x + [m]. # x is still x after doing the statement x += [m], but value changes in memory space. # x is not the previous x after doing the statement x = x + [m], it is a new object with different id. The previous one(memory space) will be exterminated by Python's Auto Garbage Collection Mechanism if there is no references to it. foobar = bar print(foobar, "output of foobar, same as bar.") print(id(foobar), "<-- id of foobar, it has the same object reference as bar.\n") foobar = foobar + [6, 7] print(foobar, "foobar now, it chages") print(id(foobar), "<-- id of foobar now, a new one") print(bar, "bar now, same as the previous one.") print(id(bar), "<-- id of bar now, no changes.\n") # immutable objects a = 321.863 b = 321.863 c = a print(a, "output of a, b, c") print(id(a),"<-- id of float number a") print(id(b), "<-- id of float number b") print(id(c), "<-- id of float number c\n") a += 1000 print(a, "a now, surely changes") print(id(a), "<-- id of a, it is changed by creating a new memory space.") print(c, "c now, no changed by a.") print(id(c), "<-- id of c, still same as the previous one.") print(b, "b now, no changes.") print(id(b), "<-- id of b")
标点符号表示的中英文对照 + plus 加号,正号 - minus 减号,负号 ± plus or minus 正负号 × is multiplied by 乘号 ÷ is divided by 除号 = is equal to 等于号 ≠ is not equal to 不等于号 ≡ is equivalent to 全等于号 ≌ is equal to or approximately equal to 等于或约等于号 ≈ is approximately equal to 约等于号 < is less than 小于号 > is more than 大于号 ≮ is not less than 不小于号 ≯ is not more than 不大于号 ≤ is less than or equal to 小于或等于号 ≥ is more than or equal to 大于或等于号 % per cent 百分之...,取模(Modulus) ‰ per mill 千分之... ∞ infinity 无限大号 ∝ varies as 与...成比例 √ (square)root 平方根 ∵ since,because 因为 ∴ hence 所以 ∷ equals,as(proportion) 等于,成比例 ∠ angle 角 ⌒ semicircle 半圆 ⊙ circle 圆 ○ circumference 圆周 π pi 圆周率 △ triangle 三角形 ⊥ perpendicular to 垂直于 ∪ union of 并,合集 ∩ intersection of 交,通集 ∫ the integral of ...的积分 ∑ (sigma)summation of 总和 ° degree 度 ′ minute 分 〃 second 秒 ℃ Celsius system 摄氏度 { open curly 左花括号 } close curly 右花括号 ( open parenthesis,open paren 左圆括号 ) close parenthesis,close paren 右圆括号 () parentheses 括号 [ open bracket 左方括号 ] close bracket 右方括号 [] square brackets 方括号 {} curly brackets 花括号 <> angle brackets 尖括号 . period,dot 句号,点 | vertical bar,vertical virgule 竖线 & ampersand,and,reference,ref 和,引用 * asterisk,multiply,star,pointer 星号,乘号,星,指针 / slash,divide,oblique 斜线,斜杠,除号 // slash-slash,comment 双斜线,注释符 # pound 井号 \ backslash,sometimes escape 反斜线转义符,有时表示转义符或续行符 . full stop 句号 , comma 逗号 : colon 冒号 ; semicolon 分号 ? question mark 问号 ! exclamation mark(英式英语),exclamation point(美式英语) 感叹号,非(not) ' apostrophe 撇号 - hyphen 连字号 -- dash 破折号 _ underscore 底线 underline (文字等的)下划线 strikethrough,strikeout 删除线,贯穿线 ﹏ wavy underline(波浪型下划线),wave line(波形线) ... dots,ellipsis 省略号 " single quotation marks 单引号 "" double quotation marks 双引号 ‖ parallel 双线号 ~ tilde 波浪符 ~ swung dash 代字号(用于辞书学或计算机编码等用途时称呼) § section,division 分节号 → arrow 箭号,参见号
1 下一页