Use runit in Ubuntu 16.04 LTS

2 years, 2 months ago DevOps, Ubuntu

Last 2 years, I am using runit to run any script automatically during booting. When I was using Ubuntu 14.04 in my server, I wasn't having any issue. But in Ubuntu 16.04, an issue has been found. runit plays with upstart which was default in Ubuntu 14.04. But in Ubuntu 16.04, upstart has been replaced with systemd. So, runit isn't working normally. But the issue can be fixed as follows:

Continue Reading

Is it good idea to have SQLite database in Flask app?

2 years, 3 months ago FAQ, Python

SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file. The database file format is cross-platform - you can freely copy a database between 32-bit and 64-bit systems or between big-endian and little-endian architectures. These features make SQLite a popular choice as an Application File Format. When you’re gonna use SQLite as database for your Flask app, then you have to consider some things:

Continue Reading

Is Python Flask only for web sites?

2 years, 4 months ago FAQ, Python

What is Flask?

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed!

Continue Reading

Which Python web framework is better: Django or Flask?

2 years, 7 months ago FAQ, Python

This question was asked on Quora. When I see the question, I set my mind to answer the question. I know I have a little experience on this section but I have tried my level best. Please never forget to mention if I miss anything or make any wrong. By the way, the answer of this question should be aim depended. Please let me explain.

Continue Reading

Disable scanning for btrfs file systems in Ubuntu

3 years, 6 months ago Ubuntu

Firstly. Let me state the issue I was facing with Btrfs file system. Then I'll try to make your sense clear about Btrfs.

Continue Reading
Newer Posts Older Posts