Posts

SimpleAsyncTaskExecutor and ThreadPoolTaskExecutor in Spring

SimpleAsyncTaskExecutor and ThreadPoolTaskExecutor are both implementations of the Executor interface provided by Spring, and they are both used for executing asynchronous tasks in a Spring application. However, they have some key differences: SimpleAsyncTaskExecutor creates a new thread for each task. This means that if you have a large number of tasks, it can lead to resource exhaustion. It's suitable for simple, short-lived tasks and should not be used in a production environment. ThreadPoolTaskExecutor uses a thread pool to manage the execution of tasks. This means that a fixed number of threads are created and tasks are executed using these threads. If a task is submitted and all threads are busy, the task is placed in a queue to be executed later. This allows for better resource management and is more suitable for production environments. ThreadPoolTaskExecutor also allows you to configure the number of threads in the pool, the maximum size of the pool, and other settin...

Hackintosh OS X 10.9 Mavericks dual boot with Windows 10 Pro

Image
I use a late 2013 Retina Macbook Pro as my main computer. I've an another desktop computer with pretty good specs. I thought making it a hackintosh because I love the stability of OS X with the unix terminal. Its really awesome when you're a developer. Since I do occasional gaming I'm going to dual boot OS X 10.9 and Windows 10 Pro. The reason I chose OS X Mavericks over Yosemite and El capitan to my hackintosh, I'm gonna run latest version of OS X on my MBPr anyway, so I don't want to have same OS on both computers. And Finally I like the OS X Mavericks and previous OS X aqua feeling with that Menlo font. That all personal preference btw :) My Late 2013 Retina Macbook Pro + Windows 10 running PC The Specs of the PC I'm going to convert it to a Hackintosh - Intel Core i7 3770K overclocked to 4.5GHz (1.23v) - 16GB DDR3 1600MHz GSkill RipjawasX RAM (8GBx2) - 1TB Toshiba mk1002tskb 7200rpm Enterprise grade Hard Drive - 2GB EVGA GT640 VGA Card ( I k...

Using MySQL on OS X Yosemite with XAMPP

Image
Not working MySQL after installing XAMPP on OS X ??? If answer is YES, You've come to the right place :) After installing XAMPP on OS X go to the launchpad click XAMPP (Other) and  open manager-osx app. This is the XAMPP control panel XAMPP control panel After that click Application log tab and start Apache web server and MySQL server.

How to install CodeIgniter on Windows

Image
CodeIgniter CodeIgniter is a very mature PHP open source free web framework. It's developed in 2006 and It has a huge reputation among web programmers. CodeIgniter became popular because It's light weight, Because of small in size it adds a very little overhead compare to other PHP frameworks, and because its small in size its fast comparing other frameworks out there. Because CodeIgniter is very mature framework it's documentation and support is huge in the developer community. If you got a problem with something in CodeIgniter you can easily search it on Internet and find a answer to it very easily.