DEV Community

Be Hai Nguyen profile picture

Be Hai Nguyen

I have been a software develper for around 20 years. I am looking forward to work with Python. My other blogs: https://behainguyen.wordpress.com/ https://behai-nguyen.github.io/

Location Melbourne, Australia Joined Joined on  Personal website https://behainguyen.wordpress.com/ github website

Education

Master of Applied Science in Computer Science, RMIT, Victoria, Australia

Work

Software Developer

Two Year Club
2 Week Community Wellness Streak
Writing Debut
One Year Club
1 Week Community Wellness Streak
8 Week Writing Streak
4 Week Writing Streak
Python & MariaDB: Which Driver? An Example of Executing a Stored Procedure That Returns Multiple Result Sets

Python & MariaDB: Which Driver? An Example of Executing a Stored Procedure That Returns Multiple Result Sets

Comments
6 min read

Want to connect with Be Hai Nguyen?

Create an account to connect with Be Hai Nguyen. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Python FastAPI: Implementing Non-Blocking Logging with Built-In QueueHandler and QueueListener Classes

Python FastAPI: Implementing Non-Blocking Logging with Built-In QueueHandler and QueueListener Classes

Comments
15 min read
Python FastAPI: Integrating OAuth2 Security with the Application's Own Authentication Process

Python FastAPI: Integrating OAuth2 Security with the Application's Own Authentication Process

8
Comments
7 min read
Python: A SQLAlchemy Wrapper Component That Works With Both Flask and FastAPI Frameworks

Python: A SQLAlchemy Wrapper Component That Works With Both Flask and FastAPI Frameworks

Comments
8 min read
Rust: Actix-web -- Async Functions as Middlewares

Rust: Actix-web -- Async Functions as Middlewares

1
Comments
8 min read
Rust: Actix-web Daily Logging -- Fix Local Offset, Apply Event Filtering

Rust: Actix-web Daily Logging -- Fix Local Offset, Apply Event Filtering

3
Comments
10 min read
Rust: Actix-web and Daily Logging

Rust: Actix-web and Daily Logging

8
Comments 2
17 min read
Rust: actix-web JSON Web Token authentication.

Rust: actix-web JSON Web Token authentication.

4
Comments
29 min read
Rust: actix-web get SSL/HTTPS for localhost.

Rust: actix-web get SSL/HTTPS for localhost.

3
Comments 1
12 min read
Rust: actix-web endpoints which accept both application/x-www-form-urlencoded and application/json content types.

Rust: actix-web endpoints which accept both application/x-www-form-urlencoded and application/json content types.

Comments
12 min read
Rust: retrofit integration tests to an existing actix-web application.

Rust: retrofit integration tests to an existing actix-web application.

1
Comments
15 min read
Using the Redis Official Docker Image on Windows 10 and Ubuntu 22.10 kinetic.

Using the Redis Official Docker Image on Windows 10 and Ubuntu 22.10 kinetic.

Comments
13 min read
Rust: JSON Web Token -- some investigative studies on crate jsonwebtoken.

Rust: JSON Web Token -- some investigative studies on crate jsonwebtoken.

Comments
9 min read
Rust: JSON Web Token -- some investigative studies on crate jwt-simple.

Rust: JSON Web Token -- some investigative studies on crate jwt-simple.

Comments
11 min read
Rust: seconds since epoch -- “1970-01-01 00:00:00 UTC”.

Rust: seconds since epoch -- “1970-01-01 00:00:00 UTC”.

1
Comments
5 min read
Rust web application: MySQL server, sqlx, actix-web and tera.

Rust web application: MySQL server, sqlx, actix-web and tera.

3
Comments
18 min read
Rust SQLx CLI: database migration with MySQL and PostgreSQL.

Rust SQLx CLI: database migration with MySQL and PostgreSQL.

7
Comments
11 min read
Rust & MySQL: JSON serialisation of result sets retrieved using crate sqlx.

Rust & MySQL: JSON serialisation of result sets retrieved using crate sqlx.

6
Comments
6 min read
Docker on Ubuntu 22.10: running mysql:8.0.34-debian with custom config, socket, database and log files reside on host machine.

Docker on Ubuntu 22.10: running mysql:8.0.34-debian with custom config, socket, database and log files reside on host machine.

3
Comments
20 min read
Rust & MySQL: executing MySQL stored procedures which return multiple result sets using crate sqlx.

Rust & MySQL: executing MySQL stored procedures which return multiple result sets using crate sqlx.

1
Comments
10 min read
Rust & MySQL: delete, insert data using crate sqlx.

Rust & MySQL: delete, insert data using crate sqlx.

4
Comments
6 min read
Rust & MySQL: connect, execute SQL statements and stored procs using crate sqlx.

Rust & MySQL: connect, execute SQL statements and stored procs using crate sqlx.

12
Comments 1
10 min read
Rust: baby step -- some preliminary look at date.

Rust: baby step -- some preliminary look at date.

4
Comments
6 min read
Python, Flask: Railway.app deployment and Railway's Nixpacks Docker image build tool.

Python, Flask: Railway.app deployment and Railway's Nixpacks Docker image build tool.

5
Comments
10 min read
CI/CD #06. Jenkins: accessing private GitHub repos using SSH keys.

CI/CD #06. Jenkins: accessing private GitHub repos using SSH keys.

5
Comments 2
11 min read
Ubuntu Bootable USB stick: The “elusive” 😂 “Try or Install Ubuntu” option...

