text stringlengths 15 59.8k | meta dict |
|---|---|
Q: how to refine jq output I have a json file. A simple example looks like:
[
{
"host": "a.com",
"ip": "1.2.2.3",
"port": 8,
"name":"xyz"
},
{
"host": "b.com",
"ip": "2.5.0.4",
"port": 3,
"name":"xyz"
},
{
"host": "c.com",
"ip": "9.17.6.7",
"port": 4,
"name":"xyz"
}
]
I want to extract the "ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52012899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I align an ajax spinner over a knockoutjs templated div I am binding certain html templates. Inside the bound div I have an image which is the ajax spinner. This image is never visible I guess because its overriden with the bound template.
Where should I now put this image so it is centered over the div with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17881516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: get error on "buildozer android debug deploy run" get this error
Command failed: ./distribute.sh -m "kivy"
when trying to
$ buildozer android debug deploy run
How to fix it?
thanks
A: That means something went wrong in the python-for-android build step, but there are tons of problems that would give that error.
Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20572560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel Undefined offset when using Skip() in database query Hopefully a simple one, but I'm getting nowhere fast with it,
I need to perform a query in Laravel where I skip the first two records in a database,
running the query
DB::table('recent_videos')->where('user_id', $userId)->orderBy('created_at')->get()
pulls... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66341197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple functions with one "function" How can I get by using one function with function names and executions?
function
RunA() {
alert("I run function A!");
}
RunB() {
alert("I run function B!");
}
If this was explained elsewhere, my apologies.
Edit: Trying to create a name for each function without... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36605145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wht GetPostData() returns { } using cefpython3? I can't understand why if i launch this, fill the registration form in github and click "sign up" post data is {}.
I'm using python 3.7, cefpython 66.0
code:
import tkinter as tk
from tkinter import messagebox
from cefpython3 import cefpython as cef
#import cefpython3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57991859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: extend jekyll / octopress with db? I've been looking to move my wp blog to octopress (based on jekyll).
I'd like to have the option to add a member login/registration system to the site as well as other dynamic functionality later down the line, but I like the idea of having my content static, like octopress offers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11418421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: TypeError: Cannot read properties of null (reading 'getAllPostsRep') bloc cubit flutter i'm new in bloc, i have static data and need to write clean code using data layer "repositry and model"
before write this line in initstate, the Loading widget was only work
but i discover that i should write cubit dunction in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69424329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Selection in PDF files I'm working on an ebook conversion script.
When I create a PDF file using emacs ps-print-buffer-with-faces and then ps2pdf, I can select the words one by one on my ebook (Sony PRS 600). Same when I use Microsoft Word to print to PDF.
Yet, when I create a PDF using pdflatex, or latex -> dvips -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3620876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular 2, installing library from Github repository I'm learning how to create an Angular 2 library based on a project created with Angular-CLI. I'm going by these examples ng-demo-lib and ng-demo-app by Nikita Smolenskii.
The library dependency is listed like this in package.json:
"ng-demo-lib": "git+ssh://git@git... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42796653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sending a String of Data to a Specific Client This could be a very hard question.. But here we go, so I have a Multi Client chat server, I handle the Multi - Client part with a new Class called ClientConnection, everytime a client connects, it creates a new instance of ClientConnection for that client, and incoming ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13448757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: fetch particular key values from a dictionary which has values in list I have following dictionary, from which I want to fetch only 'tcase_name'
a = {'179781': [{'exec_id': '0',
'exec_on_build': '',
'exec_on_tplan': '',
'exec_status': 'n',
'executio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44123465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implementing complex data structures in C++ What's the solution you adopt when you have to implement complex data structures in C++? I mean different kind of objects that should be referenced by other ones and, at the same time, reference other ones. It is really different from the available standard library contain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15600218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Oracle 11g XE - ORA-31202: DBMS_LDAP: LDAP client/server error: SSL handshake failed when connecting AD I'm trying to integrate my oracle 11g XE instance (version forced by product I'm working with) with Samba based Active Directory on port 636. Unfortunetally, I'm getting error ORA-31202: DBMS_LDAP: LDAP client/ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71882055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to create an array from existing array by pairing every two values into key and value? This is what I want to do.
I have an array.
$arr = array('value1','value2','value3','value4','value5','value6');
Is it possible to pair every two values into something like:
$new_arr = array('value1' => 'value2','v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3785135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: error on a ajax request with python I've got a html file with following lines of code
<script>
function ButClick(){
$.ajax({
url: "../cgi-bin/test.py",
type: "POST",
data: {var1: 'Value 1', var2: 'Value 2'},
success: function(response){$("#TestDiv").html(response);}
})
}
</scr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24204411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: webpack-dev-server set cookie via proxy We have setup our development environment with webpack-dev-server. We use its proxy config to communicate with the backend.
We have a common login page in the server which we use in all our applications. We it is called, it sets a session cookie which expected to passed with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56377371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Extract all url from sitemap.xml with PHP CURL I want to extract all url from sitemap.xml with PHP and CURL. My code work with content sitemap (e.g: http://www.phanmemtoday.com/sitemap.xml?page=1) but does not work with sitemap index (e.g: http://www.phanmemtoday.com/sitemap.xml).
Please help me. Thank you!
<?php
$s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37980291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Transfer big file from PC to a Pocket PC I need to transfer a big file from PC to PPC (Pocket PC) but I can't use RAPI.
I need to:
*
*Convert an .sdf (big) file to a binary format
*Transfer to PPC (through a Web service)
*In PPC convert from binary to .sdf
The problem is that in PPC I got an exception "out of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/725526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't PHP permit private constants? Why doesn't PHP permit private constants?
I am aware that there are workarounds, such as using a private static property instead.
However, from an OOP or software design perspective, what was the reasoning?
A: tl;tr
What was the reasoning to not implement private constants?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27757806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: clicking on label 'for' both anchor tag and input tag I cannot get this work, looks like not possible, that's why i'm asking...
This is the CSS used:
label.btn {
cursor:pointer;
display:inline-block;
}
label.btn>input[type=checkbox] {
display:none;
}
label.btn>input[type=checkbox]:checked~b {
backgro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17953461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Eclipse CDT project temporary files What files can be safely removed from CDT project and workspace before archiving or saving in a source control system?
Having MSVC experience, I tried to remove Debug and Release directories, this was really bad idea :(
A: Are you using an Eclipse plug-in for your version control... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2325758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php if statement in html is matching all conditions I'm trying to get an if statement to test a php session and if it's true, show html and if it's not, don't show html. I did some research and found this
<?
$a = 2;
if ($a == 2): ?>
<p>Content</p>
<? elseif ($a == 3): ?>
<p>Other Content</p>
<? else: ?>
<p>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42180853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to prevent a Javascript click event from happening twice? I had a big problem in getting a Google maps iframe to load on center, inside a twitter bootstrap modal. The solution that I found to work is loading the iframe by javascript, once the modal is opened. The problem that I have with my code at the moment is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15350921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook SDK instruction not making sense about app id I have taken a picture of the Facebook instruction below. What is wrong with it? My app keeps crashing with exception concerning ApplicationId should not be null. But I have added my app id as <meta-data android:name="com.facebook.sdk.ApplicationId" android:valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28775950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: digging into child objects and reconstruct the data I've having currencies list in JSON that comes like this
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65632990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get access to Airbnb API? or Airbnb correct token? There are a few old, unofficial Airbnb APIs, and Airbnb is not giving access to new partners.
If I get an Airbnb token to approve Airlock, I am still not able to access reservations.
Maybe anyone has alternative solution?
https://api.nobeds.com
public string ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66456720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it best to have many field in protobuf message or nested messages? I tried to find some recommendations on the web but could not find anything relevant.
Let's say that I am creating a protocol buffer message that will contain a lot of fields (50+). Is it best to keep all the fields at the same level or to organi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49670346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How can I compile the Rabbitmq-c library for iOS 5? I downloaded the source code for RabbitMQ-C from GitHub. It's written in C. Can I use this library for iOS 5 apps? How?
A: I wrote a wrapper for ios5, disabled ARC, and rewrote a few vars definitions. It is all working now. :D I might write a bit more about this p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11608243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Another way to call method without lodash? In my Meteor app, this voting function with a method call was working fine, until I included a compability script that exports lodash as var _ = runInContext(); Now I get error that _.contains is not a function.
Is there another way to run this function and call without _.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40027554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Materialize autocomplete : Why AJAX called before entering any character? I'm using autocomplete with materialize and i'm retrieving the data with ajax call, it works fine but when i want to call ajax only after entering caracters(using onkeyup event), the drop down list will not be showing correctly !!!!
Before i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51322776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL merge not matched by target vs not matched by source What is the difference between NOT MATCHED BY SOURCE vs NOT MATCHED BY TARGET?
For example:
Does WHEN NOT MATCHED BY SOURCE mean that the records exist in the target but not in the source? - so we can delete them ?
and WHEN NOT MATCHED BY TARGET - mean the re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39607333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Visual Studio crashes when attempting to read resource .txt file I am currently working on a project for my class and am running into a very confusing error. The code itself will launch the debugging window, whenever the file is not present. It simply prints the error message and continues with the rest of the code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52999997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: python Iris in linux I just started using Iris, (and also Mac OS), and installed other modules using
pip install module_name
over the terminal.
I did the same for Iris, but when I try to use:
import iris.plot as iplt
an error came up:
ImportError: No module named plot
Did 'pip install' do an incomp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25539287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Continuously reading java WatchEvents I'm trying to synchronize two folders and their sub directories between a client and a server. I have a modified version of this class which I've posted below. In my Client class, I create a WatchDir object and call its processEvents() method in an infinite loop.
The method retu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27327860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I loop-insert incremental dates into MySQL? How can I add rows to a table with only SQL that loops and increments a date e.g.:
INSERT INTO my_table (the_date) VALUES ('2013-04-13');
INSERT INTO my_table (the_date) VALUES ('2013-04-14');
INSERT INTO my_table (the_date) VALUES ('2013-04-15');
INSERT INTO my_ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15204767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to send task to exchange rather then queue in celery python What I understood from celery's documentations, when publishing tasks, you send them to exchange first and then exchange delegates it to queues. Now I want to send a task to specific custom made exchange which will delegate all tasks it receives to 3 di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46341805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SMT let expression binding scope I'm using a simple let expression to shorten my SMT formula. I want bindings to use previously defined bindings as follows, but if I remove the commented line and have n refer to s it doesn't work:
;;;;;;;;;;;;;;;;;;;;;
; ;
; This is our state ;
; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56235909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does this twitter oauth API token request fail [Note: all oauth tokens/secrets below were created randomly; they are
NOT my actual tokens/secrets]
curl -o /tmp/test.txt 'https://api.twitter.com/oauth/request_token?
oauth_timestamp=1345141469&
consumer_key=UEIUyoBjBRomdvrVcUTn&oauth_access_token_secret=YePiEk... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11993423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple accessors for same value in c# I have simple scenario where I have AnotherTest value based on Test value. This works fine most of the time so that whenever I provide Test I am sure to get AnotherTest easily.
public sealed class Transaction {
public string Test { get;set; }
public string AnotherTest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10092883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is the Typescript type checker upset about this unspecified type? I have a react component whose props
*
*need to be serialized / stored, and
*contain a function
My storage utility doesn't like storing functions, and I don't need the functions stored. So I wrote a function that returns a copy of the props ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44460453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: passing array of json objects from php to android I'm trying pass an array of data from php to android through json object. But im getting "Parse error: syntax error".Please help me out.thanx
'
//db details
$dbhost="localhost";
$dbuser="root";
$dbpass="";
$dbdb="opac";
//connecting to the db
$con=mysql_con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15522070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sender object ID in aspx client side event (javascript) I need help regarding a problem in the following code block:
function(s, e) {
form1.hfRaiseEvent.value = s.ID;
}
This function is called when the Client Side Click Event is fired.
By the way i see it, s is the Sender Object while e is the Event Object.
Aft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18105484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Exception handling for regular expressions in R I've found several related questions, but haven't found one that I solves my problem yet, please let me know if I'm missing a question that addresses this.
Essentially I want to use a regular expression to find a pattern but with an exception based on the preceding cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24816441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to use SSE and SSE2 to make a 128-bit wide integer? I'm looking to understand SSE2's capabilities a little more, and would like to know if one could make a 128-bit wide integer that supports addition, subtraction, XOR and multiplication?
A: SIMD is meant to work on multiple small values at the same t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12200698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Trying to fill h:selectOneMenu when date is selected At this moment my code works but I have to select a date twice if I want to get properly information. I tried to change the ajax event to dateSelect, but it adds an hash in my URL and do nothing. I just want to keep its current behaviour, but selecting a date one ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28004526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Callback as an option in node.js I am working with node.js and how can I set callback as an option of a specific function?
For example:
function sum(a, b, callback) {
return callback(a+b)
}
var result = sum(a,b) // this seems to cause error: callback is not a function
sum(a, b, function(sum) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39013197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does this Oracle SQL Developer icon mean on my stored procedure? I've been creating stored procedures using Oracle SQL developer.
For some reason, one of the icons does not contain a green circle. What gives? What does this non-green icon mean?
A: I believe the green circle you're referring to is actually a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4169355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: DatetimePicker and other Controls in MenuStrip I know I can add a DateTimePicker to my MenuStrip with the following lines
Dim dp = New ToolStripControlHost(New DateTimePicker)
MenuStrip1.Items.Add(dp)
But I can't figure out how to add a DateTimePicker to the MenuStrip at designtime. What's the trick behind it? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43469427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Need help passing survey responses from HTML form to MySQL table I'm a bit stumped here...
I've got a web page that displays a list of survey questions that are stored in a db table, and I'm trying to gather ratings responses on each question (strongly disagree -> strongly agree) and pass the values back to another ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13864458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inspect variable outside of anonymous class in Eclipse is it possible to get the value of a final variable declared outside an anonymous class (where the debugger currently is) in Eclipse? For example:
final int x = 5;
new Object() {
{
System.out.println(x);
}
};
This will c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5195898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to obtain the returned cookie after a POST in PHP? Let's say I have a website called (example.com) which will have a php file (example.com/call.php).
call.php will have a post method that will post to the website exampleOne.com/login.php with the right parameters. exampleOne.com will return a header with a cooki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3294844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FIELDDATA Data is too large I open kibana and do a search and i get the error where shards failed. I looked in the elasticsearch.log file and I saw this error:
org.elasticsearch.common.breaker.CircuitBreakingException: [FIELDDATA] Data too large, data for [@timestamp] would be larger than limit of [622775500/593.9mb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30811046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: UITableView - how to recognize a cancel deletion? After the classic swipe to delete, there are two possibilities,
*
*The user has pressed the "Delete" Button, so this function is fired:
*(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17756892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Black Matlab image after saving using saveas function I am using Matlab2007b and I would like to plot and save a 3d surface.
I manage to display the figure using meshz(X,Y,Z), but when calling:
saveas(gca, fullfile(path,name), 'png')
or
saveas(gcf, fullfile(path,name), 'png')
or even using
File --> Save As...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46604914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSL connection issue when calling GRPC service from Alpine Linux Image using Zulu jdk 11 I have a spring boot application which calls a GRPC service using Netty. When I run my code in my local machine (MacOS and zulu jdk without JCE) I am able to connect to the GRPC service.
Note: We are using Oracle JDK 1.8 compile... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58125872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding tabs on clicking button How can I add a new tab in TabBar by clicking on a button?
I tried to call 'setState' in order to add a new tab.
class _MyHomeState extends State<MyHome> {
final List<Tab> _tabs = [
Tab(
child: Text("tab 1"),
),
Tab(
child: Text("tab 2"),
)
];
int _le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57459037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Premature end of POST data - Ajax with FormData is Broken on IE10 / IE11 in Some Conditions I have a JSP application.
Wherein a set of data will be sent to an JSP using AJAX request.
The issue is, I am getting an error when a data is sent to the JSP in Internet Explorer 11. Whereas it properly works in IE9.
Illega... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25604906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create components (labels) on the fly? (or how to create facebook/hotmail-style to add contacts to message) What I want to do is to create something like that hotmail/facebook-style list of selected contacts.. with 1 little block and a "X" for removing each item.
How could I achieve that in .NET?
I thought of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1862778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: draw a chart with pointer in android how I can draw a chart with a pointer that specify a point of chart and return information of that point. pointer is movable.
I want to show the information of Specified point below the chart.
A: Check the following libraries:
https://github.com/PhilJay/MPAndroidChart
https://g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27210895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Cannot list changed files using github actions I am trying to list all the changed files on file push. However my List all changed files command does not return anything even though I change the file and commit
name: test on: push:
branches: [ main ]
jobs: build:
runs-on: ubuntu-latest
steps:
- uses:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71506177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AngularJs - Dynamic Form - single selection or checkbox list I wonder how I can make a dynamic way to bring a combobox (single selection) or a checkbox list depending on what is defined in the database.
[{
id:10
question: "Gender?",
type: 1, //singleSelect
options: [{id:1, name:"Male"}, {id:2, name:"Female"}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37735742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send data to a webform using MS Access VBA I am trying to send data from an Access DB to a website http://www.lee.vote/voters/check-your-registration-status/. I'm able to use similar code (below) to send data to a different website, but I can't figure out why it doesn't work for this website.
The HTML from what I'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44078873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SAPUI5 and Logon Tokens/SSO? I'm getting started with SAP's SAPUI5 framework, and I am trying to get single sign on to work with logon tokens (MYSAPSSO2), but I don't see anywhere that I can fetch a token or attach a token to an OData HTTP request. The example in the blog post I linked to above employs username/pass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9587903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android scene transition issue I am trying to change one scene to another scene using transition framework.
MainActivity.java
mSceneRoot = (ViewGroup) findViewById(R.id.root_scene);
calendarScene = Scene.getSceneForLayout(mSceneRoot, R.layout.content_main_scene1,this);
searchScene = Scene.getSceneFor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33563807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I transmit a func from parent to child in reactnavigation 6? Have a nice day.
Can I transmit a func from parent to child in reactnavigation 6?
Maybe somethings like this:
onPress={function =>
navigation.navigate({
name: LANGUAGES.label_people_component,
params: function,
merge: true,
})
}
Tks all.
A: A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69676101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error after restoring TFS database to new hardware I am using TFS 2012. I wanted to test how i can recover from server failure or any hardware failure, So i wanted to shift TFS to new PC.
I followed some articles to restore it. what i did is
1)I had full backup of TFS_configuration and all other collection database.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21621844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Routing audio output between multiple bluetooth devices with iOS using AVAudioSession Got a video conference app, implementing device selection feature of switching between Earpiece, Speaker, and connected Bluetooth devices. All seems to function appropriately apart from switching between bluetooth devices themselve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72348871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Capturing a Session variable in Session_OnStart - Global.asa I'm trying to use the users session to process the code in my global.asa:
Sub Session_OnStart
sAdmin = Session("Admin")
Application("Admin") = sAdmin
The Session("Admin") is not empty, but the Application("Admin") always comes up empty when I ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16444587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to build a "defaulting map" data structure I have some configuration data that I'd like to model in code as so:
Key1, Key2, Key3, Value
null, null, null, 1
1, null, null, 2
9, null, null, 21
1, null, 3, 3
null, 2, 3, 4
1, 2, 3, 5
With this configuration set, I the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/417039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Android Picasso store files or use cache I'm using Picasso to initially download images of products to my app from a server. Since the images aren't changing nearly at all for a certain product, I save the images to the disk from the ImageView. In the app I have to display these images all over again in different si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38878645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: matplotlib ticklabels disabling co-ordinates from displaying, twinx/twiny functions any useful? I went through tcaswell's answer on stackoverflow for the question on looking at co-ordinate information after using xticklabels/yticklabels function: http://goo.gl/0Y5VpF that "there is no easy way to do this." I am curi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21268002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Any faces this kind of error in 32-bit machine? I have been using Mongo-db from one month ago i am getting the error as follows "MapViewOfFile failed /data/db/sgserver.4 errno:0 The operation completed successfully. 0".
If i check in the DB path c:/data/db the size not exceeded 2GB.I am using windows2003serverR2...A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4749115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to secure Web API without individual logins? I have an api that calculates some math based on inputs and returns the result.
I have multiple asp.net mvc sites that have a javascript graph which updates the graph according to user input / ajax calls from api
I want the sites and graph pages to be open access. Peo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42710991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spinner won't highlight when item is selected By default, when you select an item in spinner, it highlights briefly before disappearing.
I changed the color of my spinner rows to alternate color with the following code, and the highlight disappears. R.layout.textviewinside and R.layout.textview don't cause this, jus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17531288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Inno Setup Compiler: add page option selected according I want to display a custom page only if the option of an earlier page is activated, for example, i have this code:
[Code]
var page_option : TInputOptionWizardPage;
page_dir_se : TInputDirWizardPage;
procedure InitializeWizard();
begin
page_option := Cr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25558501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flyway changes performed in previous migration script are not visible to next migrations scripts In a spring-based project, I'm using flyway as a database migration tool.
I encounter very strange behavior. Suppose that I have 1 to n migration scripts to execute (mix between JDBC and SQL-based scripts). Flyway perfor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75614322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: open two new windows/tabs (different external sites) from a single button press in c# Is there a way I can open two pages, both in external websites, from a single button press in c# (or jquery/javascript, having set the parameters via c#)?
The context is I am trying to allow users to share content to both twitter a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34731697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drag and Drop Javascript - better way I have created a little application where there is a dragzone and within it two elements. I should have possibility to drag and drop these two paragraphs within this area. Code below works pretty well, but when i drop one element at the other element or at the edge of the dropz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41986628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: dojo: Show or hide divs based on selection in a list Is there a simple way to accomplish this using dojo (jQuery would be easier for me but I have to use dojo): I have a simple unordered list. I don't want dojo to style the list (as it might if I used some widget). When I click a link on the list I want to show a di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15906685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS3 :target on named tag not working I am having a hard time getting :target to work on a named tag.
The fiddle is here: https://jsfiddle.net/vgcLartp/1
Any ideas why this is not working?
A: You need to use target on the sections that you want to show not the links
section:target {...}
See updated jsfiddle
nav ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44947386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android AVD install chrome and firefox I created few AVD's using the AVD Manager. I want to know how can I install chrome/firefox on these AVD's?
A: Chrome's .apk
Firefox's .apk
Download both .apk files and install to your AVD using adb install apk_name
A: To install something onto a device, you need to already ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10139733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to remove "continue;"? I have this c++ program that tries to remove vowels from a char array. This works, but I want to do this without continue;.
#include <iostream>
#include <string.h>
using namespace std;
int main() {
char s[21],afterElimination[19],vowels[] = "aeiou";
cin.get(s,20);
int i, n ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54261350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I can't make this JavaScript count working I want to make a button (out of divs) and a paragraph (or any text field) below the divs that counts the clicks.
$(document).ready(function() {
$('#butt').mousedown(function() {
$("#butt").hide();
});
$("#pushed").mouseup(function() {
$("#butt").show(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41249981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Proxy for MSGraph APIs I am trying to create an adapter (WEB API that will act as a pass through)
for invoking the MS Graph APIs for managing my Active Directory.
AD objects like application and users will be customized to meet our application needs (removing some attributes, adding some extension attributes etc.) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51611623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Hibernate - Updating an ID of a parent in a child without updating parent? I couldn't find the answer or didn't phrase this question properly. If you guys know... let me know :-)
I have a parent which has children....
on the child, I have regular vars that map to column names
However, one is mapped as many-to-one. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21609497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why are these MongoDB sums not adding up? Lets say I have 2 documents:
{
"_id" : "8tvgUTKt2U",
"answers" : [
[
NumberInt(-1)
]
]
},
{
"_id" : "BDTESUEIlm",
"answers" : [
[
NumberInt(1)
],
[
NumberInt(-1)
]
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52265362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL update query not cooperating I am adding a save/update button to the bottom of my editing form on my admin panel. For some reason, whenever I make a change to the form and click save it just reloads the page with no changes made. I also noticed that ONLY when I try to run the code from the pages.php file(runnnin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20089603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c++ how to create a std::vector of functors class A
{
public:
int x;
//create a vector of functors in B and C here
};
class B
{
public:
struct bFunctor
{
void operator()() const
{
//some code
}
};
};
class C
{
public:
struct cFunctor
{
void op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17864064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Cannot validate, with novalidate option Hi I was inserting some date do my table. For some reasons I had to disable my constraint. The constraint was associated with index. I. ve used this line of code:
ALTER TABLE my_table DISABLE CONSTRAINT "my_constraint" drop index
And my_constraint is in disable state.
No I' d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7981221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Handling the Windows.UI.Xaml.Application.Suspending event I try to resolve the dreaded .WindowsPhone.exe!{<ID>}_Quiesce_Hang hang issue of my WinRT (Windows Phone 8.1) app.
At the moment I have the following handling of the Windows.UI.Xaml.Application.Suspending event:
private void App_Suspending(object iSender,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37298079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unity 2 and Enterprise library configuration tool Can someone show me how to use Enterprise library configuration tool with Unity2
Whatever I did, when I open the Enterprise library configuration tool, I could not have it working with a Unity config file.
When I click on the menu to add a new block, there is no Unit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2763420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Testing android app. Trying to mock getSystemService. Have been struggling with this for quite some time now, enough to make a user here on stack overflow actually.
We're developing an android application, and I want to test a method inside an activity class. I have done some unit testing before, but never for an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49007114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: double returning only one precision in java in my code i am performing division on numbers and storing it in a double variable. but the variable is returning with only one precision. i want to increase the precision how could i do that.
double x;
for ( int i =0 ; i<10000 ; i++)
{
x= w[i]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13903457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can the models.py file created by Django be used by another python file to fill in a database? I have followed the tutorial (parts 1 and 2) on the Django site (https://docs.djangoproject.com/en/1.4/intro/tutorial01/) and have managed to create a couple folders and to connect to my website. My app is called 'app', so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11335327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Integration class Hey everybody here is my code:
package Chapter5;
import java.util.Scanner;
public class MainMenu extends Integration
{
static Scanner s = new Scanner(System.in);
static int c;
static double lower, upper;
static double Curves;
static double sum = 0;
public static void main(String[] args)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13713585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: create value to a model from another model's method I'm trying to create a new table (Payslip model) that will contain the computed salary on an employee in a cutoff.
I want Payslip.salary to get value from Employee.compute_pay()
Given the example in the url link above, what should my views.py look like?
Is this th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54926789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to query classes with edges in orient Db?
My problem is, how can I query βChatβ table to retrieve personβs details in Profile Table.
ParticipatinIn edge started from Person to chat.
HasProfile Edge came started person to Profile.
Please Help me to solve this..
Thank You
A: I have used this structure
You can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37585048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Split Strtotime('now') to seconds and minutes I am developing a browser game where the player gets hospitalized for 30 minutes when his health becomes 0. I am using strtotime to check how much time is left until he gets out of the hospital.
<?php
$current_time = strtotime('now') + 1800; // This variable goes to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55130258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quarkus and JDBI integration: Unsatisfied dependency for type javax.sql.DataSource and qualifiers [@Default] I'm trying to use Quarkus and JDBI β not so many examples on this out there I would say :/
The Gradle script has these dependencies:
dependencies {
implementation(enforcedPlatform("io.quarkus:quarkus-univer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68952783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.