Keep Exploring!!!
January 04, 2024
October 17, 2023
Python + Data Pipelines
Data fetched from multiple sources
Data Integrity purity test
Lessons
ETL vs ELT
DAG / Pre-requisites, Remember order of sequence
- Many ordering would be there
- CDC will have issues
Lesson
Longer bad data more cost to pay
Backward compatible support schema
Keep Exploring!!!
June 28, 2023
Pytube error - RegexMatchError: get_throttling_function_name: could not find match for multiple
Pytube error - RegexMatchError: get_throttling_function_name: could not find match for multiple
April 04, 2023
January 31, 2023
AWS Lambda Basics
Basic Example flow
1. Basic Python Code
2. Create a lambda function
3. Replace function insider handler - change handler - entry point
June 21, 2021
Interesting observations tesseract
While extracting digits from analog meters below two links we use to get the values
Lesson #1 - Setting the path to a folder vs complete executable, Minor thing took a while since not using it often
Ref - Link
Lesson #2 - Very useful for different situations on how it can be interpreted, 11 worked best. 6 was ok
Ref - Link
Keep Exploring!!!
June 07, 2021
OpenCV Experiments
Experiment with
- Logging
- Threads
- Error Handling
- Writing text on Frame with grey background
Keep Exploring!!!
May 25, 2021
Python coding review tools - Docker, Kubernetes
Good read on code quality Tools - Link
- Bandit - security issues
- Pylint - coding standard
- pycodestyle - code style
December 03, 2020
Simple Utility - File Renumbering
Script to renumber files in all subdirectories. Bookmarking it for future use.
Keep Learning!!!
October 16, 2020
Examples Flask vs Fast API
Recently FastAPI I could see more posts/recommendations compared to flask API in a performance context. A basic example of implementation with flask vs Fast API. The format /syntax, request differences you can spot by comparing them.
CI / CD
Makefile
Happy Learning!!!
June 13, 2020
Day #336 - Image Encoding / Decoding Python
Happy Learning!!!
May 19, 2020
Learning Notes - Convex Optimization in Python with CVXPY
Convex Optimization problem
- Decision variable to solve
- Objective Function
- Inequality Functions
- Linear equality constraints
- All functions are convex
- Convexity - Positive curvature, curve upwards like parabola
- Applies in various fields
- All ML algos based on Convex Optimization
- SpaceX landing Convex Optimization
- Using Solvers for particular form of problem
- Linear program, quadratic problem, second order con program
- Using Disciplined convex programming
- Determine curvature of every node in expression tree
- Developed in python
- Modelling framework
- Parameter assignment
- Simulation visualization
- Energy Management (Load Demand, Battery Charge / Discharge / Price margin / Load)
Keep Thinking!!!
May 14, 2020
Learning Notes - Optimization
Key Notes
- Three parameters for Linear problems
- Decision variables (Number of quantities to decide)
- Objective (Minimize / Maximize profit / time)
- Constraints (Time / Resources)
- Identify these three parameters for your problem
- Leverage existing Packages
- Decision variable multiplied by cost, subject to the constraint
- Different modeling frameworks
Fundamentals (Link)
- Convex optimization involves minimizing a convex objective function
- Linear programming is a special case of convex optimization where the objective function is linear and the constraints consist of linear equalities and inequalities
- Linear programming is a special case of convex programming, in which the objective function is a linear
- Optimization is when you search for variables that attain a global maximum or minimum of some function
- Convex optimization is a subset of optimization where the functions you work with are "convex" which just means "bowl shaped". This makes the search for maxima and minima easier since you can just " walk " on the surface of the bowl in the direction with the greatest slope to get there.


