text
stringlengths
15
59.8k
meta
dict
Q: Sending arrays to REST services in CakePHP I'm currently writing a REST service using CakePHP and I was wondering how can I send an array of item_ids through REST to an action. class ItemsController extends AppController { var $components = array('RequestHandler'); var $helpers = array('Text', 'Xml'); function ind...
{ "language": "en", "url": "https://stackoverflow.com/questions/901014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am I getting this 'enum' is not a class or a namespace error? I need call a method with this signature in my Manager class: void createPlayer(Player& player, PlayerType& playerType); I have a Player defined like so: using namespace std; enum PlayerType { FORWARD, DEFENSEMAN, GOALIE }; class Player { public:...
{ "language": "en", "url": "https://stackoverflow.com/questions/22238391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: how to efficiently redirect url in Cloudfront without S3 My requirement is to redirect url from Cloudfront. So for this I see there are possibilities to do using Lambda function as mentioned here. My application is not hosted in S3, rather it is hosted in Apache webserver which is running on some EC2 instance. Becau...
{ "language": "en", "url": "https://stackoverflow.com/questions/65863424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Servlet running under Grails How can I run a servlet (UploadAction from GWTUpload project) under grails? I've successfully added the servlet and use it from the web.xml file. However, I really want to wrap some logic around the doPost/doGet methods using the grails framework (gorm). Can I just subclass the servlet a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7956661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Fluid grid layout I am creating a form. In the form I have 20+ html controls i.e. textboxes, checkboxes, textarea. I want to arrange all the html elements in a table format. But when the screen sizes is reduces the number of column should get reduced. example. Initially there will be 4 columns. when screen size red...
{ "language": "en", "url": "https://stackoverflow.com/questions/58703918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: split column in multiple columns in sql view I have created a view for the Leco results and it is attached here as ‘Leco Teble’ excel file. I would like to have same view in database with ‘expanded table’ column based on the sample ID’s as given in the expanded table. Would you please arrange with one of your team m...
{ "language": "en", "url": "https://stackoverflow.com/questions/74809044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deleting records from fact table and dimension table I want to delete records from target table as records deleted from a source. I used merge/rows and delete stop both individuals, but I solved my problem in delete case when I deleted record from source. Then, after transformation fact table had only that record wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/48112927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alert to detect the available space on the hard drive I would like to know if it is possible to create an alert in a google cloud platform instance, to identify that a hard drive of an instance is 90% busy, for example, and that this sends a notification to some user. I await your response, and thanks in advance. A...
{ "language": "en", "url": "https://stackoverflow.com/questions/52930459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing choices 11 in case statement and failed synthesizing module LIBRARY ieee; USE ieee.std_logic_1164.ALL; entity mucodec is port ( din : IN std_logic_vector(2 downto 0); valid : IN std_logic; clr : IN std_logic; clk : IN std_logic; dout : INOUT std_l...
{ "language": "en", "url": "https://stackoverflow.com/questions/74027551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: working out an average I have a nested list like so: temperature = [["Jan", 12, 18, 16, 18], ["Feb", 10, 20, 50, 50], ["Mar", 23, 32, 10, 32]] the list contains all the months up until December with the 3 highest temp recorded over the entire month and then the highest out of the 3 appended to the end of the list. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30652369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Symbol to method call Is there a way to transform a symbol to a method call? I know it's possible for a String, but not for a symbol. I have this code in conveyance.rb: def boats boats = [] User.all.each{ |u| boats += u.boats} boats end def boats_nb self.boats.length end def cars cars = [] User.all.each{...
{ "language": "en", "url": "https://stackoverflow.com/questions/20124104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: input css rendering inconsistencies across browsers The input button is incorrectly higher than the input field. I used Firebug to copy all the styles applied to the 3 elements in question (the containing p element and the 2 child input elements) to replicate the problem. http://jsfiddle.net/XBjz3/ I have a feeling ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10647491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iPhone simulator screenshot not capturing device bezel I'm trying to capture a simulator screenshot using Xcode 12. Right now, even though the "Show Device Bezels" option is enabled (and it shows the bezels on the screen), when I take the screenshot, the bezel isn't part of the resulting screenshot. I've tried throu...
{ "language": "en", "url": "https://stackoverflow.com/questions/64178350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Redundant distributed NFS file system and replication factor > 1. Is it safe for Kafka deployment? I have a cluster Kafka set up where the log.dir is set to a mounted NFS path pointing to distributed file system which all the brokers have access to. Since the distributed file system provides all the redundancy I ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/54127793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Output only one blank line fresh-line outputs a newline only if we are not already at start of the line, in other words goes to the next line but never produces a blank line, in other words outputs a maximum of one consecutive newline character. I need a function that outputs a blank line only if we have not just ou...
{ "language": "en", "url": "https://stackoverflow.com/questions/52175542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jboss-eap-6.1 oracle driver definition when installed as deployment I have several Jboss EAP 6.1 installations working with Oracle driver installed as a module. This is the standard configuration I use in standalone.xml: <datasource jndi-name="java:jboss/fooDatasource" pool-name="java:jboss/fooDatasource" enabled="...
{ "language": "en", "url": "https://stackoverflow.com/questions/25687972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: prototype.js innerHTML does not work with IE Apparently IE (10) does not like this piece of code: $('size_list').innerHTML = '<form id="dropdown_menu"><select id="dropdown_options"></select></form>'; The dropdown menu is not being generated. I get an Unknown Run Time error, which is really "helpful". The next line...
{ "language": "en", "url": "https://stackoverflow.com/questions/22169660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery focus after submit on last input field edited On jQuery keyup on two IDs a function is executed. $('#supplier_name').keyup(function(){ clearTimeout(typingTimer); if ($('#supplier_name').val) { typingTimer = setTimeout(doneTyping, doneTypingInterval); } $.cookie("inputFocus", "#supplier...
{ "language": "en", "url": "https://stackoverflow.com/questions/14593381", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pass all uncaught errors from the framework to Crashlytics with custom parameter I got uncaught errors form the framework to Crashlytics. But it is difficult to fix the issue because I don't know which screen or record caused the error. For example below error, I only know that it is invalid image from CacheNetworkI...
{ "language": "en", "url": "https://stackoverflow.com/questions/72818307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: EclipseFP on Indigo, issues with Maven? I'm trying to install EclipseFP, using the usual Eclipse "Install new software" approach. However, at the "Installation Details" window, it says "This operation cannot be completed", giving me the following details: Cannot complete the install because one or more required item...
{ "language": "en", "url": "https://stackoverflow.com/questions/8059427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: audio html5 with jquery to play next track I have html5 like this <audio controls class="audioPlayer" > <source class="iSong" src="1.mp3" type="audio/mpeg"> <source class="iSong" src="2.mp3" type="audio/mpeg"> <source class="iSong" src="3.mp3" type="audio/mpeg"> Your browser does not support the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36092740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Issue querying a materialized view redshift I've created a materialized view in redshift as follows: create materialized view stats as select * from t1 however when i try to query it: select * from stats I get this error: [2022-06-26 15:09:35] [XX000] ERROR: Failed assertion at rewriteHandler.c:883 - CheckMvIntern...
{ "language": "en", "url": "https://stackoverflow.com/questions/72761906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Code is working properly but if data is empty that time validation is not working i have made a code generated random number and save all number in database(that part of code is working) but i have problem in validation without enter any no on view page redirect this url admin_manage_epin.ctp, validation not working...
{ "language": "en", "url": "https://stackoverflow.com/questions/10396743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Choose a number from a a given pmf in theano Say I have an array p = [ 0.27, 0.23, 0.1, 0.15, 0.2 ,0.05]. Let p be a probability mass function for a Random Variable X. Now, I am writing a theano code, where I have a p generated at each iteration and I also have n weight matrices. (Here[n = 6].) Now, in each iterat...
{ "language": "en", "url": "https://stackoverflow.com/questions/34154219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SSRS-what is the syntax for the Target Server URL in SSRS2008R2 can anyone help me out with the syntax and example for the target server URL in SSRS 2008R2 inorder to deploy my reports?? A: are you deploying to sharepoint or a standalone (native-mode) report server? http://msdn.microsoft.com/en-us/library/ms155802(...
{ "language": "en", "url": "https://stackoverflow.com/questions/9926074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Mailbox unavailable. The server response was: 5.7.1 Invalid credentials for relay At our office others can use the .NET SMTP client to send email via our Google Apps account. Using the exact same settings and credentials this does not work on a particular machine. It seems to be just this one machine with this iss...
{ "language": "en", "url": "https://stackoverflow.com/questions/40314298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to draw a Polygon on MapView, fill it, and put a onTouch Event on it Is it possible to set an EventListener in a drawn Polygon in a osmdroid MapView Overlay ? I would like to print on a Overlay and after touching it I would like to change its color or handle data behind a Polygon. For Example: Poly1: ID = 1337,...
{ "language": "en", "url": "https://stackoverflow.com/questions/14376869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Why does my div dont go fullscreen? why does my button expand down in height and not equally to the top and bottom so it would cover the fullscreen? And the Border lines should stop at the size of the parent div... I cant make it work.. do you have any ideas? (to make the doggies disappear :DD) var main = function...
{ "language": "en", "url": "https://stackoverflow.com/questions/28462102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: combined coffee and js development with Gulp Using Gulp to streamline my build process on a per-save basis, while eliminating the need for "temp" files is my goal (and why I chose to use Gulp over Grunt) I've recently discovered that, apparently, the coffeescript compiler cannot handle dealing with basic Javascript ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28486903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: oracle apex tabular form validation How to add validation to a newly created row in tabular form ?. in normal method when I add validation to a tabular form column it applies to the existing records but not for newly created rows which are added after page load.
{ "language": "en", "url": "https://stackoverflow.com/questions/46461759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP - How Can I make this array work? So I've got an array, which gets random images and display them with certain text. Unfortunately, the text won't appear and the if it does, the hyperlink doesn't appear UNDER the image. Please someone help!! <?php define('RANDOM_IMAGES_COUNT', 3); define('RANDOM_IMAGES_FORMAT',...
{ "language": "en", "url": "https://stackoverflow.com/questions/18588349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Angular 14 mat date picker won't work and display properly I have trouble with material date picker. I've imported this modules: MatFormFieldModule, MatInputModule, MatDatepickerModule, MatNativeDateModule but no luck. Only code that i have is in html template: <div> <mat-form-field appearance="fill"> <mat-label>Cho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75448920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What is the most efficient/elegant way to parse a flat table into a tree? Assume you have a flat table that stores an ordered tree hierarchy: Id Name ParentId Order 1 'Node 1' 0 10 2 'Node 1.1' 1 10 3 'Node 2' 0 20 4 'Node 1.1.1' 2 10 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/192220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "567" }
Q: Can we use dagger only in some parts of an android app? Until now we have not used dagger in our android app. We want to use dagger for whatever new code that we write in our app from now on. Is this possible ? I just started exploring dagger and i have a doubt if this is possible. A: Yes , It is possible. You can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64121126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GridGain Error : java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/JobContext I have configured gridgain-hadoop-os-6.6.2.zip, and followed steps as mentioned in docs/hadoop_readme.pdf . started gridgain using bin/ggstart.sh command, now am running a simple wordcount code in gridgain with hadoop-2.2.0. usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/28655536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change a predeterminate underline color in an Input with Materialize w/Ruby on Rails I really try so hard to change the underline color but I can't, I don't know where do that, please help me! <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for(:session, url: login_...
{ "language": "en", "url": "https://stackoverflow.com/questions/50048432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete a pointer belonging to an object stored in a vector? I have a Containing class, a Contained class, and a Data class. That Containing class holds a vector of Contained objects. The Contained class holds a pointer to a data object, allocated on the heap in Contained's constructor. However, I can't deallo...
{ "language": "en", "url": "https://stackoverflow.com/questions/60915586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Finding if file exists ANYWHERE c# For starters, I'm quite new to C#. How would I go about checking if a (.exe) file exists anywhere on a pc's memory? I tried to google an answer, but only ones I came across required you to specify a directory where to look from. I'm building an application that launches certain app...
{ "language": "en", "url": "https://stackoverflow.com/questions/49710227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: apt-get fails on i386/debian docker image I have a 32-bit Ubuntu server, running 17.10 Artful & with docker.io installed (my understanding is this is the only version available for 32-bit) jonny@grizzly ~ $ lsb_release -cs artful jonny@grizzly ~ $ apt list | grep docker.io WARNING: apt does not have a stable CLI in...
{ "language": "en", "url": "https://stackoverflow.com/questions/51176070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is my User Group Information Do as not passing my keytab token to my HDFS access method When I attempt to list the files in a HDFS directory I am receiving the following error: main] ERROR com.pr.hdfs.common.hadooputils.HdfsUtil - Failed to connect to hdfs directory /HDFS/Datastore/DB org.apache.hadoop.security....
{ "language": "en", "url": "https://stackoverflow.com/questions/36128295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to resolve dependency tree after upgrading node, failing on node-sass After upgrading Node to the latest version, I start getting these error messages when I tried npm audit fix --force. It seems like I'm unable to fix my dependency tree issues. I've tried to search for solutions to this error extensively and...
{ "language": "en", "url": "https://stackoverflow.com/questions/70101470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Uninstall a Component in vue.js I installed this component in my application. I would like to uninstall it now. How can I do that ?
{ "language": "en", "url": "https://stackoverflow.com/questions/47845457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular Material unit tests - Failed to find MatHarness element I am writing unit tests for my app which uses Angular Material. I wanna make sure that there's a material card in the page. For this, I use the following code: let loader: HarnessLoader; let component: LoginComponent; let fixture: ComponentFixture...
{ "language": "en", "url": "https://stackoverflow.com/questions/67225431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What is the technology most commonly used for iPhone - iPad communications? What is the most commonly used technology for communicating between an application running on an iPad and one on an iPhone? For example, the famous Scrabble application uses device-to-device communication to host the game board on the iPad ...
{ "language": "en", "url": "https://stackoverflow.com/questions/3342990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open/run YML compose file? How can I open/run a YML compose file on my computer? I've installed Docker for Windows and Docker tools but couldn't figure out how. A: If you are asking how to open YAML files, then you can use some common editors like NotePad++ in windows or vim in linux. If your question is ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/44364916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "39" }
Q: How can my Spring integration tests create their own schema based on the model in a HSQL database? Writting some integration tests in Spring (Like in this question) I will like to avoid the work of a big script to create all tables in HSQL: <jdbc:script location="classpath:createSchema.sql" /> As Spring is creati...
{ "language": "en", "url": "https://stackoverflow.com/questions/23539545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ajax call include not works in Wordpress I have a PHP file that I call with Cron Job and I need it separately from the rest of code. So, I have a button that call AJAX request from my dashboard. The Ajax function in my Wordpress plugin includes the file (process.php), this in turn, includes another file (snippets.ph...
{ "language": "en", "url": "https://stackoverflow.com/questions/50914257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unit tests for a custom Date Serializer I have recently started writing tests in Java and I am having some problem with the tests for the following class. How to write correctly tests for TestDateTimeSerializer class in such a form. public class TestDateTimeSerializer extends JsonSerializer<LocalDateTime> { publ...
{ "language": "en", "url": "https://stackoverflow.com/questions/72378101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Access nested model attributes I have following setup: class EmpsController < ApplicationController def new @emp = Emp.new @unit_options = Unit.all.collect{|unit| [unit.name, unit.id] } end def create @emp = Emp.new(emp_params) @emp.save! redirect_to :action => :list end def destroy ...
{ "language": "en", "url": "https://stackoverflow.com/questions/59436105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the Java equivalent of Objective-C's NSDictionary? What is the closest implementation of Objective-C's NSDictionary in Java? To me, it looks like HashMap<String, Object>, but I'm very new to Objective-C. Thanks A: NSDictionary is a class cluster (see the "Class Cluster" section in The Cocoa Fundamentals Gu...
{ "language": "en", "url": "https://stackoverflow.com/questions/8128408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "27" }
Q: Indexing lists of list/vectors Data lst <- list(1, 1:3, 2:4) ind <- c(1, 2, 2) Problem I can guarantee that length(ind) == length(lst) and now I want to get the 1st element of the the first element of lst, then the second element of the second element and finally the second element of the third element. With a loop...
{ "language": "en", "url": "https://stackoverflow.com/questions/39119294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: $elemMatch projection in node.js dbo.collection("users") .findOne({email: emailGiven, "friends.email": element.email}, { friends: { $elemMatch: { email: element.email } } }, function(errT, resultT) {}) I have the query above in node.js but for some reason the qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/50068893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Nested list with TAL I'm using Chameleon in the Pyramids Framework and want to repeat nested list while rendering the template. My minimized HTML-Code is: 1. <ul> 2. <li tal:repeat="item items"> 3. <input tal:attributes="id item.id; onclick item.url"> 4. <label tal:repeat="premise item.values" tal:attribu...
{ "language": "en", "url": "https://stackoverflow.com/questions/34946872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Angular JS - Date changes when submitting to $http - Timezone issue I am having a strange problem where a Date changes when it is passed to API through $http.put, I suspect a timezone issue: Datepicker triggers ng-change event - console.log: Tue Jun 10 2014 00:00:00 GMT+0100 (GMT Summer Time) Passed to API using An...
{ "language": "en", "url": "https://stackoverflow.com/questions/24356475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: Lotus Notes - Column view as Totals: Total showing not 0.00 even if there aren't no docs saved I have a view which contains a column ( as Total ) . Even, there aren't any docs created, the column shows: 165.65 ( as total ) and not 0.00 ( as it should be ) Any suggestions? A: Does the view show documents in a respon...
{ "language": "en", "url": "https://stackoverflow.com/questions/17043245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding another variable information or adding weight into stat_density_2d Below is a simple code to produce stat_density_2d plot of X~Y. plot_data <- data.frame(X = c(rnorm(300, 3, 2.5), rnorm(150, 7, 2)), Y = c(rnorm(300, 6, 2.5), rnorm(150, 2, 2)), Z = c(rnorm(300, 60, 5), rnorm(150, 40...
{ "language": "en", "url": "https://stackoverflow.com/questions/71585680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to target specific Cucumber runner classes or feature files within Jenkins? Is it possible to target specific runner classes or feature files within Jenkins? Let's say for example I have the following files. Runner classes: RunnerClass1.java RunnerClass1.java Feature Files: Login.feature SignUp.feature Is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/55302032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to revoke Users Access On Schema in Azure SQL? I have a requirement where I need to revoke users access on a particular schema as we will be purging that schema and its table in future. Currently, the process followed to create Schema and grant access is like below, * *Create Schema *Create DB Role *Create A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75029646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PopBackStack previous last fragment and check which fragment it is I got a few fragments in MainActivity which can be selected from Navigation Drawer. Now, whenever users press a profile button, it will jumps to UserProfile Fragment. If home button is pressed, it will pop back the last fragment. Since I've assigned ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43032948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to convert mathematical expressions into C statement? How to convert each of the following mathematical expressions to its equivalent statement in C? * *1 / (x^2 + y^2) *square root of (b^2 - 4ac) A: * *1.0 / (pow(x,2) + pow(y,2)) *sqrt(pow(b,2) - 4*a*c) See pow() and sqrt() functions manual. You can al...
{ "language": "en", "url": "https://stackoverflow.com/questions/7333101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Best way to join 3 lists and count how many times an ID is in the list using linq Looking for some help with this problem i'm trying to work through to learn how linq works. My thinking was to join the person and customer list on personID to get the name for the customers and then join the customer and sale lists o...
{ "language": "en", "url": "https://stackoverflow.com/questions/51777803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: SQL SELECT 3 consecutive records with the same value I want to select 3 consecutive (by year) records with same value from 'participation' table (name, year) : Name Year ------------- Carol 1999 Carol 2000 Carol 2001 Carol 2002 Faith 1996 John 2001 John 2002 John 2003 John 2009 Lyla 1994 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68998986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cython: Compiling and Cannot Find Library Mac OSX 10.12 I am just getting started with Cython and am trying to compile a "Hello World" script. I am trying to use gcc -Os /User/Documents/Python/Test\ Python/helloCopy.c -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -l, but I don't know what to...
{ "language": "en", "url": "https://stackoverflow.com/questions/43055967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: plotly layout - Y Axis range not working i am trying to create a graph that will show a Scatter of the times i opened my computer. - i am using plotly offline. Y = time, X = date. this works fine, but i can't make the Y axis to show all the hours of the day, but only the range of times that was in the data. (fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/45577341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to replace the first column of a tab delimited file 690070 690070 A 690451 690451 B 690571 690571 C 690578 690578 D 690637 690637 F How can I replace the first column values with a sequential number, starting from 1...n. So it becomes: 1 690070 A 2 690451 B 3 690571 C 4 690578 D 5 690637 F ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36268060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: HTTP 302 "Moved Temporarily" Error While we are getting latest project from TFS2013, we are facing below error. PS: We are using proxy in our network. Thank you in advance A: I faced with the same problem before and when I add my ip adress to proxy then try again to do Get latest in TFS. Its worked!!!. Have a nic...
{ "language": "en", "url": "https://stackoverflow.com/questions/40233546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Account and Physical Thermostat I signed up for a developer account using the same account that I have my home thermostat on. I'm getting an error in the Home Simulator saying that a mix of physical and virtual devices is dangerous. Do I have to create a separate account to be my developer account or can I just remo...
{ "language": "en", "url": "https://stackoverflow.com/questions/32783150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use the letter keys to access programs on Windows 8.1 Metro, like in XP? For those who remember (or still use) Windows XP, you might remember that you could launch the start bar with your Windows key on your keyboard and then hit the letter of the program/folder/file you wanted and as long as there...
{ "language": "en", "url": "https://stackoverflow.com/questions/32576332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get all records that do not have an empty field Posts have many Comments. Each Comment optionally belongs to a User. How can I get all comments for Post 1 that HAVE a user? Comments content post_id user_id ------- ------- ------- There is no user for this p...
{ "language": "en", "url": "https://stackoverflow.com/questions/25580035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to use a PCF spring cloud config server from a client outside the PCF? We have a few spring-boot micro-services running on PCF for which we have the PCF cloud config server for serving the configurations for various profile/environments. These micro-services are bound to the config server and all are...
{ "language": "en", "url": "https://stackoverflow.com/questions/54923497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android's InputMethodService keyEventCode won't work I'm trying to create my keyboard, and now am at the place when the pressed button should send the letter to the application. In the examples I found InputMethodService.sendDownUpKeyEvents(keyEventCode); But couldn't really figure out, what should go into keyEven...
{ "language": "en", "url": "https://stackoverflow.com/questions/7255924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The instance member "..."' can't be accessed in an initializer I am trying to create a simple flutter project for learning. I need to delete the selected student -Photo- but at the beginning I assigned the StudentList private so setState() function is not working when I try to delete. How can I assign StudentList a...
{ "language": "en", "url": "https://stackoverflow.com/questions/65817790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: android activity without graphic From the BroadcastReceiver I want to call a activity without graphic. Without graphic because it will speak some words. Intent iSpeechIntent = new Intent(context, TTS.class); iSpeechIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(iSpee...
{ "language": "en", "url": "https://stackoverflow.com/questions/12307647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Screen going behind bottom material tab bar Hi am working on screens which involves bottom tab bar. For that I have implemented material bottom tab bar from react-navigation-material-bottom-tabs. Problem is my screen is going behind the bottom tab like below The yellow border was given to see how UI would look like....
{ "language": "en", "url": "https://stackoverflow.com/questions/59948572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Using IntentFilter I am trying to use IntentFilter with Brodcastreciver, but text not updates. I want to update text every time when time changes. Better if when day changes, but I dont know how to do this. Can you help me please to do it right? @Override protected void onCreate(Bundle savedInstanceState) { supe...
{ "language": "en", "url": "https://stackoverflow.com/questions/24430077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix 'Unexpected identifier' in JavaScript I am writing code for a calculator and I got an error 'Unexpected Identifier' and I don't know what's wrong. The line of code is alert("Welcome to the multiplication website!"). I have no idea what's wrong. <head> <title>Multiplication Table</title> <script type="...
{ "language": "en", "url": "https://stackoverflow.com/questions/55989989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Ionic native using ionic/angular 1 I'm currently working on a project in ionic/angular 1. I'm using ionic native to wrap the cordova plugins. I installed ionic native with bower, and added dependency to 'ionic.native' in my app's angular module. Now I can inject stuff like $cordovaFile into my controllers and use t...
{ "language": "en", "url": "https://stackoverflow.com/questions/42270930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Pattern matching from mochiweb xpath I am trying to pattern match these values which are returned by running mochixpath. The pattern is clearly [elemName, htmlAttrs, children], but what I really need from the following values is UserNameA and "This is a message" [{"tr", [{"bgcolor", "White"}], [{"td", [{"class", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26396198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Vue.js routes does not work using router-link i make a project using vue js. in the nav bar i put menu home and about which is will go direct to each page when it's clicked. there is no error when i run the project but the router doesn't work when i clicked the menu. main.js import { createApp } from 'vue' import Ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/74768064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to return range or location of cursor in TinyMCE when clicked or cursor location changed? how can I get the location of the cursor when the TinyMCE editor is focused on or when cursor location changes? Thanks. A: Use the tinymce onActivate event in case of focus. A cursor location change is possible, but it is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13397678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Replacing "foreach" with "for" in PHP I need to replace my "foreach" with "for", but actually I don't know how. Here is the part of my php code: $r = ""; $j = 0; foreach ($orgs as $k => $v) { echo "\n\r" . $v->id . "\n\r"; if (1) { $a_view_modl = ArticleView :: model($v->id, $v->id); $con...
{ "language": "en", "url": "https://stackoverflow.com/questions/27127097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Decrease top menu so it does not stick out on carousel I have made this website here: http://dijon-egg.com/Possum/ If you click on green big dot button, it takes you to page2. My problem is I can't figure and fix the menu being too big on page 2 or change view of carousel on page 2 so full carousel can show to us. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41201820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a template dashbord in tableu? I have a Dashboard in tableau that I want to replicate it with another database that has the same columns/pills! is it possible to do that? A: The best way would be to open the "template dashboard", add the new data source, then go to menu DATA => Replace data source and...
{ "language": "en", "url": "https://stackoverflow.com/questions/68767244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: translationY doesn't change bounds I'm trying to create a flexible toolbar using the ObservableScroll library following the code that he wrote, only that I want to use a RecyclerView instead of a ScrollView. here's the layout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="htt...
{ "language": "en", "url": "https://stackoverflow.com/questions/28889432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ruby on Rails: Create Database Entry without JavaScript i´m kinda new in web development and try to get started a project with Ruby on Rails (3.2.9). So, i´m a little bit confused about what RoR can do without JavaScript or not... For Example with using a Rails Scaffold, it´s no problem to create new records in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13712059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: OrderBy and ThenBy with anonymous class I have this: List<string> lstRanksOrder = new List<string>() { "Captain", "Lieutenant", "Sergeant", "Corporal Master", "Corporal Senior", "Corporal 1", "Corporal", "Civilian Pilot" }; var emp = test .ToList() .Select(x => new { EID = x.IBM, Descri...
{ "language": "en", "url": "https://stackoverflow.com/questions/37032947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to connect XMPPFramework to Openfire server in iOS I am working on an iOS chat app where user login to app. I've downloaded XMPPFramework from GitHub XMPPFramework. I am trying to connect XMPP framework with Openfire server by following this tutorial. Here is my code to connect XMPP to openfire. - (BOOL)conne...
{ "language": "en", "url": "https://stackoverflow.com/questions/26750301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: no graph output for d3.js http://jsfiddle.net/amanminhas16/KUf7f/ var root = { "name" : "Total Number Of Users", "size" : 50000, "children": [{ "name":"user A" }, { "name":"user B" }, { "name":"user C" }, { "name":"user D" }, ] }; t...
{ "language": "en", "url": "https://stackoverflow.com/questions/21995927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VB - Replace Function and escaping a quote I appreciate there are a lot of similar posts on here which I have read with interest, but I just can't find the solution for my particular issue, hope someone can help. strFieldValue is a string (a title) which may contain quotes e.g. someone may put text like 9" (9 inch) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36719523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MySQL Query slow I have an app that analyzes peoples facebook likes and matches them up with things they may have liked in past decades. As part of refining the matches we have, I store each users likes (with a hash of their facebook ID, to keep it anonymous). People can enter multiple times, so it stores their like...
{ "language": "en", "url": "https://stackoverflow.com/questions/18709887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to play Invisible Music in a Batch file I was making a batch Music Player, but I can't play Invisible Music. I have tried this: @echo off :1 echo Hello pause goto 2 :2 start /min wmplayer "C:\Users\*user\Desktop\Games\Music.wav" goto 1 But it doesn't show up minimized. How can I start wmplayer minimized? A: @...
{ "language": "en", "url": "https://stackoverflow.com/questions/31685055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C++ Libraries ecosystem using CMake and Ryppl I am interested in building a cross-platform C++ Library and distributing it in source form. I want the consumers of this library to be able to acquire it, build it and consume it inside their software very easily on whatever platform they are working on and for whateve...
{ "language": "en", "url": "https://stackoverflow.com/questions/18861289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Is there need any other file or code in RFID to unlock windows Here I upload this code in my Arduino Leonardo circuit but when I scanned my card on RFID sensor windows locked successfully but when I scanned card on lock screen there is error occur that incorrect password enter. So I want suggestion about update or a...
{ "language": "en", "url": "https://stackoverflow.com/questions/66451644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In the CSS .style.transform function im trying to add the degrees to be 90 + MenuRotate which is a variable The code function OpenMenu(){ var MenuRotate = getCurrentRotation(document.getElementById("Menu-Icon")); document.getElementById("menu").style.margin = "450px"; document.getElementById("Menu-Icon").style.tran...
{ "language": "en", "url": "https://stackoverflow.com/questions/72739147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Xamarin : UISearchController is not becoming first responder and editing is not getting started while adding it to Navigation Bar I am facing a strange issue with UISearchController. I have added the search controller in Navigation Bar in UIViewController1 on click of a button. It is working fine in UIViewController...
{ "language": "en", "url": "https://stackoverflow.com/questions/41198849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I remove the duplicate pages from EJS template pagination? I have found this article for implementing a pagination feature in my MEN stack app. The article shows everything from frontend to backend. Everything works fine but I'm trying to tweak it a little. The demo app from the article looks like this: But...
{ "language": "en", "url": "https://stackoverflow.com/questions/66489692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract value from an ID tag in a extracted Html data I hope my topic finds you well. I want to extract a specific number from an ID value, here is the line: TAG POS=1 TYPE=INPUT ATTR=CLASS:markAll<SP>check EXTRACT=HTM and here is the result I get after I run the previous line: <input style="outline: 1px solid blue...
{ "language": "en", "url": "https://stackoverflow.com/questions/58475967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: XAML Designer show error in VIsual Studio 2019 Introduction I wanted to develop the UWP application further and for some reason I am not able to use the XAML designer functionally. Every feature is up to date. Have opened Visual Studio 2019 and switched to XAML-Designer. Problem The XAML designer does not recognise ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68107458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Should I use class instance(serialized) or Singleton for storing userInfo once the user login I want to know what would be a better approach for Storing user info once he logs in. Should I parse the data into Serizaled object class? Or should I create A singleton. Mostly I get around 12-13 obejects from the server o...
{ "language": "en", "url": "https://stackoverflow.com/questions/45210161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Change a div tag from fixed to absolute and back? In the Facebook News Feed, the side bar (containing ads, etc.) isn't fixed all the time. How do you do this? You could do <div style="position:fixed"></div> But how could you tell it to change back and forth according to your wish? A: If you are happy to do it wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/16059399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }