0
votes
0answers
4 views

Inheritance with two abstract classes

Im trying to create an arraylist that contains at least two instances of each class, I need to achieve this using a single arraylist. The problem is the class HourlyWorker and ContractWorker both ...
0
votes
0answers
2 views

Java: reading from an input file, then moving data into subclasses

Early stages of a simulation project, when this program runs, its supposed to read in a file such as the one below, then it should process each neuron and synapse through the program. There are two ...
0
votes
0answers
2 views

Building thread-safe HDF5 1.8.16 on Windows 7.1

I have read this SO question and have installed CMake, changed the options, but I still have the error: CMake Error at CMakeLists.txt:593 (message): **** parallel and thread-safety options are not ...
0
votes
0answers
4 views

mongodb using $pop in subdocment

Struggling with the use of $pop in a mongodb. Suppose I have the following collection: `{_id:3 name: "item 1", subdoc:{ array:[ {id: "999", ...
0
votes
0answers
3 views

make a video your background, but still have icons on desktop

How to make a video your background, but still have icons on desktop
0
votes
0answers
3 views

Prevent Mongoose stack trace for errors

Mongoose emits a stack trace for a cast error. I know how to prevent the Mongoose error - please do not answer how to prevent the error. How can I stop Mongoose emitting stack trace errors in ...
0
votes
0answers
2 views

AsyncIO python3.4 restserver

I am trying to implement a simple restful server using asyncio module in python 3.4 and not able to hit my endpoints I have defined. When I do a CURL (GET request) on the URL ...
0
votes
0answers
4 views

Generating non-colliding random numbers from the combination of 2 numbers in a set?

I have a set of 64-bit unsigned integers with length >= 2. I pick 2 random integers, a, b from that set. I apply an operation to combine a and b into a single 64-bit unsigned integer, c. I add c to ...
0
votes
0answers
2 views

Update plot in bokeh

It's possible to update a bokeh plot dynamically without a create a server or a database? This is a very simple plot from the documentation: from bokeh.plotting import figure, output_file, show ...
0
votes
0answers
4 views

Modify datasource i.p address in WebSphere Application Server

I have nearly a hundred data source in a WebSphere Application Server (WAS) and due to office location, the I.P. of the database servers have changed and I need to update the datasource i.p. address ...
0
votes
0answers
3 views

Why does SVG text appear to bounce as I animate it along path

I have an svg <path ...> and <textPath ...> that I animate by re-setting the text's startoffset property in a setTimeout( ...) routine. Please see plunker to see the jumpy text and code ...
0
votes
0answers
5 views

Win32 multiple dialogs command handler

In my Win32 application I have multiple dialogs and am using the following macro to handle commands for all the dialogs: HANDLE_MSG(hWnd, WM_COMMAND, OnCommand); I would like the following code to ...
2
votes
0answers
12 views

Why can't arrays be resized by reference in Java?

I was playing with arrays and manipulating them in different ways, and I stumbled across some very strange behavior! My initial concern was replacing an array with another one that might or might not ...
0
votes
0answers
4 views

Search an array for a specific value

I'm trying to search an array to find this._id. studentId returns the correct Id however fav returns Object {_id: "fMNS3M5dW356C46Sq", emails: Array[1], profile: Object, roles: Array[2]} How do I get ...
-2
votes
0answers
16 views

Why is 'i' used by convention in for loops?

In Python, the convention in for loops is something like: for i in somVar: #dostuff This convention then continues when you have nested for loops: for i in somVar: for j in i: ...

15 30 50 per page