Posts

Breaking down things

Image
A friend asked how do you do that? Break something complicated in meaningful and at times funny to follow smaller tidbits of knowledge. Well..






And that is how I do it. But at the end whatever works based on what mess you are dealing with works. It's not science, it is just wisdom and a ton of experience burning your own skin in the game of life.

;mE

The Making of Basculo

Image
Exercising can be fun if done with others and only for some. Doing it alone is more than a chore. Anything that can make the activity less than “mandatory” can only lead to build up the necessary confidence to perform the task more frequently and with a due rhythm. The last two are key to actually gain any benefit fro the activities.
A gaming experience meshed within some type of workout is hardly a nuance those days. However, as all fads the excitement tend to fade out when the link between the investment in time and sweat doesn’t balance with the perceived results.
With that, I set to build something that could be multi purpose, easy to store and shareable regardless of the body size.
Entering... BASCULO. The word tipping in Italian is translated with bascolare. That is what I picked for codename of a device that among other things let you exercise the core of your body while playing games that keep your mind busy. The idea is far from being "new", as matter of fact I own…

Finally someone that speaks about the danger from a more concrete way.

Cassie does a wonderful job in telling the story around data and AI, if you like what you hear then take a look at this collection of links. I am sure that you will find something here that fits your palate.

For total beginners: bit.ly/quaesita_histbit.ly/quaesita_simplestbit.ly/quaesita_historybit.ly/quaesita_datascibit.ly/quaesita_diFor those who care about AI ethics: bit.ly/quaesita_ethicsbit.ly/quaesita_aibiasbit.ly/quaesita_donttrustbit.ly/quaesita_dmguidebit.ly/quaesita_genieFor leaders: bit.ly/quaesita_failbit.ly/quaesita_firstbit.ly/quaesita_rolesbit.ly/quaesita_dmguidebit.ly/quaesita_inspiredbit.ly/quaesita_dsleadersbit.ly/quaesita_herobit.ly/quaesita_genieFor artists:

The Making of Filini's Ghost Ride Trophy

Image
A couple of years ago I came up with a brand and logo name for our MTB team. That is FILINI. For Christmas I wanted to build something custom from my dear friend Cristiano which runs with the nickname of GHOST RIDER within the team. You can cruise the images in higher resolution if you click on them.
This is the logo.
I used imagetostl.com to convert the image from pixel to an STL that I could print with my 3D printer. Pixelmator at some point was involved as well. And also a good list of WTFs to figure out why the conversion wasn't producing a more clear result.

The final print had a bit of smudges here and there but nothing that clippers and acetone couldn't remove. Can't say elbow work, more knuckle hard word.



I used Liquid Metal paint (Bronze, Silver) to create sand-metal effect with which I painted the parts.
I recycled a GOPRO part which I painted Silver. Several times because although the paint holds well on lucid plastic, it required multiple passes (and time) to …

UIAppDelegate and SceneDelegate accessing variables

As you likely know iOS 13 introduced the multiple window concept. Which means what you used to do with

(UIApplication.shared.delegate as! AppDelegate).somevariableHERE No longer works and I am happy to tell you that you can still do it just slightly different. And in my opinion clearer.

(self.window?.windowScene?.delegateas! SceneDelegate).someOtherVariableHere
References Apple usual bare-extreme-bone docs Background

Coordinator Pattern for iOS 12 and 13

Image
As the awesome Swift master Paul puts it:
Using the coordinator pattern in iOS apps lets us remove the job of app navigation from our view controllers, helping make them more manageable and more reusable, while also letting us adjust our app's flow whenever we need.  It is a darn useful pattern and something that since I learned about it, I used it in all my apps. Paul also released an advanced version as well of the original tutorial.

Patrick has a slightly different implementation of the same pattern and although I prefer Paul's approach (only slightly different in character) there are some nuances in his post that are definitely worth reading.

All that magic is challenged with iOS 13 because of the introduction of the UISceneDelegate. I hammered my head a few times before I got the clue of what had to be changed given that the window object is now no longer created in the AppDelegate but the SceneDelegate.

Mark describes the difference very well in this post. Something that I…

Convert multiple MOV files to multiple images

You want to convert your .MOV files likely taken with your iPhone when the motion option was on, to still images. You scouted the web and you can't find a simple command on the thousands of ffmpeg options to do that.

You are not crazy, they don't have it! Not in a human feasible way. So here it is:
for i in *.mov; do ffmpeg -i "$i" -frames:v 1 png/"${i%.*}.png"; done Referenceshttps://www.ostechnix.com/20-ffmpeg-commands-beginners/
https://stackoverflow.com/questions/5784661/how-do-you-convert-an-entire-directory-with-ffmpeg