Questions tagged [whiteboard]

74 questions
0
votes
0 answers

Whiteboard problem finding an 'item' and returning the following item in the string or array

I return some of the tests correct but I am not sure why some of my answers come up undefined. I feel like my solution should work with both arrays and strings. Any advice would be appreciated! Here is the problem: Given a sequence of items and a…
Andrew Lovato
  • 103
  • 2
  • 10
0
votes
1 answer

Is there a way to save the state of a canvas on reload?

I'm using node js, to build a virtual whiteboard, where 2 or more clients can write on the board, using socket.IO module. For the board, I used p5.js. Is there a way to save the state of the canvas (board). Whenever a client reloads the page, the…
Aditya
  • 17
  • 3
0
votes
2 answers

Comparing two arrays and generating points when the items match

Here is my answer, which is wrong, but I cant figure out why. The logic seems fine but my acc is returning a larger number than expected most of the time. Here is the question: The first input array contains the correct answers to an exam, like…
Andrew Lovato
  • 103
  • 2
  • 10
0
votes
0 answers

How do i get access to a Windows Whiteboard application and track Pen and Touch Input

I would like to track various input interactions (Pen, Touch and Mouse) of users with a Microsoft Whiteboard application. Is there a way without hooking the application and using WM_POINTER Messages? (Because for some reason i can not make this…
0
votes
0 answers

Why am I getting a TypeError here?

Why am I getting a type error Cannot read property '0' of undefined here? Also how can I have full control of whether I am passing things by reference or by value? I am not able to find how to do this anywhere? There must be some flip I have to…
0
votes
0 answers

Exporting several services using Service Component Runtime

For example i have component exporting simple web-service: @Component( property = ["osgi.jaxrs.resource=true"], configurationPid = ["some.file.config"] ) @Path("/service") open class Service { @GET @Produces("text/plain") @Path("/getData") …
c0ld
  • 770
  • 4
  • 15
0
votes
1 answer

ng2-canvas-whiteboard is not working in Angular7.3.5

I followed the instruction for installing ng2-canvas-whiteboard package, but I have a blank page. Here is what I have done: IN Module: import { CanvasWhiteboardModule } from 'ng2-canvas-whiteboard'; @NgModule({ imports: [ …
MSH
  • 1
  • 1
0
votes
2 answers

Applet not getting initialized on the browser while using jms to connect to activemq

I have created a java applet which acts like a whiteboard and transmits realtime coordinates using jms connected to activemq broker using Websphere application Server. While i run the applet in applet viewer of eclipse my code runs fine and the…
Chirag
  • 1
0
votes
0 answers

UWP inkCanvas infinite surface same as microsoft whiteboard application

I saw Microsoft's whiteboard today and I like the base inkCanvas(it's my guess) control of it. and I decide to create a control in UWP app using inkCanvas which behaves similar as Microsoft's whiteboard UWP application. Microsoft UWP Whiteboard -…
0
votes
0 answers

Online Whiteboard using Socket Programming in Java

I am trying to create an online whiteboard where the server draws/sketches something on a panel and the client/clients can see it live. I am using JavaFX scene builder for the application. I know how to serialize objects into streams, but are JavaFX…
0
votes
0 answers

Adding a whiteboard in WordPress

I am working on a website which needs a whiteboard functionality on a page where teacher will teach the student using whiteboard and text chat. For every student that opens the page, a new whiteboard and session should be started. The site is built…
user379888
0
votes
1 answer

In use HttpService is not an WebContainer (from Pax Web)

I'm trying to get SessionListener work with my JAX-RS JSON channel. A bit probing in the dark, I was trying to instantiate Pax-Whiteboard environment which ought to be able to process the listener, so I've added the bundles to my OSGi environment.…
9ilsdx 9rvj 0lo
  • 7,955
  • 10
  • 38
  • 77
0
votes
0 answers

Using Felix/Whiteboard to host a VaadinServlet

As the title states, I'm trying to use Whiteboard to host my VaadinServlet. After many failed attempts at using other embedded servlet containers such as Jetty and Grizzly, I came across this solution here, written by the Bndtools man himself,…
Karijuana
  • 314
  • 1
  • 2
  • 13
0
votes
1 answer

Representing whiteboard diagrams as pure text while taking notes?

I write all my notes in a simple text editor, and I have a hard time capturing diagrams, flowcharts, etc. as purely text. Do you know of any text-based shorthand for diagramming? Or have you developed your own techniques you wouldn't mind…
Luke
  • 2,151
  • 3
  • 17
  • 15
0
votes
1 answer

OSGi Http Whiteboard pattern

Moving from web.xml to OSGi Http Whiteboard pattern created bundle-context.xml how to pass below properties from web.xml in jspServletfilter's osgi:service-properties
sandy
  • 97
  • 2
  • 14