HTML5 contenteditable is a simple and handy option for rich text editing features on web pages. Say, for example
HTML5 contenteditable is a simple and handy option for rich text editing features on web pages. Say, for example
To increase the performance in Elasticsearch, many times we add new nodes to Elasticsearch cluster and manually change the configuration file with new IP address, etc. so that it gets added into the cluster. This takes up our time too. To make it efficient, we deceided to use AWS EC2 discovery plugin which discovers the Elasticsearch EC2 instances automatically through the host provider ‘ec2’. This plugin made our task so simple. The below changes are first tested in staging and then carefully executed in production without any issues. It takes less than an hour to install AWS EC2 plugin with the upgrade.
In normal dense network or multi layer perceptron all the neurons in one layer is connected to all neurons in the next layer, which means the weight params of the network is the multiplication product of number of neurons in the connected layers, so if we were to process the image of higher resolutions the network params will be very high and require higher computational power and won’t scale for larger images. No one wants to train millions of params for the small images.
We have already seen why convolutional neural network is suitable for image Processing. Now we can build our own image classifier using Convolutional neural network. We are implementing this using Python and Tensorflow.
When you run into an error something like this,
Kubernetes is getting popular these day because of its strong community and smoother container orchestrations.
As a forward thinking organisation, we have deployed most of our apps onto Kubernetes recently, of course with the consent and acceptance from the clients.
The simplest way to index documents in production/staging environments using Ruby on Rails framework is using the following command.
In ruby, sub and gsub are very useful and powerful string operators.
With the advent of Rails 5.2, As passionate Rails developers, we want to be on top of it.
It is not uncommon to see a Jenkins build failure due to a memory choke now and then while running thousands and thousands of rspec examples. The examples may be too much for the memory allocated within the EC2 instance. One simple solution is to enable Swap memory. Going through the typical EC2 route you need to have a dedicated Swap Partition. However if you feel you don’t want to go through that route, you can simply do it via a swap file.
Currently we index huge amount of data using elasticsearch every 3 months. As a devops, I always have to setup Elasticsearch EC2 instance manually. Each time, when we need to scale the elasticsearch nodes for indexing, I have to launch the ec2 instance and manually install java, ElasticSearch etc. and of course this is time consuming task taking 20 mins per node. To avoid this manual intervention, we want to run the entire process of scaling the elasticsearch nodes automatically.