[SOLVED] Android: socket failed: EACCES (Permission denied)

When you try to connect with web server you got the following exception: java.net.SocketException: socket failed: EACCES (Permission denied) at java.net.Socket.createImpl(Socket.java:492) at java.net.Socket.getImpl(Socket.java:552) at java.net.Socket.setSoTimeout(Socket.java:1180) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:244) at ... okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)…

Continue Reading [SOLVED] Android: socket failed: EACCES (Permission denied)

[SOLVED] Android: Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy

When you try to connect with a server via HTTP, you got the exception like below Cannot send data to the server java.net.UnknownServiceException: CLEARTEXT communication to 192.168.1.175 not permitted by…

Continue Reading [SOLVED] Android: Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy

[SOLVED] org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR:

Here you can find the solution for a problem: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR exception The problem When you invoke a web service you got the exception like below: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node…

Continue Reading [SOLVED] org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR:

[SOLVED] NullPointerException – How to fix it?

Today I am going to explain to you the exception known to every Java programmer, namely NullPointerException. I hope that once you get to the end of the article, it will become clear to you why this exception is so special.

Continue Reading [SOLVED] NullPointerException – How to fix it?

DL4J: How to create a neural network that draws images – Step by step guide

Neural networks, machine learning, artificial intelligence - I get the impression that these slogans attack us from everywhere. They are mainly associated with the giants of the IT industry, who from time to time report spectacular progress in this field. I decided to dispel myths about machine learning using a series of articles explaining this problem by interesting examples. In this article, I will show you how to build and learn a neural network to generate one image based on another step by step.

Continue Reading DL4J: How to create a neural network that draws images – Step by step guide