Summary
In macOS 12.3 beta Apple removed support for Python 2. Additionally Python 3 no longer comes bundled with macOS. This causes the code command to not work anymore.
https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/
https://www.idownloadblog.com/2022/01/28/python-macos-monterey-no-more/
Error message:
1comma...
LeetCode-Longest Substring Without Repeating Characters
Given a string s, find the length of the longest substring without repeating characters.
Example 1:
123Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3.
12345678910111213141516class Solution: def lengthOfLongestSubstring(self, s: str) -> int: dic, res, start, = {...
Test || How Create/Execute Shell Script in Linux?
This purpose of this article is for testing my simple shell script in Linux.
Steps:
Create a simple shell script
Execiting script shell in terminal
It’s simple. Let’s get started!
Create a simple shell scriptTo craete a shell script: vim name
You can type below examples for testing your script.
Note: “vim” provides another verifications of p...
Some Tips for Project Management
Today’s topic would share some methodologies of project managements.
Waterfall
Agile
Scrum
Kanban
Lean
Six Sigma
Lean Six Sigma
WaterfallWaterfall is a traditional methodology in which tasks and phases are completed in a linear, sequential manner, and each stage of the project must be completed before the next begins. The project manager i...
Basic Linux Command Sharing - Part1
1234Content:1. How to find file/directory2. How to move, copy or delete file/directory3. How to find keyword in specific file/directory
How to find file/directory1find ./ -name "*.git" -type d
find file: type f
find directory: type d
How to move, copy or delete file/directory1find ./ -name "*.git" -type d | x...
Data || Relational Databases vs Non-Relational Databases
Let’s dig deeper in databases.
RDBMSCloud-based relational databases
Database-as-a-Service:
Examples: Amazon RDS, Google SQL, IBM DB2 on Cloud, Oracle cloud, Azure cloud
Well suited for
OLTP(Online transaction processing) application: support transation-oriented tasks that run at high rates
Data warehouses(OLAP(Online Analytical Processing))...
Data|Data Process Flow
Data process flow
Data WarehouseA data warehouse is a multi-purpose enabler of operational and performance analytics.
Data Marts
provide analytical capabilities for a restricted area of the data warehouse
offer isolated security and isolated performance
the most important role is business specific reporting and analytics
Data LakesA pool of ra...
Common Data Sources
Sources of Data
Relational databases
Flat files and XML datasets
APIs and web services
Web scraping
Data streams and feeds
1. Relational databases
Examples: business activities, customer transactions, human resource activities, workflows
Applications: SQL server, ORACLE, MySQL, IBM DB2
2. Flat files and XML datasets
Flat files:
store dat...
Data || Data structure - How to describe your data?
This article focuses on types of data, it will bring you to categorize data type for further analysis.
What is ‘Data’?
Facts, observations, perceptions
Numbers, characters, symbols
Images
So, basically, ‘data’ exists everywhere and we can transform diff data types into whatever we want to forecast and make decisions.
Types of Data
Structur...
Tensorflow || What is tensors?
DefinitionTensorflow is a free and open-source software library for machine learning and artificial intelligence.
Features
AutoDifferentiation
Eager execution
Distribute
Losses
Metrics
TF.nn
Optimizers
ApplicationsTensorFlow is available on 64-bit Linux, macOS, Windows, and mobile computing platforms including Android and iOS.
Before staring ...