mercredi 3 janvier 2018

Is ajax is reliable to develop user to user chat system?

I am new to web technology and i want to know is ajax is good to build a user chat system (Where user can chat with each other just like an messenger) will it slow down the server? if yes? what will be a better technology for implementing it or if not what you people suggest how to implement that.

I am working in laravel. Thank you all of you in advance




Which 3D web framework should I use for developing 3D medical imaging S/W?

I am looking for 3D Web framework to study for developing 3D medical imaging tool.

  1. View 3D medical images with DICOM, such as MRIs, CTs, and so on.
  2. Annotate(label) on the 3D images through Web.

I found some: three.js(AMI), vtk.js and X3DOM, but don't know what to use.

Based on that I know little about 3D graphics(actually now studying through VTK(not vtk.js) ), can you guys recommend which frameworks to use regarding the present and future usage?




mardi 2 janvier 2018

Can't connect Web page on Alibaba Cloud ECS

I'd set the apache2 server on my free ECS as StartGuide documents. http://ift.tt/2DTUFCL

But couldn't access my web page. Do I need the EIP feature for Apache service?

apache2 daemon is alive. What could I try?




Is there any solution that share jwt token with multi domain?

i can get jwt token in A.com and i want to use that token in B.com and C.com. without cookie, iframe.

is there any solution? thanks.




Web - Redirect website url that is being used by a request

I know that the title isn't very clear, but my problem is kind of complicated.

Lets say I am on this website (lets say, example.com), and the website is taking images from another website ( images.com ). I want to change something so that instead of images.com, example.com takes images from myimages.com.

Still too complicated? I will break it down more. This is what currently is hapenning:

example.com takes images from images.com

This is want I want:

example.com takes images from myimages.com

If you still dont understand, please comment below!




webViewDidFinishLoad() does not appear to be running in Swift

I have a view controller for a webview, setup through KINWebBrowser.

I've tried several ways to get these methods to execute:

func webViewDidStartLoad(webView: UIWebView) {
    print("Strat Loading")
}
func webViewDidFinishLoad(webView: UIWebView) {
    print("Finish Loading")
}
func webView(webView: UIWebView, didFailLoadWithError error: NSError?) {
    print(error?.localizedDescription)
}
func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -> Bool {
    return true
}

override func webViewDidFinishLoad(_ webView: UIWebView) {
    super.webViewDidFinishLoad(webView)
    print("Finish Loading 2")
}

But nothing seems to be working.

My class definition seems normal: class WebBrowserViewController: KINWebBrowserViewController, NavigationProtocol {

But no matter what I do - override func or not, no logger or print statement I put in these functions seems to be executed.

What am I doing wrong? I am trying to create an event that will listen to when all of the web content is loaded so I can stop having a loading spinner appear.




How does SVG image pattern work with preserving aspect ratio?

I have the following svg: <svg height="100%" width="100%" viewBox="0 0 100 100" preserveAspectRatio="none" style="display: block; position: absolute; top: 0;"> <defs> <pattern id="img1" patternUnits="objectBoundingBox" width="100%" height="100%"> <image xlink:href="http://ift.tt/2A83ruF" x="0" y="-20" width="100" height="100"/> </pattern> </defs> <polygon points="0 100, 50,50 100,100" id="abajo" style="stroke-width:0" /> </svg>

It's not working as expected because it enlarge te face of the people on the image as follows:

enter image description here

But it should look like this:

enter image description here

Does having a trinagular polygon affects the image? How can I solve it, I need 4 triangle figures with images inside to be clickables.