text
stringlengths
15
59.8k
meta
dict
Q: WordPress: Getting title tag in PHP variable I am using Yoast SEO for SEO on the website. In my header file I have added <title><?php wp_title( '|', true, 'right' ); ?></title> I have also added <?php wp_head(); ?> in header. Also enabled Force rewrite titles but still the title tag which I have added in page while...
{ "language": "en", "url": "https://stackoverflow.com/questions/52592742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: php streaming wav in firefox vs chrome I have a hidden audio element in a page, and i'm setting the source dynamically. im setting it as a php page with a GET request that finds the file based on the GET parameter. However, the audio element is taking the wav file just fine in Chrome but not in firefox. Here is the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23400288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: thymeleaf get first 3 objects Could you please help me. I want to display my first 3 objects from product, I don't how it must be. I try to use thymeleaf sequence, but it don't work. Maybe somebody can hint me how it could be done. HTML: <th:block th:each="product:${products}"> <a th:class="production_Page" th:hre...
{ "language": "en", "url": "https://stackoverflow.com/questions/53526117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Codeigniter Email class inside a model Is it possible to use the Codeigniter Email class within a Model? I have been trying to but it refuses to load the mail object. In general, are libraries allowed to be loaded into models? Code <?php class ClubInvitation extends DataMapper { var $table = "club_...
{ "language": "en", "url": "https://stackoverflow.com/questions/19828289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PostgreSQL 1 to many trigger procedure I wrote this query in PostgreSQL: CREATE OR REPLACE FUNCTION pippo() RETURNS TRIGGER AS $$ BEGIN CHECK (NOT EXISTS (SELECT * FROM padre WHERE cod_fis NOT IN (SELECT padre FROM paternita))); END; $$ LANGUAGE plpgsql; It returns: Syntax error at or near CHECK. I wrote this...
{ "language": "en", "url": "https://stackoverflow.com/questions/27235269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Php, Mysql can't retrieve column data for each row I'm trying to give each modal form a unique id based on results retrieved from my database so that different data will be passed onto the php form processor. I have 1 table that is placed in a form which has the unique value for each row being "mapid" However, each...
{ "language": "en", "url": "https://stackoverflow.com/questions/50207733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AKS - Kube State metrics Supported versions I am using AKS and recently upgraded to AKS 1.24.6. How to determine what version of kube state metrics supports what AKS version? I am looking at this https://github.com/kubernetes/kube-state-metrics I am unable to understand the matrix given between Kube state metrics an...
{ "language": "en", "url": "https://stackoverflow.com/questions/74266550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return result when count is below given value in spring mongodb I am relatively new to mongodb and spring data. I am looking for a way to perform operation below in thread-safe manner. In implementation below, it is possible that result set will exceed 1000 after if statement is executed and just before result is qu...
{ "language": "en", "url": "https://stackoverflow.com/questions/70027146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Slick2d locating an x and y through pixel colour I am trying to make holdable items for my slick2d game, I figured a good way to do this would be to have a hand on the player, to do this i have 1 pixel a unique colour, allowing me to locate that colour, and the x +y. It worked perfectly until i tried to scale up the...
{ "language": "en", "url": "https://stackoverflow.com/questions/39301242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have a .mp4 video how i can add water mark I have .mp4 video and i want to generate new video from that with watermarked on proper place. Is there possibilities where i can create function and pass video it will return me Water marked video. A: try this : This code is add a text or string ON the video and after ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41056975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to send a single-image in MediaPipe Javascript? Can you explain me how to send a single-image in MediaPipe Hand with Javascript? (from an uploaded image) I used the Mediapipe Hand python-solution with a single-image like in the jupyther/google collab demo I would like to do the same operation in javascript but I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75128024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a top 3 chart list in google sheet I have a column in google sheet that has random numbers from 1 to 20. I want to create a chart that shows the top 3 numbers that occurred in that column. Example: Lucky numbers: so on.... TIA A: Let's assume the answer to my questions was 'yes', you want the three...
{ "language": "en", "url": "https://stackoverflow.com/questions/42106654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Write to a unique attribute of a non unique div folks! I have two variables: var day = $(this).text(); var day_id = $(this).data('num'); I have HTML inputs with unique ID: <input class="update_day" data-id="88" type="text" value="5" name="day"> <input class="update_day" data-id="89 type="text" value="5" name="da...
{ "language": "en", "url": "https://stackoverflow.com/questions/20624732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: SSIS 2012 SP1 "Value of null is not valid for stream" error on designer components I have just migrated a project from SSIS 2005 to SSIS 2012 Apart from the project, I had a custom pipeline component, which was also migrated to .NET 4.0, and installed in SQL Server DTS directory and the GAC, as usual. After the migr...
{ "language": "en", "url": "https://stackoverflow.com/questions/15807861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Add controller for "plugin::users-permissions.user" [strapi v4] I can create a controller for created contentType, ex: api::restaurant.restaurant. https://docs.strapi.io/developer-docs/latest/development/backend-customization/controllers.html But for built-in plugins, ex: plugin::users-permissions.user, I don't know...
{ "language": "en", "url": "https://stackoverflow.com/questions/70617882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to access in the template, reactive form, an array in an array I'm a beginner in programming and i try to understand what i'm doing wrong. :) I've create a reactive Form that contains an array of string that contains a string an an array of string. it looks like this: And the json file looks like this: public...
{ "language": "en", "url": "https://stackoverflow.com/questions/56853641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Azure event hubs metrics not appearing when deploying with terraform When deploying with some other components (of a data pipeline) like function app and cosmosdb, metrics graphs on azure event hubs portal are not appearing instead graphs show "Resource not found". But when I deploy the same terraform code for event...
{ "language": "en", "url": "https://stackoverflow.com/questions/73931319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tool Tip to show entire GridView row I want to create a tooltip feature that will display all of a user data that is being displayed in a gridview. Expected Result: A GridView displays Last_Name,First_Name,Telephone,Cell_Phone. I want a tool tip to display with a mousehover over that users row of information and dis...
{ "language": "en", "url": "https://stackoverflow.com/questions/52520965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Filter List Debug I'm having trouble debugging this procedure I built. I have over 2 thousand workbooks I'm trying to filter through. I'm feeding this function a dictionary with its key being the file path & name and the item being a 9 digit part number and the revision number. Based on the folder path and part num...
{ "language": "en", "url": "https://stackoverflow.com/questions/59953483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R: Creating a function using dplyr functions I have a data frame with three variables of interest: * *survival time *grouping factor *event indicator (dead: yes or no) I want to calculate incidence rate for each group. I do this daily, so it would be great to have a function doing this instead of a long scrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/35709492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Easy pattern detection for 3D reconstruction Im currently working on a 3d reconstruction/pose estimation project. To be more specific i have implemented a method which is able to estimate the pose, given horizontal and vertical line correspondences. In order to have this method work, i need to create an easily det...
{ "language": "en", "url": "https://stackoverflow.com/questions/44373101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a normal class with injections from Spring Well, I have a normal class (LovHelper) that is responsible for doing some utils tasks. When i say normal class is because LovHelper.java don't have @Component, @Service or @Repository annotation. Inside of this "normal class" i wanna inject a bean from spring, bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/18364754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ways to convert a PDF file into byte array..(for flushing out using outputstream()) * *Is there any other way to convert a file (PDF) into byte array other than using FileInputStream or toByteArray(InputStream input).. *Is there any method to convert it directly. I found Files.readAllBytes in java.nio.file.* pack...
{ "language": "en", "url": "https://stackoverflow.com/questions/26723322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java Thread creation process flow I was reading section ThreadPools section 6.2.3 java concurrency in practice by Brian Goetz. A statement I came across is "Reusing an existing thread instead of creating a new one amortizes thread creation and teardown costs." 1) I wanted to get some metrics involved in the java th...
{ "language": "en", "url": "https://stackoverflow.com/questions/20653149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I add double-quotes to each item in my input string? I'm trying to concatenate a string into an object, with the format of "[email protected],[email protected],[email protected]". However, the parameter is expecting every value in the string to be surrounded by quotes, such as ""[email protected]","[email protected]","123@yaho...
{ "language": "en", "url": "https://stackoverflow.com/questions/25791825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get XML Node while using tsql I would like to know, if anyone can help how to get NODE name o XML variable using TSQL. <ROOT> <IDS> <ID> <NAME>bla1</NAME> <AGE>25</AGE> </ID> <ID> <NAME>bla2</NAME> <AGE>26</AGE> </ID> </IDS> </ROOT> After my query, I should be able to get the nodes names: NAME, AGE My SQL server is...
{ "language": "en", "url": "https://stackoverflow.com/questions/4393808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OLS Regression Results R-squared value ca r2_squared by scikitlearn I followed a tutorial online and used OLS to build the model (from statsmodel!) The OLS analysis result gave me an amazing R^2 value (0.909). However, when I tried using the r2_score function by scikit-learn to evaluate the R^2 score, I only got 0.6...
{ "language": "en", "url": "https://stackoverflow.com/questions/71522298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MysqL: Perform fulltext search over multiple columns and 100 % match I'd like to do a fulltext search over multiple columns in a MySQL database, only using 1 Input field to search for addresses. So far my code works but I also get rows returned where not all search words are present. SELECT *, ((1.3 * (MATCH (city) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28568228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamic or Conditional display of Jenkins job's parameters (rather than their value population) Let's say I have two(or more) types of projects: app(Application) and svc (Service) and I have created a Jenkins job (common job) which have bunch of parameters. This common job might call another downstream/individual pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/30513679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "28" }
Q: R: Way to map over all entries in a sparse matrix I have a sparse matrix created from R's Matrix package. I would like to iterate over each entry in the matrix and perform an operation, saving the result in another sparse matrix with the same indexes as the original matrix. For example, let's say I have sparse matri...
{ "language": "en", "url": "https://stackoverflow.com/questions/12649082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Cant Get Bootstrap Table To Resize Im trying to get a bootstrap table to resize so that the maximum content height is 200px and anything greater will scroll. I have the css for the table set to: table.jSpeeds tr:hover, table.jSpeeds tr td:hover{ cursor:pointer; } table.table-fixed thead { width: 97%; } table.ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/38667982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How might I add a watermark effect to an image in Android? I have an image with frames and I need to add a watermark effect. How might I do this? A: I found great tutorial on Android Image Processing here. public static Bitmap mark(Bitmap src, String watermark, Point location, Color color, int alpha, int size, bool...
{ "language": "en", "url": "https://stackoverflow.com/questions/10679445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "22" }
Q: Request jenkins rest api using the authtoken got from by organization's SSO I have a webportal where user login using our organization's SSO, After logging in i get the authtoken for the logged in session. And currently i have the Jenkins authentication setup using organization LDAP. From our webportal we will be i...
{ "language": "en", "url": "https://stackoverflow.com/questions/59389488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Character entry causing infinite loop in C Ok, so I've searched several places for an answer to this, and I found the answer to the same problem in C++, but it involved clearing cin and that stuff, and I'm not sure how to translate that to C. I apologize in advance if this was, in fact, answered somewhere else, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23421014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Wpf: Prism + MVVM: Changing Modules/Views I'm developing a WPF application using MVVM + Prism. The Shell is devided into two regions: Menu + MainScreenArea. The Menu includes navigation: Search Entity, Add Entity, Edit Entity. And Basically the mainScreenArea should load the appropriate module/View. If Search Entity...
{ "language": "en", "url": "https://stackoverflow.com/questions/24176964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL LEFT JOIN Query with WHERE clause Hope someone can help as I am having a hard time understanding how to query properly I have a Member table and a Member_Card table. Member_Card has a column Member, so the card is associated to a member. Both tables have a LastModifiedDate column. A member can have none, one o...
{ "language": "en", "url": "https://stackoverflow.com/questions/18123218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: FileNotFoundException : /storage/emulated/0/xyz/a bc/abc_06-07-2017 06-12-121481589883.amr I am trying to upload file from my device storage to cloud but whenever I try to upload I am getting following excaption. java.io.FileNotFoundException: /storage/emulated/0/xyz/a bc/abc_06-07-2017 06-12-121481589883.amr: ope...
{ "language": "en", "url": "https://stackoverflow.com/questions/44953920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DockerHub set tag alias in automated build I'm using Docker Hub's automated build system to build a docker image. That image comes in two flavors (Debian jessie and wheezy based). I like to have speaking tags for both of those (:jessie and :wheezy) but would also like to have a :latest tag pointing to the :jessie fl...
{ "language": "en", "url": "https://stackoverflow.com/questions/35792027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Date string not recognized in Safari My JavaScript code is working on on Chrome, IE, and Firefox, but when it gets to safari it doesn't work. I believe I have narrowed down the problem: When creating a 'new Date' in JavaScript, all other browsers recognize my string except safari. HTML: <form> <input id="timeIn" va...
{ "language": "en", "url": "https://stackoverflow.com/questions/10333606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jquery addClass and removeClass slow in IE 11 I'm creating an app to monitor nodes on a cluster and this is an example of the visual state. Each small box in the grid represents a node and currently, when hovering over one node, the rest in that respective rack (grid) fadeout. Here is the link via photobucket since ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27532447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What is a type inference? Does it only exist in statically typed languages? And is it only there when the language is not strongly typed (i.e., does Java have one)? Also, where does it belong - in the compilation phase assuming it's a compiled language? In general, are the rules when the type is ambiguous dictated b...
{ "language": "en", "url": "https://stackoverflow.com/questions/692088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Cannot download card from Hyperledger Composer Playground I'm trying to export my Network Admin card from the Playground UI, but the export icon is disabled. In addition, I see the following error in my Chrome console: Error: The current identity, with the name 'admin' and the identifier 'ddae16d6f23947e9349627051b8...
{ "language": "en", "url": "https://stackoverflow.com/questions/48972830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unable to call locally declared scope function via ng-click in a directive * *I have a directive (Just a button). *This directive has an isolated scope. *I want to update the object in my parent scope by clicking on the button. *But the function is not being called. This is the plunker. I've tried defining th...
{ "language": "en", "url": "https://stackoverflow.com/questions/20678763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: display the back and next button between half the height of image android i have a problem in xml layout for displaying next and back button besides the image and should be in middle of height of image. pls see this url http://screencast.com/t/zE47nb0rkFE two buttons are above the image,it is left and right but not...
{ "language": "en", "url": "https://stackoverflow.com/questions/7452754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to pass an argument to a Svelte component that specifies a particular file to import? I'm building a photography site. The user can click on links to various photo album components, e.g. an album of black and white portraits, an album of black and white architecture, etc. The displayed contents (i.e.,...
{ "language": "en", "url": "https://stackoverflow.com/questions/68977680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: meaning of "Bird titi = new Swan();" I currently read a java book and I am stuck at an example including this line : Bird titi = new Swan(); where Swan is a subclass of Bird. I could explain this as follow: when java executes this line, it stores memory for the value titi, and the memory stored can contain an info...
{ "language": "en", "url": "https://stackoverflow.com/questions/45636124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Using python generics and inheritance I need to implement a bunch classes, that all need to do the same modification to the parent class. As a skilled C++ programmer, I would look for a template class. But this needs to be implemented in Python. Here I am a rookie. I found the "Generic" and has constructed this exam...
{ "language": "en", "url": "https://stackoverflow.com/questions/72522954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: disable component functionality based on page I a navigation where the menu items are hidden until you get to a certain point on the page then they show. This works great on the homepage, because it is a relatively long page. But, some of my other pages are short and do not go past the height of the viewport. So whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/56569223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: UIDocumentInteractionController working in iOS6 but not in iOS5 I am using UIDocumentInteractionController in MonoTouch and in the iOS6 Simulator and on iOS6 devices my code half works. However it does not work at all for iOS5 simulator/devices. Here is a sample class I made to test with in a sample project. using S...
{ "language": "en", "url": "https://stackoverflow.com/questions/13448641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excel/Google Sheets Offset and Transpose formula question I have a query regarding the OFFSET and TRANSPOSE formulas. I have the following two sheets set up in Google Sheets (originally in Excel): First sheet: Formula in cell B2: =transpose('Form responses 1'!A2:BB2) (original) =transpose(offset('Form responses 1'!...
{ "language": "en", "url": "https://stackoverflow.com/questions/52150261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Exception Safety example guarantee correct? I discuss the Exception Safety Guaratees and devised an example that I think provides the Strong Guarantee: template<typename E, typename LT> void strongSort(vector<E*> &data, LT lt) // works on pointers { vector<E*> temp { data }; // bad_alloc? but 'data' not changed. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/6972813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javax.validation.ConstraintViolationException I am using JSF+JPA iam not fix this error: javax.validation.ConstraintViolationException: Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event:'prePersist'. Please refer to embedded ConstraintViolations for details. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/22946549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: Read and write structure containing std::string to .dat file using std::write and std::read C++ I have a structure struct details { std::string username; std::string password; bool isActive; }; struct details v_Details; i wish to write these data into a file and then read it at some other point in the cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/21772378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Syncing objects imported at runtime using PUN In our multiplayer project on Unity, each user imports model at runtime, then joins room, and then configures runtime imported object as networked object. The problem is, the imported model gets destroyed when host leaves. Here is my code snippet: private void Start() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55197849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Runspace Dispose in Powershell (GUI specific) I'm an active reader of StackOverflow as it usually helps me resolve all my issues. But for my first question ever I'll ask your help about runspaces in Powershell, specifically for memory management. I created some PS apps with GUI and now I use runspaces to avoid hang ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51799834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Rest API Consumption in flutter Problem I'm trying to receive data from a rest API in my flutter app, inside a future function but i keep getting the following error: type 'CastList<dynamic, List>' is not a subtype of type 'List'. The function I'm using to fetch the data is as follows: static Future<List<Questionnai...
{ "language": "en", "url": "https://stackoverflow.com/questions/65783405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Server Error 500 .htaccess I have this working on my dedicated server but it fails on my shared hosting please what can be wrong? Thank you. AddHandler phpini-cgi .php #Action phpini-cgi /cgi-bin/php5-custom-ini.cgi Options -Indexes Options FollowSymLinks # Make Drupal handle any 404 errors. ErrorDocument 404 /4...
{ "language": "en", "url": "https://stackoverflow.com/questions/36009974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: After IORegisterForSystemPower failing to call IODeregisterForSystemPower I have an application, written in Objective-C for MacOS 10.10+ which registers for sleep/wake notifications (code sample below, but the code isn't the question). What I am wondering is, if I call IORegisterForSystemPower at App initialisation,...
{ "language": "en", "url": "https://stackoverflow.com/questions/63965921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JPA ObjectOptimisticLockingFailureException on an Insert sql execution followed by an Update sql execution I'm using Spring-data-jpa with Kotlin and I faced this error: org.springframework.orm.ObjectOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/72772827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to locate a link using xpath I am unable to locate a link on a page using the xpath. When I use the Inspect Element command, the page source for the object is as follows: <a id="TreeView1_LinkButtonMore" href="javascript:__doPostBack('TreeView1$LinkButtonMore','')"> See more </a> My Selenium Code is as f...
{ "language": "en", "url": "https://stackoverflow.com/questions/23837448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does each apple developer has to pay $99 fee? We have Apple Developer Account and we invited new guy, does he have to pay $99 to become a member and get certificates? A: To share access with new guy I had to add him to https://developer.apple.com/account/#/people/ , not only to https://itunesconnect.apple.com/Web...
{ "language": "en", "url": "https://stackoverflow.com/questions/50796788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: HtmlAgilityPack set node InnerText I want to replace inner text of HTML tags with another text. I am using HtmlAgilityPack I use this code to extract all texts HtmlDocument doc = new HtmlDocument(); doc.Load("some path") foreach (HtmlNode node in doc.DocumentNode.SelectNodes("//text()[normalize-space(.) != '']")...
{ "language": "en", "url": "https://stackoverflow.com/questions/8274421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "31" }
Q: aws serverless - exporting output value for cognito authorizer I'm trying to share cognito authorizer between my stacks for this I'm exporting my authorizer but when I try to reference it in another service I get the error Trying to request a non exported variable from CloudFormation. Stack name: "myApp-services-te...
{ "language": "en", "url": "https://stackoverflow.com/questions/59813541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use sed with special character I try to use sed with special character: sed -i -e "1i$jtempo" $file $file is my file. $jtempo is my variable with special character like: " or [ or ( But, when I run this script, I have this error: sed: -e expression #1, char 17: unknown command: `"' My file: "desc_test":[ "id", "n...
{ "language": "en", "url": "https://stackoverflow.com/questions/48404898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Update a custom field on "Update Cart" click in WooCommerce Cart I added a custom <select> field to each product in cart page to be able to update variation, but when I change it's value and click "Update Cart", nothing updates unless quantity field has also been changed. Is there a way to avoid this? My code: fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/55200491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove string after specific character from list using powershell I am attempting to clean up (reformat) a list of servers that has been provided to me containing the full domain name so that I can use it elsewhere. The list of servers arrive formatted like: servername.domain.com. I read the list into a variable usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/28351275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to parse json data recieved as a string [ {"CityName":"Jaipur","CityId":1}, {"CityName":"Jodhpur","CityId":2}, {"CityName":"Ajmer","CityId":3}, {"CityName":"Bikaner","CityId":4} ] I want to get all the citynames and their id but i don't know how to do that. As I new to android any answer will b...
{ "language": "en", "url": "https://stackoverflow.com/questions/22861707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Unable to send mail to more than 200 member at at a time using php mail function Hello guy i am using php mail function to deliver my mails if i run the code locally with 5 email id then it working fine without any error but if i run the same code with more than 400 email id then it show the warning messages link W...
{ "language": "en", "url": "https://stackoverflow.com/questions/4342678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Caused by: io.cucumber.datatable.UndefinedDataTableTypeException: Can't convert DataTable to List I am updating cucumber version from 3x to 7x and I faced following exception: Caused by: io.cucumber.datatable.UndefinedDataTableTypeException: Can't convert DataTable to List There was no table entry or table row tran...
{ "language": "en", "url": "https://stackoverflow.com/questions/74472560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing an Audio File From a Different Folder I am doing a project for my computer science class in which I am adding audio into my website. I am doing this in cloud 9. And I have a folder of different songs on a different folder. I need to be able to access the song from the higher folder. People have been saying...
{ "language": "en", "url": "https://stackoverflow.com/questions/40061056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a model instance that has a belongsTo property? var attr = DS.attr, hasMany = DS.hasMany, belongsTo = DS.belongsTo; Admin.Category = DS.Model.extend({ name: attr(), mstore: belongsTo('mstore') }); console.log(mstore); // this is a PromiseObject object passed from "{{action createCategory msto...
{ "language": "en", "url": "https://stackoverflow.com/questions/19176979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Populate JTable with strings from JTextFields I am building a GUI for MySQL, with JFrames with collaboration with jdbc. I am not that good in Java and I can't figure the following out. I want to populate a JTable with data from a query of mine, but I want this query to have user parameters inside. So.. Here is the q...
{ "language": "en", "url": "https://stackoverflow.com/questions/35402520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Cannot deserialize request param date "Thu Dec 26 20:53:18 GMT+01:00 2019" Cannot parse "Thu Dec 26 20:53:18 GMT+01:00 2019" using @DateTimeFormat(pattern ="EEE MMM dd HH:mm:ss 'GMT'XXX yyyy"). Failed to convert from type [java.lang.String] to type [@org.springframework.format.annotation.DateTimeFormat @org.s...
{ "language": "en", "url": "https://stackoverflow.com/questions/59493688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementation AbstractPreferenceInitializer won't get called in my Eclipse RCP I want to use the Eclipse mechanism to set default preferences in my RCP application. Therefore I extended the class AbstractPreferenceInitializer to set my default preferences: public class PreferenceInitializer extends AbstractPreferen...
{ "language": "en", "url": "https://stackoverflow.com/questions/11046158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Deadlock in DB2 while updating a table using jdbc template I'm trying to update a table for multiple rows in AS400 DB2. This query works fine when I test in work bench. When I use the same query from jdbc template, it creates dead lock and a lock is made on the table. What might be the issue here? Here is my code. Q...
{ "language": "en", "url": "https://stackoverflow.com/questions/47736195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to save whitespaces while parsing array to string? Let's say during some string operations we have this kind of array: [0] = "Foo" [1] = " " (3 spaces) [2] = "bar" [3] = " " (2 spaces) we separated incoming string with regex using word break (/\b/g), and we wanna save all source spaces in output doing st...
{ "language": "en", "url": "https://stackoverflow.com/questions/53318843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Jersey + Spring 3 + Maven 3 + Tomcat 7 @Resource in @Component Class are always null I have searched and tried about everything I can think of to fix this but the Dao in the TestService class is always null. I see the Spring logs showing that the Dao is injected as well as the TestService class. I have tried runni...
{ "language": "en", "url": "https://stackoverflow.com/questions/10325550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Is it true that a JSON document will not be parseable until the last byte is written? Is the following hypothesis valid? Leaving aside whitespace, once the first character of a JSON document has been written, the resulting stream will not parse as valid JSON until the last character has been written. I'm inte...
{ "language": "en", "url": "https://stackoverflow.com/questions/8524677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making and sending a mix double and int array in c I am trying to send a msg from a socket that will be in the form on double,int,int,int,int,...,int N int values how can i send it? i have opened a socket but how can i put all those elements in one array that will be sent in: status=sendto(SendSocket,msg,sizeof(dou...
{ "language": "en", "url": "https://stackoverflow.com/questions/30188393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Different class files for same dependency when used in different projects I was given a spring project with gradle as the build tool. Since I'm familiar with maven I tried to change the project build tool to maven. I defined the dependencies in pom.xml like it was in build.gradle using the same group id, artifact id...
{ "language": "en", "url": "https://stackoverflow.com/questions/50042268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting "io.cucumber.junit.UndefinedStepException", while using the same step defination given in trace snippet i have created a cucumber class and trying to modified, while doing so its continously showing the "io.cucumber.junit.UndefinedStepException" again and again when i try to run. I have tried with the steps ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71185312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python doesn't go automatically to next line when writing to CSV file I am trying to open a source CSV file (source.csv) and decompose it into several CSV files according to first column name. I show it with this example: Content of source.csv: 2016-11,a 2016-11,b 2016-12,a 2016-12,b 2016-12,c and I expect the prog...
{ "language": "en", "url": "https://stackoverflow.com/questions/40367161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Magento: Add additional info to Invoice PDF I am utilizing M2EPro to sync orders from eBay and Amazon. I would like to add the Amazon Order ID and Ebay Order ID to my PDF invoices. I need the data from: Column amazon_order_id from m2epro_ebay_order and Column ebay_order_id from m2epro_amazon_order Can anyone offe...
{ "language": "en", "url": "https://stackoverflow.com/questions/13805523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Drawing STL with OpenGl and Python3 I am trying to port a program from Python2 to Python3. Everything is fine with Python2. OpenGl returns an error when trying to draw the object. Here is the function: def draw_facets(self): glPushMatrix() # Ligthing, color and Material Stuff ...
{ "language": "en", "url": "https://stackoverflow.com/questions/66918642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Controlling compiler directive in file from other file C++ Consider following header file, // filename : packet_types.h #ifndef _PACKET_TYPES_ #define _PACKET_TYPES_ struct Packet { enum Type { typ_ONE, typ_TWO, typ_THREE, }; static const ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/40203472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Facebook API, Phone Numbers I am developing a Facebook Application that I need to get all the information of user, including mobile phone. However, even this page claims https://developers.facebook.com/blog/post/446 that user_mobile_phone permission exists, neither the documentation includes a field of mobile phone ...
{ "language": "en", "url": "https://stackoverflow.com/questions/6563786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "27" }
Q: Equal distance between children when using grid and flex I have this sample: link .container { display: grid; grid-gap: 5px; grid-template-columns: repeat(4, 1fr); margin: 0 auto; } h6 { background: red; } .pre-el { background: gray; display: flex; justify-content: center; width: 100%; } .pre-...
{ "language": "en", "url": "https://stackoverflow.com/questions/69853380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python String Method Conundrum The following code is supposed to print MyWords after removing SpamWords[0]. However; instead of returning "yes" it instead returns "None". Why is it returning "None"? MyWords = "Spam yes" SpamWords = ["SPAM"] SpamCheckRange = 0 print ((MyWords.upper()).split()).remove(SpamWords[SpamCh...
{ "language": "en", "url": "https://stackoverflow.com/questions/2247600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to use dependency injection with Zend_Soap_AutoDiscover I'm trying to use a dependency injection container for the first time in a project, but I just discovered a problem that I'm not sure how to address. The project provides a SOAP web service, which is implemented atop the SOAP component of Zend Framework. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/8189966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Connecting to a MySQL Database and do a query using only client side Javascript and HTA In a HTA application, how to connect to a MySQL database using JavaScript ONLY and do a query in it? No VBScript and no third parties like node.js, just JavaScript. A: A HUGE thanks to Kul-Tigin for providing the answer for the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62939144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to click and drag an object in pygame? I have created this window that allows the user to create dots in the windows and link them, What I'm trying to do now is to allow him to move which ever point he wants after finishing drawing them In my example I allow him to draw five dots, then I want him to move the poi...
{ "language": "en", "url": "https://stackoverflow.com/questions/59008485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Mule ESB - does the lib override any application library I have used Mule Studio 3.2.1 to develop a Mule application. Within that application I have used org.springframework.ws.client.core.WebServiceTemplate to send a Webservice request to another application. I have used the following config <bean id="myWsTemplate...
{ "language": "en", "url": "https://stackoverflow.com/questions/11672371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Transport-level vs message-level security I'm reading a book on WCF and author debates about pros of using message-level security over using transport-level security. Anyways, I can't find any logic in author's arguments One limitation of transport security is that it relies on every “step” and participant in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/4270883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: Trouble making an executable jar with lwjgl When I try to make an executable jar in NetBeans I get this error: C:\lwjgl\lwjgl-2.8.5\res is a directory or can't be read. Not copying the libraries. The res folder holds files like jpgs and wavs that the program relies on to function. I'm using lwjgl, would that be par...
{ "language": "en", "url": "https://stackoverflow.com/questions/16219056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a nodejs equivalent to PHP's mail() function I come from the world of PHP and I'm accustomed to using mail() to send quick diagnostic emails on occasion. Is there a module or method in the standar library of NodeJS that's roughly the equivalent of this? A: Sure: const nodemailer = require('nodemailer'); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/14678447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Text bubble only two characters wide - JSQmessagesviewcontroller Text bubble only allow 2character then create a new line break for the next 2 characters. this will happen randomly. I did not make any adjustments to the bubble characters it just appears like that. Thank you in advance for the help import UIKit im...
{ "language": "en", "url": "https://stackoverflow.com/questions/39418260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What value is in the variable myletter after the above code executes? According to the ASCII table for the char variable 'e' it seems that corresponds to 65. The code goes like this char myletter = 'e'; myletter++; I know that you add 1 to the variable myletter by the post increment. I assuming is 66 but it is not...
{ "language": "en", "url": "https://stackoverflow.com/questions/28624313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Correctly awaiting in F# an async C# method with return type of Task I'd like to be able to consume a C# library from F#. Mostly this has been pretty straightforward. However, if I try to call a function that returns a Task<T> I am not able to get the returned value. So, I have C# method with the following definitio...
{ "language": "en", "url": "https://stackoverflow.com/questions/41743602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "22" }
Q: Azure Function sometimes can't access Azure SQL DB I have an Azure Function which writes to an Azure SQL DB. Sometimes it works, other times I get an error... Cannot open server 'removed' requested by the login. Client with IP address 'removed' is not allowed to access the server. To enable access, use the Windows ...
{ "language": "en", "url": "https://stackoverflow.com/questions/67088581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass variable to named function with angular $on? I have created the following listener: scope.$on('location', updateMap) This worked great, but now updateMap needs to take a variable: function updateMap(request){ ... } I need to pass the variable request: var request = { origin: origin, destinatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/22864190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }