text stringlengths 15 59.8k | meta dict |
|---|---|
Q: AWS Delete items by non-primary key I have a problem, and i don't really know how to ask it
I've tables like this
user table
-----------------------------------
UID (primary key) | name (another key)
-----------------------------------
a1c8d3 | Hugo
f9e2d7 | Thomas
s2c9d4 | Damien
m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58325663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simple scrollX element with scroll snap, Changing page numbers I'm trying to create simple element with scroll snapping. I've created a demo in Codepen.
I would like to scroll to an other image and after scroll, when other image is visible, change page number and the color of bottom circles.
I've tried to put onscro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66800217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Props is not defined using render props I want to build an app that uses render.props. I created the component where all my logic is stored:
import React, {useState} from 'react';
function Test(){
let [click, setClick] = useState(0);
function funClick(){
setClick(click++)
}
return(
<di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58894368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: call the same name functions in jquery? i have 2 file js in my asp website named
1-jquery.datepick.js
2-jquery.hijridatepick.js
these file have the same name functions but second one apear popup hijricalender i call it by
<script type="text/javascript">
$(function () {
$('[id$=TextBox1]').datepic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9944233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: barplot with 2 columns I would like to create barplot horizontal with the following dataframe
studentData = {
0 : {
'stylevel' : 'bachelor',
'q' : 'agree',
'Type' : 'Nascent'
},
1 : {
'stylevel' : 'bachelor',
'q' : 'very',
'Type' : 'Nascent'
},
2 : {
'stylevel' : 'master',
'q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68892938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use implicit wait and explicit wait together? In my framework we are using singleton driver and we are mainly using explicit wait. As documentation suggests we shouldn't use both together but at some points because of synchronization issues I need to use implicit wait.
In that case I found a workaround, I add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71403950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I limit the input number range with angular I would like to limit the input number that can go up to the current year, the user cannot enter a year higher than the current one. How can I do it?
My code:
<ion-content >
<form>
<ion-list>
<ion-item>
<ion-label>Stagione</ion-label>
<ion-input ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51362612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Alpha animation works, then does not work My app is about users picking three buttons: Sad, Happy and Confuse. If they click the Sad button, the image changes into a sad emoji. If they click the Happy button, happy emoji is displayed. Simple.
But, when I run my app, and I click any of the buttons, the alpha animatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67431176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cancel sharepoint workflow when cancel sharepoint workflow by web browser or programatically by code
SPWorkflowManager.CancelWorkflow()
All task in my workflow task list was deleted, where i can turn off this, i need this task to reporting.
A: This is the way SharePoint works, canceling a workflow deletes all rela... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9500458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How "==" works for objects? public static void main(String [] a)
{
String s = new String("Hai");
String s1=s;
String s2="Hai";
String s3="Hai";
System.out.println(s.hashCode());
System.out.println(s1.hashCode());
System.out.println(s2.hashCode());
System.out.println(s3.hashCode());
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1887626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Trouble with UPDATE query I'm having problems trying to use the UPDATE query in SQL server.
this is my query:
UPDATE THEATER
SET SeatsAvailable = SeatsAvailable - 1
FROM THEATER
INNER JOIN CINEMA_SESSION ON CINEMA_SESSION.tid = THEATER.tid
WHERE THEATER.tid = 2 AND CINEMA_SESSION.sid = 2
-tid is the pk for THEA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49959034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to get the variable list from each data frame in a list I have a list of df, and I would like to rename the df as df1, df2, df3. and then create a summary like below to capture the variables in each df. What should I do?
I tried to use map to setNames for the data frames in lst, but I must do it in the wrong wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73666322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check for uniformity of a multidimensional list Following my other question I was surprised to know that Numpy is pretty loose on the definition of array_like objects. Basically np.array(1) is a valid numpy ndarray of shape () and dimension of 0! also np.array([[1,2],[3]]) is a valid ndarray of shape (2,) and dimens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53146270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PostgreSQL: "index row requires 1460216 bytes, maximum size is 8191" I'm new to PostgreSQL and I'm trying to populate a table with the content of a list of dictionaries built in Python, which looks like:
diclist = [{'accession':'value', 'species':'value', 'seq':'value', 'length': 'value'},
{'accession':'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50962803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to play a specific tone using python3? I'm working on a python3 project (in PyCharm, using Windows 10) and I'm trying to play a series of tones and save them all to a mp3 file.
I can get it to play a series of notes with winsound:
import winsound
while True:
winsound.Beep(1000, 1000)
But I can't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64838270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can setting MinHeight of a WPF control be a workaround for failing VirtualizingStackPanel.ExtendViewport? And if it is, what control would be the best bet? DataGrid that has the virtualization or something else? This happens very very rarely so trial and error is not an option. Portion of my xaml and converter used ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46646592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Trying to use AJAX for the first time - modified code from W3Schools does not work I was editing the default code from W3Schools, and it doesn't work now. Can someone point out my error and why it will not update the text?
<html>
<head>
<script type="text/javascript">
function loadXMLDoc()
{
var xmlhttp;
if (window.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7983063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I assign the "active" value to a tab on the first tab in a php while loop? I'm using a while loop to populate tabs with PHP. If I assign active while it's in the loop then they are all active. This much I understand. If I only want the first item / tab to have the class="tab-pane fade p-2 -->active<--" whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73907965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Updating an Activity from an AsyncTask So I'm an iOS developer learning android, and I'm having a difficult time understanding some things. Right now I have a datamanager class. In that class it has an AsyncTask to update the data. OnPreExecute I pop an activity to show it is updating. I understand I could use extra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6215313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Cordova no standby smartphone I have developed a corded app for a radio station where you can listen to broadcasts.
now after some time the smartphones go dark (go to standby) and after a while the audio is also interrupted.
How can I avoid this?
A: You can avoid this by using the insomnia plugin
| {
"language": "en",
"url": "https://stackoverflow.com/questions/69480083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google indexing cfc's and giving 500 error So I'm working on a ColdFusion site and this morning we found out that Google is crawling our site and following cfc and getting a 500 error. We are using the cfc with ajax calls so they should not be crawled. How can we fix this?
A: The only reason I can think of that Goo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18200034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why doesn't this simple VBA code work in Excel? I'm quite new to programming with VBA (or any language, let's be honest). I'm trying to do a project for work, adding short sections at a time to see if the code still works, and trying out new code in a separate Sub. I've come across an error that I can't get around. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63968869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP preg_replace: remove style=“..” from all tags except img It is the reverse of : PHP preg_replace: remove style=".." from img tags
Im trying to find an expression for preg_replace, that deletes all inline css styles except for images. For example, I have this text:
<img attribut="value" style="myCustom" attribut=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8344293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I debug my code for the A star algorithm? I have been trying to program different A star algorithms I found online and though they make sense, every implementation I have programmed failed.
This is my Free Pascal code:
function getHeuristic(currentXY, targetXY: array of word): word;
begin
getHeuristic:=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59805545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windowless WPF Application I am hoping someone can point me in the right direction here. I am trying to turn my analog clock application into a windowless clock. I have searched google but I think my issue is I do not know the correct term for what I am trying to do.
My analog clock application is a circle that cont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15620096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the CSS (font-family, size) for a blockquote in Bootstrap I would think this was easy to find somewhere, but I haven't been able to. I don't want to use the blockquote class, but create a custom named one. Basically I want the same font and size, but not the border of the blockquote and a custom name.
Could ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35375630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using Object Assign to clear state This is my state:
export default new Vuex.Store({
state: {
items: [
],
user: {
isAuthenticated: false,
info: {
createdAt: '',
email: '',
firstName: '',
id: '',
lastName: '',
},
token: {
accessToke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46621053",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to show "Copy" menu for a table cell? I would add the option to copy the selected cell in a table like in the contacts app.
I have tried to follow this question about Objective-C and impliment those methods in Swift:
override func tableView(tableView: UITableView, shouldShowMenuForRowAtIndexPath indexPath: NSIn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36241465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to find the github fork of a project with the most recent commit? Is there a way (other than try them all..) to find which fork for an (abandoned) GitHub project has the most recent commit? The default list of forks returned by GitHub is by fork date I believe...
| {
"language": "en",
"url": "https://stackoverflow.com/questions/71941953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: align elements in center and to the left I need to align my list items like in the picture(in the bottom that dropdown).
As you can see they are centered but alson aligned in a line vertically. How can I achive this?
Here is my code:
<div class="footer">
<div class="outer">
<div class="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24323076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass Glue annotations for multiple inputs in AWS for multiple input source Glue diagram is generated as per the annotations passed to it and edges are created as per @input frame value passed, I want to generate diagram where it should take multiple inputs as there should be multiple edges coming to vertex fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68974779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specifically provides multiple query of the attributes using PHP mysql I have a table named student with its attributes and data:
table student
----------------
student_id | student_name | year | exam | level | mark | gred
1111 Alicia 2017 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47476195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Insufficient space allocated to copy array contents I am building up some code to request multiple information from a database in order to have a time table in my front end incl. multiple DB requests.
The problem is that with one particular request where . am using swiftKuery and DispatchGroups i receive ooccasiona... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58143558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it bad to always run nginx-debug? I'm reading the debugging section of NGINX and it says to turn on debugging, you have to compile or start nginx a certain way and then change a config option. I don't understand why this is a two step process and I'm inferring that it means, "you don't want to run nginx in debug... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41150509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Change title css and area radius size in ImageMap of MS Chart How to change title element css of area element of imagemap which is there in MS Chart.
For i.e.
<map id="ctl00_ContentPlaceHolder1_chtActivityImageMap" name="ctl00_ContentPlaceHolder1_chtActivityImageMap">
<area alt="" title="30-07-2013 : 600" coo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20605969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Django 'context' for function-based and class-based views Help me understand how to use Django's context--Is the issue related to the use of context in function-based vs class-based views:
I have created two views (index and post_list) and respective templates (following the Assessment portion of the Mozilla Django ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68351443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Two fingers on trackpad with Qt app I'm currently trying to make our Qt application react as it should when using the "two fingers" feature of the trackpad on Mac. As of now, when working in a QGraphicsScene, if the user use "two fingers" the view is zoomed which is not what I want. I want the scene to scroll in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26673898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Calabash: How to set up test data I am in the process of implementing GUI tests using Calabash. In The Cucumber Book it is emphasized that scenarios should setup test data itself, locally, preferably using libraries such as factory_girl. This question is about the performance, cleanness and manageability of testing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24915532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ace Editor Handle Marker Events I'm trying to take some actions when sitting on top of a marker in Ace Editor based on keydown operations.
However, it looks like I'm unable to trap events on markers using simple jquery hookups.
I declare my markers like this:
var marker =session.addMarker(range, "misspelled", "typo"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44010601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony2 cache warm up issue I have an issue when I execute capifony command: cap deploy.
When the error happens I get this output:
* 2013-10-03 18:32:39 executing `symfony:cache:warmup'
--> Warming up cache
* executing "sudo -p 'sudo password: ' sh -c 'cd myapp && php app/console cache:warmup --env=prod --no-d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19164781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: can collections.filter be wrong? I try to filter a collection according to a predicate:
private void filterExpiredOffers() {
mOffersList = Lists.newArrayList(Collections2.filter(
mOffersList, new Predicate<Offer>() {
@Ove... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25705266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook invite friend with tracking I am about to create a Facebook iFrame page which will consist of content that I want browsers to share. The page will feature a Facebook friend chooser, most probably the following javascript http://labs.thesedays.com/blog/2011/06/20/the-missing-facebook-interface-component-for-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8895871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is a HTTP Get request of size 269KB allowed? I am debugging a test case. I use Python's OptionParser (from optparse) to do some testing and one of the options is a HTTP request.
The input in this specific case for the http request was 269KB in size.
So my python program fails with "Argument list too long" (I verifie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31630636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Adding link to an element in Javascript? (Current method risks "bad javascript?") Right now I have some element
<span class="CLASSNAME" id="FOO">Barack Obama</span>
Referenced by
document.getElementById('FOO')
And I want to make it so the text "Barack Obama" is turned into a blue link where the text is the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45127820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get object instances in template using ModelMultipleChoiceField/CheckboxSelectMultiple in Django With this code I managed to the get the object's pk and name (return value of the __str__ method), however I need access to the object instance itself (I need some of its methods/fields in the template). How can I do th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32854320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does my Azure Build break when I add a WPF 4.72 app to my solution? Environment:
Web API .Net Core 3.1
WPF 4.72
Wix 3.1.2
Visual Studio 2019 Pro ed.
The following is my build script for my Wix installer and my Web API project only:
trigger:
- master
pool: 'TakeKidsToPool'
variables:
solution: '**/*.sln'
bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63876828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails route is not being found My Rails route isn't working, I get this error on load:
undefined method `accept_roomidex_requests_path' for #<#<Class:0x00000103394050>:0x000001033ac920>
Here are my (relevant) file contents:
config.rb
get '/roomidex_requests/:id/accept' => 'roomidex_requests#accept', :as => :accept... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22441737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid argument during changing ownership I want to change ownership of file. I made this command as root:
chown test:test make_import.py
I recieved this error:
chown: changing ownership of ‘make_import.py’: Invalid argument
I couldn't find clear solution in web.
Thanks for any hint.
A: Most likely this file is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44431899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LOAD CSV hangs / does nothing while consuming 10 GB of RAM and 100% CPU I have the following query to import a huge CSV dataset:
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file:///data_ssd/world/test.csv" AS line
WITH line
WHERE line.lang IS NOT NULL
MATCH (i:Item {id: line.id})
MERGE (s:String {value: line.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26368459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Express - Error Handling Doesn't Work with Async Function So this is the POST request for /products, when a form is submitted, this function will be invoked. I use a try-catch to catch the error if the form is submitted wrongly.
This is my Schema.
const productSchema = new mongoose.Schema({
name: {
type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75153803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to arrange 0,1,-1 digits at 6 positions (python)? I want to place three numbers [0,1,-1] at 6 positions. It should give 3^6 = 729 combinations. The code should return something like:
(0,0,0,0,0,0)
(0,0,0,0,0,1)
(0,0,0,0,0,-1)
(0,0,0,0,1,1)
(0,0,0,0,1,-1)
.
.
(-1,-1,-1,-1,-1,0)
(-1,-1,-1,-1,-1,-1)
I tried using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66600919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to suppress scroll-into-view behavior in Flutter? I have a CustomScrollView with a SliverAppBar that hides on scroll.
On the app bar is a search button that, when pressed, puts a TextField into the app bar.
When the field gets focus, it causes the scroll view to scroll all the way to the top, and the app bar get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62576622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to work with data returned after form submit I have an AMP form that calls a web service on submit, and after that, I have a JSON as result. The JSON contains data and in order to see them, I am using amp-mustache template in submit-success div. And all is working fine. I see all the data I need.
But I am unabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53284201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get wordpress data feeds in xml format I am developing wordpress site for newspaper. I want to send news feeds to mobile. I want to send these news feeds in xml format only. Currently, I am getting feeds in html format. How to get wordpress feeds in xml format?
A: There is a built in feed in Wordpress that y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37742802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making special combinations (C++) I need some help with a C++ problem. User enters how many numbers he want to enter, then all the numbers and a special value. Program must find and write all the combinations of numbers whose sum equals to the special value. Example:
Input
12
1 5 7 3 10 8 9 2 4 6 11 13
15
Output:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13417570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pulling Data Out of A ComboBox I have a ComboBox that is being populated by a table, but when I have my ComboBox populated I have it concatenated with some formatting.
Do
strValue = "Loc: " & .Fields(0).Value & " Weight : " & .Fields(1).Value
cbAlloys.AddItem strValue
rsDB1.MoveNext
Loop Until rsDB1.EO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45380212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Temporarily untrack files from git I have a base install of ExpressionEngine (a CMS) which I clone for new projects.
The base install has hundreds of core files that will never change, unless I install an update of expressionengine. Tracking all these files makes git very slow.
So, I want to untrack all of them for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33437257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular 4 TypeError: Cannot read property 'IndustrySegments' of undefined I'm fairly new to Angular 4 and am having a problem with this error coming up in Chrome:
ERROR TypeError: Cannot read property 'IndustrySegments' of undefined
at Object.eval [as updateDirectives] (IndustrialComponent.html:15)
at Object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45946726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it bad practice to have a function that doesn't return if it throws an exception? I have some computational functions for configurations for software that will drive a hardware setup. In some cases, the user may input invalid configuration values. I handle this by throwing an exception if invalid values are used,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52117366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use function recursively in javascript? I have one form where on keyup function I am showing amount in words below that input. It's working as expected with my function. Now O have another input with 2 radio buttons. Onchange this radio buttons also I have to work my function of ShowAmountInWords. I am stuck ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62348639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Red5 application debug i'm trying to deploy my red5 app to the webapps folder. But! I've got some errors in my output.
Exception in thread "Launcher:/myApp" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'web.context' defined in ServletContext resource [/WEB-INF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11839084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Javascript to jquery a document.get with children What is the equivalent of this to jquery and how can I shorten it using children (both in jquery and javascript as I'm really curious why mine didn't work)? I tried children actually but didn't get a result I wanted.
document.getElementById('ShowRow').getElementsByC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16723152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open page in new tab from GridView? I want to open page in new tab while clicking on the gridview link button. But I want to open new page based on alert type. For example, from the given below grid I clicked link button of Alert1 then it should open alert1.aspx page, if it is Alert2 then alert2.aspx. etc
Hel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30236288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Replace image with different image/button - javascript within a function, I'm trying to replace a image/button with another image/button.
<img src="images/14.gif" id="ImageButton1" onClick="showLoad()">
<img src="images/getld.png" id="ImageButton2" alt="Get Last Digits" style="display:none;" onCli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10463359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Global instance method I created a an instance method in my MainMenu init.
-(NSString*) iPhoneiPadConversionString: (NSString*) fileNameHold : (char) fileType {
....My Code.
}
All I want to do is reuse this method in my other classes....
fileName = [self iPhoneiPadCOnversionString: @"background.png": 'B'];
But I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11978275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: creating separate rules for horizontal and vertical alignment in css The plunkr link is https://plnkr.co/edit/mv3lL1vwu2LxoeFZw0TX
I want to position a div at the center of a page (vertically and horizontally). The div has a button which should be at the center of the div. I found a solution in Vertically center in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48162413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Perl Vs Python variable Scoping - gotchas to be aware of While investigating scoping in Perl and Python, I came across a silent scoping related behavior of Perl that can cause bugs very difficult to trace. Specifically for programmers who are new to the language and not fully aware of all it's nuances. I have prov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6868846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: kernel gets stuck if I train/test split by 55% and 45% I am trying to train a neural net on a dataset. Everything works. There is no issue with the code if I specifiy 70% or 50% percent of the data as training and the rest as testing. But as I specify 55% and 45% for training and testing, the kernel gets stuck and g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65353146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: yolov4-tiny on Colab. ConverterError: Variable constant folding is failed I'm trying to convert the tensorflow weights to tensorflow lite. First of all, I converted.tflite from generating TensorFlow SavedModel. I do this in Google colab. Can I execute this code?
%cd /content/tensorflow-yolov4-tflite
!python convert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73088684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: onbackpressed make my app close without confirmation I'm new android developer, my app closes when I press back from any page in menu. I added this code with dialog but it is not working
@Override
public void onBackPressed() {
super.onBackPressed();
FragmentManager fm = getSupportFragmentManager();
int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31776351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cacti graph not showing properly Hoping to reach all of you Cacti experts right there. I have tried posting the same issue on the Cacti forums website, but after nearly a week had no answer. Hoping to have more luck here.
I'm pretty new to Cacti, and in the past days I've worked my way through to installation, confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16024637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Jupiternote book on iPad / makrdown cells / how to drag a picture? I use JUNO connect to run cocalc on my iPad.
How can I get a picture in my picture file on the iPad into a markdown cell?
Thanks a lot for any help!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/74504652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In an IntelliJ Kotlin project, when I try to run a java class, I get a "Could not find or load main class" error I try to run the class from the green arrow in IntelliJ and I get the "Could not find or load main class" error. If I try to run the class from the terminal by running
javac <filename.java>
java <filenam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70992145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call a setter method in the Data Assignments I/O in a jbpm task? I have a process in jBPM. The process has a Human Task.
Also there are Data Objects: SrcData, CalcInter.
In the Human Task's Assignment Data I/O panel I need to read properties from the objects in Data Inputs section, and write a calculated vari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70269532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: what is the significance of " #!flask/bin/python " in flask? why this line #!flask/bin/python is added on the top of this code?
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return "Hello, World!"
if __name__ == '__main__':
app.run(debug=True)
I got following error when I rem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30954599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Adding rows to tables of datasets? I created a data set within VS2012 and created some tables for it. But i am unable to fill the tables using C#.
This runs without errors:
Database1DataSet.LocationRow newLocationRow;
newLocationRow = database1DataSet.Location.NewLocationRow();
newLocationRow.LocationID = 1;
newLoc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23430113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Array.length seemingly not working; console.log shows otherwise I want to eventually write contactList to the page but even though console.log is showing that contactList is properly receiving contacts being pushed from localStorage, its length remains at 1! And when I do try to iterate over contactList to write to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29551468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: [MySQL]Insert a value depending on a condition I'm studying MySQL so I'm a bit new to all this stuff, but the last time I asked you guys, you proved to be really helpful, so perhaps you can help me again because I haven't been able to find the answer on my own.
Ok, so the thing is, I need to add a new column to an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35760064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Caling procedure in conversion.asm from main .asm I have two asm files, one is conversion.asm and one is main.asm, I am using conversion.asm in main.asm. I am using floating point stack but I am not getting the right output.
main.asm
Include conversion.asm
.386
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
.dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74668770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy tables form schema in another schema in Oracle I want to write a procedure or a cursor.
Input data -- NAME OWNER.
We know name (OWNER) AND from table ALL_OBJECTS
Take the name of the table.
Tables > 30.
How to write correctly ?
CREATE OR REPLACE PROCEDURE USER_NAME
(
v_USER VARCHAR2
)
AS
v_sysdate V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36285372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uninstall / remove a Homebrew package including all its dependencies I have a Homebrew formula that I wish to uninstall/remove along with all its dependencies, skipping packages whom other packages depend upon (a.k.a. Cascading package removal in Package manager parlance).
e.g. Uninstall package a which depends on p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7323261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "496"
} |
Q: Waking up thread from signal handler I understand that about the only thing, a signal handler in ISO/C++11 is allowed to do is to read from or write to a lock free atomic variable or a volatile sig_atomic_t (I believe, POSIX is a little bit more permissive and allows to call a bunch of system functions).
I was wond... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31117959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Website layout is broken, is empty and I can't access wp-admin (wp-login) My site's https://www.beckers-trier.de layout and code is sort of broken. I don't code, but the theme is self-developed and I also don't remember changing anything about the site, except for adding the facebook pixel code in the . The Problem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57078478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python return value prints only one value from the object instead of all the values I have a Python file with two class A and B, and I am inheriting temp from class A to B. In my class A function temp, I am getting the id value from an XML file which has values like this,
[1,2,3,4,5]
My Class A with temp function ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50402694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cost Query with having and > I have the next query :
select code
from user
group by code
having
sum(case when name= 'A' then 1 end) >
sum(case when name= 'A' then 1 end)
If i check the cost of the query it says it's 180, but if I use '=' instead of >, the cost is 1 , so does anyone have any idea why ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51659738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the id format of field in a model? For example I have a field of customer IDs going from
1, 2, 3, 4, 5, ...
However I want to change the format to
010101, 010102, 010103, 010104, 010105, ...
As it display on my database and templates.
Is there any way of doing that?
I am using PostgreSQL version 12 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61822126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does "self-describing" in reference to Web Services really mean? I've heard a lot of buzz through the years about "Self Describing" web services and I'm curious what it means. I've flipped through the W3C standard and it doesn't really help.
I understand you can say "Give me this argument and call this function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3909761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is PGSQL not executing my index because of the ORDER BY clause? I have a rails query that looks like this:
Person.limit(10).unclaimed_people({})
def unclaimed_people(opts)
sub_query = where.not(name_id: nil)
if opts[:q].present?
query_with_email_or_name(sub_query, opts)
else
sub_query.group([:name_id,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45335203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PowerShell executing exe with arguments I wrote a PowerShell script to execute exe with arguments which has spaces but it keeps failing, not reading the full path.
$now = Get-Date -format "MM_dd_yyyy"
$onepath ="C:\Program Files (x86)\GoFileRoom\IWMUploadDocuments\logs\"
$scpath = "F:\Program Files\NSClient++\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52932956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS displaying elements when thumbnails are hovered over i am attempting to display images when the corresponding thumbnail is hover over using only css and am having trouble with the logic and don't know if it is even possible. i can do it in javascript if absolutely necessary.
Here is my latest attempt.
<div id='... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27218498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Apply type projection to a refined type Consider the following example:
trait T3
trait T2{
type TT4
type TT3 <: T3
}
trait T1{
type TT2 <: T2
}
now I want to write a function the roughly speaking looks as
def test[T <: T1](t: T#TT2{type TT4 = Int}#TT3) = println(t) //invalid syntax
which unfortunately is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66851577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add a folder Jetty will run a site from? I have Jetty running on an Oracle VBox VM (Win7) Guest. I need Jetty to run a site from a shared folder, so I can edit it on the host. How can I do that?
Edit: The site is HTML/JS, not a war file. I see from the docs I can copy a war to $JETTY_HOME. What I'm wondering ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44927903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA for altering PowerPoint 2003 Presentations- Active not new If I set up a template on PowerPoint slides, that contain all the text boxes I need, the what Visual Basic do I use to enter text that I want into those text boxes?
It is easier for me to use a template, because these ppt briefs contain (or need to conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1197239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to compound a series of consequential subscriptions in RxJS I have approach according to the below.
this.service1.info
.subscribe(a => this.service2.getDetails(a.id)
.subscribe(b => {
this.doStuff(b);
})
);
Recently, I noticed that we're going to have quite a few steps that gradually push more... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59446712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TransactionScope not rolling back although no complete() is called I'm using TransactionScope to rollback a transaction that fail
bool errorReported = false;
Action<ImportErrorLog> newErrorCallback = e =>
{
errorReported = true;
errorCallback(e);
};
using (var transaction = new TransactionScope())
{
for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30914358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: multiple pages are overlapping in ngx-extended-pdf-viewer I am using ngx-extended-pdf-viewer for my angular app and looks like multiple pdf pages are overlapping during viewing. here is my viewer code
<ngx-extended-pdf-viewer
*ngIf="isVisible"
[src]="pdfData"
useBrowserLocale="true"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71027596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: no sound in a push notification on Android(Ionic capacitor) I have a problem when i implemented a plugin PushNotification in capacitor, the problem is that when te phone receive a push notification don´t make any sound.
This is my code.
PushNotifications.addListener('pushNotificationReceived',
(notification: PushN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61990880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Pandas Regression Model Replacing Column Values I have a data frame "df" with columns "bedrooms", "bathrooms", "sqft_living", and "sqft_lot".
I want to create a regression model by filling the missing column values based on the values of the other columns. The missing value would be determined by observing the othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71878382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace all characters in a regex match with the same character in Vim I have a regex to replace a certain pattern with a certain string, where the string is built dynamically by repeating a certain character as many times as there are characters in the match.
For example, say I have the following substitution comma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7338794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Create menu in main layout like in action bar I want to know is it possible to create menu like this?
A: Most likely, your screenshot is of an ExpandableListView, or possibly a RecyclerView that uses a library to add expandable contents.
A: Yes, and it's called Expandable List View.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/45058261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.