Gap撈Tech
610 subscribers
45 photos
5 videos
3 files
140 links
Download Telegram
However, Java 8 lambdas do not support the throwing of checked exceptions all that well. Thus in Java we need to write all of this locking/unlocking code by hand. Tedious and error prone. A hint of a problem is that IntelliJ IDEA has predefined live templates to generate that code. Our IDE generating code for us (getter/setter, toString, equals/hashCode, constructors, locking/unlocking) is a sign of a language smell.

#不能同意更多

文章提到作者自己就算寫咗廿年Java 都已經開始學 Kotlin,並大讚可以慳到好多開發時間,有意用 Kotlin Revamp 自己呢個 Website👍🏻

https://www.javaspecialists.eu/archive/Issue279.html
諗起堅持 Prettier printWidth 80 嘅朋友...

Linus Torvalds: "People with restrictive hardware shouldn't make it more inconvenient
for people who have better resources. Yes, we'll accommodate things to
within reasonable limits. But no, 80-column terminals in 2020 isn't
"reasonable" any more as far as I'm concerned. People commonly used
132-column terminals even back in the 80's, for chrissake, don't try
to make 80 columns some immovable standard.”

認真我自己都頂唔順 80,至少會用 100...

https://lkml.org/lkml/2020/5/29/1038
Java 14 終於可以快速知道邊一樣野 Null 咗!

https://openjdk.java.net/jeps/358
GitHub 呢兩年都改得好進取,又有兩個新 Feature Preview 了
Apple Silicon ARM based Mac 終於發佈,比想像中多好多 Transition Tools

強烈建議作為 Developer 一定要睇,大約 1:27:00 開始

一共為期 2 年的 Transition Period for Intel Based Mac,包括 macOS Update 及估計下代推出嘅 Mac 會係最後一代 Intel 機

相信你身邊總會有人講:「A12Z 即係 iPad Pro Performance,其實未必夠用」

呢個說法忽略一個重點:「而家嘅 iPad Pro 於 Fanless based 環境下運行,係不公平的環境下,CPU Performance 都追到於 Fan based 環境下嘅 Core i5 8xxxM、GPU Performance 更加係拋離 Intel Internal Graphic 接近 Dedicated GPU!」

簡單咁諗:「將 A12Z 加電超頻加風扇,效能絕對可以提高 2-3 倍」

另外就係 GPU Hardware Acceleration,UI Transition、Web Browsing、Video Playback,以往 13吋冇位裝 Dedicated GPU 而焗用 Intel Internal Graphic 嘅問題,A12Z 一定會令成個使用感覺 Smooth 好多,砌低哂所有中低階 Windows 機,更不用說之後的 A13X / Fan based 特製的更多 Core 更高 Frequency的 Apple Silicon

#Ryzen都未必拆得掂

https://youtu.be/GEZhD3J89ZE
Gap撈Tech
Video
自從 Chrome 轉咗 Metal API + Disable Internal Graphic 後用咗一排之後,大部份時間都覺得快咗,但發現有啲特定情況會目相對 Lag!

實驗精神,測試最可疑嘅 Out of Process Raterization,估計係 IPC (Inter-process communication) 有樽頸,超過 16ms 都無辦法 Return 導致 FPS 不足 60fps.

搵朋友部機測試過,用 Intel Internal Graphic 無太大差別,但 Discrete GPU 差別甚大!

測試:https://material.angular.io/components/expansion/overview

測試環境:Macbook Pro 16" i9 64GB 5500M, 10.15.5

P.S.1 手持錄片是不希望佔用到 Macbook 的 GPU
P.S.2 Angular Material Expansion Panel 出咗名 Performance 差,特此測試 😂