A week of using screen time on iOS 12

When Apple announced Screen Time as a feature, I felt like it was designed for me.

I am not a smartphone addict. I can live without it, there have been events when I did not have an active internet connection and still managed to live without it for a few weeks and even have my laptop and phone completely discharge to a point where there was no way to contact me, this was at the time when Hurricane Irma struck.

My problem starts when I have access to social media. I was not addicted to it for many years, until recently when apps finally started using the best of UI elements and algorithms to gain more attention and alter how content is shown to you.

I got addicted to Instagram (they are happy to read this, good job IG developers)

It starts with receiving a lot of notification, people liking your posts, comments (Bitcoin and passive income scammers, get rich quick schemes) and followers (thank you fake accounts). I would open the app every time there was a one. Then I decided to disable notifications, this helped for a short while until the big algorithm change happen, these updates managed to make me open it manually at times when I needed a break, even a short one. Opening the app when I am waiting for my food to arrive at the table and even when waiting for someone.

It reached a point where I would not look around my surroundings.

It did not reach to an insane level, to browse while walking or when at a stoplight, people who do that need real help.

I decided to uninstall it and It worked. I was finally free. Smiling at people at a restaurant looking around and observing my surroundings while waiting for someone. Until the messenger part of the app could not be replaced. You see these developers have added so many features.

To avoiding it for one reason is not that easy, they will get you back for using another functionality.

I updated to iOS 12 just hours after it was available, I was very excited, I could finally use the app but with an automated limiter.

I added Instagram, Snapchat and Facebook, for the first three days I set the limit to ten minutes, then dropped it to five minutes for the next two days, currently at one minute.

According to Moments app, I had five hours of screen time. Which dropped to one hour thirty minutes Today at the time of writing this post it is forty minutes, this is a big achievement for me.

