Category: Deployment

Slack as a teamwork tool

Hello People. This article is about how to use Slack as a teamwork tool. As you know, Slack contains channels. You can create a different channel for each of your purpose. Channel contains all the people, messages and files related to a topic in one place.

In short, Slack is basically a messaging app. Teams and workplaces can be use Slack across multiple devices and platforms. You’re able to upload and share files with your groups too. You can also integrate with other apps and services and you can control almost every setting.

Slack Pricing

Slack is mostly free of cost to use. However you’ll only be able to browse and search your team’s 10,000 most recent messages, and you’ll be limited to 5GB of file storage and 10 apps or custom integrations. As of now, there are three pricing tiers available: Free, Standard ($8 or £5.25 a month billed monthly), and Plus ($15 or £9.75 a month billed monthly). A fourth tier, called Enterprise Grid, has special pricing for corporates.

Slack as a teamwork tool

How to start using Slack?

If you are an administrator of a team, please follow these steps:

  1. Go to Slack’s website and enter your email address to sign up 
  2. Choose a name for your Slack team
  3. Edit the URL to your Slack team
  4. Choose a username for yourself
  5. Enter emails of associates you’d like to invite to join your Slack team
  6. Your Slack team chat will then load in a browser window

Slack Settings

Click on your username or the drop-down arrow next to the Slack team name to access a settings menu. From here you can adjust your preferences (themes for the sidebar, messages, emoji style, and more), view your profile and account, access a Help/Feedback page, get Slack apps (more on that later), and set yourself to away.

If you’re an administrator, you can also access team settings, billing, etc. Team members will only see options to access app integrations, customise slack, and jump to team directory.

Hope this article on Slack as a teamwork tool is useful to you. Please read about Blockchain technology using Javascript

Took Too Long to Respond error

Hello People. This article discusses about the “took too long to respond error”. Sometimes you might encounter the ‘website took too long to respond’ error when you try to access a particular website. This error indicates that there is a communication problem between the target server and the client. In this case your web browser. It must be understood that the targeted server is taking a long time to send a response to the client. The error appears if the client cannot get a response within 30 seconds. The connection attempt is then terminated.

Reasons for the ‘took too long to respond’ error?

Here are the reasons.

Internet connection problem

If you do not have an internet connection, this error occurs. Check that your device is connected to internet via a LAN or Wi-Fi. If you use a LAN, you need to check your LAN settings. You also need to make sure that your TCP/ipv4 protocols are correctly configured.

Much load on the server

If you are using shared hosting, there is a possibility that there is not enough memory to allow for a connection between your client and server. When using shared hosting, memory allocation is not equally distributed. There might be sites that use a lot of memory, leaving others with little memory available. Contact your service provider about your memory limit. If you are using WordPress, you can check your memory limit in the ‘Site Health Tool’ on your dashboard.

You may also want to change your hosting plan to a VPS (Virtual Private Server) package, where memory is shared equally among users.

There are also other reasons that may cause your site to be overwhelmed. Increase in site traffic, or code and scripts that have not been deferred to load only after your site fully loads.


Took Too Long to Respond error

Antivirus is blocking site access

Sometimes Your antivirus might block access to some sites or even all of them. You may need to temporarily disable it and see whether the ‘taking too long’ error is resolved.

DNS cache

The DNS (Domain Name System) is what converts domain names to IP addresses. DNS results are usually cached in order to make sure that subsequent requests are handled faster. If there was a communication problem between client and server, it may be cached, resulting in the ‘website took too long to respond’ error. Clearing the DNS cache should solve the error.

Outdated extensions

Extensions may not be as frequently updated for compatibility with web browsers. On Chrome, virus scanning extensions, for example, Symantec, outdated or not, tend to be ‘heavy’, which slows down your browser.

Browsing history

Stored data from browsing sessions such as saved passwords, cookies, site names, and URLs, as well as cache can contribute to client-server communication problems.

