development – Is it possible to efficiently run an application hosted by an external provider with SharePoint lists?

I recently discovered SharePoint and the applications hosted by vendors. Based on videos and tutorials, I found that most of them owned a site with a SPHostURL. I was able to recreate that too.

Then heard the display of several applications in an iframe. (See picture)

When you click a hyperlink to the application, it appears in the Iframe. The right side contains the SharePoint calendar or other lists of clients with which the application hosted by the provider can communicate, for example. selection of dates, search of contact details, notes.

For example, if an application is a project tracker, the definition of a deadline in the application appears in the SharePoint calendar.
enter the description of the image here

Is this method easily possible and effective?

What is the best approach for the applications hosted by the provider?

opengl – PyOpenGL structure Cubemap ARB does not run with gluSphere

I made a gluSphere rendering in my screen and gave it a map texture of Earth cube. The texture is perfectly visible (see below), but I can not rotate it with the shape. This question is closely related to my problem, but the suggested solutions do not work, but rather produce a beachball effect on my sphere (see below). However, that turns, so I guess that's fine.

What can I do to rotate my texture with the sphere?

Thank you!

(This code is a slightly modified version of this)

from OpenGL.GL import *
from OpenGL.GLU import *
from OpenGL.GLUT import *
from OpenGL.GL.ARB.texture_cube_map import *
import numpy
from PIL import Image as Image
import sys

angle    = 0.1
texture  = 0
# glTexGeni mode
mode = GL_NORMAL_MAP_ARB

# this loads a cube map from six images
def loadCubemap ( faces, path = ""  ):
    texture = glGenTextures ( 1 )
    target_map  = GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
    glBindTexture     ( GL_TEXTURE_CUBE_MAP_ARB, texture )
    glPixelStorei     ( GL_PACK_ALIGNMENT,1 )
    glTexParameteri   ( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S,     GL_REPEAT )
    glTexParameteri   ( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T,     GL_REPEAT )
    glTexParameteri   ( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR )
    glTexParameteri   ( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR )
    glEnable          ( GL_TEXTURE_CUBE_MAP_ARB )

    for face in faces:
        if path != "":
            file = path + "/" + face
        else:
            file = face
        image  = Image.open ( file )
        width  = image.size (0)
        height = image.size (1)
        image  = image.tobytes()
        gluBuild2DMipmaps ( target_map, 3, width, height, GL_RGBA, GL_UNSIGNED_BYTE, image )
        target_map = target_map + 1
    return texture

#this will check if the OpenGL ARB extension is working
def extensionInit ():
    if not glInitTextureCubeMapARB ():
        print("ARB_texture_cubemap not working !")
        sys.exit ( 1 )

def init ():

    glClearColor(0, 0, 0, 1)
    glClearDepth ( 1.0 )
    glDepthFunc  ( GL_LEQUAL )
    glEnable     ( GL_DEPTH_TEST )
    glHint       ( GL_POLYGON_SMOOTH_HINT,         GL_NICEST )
    glHint       ( GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST )

#this will help when resizing the window
def reshape ( width, height ):
    glViewport     ( 0, 0, width, height )
    glMatrixMode   ( GL_PROJECTION )
    glLoadIdentity ()
    gluPerspective ( 55.0, float(width)/float (height), 1.0, 60.0 )
    glMatrixMode   ( GL_MODELVIEW )
    glLoadIdentity ()
    gluLookAt      ( 0.0, 6.0, 0.0,
                     4.0, -4.0, 4.0,
                     0.0, 0.5, 0.0 )

def display ():
    global texture, mode

    glClear   ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT )
    glEnable  ( GL_TEXTURE_CUBE_MAP_ARB )
    glEnable  ( GL_TEXTURE_GEN_S )
    glEnable  ( GL_TEXTURE_GEN_T )
    glEnable  ( GL_TEXTURE_GEN_R )
    glTexGeni ( GL_S, GL_TEXTURE_GEN_MODE, mode )
    glTexGeni ( GL_T, GL_TEXTURE_GEN_MODE, mode )
    glTexGeni ( GL_R, GL_TEXTURE_GEN_MODE, mode )

    glBindTexture   ( GL_TEXTURE_CUBE_MAP_ARB, texture )
    glPushMatrix    ()
    glTranslatef    ( 2, 2, 2 )
    glRotate       ( angle,  0, 10, 0 )
    glRotate       ( angle,  10, 0 , 0 )

    glutSolidSphere(1.5, 10, 10)

    glPopMatrix     ()
    glutSwapBuffers ()

