What is the difference between PyCharm Virtual Environment and Anaconda Environment?

I have to clarify that anaconda is just a collection. The real environment manager is conda. Here is miniconda. It just contains the necessary parts to manage the environment instead of a full anaconda collection. conda is beyond a simple Python packages manager but is a system-wide package manager. It will help you to install … Read more

How to generate .env file for laravel?

Just tried both ways and in both ways I got generated .env file. Composer should automatically create .env file. In the post-create-project-cmd section of the composer.json you can find: “post-create-project-cmd”: [ “php -r \”copy(‘.env.example’, ‘.env’);\””, “php artisan key:generate” ] Both ways use the same composer.json file, so there shoudn’t be any difference. I suggest you … Read more

Create conda environment: “Found conflicts!” when solving environment and “Finding shortest conflict path” running forever

This error and the subsequent behaviour is very likely coming from the Anaconda bug which from time to time causes inconsistencies in the local environment. As of Jan 26th, 2020 the bug was not yet resolved. For me the same problem manifests profoundly on Mac.

Setting up Eclipse with JRE Path

You can add this line to eclipse.ini : -vm D:/work/Java/jdk1.6.0_13/bin/javaw.exe <– change to your JDK actual path -vmargs <– needs to be after -vm <path> But it’s worth setting JAVA_HOME and JRE_HOME anyway because it may not work as if the path environment points to a different java version. Because the next one to complain … Read more

How to test HQL queries?

With Intellij IDEA 8.1.3 the mechnism of choice is called ‘Facet’. To instantly test HQL queries: create a data source Tools -> Data Source, Add Data Source, define driver, username and password of yor development db in case you dont have already a hibernate.cfg or you configure your session factory in a different way than … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)