Difference between revisions of "User:Alvonruff"

From ISFDB
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Python3 Notes ==
 
== Python3 Notes ==
* [[User:Alvonruff/Python2.7_Futurize]]
+
 
* [[User:Alvonruff/mysql.connector]]
+
General outline of steps to move to Python3:
* [[User:Alvonruff/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 to python3
 +
* 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 can leverage 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 ==
 
== System Upgrade Notes ==

Revision as of 19:00, 22 April 2023

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 to python3
  • 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 can leverage 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