text stringlengths 15 59.8k | meta dict |
|---|---|
Q: How to show all rows in a GROUP BY statement? How do I get all the rows being shown in a GROUP BY statement ?
Here is the query :
SELECT year(feed_date) as date_year,
month(feed_date) as date_month,
count(*) as nb_item
FROM table
WHERE year(feed_date) = '2015' AND
feed_title LIKE '%word%' AND... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39966861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add pagination to Bootstrap grid html page getting data from pandas dataframe? I have a web page which includes Crispy Filter and "table" created in Bootstrap grid by iteration from Pandas DataFrame.
Is there some way how to add pagination to this Pandas DataFrame presented in Bootstrap Grid?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/74945451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How many HTTPS certificates have the google reCaptcha endpoint? And where can I download them? We have a Java web application that implements reCaptcha validation against URL https://www.google.com/recaptcha/api/siteverify in a microservice in Docker. This has been working for almost 2 years, but this Tuesday 8/06/2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67992893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert a png to a csv file in Java I have built a neural network that recognizes handwritten digits in java. After training the network using the mnist dataset of handwritten digits (in csv format) I have a method which querys the network for a csv file and outputs the result. I have made some custom images ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48102125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I add large files to a Git repo? I have a Microsoft Azure / Visual studio online repo managed with Git.
I am using the Git GUI application to manage it.
I have a couple of files that are 535 MB and 620 MB in size. I would like to add these to the repo.
I have enabled Git large file support, and i have set th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61715357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Flatten json string in BigQuery I have a custom Airbyte job that fails to normalize the data, so I need to do it manually. The following data is pulled from our HR system:
{
"title": "My Report",
"fields": [{
"id": "employeeNumber",
"name": "Employee #"
},
{
"id": "firstName"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70918897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Visual Studio 2017 cannot find typescript compiler? I am trying to build an application in Visual Studio that uses typescript. I followed the directions here and installed the typescript compiler for the version the project requires (2.2). I did it with NPM
npm install typescript
I verified my installation by
tsc ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46223217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: how do i stop ios from automatically adding cookie to my NSMutableURLRequest i am hitting a url with the following code:
NSData *responseData = [NSURLConnection sendSynchronousRequest:theRequestHttp returningResponse:&theResponse error:&theError];
and i have theRequestHttp initialized here:
NSMutableURLRequest *the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32276620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: POST jersey with HeaderParam annotation I get null when I send a POST. Please someone know how to pass value with Angular using @HeaderParam in Jersey?
I have this in backend:
@POST
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Users loginUser(@HeaderParam("username... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35431536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic memory allocation code explanation Being a beginner C/C++ programmer, I am having to spend several hours, trying to decipher the code below: Could someone walk me (step me through the code below for dynamic memory allocation) line by line.
char **alloc_2d_char(const int rows, const int cols)
{
char *da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6379945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Not able pass array value in wso2 BPS My Input Request is:
<body>
<p:UpdateEntID xmlns:p="http://tempuri.org/">
<!--1 or more occurrences-->
<xs:OldID xmlns:xs="http://tempuri.org/">GenreID_002</xs:OldID>
<xs:OldID xmlns:xs="http://tempuri.org/">GenreID_0021</xs:OldID>
<!--Exactly 1 occurrence-->
<xs:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16793209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ValueError: Input 0 of layer "model_1" is incompatible with the layer: expected shape=(None, 5312), found shape=(None, 168) I am unable to train the model. Someone, please help!!!!!
Here is the code I am trying. While running model_history = model_final.fit([X_weather, X_soil], y,batch_size=16, epochs=100) I am gett... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72929294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# enque random int I have three threads which are supposed to add a random int to a queue, a fourth that dequeues an int, and a fifth that prints the numbers within it. I'm using threads because they will eventually be needed for the scope of this program and to enqueue/dequeue far more numbers, but having issues ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61021366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Launching UFT application makes Cortana use a lot more CPU and react a lot slower I'm using version 14.03.
Anytime I open UFT, Cortana, or even Windows Shell Experience Host if I remove Cortana, starts being very slow and CPU hungry. It stays that way until I log off or reboot. Cortana is the process that handle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59202876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Apache Camel pollEnrich using selector on JMSCorrelationID I'm trying to use pollEnrich to consume a specific message from an endpoint based upon the JMSCorrelationID value. I've found many older posts that indicated that pollEnrich did not support this but according to the latest manual pollEnrich now supports dyna... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60427651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multi-threading with Linq to SQL I am building an application which requires me to make use of DataContext's inside threads. My application keeps throwing InvalidOperationException's similar to:
There is already an open DataReader associated with this Command which must be closed first
ExecuteReader requires an open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1815537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get the textbox's id by cursor position I have multiple textboxes inside a div element. I want to insert some text one of the textbox by cursor position on a button click. I am successfully inserted text if I know the id of a textbox, but i am having problem to know the element wheres the cursor currently pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34063148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to write files in a GCP bucket using gcsfuse I have mounted a storage bucket on a VM using the command:
gcsfuse my-bucket /path/to/mount
After this I'm able to read files from the bucket in Python using Pandas, but I'm not able to write files nor create new folders. I have tried with Python and from the term... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73722570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to get value from database on list item click according to position of list item I can add to a db and list as a listview. When I click a list item using onListItemClick, what statement do I need to get the value?
package cabs.h;
import android.widget.SimpleCursorAdapter;
import android.widget.Toast;
import a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5604175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java vCenter SDK how to multiple network to a vApp? I'm testing the vCloud Java SDK and I have some problems with the network settings.
I've achieved to create the vApp from a template, but the problem is that the vApp gets the wrong network interfaces.
I have two interfaces named (see the picture):
1.) 4PM-GR-test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15021048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to route on basis of Http headers in Envoy Proxy I am sending an http request with below header.
Header = {"InstanceId" : "1"}
How to route to an cluster(endpoint) using this header value i.e. 1
What i actually want to do in envoy.yaml :
If (header. InstanceId == 1)
Route to cluster A
Else If (header. InstanceI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70959882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python loops in Kivy I'm just now learning Kivy for some UI options when creating stuff with Python. The thing I'm strugling right now are loops and how to make them work with Kivy.
Example below is a very straightforward loop that should print each number to a Kivy label (replacing previous).
Currently when pressin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69101512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails inserting multiple records for single model How shall I set the form fields to be able to insert multiple rows in the database for a single model.
I am updating a div with another link and cannot use the form helper. So I need to set the field names manually.
I have a post model and it has a title field.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4495705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Check for a valid guid How can you check if a string is a valid GUID in vbscript? Has anyone written an IsGuid method?
A: This function is working in classic ASP:
Function isGUID(byval strGUID)
if isnull(strGUID) then
isGUID = false
exit function
end if
dim regEx
set regEx ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/133493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Extract text inside HTML tags using XSLT I have an XML file that has some CDATA with html tags. Example:
<TextElement>
<Data>
<![CDATA[ <h2>My Header Text</h2> ]]>
</Data>
</TextElement>
I need to be able to display "My Header Text" without the H2 tag.
Thank you!
A: Using
<xsl:param name="start-tag"><![CD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47167822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grails persistence in Spring's "Async" annotated methods not working I have a problem on persisting Grails domain objects in Spring Async annotated service methods.
Here is the simplified code:
class DocumentService {
@Async
def process(Long documentId, Organization organization) {
...
def organizationCa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15549808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: advice on the best method of positioning my active tab link correctly and consistently I'm having trouble trying to place my active anchor tab over the main content area border, i have tried adding position: relative etc but have had no joy, the tab also has to be positioned over the ul border so i think i may have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7310626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ionic: HTML5 audio tag not working on iOS 11 I am developing an ionic framework test app which streams audio from a server using the HTML5 audio tag. I've been testing it in some Android and iOS devices and it works just fine.
Today I got an iOS 11 device to test and I found that the stream does not work. I created ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49174023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: what is the meaning of "n/n/n" in the header of csv file? how can I make a data frame from this file? Dataframe after importing csv file
[Kunde;Produkt;Kampagne;Vermarkter/Verlag;Werbeträger;Datum von;Datum bis;Platzierung;Werbeform;Menge;Einheit;n/n/n;Tracking-ID;AdGap-ID]
I am trying to expand this data to a pan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71361478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the cost of try catch blocks? How much better is:
if (condition) {
try {
//something
} catch(SomeEx ex) {}
}
instead of this:
try {
if (condition) {
//something
}
} catch(SomeEx ex) {}
What actually JVM do when I enter try block ?
EDIT:
I don't want to know that in second example alw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17966265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: JavaScript's functions and objects assignment to other variables I was going through some practice sessions and I came to learn that in JS, functions are also object. So I tried the following.
function say() {
console.log("hi")
}
var obj1 = say;
obj1.hello = "hello";
console.log(say.hello); // hello
the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44584123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I debug a Xamarin app + webapi + SQL Server set-up? I'm brand new to Xamarin.Forms and Visual Studio (2017 on PC). I'm working with code another (experienced) dev wrote in C# and .NET.
I have a Xamarin app. The app asks me to input data. Then, it saves that data to a SQL Server database via a Web API. Next, l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51697543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trouble Installing Plone on Solaris 11 I am new to Plone and Solaris - I'm attempting to install Plone 5 on Solaris 11. Seems to be hanging up on the Zope install. Here is the install.log:
Detailed installation log
Starting at Wed Oct 14 11:41:13 AKDT 2015
The directory '/home/dotasdis/.cache/pip/http' or its pare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33135685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Error installing jira on pip I am trying to install jira on pip, but am getting the following errors:
/usr/lib64/nagios/plugins]#python -m pip install jira
Collecting jira
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36333500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Two onPointerOver events conflict in React My screen is divided in two zones: left zone and right zone.
The left zone appears always. When you point over the left zone, it should make appear the right zone.
Once the right zone is displayed, both zones should make the right zone display.
But its not working as expect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63788620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regular expression for two following proper nouns I am trying to build a script that should give you a list of the proper names of a text. I want to build a regular expression that matchs every word that starts with a capital letter and that doesn't start a stence. An example from the text:
"But while he thought ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36005794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing $scope variable from another method in the same controller Angularjs how can I call/access $scope.mydata from another method in the same controller in Angularjs?
My scenario is
.controller("myCtryl", function($scope, $http) {
$scope.functionA = function(){
$scope.data = "some data";
}
$scope.f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28139972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: What is the difference between ASM LHI and LGHI? In the *.s file of a compiled cpp code by gcc, there are some LHI and LGHI command. I know they mean load address, very similar to LA, but what is the exact difference between them? Is there any document about this? Thanks!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/32084973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculation of Latitude and Longitude from given point and radius I have latitude, longitude and a radius. Can you please help me in finding the another latitude and longitude from given points (latitude and longitude) and radius.
A: Are you trying to find out if another latitude and longitude is within a certain r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10247279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: background is divided for some reason can someone take a look at my webpage and help me figure out what is wrong
for some a reason the background gradient is divided and start a new one again.
I want the gradient to continue to the entire page.
this is the html
https://www.csupomona.edu/~lannguyen/Test/Template.ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19440753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Function to check if the db value matches the current Select option I am creating a customer account page which displays the relevant information in the database and allows customers to edit their information. The code below retrieves and displays the customer's account information from the database and pre-selects ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14848744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problems displaying content generated by php, wordpress build in IE Here's the site http://www.therustyzip.com/
I just can't seem to get it working at all
A: From the source of your page it can be seen that your problem start with:
<html> lang="en">
you need to change that to:
<html lang="en">
| {
"language": "en",
"url": "https://stackoverflow.com/questions/11743495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Why is QCameraImageCapture saving an image to the hard drive? Part of an application I have written has the ability to capture pictures from the webcam. I am using a QCamera with a QCameraViewfinder to display the current view, and then when a shutter button is clicked, it snaps a picture with a QCameraImageCapture ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43123752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MissingSchemaError: Schema hasn't been registered for model "Blog" I am getting above error which I am stuck I am a beginner of mongodb, expressjs
My Index.js:
const mongoose= require('mongoose')
let modelspath ='./models'
fs.readdirSync(modelspath).forEach(function(file){
if(~file.indexOf('.js'))
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54901518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving file to remote domain I'd like to host an uploading script on one server but have it store the uploaded files to a remote server.
Currently I have a script that saves to a writable folder on my server. This works fine, but when I change it to the absolute link (ie. "http://www.somedomain.com/uploads/" instea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5688778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How does this print a reversed linked list How does this piece of code print a linked list reversed? I'm pretty curious how the new list comes to this way.
class Empty:
def __init__ (self):
self.IsEmpty = True
Empty = Empty()
class Node:
def __init__ (self,value,tail):
self.IsEmpty = False
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41173195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chrome extensions disable reopening of an extension created tab I couldn't find any similar question to this, but is it possible to create a new tab within chrome extension (using chrome.tabs.create) and then after closing it using the same extension prohibit user from reopening it using ctrl+shift+t or undo close t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40947193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Printing Average Score for Unique ID's I have a table
id | playerID | score
1 | 1 | 100
2 | 1 | 155
3 | 5 | 132
etc..
What I want to do is get the Average 'score' for each unique playerID. I can get the DISTINCT playerIDs
SELECT DISTINCT
playerID
FROM
dbo.scores
and I can get the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65281987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: running bash shell code in IPython notebook I am trying to run a code in jupyter notebook Python3 see below:
%% bash
rm rvd2.txt
rm rvd22.txt
rm lsfdout.lsf
cat wrench.txt | sed 's/[[:space:]]/\n/g' | sed 's/^[ \t]*//' |
sed 's/[ \t]*$//' | \
sed '/^$/d'| tr -cd '[:alnum:] [:space:]' >> rvd2.txt
awk 'leng... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49755433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Packages and Subpackages printed in alphabetical order I need to get Packages and Subpackages of Java printed in alphabetical order. I did this:
import java.util.Arrays;
public class J0602 {
public static void main (String args[]) {
Package[] packs = Package.getPackages();
String[] packageNames =new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14936466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Show Image after choosing it from html form I am trying to show picture after choosing it from html form following this code:
http://jsfiddle.net/LvsYc/
and my code is:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="vie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36356610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Duplicate property '' for [simple type, on Deserialization I'm currently facing an issue using Jackson 2.4.4 with the xml module.
The XML I want to deserialize looks like this:
<product>
<sku>1000668-1</sku>
<name/>
<image>/url/or/something.jpg</image>
<brand>test</brand>
<sizeCM>36 mm / 19.5 cm<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28488937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: union in c++ with a single non trivial type I have a simple struct that can carry either a result, or error, never both.
Both are the same type, but I want two members just for clarity.
From reading cppreference.com it looks like the following code snippet would be valid c++?
With a placement delete in the union des... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37167417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating a Server Side Text File via Android I'm building an app that needs to periodically append lines to a server side text file. So far, the best way I've come up with for doing this is using the Dropbox API, where the user has to download the text file, update it, and then upload it back - obviously this is not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16513967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use XCode Distribute App Development Method when i archive and start to distribute my app in Xcode, there is 4 choice
App Store Connect, Ad Hoc, Enterprice and Development.
i've been wondering how to use the development method, i have upload all the file generated from the xcode to my site but it just return ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67054241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CDI Injection into a Servlet not working I have a Controller with a producer.
@Named
@SessionScoped
public class UserController{
private User user;
//other methods
@Produces
@User
public User produceUser() {
return user;
}
}
If I inject the user into a Servlet, I get always the sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24647516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting global array from inside readFile I'm probably missing something simple here, but for some reason, when I set an array's value from inside a function, I can no longer read that array once outside of that function.
var threadArray = [];
function getThreads() {
var fs = require('fs');
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42839588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Responsive image shrink I have somewhat of a dilemma right now with responsive images. Right now, the amount of images shown per pixel is correct, however the images seem to shrink tremendously. Is there something I can do to fix this?
img {
max-width: 200%;
height: auto;
margin: 0 0 10px 0;
}
/* Section I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73897314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send array of data to controller with ajax in laravel I want send arrays of data to back-end at once but i can't.
issue
1.
this is what i send currently
array:5 [
"_token" => "S5s5ZTTnnP93MyXgCql0l9vhHsiqt5VWaFyEedXj"
"product_id" => "21"
"specification_id" => "6"
"text_dec" => "1"
"longtext_dec" =>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52446532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best practices for using containers I develop a Vaadin application which has to deal with a lot of tables in its UI. Most of the tables use sensitive data which is updated frequently.
Connectivity to the database is acquired using SQLContainers, therefore each UI table is binded to one of these SQLContainers. Some ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18822957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Remove HttpContext.Current.Session I have an application which stores session variables. When I do the logout I call the RemoveAll() method on available sessions.
The method seems not working. Do you know how it is possible to force removing a Session variable?
Regards.
A: Session.Abandon()
cancels the current ses... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6927766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Serialize data on mysql data types What is the best data types for serialize data?
A: if you know how long the serialized data will be you can use varchar, otherwise id use text. it might just be best to use text anyways.
A: It depends on how big the data you want to serialize is. It could be text or longtext.
Btw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5671981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: android - "id cannot be resolved or is not a field" - error after cleaning project Picture one:
http://www.directupload.net/file/d/3572/gkx2b7ge_jpg.htm
Picture two:
http://www.directupload.net/file/d/3572/knljgb8m_jpg.htm
Hey Community.
I have a Problem as follows: After i cleaned my Project Test2 in Eclipse, Ecl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22624192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display the message written in log file on webpage after every 3 seconds So i have built an web application which perform a task which may take upto 10 minutes.
I want to show the current status to user on the webpage.
I have log.info(), log.debug() and log.error() message used within my webapp for logging the stat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20367638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL query with "group by with cube" and NULL values I have a table like:
+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| A | 1 | foo |
| A | 1 | foo |
| A | 2 | foo |
| B | 1 | foo |
| B | 2 | foo |
| B | NULL | foo |
| NULL | 1 | foo |
+------+------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26143339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: docker-compose set environment per-service profile I recently discovered docker-compose profiles, which seem great for allowing optional local resources for testing
However, it's not clear if it's possible to provide a container with a different environment depending on the profile; what is a sensible way (if any) t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68549227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: R data.table to calculate new columns from existing columns bases in certain conditions Let's say I have the following data table:
dta <- data.table(
criteria = c('A', 'A', 'B', 'A', 'A', 'B'),
phase = list('block3', c('block1', 'block2'), 'block2', 'block2', 'block3', 'block1'),
start_val = c(12.0, 1.0, 7.0, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53265871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to download files from Folders inside Azure Blob storage? I would like to know how to download files from folders that are created inside azure blob. A schematic diagram is shown below:
MyContainer (Container) --> HomeFolder--> Sample.txt (Blob)
If There is no folder and only sample.txt file is there, then I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60299207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter - Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator After updating to Catalina 10.15.4 beta with Xcode 13.4 beta, which also updated Simulator to 13.4 (921.4).
The application compiles and runs correctly on a physically attached device, but no simulators of a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60881764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Convert plaintext to perform elgamal encryption Hi i'm writing a program in java to test a variant of the elgamal encryption, however my problem is not the encryption/decryption chain itself, but how to perform the operations on the input given: a text file. I have a text file with some words in it (for example the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30647542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Err HTTP 200 in Node.Js on Windows Server 2012 I created an application that is running correctly, but when run on the server this error is occurring.
Server: Windows Server 2012.
Any suggestion?
iisnode encountered an error when processing the request.
HRESULT: 0x2
HTTP status: 500
HTTP subStatus: 1002
HTTP reason... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60798886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is _GLIBCXX_USE_NANOSLEEP all about? A preprocessor macro called _GLIBCXX_USE_NANOSLEEP appears in two standard header files:
*
*c++/4.7.1/x86_64-unknown-linux-gnu/bits/c++config.h
*c++/4.7.1/thread
In a default build of GCC 4.7.1 (Linux, 64-bit) the only thing c++config.h includes is this comment:
/* Defin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12523122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: Apachebench making more requests than I ask for I am trying to use apachebench to make a number of requests to test my server. However it often times makes a ton more requests than I ask for. I am using this to test a node.js server which uses express.
ab -n 1 http://myserver/
It seems finicky as sometimes it wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15911301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to download and install an APK file by an intent? I am making my app to be updated via my own file server instead of Google Play-store. However, it does not work well. After confirming to "update", APK file is downloaded, it is not opened correctly. Please check the demonstration https://youtu.be/qDSGZ9fQ1Oo
cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58318872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: why is that there is a dark area around the buttons when they are tapped on mobile devices the code is: https://codesandbox.io/s/gatsby-starter-default-og782
I used styled-component to style a <a> tag to be my button.
for example,
const CloseButton = styled.a`
position: relative;
font-size: 30px;
top: 30vh;
`
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57779629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Identify all objects of given class for further processing Assume you are working with a large working environment and you aren't great about keeping up with your environment variables, or you have some process that generates a lot objects automatically. Is there a way to scan your ls() to identify all objects that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5158830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Spark SQL take 4 consecutive time intervals it's my table:
+--------+----+----------+----+
| station|temp| dateS|hour|
+--------+----+----------+----+
|Roma | 2.2|2018-10-02| 1|
|Roma | 1.5|2018-10-02| 2|
|Roma | 1.4|2018-10-02| 3|
|Roma | 1.4|2018-10-02| 4|
|Milano | 0.6|2018-11-02| 12|
|M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55271258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Internet Explorer 9 in compatibility-mode shows error While testing my jQuery script in IE 9 it shows error in jquery-1.6.2.js --
SCRIPT5022: Exception thrown and not caught
jquery-1.6.2.js, line 548 character 3
My js file used to work with no problems in other browsers - firefox 3.6, 5.0, opera 11, chromium, chro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7077471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Fedlet Service Provider and CA Siteminder Identity Provider Has anyone used Fedlet as their service provider and CA Siteminder as their identity provider? Our client is using CA Siteminder Federation Security services and we need to configure our end to be a service provider that can accept SAMLv2 assertions with at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4458084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove a large number of rows from Excel spreadsheet based on time? I have an Excel spreadsheet with over 44,000 rows (sensor readings taken each minute for a month). I want to reduce them to every 15 minutes.
I want to remove rows where Time -column does not end in :
01
16
31
46
A: We can do something usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65005024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Inserting arrays into SQL table from form I was trying to insert arrays from my form, let's say for example I have select with options such as A, B, C, D, E for first select group, and 1, 2, 3, 4, 5 for second select group. When selecting options from these two select group, I should have the values to be inserted a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74488031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: textfield Validation in blackberry java i am validating a password field where it has to contain atleast one capital letter and one number.i used below code but its not working?
for (int i = 0;i<Password.getText().length(); i++) {
char i1 = Password.getText().charAt(i);
boolean valid;
if ( valid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31905303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I return a value from my Node.js module AFTER it has been updated by an async function? Forgive me, but as an extremely new developer I fail to see how this is an exact duplicate of the questions referred to. I have no idea what ajax is, and I certainly don't understand how to adapt the proposed solutions to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37537289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Block all personal sites in Sharepoint (Microsoft cannot help) Is there a way to lock all personal sites.
I found a script to block one site
$siteUrl = "https://xxx-my.sharepoint.com/personal/adelev_xxx_onmicrosoft_com"
$site = Get-SPOSite $siteUrl -Detailed
Set-SPOSite $site -LockState NoAccess
It works, but I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65791174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using structs as arguments: Error: Struct not defined I am creating a class where I defined a Struct called "Room" which I declare as private in the header file. I have several public functions that require a "Room" as an argument. When I compile (in g++) I get an error saying:
Graph.h:42:17: error: "Room" has not b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8461541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: gradle cannot compile, but final Annotation var is not syntax error Using gradle 4.10.2
@Table
public class MyClass{
public static final String COL_NAME = "name";
public static final String COLTYPE_NAME = DB.DataType.VARCHAR;
@Column(name = COL_NAME, columnDefinition = COLTYPE_NAME)
private String na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67235767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++: Issues with manipulating a PPM file I'm working on a program that can perform various effects and manipulations on a PPM file. However for testing reasons, it uses cin rather than an input file. It is supposed to be able to perform multiple effects at once, but I am having trouble even getting one right. I'll r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42576520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Image processing with sub pixel accuracy I'm writing a user interface program which controls industrial machinery.
The machine is an automatic inline screen printer used in the electronic production industry. The exact purpose of the machine is to print solder paste onto bare PCBs.
The system includes 2 cameras whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34843193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Keyboard from EditText destroing Layout I have EditText, when i toutch this, keyboard will show, but instead of covering the bottom part of the application, it shifts all the elements at the top and makes them smaller, everything looks distorted ...
How do I display the keyboard so that it does not affect our layout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48968789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Incrase WebView HTML5 Canvas in QT I'm porting a current HTML5 Canvas application to a QT wrapper. however its performance is quite low. This HTML5 canvas app runs at 60fps in Chrome and IE11, however it still at 10fps on QTWebView.
How can I increase the render speed of this existent HTML5 canvas application inside... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23136398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SAML and Java Standalone application without browser? I am testing SSO with SP (Spring-SAML) and IDP (WSO2IS). They are working fine on browser.
Now I want to bring it to a Java standalone application. Providing user credentials and SP URL, then a user can log in the application and access SP.
To implement this, bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27123260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there an edit distance algorithm that takes "chunk transposition" into account? I put "chunk transposition" in quotes because I don't know whether or what the technical term should be. Just knowing if there is a technical term for the process would be very helpful.
The Wikipedia article on edit distance gives som... | {
"language": "en",
"url": "https://stackoverflow.com/questions/878114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How can I manipulate the data in receiving CAN frame via CAPL script and forward it into the same CAN bus? For example, I'm receiving a CAN frame from ECU with id 0x100 with some data inside in CAN channel 1. I want to change only byte 7 to 0xFF and forward this frame further in channel 1. My code is below:
on messa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66537025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is it not possible to shadow a local variable in a loop? I got this situation I can't understand about shadowing. For example the following code:
class Foo {
int a = 5;
void goFoo(int a) {
// No problem naming parameter as same as instance variable
for (int a = 0; a < 5; a++) { }
// N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4623334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: writing to a json file from python how do i edit/change a particular field in a json file using python code:
{
"EZMessage":{
"action":"account.cash",
"data":{
"authToken":"123456",
"account":"#ACCOUNTID#",
"portfolio":"true",
"historical":"true"
}
}
}
in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14595425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Excel VBA. Matching the BackColor of a TextBox to the .Interior.Color of a cell I can't seem to find an answer for this. I have a spreadsheet with a userform, and I'm trying to match the back colour of TextBox47 with the corresponding cell on the sheet, the value of which is fetched via a Listbox. What I need is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63898322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting Started with EC2 Container Registry This is giving me a headache.
Here's what I've done so far
*
*Created an EC2 Virtual Server Instance, and its running
*Installed the AWS CLI
*Installed Docker on my EC2 Virtual Server after I SSH'd into it
So looking at the docs it tells you how to build an image. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34504427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does Qt do if an error occurs in a constructor? It is generally recommended to raise an exception if an error occurs in the constructor of a class.
In Qt, none of the classes throw an exception (as far as I know).
How does Qt handle errors that occur in constructors?
A: As you said Qt does not use exceptions,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48414296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to create single SQL query for dozens of UPDATE statements? Should it increase performace? How should it look like in my case? I have a problem. In code below there is a foreach loop, where is created query string for each object truck inside of trucks collection. The loop iterates 100 times (100 obje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61115981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nightwatch: Basic auth with access_key not working I created nightwatch.json file like below (with username and access_key properties):
"test_settings": {
"default": {
"launch_url": "http://localhost",
"selenium_port": 4444,
"selenium_host": "localhost",
"silen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39096176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.