Ubuntu Bootable USB stick: The “elusive” 😂 “Try or Install Ubuntu” option...

Comments
3 min read
Python: A simple web API to search for Australian postcodes based on locality aka suburb.

Python: A simple web API to search for Australian postcodes based on locality aka suburb.

2
Comments
3 min read
Python: WTForms 3.0.1 customising built-in error messages.

Python: WTForms 3.0.1 customising built-in error messages.

Comments
5 min read
Pure CSS: Vertical ScrollBar Management.

Pure CSS: Vertical ScrollBar Management.

9
Comments
4 min read
Python: WTForms 3.0.1 IntegerField and InputRequired do not accept 0 as valid!

Python: WTForms 3.0.1 IntegerField and InputRequired do not accept 0 as valid!

Comments 1
5 min read
GitHub Webhook: our own “server” in NodeJs to receive Webhook events over the internet.

GitHub Webhook: our own “server” in NodeJs to receive Webhook events over the internet.

2
Comments
9 min read
Windows 10: multi-line Git Commit messages.

Windows 10: multi-line Git Commit messages.

1
Comments
2 min read
Python: local date time and UTC date time.

Python: local date time and UTC date time.

8
Comments
7 min read
CI/CD #03. Jenkins: using Pipeline and proper Bash script to run Pytest.

CI/CD #03. Jenkins: using Pipeline and proper Bash script to run Pytest.

4
Comments
7 min read
CI/CD #02. Jenkins: basic email using your Gmail account.

CI/CD #02. Jenkins: basic email using your Gmail account.

3
Comments 1
7 min read
CI/CD #01. Jenkins: manually clone a Python GitHub repo and run Pytest.

CI/CD #01. Jenkins: manually clone a Python GitHub repo and run Pytest.

1
Comments
6 min read
Python: class attributes, some behaviours we should be aware of.

Python: class attributes, some behaviours we should be aware of.

3
Comments
4 min read
Using PostgreSQL Official Docker image on Windows 10 and Ubuntu 22.10 kinetic.

Using PostgreSQL Official Docker image on Windows 10 and Ubuntu 22.10 kinetic.

4
Comments
11 min read
GitHub: are removed version-tagged files still available for downloading?

GitHub: are removed version-tagged files still available for downloading?

Comments
3 min read
Python: SQLAlchemy -- understanding sessions and associated queries.

Python: SQLAlchemy -- understanding sessions and associated queries.

9
Comments
8 min read
Docker Compose: how to wait for the MySQL server container to be ready?

Docker Compose: how to wait for the MySQL server container to be ready?

11
Comments
14 min read
Python: a workaround for SQLAlchemy “Table 'sessions' is already defined” exception during tests.

Python: a workaround for SQLAlchemy “Table 'sessions' is already defined” exception during tests.

6
Comments 11
4 min read
Python: executing PostgreSQL stored functions which return multiple result sets.

Python: executing PostgreSQL stored functions which return multiple result sets.

13
Comments 1
6 min read
pgloader Docker: migrating from Docker & localhost MySQL to localhost PostgreSQL.

pgloader Docker: migrating from Docker & localhost MySQL to localhost PostgreSQL.

4
Comments
6 min read
Python: executing MySQL stored procedures which return multiple result sets.

Python: executing MySQL stored procedures which return multiple result sets.

6
Comments
4 min read
JavaScript and CSS minification.

JavaScript and CSS minification.

Comments
3 min read
Web browsers: confirm leaving page when there is modified data.

Web browsers: confirm leaving page when there is modified data.

3
Comments
4 min read
Bootstrap 5.0 Buttons with Icon and Text

Bootstrap 5.0 Buttons with Icon and Text

23
Comments 2
3 min read
Docker on Windows 10: mysql:8.0.30-debian log files

Docker on Windows 10: mysql:8.0.30-debian log files

6
Comments
4 min read
2000s flashback: a web API service...

2000s flashback: a web API service...

1
Comments
2 min read
Python: the !r string format and the __repr__() and __str__() methods.

Python: the !r string format and the __repr__() and __str__() methods.

6
Comments 2
4 min read
Python: Flask, dictionaries as JSON objects ready to be used by JavaScript.

Python: Flask, dictionaries as JSON objects ready to be used by JavaScript.

2
Comments
4 min read
Python: pytest accessing Flask session and request context variables.

Python: pytest accessing Flask session and request context variables.

8
Comments
3 min read
Docker on Windows 10: running mysql:8.0.30-debian with a custom config file.

Docker on Windows 10: running mysql:8.0.30-debian with a custom config file.

6
Comments
3 min read
Python: pytest and Flask template context processor functions.

Python: pytest and Flask template context processor functions.

3
Comments
12 min read
Python: Docker volumes -- where is my SQLite database file?

Python: Docker volumes -- where is my SQLite database file?

5
Comments
10 min read
Python: Docker image build -- save to and load from *.tar files.

Python: Docker image build -- save to and load from *.tar files.

2
Comments
7 min read
Python: Docker image build -- “the Werkzeug” problem 🤖!

Python: Docker image build -- “the Werkzeug” problem 🤖!

5
Comments
6 min read
Python: Docker image build -- install required packages via requirements.txt vs editable install.

Python: Docker image build -- install required packages via requirements.txt vs editable install.

14
Comments
7 min read
Synology DS218: unsupported Docker installation and usage...

Synology DS218: unsupported Docker installation and usage...

21
Comments 2
14 min read
loading...