Recent Comments

There are a total of 2678 comments on this site.
Below are the most recent 30 of them, newest at the top.

rohit pandey on How to split a ZIP file into multiple parts on macOS and Linux

Monday, 21st January 2019

Hello. I am emailing to ask whether you are open to sponsored posts opportunities on Your website. We are specially interested in the link placement in existing post. How much do you charge for the link placement in existing posts? I am looking for relevant sites & blogs for my client's branding and Links building campaigns. I will provide you high quality & 100% relevant content to your site with one do follow the link to my client's website. Please let me know how much do you charge per post. I will pay you through PayPal/ Payoneer or your preferred payment method. Looking forward to building long-term business opportunities with you. Best Regards, ROHIT PANDEY

Jay Versluis on How to run Commodore BASIC as a Scripting Language on macOS

Monday, 14th January 2019

Oh wow, thank you for the tip - that's a great way to use modern text editors for BASIC input. I love the idea of TEM lines that don't make it into the C64 memory, yet they're still part of the text file. How exciting, thank you for sharing :-)

GDS on How to run Commodore BASIC as a Scripting Language on macOS

Monday, 14th January 2019

My favorite use is to edit large BASIC files as plain text, "myprog.bas" with some empty lines for section separation and formatting, and lots of REMs for annotation, which don't even need to have line numbers. (The REM lines, that is. Program lines still need numbers) Then, at the end of the file I add a line SAVE "MYPROG" (no line number) In my Mac Terminal, I type "cbmbasic myprog.bas" and the file "MYPROG" appears in my MacOS directory, but it is a Commodore file. I can then open that file on an emulator or on a real C64 using my Ultimate II+ cartridge.

Jay Versluis on How to set the text and background colour on a C64

Monday, 14th January 2019

You're very welcome, David :-)

David Bradley on How to set the text and background colour on a C64

Monday, 14th January 2019

Thanks for your efforts! They are much appreciated!!!

Jay Versluis on How to install MySQL on Mac OS X El Capitan

Thursday, 20th December 2018

Sounds like you may have installed mysql rather than the mysql-server package. Could also be that MySQL is installed properly, but it's not actually running. You can use the Activity Monitor to search for the process, see if it's running. These two links may be helpful: https://stackoverflow.com/questions/11657829/ and https://stackoverflow.com/questions/15450091/.

sktrinh on How to install MySQL on Mac OS X El Capitan

Tuesday, 18th December 2018

hi, thanks for the write-up. I am getting an error 2002: HY000: can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when I type in mysql. However, mysql --version and --help works. mysqladmin gives me the long list like you mentioned. I tried some solutions posted on stackoverflow like chown and ln -s but I am still getting the error. I reinstalled as well, but no luck. I can't find a working solution.

Jay Versluis on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Monday, 17th December 2018

Great news - I'm so glad it worked for you too! I suspect that under the hood, the Classic Editor (as it's now known) has quite a few bugs. Maybe that's why the WordPress team were so keen on removing TinyMCE. Still, for me, Gutenberg is not what I need and I'll stick with the Classic Editor until I find a new content management solution.

pba on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Monday, 17th December 2018

hay, I have faced this problem. after search on google i got this article and read carefully than take an action, I succeed . thanks for you important sharing .

Jay Versluis on How to fix Spotlight Search stop it from disappearing on macOS

Saturday, 15th December 2018

Thank you! I've read about re-indexing and didn't want to believe that was a solution (when I tried it last, it took forever too). And meddling with .plist files is more like a punishment for developers, let alone users. I found this solution in one of the Apple Forum threads. One tick box solves all our problems - #RESULT

billpennock on How to fix Spotlight Search stop it from disappearing on macOS

Saturday, 15th December 2018

That was fabulous, so much easier than the two other "solutions" which didn't seem to work for everyone. reindexing takes forever only to find it didn't help some people and deleting the .plist seems invasive. This worked like a charm, how did you ever find it?

Jay Versluis on How to disable JetPack nag messages in the WordPress Admin interface

Thursday, 13th December 2018

Ah, thank you so much for clarifying this - it makes perfect sense. I would have probably seen those warnings with DEBUG mode on, which was not active. I really appreciate you taking the time to share this :-)

Jay Versluis on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Thursday, 13th December 2018

I posted this when the Classic Editor was all we ever had in WordPress :-)

Bharat Vala Patel on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Friday, 7th December 2018

To resolve the Classic Editor in Wordpress 5.0, simply install the plug-in https://wordpress.org/plugins/classic-editor/

Kaji on How to disable JetPack nag messages in the WordPress Admin interface

Thursday, 6th December 2018

The second argument in a hook is a function name ("callback") to invoke. In this case, __return_false() is a special function in WP Core that does exactly as it says—returns FALSE. The reason it was likely working in spite of the mistake is that a bad function name would produce a notice/warning, but not a fatal error, which in either case is enough to change the TRUE value originally passed to the filter to something other than TRUE, causing it to abort execution.

Clive on How to add something to the_content in WordPress using PHP

Sunday, 2nd December 2018

Thanks, using phpMyAdmin changes every record, I am trying to add a #hashtag to a post then when there is a reply add that same hashtag to each comment after it has been made, I think maybe I need to look more closely at the WP Query and the Header-Ad.

