User:Alvonruff

From ISFDB
Jump to navigation Jump to search

Founder of the ISFDB.

Python3 Notes

General outline of steps to move to Python3:

  • Python3 does not tolerate mixed tabs and spaces. Convert tabs in all files to 8 spaces.
  • Use User:Alvonruff/Python2.7_Futurize to perform a mass conversion from python2.7 syntax to python3 syntax.
  • The next two items need to be done together, as there is no mysql-connector-python for python2:
    • Update to the official MySQL User:Alvonruff/mysql.connector. There is no python3 support for MySQLdb, which is our current connector. Moving to a new connector is a prerequisite.
    • Update to python3. This leverages the futurize work, by removing the "from __future__" lines.
  • Update all character sets. Final procedure still TBD.
    • Change the default charset in MySQL
    • Repair strings which have URL encodings in MySQL

System Upgrade Notes

Details on how to bring up a LAMP stack (on two different OSs), and how to setup https:

User:Alvonruff/Test Page

Other Loose Notes

Obituary Sources

Reading List