text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Group >70% similar MySQL TEXT field data using PHP I have a TEXT filed in the MySQL table. it has sentence
Example
Hello AAAA, where is your dog BBBB
Hello PPPP, where is your dog QQQQ
Hello XXXX, where is your dog YYYY
I am fine. thanks
I am fine. thanks
where are you going?
Thank you very much
here
first 3 senten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16849738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I install Google OR-Tools on Mac? Trying to install Google OR-Tools by running in the terminal:
python3 -m pip install -U --user ortools
I end up with errors:
ERROR: Could not find a version that satisfies the requirement ortools (from versions: none)
ERROR: No matching distribution found for ortools
What ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69842574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stream.filter based on javax.validation I'm using Spring Boot. I know there is a @Valid annotation you can use on top of methods so it throws an Exception if it's not valid, but I don't want to throw an exception, I just want to ignore the invalid objects.
Let's say I have this model class:
public class User {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62676327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I replace the header and trailer of all files in a directory with a new header and trailer string, but only up to a certain character? I have files in a directory:
ex:
file1
file2
Both files have contents that look like the below (header, body, trailer words just for reference):
header: 123xxx xxx value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56136049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't Get CSRF Token to Appear on a Django Template/View I'm trying to use a Django ListView sub-class to generate a page with a form on it. It's an old school manual HTML form, not a Django-generated one (though I do also have a Django-generated form elsewhere on the same page). Since Django bakes CSRF authentica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25458624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Users reporting WPF controls with locked values; how could this happen? I have a relatively simple program that I have created using WPF and the .NET 4.0 Client Profile. I used an MVVM approach, where I have views with minimal code-behind which bind to properties on the corresponding view-models; those properties th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8073541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it ok to build an 64 bit ActiveX control with C# for enterprise application use I am planning to build an 64 bit ActiveX control to be used in my web page. So my question is it OK to build it with C#? Will it be able to handle complex business logic? The reason why I ask this is that I am more familiar with C# th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6126725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Guard Live-reload with Susy Has anyone used Guard Live-reload with Susy, here's the link to Guard: https://github.com/guard/guard.
I found where Guard is being used with Sass and Compass but so far I've not found where it's being used with Susy.
Any help will be appreciated
jrattling
A: Since Susy is simply a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26316316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there some way to rescale a slice of a canvas? My project includes a canvas element that is 800x2000. What I need to do is take a 200x2000 slice of the canvas and display it in the same 800x2000 location. What method or combination of methods might help me accomplish this?
A: Yes; use the 9-argument form of draw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59248762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to reset datagridview having checkbox after filter is applied in c# I'm new to c# coding and i'm struck with this.
I have a DataGridView with a DataGridViewCheckBoxColumn column, which is databound to a list.
After applying filter to datagridview,filter works fine,but if i check the row using checkbox,i can't re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49531036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pytest fixture yield returns generator instead of object I'm running pytest-3. I'm defining a fixture that is supposed to return a falcon TestClient object. I also need a teardown, so I'm trying to yield it.
def client():
api=create_app()
c = testing.TestClient(api)
yield c
remove_db()
If I 'return'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54887336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Thumbnails from the Vimeo website harder than YouTube Our website lets people add videos by submitting a URL - usually one from YouTube or Vimeo. I'd like to show thumbnails, when giving people a list of videos.
YouTube make this easy for me - just slap "1.jpg" on the end of the URL, and you've got your image.
Vimeo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/840765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Access Display Message Box if Query Conditions Met Hi I'm trying to display a Message Box based on values from a query. I've tried the DLookUp function of the following:
If (DLookup("ID1", "qry_CheckID") = Forms!MainForm!ID2) Then
MsgBox "Your ID is bad.", vbOKOnly, ""
End If
Basically I want to see if ID1 fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43858382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i generate all the permutations of the first n letters from the alphabet, lexicographically? Find a method to generate all the permutations of the first n letters from the alphabet, lexicographically, but ignore the results which have two vocals standing next to each other.
I tried this, but for some testcase... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61477673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cosmos DB - CreateCollectionIfNotExistsAsync Generic method I am using cosmos DB and I have created below generic repository for CRUD operations.
public class CosmosDBRepository : ICosmosDBRepository
{
private readonly DocumentClient _client;
private readonly string DatabaseId = "FleetHub";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61885389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deallocating RTCMediaStream blocks the main Thread I'm building an iOS app that should use the WebRTC implementation form webrtc.org. I created the demo app and every thing works fine. After integrating the framework into my own app I'm experiencing a problem regarding deallocating resources.
As a first step I wante... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28811742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to use Jira.CreateOAuthRestClient from C# code? I have downloaded Atlassian SDK from visual studio nuget manager. There is a method
public static Jira CreateOAuthRestClient(string url, string consumerKey, string consumerSecret, string oAuthAccessToken, string oAuthTokenSecret, JiraOAuthSignatureMethod oAuthSigna... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72628707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sidekiq in dockerised rails application on AWS I have a docker compose file with this content.
version: '3'
services:
db:
image: postgres
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: pass
POSTGRES_USER: user
volumes:
- postgres_data:/var/lib/postg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52290678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Impersonation file upload impact i have a admin system, currently allow login user to upload a file,
but i found that it can not overwrite the file with same file name, it return access denied error
im wondering if i set impersonation = true in web.config, what impact will have?
(i know there is another way to solve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13171942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not load file or assembly (SSIS) I am working with
*
*Visual Studio 2019 Community Edition
*Installed extension SQL Server Integration Services Projects
*64 Bit System
With a simple sample code from microsoft, I am getting an error:
System.IO.FileNotFoundException: "Could not load file or assembly 'Mic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61476807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access level to elements in visitor pattern In the visitor pattern, i want the client to only have access to the getters of the elements, while the visitors should have access to getters and setters. How would you implement it?
I don't want the visitors in the same package as the model (there are a lot of classes al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6705362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you write a Teradata SQL Statement with EITHER OR between two columns with multiple WHERE statements? I am trying to use two columns. DATA_IND gives values of "yes" or "no" and another column VIDEO_IND gives "yes" or "no".
I want my query to return if either column has a "yes".
Return CASE (yes, yes)(yes,n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60513703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read SOAP response php I have a SoapClient with PHP and I can't read the string response, I tried to use different methods that I found in this forum but nothing works.
This is my response:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27989933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I'm having trouble vertically centering this form I'm currently developing a web app using vue.js, and I'm having trouble vertically centering some elements.
This is what I currently have
I would like to have the div with the form(grey colored bit) to be vertically and horizontally centered.
This is the code for the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75050511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why is Android emulator asking for Flash Player to be installed when it is already installed? I am trying to run a flex mobile application on the android emulator(2.3). The app. uses StageWebView to display a local HTML file. When run in android emulator, it asks for flash player to be downloaded. I have already ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7884345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to define an environment variable by Python and use it in OS? I'm trying to create an environment variable in Ubuntu by Python.
Here is what I've done so far:
import os
os.environ['NEW_ENV_VAR'] = '1'
print(os.environ['NEW_ENV_VAR'])
Out:
1
Apparently, I can write and read this variable on this same code, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58248819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In what scenario would Classpath of a java project will be different from its Buildpath? Was just looking at Buildpath and Classpath for my Java project in Eclipse. I noticed all jars included in my project's buildpath are automatically included its classpath.
It makes sense why Eclipse does that. I mean , If I need... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26537360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Evenly spacing text and an icon within a snackbar So I'm super new to all this (read: this is the first task I've ever been given), and I'm trying to style an icon and some text in a snackbar so that they're evenly spaced and properly aligned.
<SnackbarContent
message={
<div>
<i classNa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71928695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unlikely argument type for equals(): String seems to be unrelated to MemberSearchRequest Hi I just want to implement this error message but it seems like it is not being processed. My goal here is to make the error message appear when either of the three requests (generatedMemberNo, firstname, lastname) have no resu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63047844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ImageMagick multiple operations in single invocation - round corner ImageMagick multiple operations in single invocation
Hello. I am not good at English.
I'd appreciate it if you understand.
I created a Mask Image.
convert -size 600x735 xc:none -draw "roundrectangle 0,0,600,735,45,45" mask.png
Create rounded edges f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58585556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have a text area, that will have multiple lines of text I have a text area, that will have multiple lines of text and I need the output to keep all formatting as it is typed in to the text area. How can this be done? Here is how I am creating the text area:
<table border="0" cellpadding="5" cellspacing="5" width="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43217943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Button click to show overlay over image (only CSS) I am trying to achieve that when you click the yellow circle with fa-icon inside that then the overlay shows over my image. Now the overlay shows below the image (green background with white text). My overlay code works, to see that, change div id="overlay" to div c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39557492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Way to show texerror in MathJax I'm using cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS_HTML-full
When MathJax tries to render $$2^2^x$$, it shows 2^2^x instead of error "Double exponent: use braces to clarify"
What configuration should I use in order to show the error?
A: Use
<script type=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59215534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: is it possible to search all Redshift procedures for text? I am dropping old tables from Redshift. Is it possible to search through all procedures to make sure a table is not referenced? It would be a lot easier than opening each one to search for text.
Thank you.
A: Consider using the unscanned_table_summary.sql... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61922822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Rest API method throws a 404 Not Found after publishing I am hosting my Backend on Google App Engine and the Rest API works well on localhost. The method url is as follows:
http://127.0.0.1:8888/rest/plans/getplans/242353
This works on local host and returns me a JSON response properly. It's a GET method and 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36300374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot Apply toDateString() to Date in JS I am running into a problem I'm trying to understand. I am simply trying to convert a date into a more reader-friendly format by using toDateString(). However, in doing so I am getting a "toDateString() is not a function" error.
I can do this, using toString():
truncateDate(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48101949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Morris Donut Chart label is showing undefined error I am using Morris Donut chart to display the progress. I am getting the count of status correctly. But instead of Label it is showing undefined in the donut chart.
Morris Donut Chart Showing Undefined Error as Label
var dtData = _.groupBy(jsonData, "status");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55195777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Shuffling multiple arrays in $.each() I am generating a hyperlink inside a para in the following way:
<p id="category1"></p>
jQuery Code:
$(function () {
var link = [
["category1", "http://www.xyzabcxyz.com/apple", "Apple description comes here"],
["category2", "http://www.xyzabcxyz.com/banana",... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32586402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is the python "elif" compiled differently from else: if? I know in languages such as C, C++, Java and C#, (C# example)the else if statement is syntactic sugar, in that it's really just a one else statement followed by an if statement.
else if (conition(s)) { ...
is equal to
else {
if (condition(s)) { ...
}
H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34304936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: UIButton with UIImageView subview to show animated images I'm trying to create a button which displays animated images. I read in this post the suggestion that I add an UIImageView (with an array of animationImages) as a subview of the UIButton. I tried to do this like so:
(animation1 is a UIImageView object declare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3371932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AUC and Cross validation I have a question regarding AUC and cross validation accuracy.
Is that possible to have higher accuracy for AUC than cross validation?
My cross validation accuracy with random forest estimator is 80% but the AUC is 98%.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/49909480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check attribute in SQL Server 2012 using regular expressions? I need to insert an equipment model code, is a string formatted as:
AAA-0123456
It has to be, 3 uppercase letters, the "-" in the middle and 6 numbers,
I need to have a constraint check (model code like regular expression) I think.
How can I do thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30667196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deploy Neo4j on Rails I've been developing my rails application using the gem neo4j.
When I run the server it executes an embedded neo4j server.
In production, is it ok to use this embedded server?
How can I can connect my rails application with with the standalone neo4j server?
A: It seems like you can use the gem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13951641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Testing Java class using JUnit public void printSummaryForPatient(String name){
Patient p = findPatient(name);
p.printPatientSummary();
p.computeBMI();
}
My method to test:
@Test
public void testPrintSummaryForPatient() {
Patient patient_adult=new Patient("Ted",24,1.90,70.0,"Leicester");
//Pati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8183072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Php imploding array then making separated strings Fairly new to php scene and this is giving me headache.
So I am doing api call (twitch.tv) and I want to get preview links, there are 3 different links, that end with .jpg. Now problem is its stored as array and I need to break it into strings.
I have tried
$preview... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25388337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: There is a Cell bothering me in a LibGDX Window I think I might have found an issue in LibGDX, but before opening an issue in their GitHub, I thought it would be better to discuss it here because maybe I am wrong.
This is what is happening to me:
I have a class named Information extending Window, where I show the in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49475113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: httpie TLS version error On Mac, I'm using httpie for testing REST API. After enabling HTTPs on my server, which only supports TLS 1.2, I started to have the following error:
http: error: SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
If I'm to guess, I'd say httpie is tryin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34069673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing a jQuery load() function variable to codeigniter controller is there a way to pass a variable to a codeigniter controller using jquery's load() function?
currently this is my non working code
main.php
<input type="hidden" id="url" name="url" value="<?php echo base_url();?>site/pax_dropdown/" />
<input type=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18717435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is My jQuery Plugin Template Faulty i fetched a jQuery template and did some trimming. But on init function -as you can see- on line 46, element's CSS should be changed. But nothing happens. Here is my plugin code; http://pastebin.com/raw.php?i=7gQ9jS03
Thanks in advance.
Edit: index.js of the page is;
$(function() ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16921469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Manually sign SOAP message Java I have to sign a Soap message using java, but I can't use WSS4J, SAAJ, AXIS2 or CXF for classpath problems on my websphere server.
I have to sign the body message of the SOAP call.
I generate a XML with body inside body data correctly for the soap message and look like this:
<SERVICE_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39109111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I get data of my table to process in a popup im currently working on a table that shows selected values out of my database. For that I made the rows clickable to open a Popup as shown. I want to get the values out of my selected row into the popup to process them. It doesnt work for me, can someone show me fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74790988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to localize page title with Spring and Tiles2? I have a Spring application which uses Tiles for the view tier. So all my pages definitions look like this:
<definition name="main.page" template="/tiles/layout.jsp">
<put-attribute name="title" value="Page Title"/>
<put-attribute name="header" value="/tiles... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4448342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: PHP Method to Concatenate Array and String I am building a PHP class to handle database management, and I wondered if it was possible to build a method which could receive a string with a concatenated array as one variable.
For example, take a look at this simplified code:
class Database {
function __construct()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5394838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fast join for a lot of dataframes Suppose I have around 480 dataframes. Each dataframe is organised as follows:
*
*Each dataframe has around 600*512 rows
*Each dataframe has 6 relevant columns, whose one (timestamp) is unique and can be used as index.
*Each dataframe may miss some rows (i.e., some timestamps), s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72747649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to get the output of jenkins pipeline sh step result inside Declarative Pipeline I would like to get an output of my sh result by using this way:
pipeline {
agent any
stages {
stage('Hello') {
steps {
echo 'Hello World'
result=sh(script:'ls -al', returnStdout: tru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62548359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: array should not spit out on a screen php I have made a form where user post data like names product and links. For validation I am using FILTER_VALIDATE_URL. Now what i want is after validation only host insert into database. like https://www.google.com. Only www.google.com insert in database. For doing this i am u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47495334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# Instagram private api GetUserTimelineFeedAsync function "Mothod not allowed" I am developing utility application using c# instagram private api.
Almost apis are working greatly but the GetUserTimeLineFeedAsync function returns Method Not Allowed [405] response.
Is there anyone who can help me?
A: I am not sure w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59479328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mysql complex select query for fetching rows as column issue I am trying to write select query for MySQL DB which will give me output like below:
enter image description here
TEACHER_ID
Image1
Image2
Image3
Image4
Image5
341
1.jpeg
2.jpeg
10.jpeg
20.jpeg
30.jpeg
734
3.jpeg
4.jpeg
40.jpeg
50.jpeg
60.jpeg
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71217602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to upgrade com.squareup.okhttp(4.6.0) in GRPC OkHttp version (1.29.0)? gRPC-Java with lastest Version of GRPC OkHttp » 1.29.0
dependency - "io.grpc:grpc-okhttp:1.29.0"
link - https://mvnrepository.com/artifact/io.grpc/grpc-okhttp/1.29.0
which is use okhttp(com.squareup.okhttp:2.7.4) but I want to upgrade into in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61813339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do i compare the "EndDate" in my database to the current date of today? I want to execute query depending on if EndDate is < Today's date.Here is what i have so far, i need to know how to compare them Thanks!
//Delete from DB Condition (EndDate)
if (sqlCon.State == ConnectionState.Closed)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54476576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hide cursor from objects on the webpage I want to hide my mouse cursor whenever someone goes over the object tag. But cursor:none is not working for objects while it works with rest of the page.
Here is what i am using but i am failing do it.
<object id="obj" class="obj" style="cursor:none;" data='bla-bla.pdf'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21686051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grabbing selected dropdown list item to add to query string Trying to grab the selected item from the dropdown list, and add to the query string for an ajax call. I can't seem to be able to grab the value of the selected item. I'm trying with $("select#areaCode").filter(":selected").val(), but can't grab the item.
$... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28196280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jquery ajax not worked on my pc I try to use AJAX get method on my PC .
My jquery version is 1.10 , and my problem detected when i move files from other system's localhost to my desktop .
I'm see the code do correct in other system localhost but when moved on my desktop not worked and show this error on google chrom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17769303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A phone number from a large list of phone numbers is a pre-number for another phone number? Example_List=[112,34533344,11234543,98]
In the above list, we can see that 112 is a pre-number of 11234543. How can I check this in python? I think re.match or re.search are one of the solutions ?
A: You can turn your numbe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28806467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't Activate Rake (> 0.0.0)? Ok, this is very weird. I'm trying to do a database migration, and all of a sudden, I'm getting these errors:
[C:\source\fe]: rake db:migrate --trace
(in C:/source/fe)
** Invoke db:migrate (first_time)
** Invoke setup (first_time)
** Invoke gems:install (first_time)
** Invoke gems:set... | {
"language": "en",
"url": "https://stackoverflow.com/questions/245334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In an ASP.NET Web Setup Project, can I disable anonymous access in IIS? I have a really simple ASP.NET web application and a web setup project that deploys the project output and content files to a virtual directory in IIS.
What I want is for the MSI to automatically disable Anonymouse Access for that virtual folder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/298432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Exclude part of server name from Get-Snapshot PowerShell Script What I am trying to do is get a list of VM Snapshots but exclude any snapshots that contain the VM naming convention of "ABCDE" and that the snapshots are over 3 days old and output it to a text file.
The script that I have thus far is the following but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40002733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mysql select top n max values How can you select the top n max values from a table?
For a table like this:
column1 column2
1 foo
2 foo
3 foo
4 foo
5 bar
6 bar
7 bar
8 bar
For n=2, the result needs to be:
3
4
7
8
The approach b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6056162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What is gradle version which should be used with 3.6.1 android studio My question is simple, with android studio 3.6.1, my existing project have stopped working, I have tried to update below two files only, but no use.
Please note I am not a developer, So I will really appreciate, if solution can be given in layman ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61125719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Appending extra toolbar in fragment view In my application on the dashboard, there is an application bar that looks something like the image below.
As shown in the image, I have a toolbar that currently shows the Navigation drawer.
From the navigation drawer, I can navigate to a fragment A that replaces the TAB are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38436040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to update to specific R version on Linux (Red Hat/CentOS), keeping the previous version? Perhaps a more accurate title would be: "How to switch from in-place (EPEL) R to side-by-side (version-specific) R installation on Linux (Red Hat/CentOS)?
A (possibly typical) upgrading R on Linux story...
History:
At some p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61646933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Detect if "enable system diagnostics" is checked for conditionals in pipeline file and scripts I need to use the "enable system diagnostics" checkbox state in the pipeline run UI. How do I check if it was checked? For both pipeline YAML file and in a bash script.
A:
Detect if “enable system diagnostics” is chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64935381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angularjs ui.routing - add attribute to input elements before rendering HTML into ui-view I am using angular js - ui.router concept for SinglePageApplication Development.
When I click Page 1 and Page 2 link, then its respective html page will be rendered into 'ui-view' div. I want to add 'data-ng-blur' attribute int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45211127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: excel macro, need an algorithm to compare two lists I need to make a macro to compare two columns looking for duplicate cells.
I'm currently using this simple double for loop algorithm
for i = 0 To ColumnASize
Cell1 = Sheet.getCellByPosition(0,i)
for j = 0 to ColumnBSi
Cell2 = Sheet.getCellByPosition(1,j)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25715386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Tensorflow: How to make the model train using `tfrecords` but test using `feed_dict` I recently completed training a Linear Regression model using a csv data.
The result of the trained data shown here:
However, I'm still dumbfounded as to how to use the model.
How do i give the model an "x" value such that it retu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44871765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ : error : taking address of temporary [-fpermissive] So basically I'm having the error : taking address of temporary and I didn't exactly know why.
I tried to simplify the code to just focus on the issue itself . The error occurs on the adress array.
main.cpp has these lines below :
CPerson Student1("Test1", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64381173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Landing Page Built with Bootstrap 4 I have had a landing page built for me which is fairly simple layout. But the problem is the Banner Photo is swamping the page and I have to scroll to see completed page. Is there an adjustment I can make to HTML and/or CSS to reduce the height of the banner photo by about a third... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50200509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: OCaml: How to construct a formatted string in pythonic way? All of these start from a simple idea: How to write python-style formatted string in ocaml.
pythoners could init a string as:
str = "this var: %s" % this_var
str2 = "this: %s; that: %s" % (this_var, that_var)
but ocaml's formatted string code as :
let str ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1662853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: preventing users to create duplicate primary keys How would you prevent users to create duplicate primary keys?
My question is worded quite poorly so ill give an example to make it more clear (not sure how to put this in better words).
Let's say there are two users who are both trying to insert an item into our db. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37840656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Object binding for RESTful service using apache-cxf How to bind an object for RESTful service using Apache CXF?
I want to bind variables to an object from url params.
A: You could use @QueryParam. Take a look here
| {
"language": "en",
"url": "https://stackoverflow.com/questions/17941359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I convert list of strings to list of doubles in closure? How can I convert the values of 'mymap' to a list of Doubles instead of a list of Strings, at the same time as mymap is created?
(use '[clojure.string :only (join split)])
;(def raw-data (slurp "http://ichart.finance.yahoo.com/table.csv?s=INTC"))
;Downl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13871883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Determining the memory size of a Heroku Dyno Worker from Ruby code? Is it possible to at lease estimate the total RAM of a Heroku Worker Dyno from Ruby code starting in it? I need this to use just the right number of processes via the https://github.com/salsify/delayed_job_worker_pool gem, so that the processes don'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63134378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Searching for keywords irrespective of special characters in dataframe I have a dataframe df with a column of some texts:
texts
This is really important(actually) because it has really some value
This is not at all necessary for it @ to get that
I want to perform a search and obtain the texts with keywords like "im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63011806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the cell color in jqGrid using attributes from the XML file? If have an XML file that jqGrid is reading. I want to set attributes in the class using attributes in the XML file. For example, given a file such as this:
<row id='0'>
<cell class='type1'>2</cell>
<cell class='type2'>2</cell>
</row>
I'd li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22822602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NullPointerException: Attempt to read from field StoreData.store_id on a null object reference Please help me where is the problem here and how to fix it. So I wont get null object. In my case, I'm sorry before I try to read other post too but make me little bit confused.
Here is my StoreHelper :
public StoreData ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39323616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bold text on webpages when "Bold Text" iOS settings enabled I would like to increase the font weight of the text content in the webpage when the iOS "Bold Text" settings is enabled. But, I'm not able to find any documentation about it online.
A: I believe this has to do with the system-ui font. I've made a quick Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74100048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mac OSX - Get all running application list with memory usage I am very new to develop mac osx application using xcode. I am trying to get all running application list with their memory usage.
Can any body help me in this case.
Please help me.
Thanks in advance.
A: It will help you to get list of running applicatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21135410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Detecting Available Network Adapters With Python I want to detect the available network interfaces that is connected to a DHCP and got an IP from it. I am using following script to generate the list of available adapters.
import psutil
addrs = psutil.net_if_addrs()
all_network_interfaces = addrs.keys()
available_net... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57093853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to fix mismatch processor architecture, unexpected e_machine, due to a .so file I have a Xamarin android project and am currently using Visual Studio 2015.
Inside of my MainActivity.cs, I have the following code:
Com.Alk.Sdk.SharedLibraryLoader.LoadLibrary("alksdk", this);
which then goes into:
// Metadata.xml ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50806019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combine 2 functions into 1 How can i combine this functions. Basically, when if the checkbox is clicked, something happens and if the page loads and if the checkbox is already clicked, the same thing happens as the second function.
$(document).on("click", ".dimensions", function() {
var size = $(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26263275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Letter to word assignment I'm practicing programming in C sharp and i'm trying to write a program that will ask for a letter value from the user and output a word value eg. the user inputs the letter "a" and gets the word "apple". What would be the best code for this? Cheers.
A: Hint: use a Dictionary.
var dict = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19719744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: TimerTask runs one more time after I call timer.cancel() method TimerTask runs one more time after I call timer.cancel() method.
I don't need TimerMethod to be executed after I call stopBusTimer() method.
Can somebody explain why is it happening?
busTimer = new Timer();
busTimer.schedule(new TimerTask() {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38651832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting a Mod_Security error When i install captcha plugin on my website and try to login, m getting Error:
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/18779382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ML assignment operation everyone, what is difference between the following assignments in ML,
val n = 5;
and
n := 1;
A: The former is a declaration of a new, immutable variable. The latter is how you re-assign the value of a reference cell.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/5168889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scheduling playback of AudioWorkletNode I'm working with soundtouchjs-audio-worklet in order to change the tempo/pitch of audio files that have been read into a buffer. The library creates a worklet that can process these buffers, and gives me an AudioWorkletNode to control it. What I need to do is schedule the play... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73809315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Upgrade Hibernate 3.6 to hibernate 4.3.6 on jboss 6.0.0 AS getting java.lang.NoClassDefFoundError: org/hibernate/classic/Session We are upgrading hibernate 3.6 to hibernate 4.3.6 in our application and we are using hibernate JPA 2.0 in Jboss 6.0.0. We have excluded jpa components and other JBoss components and bundl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26750342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python 2: insert existing list inside of new explicit list definition This may not be possible, but if it is, it'd be convenient for some code I'm writing:
ListOne = ['jumps', 'over', 'the']
ListTwo = ['The', 'quick', 'brown', 'fox', ListOne, 'lazy', 'dog!']
If I do this, I'll end up with ListOne being a single ite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17670457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Laravel group by not working if only one key exists? I have this following code:
$groupedRates = $result->rates->groupBy('minimum_age');
when I try to return it, I get this:
"rates": [
[
{
"id": 1,
"cpf_scheme_id": 1,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70377506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can NSNotificationCenter be used between different frameworks to communicate? An app can make internal use of NSNotificationCenter for different parts to communicate with each other, but can this be extended such that different frameworks can use it to communicate on iOS?
A: In the same app, frameworks all get exec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58657816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I edit and transfer output tables from R? I am working with R for analyzing data for my research paper. I have run some regressions and marginal effects and would like to get the output in a format that I can include in my research paper (best would be tables as images). How can I do this?
I have tried using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74843193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.