Chrome’s default profile folder issues

There is always a folder named ‘Default’ on your local machine which store’s your ‘Chrome Profile’ (your bookmarks, saved passwords, apps, browser settings, and extensions). If there is corrupted content in the folder, it may affect communication between client and server. You may need to edit or rename this file in order to fix ‘taking too long’ issues.

Windows hosts file

The hosts file is what maps domains to IP addresses. If you want to see for example how your site would look if you hosted on a different server, you would need to edit the hosts file.  If you have blocked website URLs or IP addresses in your hosts file, they might cause other sites to be blocked too, resulting in the page taking too long to load error.

The network adapter is not installed or is out of date

Drivers are very important for seamless communication between software and hardware. If your network driver is not up to date it may result in broken client-server communication.

Your browser contains corrupted files

Your browser may contain corrupted files. By reinstalling the web browser might solve this problem.

Theme incompatibility

If you are using WordPress, your theme incompatibility issues could be the reason for the ‘took too long to respond’ error. The only way to know whether it is your theme that is causing the issues is to change it to a default theme. If the error gets fixed, then you need to reinstall your theme.

Too much data in your database

If your database contains a lot of data, your site may take too long to retrieve all that data from your site.

Hope this article on Took Too Long to Respond error is useful to you. Please read about Power supply to Arduino boards


Arduino boards power supply

Hello People. This article is about Arduino boards power supply. There are several power pins on an arduino board.

The different power pins are as follows:

  • VIN. This pin can take input voltage to the Arduino board when it’s using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
  • 5V. This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 – 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don’t advise it.
  • 3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.
  • GND. Ground pins.

The Arduino Uno can be powered via the USB connection or with an external power supply. The power source is selected automatically.

External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board’s power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector.

The board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.

Arduino boards power supply

Summary

There are mainly three methods of supplying power to arduino board. The Vin, 5V, 3.3V, and GND pins are Arduino power pins. You can use the Vin pin to Power your Arduino with an unregulated 7 to 12-volt power source. Like a 9V battery or a wall adapter that is in the range of 7 to 12 volts. Alternatively, you can power your Arduino through the 5V pin with an external regulated 5V power supply. It can be a wall adapter that gives out constant 5V or a DC-DC converter that is connected to a battery or a set of batteries. You can use both the 5V pin and the 3.3V pin to provide power to modules that are connected to the Arduino. But you can’t use the 3.3V pin to power your Arduino Uno/Nano.

Hope this article on Arduino boards power supply is useful to you. Please read Arduino UNO Pins explained

Install PIP for Python on Windows

Hello People. This article discusses how to Install PIP for Python on Windows. PIP is a package management system to install and manage software packages written in Python. PIP stands for “preferred installer program” or “Pip Installs Packages.” It is a utility to manage PyPI package installations from the command line.

If you are using an older version of Python on Windows, you may need to install PIP. You can install PIP on Windows by downloading the installation package, opening the command line, and launching the installer.

Check if PIP is Already Installed in your PC

PIP is automatically installed with Python 2.7.9+ and Python 3.4+ and it comes with the virtualenv and pyvenv virtual environments. So check if PIP is already installed.

1. Launch the command prompt window:

  • Press Windows Key + X.
  • Click Run.
  • Type in cmd.exe and hit enter.

Alternatively, type cmd in the Windows search bar and click the “Command Prompt” icon.

2. Type in the following command at the command prompt:

pip help

If PIP responds, then PIP is installed. Otherwise, you will see an error saying the program could not be found.

Install PIP for Python on Windows

Installing PIP

Follow the steps below to install PIP on Windows.

Download PIP get-pip.py

Before installing PIP, download the get-pip.py file.

1. Launch a command prompt if it isn’t already open. To do so, open the Windows search bar, type cmd and click on the icon.

2. Then, run the following command to download the get-pip.py file:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Installing PIP on Windows

To install PIP type in the following:

python get-pip.py

If the file isn’t found, double-check the path to the folder where you saved the file. You can view the contents of your current directory using the following command:

dir

The dir command returns a full listing of the contents of a directory.

Verify Installation

Once you’ve installed PIP, you can test whether the installation has been successful by typing the following:

pip help

If PIP has been installed, the program runs, and you should see the location of the software package and a list of commands you can use with pip.

If you receive an error, repeat the installation process.

Add Pip to Windows Environment Variables

To run PIP from any location, you need to add it to Windows environment variables to avoid getting the “not on PATH” error. To do so, follow the steps outlined below:

  1. Open the System and Security window by searching for it in the Control Plane.
  2. Navigate to System settings.
  3. Then, select Advanced system settings.
  4. Open the Environment Variables and double-click on the Path variable in the System Variables.
  1. Next, select New and add the directory where you installed PIP.
  2. Click OK to save the changes.

Step 5: Configuration

In Windows, the PIP configuration file is %HOME%\pip\pip.ini.

There is also a legacy per-user configuration file. The file is located at %APPDATA%\pip\pip.ini.

You can set a custom path location for this config file using the environment variable PIP_CONFIG_FILE.

Upgrading PIP for Python on Windows

New versions of PIP are released occasionally. These versions may improve the functionality or be obligatory for security purposes.

To check the current version of PIP, run:

pip --version

To upgrade PIP on Windows, enter the following in the command prompt:

python -m pip install --upgrade pip

This command uninstalls the old version of PIP and then installs the most current version of PIP.

Downgrade PIP Version

Downgrading may be necessary if a new version of PIP starts performing undesirably. To downgrade PIP to a prior version, specifying the version you want.

To downgrade PIP, use the syntax:

python -m pip install pip==version_number

For example, to downgrade to version 18.1, you should run:

python -m pip install pip==18.1

Hope this article on how to Install PIP for Python on Windows is useful to you. Please read What is Blockchain Technology

Blockchain Technology explained

Hello People. This article makes you Blockchain Technology explained. A blockchain is a distributed database that is shared among the nodes of a computer network. It stores information electronically in digital format.

Blockchains are used in cryptocurrency systems, such as Bitcoin, for maintaining a secure and decentralized record of transactions. It guarantees the fidelity and security of a record of data and generates trust without the need for a trusted third party.

Main Features

  • Blockchain is a shared database. It differs from a typical database in the way that it stores information.
  • Blockchains store data in blocks that are then linked together via cryptography.
  • When data comes in, it is entered into a fresh block. Once the block is filled with data, it is chained onto the previous block, which makes the data chained together in chronological order.
  • Most common use of blockchain so far has been as a ledger for transactions. 
  • In Bitcoin, blockchain is used in a decentralized way so that no single person or group has control. All users collectively retain control.
  • Data entered is irreversible. Transactions are permanently recorded and viewable to anyone.
Blockchain Technology explained

Blockchain working process

The purpose of blockchain is to allow digital information to be recorded and distributed, but not edited. In this way, a blockchain is the foundation for immutable ledgers, or records of transactions that cannot be altered, deleted, or destroyed. This is why blockchains are also known as a distributed ledger technology (DLT).

Blockchain’s first widespread application in use was Bitcoin in 2009. In the years since, the use of blockchains has exploded via the creation of various cryptocurrencies, decentralized finance (DeFi) applications, non-fungible tokens (NFTs), and smart contracts.

Blockchain has three important concepts: blocks, nodes and miners.

Blocks

Every chain consists of multiple blocks and each block has three basic elements:

  • The data in the block.
  • A 32-bit whole number called a nonce. The nonce is randomly generated when a block is created, which then generates a block header hash. 
  • The hash is a 256-bit number wedded to the nonce. It must start with a huge number of zeroes (i.e., be extremely small).

When the first block of a chain is created, a nonce generates the cryptographic hash. The data in the block is considered signed and forever tied to the nonce and hash unless it is mined.  