![](https://darryldias.me/wp-content/uploads/img_2377-473×1024.png)
![](https://darryldias.me/wp-content/uploads/img_2378-473×1024.png)

I use my time these days for writing more articles, you will see more content on this site. The rest of the time is spent on reading books.

This is just a week of using it I will publish a month of using it if it does greater impact.

Thank you for reading, you can subscribe via email or by following my podcast

Open multiple instances of Maya on Mac OS

On Mac OS by default, you can have only one instance of Maya running. The instance can have multiple windows open, but this means you are limited to be working on one project or file at a time.

We can open another instance of Maya with the help of the command line, for this we will be using the Terminal.

You can open it with the help of spotlight or go into the others folder in the Launchpad.

An example of the command in Mac Terminal

Enter the following command in the Terminal.

2020

open -n /Applications/Autodesk/maya2020/Maya.app/

2019

open -n /Applications/Autodesk/maya2019/Maya.app/

2018

open -n /Applications/Autodesk/maya2018/Maya.app/

2017

open -n /Applications/Autodesk/maya2017/Maya.app/

2016

open -n /Applications/Autodesk/maya2016/Maya.app/

2015

open -n /Applications/Autodesk/maya2015/Maya.app/

2014

open -n /Applications/Autodesk/maya2014/Maya.app/

2013

open -n /Applications/Autodesk/maya2013/Maya.app/

2012

open -n /Applications/Autodesk/maya2012/Maya.app/

2011

open -n /Applications/Autodesk/maya2011/Maya.app/

If you have any question, leave a comment below.

Blender 2.8 will ship with monochromatic icons

Blender 2.8 is being shipped with vectorized monochromatic icons, which means it won’t pixelated in the zoomed view, it is a benefit for high-resolution displays.

![](https://darryldias.me/wp-content/uploads/blender_git_splashscreen-1024×548.png)
![](https://darryldias.me/wp-content/uploads/blender_28_viewport_menu-1024×606.png)
![](https://darryldias.me/wp-content/uploads/blender_git_screenshot-1024×640.png)
[![](https://darryldias.me/wp-content/uploads/blender_28_viewport_menu.png)](https://darryldias.me/wp-content/uploads/blender_28.png)

You can get your copy of Blender 2.8 for [here](https://builder.blender.org/download/). It is currently in Alpha 2 stage and not recommended to be used in production environment, use it in development and testing environment.

Getting Started with Pico 8

Creating your first Pico 8 game, what is Pico 8?

It is a virtual machine created by Lexaloffle Games, It is designed to simulate a fantasy gaming console, writing application is achieved using Lua. It is easy to use and offers a lot of features

I introduced gifs in my article because words would not describe it the best and seeing it in action might get you more interested in it. What you look at is a 128×128 pixel display, that renders sixteen colors.

What we will learn?

We will now head straight to writing some code, we can always learn more later, its time for the action and why we are here.

First step

First, let’s start with how to display a list of commands.
help displays all the commands available.

The output of help is

LOAD
RUN
SHUTDOWN 
INSTALL_DEMOS
CD
CD ..
KEYCONFIG
SAVE
SPLORE

### What individual commands do explained. 

LOAD – Is a command used to load cartridges.

Example:

Starts the cartidge.

`load jelpi

`run

`shutdown` – power off the console and closes the application.

`cd` – current directory

example:

`cd demos`

`cd ..` – exit current directory and go one step back

`keyconfig` – opens keybind settings.

`save` – saves file

example

`save test_build`

`splore` – The Pico 8 community repository to share and access games created by the community members

`ls` – lists all file and directory in current location

### Writing our first program.

We will create the `_draw` function

function _draw()
cls()
print("Hello World !")
end

What do those function means.

cls() clears screen.

print() – prints given paramater or string

Hit ESC

run

This should render as shown in the screenshot.

There will be more content out about Pico 8, which will offer more insight into this fantastic fantasy virtual console.

BPython on Arch Linux

What is BPython

BPython in an interactive and fancy interface for Python interpreter, It supports Mac OS, Windows, Linux, and BSD.

Why use BPython?

The benefit of using BPython is it offers on the fly autocomplete and suggestion, which helps in being more efficient when testing a block of code.

All it takes is a simple command to install it.

Install BPython

sudo pacman -S bpython

Executing BPython

To open BPython, enter.

bpython

Thank you for reading.

Autosave in Maya

Autosave is a very handy feature, available in Maya.

Autosave, its names says it all, it incrementally saves the file, by default it saves the file with a five-minute interval.

This can be very useful if you are used to working for long hours, and you are used to seeing the apple spinning pinwheel.

Let’s not go more in depth with why you see the pinwheel, time to go straight into setting up Autosave.

First open Maya preferences. Windows > Settings/Preferences > Preferences settings-and-preferences

Maya Settings/Preferences
Maya Auto Save Off

The AutoSave tab is located under File/Projects

All you need to do is click on the Enable check-box, you can edit the settings below according to your requirements.

Maya Auto Save On

Thank you for reading,

Upgrade from Debian 8 Jessie to 9 Stretch on Digital Ocean

Debian 9.5 Stretch is the latest release, at the time of writing this post.

It is a tried and tested method, but I highly recommend taking snapshots and backup of your data, before proceeding with these sets of instructions.

MariaDB will be replacing MySQL in Stretch and it uses new binary data file format/structure, which does not offer backward compatibility to MySQL. The switching to the new binary format will occur in the upgrade process automatically. You may run into issues after the upgrade and this step cannot be reversed

It is highly recommended that you do a complete database backup before continuing

I had no issues with the upgrade as I was already using MariaDB as my database of choice.

These are the steps I followed to upgrade to Stretch from Jessie.

Updating packages.

sudo apt update && sudo apt upgrade

Creating a backup of the sources.list.

cp /etc/apt/sources.list /etc/apt/sources.list.jessie-version

Converting Jessie mirrors to Stretch.

sed -i 's/jessie/stretch/g' /etc/apt/sources.list

You can verify that the command above has successfully worked by looking into the file with the help of nano.

The sources.list before the command.

deb http://httpredir.debian.org/debian jessie main
deb http://httpredir.debian.org/debian jessie-updates main
deb http://security.debian.org jessie/updates main

The sources.list after the command.

deb http://httpredir.debian.org/debian stretch main
deb http://httpredir.debian.org/debian stretch-updates main
deb http://security.debian.org stretch/updates main

Update the packages towards Stretch release.

sudo apt update && apt upgrade

Do a distribution upgrade.

sudo apt dist-upgrade

You can overwrite all the files to the maintainer’s version as you desire, but when it gives you the option to decided over the editing of /etc/cloud choose N.

The cloud-init module is specific to Digital Ocean droplet and should not be overwritten if overwritten the VPS might have some issues with interacting with other Digital Ocean modules.

That’s it, folks.

If you have any questions leave a comment below.

Create a MacOS Mojave thumb drive

Yesterday, Apple announced MacOS Mojave at WWDC.

Here is how you can create a bootable MacOS Mojave thumb drive, great for a clean install or multiple installations.

  1. You need a thumb drive that is 8GB or above.
  2. A working developers copy of MacOS Mojave.
  3. Working knowledge of the terminal.

** Clear all the data from the thumb drive as this process will format and wipe existing data before proceeding into the installation process.**


Open Terminal and run the following command. (Change: The “Untitled” with actual device name).

updated command: to stable from beta.

sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled/ /Applications/Install\ macOS\ 10.14.app--nointeraction

In a few seconds, this should ask you for entering your password, after entering your password the createinstallmedia will proceed to write data on the thumb drive.

This process is not reversible.

https://darryldias.me/11/sierra-bootable-usb/
https://darryldias.me/09/homebrew-mac/

That’s all folks.
If you have any questions leave a comment below.

Group mesh in Blender

Keeping things organized is key when it comes to working on a large project.

I was working with another Animation package on a big project that had many assets. All the assets where created according to the physical scale and built. The project had many scenes, I started organizing it by naming mesh and grouping them for easier selection and to have a better workflow.

As I kept working on the project, I started to think, how would I approach this in Blender.

Turns out it is easier than I thought it would be.

To group mesh, you need to select the object,

[![](https://dzwonsemrish7.cloudfront.net/items/1Z0x1S0a2Q0Q162E472q/Image%202018-05-26%20at%2011.02.30%20AM.png)](https://cl.ly/rrQ9)

Then go into Object > Group> Create New Group

This will group the mesh, It will be named “Group”. The selection around the mesh should have turned green.

![blender_single_cube_grouped_close_up](http://darryldias.me/wp-content/uploads/blender_single_cube_grouped_close_up.png)

The Outliner does not show the group, by default it is set to show “All Scene”.

![blender_cube_grouped](http://darryldias.me/wp-content/uploads/blender_cube_grouped.PNG)

Switching to “Groups” using the drop down.

![blender_outliner_droup_down](http://darryldias.me/wp-content/uploads/blender_outliner_droup_down.png)
![blender_outliner_showing_groups](http://darryldias.me/wp-content/uploads/blender_outliner_showing_groups.png)

Now when you can select the group in the Outliner, and it will select all the mesh that are inside the group.

Thank you,
If you have any questions leave a comment below