What is Gulp.js? Gulp.js is a powerful task runner that automates repetitive development tasks like compiling SASS, minifying files, and optimizing assets. It's especially useful for web development workflows, including Drupal theming. Why Use Gulp.js for Drupal Themes? Gulp.js enhances productivity by automating tasks, speeding up the...
Introduction: PHP, a server-side scripting language powering a vast majority of websites, has taken a giant leap forward with the release of PHP 8. Packed with innovative features and improvements, PHP 8 promises to revolutionize the way developers build web applications. In this comprehensive blog post, we'll explore the enhanced...
We have been using Druid in our project for a while and had shared our experiences during GIDS. It has given us great results as it powers our real-time dashboards, reports on running Ad campaigns and provides real-time data to make quick decisions. But like any other databases there will be times when it needs to be optimized. This is...
Before landing you to the Common Misconceptions about Video Metadata, let me first give you a little brief about what Video Metadata actually is. Commonly heard from YouTube and video experts, this can be simply defined as achieving 'data from data'. Yes! When we talk about videos, it becomes a challenge for one to spread the produced...
YouTube was not always YouTube without the unbelievable success stories of its users. Started in 2005, YouTube is becoming more popular as the ultimate website for watching videos. Regular users who would otherwise have kept themselves anonymous are now finding fame by uploading videos, just like the way teen icon Justin Bieber...
Working on YouTube is fun! Not only limited to video-sharing, YouTube includes video clips, TV clips, music videos, and other content such as video blogging, short videos, and educational videos. Yes, you do the uploading and sharing of your content, but is that all? How is it that you will market your content for the rest of the people?...
YouTube being the second-largest search engine, it owns the most videos shared and watched within social networks like Facebook and Twitter. YouTube has over 4 billion videos being viewed every single day and has 60 hours of video being uploaded every minute. When it comes to the video market, YouTube is the biggest giant! A...
Sometimes we need to access details of current logged in user but that will be an additional database query. To save that query we can use principal object of Spring security which provides details of logged in user . But by default principal object have few fields like id, username and password. If we need to access user's name /...
Redis plugin provides a beautiful way to cache the html tags. Using this plugin we can make big savings on the time taken to render the gsp tags. [java] <redis:memoize key="someKey" expire="3600" > //Some heavy weight tags rendering // Lots of db / network operations. </redis:memoize> ...
Recently, I used bitwise Anding in my grails project. I am sharing the approach that we followed by means of an example. Suppose we have a domain class Person which can have multiple attributes like Smart, Intelligent, Talkative etc. What sort of relationship comes to our mind when we see this? I believe the obvious answer would...
Generally in our code, we have lots of debug statements that prints the intricate details of the state of the program. Infact, the debug statements are meant for doing this. Sometimes, these debug statements may contain a call to some other method to evaluate what is to be logged. [java] //Logging statement calling some function to...