text stringlengths 15 59.8k | meta dict |
|---|---|
Q: How to perform a double click using phpunit_selenium2 extension? The question is specifically to the phpunit_selenium2.
A: So the true opensource way: there is no such a feature? Clone a repo, implement a feature, create pull request, ?????, PROFIT!!!!1
https://github.com/sebastianbergmann/phpunit-selenium/pull/212... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14189639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Implement universal, lightweight, and unobtrusive tagging of arbitrary objects? NB: The material in the subsection titled Background is not essential. The full description of the question is fully contained in the preceding paragraphs.
I'd like to implement a universal, lightweight, and "unobtrusive" way to "tag" a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18554287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: activate opcache load comments in php 7 I want to migrate a symfony website from php 5.6 to php 7.1.4
I got this error :
AnnotationException in AnnotationException.php line 193:
You have to enable opcache.load_comments=1 or zend_optimizerplus.load_comments=1.
I my php.ini I already had opcache.save_comments set to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43759855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: variable byte in assembly set to 48 I am new to assembly and I am trying to write a program that computes C + A. C is a 32-bit variable, while A is an 8-bit variable.
This is the code I have: (variables are global so they can be changed in main.c)
# prologue
pushl %ebp # save previous stack frame pointer
movl %esp, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64806197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GSON getting arrays I'm fairly new to GSON and I was wondering how to store an array from a json page, for example if I have:
{capitals:[{"alabama":"montgomery"},{"alaska":"juneau"},{"arizona":"phoenix"}]}
I'm unsure of how to do this, previously I've had pages a name and information inside of them (like so),
"name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24222676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Insert Data into table with select query in Databricks using spark sql I have tried to insert data into a table with select query using sparksql in Databricks. But I'm getting the error as the mismatched column, but i have checked the column exists. Can someone help me on this issue?
%sql
insert into db.tab1(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54648212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Access all Struts project files in cPanel Technologies: Java, Struts, MySQL, goDaddy VPS.
all servers have one common DB.
Downloaded database from there. But somehow in cPanel file system, I can not see any project files. I found WEB-INF/ with empty class folder and empty lib folder inside.
So, How do I get all Stru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44852483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: From a local branch pull master it's hang In Git I am working in a local branch.
I need to take a pull from origin's master branch. So from local branch run a pull command.
git pull origin master
Password for 'xxx':
From xxxx
* branch master -> FETCH_HEAD
Auto-merging "file name"
Auto-merging "file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57832565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: D3 JS - Why d3 is not appending a string? I have this json file:
[
{
"id": "1",
"name": "Hello world",
"shape": "rect",
"fill": "pink"
}
]
And I also have this javascript file:
const svg = d3.select('svg')
var stringToHTML = function (str) {
var parser = new DOMParser();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71220920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Wordpress 6 click excerpt to show full post I'm trying to learn the new Wordpress 6 from scratch.
In the custom theme index.php I can get the post title and the excerpt.
while ( have_posts() ) : the_post(); ?>
<h2><?php the_title() ?></h2>
<?php the_excerpt(); ?>
<?php endwhile;
In the functions.php I foll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72429736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Load test against Android native application? I have created one android app. I would like to make load testing to android app. But I don't have any idea about how to perform load testing.
My requirement is 3 devices testing my app simultaneously.
Thanks in advance!
A: If your application communicates with backend ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33829120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: select2 Tagging with JSON I just started using [select2][1] and I'm working on a project that needs a list of tags (like on StackOverflow) that is populated from a JSON data source. I'm using an example found on this question: [Tagging With Ajax In Select2][2] but I'm having some trouble getting it to work.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15852071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot align Text within Column Jetpack I am practicing JetPack compose, but my text won't align in the center for some reason within the 2 surfaces. Any tips why?
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69592746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Free Linux Cluster Build for Small Scale Reseach I need to build a small cluster for my research. It's pretty humble and I'd like to build a cluster just with my other 3 laptops at home.
I'm writing in C++. My codes in MPI framework are ready. I can simulate them using visual studio 2010 and they're fine. Now I wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5818866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get the number of contributors of Github repositories using Github API and PyGithub package I am using following code to get the number of contributors of a repository
from github import Github
g = Github("*****github Access token****")
repo = g.get_repo('mui-org/material-ui')
contributors_count = repo.get_co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54134023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSL Certificate Errors With BrowserMob-Proxy on Firefox 50 I am having trouble getting https requests to pass through BrowserMob-Proxy with Firefox 50. However with Firefox ESR45.4 there is no such issue.
As a simple test I started BrowserMob-Proxy and created an instance on port 8088.
I then launched Firefox (Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41814611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: 100% width pseudo elements don't match the width of parent when in a justified text line As you can see in the example, when setting the width of an absolute positioned pseudo element works find normally, but if it's within an element with text-align: justify set, the pseudo element seems to be the width that the pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50881023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why doesn't this work? ORA-00979: not a GROUP BY expression Why doesn't this work
SELECT FIRST_NAME,
MIDDLE_NAME,
LAST_NAME,
EMP_MOBILE_NO,
NEW_EMPNO ,
SECTION_NAME,
EMP_TYPE,
JOINING_DATE
FROM EMP_OFFICIAL,EMP_PERSONAL
where EMP_PERSONAL.STATUS='Active'
and EMP_OF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68998121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C parse comments from textfile So I am trying to implement a very trivial parser for reading a file and executing some commands. I guess very similar to bash scripts, but much simpler. I am having trouble figuring out how to tokenise the contents of a file given you are able to have comments denoted by #. To give yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49091785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: server functionality when user is not on the web app node express Excuse me if this questions seems under par, everything I've learned was on my own and in communities like this.
So I have a web application and what I would like is for the user to give me information and then based on that information I search throu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40388888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Move divs on a html page via CSS\JQuery i want to recreate a simple one page web site.
This is a good example of what i want to have in the end:
http://onepagelove.com/demo/?theme=EastJava
I basically have too main divs one is the sidebar and the main container.
By default i want that only the main container is vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23893734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass Django variables between view functions I'm asking a question about variables handling in my Django application view.
I have 2 functions :
*
*The first one lets me to display query result in an array with GET filter parameter (in my case, user writes year and Django returns all objects according to this year... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42111303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: is.na(x)` is a matrix, it must have the same dimensions as the input-error in R I tried
x[is.na(x)] <- 0
to replace NA with 0. But the above error occurs. x is a data.frame.I can´t recreate the error in an example,sorry. What can I do about that in general?
Error in `[<-.data.frame`(`*tmp*`, is.na(x), value = 0) : ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63469253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: efficient power exponent method in java(JDK 1.7) I want to create an optimum method for power(base,exponent) in java required for my project,where the types of both base and exponent is int,and exponent <= 10^9.However this has to be done in java?I know that bitshift can be used ,but it itself involves the usage of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12919461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I need a good tool to style my code - i.e. spacing , brackets, etc I have about 4000 lines of code that I need to re-style.
I'm not doing this by hand.
Are there any tools available that will help change style?
A: Try jEdit - they have auto-indentation, and works on most OSes.
http://www.jedit.org/
A: "Any" IDE wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8109467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pinging first available host in network subnets I've written a small script in Python that pings all subnets of my school's wireless network and prints out the IP addresses and hostnames of computers that are connected to each subnet of the network. My current setup is that I'm relying on creating threads to handle ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1883136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: React app renders blank page when introducing Material UI component I am using create-react-app and Material UI to develop a web app. I am trying to use MUI's Basic App Bar as a header/nav element but when I create it as a component in my app and try to use it in my App.js file it breaks the page, rendering either a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71975291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: apache camel cxf https not working I am trying to publish a webservice using apache camel cxf. I am able to access the published webservice using http. However I am trying to configure the same using https. But I am not able to get it to work.
below are parts of spring context and wsdl files
<camel-cxf:cxfEndpoint i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11340092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MYSQL Count all rows and pagination of data using range/limit I dont know if this is a duplicate
but here's my question..
I was trying to implement a pagination of data taken from database
My dilemma is:
*
*Should i go about pagination, querying data in groups, ie. 5 (doing a Select with limits/ range), then disp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6173139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Creating an add-on for an existing plugin I'd like to create a Geofire plugin which extends the current firebase_database plugin.
I added the firebase_database plugin to the example project in my plugin project and it all works fine. But now I'm trying to actually use the native firebase database library in my plugi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46216449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which version of Com.javaeatmoi.core compatible with spring 5.3 Which version of com.javaeatmoi.core:javaeatmoi-spring4-vfs2-support compatible with spring version 5.3.14
Current i have eatmoi as 1.4.1 but in the Vfs2PathMatchingResourcePatternResolver doFindPathMatching jar it has 2 parameter.
But spring PathMatchi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72655421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UTF-8 encoding not used although it is set in source() I don't understand what is going on here (working with RStudio on Windows platform):
Save script test_abc.R
a <- "ä"
b <- "ü"
c <- "ö"
Then, run the following script Test.R:
compare_text <- function() {
l <- list()
if (a != a2) {
l[[1]] <- c(a, a2)
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41743949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: c++ , pthread and static callbacks. "this" returns a pointer to the base class inctead of the derived one I am using as basis this cpp thread class. This I use as a base class for threads. Note that in my case Thread::main() is a virtual function (unlike in the link). So I basically use:
class Thread {
public:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34438946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delay all ajax requests
Uncaught TypeError: Illegal invocation
I'm having this error when trying delay all ajax requests in my application.
(function(send) {
XMLHttpRequest.prototype.send = function(data) {
setTimeout( function () {
send.call(this, data); //Error here
},3000);
};
})(XMLHttpReque... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43874455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to edit the configuration file of boost in slave using buildbot ShellCommand? So I am trying to build and test boost in the remote slave( mac ). I want to edit tools/build/v2/user-config.jam file so that I could use the toolset=clang.
How can I add
//in user-config.jam
// toolset will use clang
using clang
:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17414997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Promtail Targets Failed
*
*What Grafana version and what operating system are you using?
Promtail:latest & Loki:2.2.0, Kubernetes (GitVersion:"v1.18.8") and Helm (Version:"v3.6.2")
*
*What are you trying to achieve?
To can scrape my active targets and push them to Loki.
*
*What happened?
All targets are mar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68707813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to completely change a string passed into a function in Python? I want to pass a variable to a function for changing, like this:
def change(x):
x="changed!"
y="hello"
change(y)
print(y) # hello
This is because you can only mutate variables when passing, but how can I completely change the variable?
A: You... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65707388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to handle Possile Unhandled Promise Rejection (id:0) I'm trying to connect my app to the google pay however when I try it I'm getting some sort of error!
I'm already tried to put in array but it didn't work.
global.PaymentRequest = require('react-native-payments').PaymentRequest;
export default class App ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56275555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why async producer is not waiting for either linger.ms or batch.size to be full when i set them a custom value with autoFlush is set to false? I am using spring-kafka 2.2.8 and writing a simple async producer with the below settings:
linger.ms : 300000,
batch.size: 33554431,
max.block.ms: 60000.
Now i'm creating ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62807232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reading a .dat file and saving to a matrix in C I have some matrices in Matlab that I need to load as arrays in C. I used the dlmwrite function in MATLAB to do this. Can someone link to a tutorial on how to load in C? Or maybe there’s already a function someone has written that can do this?
Also, just curious how lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20115840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to display certain columns from a table using HTML listbox and SQL code? Good day, I have the following request: A table with 2 columns: Country and Capital. The table contains every country with every capital from the world. There is a listbox where I can select the country and it will display only the capital ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52148932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Embedding tweets using URL received from Twitter API: some are returning errors I am using the TwitteroAuth API.
I am searching for Tweets using the search API: https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets.html
Embedding via this method (as you will see from code): https://deve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53073586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Phone Background Application Service In my windows phone 8 application, I would like to refresh/load some data periodically (less than 10 minutes) from server, while application running in background (ie, in dormant and tombstoned). I tried scheduled task agent and resource intensive task agent, but they are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19588073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPhone 4S - UnAuthorized Access Exception This is a question I am sure Xcode developers could also answer. I have a screenshot of my code below in Xamarin.
Why am I getting an Unauthorized access exception? I should be able to write to the documents folder right?
var webClient = new WebClient();
//var docume... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26845872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 500 Error When Adding Custom Django App With mod_fcgid I've been following the official Django 1.3 tutorial on their website. My issue comes when I add my custom app (polls) to the INSTALLED_APPS list in settings.py like such:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'djan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11832842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to exclude moment locales from angular build? In my angular 5 application, when I create build using
ng build --prod --sm
and open source map explorer, moment takes lot of space in the main.js file. I have found all the locales gets loaded when I use
import * as moment from 'moment';
I have used material-mome... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49851277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: The animated text not working as the Javascript function I have coded a function to animate a texts by manipulating the ID and set animation delay to change the ID and start the animation again. The animation started well, however, after few minutes the animation delay does not work or take more time instead of was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54431032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import styles into react-native I'm stying how to import styles from other sources into react native. I see that there are options like using styled-component or even importing scss files.
Anyway, Do you have any particular recommentations?
I'm currently exploring [this option] (https://github.com/kristerkari/react-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57399888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: check whether a string exists in list using for loop in c# I have a list arrString that contains string values. I need to check a string lookupvalue.Longname whether it exists in the list using for loop in C#.
for(int i = 0 ;i < ResoCustomFields.LongnameNotToBeTaken.Count ;i++)
{
string myStringList = ResoCust... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43338755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: lambda function to start aws workspaces - overcome client.start_workspaces limitation i have a lambda function to start all the workspaces machines in my env
Lambda Function :
import boto3
client = boto3.client('workspaces')
def lambda_handler(event,context):
workspaces = client.describe_workspaces()['Workspac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74678009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change a button shape style at runtime? I am developing an app in java, android studio, where the user can choose the style color of the app.
With most components just use the .setBackground(colorUser);
The problem is in my buttons.
My buttons are all rounded, I created a shape for that.
My shape is in other ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57777238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to control dynamic subMenu auto column in wpf. if 5 row auto break 1 column. how? I want to control dynamic subMenu auto column in wpf. if 5 row auto break 1 column. how?
I think if control grid in code bihinde but i dont' know. can you help me.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/63518669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: imagemagick doesn't delete tmp files I have an app that uses Carrierwave, S3 and rmagci.
more or less following http://railscasts.com/episodes/253-carrierwave-file-uploads but just upload to S3 instead of local.
I noticed the temp files in public/uploads/ does not get deleted after an image gets created. This cause... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11875046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Tkinter Scrollbar question (independent scrollable length indexed to custom range) I'm having trouble wording this properly. What I'm looking to do is create a scrollbar that is indexed to a range I set that will return its position when it's moved/updated. In the simplest form, let's just say I print the position... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61741756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get range partition details from system catalogs I am looking for a solution that lists all the range partition information. Tried the below query.
SELECT c.relname as partition_list,p.relname as parent_tbl FROM pg_inherits i JOIN pg_class p ON i.inhparent = p.oid
JOIN pg_class c ON i.inhrelid = c.oid WHERE ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73912445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Replace a full line every Nth line in a text file I'm trying to perform something that should be simple but I'm not quite understanding how to do it. I have a file that looks like this:
@A01182:104:HKNG5DSX3:3:1101:3947:1031 1:N:0:CATTGCCT+NATCTCAG
CNTCATAGCTGGTTGCACAGTTAACGTCGTTCAGGCCACGTTCCAGACCGTAGTTTGCCAGCGTCAGA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75208496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting error 'Microsoft.ACE.OLEDB.12.0' provider is not registered, however i was loading files earlier I am getting an error The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. However, I have loaded many files using same service two days earlier. Why this issue has started occuring.
My... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17262115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use and OR inside an AND operator for a where clause I would like my WHERE clause to evaluate the AND and the OR inside of an AND.
SELECT
ID,
Name,
CASE
WHEN EXISTS (SELECT * FROM date_hired dh WHERE id = e.id
AND (
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71787111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Node.js - Infinite Loop in Custom Code (Custom business logic) Hi I'm making a business application in which user can write his custom code and execute it.
How can i handle situations when the custom code generates infinite loops ?
A way is to handle each request in separate child process and kill that process on re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26559634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: opencv user drawing rectangle to crop I am trying to get a user to be able to draw a rectangle around an object and crop it-
with this code--
def click_and_crop(event, x, y, flags, param):
global refPt, drawing, cropping
if event == cv2.EVENT_LBUTTONDOWN:
drawing = True
refPt = [(x, y)]
cropping = True... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38466701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web caching when retrieving lists of documents We have a need to leverage client side resources for lists containing tasks.
The client needs to:
*
*be notified of updates to the list
*be able to re-order/filter the list (requesting an update from the server with tasks that the client does not know of/have in cac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/303338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: git add only some changed files I have a remote branch in Git called development and also local development branch. I modified lets say 3 files:
git status
modified file1
modified file2
modified file3
now I want to add and commit only file1 and push it to remote branch(file2 and file3 will be added later but not n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36427032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Finding the physical size of the touch digitizer in Windows 8.1 Question
How does one go about determing the physical size of the touch (or pen) digitizer in Windows 8.1 using the WinAPI?
Scenario
I'm using the GetPointerFrameTouchInfo() API which returns a POINTER_TOUCH_INFO struct with an embedded POINTER_INFO str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25132940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Render observable in component while waiting for next value? I have a scenario were certain data may need to be refreshed on the server, but is a long running task.
What i need is to get the current state of the data and render it while I wait for the refreshed data from the server. I have a component that will rend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67269736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: get out data from promise function in angular I have this service file part of angular project , issue is I cant back value to main function from promise.then function .. here is the code
angular.module('starter.services', [])
.factory('Services', function ($http,$q) {
var def = $q.defer();
// Might use a r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32705734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I turn this oddly formatted looped print function into a data frame with similar output? There is a code chunk I found useful in my project, but I can't get it to build a data frame in the same given/desired format as it prints (2 columns).
The code chunk and desired output:
import nltk
import pandas as pd
nl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70677140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Use an external database in Django app on Heroku I am trying to deploy a Django REST API on Heroku. Normally I wouldn't have any issues with this but for this app, I am using a legacy database that exists on AWS. Is it possible for me to continue to use this remote database after deploying Django to Heroku? I have t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66403645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to handle user comments in a database I was planning to store user comments in a database and was wondering how to store the raw text that users will provide since it could contain anything. What is a common/good practice in regards to this? Do I need to parse the text or is there a special storage type that I s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12875124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android custom camera issue in some devices Hi, I have a custom camera where I have click button, when clicked it captures the image... Everything is fine but in some devices the preview is stretching and also the preview is overlaying half the screen and flickering... some wierd unwanted effect. How to fix this?
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15686218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to get the number of tasks that need to be executed right now on celery? I am using celery with two types of tasks
*
*Tasks that need to be executed with 0 delay
*Tasks that need to be executed with some delay (countdown or eta)
I am trying to autoscale my celery cluster and I need to know how many tasks are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73890804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sqlite 3 on Windows, records not viewable to other users when stored as Administrator? we use Sqlite 3 on windows to store our sync applications logs and state. Applications are written in c#, .net 4.5 and executed as windows services and/or console. We also use sqlite3.exe for debugging / log viewer.
Recently we f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47353077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex - Match word/letters underneath a specific pattern Very unusual one but I'm trying to match output from an SSH session that may collapse view and fall underneath the output required (like a collapsed column)...
Take a look at the example output:
System Id Interface Circuit Id State Ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60319624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: System.IO.File.Delete throws "The process cannot access the file because it is being used by another process" Every time I save a file and delete it right away using the function below, I keep getting this error message: "System.IO.IOException: The process cannot access the file because it is being used by another p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73332282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Infer typescript function arguments Given the following
const action1 = (arg1: string) => {}
const action2 = (arg1: string, arg2: {a: string, b: number}) => {}
const actions = [action1, action2]
handleActions(actions)
... elsewhere ...
const handleActions = (actions: WhatTypeIsThis[]) => {
const [action1, action... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70015815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python Selenium CAN't scroll down users anymore browser.execute_script("""
var scrollt = document.querySelector('div[role="dialog"] ._aano')
scrollt.scrollTop = scrollt.scrollHeight
""")
This code for scrolling down a user followers at instagram is not wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74048819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Trusted Web Activity to link multiple websites with native application I've managed to link my native application to a website and launch the same on a button click. As the website is trusted, the URL bar is not visible. In the launched website there is a button which then further redirects to another website.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62576723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: my caption on my image goes out of position each time i uses $.(class).loaded(); i have a thumbnail image, on hover it will transit out the caption.
HTML
<div class="img_thumb_holder float-l">
<img class="img_thumb" src="image/image1.jpg" alt="portfolio">
<h2 class="caption">jane<br />Featured Portfolio1</h2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26904644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF Button Command not firing, what am I missing? I feel bad posting this because I see a ton of similar posts, but after going through them all I can't quite diagnose my issue still. What I have is a WPF app designed with the MVVM pattern and using a RelayCommand() implementation for commands.
In my user control's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32059694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to view hidden files in Nautilus in Debian 9 I'm getting up and running with Debian 9, but can't find a way to view hidden files (files that begin with a period) in folders via the default Debian file manager. With Ubuntu it was as simple as checking a box in the Nautilus preferences, but I can't find that optio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46305566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Decompile an executable file made by old Macromedia Director 7? The original question:
Now I am trying to extract the resources from this exe file made by old Macromedia Director 7, but I am in trouble.
First, I have tried the way of loading temp files, but they are inside Xtras folder and I also cannot find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54787383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Installing node once only and not each time with Maven build I need one help .
I am using grunt for compiling CSS/JS
I have an issue that my node package is getting created with each build and it is taking a lot of space in Jenkins . I am using maven front end plugin for the same .
I want that node package gets only... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38066685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The issuer of the token is not a trusted issuer Sharepoint Provider Hosted App I created an app by using the following tutorial:
http://www.luisevalencia.com/2014/07/23/prepare-environments-sharepoint-provider-hosted-apps/
The app works perfectly if there are no sharepoint calls, I meant a response.write with hello ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24913211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run Cypress tests in parallel using a single machine on Jenkins? So I have around 45 spec files that I want to execute in parallel on a single machine on Jenkins.
If I create a freestyle job on Jenkins and run this command "npx cypress run --record --key abc --parallel" it executes sequentially.
Do I need to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73691733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP access control list for hiding links I need to make a system in PHP which will use several links on the homepage but not all user are allowed to see these depending on which group of user logs in:
*
*Guests - may write something in the guestbook but may not alter them
*Employees - may create guests and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21432139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to know the value of input password field? Given a page with the following element:
<input name="my_field" type="password">
Obviously, I see only the dots in the browser. Is there a way to fetch the value from the developer console?
A: This will work for you
document.getElementsByName('my_field')[0].value
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25464947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Having trouble with writing a simple python password reset code sample I'm new to Python and trying to wirte a simple password reset code sample to learn about sets, dictionaries, and exception handlers. To reset a password, the program must first take in both the student_id and user_id and confirms their ID against... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58909845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Having trouble with RBT tree and using methods on Node class So for class, I was given and RBT class that has a node class within in it. This node class was originally made generic, but I made it so it took the type StudentData. This StudentData class has getter and setter methods, along with a constructor for two f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69961868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I isolate a single value from a list within an awk field? Lets say i have a file called test and in this file contains some data:
jon:TX:34:red,green,yellow,black,orange
I'm trying to make it so it will only print the 4th field up until the comma and nothing else. But I need to leave the current FS in place... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75088932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL - How to find records for yesterday when timestamp is part of date My MySQL table stores records with a date/time stamp. I am wanting to find records from the table that were created yesterday (as in have a creation date of yesterday - regardless of what the timestamp portion is)
Below is what a db record loo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64211422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cannot invoke remote function inside match : Foreach loop I'm trying to set some property of User model inside a for-each loop, But I keep getting following error
cannot invoke remote function x.token/0 inside match
(elixir) src/elixir_fn.erl:9: anonymous fn/3 in :elixir_fn.translate/3
(stdlib) lists.erl:13... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35682499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Load sharedprefrence data to Textfield on page load flutter I have a shared data that contain mobile no of customer,in my profile,that need to be filled with in textfield when i open profile page,i'm getting the data from shard preference data,when i load data to textfield it's throws error
TextEditingController mob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61815168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How merge list when combine two hashMap objects in Java I have two HashMaps defined like so:
HashMap<String, List<Incident>> map1 = new HashMap<String, List<Incident>>();
HashMap<String, List<Incident>> map2 = new HashMap<String, List<Incident>>();
Also, I have a 3rd HashMap Object:
HashMap<String, List<Incident>> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17607850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Rotation animation for the background gradient of the view I want to add an animation to my app where I want the background gradient of my screen to rotate. I have tried a few things like ValueAnimator, PropertyAnimator etc but I am facing a problem.
When I run my animation the entire view starts rotating. It looks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56311471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic table rows and columns I'd like to be able to add/remove rows/columns in my table but I don't how to achieve this given my knowledge in js/jquery is basic. I've search and seen related topics but none fits to what I wanted to happen.
As you can see in my code below I have 11 columns with the <th> tag and a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26845946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to change the queuing/stacking requests behaviour of Sanic Good day all
I'm tagging Sanic because that is what I'm using in my web app, but I'm not sure if this behaviour is due to Sanic or something underlying (like asyncio or even the network interface).
Please let me know if I need to write a quick example sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72882305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can i make 'individual' appended elements with onclick I keep getting stuck on this one little thing.
I append a checkbox and a remove button with an append button.
So every time the append button is clicked i get;
Checkbox and a remove button.
The remove button has to remove the checkbox.
My problem;
If i app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4339913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Initialization of for with char Can we use for loop in c++ as for(char ch : s) ? If yes then please explain it's meaning.
Where s is a string passed through argument .
A: Yes, you can. This is a "for each" loop. ch will have the value of each successive character in the string s.
A: This is named Range for loop an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51853756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: std::map initialization with a std::vector I want to initialize a std::map object with keys contained in a std::vector object.
std::vector<char> mykeys { 'a', 'b', 'c' ];
std::map<char, int> myMap;
How can I do that without a loop?
And can I add a default value to my int?
A: No, you cannot do that without a loop o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26606458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Three20 & XCode4: Unsupported compiler 'GCC 4.2' or Interface Declarations not found Over one Year ago I made a project in our company to work with Three20 and iOS3.1.3.
Up to 4.*, it worked fine with some iPhones. I had no need to correct anything or even recompile the package. Even later the Retina-Display of an i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8401290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Maximum checked-in files in Perforce We use perforce. In the repository, how can I find which files are checked-in maximum number of times?
I know via P4win, one can manually go to each folder and file and then see the number with file. I have really big repository and many folders & files. So, but I am looking an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18481335",
"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.