From 18c5871c5708aa0f544c6e175f32960e8e9fc421 Mon Sep 17 00:00:00 2001 From: Matt Makai Date: Thu, 27 Oct 2022 09:28:16 -0400 Subject: [PATCH 1/3] removing GA, no more analytics needed. reducing page sizes --- .../15-application-dependencies.markdown | 4 ---- content/pages/03-data/25-oracle.markdown | 9 +++++++-- content/pages/meta/00-change-log.markdown | 4 ++++ static/img/fsp-fav.png | Bin 3294 -> 1622 bytes theme/templates/base.html | 1 - theme/templates/choices/oracle.html | 18 ++++++++++++++++++ theme/templates/sponsor.html | 1 - theme/templates/sponsor/assemblyai.html | 2 +- 8 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 theme/templates/choices/oracle.html diff --git a/content/pages/02-development-environments/15-application-dependencies.markdown b/content/pages/02-development-environments/15-application-dependencies.markdown index 4fe802b6a..927a3720d 100644 --- a/content/pages/02-development-environments/15-application-dependencies.markdown +++ b/content/pages/02-development-environments/15-application-dependencies.markdown @@ -158,10 +158,6 @@ so far to get up to speed on building and releasing your own packages. provides a collection of resources to understand how to package and distribute Python code libraries. -* [Alice in Python projectland](https://veekaybee.github.io/2017/09/26/python-packaging/) - is an amazing post that takes the reader from simple Python script - into a complete Python package. - * [How to Publish Your Package on PyPI](https://blog.jetbrains.com/pycharm/2017/05/how-to-publish-your-package-on-pypi/) is for developers who have created a code library they would like to share and make installable for other developers. diff --git a/content/pages/03-data/25-oracle.markdown b/content/pages/03-data/25-oracle.markdown index 98de1a59d..bf6b3cdc0 100644 --- a/content/pages/03-data/25-oracle.markdown +++ b/content/pages/03-data/25-oracle.markdown @@ -4,10 +4,15 @@ slug: Oracle sortorder: 0325 toc: False sidebartitle: Oracle -meta: Oracle Database is the market-leading database for mission-critical enterprise applications. +meta: Oracle Database is an enterprise relational database management system. -[Oracle](http://www.oracle.com/) Database is the market-leading database for mission-critical enterprise applications. It can run transaction processing, data warehousing, and multi-model database workloads such as machine learning, spatial, and graph. Recently, Oracle Database added support for JSON and blockchain use cases. The Oracle Database fully supports on-premises, cloud, and hybrid cloud deployments. +[Oracle Database](http://www.oracle.com/) is an enterprise +[relational database](/databases.html). It can run transaction processing, +data warehousing, and multi-model database workloads such as machine +learning, spatial, and graph analysis. Recent versions of Oracle Database +also added support for JSON and blockchain use cases, and the software +can be run in on-premise, cloud or hybrid environments. Oracle logo. diff --git a/content/pages/meta/00-change-log.markdown b/content/pages/meta/00-change-log.markdown index 04dcae5a6..94d366108 100644 --- a/content/pages/meta/00-change-log.markdown +++ b/content/pages/meta/00-change-log.markdown @@ -14,6 +14,10 @@ view commit-level changes via the on GitHub. ## 2022 +### March +* I decided to go so minimal that I removed the logo to make the site load + faster, and also got rid of some unncessary CSS on front page. + ### February * Still on break, but updated the header and footer. Also made some website tweaks to make it faster. diff --git a/static/img/fsp-fav.png b/static/img/fsp-fav.png index 28a9f6cdba5c76819b45a43513c1ba3ea0f50e5a..3a2f75910d6aa096361fbc946e014866a52ce4c7 100644 GIT binary patch literal 1622 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJS*a18X}-P;T0k}j0~@0d12d4t z2!srbQVgtMHUmQ#qcofy$EX2S!vs`g$N(f6M1eT1J(Gb2s=fwDgMbGR15JX^0htx4 zIk|}?`9%r=MfnQGdIoxiKslxbOmKY)3z!jXpd7=lE6<+*Db50q$YKTtZeb8+WSBKa zf`NfKCo?3XB*NFnDmgz_FEJ%QDOIl`w*aJz!KT6r$jnVGNmQuF&B-gas<2f8tFQvH zLBje<3ScEA*|tg%z5xo(`9-M;Wh+i#(Mch>H3D2mX`VkM*2oZx=P7{9 zO-#x!EwNQn0$BtH5O=0lWFlhy0lFT$5 zc7bFd+Q5MUaia~$1yLmV#{b(N&=t;0uiIl*E!mm&B4(J0k;NTp1eZ8kvU}SXvocS^>ERCRPRp z5Mxl(BAEjU5UYrw)Z+Y{QcyJ7nHw1ZfxaP#w9&_qM%Rka8Jd?_Vh0Q}uog67bX}1M zd2ALUOQUP`FUm{>CPuJZ4WYIni$T@f=!4QDQu>4>ey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Kzd2W{g6PA;s;UM6no*88kV^nNHZOYTuhOLqB z{kT9UNS}|P`YR0CgBcgV2mZeX$?HqLSd%Ht{-^?zaGUUU+jkTGb%CEhAU=Vt-8sJ! z$W(=dU6>odF1)a0HMi|&=v}Ea71b}R8pKt8dlMO@2&4sTqYlZ=bg|u^%5~4ue@rHhQ-F72 zTZWHuG5^R6?Ah>P`!f5QAoH@JV>8ms^PKTcR;&-G!wDcMCEp*RKNj!05kIBvsA{1Q z9OAHY1jNaUcTMU$o4aNpW<+PEwwOKSvJ<3Dcgr%d2LG7_g1@;KMUhH~=;ps-Zmn4t zT50rkPYiWWs{z`Az018pBH{QfNG{651wrhKW%za~?RzgzibHH9!DtmvoNG98(BrY7 zPiMc56C_ew);O1!E)Z%@8icYv6k*l}`qOf!UkXFQMU`5-t_6fIO92GHXX5Kvf9wFL zvy)OUxnV-~oI`%IU#5KB7h`)u1S8r>PB!+7yHjN==R9C1n+Z_%m3D4Wi-3c^n7|l3 z?2n8)>0bXB3IClB;p84|mOtG?TTKP#^t|^qm%Z$Z!I|}3S*B?K{NS_nqRMpyO;nek z=5$>e0arxs*w)M3HSs;F?v=AYM>ddt>YZjsOo+>5LvVN>+nDWUHe#eyoUc=bPdIj*T5ovrPA~Y$UmY)pq9G!L{E2G zqj36|%dU1uX&B-bM}aYyswiA3edh0*FKO8ewvS}N3H-2Z7{(l#C{(kruoG&zq#}(V zqr!n@fz`~MvNqgDlvg}D;SuzAT&(P1Yu*C>$QY{Z&|2B6V}wRT(JBP{u2;E7XLc{{ zb@MOODw`yKdkHgiNx77gw{E4mi=3=Er9JOA{Z*6aGhCMfTW!8MxGw?-?jE&(SU^Dy Xc}gx4>=lf^2?%X$WmIW!?ZLkROwjkG diff --git a/theme/templates/base.html b/theme/templates/base.html index a3bc041de..93e3ad132 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -19,7 +19,6 @@ {% block lower_banner %}{% endblock %} {% block bottom_banner %}{% endblock %} - {% block js %}{% endblock %} diff --git a/theme/templates/choices/oracle.html b/theme/templates/choices/oracle.html new file mode 100644 index 000000000..2ff0b969a --- /dev/null +++ b/theme/templates/choices/oracle.html @@ -0,0 +1,18 @@ +

What's next to get your app running?

+
+
+
+ {% include "choices/buttons/no-sql-datastore.html" %} +
+
+
+
+ {% include "choices/buttons/cascading-style-sheets.html" %} +
+
+
+
+ {% include "choices/buttons/javascript.html" %} +
+
+
diff --git a/theme/templates/sponsor.html b/theme/templates/sponsor.html index 9583a8c90..bc378aee8 100644 --- a/theme/templates/sponsor.html +++ b/theme/templates/sponsor.html @@ -1,5 +1,4 @@ {% if page.sortorder[0:2] == "01" or page.sortorder[0:2] == "02" or page.sortorder[0:2] == "03" or page.sortorder[0:2] == "04" or page.sortorder[0:2] == "05" or page.sortorder[0:2] == "06" or page.sortorder[0:2] == "50" %} -{% include "sponsor/assemblyai.html" %} {% include "sponsor/carbon.html" %} {% endif %} {% if false %} diff --git a/theme/templates/sponsor/assemblyai.html b/theme/templates/sponsor/assemblyai.html index 9ce17932c..431a8c567 100644 --- a/theme/templates/sponsor/assemblyai.html +++ b/theme/templates/sponsor/assemblyai.html @@ -2,6 +2,6 @@

Sponsored By

AssemblyAI logo -

The most accurate speech-to-text API. Built for Python developers.

+

The automatic transcription API loved by Python developers.

From 7e61b2fb188bd550abe15e4c45ba1015fb4bc8d5 Mon Sep 17 00:00:00 2001 From: Matt Makai Date: Sat, 29 Oct 2022 17:33:06 -0400 Subject: [PATCH 2/3] removing old 404 links --- content/pages/02-development-environments/19-git.markdown | 4 ---- content/pages/03-data/01-databases.markdown | 4 ++-- content/pages/03-data/02-postgresql.markdown | 2 +- content/pages/03-data/05-object-relational-mappers.markdown | 2 +- content/pages/meta/00-change-log.markdown | 6 ++++++ .../160518-install-postgresql-python-3-ubuntu-1604.markdown | 4 ++-- content/posts/170723-monitor-flask-apps.markdown | 2 +- .../posts/200308-financial-resources-developers.markdown | 2 +- 8 files changed, 14 insertions(+), 12 deletions(-) diff --git a/content/pages/02-development-environments/19-git.markdown b/content/pages/02-development-environments/19-git.markdown index 9fdab73f2..5bffca262 100644 --- a/content/pages/02-development-environments/19-git.markdown +++ b/content/pages/02-development-environments/19-git.markdown @@ -240,10 +240,6 @@ minimize merge conflicts. why at GitHub they do not use the git-flow model and provides an alternative that solves some of the issues they found with git-flow. -* [Git Workflows That Work](http://blog.endpoint.com/2014/05/git-workflows-that-work.html) - is a helpful post with diagrams to show how teams can create a Git workflow - that will help their development process. - * [Comparing workflows](https://www.atlassian.com/git/tutorials/comparing-workflows) provides a slew of examples for how developers on a team can handle merge conflicts and other situations that commonly arise when using Git. diff --git a/content/pages/03-data/01-databases.markdown b/content/pages/03-data/01-databases.markdown index ff780eff7..bad071a2c 100644 --- a/content/pages/03-data/01-databases.markdown +++ b/content/pages/03-data/01-databases.markdown @@ -100,7 +100,7 @@ Find out about Python applications with a MySQL backed on the dedicated To work with a relational database using Python, you need to use a code library. The most common libraries for relational databases are: -* [psycopg2](http://initd.org/psycopg/) +* [psycopg](https://www.psycopg.org/) ([source code](https://github.com/psycopg/psycopg2)) for PostgreSQL. @@ -263,7 +263,7 @@ speed on SQL if you have never previously used it. 1. Install PostgreSQL on your server. Assuming you went with Ubuntu run ``sudo apt-get install postgresql``. -1. Make sure the [psycopg2](http://initd.org/psycopg/) library is in your +1. Make sure the [psycopg](https://www.psycopg.org/) library is in your application's dependencies. 1. Configure your web application to connect to the PostgreSQL instance. diff --git a/content/pages/03-data/02-postgresql.markdown b/content/pages/03-data/02-postgresql.markdown index 34284a7e9..5e700895a 100644 --- a/content/pages/03-data/02-postgresql.markdown +++ b/content/pages/03-data/02-postgresql.markdown @@ -57,7 +57,7 @@ architecture. To work with relational databases in Python you need to use a database driver, which is also referred to as a database connector. The most common driver library for working with PostgreSQL is -[psycopg2](http://initd.org/psycopg/). There is +[psycopg](https://www.psycopg.org/). There is [a list of all drivers on the PostgreSQL wiki](https://wiki.postgresql.org/wiki/Python), including several libraries that are no longer maintained. If you're working with the diff --git a/content/pages/03-data/05-object-relational-mappers.markdown b/content/pages/03-data/05-object-relational-mappers.markdown index df5ce8bb0..6451908e8 100644 --- a/content/pages/03-data/05-object-relational-mappers.markdown +++ b/content/pages/03-data/05-object-relational-mappers.markdown @@ -64,7 +64,7 @@ there was a pressing reason. Python ORM libraries are not required for accessing relational databases. In fact, the low-level access is typically provided by another library called a *database connector*, such as -[psycopg](http://initd.org/psycopg/) (for PostgreSQL) +[psycopg](https://www.psycopg.org/) (for PostgreSQL) or [MySQL-python](https://pypi.org/project/MySQL-python/1.2.5) (for MySQL). Take a look at the table below which shows how ORMs can work with different web frameworks and connectors and relational databases. diff --git a/content/pages/meta/00-change-log.markdown b/content/pages/meta/00-change-log.markdown index 94d366108..bf6137a13 100644 --- a/content/pages/meta/00-change-log.markdown +++ b/content/pages/meta/00-change-log.markdown @@ -14,6 +14,12 @@ view commit-level changes via the on GitHub. ## 2022 +### October +* Starting to get back into updating this site again! Note that I'll probably + spend most of my side project time on [Plushcap](https://www.plushcap.com/) + but I'm removing old resources and adding new good ones on here to keep the + site maintained. + ### March * I decided to go so minimal that I removed the logo to make the site load faster, and also got rid of some unncessary CSS on front page. diff --git a/content/posts/160518-install-postgresql-python-3-ubuntu-1604.markdown b/content/posts/160518-install-postgresql-python-3-ubuntu-1604.markdown index e5d4338cc..baf38465d 100644 --- a/content/posts/160518-install-postgresql-python-3-ubuntu-1604.markdown +++ b/content/posts/160518-install-postgresql-python-3-ubuntu-1604.markdown @@ -12,7 +12,7 @@ headeralt: PostgreSQL and Ubuntu logos. Copyright their respective owners. [PostgreSQL](/postgresql.html) is a powerful open source [relational database](/databases.html) frequently used to create, read, update and delete [Python web application](/web-frameworks.html) data. -[Psycopg2](http://initd.org/psycopg/) is a PostgreSQL database +[Psycopg2](https://www.psycopg.org/) is a PostgreSQL database driver that serves as a Python client for access to the PostgreSQL server. This post explains how to install PostgreSQL on [Ubuntu 16.04](/ubuntu.html) and run a few basic SQL queries within a Python program. @@ -110,7 +110,7 @@ found in the ## Installing psycopg2 Now that PostgreSQL is installed and we have a non-superuser account, we -can install the [psycopg2](http://initd.org/psycopg/) package. Let's +can install the [psycopg2](https://www.psycopg.org/) package. Let's figure out where our `python3` executable is located, create a virtualenv with `python3`, activate the virtualenv and then install the psycopg2 package with `pip`. Find your `python3` executable using the `which` command. diff --git a/content/posts/170723-monitor-flask-apps.markdown b/content/posts/170723-monitor-flask-apps.markdown index b3cd8b760..4ef02bfc6 100644 --- a/content/posts/170723-monitor-flask-apps.markdown +++ b/content/posts/170723-monitor-flask-apps.markdown @@ -165,7 +165,7 @@ The above [Jinja2](/jinja2.html) template is basic HTML without any [embedded template tags](http://jinja.pocoo.org/docs/latest/templates/). The template creates a very plain page with a header description of "PUBG so good" and a GIF from this -[excellent computer game](http://store.steampowered.com/app/578080/PLAYERUNKNOWNS_BATTLEGROUNDS/). +[excellent computer game](https://store.steampowered.com/app/578080/PUBG_BATTLEGROUNDS/). Time to run and test our code. Change into the base directory of your project where `app.py` file is located. Execute `app.py` using the `python` diff --git a/content/posts/200308-financial-resources-developers.markdown b/content/posts/200308-financial-resources-developers.markdown index fb0619334..80f2560d0 100644 --- a/content/posts/200308-financial-resources-developers.markdown +++ b/content/posts/200308-financial-resources-developers.markdown @@ -77,7 +77,7 @@ macroeconomic data trends. is well-written, straightforward and accessible, particularly because it clearly targets its software developer audience. -* [Don't Quit Your Day Job](https://dqydj.com/) uses a ton of metrics +* [Don't Quit Your Day Job](https://dqydj.com) uses a ton of metrics and statistics to ground their articles on financial topics that are often relevant specifically to software developers. For example, the article on From daa9782d1a42b282a5c4489ecdb3aad19bb9aaa8 Mon Sep 17 00:00:00 2001 From: Matt Makai Date: Fri, 14 Apr 2023 20:44:27 -0400 Subject: [PATCH 3/3] removing malicious link --- content/pages/02-development-environments/02-vim.markdown | 4 ---- 1 file changed, 4 deletions(-) diff --git a/content/pages/02-development-environments/02-vim.markdown b/content/pages/02-development-environments/02-vim.markdown index 10acf60ef..f37c04a5d 100644 --- a/content/pages/02-development-environments/02-vim.markdown +++ b/content/pages/02-development-environments/02-vim.markdown @@ -108,10 +108,6 @@ you are unfamiliar with. * [Vim and Python](https://justin.abrah.ms/vim/vim_and_python.html) shows and explains many Python-specific .vimrc options. -* [Vim as a Python IDE](http://liuchengxu.org/posts/use-vim-as-a-python-ide/) - shows a slew of plugins and configuration options for coding with Python - in Vim. - * This [repository's folder with Vimrc files](https://github.com/amix/vimrc/tree/master/vimrcs) has example configurations that are well commented and easy to learn from.