# keyboard bindings
def keyPressed ( *args ):
    key = args (0)
    if key == '33' or key == b'x1b':
        sys.exit ()

# rotation
def animate ():
    global angle
    angle  = 0.01 * glutGet ( GLUT_ELAPSED_TIME )
    glutPostRedisplay ()

# main function
def main ():
    global texture

    glutInit               ( sys.argv )
    glutInitDisplayMode    ( GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH )
    glutInitWindowSize     ( 600, 400 )
    glutInitWindowPosition ( 0, 0 )

    glutCreateWindow ( "Render the Earth" )
    glutDisplayFunc  ( display )
    glutIdleFunc     ( animate )
    glutReshapeFunc  ( reshape )
    glutKeyboardFunc ( keyPressed )

    init          ()
    extensionInit ()

    texture = loadCubemap ( ( "east1.png",
                              "west.png",
                              "north.png",
                              "south.png",
                              "center.png",
                              "east2.png" ), "cubemap" )
    glutMainLoop()

if __name__ == "__main__":
  print("Hit ESC key to quit.")
  main()

This is the result of mode = GL_NORMAL_MAP_ARB:
cubemap
That's what I get when I do it mode = GL_OBJECT_LINEAR (suggested here):
enter the description of the image here

Is it possible to run an if loop controlled by an entry in python?

I am a rookie in python. I have this code to generate simulated bingo balls:

import random
letras = ('B','I','N','G','O')
randomletras = random.randint(0,4)
numeros = range(1,51)
randomnumeros = random.randint(0,49)
print((letras(randomletras)) + "-" + str(numeros(randomnumeros)))

print ("Nueva balota: s/n ?")
balota = input ("")

if balota =='s':
#aquí necesito volver a ejecutar todo el código anterior y volver a formular la pregunta           
#else:
    #print ('************fin del juego***********')   

so that random ballots are generated until "n & # 39; be selected

javascript – I have a problem with the reporter when I try to run the test cases in the Microsoft browser. I receive an error

Thank you for contributing an answer to Stack Overflow!

  • Please make sure to respond to the question. Provide details and share your research!

But to avoid

  • Ask for help, clarification, or answer other answers.
  • Make statements based on the opinion; save them with references or personal experience.

To learn more, read our tips for writing good answers.

jsom – online action to add SharePoint online user to run javascript on all pages of a site collection

You can try the custom action of the user at the site collection level, where you can provide the link for the js file.

Please let me know, if you may need more information
Refer

Add a custom user action

Add a custom user action

Update
To add the js file to the site, you can try the code below.

    Site site = clientContext.Site;

UserCustomAction customAction = site.UserCustomActions.Add();
customAction.Location = "ScriptLink";
customAction.ScriptSrc = String.Format("{0}://{1}/Scripts/HelloWorld.js", Request.Url.Scheme, Request.Url.Authority);
customAction.Sequence = 1000;
customAction.Update();

clientContext.ExecuteQuery();

Ref
Src Script

The easiest way to add a script and mark your SharePoint and SharePoint Online

Java – Application run JavaFX

You are the manager of JavaFX policy management when performing access control and configuration of your consoleless computer:

