Ramblings

GoodReads

Reading
Recently Read

iCloud Drive Pains

I thought the move to iCloud Drive would be like everything Apple, easy. It was not. I moved a little over 300,000 files, and iCloud Drive was horrible, namely on iOS.

iCloud.com and macOS could read and write files just fine, however iOS seemed to be corrupt, like it couldn’t handle whatever index iCloud Drive works off of, it just stop. Dead. Full folders where empty, and no new syncing to updated/new files. The files existed, and even in Settings > General > iCloud Usage > Manage > Other Documents (iCloud Drive), I could see the proper hierarchy of “Encrypted Folder/File”, but they didn’t show up in the iCloud Drive app. I wen’t through all the loops to resolve this iOS inconsistency: turn iOS iCloud Drive on/off, turn iCloud on/off, to no resolve. I even went to far as to wipe the entire phone and do a recovery install. Still blank. The tasks just empty the drive, no refill, no re-sync.

Frustrated, I took everything out of iCloud Drive, I thought to start over, do it slowly, see where it fails and why. So via macOS I moved out all the files, the client was empty. Visiting iCloud.com to double check he deletion, it still had half the folder/files. Ah-ha so, definitely something corrupt or messed up with whatever master index my Drive was based on.

The task to delete this corruption was a pain. I went through the manual process of deleting said folders via iCloud.com. I discovered myself (and learned later in reading) that you can only delete around 30 files at a time via the web app. This was tedious. To a point a gave up. After some more reading, it turns out the only way to successfully clear this corruption/overload of the drive was to delete the data via iOS: Settings > General > iCloud Usage > Manage > Other Documents (iCloud Drive). Deleted the main “Encrypted Folder”‘s one by one, simple swipes left. After about 10 minutes everything cleared from iCloud.com.

Testing again, all was empty and new files were successfully syncing was working between macOS, iOS, and iCloud.com. Good. After some reading it turns out iCloud Drive is finicky with large number of files. (I find with computers “large” is relative, but I guess >300,000 is a lot).

Knowing that caused the problem, I spent a while reorganizing and cleaning my files. Lots of .zip’ing of projects and backups I know I’ll never touch (but have no reason to delete). I managed to the file number cut down to under a third, the nested folders reduced to around only four deep max, and opted to keep my huge server backups off of the cloud.

Uploaded again, and alas, everything works fine. Perfectly actually. The key I guess was to not overdue it, I think in it’s infancy iCloud Drive is not ready for advanced (file hoarders) users and their enormous file base. The modest amount it’s now handling seems to run fine without fail. I suppose the secondary lesson is to Archive (.zip) unnecessary and backup folders more often. My files were very well organized, but the number was very large and the hierarchy very deep. ZIP’ing all the backups and old project folders keeps things cleaner and works better when pushing to a cloud storage solution (and I’m sure a few hundred .zip’s instead of 200,000 folders and files improves Finder and Spotlight a bit).

A really annoying issue I foresee with any developer editing a page builder site, like DIVI, would be finding the Custom CSS that’s causing an issue. With DIVI you can add custom CSS at the module, row, column, section, page, and site levels. Furthermore, WordPress Apperence’s has it’s own “Custom CSS” section, and often “Custom header code” or “Custom CSS” plugins are commonly found. What a mess.

Be kind to your fellow developers, when writing custom CSS in a GUI backend, always start the block with a comment of where the CSS is found, i.e.:


/* CSS START - THE FOLLOWING CSS IS IN WP-ADMIN > DIVI > THEME OPTIONS */
...
/* CSS END */

Just spent too many hours working with AWS DMS – what a mistake. DMS doesn’t carry over or sync indexes, namely auto_increment For MySQL to Aurora. Meaning you have to prepare the schema yourself anyways, as well can’t let the sync actually sync because any new rows will make the targets auto increment wrong.

What a waste of time. Simple mysqldump And import is all that’s needed.

I forget what a big pond AWS is.

If I just took the time to wrap all the script I post into individual Plugins and uploaded them to WordPress, I might actually have a nice little library authored by myself and be contributing to WordPress community better.

I would, but I have no time. Maybe when Emma’s in college.

Apple iCloud Note.app cleaner interface with images

Apple iCloud Note.app cleaner interface with images

I’ve wrote before about how I opted to use Notes.app instead of superior Evernote or Microsoft One Note. I did so because the Notes.app is the cleanest and easiest for the Apple eco system, offering native support and reliance, keeping everything together under the iCloud umbrella.

