Need help constructing doubleYScale key
Vote count: 0 I couldn't work out how to add the correct key to the plot below. Please help. The key should have the text c("Totalcatch","Effort","Catchrate") followed by the lines of the appropriate colour (for Effort and Catchrate), and the appropriate pch (a rectangle for totalcatch, 15 and 16 fo...
Reusing textures in WebGL
Vote count: 0 I have a long pipeline of shaders in WebGL, where each shader reads from an input texture, renders to another texture, and by the end the last texture contains the desired result. Can I reuse textures in the pipeline, as if it was ru ing synchronously? // ... init texA to contain input...
How to get value of Ini file from InputStream in Java?
Vote count: 0 I've developed a Web Service in Java, and my client will upload an .ini file to the service using the API which definition is something like public Response PostStreamInfo(@Context HttpServletRequest request, @PathParam("UniqueId") String uniqueId, InputStream inputStream) { /* my code...
file retrieval in rails app using paperclip and fog-google
Vote count: 0 In a Rails 4 app, I am using Paperclip and the fog-google gem to store pictures in my Google Cloud Storage bucket. Everything works great for file upload. The problem is that when I retrieve a bunch of photos to display, it is incredibly slow. The requests take waaay longer than they s...
Displaying table data in some column while looping
Vote count: 0 I want to show my database to table, but not just repeating in 1 row, I want it repeating in 4 column. In this code, the table show :No Kursi01020304050607080910 <table class="table table-bordered table-striped"> <tr> <th ><strong>No Kursi</strong></th> </tr> <?php $s = mysqli_query($k...
Run Docker commands in Jenkits Shell
Vote count: 0 I am trying to run docker commands in Jenkits Shell The command shell that I am trying is # optional: record current versions of docker apps with each build docker -v && docker-compose -v && docker-machine -v # set-up: clean up any previous machine failures docker-machine stop test || ...
ShoppingCart servlet giving error?
Vote count: 0 I am not able to find what is wrong with my webApp. This is my first project and i'm kinda stuck. All i know is that something is going wrong in ShoppingCart.java whenever i click add to cart in index.html it gives me a error code of series 500 i tried to look into console but didn't u...
how to delay the process/incrementation in Android
Vote count: 0 I'm creating a android quiz application and what I want to do and know is how to delay the process or incrementation i want to delay 2seconds before it adds another question here is my code, i have q++ there which will add question after the user answer a question. I want to delay it f...
Assigning a different ViewSource in WPF
Vote count: 0 I'm experimenting with C#/.net/WPF all for the first time. I've created a project and set up a datasource (just a table with some sample data) and created two tableadapters named Prods and Prods1 - the latter has a filter applied in the query to retu slightly different results. I've dr...
SQL and php command error
Vote count: 0 I am having a problem ru ing this command which I am trying to enter my ids from two other tables with the third parameter edison_ssid but I am receiving the following key error because of my table key relationships, the key for patientTable is auto increment: [2016-03-29 18:25:58] [23...
php function header() not working
Vote count: 0 The page refreshes instead of going to index.php. The header function seems to be not working, even if I move it anywhere in the code. Does anyone know why this is happening? Would be thankful for the help! <?php if (isset($_POST['btnLogin'])) { $Email = $_POST['email']; $Password = $_...
Ember.js -- how to access data in Ember session from route
Vote count: 0 Using ember-simple-auth I set up a session and set the currentUser key equal to the user object retu ed from the server: setCurrentUser: function () { if (this.get('isAuthenticated')) { const accountId = this.get('session.content.authenticated.user_id'); this.get('store').findRecord('u...