text
stringlengths
15
59.8k
meta
dict
Q: Images (inside divs) stacking instead of being inline I'm trying to place a series of images on my website, and I want them to flow side by side and automatically wrap to the width of the container div. I made a separate div for each image, because I also need text to stay with each image. However, my image divs are...
{ "language": "en", "url": "https://stackoverflow.com/questions/16877493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure filebeat to read log files from multiple linux servers I need to know how to configure filebeat to read log files from multiple linux servers. I tried this for multiple windows computers and it works fine. Following is the used paths to access multiple log files from multiple windows computers in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/58601853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading the default namespace through Roslyn API Is there a way to read the default namespace setting from the IProject interface or any other Roslyn interface? I know that I can parse the project's file but I think this should be possible using Roslyn API but I cannot find how to do that. Thanks in advance for info...
{ "language": "en", "url": "https://stackoverflow.com/questions/15132175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Change ganache Owner Account in WEB3J from account[0] to account[1]or account[2] I'm looking for a way to change owner of the smart contracts in java web3j as we do in web3 javascript using from: getMetaskAccountID: function () { web3 = new Web3(App.web3Provider); // Retrieving accounts web...
{ "language": "en", "url": "https://stackoverflow.com/questions/73897199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL How to find which customer has rented the most films? I'm struggling with a question that said Which customer has rented the most films? I am doing this using the Seikila sample database in MySQL. I have something that joins my tables together and attempts to give me a count but I know its wrong just looking at ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60792314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: CSS: Overlay two images perfectly on all screen sizes I have two images. One is a picture that has rounded edges, the other is a picture of a round frame. I want to place the frame over the picture so that it looks like it is a single image. I am struggling with the CSS to do this because on different screen sizes,...
{ "language": "en", "url": "https://stackoverflow.com/questions/41956792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can we fliter data from header's TextInput on onChangeText in react native? I have custom header which has TextInput for searching in StackNavigator.How can i get result on onChangeText of TextInput on particular class, here is demo: const StackNavigator = createStackNavigator({ TABS: { screen: TabNav, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55016836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a as a new row using external css? I am new to stack overflow and I'm trying to make a mobile webpage from the existing desktop version webpage someone else created. Basically, I have to use same webpage for both mobile and desktop. For this specific page with table, I am trying to change the pattern of...
{ "language": "en", "url": "https://stackoverflow.com/questions/30942369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL Server : Join from multiple table references Forgive me for adding yet another JOIN question, but I've been stumped all day and haven't been able to find a good answer for this. I'm trying to join 4 tables, such that they look like below: QuarterID ReviewID SaleID PotentialID 1 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36024453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Finding the points of contact between two convex polygons Okay, so I am trying to create a simple 2d polygon physics engine for the experience. Here is what I already know (plus sources for those who want to find out: -How to determine if polygons are intersecting using the SAT method (http://elancev.name/oliver/2D%...
{ "language": "en", "url": "https://stackoverflow.com/questions/16074548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: -libraryjars has no effect on resulting apk, proguard using the tools dex2jar and Java Decompiler I examined two versions of an apk file that was built in eclipse with proguard enabled. One version of the apk was made with this command as part of proguard-project.txt file -libraryjars /libs/GraphView-3.1.1.jar ...
{ "language": "en", "url": "https://stackoverflow.com/questions/22475414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can an SKSpriteNode Object be Searched by Name I am creating a game using Apple's SpriteKit, and I am wondering what is the most efficient way to find an SKSpriteNode object after creating it. In one method I initialize a sprite node and assign a name to it: SKSpriteNode* playerBody = [SKSpriteNode spriteNodeWithIma...
{ "language": "en", "url": "https://stackoverflow.com/questions/24224180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python tuple duplication with * This works just fine and straight-forward: >>> ('a',) * 3 ('a', 'a', 'a') But I was experimenting with tuple a little and came across this: >>> 'a', * ('b', 'c') ('a', 'b', 'c') >>> ('a',) * ('b', 'c') Traceback (most recent call last): File "<pyshell#2>", line 1, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74129807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in google map loading I got this crash when Try to start any map activity .. this is my gradle dependencies: dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.jakewharton:butterknife:7.0.1' comp...
{ "language": "en", "url": "https://stackoverflow.com/questions/40435444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there an async-safe way to get the current thread ID in Linux? Is there any way to get the current thread ID from a signal handler in Linux? The getpid() method does what I want, but it is not clear if it is async-safe. man 7 signal provides a list of POSIX methods which are async safe, but this tells us nothing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/21743889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How Get xml content from xml Ip api and display it on webpage? I am using XML api of http://ip-api.com/docs/api:xml on my webpage to get information about a visiter visiting my website. following is the successful xml document returned from their api : <country>United Kingdom</country> <countryCode>UK</countryCode> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/31514556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trigger to enforce M-M relationship Suppose I have following schema : DEPARTMENT (DepartmentName, BudgetCode, OfficeNumber, Phone) EMPLOYEE (EmployeeNumber, FirstName, LastName, Department, Phone, Email) The problem am facing is how to design a system of triggers to enforce the M-M relationship.Assuming that depart...
{ "language": "en", "url": "https://stackoverflow.com/questions/31998789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove server from react-boilerplate How should one do to remove server folder from react-boilerplate? Question is also asked here by another person https://github.com/react-boilerplate/react-boilerplate/issues/2110. A: Removing just server folder will not work because the webpack dev configuration is utilising it...
{ "language": "en", "url": "https://stackoverflow.com/questions/53066145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Case Statement Block Level Declaration Space in C# Is there a reason I am missing that a block within a case statement isn't considered a block level declaration space? I keep getting an error (variable has already been declared) when I try case x: var someVariable = 42; break; case y: var someVariable = 40; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/1074589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: String [] to char Array using java I have a weird situation, am working on a Data base project that only gives me a string [] s = ["A","B","C","D"] and I wanted to change from string array to Char Array since it's a char but i dunno what function to use to convert the entire array to char with one line of code. char...
{ "language": "en", "url": "https://stackoverflow.com/questions/66573377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AWS NEXRAD and pyart grid_from_radars Can someone take a look at this code and help me debug? import numpy as np import pyart radar_data=[] RADAR_FILE = r'C:\Sourcecode\NEXRAD\KTLX20150506_235157_V06.gz' radar = pyart.io.read_nexrad_archive(RADAR_FILE) radar.fields['reflectivity']['data'][:, -10:] = np.ma....
{ "language": "en", "url": "https://stackoverflow.com/questions/57667416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: reading config file in python with ConfigParser I have used configparser to read configurations in my python written program . I am reading file from s3 for now , but my requirement is to configurations defined in the program itself rather than from any other external source . code written is below: config = configp...
{ "language": "en", "url": "https://stackoverflow.com/questions/64096449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reporting shadow prices from SimplexSolver I'm using the SimplexSolver class directly to solve a linear program, with AddRow, AddVariable and SetCoefficient. This works quite well. We need to come up with shadow prices now, and I don't see any way to access either the shadow prices or the simplex matrix. If I set Si...
{ "language": "en", "url": "https://stackoverflow.com/questions/27082503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display NSDates in terms of week Scenario: I have an expense tracking iOS Application and I am storing expenses from a expense detail view controller into a table view (with fetched results controller) that shows the list of expenses along with the category and amount and date. I do have a date attribute in my entit...
{ "language": "en", "url": "https://stackoverflow.com/questions/13303909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting a linechart entry label MPAndroidChart I have a line chart with entries that the user can click on via line chart.setOnChartValueSelectedListener. Is there a way that I can programmatically get the label of whichever entry is clicked? Or is there some other way of achieving this in my code? private void char...
{ "language": "en", "url": "https://stackoverflow.com/questions/48456982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: equivalent of __FUNCTION__ of C lanauage in Java For debug purpose, I want to print out current executing function name in Java. If it were C, I would just do printf("%s \n" ,__FUNCITON__). A: new Exception().getStackTrace()[0].getMethodName(); A: I'd use one of the logging frameworks (logback with slf4j is proba...
{ "language": "en", "url": "https://stackoverflow.com/questions/3183817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Google Script - get data from Gmail into Sheet I have been looking around here on SO and on Google, but I cannot find anything that is working. So when I am running my code below, I am getting the result on the image. I want to extract data from the newest/most recent thread in mails that have a specific label. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47417288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create gifs with images in Python Are there any APIs or libraries I can use to create a .gif out of .jpgs and .pngs? I'm looking for one that will work with Python 3. A: Try googling, there are a lot of answers for this question. Here are the top three when I looked Programmatically generate video or animat...
{ "language": "en", "url": "https://stackoverflow.com/questions/38444619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to connect Dialogflow (Api.ai) with Slack so that humans can monitor and possibly even intervene or add to the conversation via Slack? I know Dialogflow (Api.ai) can be a bot in Slack. But what about monitoring the conversation and possibly manually intervene in the conversation? If possible, what w...
{ "language": "en", "url": "https://stackoverflow.com/questions/47523029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Get recent nth set of data from tables with Group in SQL I have got a table like this Here as you can see there are different groups of data for different dates. (When we ignore the time part in the datetime there, we have groups of dates) So what I need is to take most recent from every group and from that result ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68561084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Huawei Mobile Services SDK violation Device and Network Abuse policy Your app contains content that doesn’t comply with the Device and Network Abuse policy. We found your app is using a non-compliant version of Huawei Mobile Services SDK which contains code to download or install applications from unknown sources o...
{ "language": "en", "url": "https://stackoverflow.com/questions/71508566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "36" }
Q: Show another button when using "commitEditingStyle" in a UITableView datasource I want to show an "Edit" button below the default "Delete" button that shows up with a swipe gesture on a cell when you implement "commitEditingStyle" on the table's datasource. Is this possible by only implementing "commitEditingStyle" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10815550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET how to make slider for table? I have an ASP.NET table that gets lots of rows put into it. I want to have a slider to view more rows instead of making my page extremely long. This seemed like a basic task, but I cannot find any way to do this... I would love to hear any ideas! To be clear, my question is: h...
{ "language": "en", "url": "https://stackoverflow.com/questions/17555479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Difference between wic and hddimg format in yocto I have generated a core-image-minimal image for my Intel board in Yocto. Looking into tmp/deploy/images folder they are many images. I flashed *.wic image using dd command on USB and it created two partitions ( Boot and Platform ) and allowed only to perform a live b...
{ "language": "en", "url": "https://stackoverflow.com/questions/49527057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: How can I add cookies to Seaside responses without redirecting? I'm making a small web application in Seaside. I have a login component, and after the user logs in I want to send along a cookie when the next component renders itself. Is there a way to get at the object handling the response so I can add something to...
{ "language": "en", "url": "https://stackoverflow.com/questions/88306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: SymbolSource Nightmare So after hours of jumping through hoops, I have gotten SymbolSource running except I am unable to push any packages. The error I am getting now is: Response status code does not indicate success: 418 (Reading package metadata failed: The schema version of 'MyNugetPackage' is incompatible wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/39521705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Print 2 arrays into a CSV file with javascript I was following the mentioned question and this one: JavaScript array to CSV Trying to print 2 arrays in columns A and B which i can turn into a string separated by comas"," which ever is more easy to do but i just can´t get it to work with the examples available. My ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/51037826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is this C program returning correct value in VC++2008? We know that automatic variables are destroyed upon the return of the function. Then, why is this C program returning correct value? #include <stdio.h> #include <process.h> int * ReturningPointer() { int myInteger = 99; int * ptrToMyInteger = &myI...
{ "language": "en", "url": "https://stackoverflow.com/questions/8455822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Code to define biological and technical replicate samples (brain twister) In my expression dataset I have various kinds or replicates, biological and technical. A biological replicate I consider if the same person was sampled at different dates. A technical replicate I consider if a sample was taken from the same pe...
{ "language": "en", "url": "https://stackoverflow.com/questions/54691987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# Tuple list inside class inside class not set to instance of object I'm trying to use a tuple list inside a custom class that wraps some methods from mutliple classes inside a game. I'm getting an 'object reference not set to instance of object error' just after the "ENTERED ADD METHOD A-1" is displayed in the cos...
{ "language": "en", "url": "https://stackoverflow.com/questions/23464243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Live lock on Linux UNIX socket, what to do? We operate an Linux application that forks a large number (more than 1000) of child processes. These child processes communicate with master process over UNIX datagram socket (one shared among all child processes). The UNIX datagram socket is used besides other communicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/44569015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Combine Google_Org_Chart with Mysql Im all new at PHP.. i have a task to make an organizational chart (just like google chart) but it is rendered from mysql, just like as follows org chart and this is my database: sql here is code from google chart.. ` <!-- You are free to copy and use this sample i...
{ "language": "en", "url": "https://stackoverflow.com/questions/17718321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Google Website Optimizer Validation Warning I have been using Google website optimizer(GWO) to run a multivariate test on my web page. When I either do offline or online validation, I receive a warning stating there is multiple occurrences of my page sections. For example, if one of my page sections was Description ...
{ "language": "en", "url": "https://stackoverflow.com/questions/3269278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Batch API, inviting friends I'm trying to invite all fans of a page to a facebook event using the batch API. It's the first time I'm using this API, and at this time I have nothing to test this part of code... can someone tell me how to test without using a real page, with real fans... or tell me if it looks correct...
{ "language": "en", "url": "https://stackoverflow.com/questions/12979957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I stop my program from jumping to a different if-Statement after receiving an invalid input? I´m new to Stackoverflow and to Python. As my first own program I wrote a text game where you enter (a) or (b) and decide this way which decision your character makes. Its working out quite well, but I have one proble...
{ "language": "en", "url": "https://stackoverflow.com/questions/64248824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: why the kill function does not work in linux Possible Duplicate: Child process receives parent’s SIGINT the is my code in below The function is after the father receive the signal of CTRL-C. the father process send signal to son1 and son2; after the son1 and son2 exit, the father process exit; but the result doe...
{ "language": "en", "url": "https://stackoverflow.com/questions/14126305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Hybris Backoffice update with ant updatesystem I want to update backoffice with ant updatesystem, I'm doing it this way: ant updatesystem -DconfigFile=configWithBackofficeExt.json For example - I have "Administration" and "MyWidget" widgets, I want to remove "Product Cockpit", so I remove config from *extension-b...
{ "language": "en", "url": "https://stackoverflow.com/questions/48385903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: google tag manager v2 basic configuration I'm not getting hits on google analytics I'm working on a cordova/phonegap project. I'm using a plugin for GTM that allows me to track events. The problem is that I'm not getting hits on google analytics. According with the developer it's working fine, and from my testing, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30582680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What should be the lucene indexing and searching strategy for providing search capabilities to end user over set of unrelated business objects? I want to provide ability to end user to do a free form search over all business objects. The user will provide Lucene search expression. The business objects are completely...
{ "language": "en", "url": "https://stackoverflow.com/questions/14100211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SetInterval several elements at the same time Jquery I have this code, It appends comments after clicking on comment button. (the php processes via other function).... I want to simulate that every comment was posted at certain time, and the set interval after a while work independently with each li appendend. PROBL...
{ "language": "en", "url": "https://stackoverflow.com/questions/49330351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Objective c UIlabel is hang for a while when API is called As title, when users click a button as many times as they want, the uilabel will be updated to the number and the app will call an api to post the number to the server. Everything works fine except when the api is being called, the uilabel will hang for 2 - ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41948811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Animation in iOS 14 widget I can't find solution to implement kind of ProgressBar in Widget. I see, that Text component should be changed if has type .timer for example. I see default widget Clock, with nice animation of moving arrow. But am I able to implement custom animation in widget? A: According to a Framewor...
{ "language": "en", "url": "https://stackoverflow.com/questions/64501754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: scope of variable in nodejs inside a function How to scope datat ? Here datat is empty. And i would like to put data in a var so i can use it outside the function. var datat; twit.search('#louieck', {include_entities:true,page:paget,maxid:maxidt}, function(data) { // and output to the console: datat = data; }); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/15570142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create mutation between related types in GraphQL I'm using GraphQL to try to create a record that has a relation to another type. The types are Task and Day datamodel.graphql: type Task { id: ID! @unique content: String! completed: Boolean! dateToDo: Day! } type Day { id: ID! @unique content: String! ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54222787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: why doesn't std::remove_copy_if() actually remove? Could this be the worst named function in the STL? (rhetorical question) std::remove_copy_if() doesn't actually appear to do any removing. As best I can tell, it behaves more like copy_if_not. The negation is a bit confusing, but can be worked around with std::not1(...
{ "language": "en", "url": "https://stackoverflow.com/questions/11928115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "23" }
Q: Retrieve correct data from Core Data? I have a REST API and I want to save the responses with Core Data. I was trying to implement DATAStack and Sync but I can't understand how they work. I know I can save an object into Core Data and retrieve them. But I don't find how to retrieve the objects related to an specific...
{ "language": "en", "url": "https://stackoverflow.com/questions/34397105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Load data from SQL file to Realm Is it possible to have a SQL file inside Swift project where Realm database will import data as soon as project will be executed? I want to use a 30MB+ file of data... and don't want to download it all from a JSON API. A: Why not bundle a prebuilt Realm file as part of your applicat...
{ "language": "en", "url": "https://stackoverflow.com/questions/39253223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting a Pandas datetime index on a DataFrame object to *MultiIndex* with the levels "month" and "year" Say I have a table of data with monthly datetime indices (the following code gives two years, january through december): import pandas as pd import numpy as np from datetime import datetime N = 12*2 c = [datet...
{ "language": "en", "url": "https://stackoverflow.com/questions/42640166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MediaPlayer audio doesn't stop immediately when stop() is called A button has onClickMethod openTheLock() which makes an ImageView visible and starts an audio. On tapping on the ImageView it disappears and the audio stops. Audio is initialized in onCreate(). The problem is the audio doesn't stop immediately when the...
{ "language": "en", "url": "https://stackoverflow.com/questions/20004818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Contact form using nodemailer is not working I have created a contact form and trying to use nodemailer to send the message to my email, but not sure where is the issue. I created a server.js and put it in the main folder while Mailer.js that contain the form in components I am not sure how the server know that I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/68369981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: c# html - hide kendo grid when empty I have the following Kendo grid in my html code and am trying to hide it if there is no data. I am confused on how to do this since I am using a datasource and not iterating through something to add data. @(Html.Kendo().Grid<CustomerQuickHistory>() .Name("Trans...
{ "language": "en", "url": "https://stackoverflow.com/questions/35440681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to download receipt and invoice from stripe through my site I am using stripe from payment. After payment using invoice id how can i download receipt and invoice from my site
{ "language": "en", "url": "https://stackoverflow.com/questions/49974911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not able to install J2OBJC using terminal I have download the J2OBJC version and while running the command on terminal A:j2objc-master $ make dist I am getting below error building j2objc jar javac: invalid source release: 1.8 Usage: javac use -help for a list of possible options make[1]: * [/Users/Downloads/j2obj...
{ "language": "en", "url": "https://stackoverflow.com/questions/45468200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 503 Error After Microsoft Request Routing Is Installed - 32 bit 64 bit madness I have a requirement to install the Microsoft Request Routing component for IIS 7.5 running on a Windows 2008 R2 SP1 64Bit machine. After installing Microsoft Request Routing via the Web Platform installer our ASP.NET 4.0 application gets...
{ "language": "en", "url": "https://stackoverflow.com/questions/12302847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: find common files between two directories - exclude file extension I have two directories with files that end in two different extensions: Folder A called profile (1204 FILES) file.fasta.profile file1.fasta.profile file2.fasta.profile Folder B called dssp (1348 FILES) file.dssp file1.dssp file2.dssp file3.dssp #...
{ "language": "en", "url": "https://stackoverflow.com/questions/72179324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Should I prevent branching if there will be perfect pattern so prediction should be good? My question is very much related to this question but something remained unclear for me after reading that question and very good answer. So as I understand it, the processor executing the code makes a branch prediction such th...
{ "language": "en", "url": "https://stackoverflow.com/questions/66545718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rust serde deserialize dynamic trait I have a recursive data structure in my pet-project: (this is a simplified example) pub trait Condition { fn validate(&self, s: &str) -> bool; } pub struct Equal { ref_val: String, } impl Condition for Equal { fn validate(&self, s: &str) -> bool { self.ref_val ==...
{ "language": "en", "url": "https://stackoverflow.com/questions/75413768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Does dependency injection (in NestJS, for example) depends on TypeScript features? When applying the dependency injection pattern in NestJS, like in this example from the documentation: import { Controller, Get, Post, Body } from '@nestjs/common'; import { CreateCatDto } from './dto/create-cat.dto'; import { CatsSer...
{ "language": "en", "url": "https://stackoverflow.com/questions/65807414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Assigning to a quosure in R / dplyr / rlang Within a function, I want to update-in-place the values of columns specified by the user, where the user specified column names are captured via enquo(). So, here's a simplified example: f1 <- function(df, x, y) { x <- enquo(x) y <- enquo(y) df %>% mut...
{ "language": "en", "url": "https://stackoverflow.com/questions/50050783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why my key commands are not working My issue is that my javascript is not seeing when i push my key down to move the object on the screen. So here is my java script code: var canvas = document.getElementById("maincanvas"); var context = canvas.getContext("2d"); var keys = []; var width = 500, height = 400, spe...
{ "language": "en", "url": "https://stackoverflow.com/questions/37126563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How React rerenders tree, if both parent and child components are dependent from one Redux store prop? I have Layout component, which checks if a user is logged in. It simply examines user prop in Redux store. If it is, it renders children, otherwise Login. * *Layout.jsx const Layout = ({ user, children }) => { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47631930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error MSB3073 when creating a Monogame C# project in Visual Studio 2019 So I'm trying to simply create a new Monogame project in Visual Studio 2019 with C#, and every time I create a new project, the following error appears: Error MSB3073 - The command "dotnet C:\Users\<name>\.nuget\packages\monogame.content.builder...
{ "language": "en", "url": "https://stackoverflow.com/questions/65752265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: webpack -- how to include nodejs module for js/jsx in non-current directory Trying to include a npm module in my jsx. My dir structure is something like: app/ node_modules/ webpack.config.json package.json main.js react/ myreact1.jsx myreact2.jsx Note: purposely do not want a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/41784512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: JsnLog error posting in angular 4 with elmah at server side We are using Asp.net Web API 2 - Server side Angular 4 in client side (angular-cli) We have integrated Elmah on the server side for error handling. We have integrated Jsnlog in the client side. Our angular released version is hosted in http://ng.local.com ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46258110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Freeing map of struct I am working with a very large map of pointer to struct. It is growing over the lifetime of the program (I use it as a buffer) and I wrote a function that is supposed to reduce it size when it is called. type S struct { a uint32 b []uint32 } s := make(map[uint32]*S) for k, v := range s { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56728142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Add Web Interface to existing Project I tried to understand this several times allready, but still have not found out how this should be done. I want to create a web interface for some existing console or swing application. Something like the web interface SABNzb offers (I know, it's Python – it's just an example). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26777222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: not able to match code between two comments, mutiple times I want to get content between two comments in some file. like a file x #user code alert(""); alert(""); #user code { === ==== } #user code alert("as"); alert("as"); #user code i am using this regex pattern to match final Pattern pat = Pattern.compile("...
{ "language": "en", "url": "https://stackoverflow.com/questions/13638860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Snakemake container for htslib (bgzip + tabix) I have a pipeline which uses a global singularity image and rule-based conda wrappers. However, some of the tools don't have wrappers (i.e. htslib's bgzip and tabix). Now I need to learn how to run jobs in containers. In the official documentation link it say...
{ "language": "en", "url": "https://stackoverflow.com/questions/64050974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AngularJS form gets pristine but still submitted According to the source of AngularJS (1.3.15), the FormController's method $setPristine() resets the forms $submitted status to false: form.$setPristine = function() { $animate.setClass(element, PRISTINE_CLASS, DIRTY_CLASS + ' ' + SUBMITTED_CLASS); form.$dir...
{ "language": "en", "url": "https://stackoverflow.com/questions/29549821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MySQL if value exists select else insert What is the most efficient mysql query to SELECT from a table IF a value already exists ELSE INSERT? I have already tried several options but can't find something that works for me. A: I'm new to Stackoverflow and dont know how to tag a question as duplicate. But i think the...
{ "language": "en", "url": "https://stackoverflow.com/questions/28990506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reattempt to pay a subscription that payment method failed with another payment method? I'm using stripe to subscribe, so I have this issue. When I subscribe and the card does not have sufficient funds, the subscription object is created So my question is how can I reattempt to pay the subscription that I jus...
{ "language": "en", "url": "https://stackoverflow.com/questions/64165905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Incorrect behavior of a pointer in function in C I have a problem with the following program. The main function calls the function returnArrayOfWords(arrS1, &ptrArray1) twice. On the first call, the array is parsed perfectly, and afterward the pointer always points to the first word. On the other hand, after the se...
{ "language": "en", "url": "https://stackoverflow.com/questions/37577500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: JQuery nested each loops with ajax calls and promises? Context - My page dynamically loads a lot of div containers within which there are either 1 or 2 images loaded but hidden. Once all hidden images are loaded (I'm using the waitForImages JQuery plugin to ensure this) I loop through each container and through each...
{ "language": "en", "url": "https://stackoverflow.com/questions/25817865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot Write to Access database from azure datafactory I'm trying to export data from an Azure SQL Database to an MS Access database using Data Factory, ODBC, and ADF's Integration Runtime. I’ve been able to register the destination Access database in ADF using the documented process of setting up a “self-hosted” I...
{ "language": "en", "url": "https://stackoverflow.com/questions/57435705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how to programmatically access buffer in dos command window? I used the word "programmatically" but I'm not sure it's the right one... I'll try to explain the question with an example if I do: dir /S/B | find "something" and I receive 10 different file than I would like, instead of copy and paste, just to type de...
{ "language": "en", "url": "https://stackoverflow.com/questions/27285198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RStudio Crashes When Plotting For some reason, R keeps getting stuck whenever I try to plot something. Neither ggplot or base R is working, and I've tried this in both RStudio and R. I do not receive an error message, but when I run code like the code below, the command just runs endlessly and I end up having to ter...
{ "language": "en", "url": "https://stackoverflow.com/questions/75140864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find duplicates documents? It's very strange that I did not find answer in documentation and here for a very simple question. How to find duplicated records in collections. For example I need to find duplicated by id for next documents: {"id": 1, name: "Mike"}, {"id": 2, name: "Jow"}, {"id": 3, name: "Piter"}...
{ "language": "en", "url": "https://stackoverflow.com/questions/62655714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Ionic v2 + CORS Preflight Access-Control-Allow-Methods Having issues communicating with an external API via ionic serve and ionic run -l, essentially anything that uses a localserver. I've followed the guide @ http://blog.ionic.io/handling-cors-issues-in-ionic/, which provides an option for handling the issue in Ion...
{ "language": "en", "url": "https://stackoverflow.com/questions/41687235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically created content is updating "a step behind" on button click So I am creating a simple question/answer format and having an issue when submitting an answer. I dynamically create divs/buttons/textboxs from the database via a "RenderQuestions()" function. This creates a list of questions and answer textbox/...
{ "language": "en", "url": "https://stackoverflow.com/questions/18028539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Perform Animation in Matplotlib alongside a Thread? I would like to change the circle color every 0.25 seconds through a thread, and showing the result live through matplotlib animation. Here is my code (I don't even understand why the animation is not performed): import threading import time import matplotl...
{ "language": "en", "url": "https://stackoverflow.com/questions/55443690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Easily Change the .contains() method in the Collections interface in Java for Asserting Equality I'm wondering if there is a way to easily modify the ".contains()" method in the List interface in Java without creating a custom class. For example: When dealing with a collection of arrays in java, the .contains() meth...
{ "language": "en", "url": "https://stackoverflow.com/questions/61426668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Two Jquery for the same input box I am trying to limit the box to 8 words, But also replace Space with "comma Space" Can someone advise how I can do this please, I can either get the word count working or the space replace working, but not both. Thank you Here is my HTML <input name="input_4" type="text" id="input...
{ "language": "en", "url": "https://stackoverflow.com/questions/47127733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What triggers extensions to say "Use this extension by clicking on this icon" Afte completing the installation some Chrome extensions say "Use this extension by clicking on this icon": Others don't: My extension doesn't have this line, but I want it to have it. What's triggering this? Any hints are greatly appreci...
{ "language": "en", "url": "https://stackoverflow.com/questions/69608442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: To play Youtube Video in iOS app I want to play youtube videos in my iOS App. I searched for that but the only solution I found is to embed youtube videos in the iOS app, in which video plays in webview, so in that, we can scroll and also play other videos which are in suggestion. I don't want to play video in webvi...
{ "language": "en", "url": "https://stackoverflow.com/questions/44499332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: css a tag didn't go to the right Please enlarge the html view width to see my point. I have used the a tag in for places (as you see), just in two of them the a tag goes to the right but in two of them the a tag didn't. The ID is DropdownSeviceLinkAvgWaitingTime and DropdownSeviceLinkQueuedCalls. I tried to give flo...
{ "language": "en", "url": "https://stackoverflow.com/questions/25144187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reindex pandas DataFrame to fill missing dates I have daily data in the pandas DataFrame df with certain days missing (e.g. 1980-12-25 below). I would like to reindex the DataFrame to add those dates with NaN values. date close None 0 1980-12-12 28.75 1 1980-12-15 27.25 2 198...
{ "language": "en", "url": "https://stackoverflow.com/questions/45145276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how to capture the data sent by alloy ui io request in serveresource method? Getting blank values for title and description in serveResource method.Is this the right way to send the parameters from io request? After inserting blank values in database I have to reload the page to see the inserted values?So io-request...
{ "language": "en", "url": "https://stackoverflow.com/questions/25052479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Horizontal orientation of DataGrid in Silverlight 4 I want to change the orientation of the datagrid to horizontal in Silverlight 4. In other words, I want to display the headers on the left hand side and the values corresponding to it on right hand side. How can I do it? A: The DataGrid does not support horizontal...
{ "language": "en", "url": "https://stackoverflow.com/questions/2875379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: IBInspectable property values not updating in xib I'm running into a minor complication using IBInspectable properties and not sure if it might have something to do with my xibs and xib usage. I'm trying to reuse a custom control between multiple view controllers. The control is a custom tab manager: The IBInspect...
{ "language": "en", "url": "https://stackoverflow.com/questions/36075095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linq - In memory join vs EF Join Using EF 6 and SQL 2014. Assuming you have a well indexed and normalized DB. Is it 'better' to pull entities into memory then perform the join on the IEnumerables or let EF do join via IQueryable? By better -> faster execution time, less reads on DB, Mem usage. Example in memory: us...
{ "language": "en", "url": "https://stackoverflow.com/questions/51977336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }