text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Unable to perform successful Paypal webhook validation I am working to validate Paypal webhook data but I'm running into an issue where it's always returning a FAILURE for the validation status. I'm wondering if it's because this is all happening in a sandbox environment and Paypal doesn't allow verification for san... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61399557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: charts disappear on-click? I am using dynamic feature I am using two different charts on the same page, so when I click on any chart of them the Gauge chart disappear.
var gauge1 = new RGraph.Gauge({
id: 'gauge',
min:0,
max: 100,
value: #{mbCardHistory.creditCardPrecen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53722359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL Query COUNTing incorrectly Well, I realise that in fact it's more likely to be my logic that's counting wrong ;)
So here's my query:
SELECT
code.id AS codeid, code.title AS codetitle, code.summary AS codesummary, code.author AS codeauthor, code.date,
code_tags.*,
tags.*,
users.firstname AS authornam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3193323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to trim out multiple time-points in an AVAsset (Swift)? I am working on a video editor app, where based on some processing, I have an array of samples/time-points to remove from the video clip. For example,
timePoints = [0 8.2 15.5 20.6...]. //seconds
I would like to remove these specific frames from the video c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67323555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Phone not recognized in android debugger I am trying to run the android debugger on my phone, but the console as well as eclipse plugin reports a ??? in place of the device name.
The attached phone is a sony ericsson xperia mini, running android 2.3 and the computer is running on ubuntu 10.10 .
I have enabled the us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8470155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC2 and mySQL database I'm following the example from the ASP.NET MVC 2 Framework book (Steven Sanderson), except instead of using SQLServer, I'm using mySQL.
public class ProductsController : Controller
{
private IProductsRepository productsRepository;
public ProductsController()
{
// Temporary... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5843376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are Google Cloud Disks OK to use with SQLite? Google Cloud disks are network disks that behave like local disks. SQLite expects a local disk so that locking and transactions work correctly.
A. Is it safe to use Google Cloud disks for SQLite?
B. Do they support the right locking mechanisms? How is this done over the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73459746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: while loop with a multiple tableX union i want to know please how i can put
union of table 2014 to 2017 only in loop in this query:
select
xxx,
xxx,
xxx,
from (
select
colonne,
colonne,
from CA
left join (
select
xx,
sum(xx) as xx,
xx
from (
select
sum(MONTANT) as MONTANT,
CONCAT(NUM_SIN, CLE_SIN) as cle,
EXER_SIN
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73792070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Webpack "Not a function" error for calling a class in React In a react app, I have some business logic I'm trying to encapsulate in class called Authentication. When I try to call a method called configure on the Authentication class I get the following error:
TypeError:
WEBPACK_IMPORTED_MODULE_5__authentication... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51620624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Google Places Autocomplete Dropdown Invisible In my site, I have a functional google places autocomplete, but it is invisible. I know that it works because if I type in "123 Main Street" and then move my arrow key down and hit enter- the address information will append to the inputs as normal.
I attempted adding th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39733079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merge Duplicate Columns On the top column of my report are dates (mm/dd/yyyy) with corresponding data below. When I run the report, it shows multiple columns with the same date but different data. For example
5/12/2011 | 5/12/2011 | 6/7/2011
---------------------------------
10 | 6 | 11
How do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24497853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript ignores # in url I was trying to extract url after domain. According to this question it is possible by calling window.location.pathname, but in my url http://domain:host/something#random=123 it drops everything after # inclusive. Is there anything better out there than splitting or regex?
In code:
window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37903559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery resizable problem on rotated elements I am truing to do a jQuery UI resize on a div that is rotated with 77deg. The result is totally uncontrollable.
To replicate this please:
*
*Go to http://jqueryui.com/demos/resizable/
*Click on inspect with the Chrome/Mozila console the gray resizable element should b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7026061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: PHP: Mathematical Calculations on a "Multibyte" String Representing a Number In PHP, I have a string variable that contains a number. The string is a multibyte string and with UTF-8 encoding.
When I echo the variable($str), it prints 1392. But the problem is that calculations on this variable fails. Consider the out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21935259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get json banner by selecting key:value pair I have a json banner file as "extract_3month_fromshodan.json" which have key-value for multiple tag i.e. ip_str=XXX.XX.XXX.XX, port=80, timestamp="2018-08-11T04:56:17.312039", data= "210!connection successful" etc. In this way the file has banner for almost 400 IP's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56205157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: External Css file not linked to HTML page - refresh not working (See edit for solution) I coded a simple web page with a nav bar but the relative external css file is not loaded, even after refreshing the page once opened and even when I paste the full path. (Edit: added css code; Edit2: the css code works if embedd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63585206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery - response text as a variable I'm using this following jquery code to insert the responsetext in the div.
$("#div").load('page.php?val='+myvalue)
Is it possible to get the responsetext into a javascript variable instead of applying it to a div.?
A: You would need to replace .load() with .get() for instance.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8726375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my DelegatingHandler firing for MVC requests? I have a hybrid MVC/Web API project and I added a simple DelegatingHandler implementation to wrap the API responses. This works great, but the handler is also being invoked for requests to MVC controllers. My understanding is that DelegatingHandlers are only invok... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36654088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Combine multiple es6 classes into single library using rollup js How can I import a.js and b.js and export as combined bundle.js in UMD format using rollupjs?
Here is the example:
//a.js
export default class A {
...
}
//b.js
export default class B {
...
}
My current rollup.config.js is:
export default [
{
in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50685153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: custom placed arrows in magnific-popup I'd like to have arrows placed next to counter, roughly like this:
< 2 of 19 >
where '<' and '>' are the arrow buttons under the photo in "figcaption .mfp-bottom-bar".
Since the default arrows are in the .mfp-container, I cannot just absolutely position them, because the pict... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20940348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Models haskell Beginner Hi there im new to haskell and im stuck on this Question, which is given a formula, it returns the model of that formula, where the Model is a valuation which makes the formula true. An example would be model eg ==[[("p",True),("q",True)],[("p",True),("q",False)]]
Using this definiton of Prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20036293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Import error with GeoPandas in Jupyter Notebook on OSX10.11.6 When importing geopandas into my Jupyter Notebook, it throws the following error.
ImportError: dlopen(/opt/anaconda3/lib/python3.7/site-packages/pyproj/_datadir.cpython-37m-darwin.so, 2): Symbol not found: _clock_gettime
Referenced from: /opt/anaconda3/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64587562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have a problem with uploading the image to the canvas in UWP In my MainPage when I try to run the function(ShowEntity) the image wont show on the background.
When i run it on my player(class in my project) then the image wont show up on the screen.
i tried to change the format few time but i dont find the problem.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72437831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Orientdb - Traverse all possible N degree separation paths between vertexes Is it possible to find out all possible paths with N degree of separation between two nodes in Orientdb?
A: Try this:
SELECT $path FROM ( TRAVERSE out() FROM (select from entities where id ='A') WHILE $depth <= N ) where id ='B'
| {
"language": "en",
"url": "https://stackoverflow.com/questions/46324051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I manually make tcp zero window and drop? I have to request specific directory repeatedly. ex) https://example.org/home/dir/aaa/11
There is case if http response status code is 200 or else. If 200? read data from raw socket&and if there is 404, drop remainder packets. ex
int bytes_received = SSL_read(ssl, r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71707205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linking models to assets on Swift Playgrounds for iPad (no Xcode) -- iOS App Dev Tutorials StackOverflow. This is my first post. Please excuse any issues with the format.
I've been trying to teach myself some iOS development in order to create an app to help me at work (I'm a farmer). I do not own a Mac computer and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70765916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Untrusted data is embedded straight into the output I am currently facing Checkmarx scan issue for the below snippet:
The application's getResponse embeds untrusted data in the generated output with setCatList, at line 10 of MyClass.java.
This untrusted data is embedded straight into the output without proper sanit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74993277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Moving towards a point when said point is within a radius Just as a disclaimer, I am new to Python.
(this is in graphics.py)
I have two points on a plane. One point "a" is the dot with a circle around it. Currently they look something akin to this:
Assume that point "a" is moving on a trajectory that will cause the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54745288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ruby on Rails - Activeadmin - Update model with virtual attribute I have a activeadmin form to which allows to add a youtube URL. I validate this URL in my video model. It does works well when I want to add a new video but does nothing when I'm editing the video.
app/admin/video.rb :
ActiveAdmin.register Media, as: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43455063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Retrieve queue length with Celery (RabbitMQ, Django) I'm using Celery in a django project, my broker is RabbitMQ, and I want to retrieve the length of the queues. I went through the code of Celery but did not find the tool to do that. I found this issue on stackoverflow (Check RabbitMQ queue size from client), but I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17863626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to add image in google chart function test()
{
$array['cols'][] = array('type' => 'string');
$array['cols'][] = array('type' => 'string');
$array['cols'][] = array('type' => 'string');
$array['rows'][] = array('c' => array( array('v'=>'Name'), array('v'=>22)) );
$array['rows'][] = array('c' => array( array('v'=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26814414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php call function name from array hi i want get function name from array
how to do that
public function cuturls($url){
$long_url = urlencode($url);
$api_token = 'xxx';
$api_url = "https://cut-urls.com/api?api={$api_token}&url={$long_url}";
$result = @json_decode(file_get_contents($api_url),TRUE);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47798244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set value in createMaterialBottomTabNavigator from AsyncStorage I am using createMaterialBottomTabNavigator , but before export that i want to assign value for its navigationOptions
barStyle: { backgroundColor:someVariable}
here problem is , i want to get value of someVariable from AsyncStorage.
And it retu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56649973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check if any of the files within a folder contain a pattern then return filename I'm writing a script that aim to automate the fulfill of some variables and I'm looking for help to achieve this:
I have a nginx sites-enabled folder which contain some reverses proxied sites.
I need to:
*
*check if a pattern $var1 is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56355405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set annotation params from environment variable Say you have:
@NotBlank(message = "forenames must not be blank")
...and a dubious requirement comes along that the message needs to be configured via an environment variable.
It looks like in with SpringBoot (as per here) you can do something like:
@NotBlank(message = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72994357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UINavigationBar title label text Is it possible to get the title text to shrink to fit in the UINavigationBar in iOS.
(for portrait iPhone app with no autolayout).
I'm setting the title bar dynamically but sometimes the text is too long and at the moment it just cuts it off with an ellipsis.
i.e. "This is the t..."
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14505331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Python 2.6 Generator expression must be parenthesized if not sole argument I rewrote the following Python 2.7+ code as follows for Python 2.6.
Python 2.7+
options = {key: value for key, value in options.items() if value is not None}
Python 2.6
options = dict((key, value) for key, value in options.items() if value ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50935610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I require a node module in my client side javascript? I am trying to build a natural language processing bot using javascript and jQuery for the logic and node and express as the framework. I discovered a natural language processing facility that would be extremely useful for my project https://github.com/Nat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29326211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: App closes when item on bottom navigation view is selected to replace fragment My app closes, not crashing but just goes to the background,when i select item on the bottom navigation. i was using material botton navigation view but the problem persisted so i decided to use AHBottomNavigation library but the issue is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66559893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use angular.filter in controller's function? On change select choosen type and value passed to the function (ng-change="sortEvents(type, value)")
I need to filter all elements of $scope.events to select elements with "state" equal to "NSW" only.
$scope.sortEvents = function(type, value, $scope, $filter) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38118890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Easiest way to write and read an XML I'd like to know what is the easiest way to write to and parse a XML file in Android.
My requirement is very simple. A sample file would be something like:
<Item ID="1" price="$100" Qty="20" />
And I only want to retrieve an item by the ID and read price and Qty.
I was referring... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8240957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Java Spigot, Popultate and block.setType cause StackOverflow i'm actually developing a little ore remover plugin using Spigot 1.15 API.
Here is my problem. when i use block.setType() in my populate method (which is called by minecraft generator), it seems to call back the minecraft generator.
This cause a StackOverf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61844520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Connect to a remote server mongoDB in Docker via ssh in nodeJS using tunnel-ssh, AuthenticationFailed I am trying to connect to a remote server MongoDB in Docker through ssh in Nodejs as below :
sshConfig = {
username: 'username',
password: 'password',
host: 'host',
port: 22,
dstHost: '172.17.0.3',
dstPo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69387103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I detect Android library modules that could be plain Kotlin modules? I work on a big project with hundreds of modules. Some of them are declared as Android library modules, but they don't have any Android-specific dependencies, so they could be converted to plain Kotlin modules. Is there a way to detect this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73960089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using StreamSocketListener in the background with SocketActivityTrigger In order to make a UWP App act like an HTTP server, restup does the job. But the problem is that it does not provide an HTTP server that works even after the app is closed.
In order to achieve this, a background task with SocketActivityTrigger h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59716347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to re-calculate a style on sibling elements? Not sure if i'm even asking this correctly. So allow me to explain further.
HTML
<div class='col'>
<div id='q1' class='qBlock'
</div>
<div class='col'>
<div id='q2' class='qBlock'
</div>
<div class='col'>
<div id='q3' class='qBlock'
</div>
LESS
@qBlockBG: #ccc;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66440570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QDesktopServices::openUrl() doesn't open page in chrome on windows. Workaround? QDesktopServices::openUrl(QUrl("http://google.com"));
works if default browser ie9, ie8, firefox or opera
if default browser is chrome nothing happens
QtCreator debugger log i can see lines like
ModLoad: 00000000`05250000 00000000`0530... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16103589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Creating a folder in Kotlin I am new to Kotlin and have read lots of tutorials, tried bunches of code but still can't understand how
to create a folder in internal storage.
I need to create a folder in which I wil put a json resource file.
Manifest file contains <uses-permission android:name="android.permission.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60004199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to display single quotes inside double quotes in string in python I know this is very basic question, but not able to frame it out.
I need to execute a customized python command based command with in a script.
ex:
below is the actual commands.
command-dist --host='server1' -- cmd -- 'command1;command2'
I need ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40951545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can a Bacon.interval be stopped? I have an event that is fired periodically:
let periodicEvent = Bacon.interval(1000, {});
periodicEvent.onValue(() => {
doStuff();
});
What I would like is to pause and restart periodicEvent when I need it. How can periodicEvent be paused and restarted? Or is there a better ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43611681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Validation DropDownList value from ViewModel in ASP.Net MVC I tried to search posts, without any result either, maybe I didn't use the right words.
I need a solution in MVC for validate the DropDownList value, populated from database using Model class and the Html.DropDownListFor Helper method and MySql.
In the view... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64941538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Clustering lists having maximum overlap with size restriction I have the following group of numbers:
group1: 12 56 57 58 59 60 61 62 63 64 75 89 91 100 105 107 108 Group Size: 40
group2: 56 57 60 71 72 73 74 91 92 93 94 100 105 107 108 110 111 Group Size: 30
group3: 57 58 91 107 108 110 112 114 117 118 120 127 129 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28560963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Float number and subquery I have query:
SELECT
DISTINCT `g`.`id` ,
`g`.`steam_id` ,
`g`.`type` ,
`g`.`title` ,
`g`.`price` ,
`g`.`metascore` ,
`g`.`image` ,
(
SELECT `id`
FROM `game_promotions`
WHERE `game_promotions`.`game_id` = `g`.`id`
) AS `promot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14781353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android videoview playable logo Hi my android coding have a videoview and I want to put playable logo overlay on it when it's stop but when it's playing the logo disappear, how can I do it?
here is my coding on videoview
final VideoView videoView = (VideoView)rootView.findViewById(R.id.videoview);
videoView.setV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33819957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: new column is the sum of two consecutive rows please your gentile help, anyone can help me with pandas-python
I need a new column, this new column is the sum of two consecutive rows, (figure)
enter image description here
A: You could look at the table.assign(<new column> = <formula>) function to build out your data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69730723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ProcessPoolExecuter and global variables I have a question regarding global variables and using different processes.
For my main python script I have a main function which calls Initialize to initialize a global variable in Metrics.py. I've also created a getter function to retrieve this variable.
Main.py:
from Metr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67765918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Clickable ImageView over List view i have a app that has a listview. I want to place a imageview over part of the listview. When i set the onclick Listener for the imageview nothing happens. How do i make it so that the imageview is clickable and not the area of the listview that overlaps with the imageview.
the ima... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21655962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Array stops working when i update the value of a key to 0 i have a code where sales are made on a sales modal(on an invoice page) with database entry.When a product for sale is selected, the pieces available for that product is entered into another input and on submission, the product id and pieces sold of the produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40070608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Push non-angular object to AngularJs controller scope I have a Angular controller that have a FormData scope, e.g: $scope.FormData. Data is collected via model connected to a simple form. Also, I have an external non-angular js code on the page. I need to push one of its variables to $scope.FormData.name. How can I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26120206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Connecting to Cassandra on startup, and monitoring session health Two related questions
1) Currently, the session to C* is established in a lazy fashion - aka, only on the first any table is accessed.
Instead, we would like to establish a session as soon as the application is started (in case there is a connectivi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41686161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: order data frame according to one column I have a data like this
> bbT11
range X0 X1 total BR GDis BDis WOE IV Index
1 (1,23] 5718 194 5912 0.03281461 12.291488 8.009909 0.42822753 1.83348973 1.534535
2 (23,26] 5249 330 5579 0.05915039 11.283319 13.625103 -0.18... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27183110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Telebot package problem with importing "Types" When i want to run my bot in pycharm, I receive this error:
\Desktop\st\taxi\taxi.py", line 5, in <module>
from telebot import types
ImportError: cannot import name 'types' from 'telebot' (C:\Users\User\Desktop\st\taxi\venv\lib\site-packages\telebot\__init__.py)
He... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52499589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QtQuick2 Video rendering quality and embedding QVideoWidget to Qml I am working on a Qml application based on the QtQuick2, and I am having problems with the Video component included in the QtMultimedia 5.0 module. The application is supposed to add video to Qml interface and most importantly is that any BLACK color... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58048837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Logstash: Missing data after migration I have been migrating one of the indexes in self-hosted Elasticsearch to amazon-elasticsearch using Logstash. we have around 1812 documents in our self-hosted Elasticsearch but in amazon-elasticsearch, we have only about 637 documents. Half of the documents are missing after mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58390552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Program that checks if number can be divided to three numbers I need to make a program that checks if a number can be divided to three(or more) numbers. for example 8=2*2*2 and 153=3*3*17 and so on. And it has to work for all positive real numbers. I just can't wrap my head around it :(
def loytyyko_kolme_tekijaa(l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46662206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: How do I fill a rectangle or ellipse with a gradient in Processing? I am trying to get my paddles from white to gradient (linear) and the ball to have a radial gradient. Thanks for your help!You can find the code for the paddles in void drawPaddle.
This is my goal:
This is my code:
//Ball
int ballX = 500;
int ballY... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65756931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Sass build issue for sublime text 2 : no file is generated I've downloaded Ruby and installed Sass. I then installed Sass Build for Sublime Text 2 through the package manager but when I try to build my css file, nothing happens.
It says :
[Decode error - output not utf-8]
[Finished in 0.1s with exit code 1]
Does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32000383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use PermissionRequiredMixin in FBV? I am thinking about how I can use PermissionRequiredMixin in FBV.(I have used the same in CBV and it is working as expected).
Please find the FBV(here need to implement permission). I don't want to use @login_required()
@login_required()
This will check only if the user is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65650217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to extract year from a date variable and decrement it in XSL From the following XML, i have to extract the year 1989 and decrement it by 2 and display the year.
<?xml version="1.0" encoding="UTF-8"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>US... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30796417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache reverse proxy to nodejs server on CentOS 7 (WHM) I'm trying to setup my site on the server. I've uploaded it and it's currently running on the server but the problem comes when I try to setup a reverse proxy on the domain so that I can access the site. I had followed the WHM documentation on how to do a rever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61922650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How i can define schema for array using jsonloader? I am using elephantbird project to load a json file to pig.
But i am not sure how i can define the schema at load. Did not find a description about the same.
data:
{"id":22522,"name":"Product1","colors":["Red","Blue"],"sizes":["S","M"]}
{"id":22523,"name":"Product2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29500998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a password reset request in wordpress I'm trying to use postman to make a post request to reset the password, to the wordpress site. Here is what query is obtained as a result: https://example.com/wp-login.php?action=lostpassword&user_login=User123
And in the end I get the answer: ERROR: Enter a usernam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49360250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a library for showing long text in one single TextView with different formatting? E.g. similar looking to what apps like Fabulous are doing.
My use case it that I have a longer text stored online, which should then be retrieved and displayed. So I cannot style every single one with different TextViews and w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55171948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Graphics.fillArc(); is not working properly I have written this java code for drawing a filled arc whose endpoint angle increases by 1 in each iteration of loop from 0 to 360 degrees, but this is not working properly so please help.
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Graphics;
import ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25310033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Popup when a new message arrives I have a fully functioning messaging system on my website.
I want to evolve this by having a box popup altering members when they have a new message.
It would say something like "You have a new message, would you like to view?".
You would be able to click Yes or No.
How would I go ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4575944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: racket postfix to prefix I have a series of expressions to convert from postfix to prefix and I thought that I would try to write a program to do it for me in DrRacket. I am getting stuck with some of the more complex ones such as (10 (1 2 3 +) ^).
I have the very simple case down for (1 2 \*) → (\* 1 2). I have set... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27346338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenSSL::SSL::SSLError at /auth/facebook/callback with omniauth I'm dealing with the OpenSLL error on windows, using omniauth.
I've tried specifying the cacert.pem file. It is placed in my_app_dir\assets\cacert.pem (downloaded from the curl website), and
provider :facebook, APP_ID, SECRET, {:client_options => {:ssl ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9969661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Login working in localhost but error "secret option required for sessions" when deployed in Heroku My authentification works properly on localhost but gives me error 500 when deployed on Heroku.
Error:
{"type":"error","error":{"message":"secret option required for sessions"}}
I have my secret session on a .env fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58528070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: java.lang.LinkageError: loader constraint violation: when resolving field "MAX_HEADER_SIZE" I receive this error when I try to deploy my war on Wildfly 10.1.0.Final (I cannot change wildfly version)
18:53:58,467 WARN [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext] (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73337657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to overwrite ScrollView content in ios or change focus I'm beginner in ios ....
In One of my activity I have created Custom scrollView and on it I have created Some custom textField ..Now when we click on textField then my custom tableView opens but this table mixup with already existing textField ....If I add t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17424615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: using array offsets to calculate delta in numpy I need to create delta and growth rate with a lot of data points. I'm new to numpy but I see it can do internal operations like this.
(Pdb) data = np.array([11,22,33,44,10,3])
(Pdb) data + data
array([22, 44, 66, 88, 20, 6])
Is it possible to add data offsets in nump... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63081854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to generate a signed certificate with an existing CA which has a different key pair? I create a signed certificate with an existing CA as I explained in this post: Bouncy Castle: Signed Certificate with an existing CA
However, my generated certificate has the same public and private keys that the CA c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51921657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to check if an element has a class in cypress.io? I don't want to test that it has the class like ...should('have.class', "some-class") I just want know if it does, and if doesn't then perform some action that gives it that class.
Basically, I want to see if the element has Mui-checked and if it doesn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71385871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: BigQuery: DDL statement not executing via client API I am executing CREATE TABLE IF NOT EXIST via client API using following JobConfigurationQuery:
queryConfig.setUseLegacySql(false)
queryConfig.setFlattenResults(false)
queryConfig.setQuery(query)
As I am executing CREATE TABLE DDL, I cannot specify destination tab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51551968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Concurrency, Locking in SQL Server Database I have a requirement to Save/Update data in 15 tables. I have to ensure at the time of updation the concurrency and locking should be maintained, so that no dirty read happens. I am updating data using storeed procedure. What I can do in oredr to implement locking and conc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19361525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Highlighting when HTML and Xpath is given Given the HTML as a string, the Xpath and offsets. I need to highlight the word.
In the below case I need to highlight Child 1
HTML text:
<html>
<body>
<h2>Children</h2>Joe has three kids:<br/>
<ul>
<li>
<a href="#">Child 1 name</a>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42869993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Setting up a Git repository for a .NET solution I have a solution with 15 C# projects and I'm trying to set up an efficient git repository for them. Should I create a repository on that level or for each project under the solution?
WebServices/
|- WebServices.sln
|- WebService1/
`- WebService1.csproj
|- WebService2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23414771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Does Akka Decider have access to the full failure scenario? New to Akka. Creating a new Scala class that extends SupervisorStrategy gives me the following template to work with:
class MySupervisorStrategy extends SupervisorStrategy {
override def decider: Decider = ???
override def handleChildTerminated(context... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50353738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to install packages with conda into /usr/bin/python3 I have a package, that is only downloadable with conda. When I startup a shell and type which python3, I get /home/usr/miniconda3/bin/python. Then I do conda deactivate and my python3 is /usr/bin/python3. Is there any chance to install packages from conda, so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60789708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Map newlines in GHCi Simple question, but I can't seem to figure it out. I have a list, and I want to print out each element of it on its own line. I can do
map show [1..10]
for example, which will print out them all together, but with no newlines. My thought was to do map (putStrLn $ show) [1..10] but this won't w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5149916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Google Maps API Drawing Rectangle This is the meat of the code I am using and I am not getting errors, but I am not seeing the points that are in the area of the rectangle. Any help would be appreciated:
`enter code here`/** @this {google.maps.Rectangle} */
function showNewRect(event) {
var ne = rectangle.getBounds... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23618188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PHP DomDocument appendChildNode where I have tags in the text I would like to append some text to a dom element as a child node.
The problem is that in the text I can have tags as <i>, <bold> etc.
Actually, with this method:
private function appendChildNode($dom_output, $cit_node, $nodeName, $nodeText)
{
if ($n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22009512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to type "line1", "line2", "line3".... using for loop in python For example, I want to generate below output using a "for" loop, having the for loop automatically populate the number at the end of the word line:
line1
line2
line3
line4
line5
line6
line7
A: Here is how to do it with "f-strings" and the range() c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71376733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Getting Facebook Access Token from User Id and Facebook App Secret? I'm trying to understand how the facebook api works. The end goal is to be able to read the posts from a facebook page.
If someone has connected with my app on facebook can my c# application then get the posts from a public facebook page if it knows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18196667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: "Call to undefined method PHPUnit\Framework\TestSuite::sortId()" Error while executing Test Case with Coverage
Call to undefined method PHPUnit\Framework\TestSuite::sortId()
Getting this error while trying to execute test case with coverage.
Command:
phpunit -v --debug ./Test.php --coverage-clover ../clover.xml
P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70389249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: python csv delimiter doesn't work properly I try to write a python code to extract DVDL values from the input. Here is the truncated input.
A V E R A G E S O V E R 50000 S T E P S
NSTEP = 50000 TIME(PS) = 300.000 TEMP(K) = 300.05 PRESS = -70.0
Etot = -89575.9555 EKtot = 2333... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26196007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Perl (opendir): Receiving "Can't use an undefined value as a symbol reference at line 46." I am trying to use opendir to open a directory. When ever this happens I get the error: "Can't use an undefined value as a symbol reference at line." From searching other questions this usually originates from trying to use a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40621369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix unexpected token in ESLint? I install ESLint globally using the command npm install -g eslint on my Mac. It was successful installing, but when I run eslint -v this is the issue I encounter:
$ npm install -g eslint
path/to/bin/eslint -> path/to/lib/node_modules/eslint/bin/eslint.js
+ eslint@7.3.1
added 10... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62636329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: IE11 emulates IE7 even though it's set to EDGE My website has the following settings:
But IE11 renders the page in IE7 mode:
This is on a machine with a fresh IE11 install, and it's the first time I'm visiting the website with the browser.
Any idea what could be wrong?
A: Does moving the X-UA-Compatible tag to b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23579763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create read-only user in pgAdmin 4? Creating a read-only user in pgAdmin 4 is a little tricky.
Here is a guide on how I did it.
First of all a few words about the process.
The whole process is based on editing a schema (very simple and safe) for your DB, so this creates limitations for using the method for al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72791383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.