Skip to main content

Celtics close out Cavaliers in Game 7

Boston won

I am a Celtic fan, mainly due to Kevin Garnett. Many of the game recaps on Celtics and Cavaliers game 7 can be read online. Here, I am just going to point out two highlights of the game.

First, the game was nearly turned on one play, as James stole the ball from Pierce and raced down the court for a dunk that cut the deficit to 89-88 with 2:20 to play. Next, James missed a 3-pointer, and P. J. Brown hit a 20-footer to give Boston a 3-point edge with 1:21 left. In the next cavaliers' possessions, it was 88-91, James could have taken another 3-point instead he passed to his fellow teammates, and the rest is history. If that one went in then the series will be different today.

Second, Lebron James is indeed a winner but he has to remembered that Pierce waited nine years for Kevin Garnett and Ray Allen to arrive. Similarly, Kobe Bryant can play with Paul Gasol only this year.

Anyway, Pistons and Celtic are in Eastern Conference Final 2008. This conference final is Pistons' sixth straight conference finals. Let's see if Celtics can fence off Piston this year.

Comments

Popular posts from this blog

Web App Scaling with Flask Blueprint and Namespaces

A real-world Flask-RESTX-based API  may have multiple namespaces. The best practice for scaling a web application is to use a blueprint along with multiple namespace. The namespace is used to group a set of CRUD operations for a specific resource.  Blueprint can be used to combine (mixing) multiple namespaces. Here’s an example directory structure: project\ ├── app.py # Application file ├── apis #    ├── v20 # API directory    │   ├── __init__.py    │   ├── specs.py # API namespaces and REST methods    │   ├── steps.py # API namespaces and REST methods    └── v20bp.py # API blueprint file Here is an example app.py. Using a blue print allow you to mount your API on any url prefix. from flask import Flask from apis.v20bp import blueprint as api app = ...

Documenting REST API with Flask-Restx

This tutorial aims to use the Flask-restx library to implement and to document the REST API. Other similar libraries in the Flask framework include the   flask_resful and  Flask-restplus libraries.  The generated document is shown below.  All the operations are group into a default namespace. All the CRUD operations get, create, and update (except for the the delete operation) are displayed  below.  References -  https://flask-restx.readthedocs.io/en/latest/ -  https://preslav.me/2018/12/02/designing-well-structured-rest-apis-with-flask-restplus-part-1/ -  https://www.freecodecamp.org/news/structuring-a-flask-restplus-web-service-for-production-builds-c2ec676de563/ -  https://github.com/cosmic-byte/flask-restplus-boilerplate

Display and Print Source Codes

One can use either "a2ps" or "trueprint" to print source codes. Today, I am going to experiment with "trueprint". A decent source code printing program should have the following requirements: Indentation is done correctly. Smart Spacing to avoid leaving out one-two lines of codes in previous page. Be able to convert to pdf or ps Be able to print two pages on one side The following are several examples of using the "trueprint" function: bash >> trueprint --portrait --language=cxx --intelligent-line-wrap --four-up --page-break-after-function --no-cover-sheet --output=EMMUtil_cpp.ps EMMUtil.cpp bash >> ps2pdf EMMUtil_cpp.ps EMMUtil_cpp.pdf bash >> rm EMMUtil_cpp.ps Please read the man page for further explanations. good day !!!