Mac OS X, Programming

pydotplus on macOS

I’ve been playing around with SciKit-Learn’s decision tree regression function. In one of the examples I was working on, they provided a demo script to print out a jpg of the decision tree. Cool! Unfortunately, my system didn’t have pydotplus installed. I’m using Anaconda, so issuing the following command took care of that issue: conda

Mac OS X

Move to Trash Deletes Immediately

I had this issue when I first updated to macOS Mojave. To solve it, I performed the following command in Terminal: sudo rm -Ri ~/.Trash [enter your password] Then, Log out. Log back in. Move to Trash now works as expected. Note: You can implement Delete Immediately… by holding down Option-Command-Delete.

General, Sports

NBA 2018 Bracket

Okay, the NBA bracket challenge has a horrible interface! As a reminder for future years, don’t use this! Go with ESPN or someone else. Having said that, here’s my NBA bracket. I think it shows my picks except for the Blazers, who got their asses swept by the Pelicans, so zero points there! Amazing that

General

NHL 2018 Playoff Bracket

Here it is. Haven’t followed much hockey this year but going with the heart! P.S. I do have a second bracket with Tampa Bay taking the east and the Preds winning it all but I’m not posting that one 🙂

Programming

Sending email with PHPMailer

It appears most of the examples out there relate to version 5.2. The current version is 6 and I had to make the following change in order to get it to work. Everything else from the examples worked. Change: $mail = new PHPMailer(); To: $mail = new PHPMailer\PHPMailer\PHPMailer(); I’ll post (or edit this post) a

General

FTP on macOS High Sierra

As you may have noticed, FTP is no longer a part of macOS High Sierra. If you are in the Terminal, you’ll get something like this: Norms-iMac-Pro:~ norm$ ftp -bash: ftp: command not found An Apple Forum’s post has this reasoning. Fortunately, there is Homebrew to the rescue. As pointed out in that post, you

Mac OS X, Programming

Installing GCC-7.3.0 on macOS High Sierra

I talked about getting GCC-5.3.0 running in a previous post. As part of some benchmark testing I’m doing for a new computer build, which I hope to write about in a future post, I ventured back into the world of parallel programming. I used the excellent instructions from Solarian Programmer found here to get GCC-7.3.0

Scroll to Top