Notion 已被 Block,就係因為可以太方便太自由發佈資料而又控制唔到
https://techcrunch.com/2020/05/24/work-collaboration-unicorn-notion-is-blocked-in-china/
https://techcrunch.com/2020/05/24/work-collaboration-unicorn-notion-is-blocked-in-china/
TechCrunch
Work collaboration unicorn Notion is blocked in China [Update: It’s back]
Notion, the fast-growing work collaboration tool that recently hit a $2 billion valuation, said on Twitter Monday that its service was blocked in China. The productivity app has attracted waves of startups and tech workers around the world — including those…
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
#不能同意更多
文章提到作者自己就算寫咗廿年Java 都已經開始學 Kotlin,並大讚可以慳到好多開發時間,有意用 Kotlin Revamp 自己呢個 Website👍🏻
https://www.javaspecialists.eu/archive/Issue279.html
www.javaspecialists.eu
[JavaSpecialists 279] - Upgrading ReadWriteLock
The Java ReentrantReadWriteLock can never ever upgrade a read lock to a write lock. Kotlin's extension function ReentrantReadWriteLock.write() cheats a bit by letting go of the read lock before upgrading, thus opening the door for race conditions. A better…
諗起堅持 Prettier printWidth 80 嘅朋友...
Linus Torvalds: "
https://lkml.org/lkml/2020/5/29/1038
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
呢單野好似幾 Juicy🤔 以 Enforce Code of Conduct 為由將一個 Vue core Team Member 除名,
https://twitter.com/vuejs/status/1268303040613740545?s=21
https://twitter.com/vuejs/status/1268303040613740545?s=21
Twitter
Vue.js
As some of you may have noticed, Darek (gustojs) has stepped down as a core team member. Darek has made invaluable contributions to building a community around the project, and we deeply appreciate everything he has done.
介紹大家一個好工具做 Textmoji,提升 Slack 溝通效率
https://textmoji.app
然後在 Customize Tab 內的右下角,可以分享你自己做的 Textmoji 比朋友,例如以下呢個
https://textmoji.app?paletteName=Ultra&text=2M%2B1&fStyle=Ultra&fColor=FFF100&bgShape=square&bgColor=000000&bWidth=0&bStyle=none&bColor=FF6507
https://textmoji.app
然後在 Customize Tab 內的右下角,可以分享你自己做的 Textmoji 比朋友,例如以下呢個
https://textmoji.app?paletteName=Ultra&text=2M%2B1&fStyle=Ultra&fColor=FFF100&bgShape=square&bgColor=000000&bWidth=0&bStyle=none&bColor=FF6507
textmoji.app
Make text emoji for your Slack team with Textmoji. A Labs project from your friends at Postlight.
“Microsoft has deemed C++ no longer acceptable for writing mission-critical software”
"70% of the CVEs originating at Microsoft are memory safety issues"
https://thenewstack.io/microsoft-rust-is-the-industrys-best-chance-at-safe-systems-programming/
"70% of the CVEs originating at Microsoft are memory safety issues"
https://thenewstack.io/microsoft-rust-is-the-industrys-best-chance-at-safe-systems-programming/
The New Stack
Microsoft: Rust Is the Industry’s ‘Best Chance’ at Safe Systems Programming
Microsoft has deemed C++ no longer acceptable for writing mission-critical software. The industry sorely needs to move to a performant, memory-safe language for its low-low system work. And the best choice on the market today is Rust, Levick said.
不能錯過的重點:Chrome Settings 轉用 Metal 可以慳電、慳 RAM、慳 CPU、慳 GPU!
https://gaplo.tech/does-16gb-ram-enough/
#Mac
#Mac教學
https://gaplo.tech/does-16gb-ram-enough/
#Mac
#Mac教學
Gap撈Tech
16GB RAM 夠唔夠用?(附上 Mac 慳 RAM 心得)
相信呢條問題嘅難答程度堪比「月入 N 萬夠唔夠用?」
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
強烈建議作為 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
YouTube
WWDC 2020 Special Event Keynote — Apple
Apple WWDC 2020 kicked off with big announcements, exciting reveals, inspiration, and new opportunities to create the most innovative apps in the world.
Watch the Special Event Keynote for an in-depth look at the latest for iOS, iPadOS, watchOS, privacy…
Watch the Special Event Keynote for an in-depth look at the latest for iOS, iPadOS, watchOS, privacy…
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 差,特此測試 😂
實驗精神,測試最可疑嘅 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 差,特此測試 😂