text stringlengths 15 59.8k | meta dict |
|---|---|
Q: What is the path of the cache directory on Android and iOS? I need to insert the path of the cache directory, that the image will be saved on android and iOS, by the library, but I don't know which path this is. Can someone please tell me which way it is?
export const openImage = (setFunc, w, h) => {
ImagePicker.o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60866745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript Promise.all() inside of a loop I am trying to make a web API call twice inside of a loop, then wait until the webAPI has returned before pushing the returned values as a subarray within a larger array. Here's my code:
var latlngPairs = [];
function extractLatLongPairs(jsonobj){
for(var i = 0; i<10; i+... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64774397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Zend Framework 2: setAttribute() on a non-object error occurs when trying to edit I'm new to the PHP Zend Framework 2 and I'm going through one of the online tutorials in learning how to use it. The tutorial involves having you create and edit albums. The problem is when I try to edit an album by clicking on the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30628384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ionic native advanced Admob functionality I am implementing a new mobile app using ionic/angular/capacitor .I would like to know if it is possible to create native advanced Admob formats with any plugin that you might recommend? Not banner,interstitial or reward. Just native advanced one.
I want banners to be displa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75543575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: system Audio Processing Objects (sAPO) and Skype in windows 8.1 I have googled and searched a number of forums and developer websites without any success; I believe it is a specific question that needs direct expertise or knowledge, so please read on!
BACKGROUND:
I have an audio enhancement algorithm that is implem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19236318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Connect React App served on dockerized Nginx to Express server For production, I have a Dockerfile which serves a React app using Nginx:
# Stage 1
FROM node:15.6.0-alpine3.10 as react-build
WORKDIR /app/client/
COPY package*.json ./
RUN npm install
COPY ./ ./
RUN npm run build
# Stage 2 - the production environmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65981289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Payment for uploading app into android market Registration fee is 25$. It will only be for one year? After one year we have to pay 25$ or it will expire? How much do we have to pay for renewal?
A: "There is a one time $25 registration fee"
Extracted from here
| {
"language": "en",
"url": "https://stackoverflow.com/questions/9515058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why my jetstream application in Laravel not showing proper CSS and JS path when uploading in Cpanel? I have built a project in laravel using jetstream. The project is running smoothly in my local machine (localhost) but the CSS and JS path is not working when I am uploading in server. Can anyone help?
My cpanel dir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74798882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to modify Djongo ArrayModelField as shown in Django Admin I'm experimenting with Djongo right now. So far a great project! What I don't like yet is the way ArrayModelField fields are integrated in the Django admin. I am missing something like an add-button. At the moment only one additional empty inline Form is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52236475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "This will merge 0 commits." I have somehow messed up my git branch badly. Certain branches didn't seem to be merged properly. I'm not sure how to explain, things just aren't how I wanted. I was working on different branches branched from master and then pushing them to one called development, but I think because I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31897939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I bind the Header of a TextBox? In windows phone 8.1, I can bind the text in a textbox to a string resource in my Resources.resw.
How do I do the same thing for the Header="My Header" tag?
i.e. bind the Header text to another string resource in Resources.resw
<TextBox Header="My Header" Text="{Binding textbox... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27267698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to convert full path of a file to only the file name in batch scripting I have a variable called %file% and it contains path to a file, i want that ONLY the file name in a new variable called %file_name% (without the extension like .exe). I am new to batch scripting so this might be very easy...
Thanks in advanc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27607278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Related items from database I have been googling for a while and searching SO but I still can't find an answer.
So my problem is that I want to pull related content from mySQL database on what id is currently being displayed on the page. In the database I have a column dedicated to keywords, and I am using the L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35386773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deleting the Contents of the Selected Folder with the Checkbox when the Button is Clicked? If checkbox is selected, what is the code used to delete the contents of the folder when the button is pressed? Also, if it is not selected, it should not be deleted.
private void button1_click(object sender, EventArgs e)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Declaring RequireJS dependencies with TypeScript I am using TypeScript with RequireJS. As you can see in the following image, I define some imports using the RequireJS config; of course these imports are sourced via <script> tags:
TypeScript cannot see those declarations, so I was thinking of just declaring them as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41761172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can Dart or Flutter unit tests be automatically repeated? When unit testing with Dart or Flutter
If there are 100 unit tests, if you run the flutter test command, 100 test codes will be tested once.
But I want to repeat this N times.
Is there a command or way to automatically start the test again after one full test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75380753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: configure NodeJS process on two different machine I have two different nodejs web app running on two different machine.
But I need to have one endpoint to user api1.abc.com/v1 to go one process and api2.abc.com/v2 go to another process.
how can i do this kind of request with the single endpoint to user (abc.com). ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43255998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Power BI duration filter for hours minutes and seconds I have data in following format define as Time (hh:mm:ss) in Modeling tab:
When I try to turn on filter (Power BI filter or in filter in Visuals) all I can do is filter to day granularity.
I tried some of the custom filters but none of them is working.
How can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58199350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java application using Maven Build My project team is using maven build. We have a package name as **/**/**/RCS under which all the classes are getting generated. But the jar does not contain these classes for some reason. Is there a way to include these classes into the RCS.jar?
We are using maven build to compi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30891112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Spring : Singleton VS Prototype i'm new to Spring starting to learn new concepts , and i found topic speaking about bean Scopes :
- Singleton : returns the same instance every time.
- Prototype : returns new instance of the object per every request.
my question is : how is this helpful for me what is the differenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41264211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XLRD cannot read multiindex column name I have a problem with multiindex column name. I'm using XLRD to convert excel data to json using json.dumps but instead it gives me only one row of column name only. I have read about multilevel json but i have no idea how to do it using XLRD.
Here is my sample of table colum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58423944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to efficiently count each element in a list in Python? Suppose that we have the following list:
["aa", "abc", "aa", "bc", "abc", "abc", "a"]
I would like to get the following result about the occurrence of each element:
"abc": 3
"aa" 2
"a": 1
"bc": 1
What would the best way in this case?
The following is an app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59580979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: regular expression for French characters I need a function or a regular expression to validate strings which contain alpha characters (including French ones), minus sign (-), dot (.) and space (excluding everything else)
Thanks
A: Try:
/^[\p{L}-. ]*$/u
This says:
^ Start of the string
[ ... ]* Zero or mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1922097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Django best practice for storing access keys What's the best way to store API access keys that you need in your settings.py but that you don't want to commit into git?
A: I use an environment file that stays on my computer and contains some variables linked to my environment.
In my Django settings.py (which is uplo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24086718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Save Audio to SD CARD I have been looking to save an audio to SdCard.
File dir = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC) + "/AUDIO/");
boolean success1;
if (!dir.exists()) {
MessageSystem("SAVING FOLDER: " + dir + " -- DON'T EXISTS ");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63997165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In-App purchase with Windows phone8 I have developed an Win-Phone8 application, Initially for 15 days I am giving my application for trail period and after 15 days the user have to subscribe the application (They can purchase) to use it uninterruptedly rest of the time , I was planning to use third party payment gat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39576650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dealing with a nested ng-repeat with AngularJS. Cannot get a button with ng-click to click I apologize but I'm very new to Angular and I'm even sure how to ask the question. My end goal is to make a bike shop "website" where the user can edit the bikes. Furthermore, they can add accessories to the bikes. Currently e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28686369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call an object using a function in R I have R objects:
"debt_30_06_2010" "debt_30_06_2011" "debt_30_06_2012" ...
and need to call them using a function:
paste0("debt_",date) ## "date" being another object
The problem is that when I assign the call to another object it takes only the name not the content:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31501616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to find the angle between two coordinatess in mapbox I was working on mapbox and on the basis of my current latlong, a random distance of 226mt and a random degree of 179 degrees, I calculated another latlong as follows.
function findpos(){
var ptt = new mapboxgl.LngLat(latitude,longitude);
var ptt2 = de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61815979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .htaccess change a path to a query strings I have files in example.com/
contact.php
recent.php
videos.php
watch.php
example.com/page/ > /page/ is not a folder. but i want to work other folders
contact.php (no pagination)
example.com/page/contact
recent.php (pagination > recent.php?page=2)
example.com/page/recent
e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39381679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: putting multiple input line to the console | curses I have started to write console with Python language. It is amazing. But, I have tried to create input box with curses as shown below. I have stucked in how I can put input line and get the input written on the input place on the console. Can you help me for this p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15378705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Twitter login POST request in Periscope API I am trying to use Periscope API (https://github.com/gabrielg/periscope_api/blob/master/API.md) in my application. As in the API link I am trying to send POST request to https://api.periscope.tv/api/v2/loginTwitter?build=v1.0.2
with request body as following
{
"bundl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31854771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: docker python:3.9 image gives error for scripts We are using python:3.9 image for the base, and run some command on that.
Base Image
########################
# Base Image Section #
########################
#
# Creates an image with the common requirements for a flask app pre-installed
# Start with a smol OS
FROM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75375116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ugly LINQ statement, a better way? I have a LINQ statement which is adding up the values of multiple columns, each beginning with 'HH' although there are other columns available:
//TODO Clean up this mess
var query1 = (from e in Data
where e.SD == date
select e).Select(x => x.HH01 +... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8909055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Making formulas to somehow automate my data binding in a inventory system I wanna extract some specific values in a string
For example, in the table below, i wanna automate the extraction of Unit of Measure and Pack Size based on the data on ITEM column.
ITEM
Unit of Measure
Pack Size
BRAND A 2X6X150ML
ML
15... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75330774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular how to enable/disable form but prefer attribute value on single controls? Let's see the next simple code snippet
@Component({
selector: 'app'
template: `
<form #form>
<input name="car" [(ngModel)]="car" [disabled]="true" />
<input name="bottle" [(ngModel)]="bottle" />
<button (click)="form.d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70927421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this error an encoding error? How do I solve it? I am doing web scraping.
Below is the code I used.
I wrote few comments on the comment.
library(httr)
library(rvest)
library(stringr)
# Bulletin board url
List.of.questions.url<- 'http://kin.naver.com/qna/list.nhn?m=noanswer&dirId=70108'
# Vector to store title ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45126399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Groovy elegant solution for avg array str = """
0.6266197101540969 , 0.21279720289932263 , 0.7888811159800816 , 0.3374125902260934 , 0.8299999833106995 , 0.4300000071525574 , 0.6000000238418579 , 0.1599999964237213
0.6286013903734567 , 0.21750000088165203 , 0.780979019361776 , 0.33202797309918836 , 0.829999983310699... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71377491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dropdown remains empty -populating with json data Hi im populating dropdown on change event of another dropdown from sql server using json data,
I got json data when i checked in firefox
but still my dropdown remains empty
Could somebody please help me what im doing wrong here
here is my code
function OnCathwor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15411480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: os to remove files with Python (trying to removed from multiple file directories) I'm still very new to Python so I'm trying to apply Python in to my own situation for some experience
One useful program is to delete files, in this case by file type from a directory
import os
target = "H:\\documents\\"
for x in os.l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72532708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: SQL Server Interest calculations on transactions I'm looking for advice on best way to build a compound interest module in SQL server. Basic set up:
Table: Transactions {TransID, MemberID, Trans_Date, Trans_Code, Trans_Value).
Table: Interest {IntID, Int_eff_Date, Int_Rate}
In the interest table, there may be differ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41852136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Different format JSON deserializing to object I have a memory stream of data I have received from Poloniex's API.
https://docs.poloniex.com/#ticker-data
The data in the API looks in the format below:
[
1002,
null,
[
149,
"382.98901522",
"381.99755898",
"379.41296309",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67813753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Meteor: Update across all browsers I'm working on my first Meteor app, but I can't figure out how I can update something across all browsers.
This is the situation: When one person is typing, I want to display "typing..." across all browsers (so to each user), but I can't figure out how to do that.
This is my code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12603145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android fixed RTL and LTR orientation Hi Im building an app in my native language which is rtl orientation Is there a way to make all supported devices to show the same UI not depending on ltr or rtl orientation?
A: RTL support was introduced in Android 4.2 (API 17). You can specify android:layoutDirection="rtl" f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53398385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Would using the std::vector object for DSP applications be ineffiecient? I'm currently trying to implement some DSP algorithms using C++ and am curious as to whether or not I'm being efficient.
I'm specifically trying to design a 'DigitalFilter' class which will produce a filtered output when given a series of input... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40451126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to Find Mean and Var in Single Kernel Code Dear Scholars,
I am unable to implement mean and var in single kernel call.
Goal: I need to find mean and var of sub matrixs in a matrix. so I wrote following kernels
functions:
global void kernelMean(d_a, d_mean, ...);
global void kernelVar(d_a, d_var, ...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4122104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to call and run next function if previous function runs in infinite loop? I have two different python files, one runs a web socket connection that runs in infinite loop until stopped and the second one has code that calculates data based on the first file data stored in DB.
I have created a function in both the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72873165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding the last element to string after array My storage string gives me all the digits in want besides the last, I know its because the last digit has nothing to compare to the right. Can I add the last digit to the end of my string somehow,
for(int i = 0;i < othercontent.length -1 ;i++ )
{
if(othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18870933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dividing two tables in PowerBi I have two tables, say table 1 and table 2.
Table 1:
Region2
Apr
May
North
50
1200
South
75
1500
East
100
750
West
150
220
Table 2:
Region2
Apr
May
North
5
12
South
10
15
East
10
15
West
15
11
I need a table 3 that is a division of table 1 and table ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72424906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to verify ECDSA/SHA2 S-MIME signature with python? We need to choose between two signature schemes:
*
*RSA/SHA2 S-MIME signatures
*ECDSA/SHA2 S-MIME signatures
For that our python software needs to support one of this scheme. Currently for some political reasons the ECDSA solution is prefered.
Is the ECDSA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2238128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SpringBoot MongoDB returns "Id must be assignable to Serializable! Object of class [null] must be an instance of interface java.io.Serializable" I tried adding a new collection to my API/DB today, and when I try to POST or GET, I get this 500 error response:
{
"cause": null,
"message": "Id must be assignable to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42604007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CakePHP Entity contain without foreign key I have an entity Villa, and I want this Entity to contain other Villas which have the same 'complex' (Varchar(255)).
class VillasTable extends Table
{
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @return void
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30251374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to cancel the click trigger of the mouse input if the it moved after clicking? I've been trying for almost 24 hours to resolve this
I have an object in my scene that, when clicked, will trigger to move to another scene. I would like the behavior of this object click to be exactly like a UI Button.
I'm currently... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60466934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spring Boot cannot successfully POST data to db (ORA-00942) I'm new to Spring Boot. I've stucked in the problem of creating new data (POST) for a whole day.
The error shows that I did not connect successfully to the db (ORA-00942).
Due to some privacy issues, I cannot copy-paste my work through my device. Therefor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62199143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What parameters does google closure compiler appspot use? I am using google's closure compiler to minimize my js files. When I use the website version here with the advanced options it works just fine, but when I downloaded their Java application, from here, and set the flag like this:
java -jar compiler.jar --compi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42145717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get available dates between range of dates I have a property rental site
So I want to know if property is available for a range of dates
First of all I defined the range of dates as:
DECLARE @AvailableRentalStartingDate DATETIME = '2022-04-11'
, @AvailableRentalEndingDate DATETIME = '2022-04-24'
Now the property re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71847645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can table_name be a property in my post query? I want this query to be generic on the table_name meaning that there is in my JSON file a new property named "device" which indicates in which table the data will be inserted.
the problem is that in my SQL request I can't specify it. Here is what I tried:
INSERT IN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73153847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript - replace broken image by text (div; css class) I am trying to replace all broken image by JS. I use this code to replace all broken images by notfound.png image.
$(document).ready(function() {
$('img').attr('onError', 'this.src="notfound.png"');
});
Anyway, I would like to replace them by a text... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42890024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: When Joining a Domain, How to Remove Pre-Domain Accounts and Change Permissions? Is there an application to remove the Computer\Administrators group and the Computer\Administrator account and their permissions across the registry and file system and replace them with the Enterprise|Domain\Administrators group after ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50783571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MongoDB - Find first and last in the embedded array for a single matching document I have a collection of websites, which each contain a list of websites and their keywords that are being tracked. I also have another collection called "rankings" which for each of the keywords in the website contains a ranking. The c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41566378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using react-native webview component, can the website access the camera and audio of the device? I am unable to get the web-view component in React Native to access the device camera and audio when loading a html5 website that requires camera/audio to take a video via the front-facing camera.
I have tried using the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46472844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linux semaphores I'm looking for help with synchronization problem in Linux. I'm newbie, and I think I don't really understand how to use semaphores to synchronize. My task is to sync two processes that access a file - one reads from fifo from another process, writes to this file, then another reads. I know that my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41761796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Getting associated models with $this->Auth in Cakephp I am using CakePHP 2.0's integrated Auth component.
I have the following tables :
*
*Users
*Groups
*Profiles
My model relations are as follows:
User belongsTo Group
User hasMany Profiles
While logged in to the site, I noticed the Auth session c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9785551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: "extended initializer lists only available with -std=c++11 or -std=gnu++11", I'm Getting this error #include <iostream>
#include <vector>
using namespace std;
int main(){
vector <int> num = {2,3,4};
return 0;
}
A: Below style of initialization is only introduced in C++ 11.
vector <int> num = {2,3,4};
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58824442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the color of a specific pixel of an image in Android? I'm quite new to Android and am doing my own mini-project and I want to change a specific pixel's color. searching for how to do so, I came across this question from a couple of years back. I tried myBitmap.setPixel(10, 10, Color.rgb(45, 127, 0));, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69508275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Model validation with viewModel don't works I use viewModels to communicate between my controller and my view.
To get model validation, i use a partial class like this :
[MetadataType(typeof(EvaluationValidation))]
public partial class Evaluation
{
public class EvaluationValidation
{
[DisplayName("Ti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4401045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Difference between these 2 pieces of code for pre-flight in NodeJS Express First of all, I am a beginner with NodeJS, I am just watching some tutorials to get my feet wet: this question will probably sound very silly to anyone who has any Node experience.
In short, I am trying to allow pre-flight requests on my serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72513294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What would be the fastest method? I'm building a dashboard using ASP.Net MVC, Angular.js, SQL Server and Fusion charts. All my data for charting is stored in database and I'm getting them via stored procedure. Now I need to pass the results from stored procedure to Json/XML, only formats Fusion Charts supports. What... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30483963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to filter the apps that show up when sharing intent Android? I know this has been asked before and I reference one of the answers but I can't get my code to work the way it should. I have a simple note-taking app, which allows the user to share notes through external applications. The code is supposed to filter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39056765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: getting sum using sql with multiple conditions I m having data in columns as: -
Process Volume TAT
1 1 Pass
1 2 Fail
2 5 Fail
2 5 Pass
3 1 Pass
4 6 Fail
4 4 Pass
Now ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11722852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deleting rows based on multiple columns conditions Given the following table have, I would like to delete the records that satisfy the conditions based on the to_delete table.
data have;
infile datalines delimiter="|";
input id :8. item :$8. datetime : datetime18.;
format datetime datetime18.;
datalines;
111|Basket|... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72274367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to open a url from the barcode scanner in phonegap build i'am using the Barcode Scanner for phonegap build, How would i retrieve the QR Codes URL data and display the webpage into a Iframe or div
$(document).ready(function(e) {
$("#scanner_mode").click(function() {
cordova.plugins.barcodeScanner.scan(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28661750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AJAX RETURN help on php/mysql dynamic drop down menu I am trying to populate one drop down menu based on the selection of the first drop down. The first drop down is a list of tables in my database, and the second drop down menu would populate from the providers within that table.
I am having trouble with the ajax s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27930490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can I implement a kill switch into a .bat fork bomb? I want to show a friend how big the impact of a fork bomb can be on performance, but without needing to restart the computer afterwards.
Assuming the following fork bomb:
%0|%0
Is there a way to add a kill switch to this which, with one button press, will stop al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32193220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: appium script starting off I have installed appium. I want to use it with android apps using Python on a win 7 machine. I do not know how to start a script off to use appium and do not know to use Python IDLE or something else? I have checked examples and discussion groups and found them not helpful. If there is bet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17912895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Lazy fetching OneToMany collection throws NPE in Collections.processReachableCollection when referenced column is null I have a problem with lazy loading when in a one to many unidirectional mapping the referenced column is null. Here is my "dummy" code example:
public class A {
@Column(name = "id")
private... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71263565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using 'not' in Prolog in logic statements I'm working on a condition in Prolog but the not operator is not working as expected. I see not being used in an example here http://www.cs.trincoll.edu/~ram/cpsc352/notes/prolog/factsrules.html
I have the following statements. What i want is for is_not_immune_to to return t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61104383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Moving PictureBox with Timer I want to create a program wherein when I click a Button, the PictureBox that is of the same width and height as the form moves down but I want the Timer to stop right after the PictureBox leaves the frame/form. And when I click another Button, the PictureBox will move back up but it wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69550666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Flutter Firesbase is returning Null final db = FirebaseFirestore.instance.collection('dutyStatus');
Future<void> readOnDutyStatus() async {
//The function is being called in the authentication bloc
try {
List status = [];
// await db.add({'onDuty': true});
var data = await db.doc('driver1').get();
var temp ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68460777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Replicate Excel's IF and COUNTIF functions in pandas I am trying to replicate the ability of Excel countif and if statements in Pandas.
In Excel, I have the following table:
+---------+-------+------+--------+
| Row/Col | A | B | C |
+---------+-------+------+--------+
| 1 | Name | Date | Type |... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63251777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to replace next button with mat-chip in Angular Material stepper? I am using angular material stepper, in the stepper i want to replace next button with mat-chip and act as same functionality as next button.
Here is angular stepper stackblitz example
This is what i want:
A: I you just want the button to look l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55634592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Streaming cameras by ip with python I have a remote camera streaming through rtsp protocol and am trying to access it in OpenCV 2.13.1 using python with following code.
camera = cv2.VideoCapture("rtsp://admin:<pass>@<ip>:<port>/xyz/video.smp")
However, when I do that I get the following warning
[tcp @ 00000188ed4e9... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54344321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble in implementing link list sorting in c# I am having trouble implementing a sort algo (merge) for singly list as defined below
My mergesort method always gives me null..I am not able to figure out what is wrong
Can you guys help me out?
Node class
public class Node
{
private int data;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1183091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Test DeltaSpike Repositories cannot inject EntityManager I am trying to run a simple test for DeltaSpike repository. However, I cannot get the Entity Manager injected. I am using producer which is located and test sources:
@ApplicationScoped
public class EntityManagerProducer {
@Produces
public EntityManage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50688919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Linking GSL statically using Cmake I'm linking GNU GSL with a pybind11 module. It works if GSL is linked as a shared library:
cmake_minimum_required(VERSION 2.8.12)
project(st)
# Paths
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
# Packages
add_subdirectory(pybind11)
find_package(GSL RE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53247599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C: speed up for permutation of bits from given permutation table; searching for the minimum I'm searching for a fast permutation of bits within a number in C.
I have an integer value and table of permutation positions. Not all possible permutations are listet, just n!*2n of the 2n! possible permutations.
For simplic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64959509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WEB API returning TSV instead of XML/Json How can i make MVC or WEBAPI return TSV instead of XML or Json?
Is there any converter that will make this possible for me?
I have this API which returns either XML or Json, but i now want it to return tsv:
http://api.friliv.dk/api/miintoproducts
| {
"language": "en",
"url": "https://stackoverflow.com/questions/56338316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why i get CAMERA_ERROR (3) when using flutter camera the following error occurs when using flutter camera plugin, I've added the permission to the manifest file, and still not working.
Launching lib\main.dart on sdk gphone x86 in debug mode...
Parameter format not correct -
✓ Built build\app\outputs\flutter-apk\app-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63712720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: custome user serializer giving error on is_valid() - django For some reason I am not using form model to create the user form and so on so I am not using the form.is_valid()
I went through online and was taught to create a serializer like this
from django.contrib.auth.models import User
from rest_framework import se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41780633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with GET form php/Ajax I am trying to build a dynamic site. I have an input form across the top that when it has been submitted show the output from an asynchronous request to a PHP page (which utilizes echo), showing what was submitted.
However it is not working. I submit it and the whole form disappears (th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44530124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to insert JSON into MySQL with JQuery AJAX and CodeIgniter? I'm using Jquery Form Wizard/Form-Repeater and unable to insert value from multiple form using Form-Repeater into database using CodeIgniter. How to do this?
Let say, my database "table_data" as below:
| req_id | req_custname | req_type | req_data | ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59147228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Positioning of Divs - centered + fixed insues I have a div "general" which is centered on the page. Inside I have a fixed div at the top. Outside of that div "general" have the "footer" that is fixed to the bottom of the page. So far so good .. the problem is that the div "content" must be centered vertically and ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8850111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Paypal REST api support for China I just come across this link
https://www.paypal-forward.com/innovation/paypal-s-new-rest-apis-available-globally/
and was wondering where i can see list of country supported and currency supported, as when i login to my developer account, the sandbox account is still limited to few ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19925684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cout String and int in ternary operator A line in my c++ code reads:
cout<<(i%3==0 ? "Hello\n" : i) ;//where `i` is an integer.
But I get this error:
operands to ?: have different types 'const char*' and 'int
How can I modify the code (with minimum characters)?
A: Ugly:
i%3==0 ? cout<< "Hello\n" : cout<<i;
Nice:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14649845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In a SELECT how can I change what shows when I select a BIT column? I have a table with a column like this:
[p3] BIT DEFAULT ((0)) NOT NULL,
In a select statement I want to return "p3" if this is set to 1 and "" if it is set to 0.
Is there an easy way that I can do this?
A: Use Choose or IIF function
Select Cho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41984389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: akka cluster fast handover I'm using an akka cluster singleton feature to have a single master node and multiple worker nodes. Worker nodes send results to the master and master persists them in a database.
The problem is that it takes akka about 10 seconds to hand the singleton over, which results in 10 seconds do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55724371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Minimizing the scope of a variable in do ... while loop [Java] - ERROR: Symbol cannot be found I would like to minimize the scope of arr to a do ... while loop, so it can be destroyed once the loop is exited.
If I declare arr within the do while loop, I get the error:
symbol cannot be found
I can declare it right ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38773628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Generate report from a table I have a table like:
+====+========+========+
| Id | name | value |
+====+========+========+
| 1 | a | 7 |
+----+--------+--------+
| 2 | c | 7 |
+----+--------+--------+
| 1 | g | 1 |
+----+--------+--------+
| 2 | c | 2 |
+----+--------+--... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46392895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: in sql server when deadlock occured, WHICH transaction will be abort when deadlock occurs in sql server, which of transactions will be aborted. I mean what's the plan of sql server to decide which of transactions should be killed!
consider the two transaction below
Transaction A
begin transaction
update Customer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22966732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: X button not closing bootstrap error alert I have an error div that displays errors:
<div *ngIf="isScreenError" class="alert alert-danger alert-dismissible">
<button class="close" type="button" data-dismiss="alert" (click)='closeAlert()'>×</button>
ERROR: {{errorMessage.error.message}}</div>
The close alert f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56690225",
"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.