text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Return path and selected file xamarin I'm having trouble returning the name and path of my file on android, how can I do this? My command below already the option to select the file I need only return the name of the selected file and the path that it enters, can anyone tell me how can I do?
private void PicSelect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43502500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's an elegant solution in beanshell for loops and arrays I'm working with beanshell to parse SWIFT data and need to extract values by referencing these SWIFT tags. Right now, I statically get these values as such:
String getACRU = swiftMessage.getTagData("19A",":ACRU//");
String getANTO = swiftMessage.getTagDat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9072596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python-Guessing a number-High and Low For my assignment I had to create a program where the user chose a number between 0-511 and my program had to guess it within 10 tries. An error came up telling me I had to define "response" but not sure exactly what to write. If anyone has any other advice to fix my code, that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26725583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use ADSBACKUP.EXE without password I want to backup an Advantage Database Server 11.10 with ADSBACKUP.EXE however I can't get it to work. It looks like the source path is interpreted as password, but we don't have an ADSSYS password.
When I try:
adsbackup.exe -p C:\Database\db.add E:\
I get
Missing argument... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54822914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OPC UA with Codesys v. 2.3 I'm trying to use a Wago 750-881 as a OPC UA Server, which I'm programming with Codesys v. 2.3.
My problem is how to make this happen? I have found a lot of info about OPC UA with Codesys v. 3.5, but not any information about Codesys v. 2.3.
Could please anyone help me?
A: Codesys v2.3 on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48150355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSL Server on Windows CE 4.2 Does the the web server on Windows CE 4.2 support TLS 1.0? From this documentation:
http://msdn.microsoft.com/en-us/library/ms836811.aspx#wincesec_topic6
It looks like Window CE 4.2 does support SSL 3.1 (TLS 1.0), but when I try to connect it does not work. Is there just something I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27431050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sorting the values of linked list and printing them I have a list:
struct node
{
string name;
int value;
node* next;
};
For example, I save 5 elements to it.
Now I want to find the three greatest elements.
node* help = head;
for (int i = 0; i < M; i++)
{
node* help2 = head;
while (help->next)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66992426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Access individual items in Blazor Virtualized list I have a simple collection of "Conversation" like this:
public class Conversation
{
public string? contactName { get; set; }
public string? thread { get; set; }
public DateTime newestMsg { get; set; }
}
I was originally using @foreach to put these onto ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72321708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I published one package on npm, but it's not showing in the search list when i am going to search I published one package as a public & i am trying to search it on npm
(https://www.npmjs.com/), but there is no package available with that name on npm.
Tried with:
npm install package-name -> working fine
Here is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54059264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to get just some events from an Overlay that sees in the top of all applications in Android Im trying to develope an app which is an Overlay working on top of all aplications in the system, till there I dont have problems.
The issue is that my overlay has to be able to manage some events and others just let them... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14778539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Lev Distance vs Use fuzzy search in ElasticSearch I am trying to understand whether writing an in memory algorithm like Lev Dist (or any other) is better or utilizing the already existing fuzzy search query in ES (which uses lev dist underneath) is better?
The most important metric i am looking for is computation ti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74855399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert hyphen delimited string to camelCase? For example:
abc-def-xyz to abcDefXyz
the-fooo to theFooo
etc.
What's the most efficient way to do this PHP?
Here's my take:
$parts = explode('-', $string);
$new_string = '';
foreach($parts as $part)
$new_string .= ucfirst($part);
$new_string = lcfirst($new_string);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8631434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Guzzle HTTP from Docker to NodeJS in Host folks.
I have a servive running on my host machine. It is a NodeJS app with Express. It works fine at "localhost:3000".
Then, in a separate project, I have a Laravel App running fine inside Docker, and I access it at "http://localhost".
Now, my Laravel app needs to call the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52350205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to convert byte array to BigInteger in java I'm working on java... I want to know how to convert array of byte into BigInteger.
Actually i used md5's digest method which returned me array of byte which i want to convert into Biginteger.
A: This example Get MD5 hash in a few lines of Java has a related exam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4182029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: rake db:miagrate aborted abnormal: rake aborted! uninitialized constant Rake::DSL Anyone could help me?
I searched the same problem, but I can't figure out a solution still.
I ran successfully with "bundle update" "bundle install" but when running "rake db:migrate" I got the following problem...
rake aborted!
uninit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8147084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: _Field table in progress 4GL database Which is the field in this table which will give information of table to which field of _field belongs. for example say _Field is having one record with _field-name = 'XYZ', how can i identify to which table this XYZ field belongs?
A: The RecordID (RECID) of the _file table is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30499304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A list of dataframes in R, and I have to make three sub-dataframes with each df element I have a set of csv files, 64 of them. all of those title are named like "LineNum_nnn.csv" (LineNum_101.csv, LineNum_107.csv, LineNum_501.csv, ...)
Each csv file has five columns:
Date / On / Off / Transfer / LineNum
2020-01-02 /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72640841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# TCP client does not connect to IP Adress Hello I am using Android phone Wi-Fi hotspot to create network, then using C# to connect to this hotspot.
The ipadress of hotspot is: 192.168.43.1.
First I connect to Wi-Fi hotspot by laptop Wi-Fi.
Now I am using C# code:
private void connectToServer()
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42052056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to fix error when creating an controller in laravel? I am using below command to create controller.
$ php artisan make:controller PagesController
After executing command getting below error.
PHP Warning: require(C:\xampp\htdocs\WebDevApp\bootstrap/../vendor/autoload.php): failed to open stream: No such file o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48860066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: lambda -> delegate doesn't compile The last statement does not compile. please refer to the comments along with the code for the detail of my question.
class Test
{
private static void Foo(Delegate d){}
private static void Bar(Action a){}
static void Main()
{
Foo(new Action(() => { Console.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6338459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: converting infix to prefix in python I am trying to write an Infix to Prefix Converter where e.g. I would like to convert this:
1 + ((C + A ) * (B - F))
to something like:
add(1, multiply(add(C, A), subtract(B, F)))
but I get this instead :
multiply(add(1, add(C, A), subtract(B, F)))
This is the code I have so fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35759247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Need to write files to disk, how can I reference the folder in a web application? In a web application, that may be installed anywhere on the filesystem, I need to figure out the path to the root of the installation folder.
I want to write xml files to the directory:
c:/installation/path/web_app/files/
Is this poss... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2359471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: triggering multiples functions with react/typescript Im trying to trigger a function every time a different radio button is clicked in my form. This is the form:
<FormControl>
<RadioGroup
row
aria-labelledby="demo-row-radio-buttons-group-label"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71639394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: move an entire html div from one page to another using jquery how can i move an entire html div from one page to another using jquery
here is an example :
index.html
<div id="parent1" class="con">
<h1>text</h1>
<p>Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod t
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57201504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Executing Local Query with loaded metadata fails I'm new to breeze, this looks like a bug, but thought I'd ask here in case I just don't get it.
Setup loading metadata:
var metadataStore = new breeze.MetadataStore();
metadataStore.importMetadata(metadata);
queryOptions = new breeze.QueryOptions( {
fetchStrategy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25653216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 4 Filter Search Custom Pipe for selected columns I have created a custom pipe for filtering table data.Now I wanted to add a dropdown that contain the table column, on selecting particular column it will able to search by that column.
Any help on this part is appreciated.
code as below :
home.component.html... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54627870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set a device admin app to default launcher without prompt in a rooted device? I have a rooted device where I have successfully made my app a device admin app and a home application launcher too but the user is given the choice to start my app or the default Google launcher. I'd like to always have my app be t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31244826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Speed of PHP UDP scraper is incredibly slow, how to improve? I am working on a little project of mine and have built a UDP scraper that uses sockets to return data about a specific sha1 hash.
It works but is incredibly slow and wondered if any one knows how I could speed it up or improve the existing code.
The code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10849587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a user with email which has been processed from the previous page with UserCreationForm Django I am trying to create a user with email as username and the email is first screened, i.e., the email is not registered then create a user. How can I pass or set the email in forms.py as it is already processed in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53424205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to edit spreadsheets on server using ASP.NET web system I am currently creating an ASP.NET/VB web system that manipulates an Excel file as part of it's functionality. This excel file contains multiple combo boxes, text boxes and labels that need to be edited, as well as certain cells.
When trying to edit any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27376348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Firebase Dynamic Link is not working on new install I faced with problem of first run with query parameters after new install of app. I use flutter app and check for new links by this pease of code:
final PendingDynamicLinkData? initialLink =
await FirebaseDynamicLinks.instance.getInitialLink();
And it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72394369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Elasticsearch completion suggester issue Issue - completion suggester with custom keyword lowercase analyzer not working as expected. We can reproduce the issue with following steps.
Not able to understand whats causing issue here. However, if we search for "PRAXIS CONSULTING AND INFORMATION SERVICES PRIVATE" , it i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74071871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP - file_get_contents skip style and script I am trying to pull a html of a site,
I am using file_get_contents($url).
When I run file_get_contents then its takes too much time pull html of host site,
Can I skip style, scripts and images ?
I think then it will take less time to pull html of that site.
A: Try:
$fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18426158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: javascript ampersand (&) in return data will not show as value I have this bit of code:
...
var aData = request.responseXML.getElementsByTagName('data')[0];
var sDescription = aData.getElementsByTagName('description')[0].firstChild.data;
alert(escape(sDescription));
document.getElementById('tempLabourLineDescriptio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2141119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Count 1 too many on Array as it's 0 based? I've had this problem a few times now when for looping over an array item.
In this instance I'm generating all 2 letter combinations of the alphabet.
The code works (and I know there's a much easier way of doing it with 2 for loops, but I'm trying something different).
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23979502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure eventhub Kafka org.apache.kafka.common.errors.TimeoutException for some of the records Have a ArrayList containing 80 to 100 records trying to stream and send each individual record(POJO ,not entire list) to Kafka topic (event hub) . Scheduled a cron job like every hour to send these records(POJO) to event hu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58010247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it necessary to call end() on a received http request in Node? I have a Node server which can reject requests based upon security headers. If I reject a request, is it necessary to use blank data and end handlers to read the request body or can I just send the response, a 401, and leave the request unread?
It se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25845733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to erase specific row from QListWidget I have a small ui with 1 QListWidget. In this uithere is a predefined row in the QListWidget called "Add New".
I drag and drop several files from a folder into a QListWidget. So there are all my files plus the "Add New" record.
The "Add Record" is used as a doubleClick to c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73639771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaScript small game example Learning Javascript and stack in small game example.
So why println(beaver.holes) has "NaN" value ??? It must be normal number without flouting point.
var Beaver = function(x, y) {
this.x = x;
this.y = y;
this.img = getImage("creatures/Hopper-Happy");
this.sticks = 0;
};
Beaver.proto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40953945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Joomla 3 - template only works with category, will not show single article If I set the menu link to be a category blog, it all works fine... but even if I remove all coding from the template 'index.php' file (besides etc) and add one word, it doesn't work. Just shows a blank page.
e.g.
http://dev.addrenaline.com/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30741601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to share variables across in scripts on python two fills I want share two variables in two python files , they are working on serial communication
python serial communication to python gui(tikinter)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/72933722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mockito test cases for foreach loop I have an arraylist and I am converting it into another arraylist of different type using foreach loop. I want to write test cases using mockito. How can I do it?
List<Product1> list1 = new ArrayList<Product1>();
List<Product2> list2 = new ArrayList<Product2>();
list1.foreach(pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54920566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Kronecker tensor product in javascript I need to calculate the Kronecker product of two matrices (like the kron() function in MatLab). I can't seem to find any code on it already, maybe someone has one lying on their computer tha is ready to use? I've already searched GitHub, and none of them seem to be working prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43823896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AccessViolationException outside Visual Studio? I'm developing a small C# winforms application that consumes an unmanaged C++ library.
I have no access to the code of this library.
If I'm in Visual Studio and I runt my application, do my calls to the library everything is working find. Once I run CTRL + F5 I get an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2679248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Access Activation Functions from Saved Model .h5 without importing tensorflow? Is the activation function for each layer stored in the .h5 file produced by model.save()? Or is it already "baked in" to the weights?
I am writing an AWS Lambda function to generate time-series predictions from multiple regression... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61580758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't get Chrome Extension to store settings via popup.html & popup.js I am trying to setup a Chrome Extension, so when the user clicks on the extension icon, it presents two checkboxes that the user can check or not (via popup.html). This works. Then, I want the user to click on a Save button, and have popup.js fir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61239619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pop up div inside a ? Here is my code?
<tr style="display: none"><td colspan="5">
<div id="sub-155642" style="display:none;">
<table width="100%">
<tr>
<td class="inner-table"></td>
<td class="inner-table">Document No</td>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21571012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Unpacking mono channel wave data and storing it in an array I'm trying to unpack the data from a single channel WAVE file using struct.unpack. I want to store the data in an array and be able to manipulate it (say by adding noise of given variance). I have extracted the header data and stored it in a dictionary as f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27370180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specify soft constraints using prolog? (puzzle with soft constraints) I've been given as an assignment to solve a puzzle using prolog.
Being a beginner in prolog, who just read a couple of online tutorials on prolog the last few hours, I have no idea how to even start this..
The puzzle is much larger scale an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25470468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selenium | Unable to create new service: ChromeDriverService | Driver info: driver.version: unknown (SessionNotCreated)' | C# Try to start selenium with chrome by remoteDriver with a hub.
I create a config.json for capabilities, configuration etc...
I manage to run tests with IE and Firefox but can't with Chrome.
Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63230979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Node.JS - How to identify which async HTTP GET response is returning data in a callback? I'm trying to follow the NodeSchool tutorials on async principles. There is a lesson with the requirement to:
*
*make asynchronous GET requests to 3 URLs
*collect the data returned in HTTP responses using callbacks
*print ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28529636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Receiving IrDA message on STM32H7 I'm trying to receive some data using USART in IrDA mode on an STM32H7 board with HAL drivers.
I get the reply as I expect it on the gpio pin (baud rate, logic, and timing are ok) but for some reason the data is never moved to the RDR register of the USART and when I try to read it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55357876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: lodash break down array based on sub-array retaining the array record I have an array like below. As you can see, a book can have many authors. But I want to group the book by an author. But regardless I want to get to break the array first so that the multiple authors will be broken down to a single author and the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52078077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run reducer after state is updated by another reducer Let's say I've got an app with two reducers - tables and footer combined using combineReducers().
When I click on some button two actions are being dispatched - one after another: "REFRESH_TABLES" and "REFRESH_FOOTER".
tables reducer is listening for the first a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38609715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't list_options for capture card in ffmpeg : "Unable to BindToObject" I'm trying to list the options of a "AJA Kona3G Quad" device on Windows 10 using ffmpeg.
[dshow @ 000001343e7d9740] DirectShow video devices (some may be both
video and audio devices) [dshow @ 000001343e7d9740] "AJA S-Capture
Kona3GQuad -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61253610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need a way to make sure that words that are given to an array are real words.(RTP-hsa,console) I solved the issue with making sure that only letters in the array are used, now I need a way to import or load a dictionary into the console so fake words can't be used. I had the idea of finding a txt document and load... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14348763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using the '-' sign in jQuery Selector gives error I am trying the run the following code:
$(document).ready({
$("#menu-nav a").hover(
function () {
$(this).css ( marginRight: '20px' );
},
function () {
$(this).css ( marginRight: '10px' );
}
);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13495192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to fetch Images from server Using API and push in Array I want to fetch images from my server using API and then I want to push in array so that I can show this images in loop or as slideshow, I have page named common service where I have mentioned image API url. now I just want to know how to get it in my comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54721231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: cross fading multiple images gallery autoplay id lke to create a fixed gallery as a background on my main page, cross fadinging 90 pictures in autoplay... and i get the code but when im gonna preview, theres a lot of glitch and not working as expected.... as you can see here
i did this code with js but i dont know w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73545265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I judge my status by android sensor, moving or motionless? we can do many things by android sensor. However, can I judge my status, such as moving, motionless.
A: The simplest way is to use Activity Recognition API http://developer.android.com/training/location/activity-recognition.html .
Or you could read ra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19655019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect colors one at a time I need to detect two colors, one after one.
So this is an example of my program workflow:
detect and object with a specific color, after that object is close enough(specified how much) to the camera, the program should try to start looking for another color.
this what i tried so fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62031399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in subset "incorrect number of dimensions" when using "last" and "lag" After downloading stocks data using Quantmod package I want to subset the data and also compare the last row data in the xts with the previous row using (last / lag).
First I created a function to classify the volume in its quartile.
Secon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53962372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gradle exclude external resource folder from all jars Using gradle 5.4 with a project dependency from external folder in a netbeans project.
The external folder contains resources like images, xml and custom objects that can only be created by this netbeans project. These external assets are then used to create bin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56072293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: preparing a private message system I am working on preparing a private message system
the problem is here and now that it will only show one even though there are 4 into the database.
I want it to display all 4 at once, not just one of them.
The problem can be seen here
http://billedeupload.dk/?v=rXFTj.png
$sql = "S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20593067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MYSQL select 3 results of each "page id" I have two tables... the first is a page list with (page_id, page_title) rows. The second is a list of items ON those pages each with a price (item_id, page_id, item_title, item_price).
I'd like to grab the top three items from each page (ordered by highest item_price first)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9857514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is my basic Ajax script not working? I have been playing around with Javascript and now I came to Ajax. I am trying to write very simple script that would get the file contents - print the txt file contents in the div with id=test. This is the script :
function loadXMLDoc(url)
{
if (window.XMLHttpRequest)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9634273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Collecting names/ids of failing items in Camel I would like to implement an aggregator-splitter pattern using Camel where I process a list of files. removeOnFailure(true) would help remove files that would cause/trigger a failure from the list and the process will complete successfully as shown in the code below.
d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45508111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to append to the beginning of an int in Python? First of all, is it possible to append to an int ? If not I guess i'll have to convert it to a string first. I know how to append to a list
Anyways, how would you append a digit to the beginning of a number(instead of appending it to the end). Say number = 345, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18815780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing an element in django (for) I have a Django template with the following code which creates multiple buttons and tries to hide/show description text on a click (on the same button in each card):
{% for comida in comidas %}
{% if comida.slug_food == page.slug %}
<div class="food2">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63522524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual Studio 2015 Xamarin freezing I have an Android app on Visual Studio 2015 with Xamarin and it is freezing frequently.
The only scenario I can reproduce every time is right after deploy. VS freezes right after the app is deployed on emulator or device. The app works fine, but the VS stands frozen for several se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42416968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: No value given for one or more required parameters. c# oledb Not sure where the problem is. No value given for one or more parameters. I've tried moving the code out of the if statements but it hasn't helped. Not sure if the data adapter requires me to enter all of the column values.
int ID = Convert.ToInt32... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30260748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make div use remaining width I have found several post with similar problems, but none targeting my exact problem:
I am creating a menu with this HTML code:
<ul id="menu">
<li id="item1">Item 1</li>
<li id="item2" class="active">Item 2</li>
<li id="item3">Item 3</li>
<li id="item4">Item 4</li>
</ul>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8880993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: LAMP server on EC2 (Amazon Linux Micro Instance) I've launched an instance of the Basic 32-bit Amazon Linux AMI which has an 8GB volume as it's root device. If I terminate it, the EBS volume is destroyed as well. What I'd like to know is whether or not my data is protected (for example, the apache document root, or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7431995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Cordova Youtube App - sorting videos So I'm working on this Youtube Channel app that I've developed with Cordova and it all went very well until I had to sort the videos newest first.
So I have this code:
channelID: string = ‘[xxxxx]’;<BR/>
maxResults: string = ’10’;<BR/>
pageToken: string;<BR/>
googleToken: string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42646550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HtmlWebpackPlugin doesn't pass pug variables to included pug file I have a basic understanding of how webpack and pug can work together, using HtmlWebpackPlugin to generate a page with the bundled assets using the pug template.
I've created a very simple test project with two pug files: head.pug contains the stuff t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65627085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Microsoft Teams Tab Authentication with ADAL - can't get token in Teams DESKTOP app I'm working on a custom MS Teams Tab app, and inside it I need to get an authentication token from Azure.
I did it using "AuthenticationContext" from the 'adal-angular' library.
Relevant code:
var options: AuthenticationContext.Optio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64914570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not getting correct value in return The idea of the task is to allow the user to add and withdraw "money" to and from their account. The problem is I can add money, but I can't withdraw it
$funds = $_POST['funds'];
$withdraw_or_add = $_POST['list'];
if($withdraw_or_add == "add")
{
$sql = "UPDATE users SET userF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40611373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SpringBoot: Interceptor to read particular field from request and set it in the response All requests and responses handled by our Spring Rest Controller has a Common section which has certain values:
{
"common": {
"requestId": "foo-bar-123",
"otherKey1": "value1",
"otherKey2": "value2",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60488621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Set CSS Font Size With Drop Box I'm trying to add live update font size list box to a project and I cant seem to get it to work.
I've add a HTML font size selector and some java-script to an existing working project with no luck, I cant seem to figure it out as it looks complete to me and I think it should work.
Her... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46365927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Render MDX content in Next.js I am trying to load MDX content in a Next.js application but the content is coming like this instead of the normal view
function MDXContent(_ref) { let { components } = _ref, props = _objectWithoutProperties(_ref, ["components"]); return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63772502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Doctrine entity repository with additional aggregated fields I have an entity Client, with a relation to an entity Contract. Contract has got a field amount and a field payingDelay.
Client.php
/**
* @ORM\OneToMany(targetEntity="Contract", mappedBy="client")
* @ORM\JoinColumn(name="contract_id", referencedColumnNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62105892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP CURL GET/POST Digest authentication I am using curl method to fetch data from REST API. API requires digest authenticate. I have done digest authenticate but not working for post method. Working fine for GET method.
$username = 'username';
$password = 'password';
$method = 'GET';
// $method = 'POST';
// FOR P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31892143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: use extern in C I try to use some global variable in my project, but don't work. I declared my variable like this:
In file kernel.h :
extern DBConnection * conn;
And, in my other file, called kernel.c, i do this:
#include "kernel.h"
int get_info() {
conn = (DBConnection *) malloc(sizeof(DBConnection));
}
But,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19146116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: parallelize a time-consuming Python loop I have a nested for loop that is time-consuming. I think parallelization can make it faster, but I do not know how I use it. this is my for loop in my code :
for itr2 in range(K):
tmp_cl=clusters[itr2+1]
if len(tmp_cl)>1:
BD_cent=np.zer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73941643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compare() of two variables returns 'Equal' but identical() returns FALSE Suppose you declared following function:
compound <- function(x,i,t) {
x*(1+i)^t
}
What are the fundamentals of following results:
compare(compound(100, 0.1, 2),121) => 'Equal'
and
identical(compound(100, 0.1, 2),121) => FALSE
In the packa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56876265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why the whitespace vanished when I added text in inline-block element? This is the code when I add a text inside inline-block div.
.block{
display:inline-block;
}
.box{
height:300px;
width:300px;
background:red;
}
.blue{
background:blue;
}
<div class="box block">
<p>hello</p>
</div>
<div class="box blu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69422449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should front end restrict list size or back end? So I've got a list of objects which is processed in the backend side of my application and is then passed to the front end for displaying purposes. However, I only want to show 4 items from the list at most. My question is- should I clip the list in the back end or sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13124269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find interface in assemblies? For plugin system I am trying to create a plugin system but I get "Object reference not set to object" Error.
I have loaded each dll as a assembly then used Assembly.GetTypes(). I loop through my types to find my IPlugin interface. I then use Activator.CreateInstance() to create... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55931819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issues with Select Option loop with jQuery I am using jQuery to loop through many Select Option html elements, and I can get it to work one at a time, but I'm having difficulty accessing the data if it is stored in a jQuery element.
For example I have these 2 Select html elements
var lList = $(".p1_lSelect");
var rL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62439017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony get url parameters with spaces and underscore I'm new to Symfony, and I'm trying to filter my table with a search field. I'm using KnpPaginatorBundle to paginate and sort my table, and I've created a form to filter my request ( method GET )
It is generally working, but when I use spaces or underscores in my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44546499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recyler view listitem image onclick I am working on xamarin android apps. I used recycler view for displaying the images in each row. Now for each item image there is some link which I need to redirect. How can I achieve this onclick action for each image in recycler view.
Please help me in this regard.
Thanks
A: W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30893457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing protobuf field type from double to float I have a proto message I'm using in a service to store data in various places
My message is like this:
message Matrix {
double width = 1;
double height = 2;
repeated double entries = 3;
}
My team has decided that the Matrix message is too large, and changing t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61648365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If an array is not sorted, binarySearch returns a random index; what is the logic behind the returned index? If I have an array that looks like this:
int[] arr = {6, 12, 3, 9, 8, 25, 10};
Why does this return -2:
Arrays.binarySearch(arr, 8);
I understand that binarySearch only works if the array is sorted. My ques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47222267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows DLL linker errors with template class template <typename SenderType__, typename... Args__>
class CORE_API Event
{
public:
typedef typename std::function<void(const SenderType__*, Args__ ...)> EventHandler;
Event& operator+=(const EventHandler& toSubscribe)
{
Subscribe(toSubscribe);
return *t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28181020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PDO with k/v pairs and unknown numbers? I have a question about PDO for talking to databases,
the example I am familiar with is:
$data = array('Cathy', '9 Dark and Twisty Road', 'Cardiff');
$STH = $DBH->("INSERT INTO folks (name, addr, city) values (?, ?, ?);
$STH->execute($data);
But, if we had a k/v pair, w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9318188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Issue with firebase query My query:
let query = recentRef.queryOrderedByChild(FRECENT_GROUPID).queryEqualToValue(group_id)
query.observeSingleEventOfType(.Value, withBlock: { snapshot in
And database structure is :
And my query looks like:
(/Recent {
ep = fb343534ca520c70fe35b0a316ea8e4c;
i = groupId;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45105653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a shortcut for rebuild and relaunch debug session with eclipse cdt I use eclipse neon with cdt plugin for embedded development (mainly Cortex-M targets).
Most projects are makefile based. For remote debugging, I use the Gdb Hardware Debugging plugin and Segger Jlink (running JlingGdbServer).
Each time I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40709276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find the file having lowest timestamp I have a requirement which needs to be done by only using Java Script and would appreciate if someone can help here.
*
*We have 10 files coming into a folder of format MMddyyyyHHmmss (ex. 07192013114030) - MonthDayYearHourMinuteSecond
*The file gets dropped from an external ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17753314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Streaming from IP camera using chromecast I am trying to stream through IP camera through my android device.
I have edited the URL from the code posted on GitHub It is streaming on chrome browser when I tried to run from IP address of camera.
But when I try to cast it, It shows me player status:IDLE and blank screen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20489251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Making qgis2web search engine to search multiple columns rather than just one column? I have created a map using Leaflet and QGIS2Web. The search engine works fine, however it looks through only one of column of the attribute table. My goal is to have it search through four different columns (Country, division, subd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70713803",
"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.