Redirect URL between php/html and static files on same domain

First, I’m sorry about my bad English , expression , I need your advice for my case. Here my environment:

Dedicated server : Centos 6.4 64 bit , HAproxy , load balancing for website.com
Dedicated servers : Centos 6.4 64 bit , httpd-2.2.15 , php 5.3.3 , mysql 5.1.73 , hosting for website.com
Dedicated server : Centos 6.4 64 bit , nginx-1.0.15 , hosting for static.website.com
So when user request URI website.com/index.html :
User send http request to HAproxy server ask for website.com/index.html
User send http request to static server ask for static.website.com/image.jpg (referrer by “https://website.com/index.html“)
I force/redirect user to use https.

read more

Redirect URL between php/html and static files on same domain

First, I’m sorry about my bad English , expression , I need your advice for my case. Here my environment:

Dedicated server : Centos 6.4 64 bit , HAproxy , load balancing for website.com
Dedicated servers : Centos 6.4 64 bit , httpd-2.2.15 , php 5.3.3 , mysql 5.1.73 , hosting for website.com
Dedicated server : Centos 6.4 64 bit , nginx-1.0.15 , hosting for static.website.com
So when user request URI website.com/index.html :
User send http request to HAproxy server ask for website.com/index.html
User send http request to static server ask for static.website.com/image.jpg (referrer by “https://website.com/index.html“)
I force/redirect user to use https.

read more

Deeplearning4J Word2Vec Neural network with human feedback

I’ve been playing with neural network for a few weeks now and I found this Java library, Deeplearning4J, which I used to set up a simple word2vec neural network. I made some tests and I saw that, after training it with a corpus containing something around 100 bilion words, it’s able of some logic which, obviously, is not always correct. Now my question is: can I manually fix the output values when the network is wrong?

Technically, what I would like to do is:

  • Sending an input into the network
  • Checking the output of the network
  • If the output is wrong (I’ll make this check manually), I would like to call a method which takes the input along with the correct output and adjusts the weights and biases of the network according to it (like in supervised learning)

Practical case:

At the moment, my network is able to make simple logical comparisons. So, if I feed into it “king = queen like man = ?” the actual output is “woman”.
Sometimes, though the output is wrong. If my input is “mathematics = numbers like language = ?” I get numbers as a result and “idioms” as the third result which is the correct one. In this case I want to send “mathematics = numbers like language = idioms” (or something like that), in a method which fixes the network.

read more

Deeplearning4J Word2Vec Neural network with human feedback

I’ve been playing with neural network for a few weeks now and I found this Java library, Deeplearning4J, which I used to set up a simple word2vec neural network. I made some tests and I saw that, after training it with a corpus containing something around 100 bilion words, it’s able of some logic which, obviously, is not always correct. Now my question is: can I manually fix the output values when the network is wrong?

Technically, what I would like to do is:

  • Sending an input into the network
  • Checking the output of the network
  • If the output is wrong (I’ll make this check manually), I would like to call a method which takes the input along with the correct output and adjusts the weights and biases of the network according to it (like in supervised learning)

Practical case:

At the moment, my network is able to make simple logical comparisons. So, if I feed into it “king = queen like man = ?” the actual output is “woman”.
Sometimes, though the output is wrong. If my input is “mathematics = numbers like language = ?” I get numbers as a result and “idioms” as the third result which is the correct one. In this case I want to send “mathematics = numbers like language = idioms” (or something like that), in a method which fixes the network.

read more

Tree view is expanding for public website only when connected through VPN

I am working in a public website and this website is developed in the Asp.Net. I am facing a strange problem in this website i.e. If I run through code in my system and local database than treeview expansion functionality which takes data from database is working fine but at the same time if I try to expand this tree view in publicly deployed website than it doesn’t work.

But the strange thing is that when I connect to their Virtual private network through Citrix access gateway and than use this public website than expand functionality works fine.

read more