Exception in the startup method of the application
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (native method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at the address com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs (LauncherImpl.java:389)
at the address com.sun.javafx.application.LauncherImpl.launchApplication (LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (native method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at sun.launcher.LauncherHelper $ FXHelper.main (LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: exception in the application startup method
at the address com.sun.javafx.application.LauncherImpl.launchApplication1 (LauncherImpl.java:917)
at the address com.sun.javafx.application.LauncherImpl.lambda $ launchApplication $ 1 (LauncherImpl.java:182)
on java.lang.Thread.run (Thread.java:748)
Caused by: javafx.fxml.LoadException: Error while solving onAction = "ClickBotao", the event handler is not in the namespace or there is a error in the script.
file: / C: /Users/eder/Documents/NetBeansProjects/OlaMundojavafx/dist/run1545924897/OlaMundojavafx.jar! /olamundojavafx/FXMLDocument.fxml: 11

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2597)
at javafx.fxml.FXMLLoader.access$100(FXMLLoader.java:103)
at javafx.fxml.FXMLLoader$Element.processEventHandlerAttributes(FXMLLoader.java:610)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:770)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2823)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097)
at olamundojavafx.OlaMundojavafx.start(OlaMundojavafx.java:22)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$3(WinApplication.java:177)
... 1 more

Exception of application in progress olamundojavafx.OlaMundojavafx
Java result: 1
Removing the C: Users eder Documents NetBeansProjects OlaMundojavafx Dist Run1545924897 Directory
jfxsa-run-no-another-jvm:
BUILD SUCCESSFUL (total time: 27 seconds)

CRYPTO profitable trading strategy in the long run! 21% win on #TRX! – Advertising, offers

Visit the community for a free cryptographic signal, Bitcoin Bot, Bitmex Leverage Trade and Gdax Trading – https://t.me/freebitmexsignals
SfSFMq9.jpg "data-src =" https://i.imgur.com/SfSFMq9.jpg "src =" https://topgoldforum.com/applications/core/interface/js/spacer.png "/><br />21% profit made by the BOT on #TRX through a scalping trade. Even with a small movement on the market, our BOT carries out exceptional transactions.
</p>
<p>	The BOT generates daily profits with a certain ease. Join our Premium Group to receive Automated Transactions and Bitmex Premium Signals.
</p>
<p>	We have highlighted all live Bitmex statements for every transaction made here (which has never been done by anyone before).
</p>
<p>	Statistics show all Bot Auto Trades & Premium Bonus Bitmex Signals results.
</p>
<p>	Bitmex is the center for profit – you need to trade with the right strategy and tool. Get these automated tools and strategies from us and improve your Bitmex portfolio.
</p>
</p></div>
<p>        . (tagsToTranslate) bitmex (t) binance (t) bitcoin</p>
<div data-id=

Web Development – Can I run multiple sites with a custom look and feel from a single code base and a unique database?

I want to create a main website for example, www.myweb.example which has the main features such as administration panels, databases, etc.

Then, I want to propose to the customers a personalized interface (change of css and logo) so that this one integrates perfectly with their activity. I also want the site address to be a subdomain of the main website or a totally different URL. it is to say www.subsite.myweb.example or www.myweb1.example.

Front-end and back-end sites must share the same database in order to be synchronized. Front-end servers would only show individual customer data and should run the CRUD operation against the database.

Can my needs be met through a single site or should a client be developed for each client?

Amazon web services – How to run the docker-dial web application on AWS?

I'm using an image annotation tool (coco-annotator based on Vue.js) locally and I want to run it on an AWS web server so I can access it from there. anywhere.
The source code contains fixed menu files and can be run locally using

docker-compose up

Does anyone know what steps to take to run this application on an AWS web server?
AWS seems pretty complicated because it has a million options, so I'd like to know

  1. Which "product" should I choose? ("EC2" (virtual machine)? "Elatic Beanstalk" (web application)?
  2. Which pre-installation should I choose? ("Docker – single instance"?)
  3. How can I tell AWS, how to run the command for coco-annotator? (log in via ssh and run the command manually ?, or is there a preconfiguration that automatically enters the respective source folder and runs docker-composition at startup?)

What is the meaning of the error above when trying to run a c ++ program? C: Users H Documents Makefile.win [Build Error] [main.o] Error -1073741819

What is the meaning of the error above when trying to run a c ++ program? C: Users H Documents Makefile.win [Build Error] [main.o] Error -1073741819