Posts

A very convincing attempt and rapport building using AI... presumably a scam.

Image
  None selected  Skip to content Using Ostrowick Mail with screen readers 6  of  11 Re: Philosophy, Consciousness, and Educational Insights Inbox Lillian GBriger 06:25 (6 hours ago) to  me Hi,  Professor Ostrowick, Can I ask you something? I went to a friend’s wedding a couple of days ago, and during the moment when they exchanged rings, it unexpectedly brought back memories of my first relationship and the marriage that ended about six years ago. It was a very painful time for me, and I didn’t expect it to affect me like this again. I thought I had already moved on, but that moment seemed to reopen something I hadn’t fully processed. The past couple of days have been really difficult. I haven’t left the house, and it’s starting to affect my ability to function normally and stay focused on my work. I was hoping you might have some advice on how to work through this kind of emotional setback, or how you personally deal with moments like this. I would really ...

Python learnings #2 - apache mod-python

This tells you how to install mod_python so that you can code for the web in python, in other words, stay in one language for the backend and frontend.   $ sudo apt-get update $ sudo apt-get install libapache2-mod-python libapache2-mod-python-doc Configure mod_python You need to create directory to host your python scripts assuming that your root html directory is /var/www. Type the following command: $ sudo mkdir /var/www/py $ sudo chown yourname:www-data /var/www/py Now, open /etc/apache2/sites-available/default and add following code: AddHandler mod_python .py PythonHandler hello PythonDebug On Note that PythonHandler is hello which is hello.py. Save and close the file. Restart Apache2 server. /etc/init.d/apache2 restart $ vi /var/www/py/hello.py The following simple mod_python program serves as a good test: import sys sys.path.append('/var/www/html') from mod_python import apache def handler(req): req.log_error('handler') re...