Lombok and Maven

This should work as is, and has nothing to do with IntelliJ idea. But I would: make sure the @Data annotation is the lombok one remove the repository definition (maven central is fine) use a recent lombok version (1.16.0 as of this writing) rebuild (mvn clean package) I think the lombok jar is not found by maven in … Read more

PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused

I found the reason why the connection was not working, it was because the connection was trying to connect to port 8888, when it needed to connect to port 8889. This fixed the problem, although changing the server name to localhost still gives the error. Connection failed: SQLSTATE[HY000] [2002] No such file or directory But … Read more

MySQL: Access denied for user ‘test’@’localhost’ (using password: YES) except root user

I am facing problem with mysql non root/admin user, I am following the below steps for creating user and its privileges, correct me if i am doing wrong, i am installing mysql on RHEL 5.7 64bit, packages are mentioned below, once i done the rpm install we are creating mysql db using mysql_install_db, then starting the mysql service then using mysql_upgrade also we … Read more

Where does Chrome store cookies?

The answer is due to the fact that Google Chrome uses an SQLite file to save cookies. It resides under: inside Cookies file. (which is an SQLite database file) So it’s not a file stored on hard drive but a row in an SQLite database file which can be read by a third party program such as: SQLite Database Browser EDIT: Thanks … Read more

What is cross-entropy?

Cross-entropy is commonly used to quantify the difference between two probability distributions. In the context of machine learning, it is a measure of error for categorical multi-class classification problems. Usually the “true” distribution (the one that your machine learning algorithm is trying to match) is expressed in terms of a one-hot distribution. For example, suppose … Read more