Miners

Miners create new blocks on the chain through a process called mining.

In a blockchain every block has its own unique nonce and hash, but also references the hash of the previous block in the chain, so mining a block isn’t easy, especially on large chains.

Miners use special software to solve the incredibly complex math problem of finding a nonce that generates an accepted hash. Because the nonce is only 32 bits and the hash is 256, there are roughly four billion possible nonce-hash combinations that must be mined before the right one is found. When that happens miners are said to have found the “golden nonce” and their block is added to the chain. 

Making a change to any block earlier in the chain requires re-mining not just the block with the change, but all of the blocks that come after. This is why it’s extremely difficult to manipulate blockchain technology. Think of it as “safety in math” since finding golden nonces requires an enormous amount of time and computing power.

When a block is successfully mined, the change is accepted by all of the nodes on the network and the miner is rewarded financially.

Nodes

One of the most important concepts in blockchain technology is decentralization. No one computer or organization can own the chain. Instead, it is a distributed ledger via the nodes connected to the chain. Nodes can be any kind of electronic device that maintains copies of the blockchain and keeps the network functioning. 

Every node has its own copy of the blockchain and the network must algorithmically approve any newly mined block for the chain to be updated, trusted and verified. Since blockchains are transparent, every action in the ledger can be easily checked and viewed. Each participant is given a unique alphanumeric identification number that shows their transactions.

Combining public information with a system of checks-and-balances helps the blockchain maintain integrity and creates trust among users. Essentially, blockchains can be thought of as the scalability of trust via technology. 

Hope this article on Blockchain Technology explained is useful to you. Please read about Printed Circuit Board designing business

Clients for Mobile app development

Hello People. This article discusses how to get clients for Mobile app development. Finding clients is a major problem for IT startups and entrepreneurs. Here are few useful tips to get clients for app development companies.

Firstly highlight the skill you are expert in. For example we have good command over android development so what we would do is that we find websites which have no apps yet in the playstore. We will drop a mail to owner on that website that you are lacking much audience because this era is of app users and there are trillions of folks using smart phone. We can build your app at a very reasonable price. In this scenario if client gets ready you could be able to build up portfolio.

You can also try getting business through LinkedIN. Visit your profile page on LinkedIN from your mobile app or desktop, and if business feature is turned on for you, you’ll see a box under your profile photo/headline that talks about how to showcase the services you provide. Click “Add Services,” and then fill out the form to provide details about the services you provide. Be as detailed as possible so members who view this section have a good sense for what you provide. Click “continue” and this will automatically be added to your profile.

Clients for Mobile app development

For finding clients on linkedIn, you must have a good connection with your targeted audience. You can search clients by their posted requirement like: “Looking for the freelancer designer or developer”. Once you type a statement like this one in the search box you will get the list of a result as you have to sort the list by “Content”. Then you can able to view all the posts related to that “keyword/requirement”. You have to pitch to that Author who has posted the requirement. You can simply comment or you can connect with him for further discussion.

Hope this article on how to get clients for Mobile app development is useful to you. Please read about Optical Character Recognition in React

Software Development company for IoT projects

Hello People. This article discusses how to choose a software development company for IOT projects. The Internet of Things is a concept in which many everyday appliances and consumer electronics are computerized and connected to the Internet. Choosing an IoT developer today is very difficult.

IoT development cost

IoT development is very complex and therefore cannot be cheap. Immediately eliminate companies that offer their services 2-3 times cheaper. You will probably end up with a low-quality product if you choose them.

Blog posts and social media

Regular posts on social networks and a blog by a company indicate that the company has something to share with the audience. It is a great way to understand IoT’s level of expertise and company scale. It is enough to read a few articles to understand the material’s relevance and cultural level.

Plan for long-term

When it comes to the corporate, planning for the long term is the best. As it is a far-reaching, well thought, and comprehensive strategy that has the capability to change your life completely, the former applies to it too. 

