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

Rust: Actix-web -- Async Functions as Middlewares

Rust: Actix-web -- Async Functions as Middlewares

Comments
8 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
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

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

Rust: actix-web JSON Web Token authentication.

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

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

Comments
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.

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

Rust SQLx CLI: database migration with MySQL and PostgreSQL.

1
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.

2
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.

2
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.

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

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

2
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.

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.

7
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.

1
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.

1
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.

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

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

1
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.

2
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.

1
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.

7
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?

7
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.

5
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.

7
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.

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

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

3
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

2
Comments
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.

3
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.

6
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.

5
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?

3
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.

1
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.

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

Synology DS218: unsupported Docker installation and usage...

6
Comments 2
14 min read
Python: interactive shell and shell context processor decorator.

Python: interactive shell and shell context processor decorator.

5
Comments
4 min read
Python: Flask-RESTX and the Swagger UI automatic documentation.

Python: Flask-RESTX and the Swagger UI automatic documentation.

3
Comments
1 min read
Synology DS218: MariaDB 10 enabling remote connection.

Synology DS218: MariaDB 10 enabling remote connection.

9
Comments
15 min read
Synology DS218: preparing Python 3.9 Beta compelete devepment environment.

Synology DS218: preparing Python 3.9 Beta compelete devepment environment.

5
Comments
13 min read
loading...