Sunday, April 4, 2021

From Maksym “Max” Shcheglov of On Swift Wings, using Property Wrappers to make Swift code more thread safe.

From Maksym “Max” Shcheglov of On Swift Wings, using Property Wrappers to make Swift code more thread safe.


As Max mentioned, “Atomic property is one of the commonly-requested Swift features”. Using Properties Wrappers, you can do this.


https://www.onswiftwings.com/posts/atomic-property-wrapper/


Saturday, April 3, 2021

Saturday Tech Humor #1

Give a man a program, frustrate him for a day. Teach a man to program, frustrate him for a lifetime...

Boston Dynamic has come out with a new autonomous robot, Stretch. It is designed specifically for warehouse work.

Boston Dynamic has come out with a new autonomous robot, Stretch. It is designed specifically for warehouse work.


As impressive as the arm and movement (no legs) system is, more so is the “Perception Mast” that allows it to scan an entire room to know where everything is.


https://www.syfy.com/syfywire/boston-dynamics-new-warehouse-robot-stretch


Another Article: https://singularityhub.com/2021/03/31/boston-dynamics-new-warehouse-robot-can-move-800-boxes-an-hour/


Friday, April 2, 2021

A proposal from the Swift Org boards for a new “let-else” syntax, for similar situation then “guard let” statement, but more readable.

A proposal from the Swift Org boards for a new “let-else” syntax, for similar situation then “guard let” statement, but more readable.


I have to admit to getting familiar with the guard and ?? Keywords, so though I would use it, I am not sure this idea is needed.  


https://forums.swift.org/t/pitch-introduce-let-else-syntax-as-alternative-for-single-expression-guard-let-else/46989


Study states that Google Android devices send 20 times more user data to server. Google disagrees strongly (and then says everyone does it).

Study states that Google Android devices send 20 times more user data to server.  Google disagrees strongly (and then says everyone does it).


Chilling line was “Even when idle, each device connects to its back-end server on average every 4.5 minutes”.


https://arstechnica.com/gadgets/2021/03/android-sends-20x-more-data-to-google-than-ios-sends-to-apple-study-says/


Paper: https://www.scss.tcd.ie/doug.leith/apple_google.pdf


Thursday, April 1, 2021

Recently Tony of The Ghost Howls had an interesting conversation with two prominent members of the OpenAR Cloud committee.

Recently Tony of The Ghost Howls had an interesting conversation with two prominent members of the OpenAR Cloud committee.


This article cover the advantages of OpenAR over the upcoming closed communities. Worth reading!


https://skarredghost.com/2021/03/28/open-ar-cloud-pros/


Video of the talk: https://www.youtube.com/watch?v=nqpCWgwxL9o


I knew about Swift new Result type keyword, but did not understand it until reading Paul's posting.

I knew about Swift new Result type keyword, but did not understand it until reading Paul's posting.


Yes, you could wrap a tuple around any number of optionals, but Result has some cool features that makes it easier (and consistent).


https://www.hackingwithswift.com/articles/161/how-to-use-result-in-swift


Another article on topic: https://medium.com/swlh/result-type-in-swift-1b4e2a84f2c2