Additionally, there’s always a level of uncertainty associated with this dynamic and disruptive technology, that may lead to unpredictable consequences in the future. This calls for the need for long-term planning that allows you to stay prepared for or unexpected events and take actions based on the ever-changing business environment and changing technologies.

Software development company for IOT projects

Figure out the basics

While your business might be successful with the adoption of this smart technology, relying on mere data collection may lead to failure in the next phase of a project. IoT is more than just collecting data with the help of connected devices, and you must consider several other factors to make your IoT project successful. 

It’s worth brainstorming how you are supposed to gain profitable business values from your internet-connected assets. Moreover, while you are collecting data, you need to make sure that it is driven by the real-world needs of a business and is organized properly. 

Secure IoT Private Networking

Protecting and securing your data is a serious business regardless of what industry you’re in. To have secure networking it’s better to create different ways for customers to build and own their IoT private network from end to end.

Regardless of whether you’re utilizing AWS VPC peering, AWS Direct Connect or IoT LANs, the IOT development company should plan to scale their customer’s business without compromising on their data.

Hope this article on software development company for IOT projects is useful to you. Please read Cost of developing an IOT app

Cost of developing an IOT app

Hello People. This article discusses about Cost of developing an IOT app. From 2020, Internet of Things software development is in huge demand.

Major factors that influence your IOT development budget:

  • Number and complexity of IoT app features 
  • IoT UX complexity
  • UI requirements (number of screens, style guide)
  • App security level
  • Device types on which it should work
  • Operating system and API integrations

In addition to the above factors, IoT requires building hardware from scratch or existing hardware optimization. For this you need to conduct research regarding existing hardware options and then test and choose that one that may be suitable for your IoT business idea execution. In the case of creating hardware from scratch, the process includes lots of costly stages such as Analysis, Modeling, Prototyping, and Testing. 

Cost of developing an IOT app

You will also need IoT network and middleware. Middleware is about third-party device integration and digital ecosystem maintenance.  The type of application and its complexity also may vary. A Simple IoT app has limited device connection options and only basic features. The budget may start from $30,000

A Sophisticated IoT app could have a large number of advanced features. It includes APIs, GPS tracking, payments, and other smart device integrations. This may include sync, third-party API, and security tool integration. The product development should be estimated at $50,000 as a minimum.

The hourly rates of programmers also matter. Development outsourcing remains the most cost-effective solution, as it allows you to choose specialists from the global talent pool. At the same time, there are also outsourcing risks with respect to the failure of your project execution completely or partly as a separate factor. IOT developers charge 100 to 150 dollars per hour.

Compared to other sorts of digital development, building an IoT app is a new area where lots of challenges haven’t yet got specific solutions. IoT development involves creating a unique digital infrastructure. It is hard to predict the final cost, as there are numerous factors that may influence it. Hardware issues, difficulties with API integration, maintenance plan, unique solution promotion are among them. 

Hope this article on Cost of developing an IOT app is useful to you. Please read about Where to buy Arduino boards in Hyderabad

Production stage issue in APP development

Hello People. This article discusses about a production stage issue in APP development. If you are a react native expo app developer, and you use local data for maps, you might have noticed that the map screen breaks in production. This is because you have not installed react-native-maps.

In this article, let us see how to use react-native-maps in a expo project.

Installation in expo

expo install react-native-maps

Let us see an example code of a map screen.

MapScreen.JS

import * as React from 'react';
import MapView from 'react-native-maps';
import { StyleSheet, Text, View, Dimensions } from 'react-native';

export default function App() {
  return (
    <View style={styles.container}>
      <MapView style={styles.map} />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
    alignItems: 'center',
    justifyContent: 'center',
  },
  map: {
    width: Dimensions.get('window').width,
    height: Dimensions.get('window').height,
  },
});

Configuration

An additional configuration is not necessary to use react-native-maps in Expo Go. But if you want to deploy your standalone app you should follow instructions below.