Jay Versluis on How to add something to the_content in WordPress using PHP

Sunday, 2nd December 2018

Hi Clive, glad to hear you liked it! There's benefits to both methods, so with this one, the benefit is that changes are applied on the fly and are not persisted to the database. This is useful if you may want to tweak the_content() differently at some point in the future. In my example, I wanted to add a link and icon to a podcast URL, but if that URL ever changes, it wouldn't be beneficial for me to have it saved to the database. But then, every use case is different. For changes to persist in the database, you need to execute a command. I've only used it for my own options in themes and plugins. As an example, take a look at my 2013 Header Ad plugin on GitHub: https://github.com/versluis/2013-Header-Ad. Examine a file called p2013-header-ad.php, which is the main file that can load and save content from/to the database. That's not applicable to the_content() though. To make a persistent change to the_content() in the database, you can do one of two things:

  • either do a raw SQL find/replace using phpMyAdmin as outlined here: https://wpguru.co.uk/2014/12/how-to-find-and-replace-in-mysql-with-phpmyadmin/
  • or write a loop and read/write content using the WP Query object, described here: https://codex.wordpress.org/Class_Reference/WP_Query
Hope this puts you on the right track :-)

Clive on How to add something to the_content in WordPress using PHP

Sunday, 2nd December 2018

Found this really interesting but it does only add to the view of the post, it would be great to know how to add this to the database table.

Jay Versluis on How to create sequential files on your Commodore C128

Saturday, 1st December 2018

Oh nice - thank you for sharing! And have fun retro coding those lovely old Commodore machines :-)

Joe on How to create sequential files on your Commodore C128

Friday, 30th November 2018

I appreciate your posting this; I've been relearning Commodore BASIC and these pages have helped. Something I wanted to add for the next person reading this, I learned today if you try to use a string variable (let's say, f$) for your filename, you can't just replace the filename with your variable like in these statements: 5 input "filename";f$ 10 dopen#1,f$,w (omitting ",w" for append/read) Even if you include "@" in your string, for some reason it won't work. You will have to type it out as: 5 input "filename";f$ 10 dopen#1,"@"+f$,w I don't know why the interpreter won't accept it but it caused a little heartache until I realized it. Thanks again!

Jay Versluis on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Thursday, 29th November 2018

That's fine, they usually don't contain much other than the default lines. If you're game, try adding the above concatenate script line and see if it fixes your problem. If it doesn't, then remove it again.

kielhanson on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Thursday, 29th November 2018

I can't find anything on this in my web-config file - in fact mine has hardly anything in it!

Jay Versluis on How to fix “can’t log into YouTube from Safari” on macOS

Saturday, 24th November 2018

Hi Judy, the database is just a fancy way of storing data. Each app in macOS is confined to its own set of data, so clearing out the database in Safari will only affect Safari.

Subh on How to fix the Visual Editor or Text Editor in WordPress when it’s not working

Thursday, 22nd November 2018

Not helping me!

Judy Weintraub on How to fix “can’t log into YouTube from Safari” on macOS

Wednesday, 14th November 2018

i have this problem, just started recently, November 2018. i understand the solution offered, to delete the cookies for youtube. i have High Sierra and it has slightly different wording in the privacy preferences. It says 'cache, cookies, databases, local storage.' my question is, i don't know what databases means and i want to make sure i don't delete my playlists and favorites or bookmarks, or history.

Jay Versluis on How to fix duplicate packages in yum

Saturday, 10th November 2018

Great, glad to hear it was helpful!

Jay Versluis on How to download older versions of macOS after Mojave was released

Saturday, 10th November 2018

Thank you so much for bringing this to my attention, Dan! I've corrected the article.

Jean Koepsel on How to fix duplicate packages in yum

Friday, 9th November 2018

Thanks for the information above. And this solves my problem described below: I have the situation that the server is experiencing problems with duplicate packages in the Yum update. How to solve this in a way that does not have to cause a stop, or that causes a problem in the server, since it is an internet server, proxy and email ... Until I found something, but they are very old postings, so I am in doubt if they still apply to the current version of CentOS 7.5.1804 and there is no information if it can cause a problem if I have the risk of removing some package and or configuration in use, and cause the system shutdown, or other serious problem. Here's the situation in .txt file in Google Drive: https://drive.google.com/file/d/18YqqmqX5neEhXSIcVWc-hpsb-v7qN2UM/ Thanks in advance.

Jean Koepsel on How to remove duplicate packages with yum

Friday, 9th November 2018

Thanks for the information above. And this solves my problem described below: I have the situation that the server is experiencing problems with duplicate packages in the Yum update. How to solve this in a way that does not have to cause a stop, or that causes a problem in the server, since it is an internet server, proxy and email ... Until I found something, but they are very old postings, so I am in doubt if they still apply to the current version of CentOS 7.5.1804 and there is no information if it can cause a problem if I have the risk of removing some package and or configuration in use, and cause the system shutdown, or other serious problem. Here's the situation in .txt file in Google Drive: https://drive.google.com/file/d/18YqqmqX5neEhXSIcVWc-hpsb-v7qN2UM/ Thanks in advance.

Dan Mahoney on How to download older versions of macOS after Mojave was released

Thursday, 8th November 2018

Mountain Lion and Lion are not available on disk -- they will sell you a download code from the mac app store.