-->

PG::Error (FATAL: too many connections for role "xxxxxxx")

Varghese Chacko 1 year, 8 months ago

PostgreSQL could be configured to limit number of simultaneous connections to the database. The heroku comes with plans having connection limits. The 'Hopby' plans comes with 20 connections where as standard plans comes startings with 120 conection. When we start developing and testing, especially automated testings, the hobby plans raise error PG::Error (FATAL: too many connections for role "xxxxxxx"). If we check the connections with heroku cli, we get

Top 10 Programming Languages Used in Web Development

Priya Philip 1 year, 8 months ago

Python
    Python is an interpreted(processed at runtime by the interpreter), object-oriented(supports Object-Oriented style), interactive, simple, easy to learn, portable, extensible, embeddable, high-level programming language for general-purpose programming. Created by Guido van Rossum at the National Research Institute for Mathematics and Computer Science in the Netherlands and first released in 1991. Python is derived from ABC, Modula-3, SmallTalk, Algol-68, C, C++, Unix shell and other scripting languages.Python's source code is avaliable under the GNU General Public License (GPL) which guarantees end users the freedom to run, study, share and modify the software.

Python - a general-purpose programming language.

Priya Philip 1 year, 8 months ago

      Python is an interpreted(processed at runtime by the interpreter), object-oriented(supports Object-Oriented style), interactive, simple, easy to learn, portable, extensible, embeddable, high-level programming language for general-purpose programming. Created by Guido van Rossum at the National Research Institute for Mathematics and Computer Science in the Netherlands and first released in 1991. Python is derived from ABC, Modula-3, SmallTalk, Algol-68, C, C++, Unix shell and other scripting languages.Python's source code is avaliable under the GNU General Public License (GPL) which guarantees end users the freedom to run, study, share and modify the software.

Create a database, create a user and grant privileges in PostgreSQL Databas...

Varghese Chacko 1 year, 8 months ago

To create a database, create a user and grant privileges to the user on command line is often a requirement only when a new project is initialized. The process is described in few simple steps. The local system has a super user named 'postgres' in the Linux, who can login to local database without password. The operating System - Linux - does have the user postgres, but the password is unknown. The solution is to login to the system as a user with super user privileges. Then use sudo and su commands to login as postgresql

HTML Developer's/ Website Designer's contribution to SEO

Varghese Chacko 1 year, 8 months ago

When we come to SEO, we usually think about meta tags, structured data etc. But what can a designer/HTML developer do with SEO? HTML developers are the one to start with SEO. They need to take utmost care when starting to build a web page. If they put an image names 1.jpg and the image is actualy that of a car, it wont hep SEO.But for an article about a car, the image car.jpg helps a lot.

Passing multiple variables to Django Template's Assignment Tags

Varghese Chacko 1 year, 8 months ago

Django template tags allows passing multiple variables or values to the assignment tags. Most people knows passing one variable, but not many and we see many questions how to pass it. Most are confused because of the colon separated passing of values to filters. Comma separation wont work either. The Django supports it by putting space as the separator.

Internet of Things (IOT) - Welcome to a smarter world

Varghese Chacko 1 year, 8 months ago


IoT or Internet of things is a network of things or objects, usually connected via wireless network like household appliances. Usually, objects connected in IoT will be self configuring. This networking enables the things in IoT to communicate with people and/or with each other. The main characteristics of IoT are

Proof of work (PoW) - add security to your block chain

Varghese Chacko 1 year, 8 months ago

Proof of Work is the method by which the legitimacy of a transaction is verified. Let us try adding proof of work to the previous block chain we created at this post.

Block Chain - What is it? How can we make one? Can we make a block chain in...

Varghese Chacko 1 year, 8 months ago

Block chain is the buzzword in the world now. This is a demonstration of what block chain is, in Python. There is nothing fancy or the code we write can not be used as is, in any production requirement. But I am trying to explain the concept.

Wish to hire us?

We take the vision which comes from dreams and apply the magic of science and mathematics, adding the heritage of our profession and our knowledge to create a design.