Production stage issue in APP development

Deploying Google Maps to Android standalone app

1. Register a Google Cloud API project and enable the Maps SDK for Android

  • Open your browser to the Google API Manager and create a project.
  • After that, go to the project and enable the Maps SDK for Android

2. Get your app’s SHA-1 certificate fingerprint ready

  • If you are deploying your app to the Google Play Store, you will need to have created a standalone app and uploaded it to Google Play at least once in order to have Google generate your app signing credentials.
    • Go to the Google Play Console → (your app) → Setup → App Integrity
    • Copy the value of SHA-1 certificate fingerprint
  • If you are sideloading your APK or deploying it to another store, you will need to have created a standalone app, then run expo fetch:android:hashes and copy the Google Certificate Fingerprint.

3. Create an API key

  • Go to Google Cloud Credential manager and click Create Credentials, then API Key.
  • In the modal, click Restrict Key.
  • Under Key restrictions → Application restrictions, ensure that the Android apps radio button is chosen.
  • Click the + Add package name and fingerprint button.
  • Add your Android package name from app.json to the package name field.
  • Add or replace the SHA-1 certificate fingerprint with the value from step 2.
  • Click Done and then click Save

4. Add the API key to your project

  • Copy your API Key into your app.json under the android.config.googleMaps.apiKey field.
  • Rebuild the app binary and re-submit to Google Play or sideload it (depending on how you configured your API key) to test that the configuration was successful.

Hope this article on Production stage issue in APP development is useful to you. Please read How to make a website responsive using HTML

How to make a website responsive using HTML

Hello People. This article discusses about how to make a website responsive using HTML. Responsive web designing is creating web pages that fit on all devices. It is about using HTML and CSS to automatically resize, hide, shrink, or enlarge a website to make it look good on all devices (desktops, tablets, and phones). A responsive web design will automatically adjust for different screen sizes and viewports.

Setting The Viewport

To create a responsive website, add the following <meta> tag to all your web pages:

<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>

This will set the viewport of your page. This line will give the browser instructions on how to control the page’s dimensions and scaling.

Responsive Images

Responsive images are images that scale automatically to fit any browser size.

Use the width Property

If the CSS width property is set to 100%, the image will be responsive and it can scale up and down. Add the following line.

<img src=”img_girl.jpg” style=”width:100%;”>

Use the max-width Property

If the max-width property is set to 100%, the image can scale down. But never scale up to be larger than its original size. The solution is to use the max-width property. Use the following line.

<img src=”img_girl.jpg” style=”max-width:100%;height:auto;”>

Display Different Images Depending on Browser Width

Using the HTML <picture> element, you can define different images for different browser window sizes. Example is given below.

<picture>
  <source srcset=”img_smalltiger.jpg” media=”(max-width: 600px)”>
  <source srcset=”img_tigers.jpg” media=”(max-width: 1500px)”>
  <source srcset=”tigers.jpg”>
  <img src=”img_smalltiger.jpg” alt=”Tigers”>
</picture>

Responsive Text Size

The text size can be set with a “vw” unit, which means the “viewport width”. By doing this, the text size will follow the size of the browser window. Use the following line.

<h1 style=”font-size:10vw“>Hello World</h1>

How to make a website responsive using HTML

Media Queries

It is also common to use media queries in responsive web pages. Using media queries you can define completely different styles for different browser sizes. Example is given below.

<style>
.left, .right {
  float: left;
  width: 20%; /* The width is 20%, by default */
}

.main {
  float: left;
  width: 60%; /* The width is 60%, by default */
}

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 800px) {
  .left, .main, .right {
    width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
  }
}
</style>

Responsive Web Design – Frameworks

There are many popular CSS Frameworks that offer responsive design. They are free, and easy to use.

Hope this article on how to make a website responsive using HTML is useful to you. Please read MVVM pattern in KnockoutJS

Navigation

× Contact Us