Hibernate/c3p0: apparent deadlock

The apparent deadlock message issued by c3p0, a connection pool manager of Hibernate, can sometimes be misleading. Most of the times, it is caused by connection errors. So, check your firewall, and, for Postgresql  try the following command from the command line

If this works, you should have no problem connecting to Postgresql. The … Continue reading “Hibernate/c3p0: apparent deadlock”

Create a production build using React JS

You probably saw some warnings that say you’re using React in development mode, and want to know how to create a production build using React. Why you get a warning of being in React development mode Normally you import React JS in your javascript ECMA 6 code with the following statements in a .js file … Continue reading “Create a production build using React JS”

How to find new and interesting blogs

How to do to find a new and interesting blog, starting from a few keywords or from an already known blog? A few methods follow, continuosly updated, thanks also to you suggestions too! Blog directories http://www.blogarama.com http://www.blogflux.com http://www.bloghub.com … search google for “blog directory” Blog search engines Blog search engine Blogspot search Google – blog … Continue reading “How to find new and interesting blogs”

How to install Ubuntu Linux 16.04 LTS on an HP Z240 workstation

I tried to install Ubuntu Linux 16.04 LTS on a Z240 HP workstation alongside Windows 10, which was preinstalled. The installation process went smoothly, but when I rebooted Grub didn’t show up and Windows booted automatically. Eventually I discovered that to make the Ubuntu installation install Grub correctly on the Z240 workstation, one must disable … Continue reading “How to install Ubuntu Linux 16.04 LTS on an HP Z240 workstation”

How to downgrade from React JS 16 to 15

If you, as me, upgraded React 15 to 16, and then noticed a bug in you app, you’d like to downgrade, at least temporarily, to React 15. To do this, you need to issue the following command:

This will bring React to version 15.6.2 again. After fixing the bug, you can run the following … Continue reading “How to downgrade from React JS 16 to 15”