text stringlengths 15 59.8k | meta dict |
|---|---|
Q: ReactJS Firebase multiple where clause isn't working I'm developing an application which need's to fetch users based on prefered preferences but the sorting isn't functioning.
export const fetchUsers = (minAge, maxAge, prefer, gender) =>
db.collection('profiles')
.where('age', '>=', minAge)
.where('age', ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74388776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VueJs run watcher handler immediatly after triggering Example:
export default {
data() {
return {
data1: 1,
data2: 2
}
},
mounted() {
this.data1 = 2
console.log(this.data2)
},
watch: {
data1: {
handler(newData1) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75291672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I change this WooCommerce cart icon into text Need help. How can I change this cart icon?
I want to change it to an image icon. Also, I need it to put the code in my Child-theme stylesheet.
Thank you in advance
| {
"language": "en",
"url": "https://stackoverflow.com/questions/65759414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to format columns dates in python that they are weekly based on eachother? I have a dataframe df that looks similar to this:
identity Start End week
E 6/18/2020 7/2/2020 1
E 6/18/2020 7/2/2020 2
2D 7/18/2020 8/1/2020 1
2D 7/18/2020 8/1/2020 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65830784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python plot window not closing after being called from a JavaScript script I have a JavaScript script (open_hist_w_user.js) spawns a python process and passes data to a python script (create_histogram.py). The Python script creates a histogram using the Matplotlib library and displays it. The problem is that even af... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75417447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Returning IPv6 instead of IPv4 in VB I have this function which is querying the IP address.
Dim strHostName As String
Dim strIPAddress As String
Public Function ipconfig()
strHostName = System.Net.Dns.GetHostName()
strIPAddress = System.Net.Dns.GetHostEntry(strHostName).AddressList(0).ToString()
rtb_Output... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19713868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Enterprise Autoscale Application Block (WASABi) up by a variable amount I was looking at the WASABi documentation and I am confused about a particular aspect of this library.
I need to create a custom reactive rule. Say, this rule runs every minute and the "scale" action of this rule should be to scale up by "x" am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35500177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Write a title on itextPdf table border I'm using iTextPdf to create a table on an android application.
I need to have the title of the table on its upper border as shown on the image below.
How can I achieve this?
Thanks in advance
A: Please take a look at the CellTitle example. It creates a PDF in which titles a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35746651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get the a lambda function by using its ARN in the AWS CLI? I'm using the Azure Toolkit for AWS to create my lambda, and then running some powershell scripts to act on it. After creation, I get the function's ARN as an output. I don't see anywhere in the documentation where I can access the function via the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70454310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I split a column into 2 in the correct way? I am web-scraping tables from a website, and I am putting it to the Excel file.
My goal is to split a columns into 2 columns in the correct way.
The columns what i want to split: "FLIGHT"
I want this form:
First example: KL744 --> KL and 0744
Second example: B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46522269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Finding the Intersection of 2 sorted lists I have an assignment for
Given two sorted lists of comparable items,
L1 and L2. You can assume that in L1 and
L2 all elements are different (no duplicates) but t
he interception between L1 and L2 may be
non-empty.
(b)
Implement an efficient method in
Java to compu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39782200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Intechanging node roles in Hyperledger Fabric Can nodes interchange roles in hyperledger fabric?
Is it possible to make an endorsing or committing peer take the role of an orderer when required?
A: *
*Every endorsing peer is also a committing peer.
*An orderer and a peer are totally different binaries, and have c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52457719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docusign navigate to a Visualforce page upon signing Can we navigate signer who is on a Mobile device (Salesforce 1) to a visualforce page when the document is signed and the submit button is clicked?
A: Yes you can accomplish this. You'll need to use the DocuSign API and more specifically, the Embedding function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30404676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tickets 3.12A PHP line issue I have a TicketsCAD installation issue. I installed locally, and the install went fine, everything was well. Then, when I went to login to the admin backend, it gave me this error:
Warning: A non-numeric value encountered in C:\xampp\htdocs\tickets\incs\browser.inc.php on line 25
So, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50034880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Executing a script takes so long on Git Bash I'm currently executing a script on Git Bash on a Windows 7 VM. The same script is executed within 15-20 seconds on my Mac machine, but it takes almost 1 hour to run on my Windows.
The script itself contains packages that extract data from XML files, and does not call upo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58802988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I remove NLP from Tika? I just want to extract data from documents. So I do not think I need OpenNLP.
Is there a way to easily take it out so my Tika is lighter?
A: I have same need just like you.The way I deal with it is that I delete the module directly.In my program I delete the NLP and NL module and it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49058251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to search for Arabic charterers in recorders of DB2 I have a table in DB2 say premmp wherein a column say name might contain Arabic characters
Dim s As String = "SELECT EMPNO, NAME FROM lib.PRemmp where NAME like '% " & gname.text & " %' ORDER BY RNAME "
where gname.text is a textbox. It does not work, anyone... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43997900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Functional object basics. How to go beyond simple containers? On the upside I'm kinda bright, on the downside I'm wracked with ADD. If I have a simple example, that fits with what I already understand, I get it. I hope someone here can help me get it.
I've got a page that, on an interval, polls a server, processes t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5986524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using SqlCommand inside of AddSession in ASP.NET Core I was trying to execute a SqlCommand after the TimeSpan ends. When the IdleTimeout has been called, the user would go into the homepage and need to login again. But in addition. I want to call a command for my Last Login:
//Startup.cs
public void ConfigureService... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73752300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google BigQuery exports numeric data with wrong decimal to Sheets In our workflow we often export results from a query on BigQuery to Google Sheets, e.g. for distribution to customers in .xlsx format.
I'm running into something weird: when explicitly casting the output of a query to numeric, the export in Sheets giv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52206177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swift proper way to load xib file I have some strange problem with loading xib file in swift project. It's so frustrating because I already know how to do it in Obj-C. But since swift is swift so you can't do it like you did.. :/
So I have create IconTextFiled.xib and IconTextField.swift. (extends UITextField) In xi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26539849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Get property value with Expression without knowing target type at compile time I'm trying to create an expression lambda to pass an object, and then get the value for named property return. However the type is only known at runtime.
I started with the following method to handle types known at compile time:
private s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27795483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: fork() and waitpid possible outputs My textbook gives the following main routine:
int main()
{
if(fork() == 0)
{
printf("a");
}
else
{
printf("b");
waitpid(-1, NULL, 0);
}
printf("c");
exit(0);
}
It asks what the possible outputs are, and I have found 3:
abcc: The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20335081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get values of parameters of javascript function from Java? For my Java application I need to be able of, given a JavaScript string, determine the actual arguments passed into a function call.
For example, given this JavaScript string:
const url = "http://foo.bar?q=" + location.href
const method = "GET"
const isAjax... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50487385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQuery BlockUI not Unblocking the Page I am having a really weird problem! I used the blockUI JQuery plugin in one of my pages and it worked fine. I did the same for another page and it is not unblocking the page when $unblockUI is called.
Here is the code:
function showCommentBox()
{
$("#commentBox").... | {
"language": "en",
"url": "https://stackoverflow.com/questions/912804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why to use multiple catch blocks? We can use multiple catch block in Try-Catch.
But my Question is : why to use multiple catch blocks when it can be done by using single catch block?
*
*Suppose I want exact cause of my problem, I can get that by Ex.message
*If I want to show customized message to user, I can sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18733569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Internet explorer some elements dont work In Internet Explorer some elements don't work: Chat, Contact, Tutorial, Survey. These elements work in Firefox and Chrome.
http://hotelpedia.si is the website.
I have this code in the footer. I don't understand why this would cause some elements not to load in Internet Explo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18004625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Better ways to implement more secure Play Scala framework session via cookie I really like the idea to keep session data on the users browser but don't like the fact that session cookies are not very secure in play framework. If someones steals the cookie, he/she could use it to permanently access the site since coo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19235043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Error with docpad-plugin-gulp I'm trying to use the gulp docpad plugin and I get the following error when I execute docpad run:
Error: spawn UNKNOWN
at exports._errnoException (util.js:837:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at Object.exports.spawn (child_process.js:339:9)
at Task.<anonymous... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34160665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel route cache missing entries I have defined a custom service provider:
class DomainServiceProvider extends ServiceProvider implements DeferrableProvider
{
public function boot()
{
$this->tenants()->each(function (Tenant $tenant) {
$this->registerWebRoutes($tenant);
});
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73312459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Polymer 2 : component doesn't render I'm trying to create a Polymer element using the CLI. My component is really simple but the demo is blank.
It was working and I can't figure out what I've changed. After searching around the internet I think the problem is a wrong path or a wrong name (case sensitivity ?).
But I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45854526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: String.replace() Python remove first coincidence Following the Python documentation for string.replace, I'm trying to replace a string, such as "843845ab38". How can I make a string.replace(old,new) only replacing the first coincidence?
example:
a="843845ab38"
a.replace("8","")
print a
The solution that I'm lookin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15191098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am trying to pass a print instruction if an item is not in a list in python. It is working for only when the pin is wrong not for wrong account account_name = ['Adetunji Michael', 'Dina Asher-Smith', 'Niyola Davidson', 'John Paul']
valid_accounts= [3455590445, 2871290429, 3599076267, 1234567890]
valid_pins = [3477... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68178962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java constructor (anti-pattern) super-classing String The intention of the following design is to allow String values to be (in effect) subclassed to enable a number of what would be conflicting constructor methods to be established (e.g. the method signatures would be the same even though the parameter names would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31173955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Update all values except auto-increment field using PHP / MySql / PDO I have a quick question...I am updating all values in a row using a prepared statement and an array.
When initially inserting, my statement looks like this (and works perfect)
$sql="INSERT INTO $dbtable VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26328474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Printing Environmental variables in Linux I am new to Linux. I came across this piece of code to print environmental variables. It is kind of confusing me. How can this code print the environmental variables?
#include <stdio.h>
extern char **environ;
int main()
{
char **var;
for(var=environ; *var!=NULL;++va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9662417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel authentication does not set me as authenticated I'm pretty fresh into laravel. I've used CakePHP a time or two, but not this.
Currently I'm trying to make a authentication system. The registration does work, so does logging in.
When I log in, my view gets displayed. But when I try to secure the controllers f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35066150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iPhone how to get Magnified effect on certain part of the screen?
Hi all,
The images above are taken from the "Nike Boom" App. I am wondering how to do a magnified effect on the number list as shown in the images. I also want to point out that it is very very smooth animation, so screen capturing certain part of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5908955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Hiding element space without height constraint
This is a reuseable tableview cell. I want to hide 3. UILabel from the top, both the element and its space when it has no data.
I can't create a height constraint of it because I need to use it multiline depends on the text.
if release.post.isEmpty {
cell.label3.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60238637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC c# - need to do POST only once on submit I am using MVC 3, c# on IE9
In my controller I have the following 2 ActionResuls that is of significance:
public ActionResult EditTrain(String trainid)
{
....
return PartialView(edittrain);
}
[HttpPost]
public ActionResult EditTrain(Tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11435700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Two errors (Build failed and Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081) keep happening I got two errors (Build failed and command failed). I tried to change my port number or gradle version..etc.. but this two error keep happening :( Please help me I'm soooo exhausted.
/* this is m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66486751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get record which have min has_many rec ords(joins data) user.rb
has_many :properties
property.rb
belongs_to :user
I want to get a user who have min properties like wise for max also.
I cant find any query related to that
A: You could use counter_cache.
The :counter_cache option can be used to make findin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37454694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to convert this json into POJO structure I have a JSON API result to my android app that looks like the following (cut down to size)
{
"Results": [{
"data": [{
"AAA": {
"accessRole": "access.role.owner",
"fullName": "jsddd",
"spaceTotal": null,
"created... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37633444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use dompdf in phabricator I want to create new fiture to generate pdf on my phabricator.
I try to import dompdf into my phabricator, but when i try to call the function on my dompdf file it won't return anything and the dompdf->stream wont run
i write my dompdf code below this
<?php require (__DIR__ . '/vendor/aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74064186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get ListPicker SelectedItem value I have a ListPicker bound to Anonymous type List and want to get value of it. This is the code:
Dim listZoneSrc = From zon In listZone
Join joinCZ In listJoinCityZone On
joinCZ.zoneId Equals zon.zoneId
Where joinCZ.cityId = cityId
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22407534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Better way to find index of item in ArrayList? For an Android app, I have the following functionality
private ArrayList<String> _categories; // eg ["horses","camels"[,etc]]
private int getCategoryPos(String category) {
for(int i = 0; i < this._categories.size(); ++i) {
if(this._categories.get(i) == cate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8439037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "96"
} |
Q: Golang regex to parse out repo name from git url I need a way of parsing out the repo name from a git repo url WITHOUT using a split function.
For example I want to be able to do the following
url := "[email protected]:myorg/repo.git"
repoName := parseRepoName(url)
log.Println(repoName) //prints "repo.git"
A: Save y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42396853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Woocommerce - Guys I'm trying to display 3 random products but skipping the first 3 most recent added products I need your help. I'm trying to display 3 random products but skipping the first 3 most recently added products. Most recent meaning not by query but by global date the product was created.
Heres the code i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56823478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to show alert box button in vertical orientation in android? I have one image button, when i click it opens 3 dialogbox buttons and they come in horizontal way. I want that alert dialog box button comes to vertical. How?
A: try this simple method
public void verticalAlert (final String item01, final String item... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5857620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Template System with Express and React I would like to migrate an XSLT templating system to React and I've choose Express as the server of the React templates.
The server (Express) will serve to the client a template or another depending on the request hostname, I have JSONs with config of each hostname registered a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73048580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery/JS – Get font-size in unit set in CSS (vw units) I've set my font sizes using vw but want to retrieve this value in jQuery but when I use $('.textarea').css('font-size'); it returns the px equivalent rather than the vw unit.
Is there any way for it to return the correct stated value?
A: Once you have value i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45824626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: outlook vba code to display pictures in email By default, my MS Outlook 2013 is set NOT to download images in received HTML e-mail messages. I would like to keep this setting.
There are some senders whose emails are handled by my Outlook VBA code...and filed into specific folders (rather than the INBOX). I do not us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27343550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facing issue when combining 3 yii2 queries together I have 3 queries in my yii2 project that are working perfectly as individual queries.So i need to combine these 3 queries
$variant_ids1=VariantProducts::find()
->select(['variant_id1'])
->where(['shop_id'=>$searchModel->user_id])
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66408267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add columns to SQL query output I have searched this site and others, and I am unable to find a clear answer, so here I am. In the below query, I will get an output with a single column for the county. What I would like to do can only be described in Excel parlance as transpose the counties so each county for a bran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41465047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when running query using mongolite (R and MongoDB) In my localhost y created a database (coches) and a collection (dtc) in MongoDB. My collection contains more than 2 million documents.
I would like to connect a subset of documents into R. The query I ran in MongoDB was the one of this question and I copy/past... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60884511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select one item from each category on the basis of cost I want to select five item one from each category which are having lowest cost, i am getting an error please help me with this
var packageId = objentity.PackageGalleries.
Where(p => p.ParentCategory != "Indian"
&& p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34806518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook login via Azure AD B2C custom policy I have created custom policy using Identity Experience Framework. I am able to signup and signin user using the local account but when I am trying to use Facebook as social login I am running into some error.
Issue: When I click Facebook login (Social Login) from my cus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50156925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting Docker Windows Containers to start automatically on reboot My OS is Windows 10 and I am running Docker version 17.06.0-ce-win19. I am trying to set up a container so that it will restart automatically on reboot.
When I use the command:
docker run -it microsoft/nanoserver --restart=always
I’m getting the fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45609209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jersey Client: adding Cookies does not change Builder My first implementation using the Jersey client code with cookies does not successfully maintain session to next call. What is suspicious to me is that the method
Builder javax.ws.rs.client.Invocation.Builder.cookie(String s, String s1)
does not return a differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21492326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Silverlight - Unable to load a lot of data I have a Silverlight application that has a DataGrid and a DataPager. The data source for these controls comes from a database. I am accessing this database through RIA Services.
When I try to load all of the records, I receive an error that says:
"Load operation failed f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2102966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calling setState without triggering re-render I am storing a UI state in the React component's state, say this.state.receivedElements which is an array. I want re-renders whenever an element is pushed to receivedElements. My question is, can I not trigger rendering when the array becomes empty ?
Or in general, can I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46768659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android NavigationDrawer Automatically opens I implemented the material navigation drawer with navigation view, in a fragment (Not a Activity). It works fine, but when i am coming back from anther fragment drawer automatically opens:
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35053873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sybase DB error 277 in while loop after migration I am new to Sybase products.
The application was run on Windows XP connect with the SYC adaptive server, written in Powerbuilder 10.5.
Once I migrate it to PB12.6, and move the whole DB and application to win 7, one of the stored procedures throws an error 277:
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36590151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Weird error with has_and_belongs_to_many PG::UndefinedColumn: ERROR: column articles.article_id I have defined two models, an they both refer to each other with has_and_belongs_to_many
class Category < ActiveRecord::Base
has_and_belongs_to_many :articles
end
class Article < ActiveRecord::Base
has_and_belongs_to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40718305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How is the input_matrix * weight_matrix + bias_vector possible in tensorflow? Given an N x M input matrix X, an M x U weight matrix W, and a bias vector b of length U,
how is the affine transformation XW + b possible? If the result R of the matrix multiplication is of shape N x U, how is the bias vector b added to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70028946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is preferred way to code when only header and footer's background is flexible only not content? What is preferred way to code when only header and footer's background is flexible not content?
Currently I use this method? Is there any better way to do this?
<header style="background:red>
<div style="width:950px;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6980829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kafka in Kubernetes Cluster- How can services in the K8S cluster be accessed using SASL and services outside the K8S cluster be accessed using SSL I want to deploy the Kafka cluster on the Kubernetes environment and have the services within the Kubernetes cluster connect to Kafka in SASL_PLAINTEXT mode and the servi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73341240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL and H2 database connection to node database in r3 corda If we are trying to host corda node database in a SQL server can we host all of them in a single database? If yes how to do it and what will be its impact.
Can the built in H2 database which gets generated while a node is deployed be stored locally in a sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52585489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Will you be notified when you specify wrong dtype for columns?
*
*I am working with very large dataset that won't fit on my RAM (which
is 16GB).
*I noticed that the columns dTypes are all float64, but values in the first 10k rows range from -1.0 to +1.0
*To check the full dataset would take too much time
I want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66901375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Correct way making a translation table? We currently use a translation table which looks like this:
| id | type | name | lang | value |
|-----+-------+----------+-------+----------|
| 853 | text | question | en | question |
| 854 | text | question | nl | vraag |
So for each extra translation i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24805597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Debugging a software verifier written in Scala working as plugin of sbt I'm working with Stainless, a software verifier for Scala programs. I would like to debug the verification process of a sample programme. On a previous post, I solved this integration problem for an interactive theorem prover. But now, I'm facin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51227087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Javascript/Node/Express: res.json needs to wait for a function to finish running before returning... but res.json is impatient? Hello friends! I hope you are well.
So in this snippet of code, I have a list of ten servers I want to query. These ten servers are represented by the ten ports I have defined up top in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58509876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to get only date part from date string in C# i need to get in this format "2015-10-03" , but im getting like this "10/3/2015" and "10/3/2015 12:00:00 AM" both are not working in my query .because my updateddate datatype is date only
Fromdate = Txtbox_AjaxCalFrom.Text.Trim();// 10/3/2015
DateTime frmdt =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32919509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Controller code to create a record that has two belongs_to relationships I can create a statistic for a given person like this:
@person = Person.find(person.id)
@statistic = @person.statistics.build(:value => @value, :updated => @updated)
There's a one-to-many (has_many/belongs_to) relationship between person and s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17639026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access parent $scope variable when use ng-include? My goal is to access parent $scope variable.
This post helps me a lot, however I don't know how to do this in a real case. When I declared controller in child html it throws an error:
areq?p0=ParentController&p1=not a function, got undefined
my project looks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23354951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: configure and cross compiling samba v4.17.3 has an error I am cross-compiling samba v4.17.3, i met some questions.
I write auto_config.sh,
root@gyz-thinkcentre-e73:~/third_source/samba-4.17.3# cat auto_config.sh
qemu_binary="qemu-aarch64"
libdir_qemu="/root/niic/SDK/sysroots/aarch64-niic-linux/lib64/"
base_libdir_qe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75002622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to open asset URL: file:///android_asset/www/submit?UserName=Admin&Password=super%401234 in Phonegap Android? I am completely new to Phonegap and Javascript. I am trying to save the username value and password value from the login form to sqlite database.
This is my login.html file:-
<!DOCTYPE html PUBLIC "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29959598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Access 2010 VBA how to check value of a listbox Alright, just a warning, I'm a complete rookie with VBA and Access, but I'm plugging away at it.
I've got a form with some listboxes on it, what I want to do is hide or show certain listboxes and fields of the form based on the "parent" listbox's selection.
I.e. "locat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22324283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find elements in list from itertools import permutations as pm
perm = pm([1, 2, 3, 4])
pm_list = []
for i in list(perm):
pm_list.append(i)
print(pm_list)
print(pm_list[0])
gives me:
[(1, 2, 3, 4), (1, 2, 4, 3), ... ]
(1, 2, 3, 4)
How can I work with the numbers in the second row (1, 2, 3, 4)?
I have to addr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62171188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: attempting to copy non zero rows and also create a report template I have two inclusions I want to include in this code.
The first is to omit zero balance values (in column F in TB New) rows from my TB New and paste rows to TB New Non Zero, I will just change the input worksheet from TB New to TB New Non Zero. I was... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66682925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to select the date from Excel I have a question about excel. What will be the formula for selecting a data for one criteria. The criteria will be the last day of the month. For example, from this table:
I need to choose automatically the number for 31 january 1994, and after this I need to select the number for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41001617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: xajax expanding list query As you'll see, I'm a newbie to all this ajax stuff but I can do a bit of php and so I plumped for xajax to take care of the javascript for me.
I've got an array with items listed in different section. I want to use this array to produce an unordered list that expands when someone clicks o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5006832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: nodejs with mysql , cant get data from db can't get data from mysql db in nodejs in routes '/users'
app.get('/users', function(req,res){
connection.query("select * from users",function(err,rows){
if(!err) {
res.json(rows);
}else{
console.log(err);
res.send('err here !!' + err);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34252767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCFService calling a Singleton instance from windows service returning empty I have a static (large)data from database that i need to send to clients so i created a singleton class that get the data from the database and populate the list.
I start the service host inside the windows service, so when an outside call ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41742093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Looking for an implementation of an abstract method I need to make a programm which is like a rally, theres 2 types of vehicles, motorcycle and cars, two types of motorcycle, with and without sidecar, the thing is that I need to verify if there is just a motorcycle in an array list, I mean, two wheels vehicle. That ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68784371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Section Item : Get Section Name on Tap of Item Trying to get Name of Section, when I do tap on any of the Item of that particular Section.
I am following this tutorials, where my UI data is divided into two parts: Section and Item(s)
Now for my knowledge I would like to see the name of Section (once I do tap on any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43719398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel VBA: error in setting value using find function I'm a fairly inexperienced coder and have a small piece of code that is just falling over each time I run it (although I would swear it worked once and has since stopped!)
I am trying to find a value from a cell (which has a formulas to determine which value I ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46689059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Probability of an event in R I've the following data frame:
and I need to evaluate the probability that a student is a "M", i. e. P("M") equal to the ratio between the number of the "M" and the number of studenti. I did it in this way:
nStudenti <- length(studenti$sesso)
tabellaSesso <- table(studenti$sesso)
nMasch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69467782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VuePress not hot reloading, but does when config.js is changed I'm using VuePress for the first time, and updating .md files isn't triggering live reloading.
If I update the .vuepress/config.js my browser does reload. If I run:
vuepress dev --debug
I see this line in the output, which seems suspicious:
debug watchF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61984454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: After recreating BigQuery table streaming inserts are not working? I just came a cross an interesting issue with the BigQuery.
Essentially there is a batch job that recreates a table in BigQuery - to delete the data - and than immediately starts to feed in a new set through streaming interface.
Used to work like th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36415265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Submit form from Backend in contact form 7 I need help I R & D many contact form plugin's but not found any one working
My requirements are I want contact form to be submitted by Front end as well as backend
[contact-form-7 id="345"]
If I used this above shortcode in backend it display error
Please Help
Is their ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49002499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Extract an increasing subsequence I wish to extract an increasing subsequence of a vector, starting from the first element. For example, from this vector:
a = c(2, 5, 4, 0, 1, 6, 8, 7)
...I'd like to return:
res = c(2, 5, 6, 8).
I thought I could use a loop, but I want to avoid it. Another attempt with sort:
a = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30750687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Getting object from array of objects matching values inside and array of dates with lodash i have an array of obejcts that has this structure
let events = [ {
"initDate": "2019-11-20",
"finalDate": "2019-11-22",
"intermediateDates": [
"2019-11-20",
"2019-11-21"
],
"priority": 1
},....]
So, i'm tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58739642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Memory leak while using C# dll in a C++ The situation is, I wrapped C# dll to use it in a C++ project and when I execute C++ project I can't see any sign about memory leak but the memory increases little by little. I think it's because the GC in C# library doesn't work in C++ project and I don't know how to solve it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65733134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: B2C - Sign in with Google account not showing We are in the process of setting Google OAuth to Azure B2C. What are the values to pass for client id and client secret when adding Google as identity provider. See this image: Configure Google as Identity Provider
When users run, sign up and sign in user flow, they are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74631238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Close woocomerce frontend and only keep the backend What I'm trying to do:
*
*Only vendors can submit their products.
*They can't see other vendors
products.
I will open the front end of the website when there is enough products submitted.
My question is; Is there any way that I can close the front end of woo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61430130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to wait for AJAX requests to complete in JQuery? I have 4 different JQuery AJAX functions, each fetching different information from the last.fm API. This info has to be joined together in a tooltip.
These are my 4 functions:
*
*Gets the album for a given track & artist. Returns track name.
*Gets the artist i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13018972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Loop through SQL query result and compare against table values? I have a table (Client_Programs) which contains a list of clients and a government program they're enrolled in. Each client is identified by a unique ClientULink and programs have a ProgramULink. Each entry contains a StartDate and EndDate. So the dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44271029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which function will execute the quickest? i want to know which function will execute the fastest for my project.
Which function will be the best for DB ..
Also is there another method to accomplish the same task?
void function1 ()
{
operation ;
loop ()
{
method insertInDB ( string ) ;
}
}
void insertInD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34495068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Having issues with Crystal Reports not reflecting changes from SQL DB I'm kinda new to creating reports with Crystal Reports on Visual Studio 2017.
I've created a report on VS2017 called PersonnelListingReport.rpt using the setup wizard. Through the wizard I've selected the table for which the report will be based o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54859287",
"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.