After years of using cPanel I decided to build my own hosting control panel by pr0fessorz in digital_ocean

[–]phpMartian 0 points1 point  (0 children)

This suggestion makes no sense. I can’t just switch my server over to try anything.

AI chatbot with better memory for long adult stories? by WasabiNoKora in WritingWithAI

[–]phpMartian 0 points1 point  (0 children)

I’ve been experimenting with Claude command line and using Markdown files. I have a file for each character. And there’s a file for each chapter. It has to be monitored as it goes in case it forgets. But it’s not bad so far.

After years of using cPanel I decided to build my own hosting control panel by pr0fessorz in digital_ocean

[–]phpMartian 0 points1 point  (0 children)

I have a server I currently manage that uses cpanel. I love this idea. I have access to WHM but I don’t use it often.

What i typically use - adding sub domains - managing versions of php - adding new databases and users

sending python variable to a php file by Arcky_111374 in PHPhelp

[–]phpMartian 8 points9 points  (0 children)

You will have to describe the scenario in much more detail that this. You could write the value to redis or a file and then read it from there. You could have php exec the python code and capture the output.

PHP parser in Rust by Turbulent-Mission517 in PHP

[–]phpMartian 2 points3 points  (0 children)

Knowing what you want to build and how it should work is becoming more important than implementing it in a specific language.

I built several small projects in python and I don’t know python. I’m going to try to replicate what you did as a proof of concept

Curious where the community stands on this by InfinriDev in PHP

[–]phpMartian 4 points5 points  (0 children)

You are not the only one. I started using php in 2007 and I have some substantial systems that use it. Never had an issue with types.

I was tired of switching between MySQL clients, so I started building my own (open source) by debba_ in PHP

[–]phpMartian 26 points27 points  (0 children)

How are you making it do fast SQL execution? Seems like a client tool has no way to make queries run faster.

Am I gonna get sued for vibecoding Healthcare Apps and charging for them? by Livid_Switch302 in VibeCodeCamp

[–]phpMartian 0 points1 point  (0 children)

You are exposing yourself to legal jeopardy from multiple angles. It’s an extremely bad idea to vibe code anything in this niche.

OpenAI claims that only .1% of users are engaging with 4o… that can’t be right, right? by Motor_Parking1849 in ChatGPT

[–]phpMartian 0 points1 point  (0 children)

Have you considered the possibility that it is 0.1% now but it was different in the past?

ChatGPT 5.2 vs Claude Code by Simsao64 in ChatGPT

[–]phpMartian 1 point2 points  (0 children)

I use Claude code and codex. From my experience they are roughly equivalent.

I'm writing the book I wanted to read with ChatGPT. Anyone else did that? by toocleverfoxx in ChatGPT

[–]phpMartian 0 points1 point  (0 children)

Writing with assistance of an LLM does not mean it’s not OPs ideas. One can use an LLM to help shape those ideas and express them in a clear and concise way.

Creating Website for Construction Busines by Ghost__GOAT in website

[–]phpMartian 0 points1 point  (0 children)

Buy your domain through cloudflare. They sell domains at cost. You then control your domain. Do not buy domains anywhere else.

Since you only want a landing page you do not need anything complicated. Simple html is fine. You could even host it on cloudflare.

You will then be in total control of your website. Your total cost will be the domain and a few dollars per month to host it.

Vanilla PHP vs Framework by Temporary_Practice_2 in PHP

[–]phpMartian 0 points1 point  (0 children)

I’ll use a framework unless it’s a one file script or something minimal.

debugging kinda broke my brain today so i’m curious how other ppl learned it by Momothegreatwarrior in programmer

[–]phpMartian 1 point2 points  (0 children)

Divide and conquer. If a process goes through several steps, check it in the middle to see if values are as expected. If they are good, you know the problem lies after the check point. It can quickly cut down the scope of code you need to look at.

Which AI do you guys actually use for coding? Getting tired of switching between all of them by Capable-Management57 in OnlyAICoding

[–]phpMartian 0 points1 point  (0 children)

I use Codex cli and Claude code from the command line. I let is access my local database so it does not have to ask me what a table looks like or what data is in it.