AngularJSFront End DevelopmentTechnology
In an Angular application, when we use a controller as syntax we generally encounter isolated scope binding issues, controller’s scope is bound to ‘this’ reference. But how does it work while building directive with an isolated scope? We can create an isolated scope by adding an object to our directive definition that explains how every […]
I’m pretty sure most of us have heard of GIFs, but how much do we really know about it? Here’s a simple introduction to what exactly GIFs are, and how to post them on Facebook. What’s a GIF? GIFs stand for Graphics Interchange Format, first introduced in 1987 before becoming a widely used file format because of […]
Here we are again, but this time as GR8ConfIN 2016. As you would know GrailsConf is now GR8ConfIN and we’re glad to announce the Call for Attendees for GR8ConfIN 2016. Early Birds will get heavy discounts on their tickets. Register Now to avail early birds discounts. This time we have Burt Beckwith and Jacob Aae […]
Overview This blog is related to the Yarn Cluster Optimizations for executing the spark jobs on yarn cluster. In this blog post I will be discussing about the YARN Optimizations for the efficient utilization of available resources to execute the spark jobs on yarn cluster. These optimization configurations could be done either in the config […]
To start with lets suppose we have a function getCount as defined below- [code lang=”html”]function getCount(a,b,c){ return this.count + a + b + c; }[/code] To provide different scope at the time of “getCount” function execution. We generally use these functions 1- .call(): [code lang=”html”] var obj1 = { count: 10 }; getCount.call(obj1,4,5,6); // functionName.call(‘this’ […]
I have always loved using Docker the traditional way. Running commands like docker run etc. has been the way we use Docker. While surfing the internet, I found this chrome app which can be downloaded and installed via google chrome and easily be used for getting a user-interface for your Docker Engine. It simplifies the […]
Internationalization (i18n) is the process of generalizing a product so that it can handle multiple languages and cultural conventions without the need for re-design . a. Structure format required for i18n implementation : 1) Create a i18n node of type sling:Folder as below 2) Create a node of type sling:Folder under i18n of mixin type mix:language and […]
Before swimming in Gson, I think we should take a bath with JSON. So What is JSON? These days JSON is set as standard for transmitting data between servers and web applications, known as Java Script object notation is a lightweight data interchange format. Now Gson is a java library provided by Google to convert […]
Problem not covered by Java ExecutorService Java’s ThreadPoolExecutor is a great tool. After configuring a thread pool we can keep on submitting Callables and get Futures. These futures can be used to get the values that the callable is supposed to return. In case we want to limit the execution time of this callable we have the option of […]