• Welcome to ROFLMAO.com—the ultimate destination for unfiltered discussions and endless entertainment! Whether it’s movies, TV, music, games, or whatever’s on your mind, this is your space to connect and share. Be funny. Be serious. Be You. Don’t just watch the conversation—join it now and be heard!

off-topic Community chat

  • Thread starter Thread starter Cpvr
  • Start date Start date
  • Featured
For threads discussing subjects unrelated to the main forum topics.
It's 11:30 PM and I am sleepy and tired. It's way past my bedtime for a week day. Not sure what is keeping me awake. I have a working day tomorrow and need to get up early in the morning. Sometimes I wish that we had more than 24 hours in a day to do all that we have to do and still get enough to relax and enjoy. My to do list is always overflowing.
 
I tend not to go to bed before those hours because of Daylight Savings Time. The stock market doesn't open until 1130 PM, which is an hour later than usual.
In a working week, I hit the pillow around 10_10:30 PM. I have to wake up by 5-5:30 AM to be able to finish all the morning chores and head to work. I have a long weekend here. We are closed till Wednesday and I can afford to stay awake a little late. It's 11 PM and I can be online for a while. I don't want to miss my morning exercise.
 
How's that going?
I went 8 hours straight, accidentally skipping a meal, making a XenForo add on completely with ChatGPT. I wanted to see if it was possible to make a more complex add on, over what I have made previously before, with only AI (and some manual tweaking, that I had it check for compatibility issues or to see if it needed to be optimized for better performance with PHP 8.3 as I'm still learning PHP 8~ functions over what I knew with PHP3/4).

It's nothing that you will visibly see here as it just works in the background Further, it's also not anything that would be useful to any other forum anyway, since its only mission is to clean up my edit history as I'm a habitual editor on a single post for the first 1-2 minutes, sometimes making up to 10 edits, because I don't proof my writing as I should before submitting a post the first time.

I thoroughly tested it on a developer installation, and I was confident enough to deploy it on the live installation after everything I could check for was debugged.

That said, I didn't go to the extent that I did before with smaller add ons that do small tweaks to make it installable, disableable, or uninstallable, as it's not required for this case. Doing that would also add to the complexity of using XenForo's cron job system. It also doesn't appear in the installed add ons list. It merely just sits in a file and includes the necessary XenForo framework initialization file (XF.php) to make it work when needed, or when a operating system/cron job is called.

Suffice it to say, I learned a great deal out of the process. One takeaway is that ChatGPT knows the XenForo framework, so it can help me debug issues I have later in writing add ons manually until I'm to a point where I don't need to rely on it and can spot what I'm looking for on my own to fix.
 
That's pretty neat, I'm glad it worked out.
Yeah, it was to see how powerful it is to know what to look for and debug XenForo's framework too, when it makes a mistake, of course.

Checking boxes and learning along the way after working with it and will hopefully be able to make small add ons of my own, on my own, in just a matter of time.
 
Back
Top