Don’t get me wrong, I know Evernote is better. They’re a team of x people focusing on improving and inovating on one product. However, I do aim to keep things simple and native, so I’ve learned made Notes work for me.

One of the better ideas I did was create a custom indicator icon (about 256x) for each note. Using flaticon.com and photoshop it only took half an hour for the three dozen or so Notes I keep and maintain. Each note got the icon placed at the bottom of the note, above any other images or attachments. I also started each note with a single character line of ~ under the title, sort of like an underline. This reduced the useless excerpted text that clogged the UI.

No longer are my note titles lost in a sea of bland and crowded lines. I can easily jump to a note with upmost speed, looking for color and shapes. Hardcore Apple Note.app takers and referencers (like myself) will understand the significance of this.

“Purgeable” storage

Was mystified by the “Purgeable” storage:

These are real files, but Apple considers them expendable. They can be deleted immediately, without warning, in order to free up disk space, because they can always be downloaded again later.

via https://sixcolors.com/post/2016/10/purgeable-storage-sierra/

Now it makes sense. Very interesting in this every-cloud’ing digital world we’re in.

Finder Actions Slow In Icon View – Desktop Create Folder Taking Over 5 Seconds

Finder Actions Slow In Icon View – Desktop Create Folder Taking Over 5 Seconds

This was one of the worst OS X / mac OS problems I’ve ever had. Which isn’t that bad all things told for using it for over a decade.

Regardless, it was unacceptable. The Desktop and any Finder window in Icon view, along with a few other things (like the emoji window) were all taking around 5 seconds to do anything. Creating a folder, deleting a file, inserting an emoji. The problem was isolated in Finder, but it was one of the most annoying things to deal with.

I spent a good day looking around, most everyone suggested clearing cloudd and library caches. Which didn’t work. I reinstalled the OS, nothing as well. The only solution that worked for me was deleting basically all User related files, making my account almost a new user account:

~/Library … move the entire contents of each of the following subfolders

Application Support
Containers
Group Containers
Preferences

(not the folders themselves) to a new folder on the Desktop (not to the Trash.)

The account will then be pretty much in a clean state.

https://discussions.apple.com/thread/7166070?start=15&tstart=0

This gentleman was right. And it fixed the problem. I had spent almost a day trying to resolve the issue, so I didn’t do the rebuild folder-by-folder to find the culprit. My ~/Library has been the same for almost the decade I mentioned before, so it was chalk full of data from Apps I barely remember. Which is probably where the problem originated anyways.

I realize that I would of been better off just creating a new user account and manually moving my files over. But I was trying to find an easier way.. avoiding that and/or a reformat.

Well. I want a HomePod. Needed a speaker for the kitchen anyways.

Don’t even get me started, that new iMac Pro is awesome. I’ve got my eye on it for next year. The space-grey of it, and the black full-size keyboard. Common, it’s gorgeous.

My current 2013 MacBook Pro – I had to buy the top configured model at the time, it’s held out well, but it does hang up when I run virtual machines and virtual desktops.

These news iMac Pros are extreme, even the baseline model will be a little much for me.

WordPress App

Still have zero use for the WordPress app.. I keep trying but it doesn’t have custom post types, or meta inputs. I’m really understanding it’s more for the social consuming aspect than the solitary users like myself.

Going to replace the app with a Safari bookmark instead.

progressive JPGs

If you’re not using progressive JPGs for full-screen images, you’re doing something wrong.. The load experience (on slow connections) is significantly less awful.

Really not a fan of this React / JSX course. Usually new code intrigues me, I’m just cringing at this stuff.

https://gist.github.com/davidsword/5d8f5bbc6b71d0d9529738368b84ad9b

Newify

Newify

Blocked all news sites on my main machine. Installed Newify on my phone. Added all news sites into app.

What an awesome thing. No more unintentionally typing my favourite news sites into the address bar out of habbit. No more seeing annoying ads. Everything I want to read in a much cleaner, simipler and easier-to-read and organize format. I can never miss an article, and I can quickly dismiss the boring ones. Added bonus: subscribed to a Free Kindle Book blog that sends out posts of Free kindle books daily. Seriously, awesome.

myportfolio.com

I’m not one to care about Adobe’s non-stop spray of “new” products – however myportfolio.com does stand out to me as a pretty cool tool for creatives. Integrated into Behance  and your local Apps. A pretty neat solution. When I started designing years ago having a online portfolio was a huge deal, huge, so much so I started learning how to code so I could have my own, and eventually got good at it and became a web developer. Well now a days, tools like this, well it I wouldn’t of needed to code, they’re beautiful portfolio websites, ad free, social-network free,