Monthly Archives: August 2014

WordPress $ is not defined even if jQuery is loaded

Many times while using WordPress, if we try to use "$” to access jQuery, we get an error the "$ is not defined”. This happens because the jQuery library which is included in WordPress loads in "no conflict” mode. In the no conflict mode jQuery returns the control of "$”, and it is no longer accessible as a function, variable, or alias for jQuery. WordPress does this in order to prevent compatibility problems with other JavaScript libraries that can be loaded. To solve this we can use "jQuery” instead of "$”. So, instead of using the standard code with "$” we can use the following code, which uses "jQuery” instead of "$” If you want to use the default "$”…

Continue Reading

Getting Started with Hadoop 2.0

Apache™ Hadoop® is an open source software project that enables the distributed processing of large data sets across clusters of commodity servers. It is designed to scale up from a single server to thousands of machines, with a very high degree of fault tolerance. Rather than relying on high-end hardware, the resiliency of these clusters comes from the software’s ability to detect and handle failures at the application layer. Hadoop 1 popularized MapReduce programming for batch jobs and demonstrated the potential value of large scale, distributed processing. MapReduce, as implemented in Hadoop 1, can be I/O intensive, not suitable for interactive analysis, and constrained in support for graph, machine learning and on other memory intensive algorithms. Hadoop developers rewrote major…

Continue Reading
Contact Us
  • Tencent Binhai Building, Shenzhen, China
  • root [at] haozhexie [dot] com