Debug: Database connection successful
You are not logged in.
For offtherock re post in Python ... https://newmars.com/forums/viewtopic.ph … 55#p233855
Thanks for taking a look at the program!
I agree that most of the trends are toward object oriented programming.
My guess is that it helps to be introduced to object from the beginning, as you may well have been.
Actually, I didn't specify anything to Gemini. It simply created the program to my specifications for function, and used the standard Phthon patterns. You had mentioned teaching Python, so I can well understand how you would be inclined toward object.
If you have a bit of free time and want to start a class in Python (with emphasis on object) I would be happy to help in whatever way I can. We have no one in the group at present who shows signs of being interested, but I am happy to bring in new members who might wish to take a class with your guidance.
(th)
Offline
Like button can go here
Nah i used to be for functional programming.
But slowly started to see how object programming really makes sense.
Especially in big systems.
It just needs to be introduced to people correctly.
I dont know what it means to start a class in python. Like, what that actually entails.
Hasn´t the class already started, we are already talking and learning.
Last edited by offtherock (2025-08-26 17:49:17)
Offline
Like button can go here
For offtherock re #27
I agree that object makes sense for big systems.
I would even think it makes sense for two people working on a project.
The idea of not having global variables may be separate from object programming.
The original programs (active when I was entering the work force) had ONLY global variables. Gradually the idea of local vs global variables crept in.
Now I understand the preference is for no global variables at all, and passing values from procedure to procedure.
(th)
Offline
Like button can go here
For offtherock ...
We have members with a wide variety of backgrounds and interests.
I would like to suggest you investigate to see if Spaniard might have written posts that might be of interest.
The world view that Spaniard brings to the forum is similar in some respects to yours.
I would like to see how the two of you interact.
Louis is another (former) member whose writings you might enjoy reviewing.
(th)
Offline
Like button can go here
thanks i posted on one of his subjects.
Offline
Like button can go here
For offtherock re suggestion for a site to host images!
Thanks for that suggestion! It is good to know of all such sites.
I'm still testing the phpBB3 site. Here is a link to another of Dr. Johnson's images:
http://40.75.112.55/phpBB3/download/file.php?id=3
At the moment I am unable to serve the actual image in display mode. If you read the conversation with Gemini, you'll see that there may be a way to serve the images directly by modifying the htaccess file to allow NewMars to pull the files. Do you have any experience with htaccess?
(th)
Offline
Like button can go here
htaccess sounds like apache.
i abandoned apache a long time ago for nginx.
and did not regret that.
nginx has much more understandable configuration setup system.
and also, every request is served by creating only a thread, not an entire process like apache does.
So nginx is much better at dealing with sudden traffic peaks.
so.. no, havent dealt with htaccess apache configuration files for 15 years.
am still having nightmares about it.
almost.
Last edited by offtherock (2025-08-29 12:40:57)
Offline
Like button can go here
Hi offtherock!
Thanks for your comments about htaccess ... it is indeed part of the Apache system that Azure created for me back when we were working on a software upgrade for the forum. The host at Mars Society runs Apache, so (of course) we needed to replicate their system.
I'm glad to know there is an alternative web server to consider.
In the mean time, Apache is what we have. We can't change anything because we have other changes in the works for the forum, if we ever can find the time. You may have noticed "Like button can go here" on every post. That was a little marker we set while updating FluxBB from 2012 to 2024. We didn't have time to do more than set that little marker.
Now both kbd512 (webmaster) and I are too busy to do anything more.
(th)
Offline
Like button can go here
the server, how do u guys access it. do u ssh into it or what.
ssh is brilliant. by the way.
Offline
Like button can go here
There are two answers to your question ...
kbd512 uses ssh to log into the Mars Society server.
I use ssh to log into the test site on Azure.
We also use the file transfer version of that tool, but I can't remember the name of it. I have to look it up every time I use it.
As a small detail, we use Dropbox as a staging location because Dropbox and the ssh file transfer utility play nicely together.
So I develop on my local machine, send to Dropbox, and kbd512 performs the transfers into the Mars Society server.
(th)
Offline
Like button can go here
I just wanna share some dreams.
Always dreaming.
The rpi5.
https://thepihut.com/products/raspberry … 2414431617
This cooling can be used only passively as well.
https://thepihut.com/products/argon-thr … berry-pi-5
Better to turn the computer on the side with this for the ventilation is horizontal.
Which fits when i think about it for the rpi is.. horizontal.
And with 2x500gb ssd. Good for backup making.
https://shop.pimoroni.com/products/nvme … 4434961491
Then by catting all the files into one big file, and then obfuscating it using this library i found.
Can all be done by just running a bash function.
Makes the response time of the website, super fast.
Plus low load on the server, for that same reason.
Then there is some possibility of Poe, power over ethernet.
Then the lan cable would be power as well.
Meaning, super clean setup.
Only one cable, lan cable.
Except for the one from the backup battery.
And thats just a cable for one of the rpi's for its just an information cable.
But there are some complexities involved with poe and im not sure if its worth it.
Then theres more but enough about that for now.
Yeah let me know if I can help.
Last edited by offtherock (2025-08-30 05:23:21)
Offline
Like button can go here
For offtherock re question fo GW Johnson...
Your question is ** very ** interesting, but I will invite others than Dr. Johnson to try to answer.
Dr. Johnson is an "aerospace" engineer, and not one who specializes in materials, except as he has reported in specific contexts.
You have the opportunity to create an educational topic on materials for structures like rocket tanks, if that would be of any interest to you.
To my knowledge this form does not have a materials engineer in the membership. If there is a reader "out there" who would be interested in helping with offtherock's question, please see the Recruiting topic for procedure.
The capabilities of 3D Printing are at their very earliest stage of evolution. Ultimately nanotechnology is where 3D printing will end up.
The field of nanotechnology is advancing rapidly on multiple fronts.
(th)
Offline
Like button can go here
You have the opportunity to create an educational topic on materials for structures like rocket tanks, if that would be of any interest to you.
(th)
How would I go about doing that?
Offline
Like button can go here
Here is a link to another of Dr. Johnson's images:
http://40.75.112.55/phpBB3/download/file.php?id=3At the moment I am unable to serve the actual image in display mode. If you read the conversation with Gemini, you'll see that there may be a way to serve the images directly by modifying the htaccess file to allow NewMars to pull the files. Do you have any experience with htaccess?
(th)
Where is the conversation with Gemini?
Offline
Like button can go here
Hi Offtherock !!! Thanks for reminding me to put the link inot a post like that one...
Here is the post: https://newmars.com/forums/viewtopic.ph … 45#p233945
I was reporting to SpaceNut on my efforts to solve the image display problem, and forgot to show you the link to that report.
(th)
Offline
Like button can go here
Offtherock, tahanson43206 has direct server placement control or upload to it so it is hosted on it and then can be linked for image display.
Offline
Like button can go here