text
stringlengths
15
59.8k
meta
dict
Q: Entity Framework doesn't delete children, instead sets references to null I have the following situation: First the only relevant table/class (all auto generated from DB (MySQL)): The relevant part of the edmx file: <Association Name="navigationitem_ibfk_1"> <End Role="navigationitem" Type="Model.Store.n...
{ "language": "en", "url": "https://stackoverflow.com/questions/12859481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to test angular2 app who implements jquery library I have an angular2 components who encapsulate some jquery library (timelineJS3). All works well, but i need write tests. Specifically i want listen click events. To do this i used Renderer2. But it's doesn't work properly with karma. See my code in plunkr https:...
{ "language": "en", "url": "https://stackoverflow.com/questions/45574314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python script waiting for some program being launched and then starting another program. (Windows) I would like to write a python script that will finally be converted to .exe (with pyinstaller lets say) and added to windows startup applications list. This program (once launched) should 'monitor' user and wait unti...
{ "language": "en", "url": "https://stackoverflow.com/questions/35337398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to Save Shared Preference Value in ClearData Application?[Android] In clear Data Android, Shared Preference is clear. I don't want it clear. A: If you clear the app data, shared preferences will also be cleared, you have to store in your database or cloud. A: there is a trick for that, it is not a normal way b...
{ "language": "en", "url": "https://stackoverflow.com/questions/44786874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Django image doesn't show up in template I bought bootstrap theme and tried to apply it on my django project. I almost done with it(css, js) except image files. This is what it looks like : Left one is my django project's view, right one is downloaded-source itself. As you can see here, css, js work well but only ...
{ "language": "en", "url": "https://stackoverflow.com/questions/38710625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why so many errors are occuring in building the addon? I am unable to resolve these errors and also can't understand their cause.Can anybody help?I have also refreshed dependencies, it is occuring after that too. I uninstall and then installed g1ant from manage nutmeg package still I am facing this error. A: First ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62661238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Stop TableView cell UIImage resizing in iOS I have a standard (i.e. not a custom) TableView cell with text and images, the problem is my images are different sizes and I want to put them in as something like UIViewContentModeScaleAspectFill. I simply want the UIImage to be 54x54 and not resizes all the time - I jus...
{ "language": "en", "url": "https://stackoverflow.com/questions/18728224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I send datas from web page to serial port of visitor's computer? Possible Duplicate: How can I send data from a web page to a serial port? Is sending data from PHP web page to one of the serial ports of visitor's computer possible or not? If it is yes, how? If it is not, basicly, I want to write a client ...
{ "language": "en", "url": "https://stackoverflow.com/questions/14148981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to trigger a DataStage job once a SQL server job has completed? Currently there is a job in SQL server that is scheduled to runs several times a day. The SQL Job builds a file for the DataStage job that is scheduled shortly after the SQL server job, problem being that if the SQL job hasn't finished building the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53535842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with JQuery Image Bubbles in IE I am trying to implement Jquery Image Bubbles as shown here: http://www.dynamicdrive.com/dynamicindex4/imagebubbles.htm However Im receiving a JavaScript error in my Fiddle: http://jsfiddle.net/NinjaSk8ter/hbMzV/ It was determined that loading the JavaScript file from the dynami...
{ "language": "en", "url": "https://stackoverflow.com/questions/10113117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pixel-wise like assignment In Matlab Is there any good way to assignment some masked pixels with the same color except for-loop? %% pick a color cl = uisetcolor; %1-by-3 vector im = ones(3, 3, 3) / 2; % gray image mask = rand(3, 3); mask_idx = mask > 0.5; % create a mask %% Something like this im(mask_idx, :) =...
{ "language": "en", "url": "https://stackoverflow.com/questions/17586429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Filtering out the outdated items from table my application is built using ruby on rails, backed by mysql DB It has 2 tables(models) - product(id, name, created_at, updated_at, etc.) and product_details(id, product_type, product_id, expires_on, created_at, updated_at, etc.) (connected by product ID column). I need to...
{ "language": "en", "url": "https://stackoverflow.com/questions/51064894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assign name to other rows upon group condition I have a dataset which is of following nature. I would like to replace the names in "MAKE" column if the column contains "PQR" per unique country. country MAKE 1 USA PQR 2 USA ABC 3 UK PQR 4 UK DEF 5 JPN DEF 6 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/52984161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: QtWebView VS D3.js So, I have this school project I'm doing and I needed a visualization tool for the results of some of the processing being done by the software I'm developing. Since I'm using Qt for the software, I thought of using D3.js on top of a QtWebView widget. I'm currently testing with the Qt "Fancy brows...
{ "language": "en", "url": "https://stackoverflow.com/questions/16079674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to create "upload image " to registration form? I'm creating a website on wordpress. I wanted to add "upload image" part and after people registered, I'll check the image and if it's true image, I'll accept the registration. Like spotify. Spotify wants student certificate to be sure and if it’s right, after that...
{ "language": "en", "url": "https://stackoverflow.com/questions/65982576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP - Regex : I need help to build regex according these rules I need help building a regular expression for preg_match according these rules: * *first and last char- letter/digit only. *empty space not allowed *char can be only - letter/digit/'-'/'_'/'.' Legal examples: * *b.t612_rt *rut-be *rut7565 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/4875659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: json_encode will not encode more than 6670 rows Someone else had this issue back in '07, but it was not answered: in PHP, json_encode($someArray) silently fails (returns null) if the array has more than 6,670 rows. Does someone have a workaround. Limiting the size of the array to 6600, for example produces the ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/41817056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Trigger event only on specific div when mouse is over I have six list items and I want to animate the single item only on mouse over. This is my snippet: <li> <div class="overview top_out">Eye</div> <div class="link bottom_out">link</div> <div class="image"></div> </li> <li> <div class="overvie...
{ "language": "en", "url": "https://stackoverflow.com/questions/28972823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Silex security configuration I'm struggling with silex security: I have the following: $app->register(new Silex\Provider\SecurityServiceProvider()); and later on : $app['security.firewalls'] = array( 'admin' => array( 'pattern' => '^/admin', 'http' => true, 'users' => array( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40651436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel Macro - hide comment after edit I have this for entering a comment on a excel worksheet when user insert C or P, and I need to hide the comment after edit. Private Sub Worksheet_Change(ByVal Target As Range) Dim KeyCells As Range Set KeyCells = Range("A1:S1000") If Not Application.Intersect(KeyC...
{ "language": "en", "url": "https://stackoverflow.com/questions/14221932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Display one piece of a multidimensional array while entering another from a form? I need to be able to enter a String value, and have it input the id to that row on a table. I'm trying to get something like a select tag in HTML to work in Ruby. However I need it to programmatically change when new rows are added to...
{ "language": "en", "url": "https://stackoverflow.com/questions/31928179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding API key auth to existing API If we have a .NET API currently validating users through B2C flows on azure where the API validates the token from the FE with B2C. How could we implement functionality for daemons to consume the API as well if there is no user interaction to get a key from b2c? I believe this is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71203390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dojo datagrid event attach issue I am working with IBM Content Navigator 2.0.3, that uses DOJO 1.8 for the GUI development. I am new in dojo, and I have to enhance one of the forms: add an event handler to the dataGrid so when the row of the grid is selected one of the buttons become enabled. dataGrid described in H...
{ "language": "en", "url": "https://stackoverflow.com/questions/37181933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android remove window background when it's not shown? I was watching Romain Guy's video(23:27) about how to make android's UI fast and efficient and I discovered that the window background is always redrawn, even if it can't be seen. However, as it's an old video, I'd like to know if this problem has been addressed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23429593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Aggregate series from DataFrame based on specific conditions I have the following data structure: sls srx stx hostname m @timestamp 0 1 21.1 389.2 A dev 2021-03-05 05:00:00.112965476+00:00 1 0 0.0 352.4 A dev 2021-03-05 05:00:00.263778044+...
{ "language": "en", "url": "https://stackoverflow.com/questions/66539577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mongodb: use $sample after $group I have the following data set: {company:"One", employee:"John"}, {company:"One", employee:"Mike"}, {company:"One", employee:"Donald"}, {company:"One", employee:"Mickey"}, {company:"Two", employee:"Johnny"}, {company:"Two", employee:"David"}, Ideally, I want a query t...
{ "language": "en", "url": "https://stackoverflow.com/questions/35311956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: can't enable windows authentication in IIS I've disabled anonymous authentication and I've enabled Windows authentication on my website in IIS 7. Now, when I browse to the website (http://webserver), Internet Explorer keeps prompting me for a username/password. Since I'm on the intranet, IE should pass on my creden...
{ "language": "en", "url": "https://stackoverflow.com/questions/10216571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Plone/Paster - What could cause "paster addcontent dexterity_content" to not work? I'm trying to use paster to create a dexterity content type. I did a new standalone installation of Plone 4.3.4 in a target folder that's different from the one I was previously working with so it was buildout-cache would be clean. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/32594231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to create groups of N elements from a PCollection Apache Beam Python I am trying to accomplish something like this: Batch PCollection in Beam/Dataflow The answer in the above link is in Java, whereas the language I'm working with is Python. Thus, I require some help getting a similar construction. Specifically I...
{ "language": "en", "url": "https://stackoverflow.com/questions/49495336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Adobe SiteCatalyst:How to export the groups with list of usernames and report suite i am working on Adobe SiteCatalyst. i am able to download the groups with column names Group Name,Description,Users and Report Suites. In above list am getting count of users and report suites.but i need a exact name instead of count...
{ "language": "en", "url": "https://stackoverflow.com/questions/20612770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fluent Validation C# Unique Id in collection I have an entity that has a nested collection as a property which I will receive from a front-end application. I just want to make sure that each item in this collection(ICollection ChildClassCollection) has a unique Id within the model I have received. I am using FluentV...
{ "language": "en", "url": "https://stackoverflow.com/questions/67113427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storing information from php script I m working on an html page that contains a form allowing users to enter their informations and upload files. all informations will be inserted in Mysql database. in Javascript, im using XMLHttpRequest to send the files to the server and "upload.php" to rename (to avoid dupplica...
{ "language": "en", "url": "https://stackoverflow.com/questions/39858136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: NSMetadataQuery doesn't send a notification when finished (or doesn't finish) I'm trying to access some files stored in the application's documents directory by using an NSMetadataQuery but the NSMetadataQueryDidFinishGatheringNotification doesn't notify my application. I found this question but the answer was to ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/10875387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Pass dynamic content to bootstrap modal 3.2 What i'm trying to do is to pass the data-id value to an external link via JQuery ajax. The modal will show up but the data-id attribute is not sending to the external link. I think something is wrong with my Jquery script. But i can't find it. This is my link: <a href="ja...
{ "language": "en", "url": "https://stackoverflow.com/questions/26517605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Can't make 2 buttons play 2 different songs on my HTML Firstly, I'm super (SUPER) new to coding in general. I'm doing a college project for a site, and I wanted to make a certain page have 2 buttons that play songs, 2 different versions, one for each button. I copied the code from stack overflow, can't remember whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/74567529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript es6 - is it reassigning or a parameter? Can someone please explain what's happening here? I know these are middleware for express, I'm looking at the syntax. I understand the es6 syntax for mustBeLoggedIn but I'm not sure what const forbidden = message => (req, res, next) => { is doing. Is message anothe...
{ "language": "en", "url": "https://stackoverflow.com/questions/42407039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to fetch file type data (image) on JQuery page and send to PHP page for image upload I want to upload an image using jQuery asynchronously with data... but cannot upload it... Only data variables can be fetch there in process page but cannot get the image file using $_FILES...... img_upload.php <form name="frm"...
{ "language": "en", "url": "https://stackoverflow.com/questions/38264663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I continue to perform aggregation on a single thread that has polling? I create a flow, which polls rows from database by status, validate them and after that aggregate to collection. After processing the entire flow, each line is set to the appropriate status. But when I use aggregator with release strategy ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55829708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handle arrays in laravel I am learning laravel and trying to create a community with laravel. I stuck at some part and need to ask you guys. Right now I am trying to displaying posts to reader. This is what i accomplish so far with this code : public $restful = true; public function get_index($title = '') { /...
{ "language": "en", "url": "https://stackoverflow.com/questions/14281153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to revert multiple pull request merges all at once and preserve history I have a case where the Github repo master currently has a series of individual pull requests that have already been merged into master. I want to revert say the last 20 of those pull request merges but do it from the command line and preser...
{ "language": "en", "url": "https://stackoverflow.com/questions/60766114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: What is the context for `this` in Node.js when run as a script? From the node REPL: $ node > var x = 50 > console.log(x) 50 > console.log(this.x) 50 > console.log(this === global) true Everything makes sense. However, when I have a script: $ cat test_this.js var x = 50; console.log(x); console.log(this.x); console...
{ "language": "en", "url": "https://stackoverflow.com/questions/28018925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Twilio : Calculating estimated wait time in multi queue multi server system I have a system that has multiple queues, whenever a user calls if no agent is available it will wait in the queue. The queue has multiple filters which separates the agent based on their skills. I want to calculate the estimated wait time f...
{ "language": "en", "url": "https://stackoverflow.com/questions/74158650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REACT_APP_VERSION=$npm_package_version not working on build with Webpack I have a React app, initialized with CRA. on my .env file I have the following env variable, to access on my application the version of the package.json file: REACT_APP_VERSION=$npm_package_version When I use nom run build with react-scripts bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/71027432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Css needed to highlight common words in a table I came across this page on slate.com that highlights similar words in a table when you hover over one instance: http://www.slate.com/blogs/lexicon_valley/2013/09/11/top_swear_words_most_popular_curse_words_on_facebook.html Does anyone know how this is done? A: You can...
{ "language": "en", "url": "https://stackoverflow.com/questions/18764032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Vue radio button v-if with v-model I am very new to html and vue, and trying to create radio button. I use local JSON file which is being used for creating UI. I loop through JSON object and create radio buttons accordingly. I used "defaultedOptionId" to find which one to be checked as default. Here is my JSON: { "i...
{ "language": "en", "url": "https://stackoverflow.com/questions/59215904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Comparison of serializing methods Possible Duplicate: Fastest serializer and deserializer with lowest memory footprint in C#? I'm using BinaryFormatter class to serialize an structure or a class. (after serialization, I'm going to encrypt the serialized file before saving. (And of course decrypt it before deseria...
{ "language": "en", "url": "https://stackoverflow.com/questions/8629930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Looking for jQuery find(..) method that includes the current node The jQuery find(..) traversal method doesn't include the current node - it starts with the children of the current node. What is the best way to call a find operation that includes the current node in its matching algorithm? Looking through the docs...
{ "language": "en", "url": "https://stackoverflow.com/questions/2828019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "151" }
Q: Kendo Grid plumbing I'm trying to get the Kendo UI grid connected in my MVC3 app, but I'm not getting any data displaying. I think it should be simple, but I'm not seeing it. Here is my code: View: @model List<pests.web.com.Models.Workitem> @{ ViewBag.Title = "Worklist"; ViewBag.CurrentPage = "Worklist"; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10248657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Train Stacked Autoencoder Correctly I try to build a Stacked Autoencoder in Keras (tf.keras). By stacked I do not mean deep. All the examples I found for Keras are generating e.g. 3 encoder layers, 3 decoder layers, they train it and they call it a day. However, it seems the correct way to train a Stacked Autoencode...
{ "language": "en", "url": "https://stackoverflow.com/questions/52221103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "20" }
Q: Can I inherit my WCF DataContract from a shared interface? I have a WCF service and client in the same solution (different projects). The service class itself inherits from an interface, and that interface is shared between client and server (via a linked file). The client uses a service factory to generate a proxy....
{ "language": "en", "url": "https://stackoverflow.com/questions/11401640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: The MailChimp PHP library is missing the required GuzzleHttp library I have installed Guzzle on my Godaddy shared hosting via SSH but my Drupal site is still telling me that: "The MailChimp PHP library is missing the required GuzzleHttp library. Please check the installation notes in README.txt." Any ideas why i...
{ "language": "en", "url": "https://stackoverflow.com/questions/37434724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Building Postgresql C function with Multidimensional Array as input I am extending the Postgresql functions using the C SPI. The function needs to be able to take in a Postgres N-Dim Array and get the data out of it. I am able to get the data from a 1D array but I get a segfault when trying to access a N-Dim array. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43240563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the timestamps of lyrics in songs? We have built an application in Python for getting the lyrics of a song that the user searches for. We are using the Genius API for this. However, we also want to know the timestamps of each lyric in the song, so that we know when each lyric plays or shows up. Is there a...
{ "language": "en", "url": "https://stackoverflow.com/questions/68424762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add generic condition to sp select? I really don't know what to do in this situation, so don't be too harsh. If I have my select: declare @Id uniqueidentifier = 'some parent guid' declare @Type int = 1 -- can be 1, 2 or 3 declare @UserType varchar(max) --can be 0, anything else than 0, or all users at once ...
{ "language": "en", "url": "https://stackoverflow.com/questions/31771130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: net::ERR_CONTENT_LENGTH_MISMATCH on angular 2 on docker cloud I am getting a net::ERR_CONTENT_LENGTH_MISMATCH main.bundle.js while running angular 2 on docker cloud ,the same however works on my local docker instance The below is the docker file FROM node RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY . /...
{ "language": "en", "url": "https://stackoverflow.com/questions/44351273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using the deep neural network package "Chainer" to train a simple dataset I'm trying to use the chainer package for a large project I'm working on. I have read through the tutorial on their website which gives an example of applying it to the MNIST dataset, but it doesn't seem to scale easily to other examples, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41094956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's behind Excel Solver Evolutionary? I have an optimization problem on Excel, using Evolutionary algorithm. Works fine, but i'd like to understand how it gets to the solution, ie what is or are the exact method(s) used. Is that available anywhere ? The final purpose being to move this project from Excel to a Jav...
{ "language": "en", "url": "https://stackoverflow.com/questions/63076123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Open browser windows without menu bars (JavaScript?) The users in my community want the chat to be opened in a small window without all the control bars. So I think a popup window without scroll bars, location bar, status bar and so on would be the best solution. Right? What is the best way to have such a popup wind...
{ "language": "en", "url": "https://stackoverflow.com/questions/2081456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Php laravel 5 fatalexception unexpected end of file I have the following code snippet to end a file in php and laravel. @extends('master') @section('content') <p>Hello World</p> @endsection master.blade.php file is as below <!doctype html> <html lang="em"> <head> <meta charset="UTF-8"> <title>{{ $t...
{ "language": "en", "url": "https://stackoverflow.com/questions/31256045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Memory for a member array in C# I have been programming for a while today and I think I need a break because I can't seem to figure this very simple thing. A help will be greatly appreciated. I have a class (actually Form1) and there a member array int[,]f. Now I don't manage memory for it there and then (maybe I sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/44917406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Subtracting dates from 2 different tables with join I am trying to Select all records in the claims data where the “from_date” field is before the “eff_date” for the same “emp_ssn”, same “pt_ssn”, in the "patient data". SELECT * FROM CLAIM left join PATIENT on claim.pt_ssn = Patient.pt_ssn WHERE (CLAIM.emp_ssn...
{ "language": "en", "url": "https://stackoverflow.com/questions/35876640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to type function calls when using Function.prototype.apply I have the following types: type Options = 'A' | 'B' | 'C' | 'D' type SpecificOptions = 'A' | 'B' type OptionsValueType = { A: () => void, B: string } I use those to build the following class methods: declare class MyClass { myFunction(option: '...
{ "language": "en", "url": "https://stackoverflow.com/questions/55668409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Custom post type – customise single.php in child theme I’ve managed to create my first custom post type (in this case artists) but I want to customise how the single page layout look when click on ‘Read more’ about the artist? So far, I have copied the single.php from the Kalium theme to Kalium child theme, but do n...
{ "language": "en", "url": "https://stackoverflow.com/questions/73233457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQLite invalid conversion from ‘char’ to ‘const char*’ [-fpermissive] in CPP Need to update database by new value (Name and Address) provided by the user.The error in query is that: * *error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive] sqlite3_bind_text(res, 2, *c2) *error: too few argument...
{ "language": "en", "url": "https://stackoverflow.com/questions/42891445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Node js promise in a method I am new to asynch programming and I cannot understand Promises. I am trying to use a reverse geocoding library where lat/long is sent to Google Maps and a json detailing the location is returned. class Geolocator { constructor() { let options = { provider: 'go...
{ "language": "en", "url": "https://stackoverflow.com/questions/38680042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: difference between environment variables and System properties iam using the below link to understand environment variables and system properties. https://docs.oracle.com/javase/tutorial/essential/environment/env.html The link says environment variables are set by OS and passed to applications. When i fetch environ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60925254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: "stripeErr : Error: You cannot accept payments using this API as it is no longer supported in India I got this error while using stripe, on 23 feb 2022 A: Check your account. You should provide a valid IEC export code to accept any payment. A: As per latest RBI guidelines, Stripe has switched from Charges API to P...
{ "language": "en", "url": "https://stackoverflow.com/questions/71235137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tech-stack for querying and alerting on GB scale (streaming and at rest) datasets Trying to scope out a project that involves data ingestion and analytics, and could use some advice on tooling and software. We have sensors creating records with 2-3 fields, each one producing ~200 records per second (~2kb/second) a...
{ "language": "en", "url": "https://stackoverflow.com/questions/52612148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cosine and sine value of large numbers VHDl I want to implement a CPM modulation in VHDL and my device is Spartan 3A DSP. After the mathematical operation the provided data is the argument for a trigonometric functions and i'm trying to use CORDIC IP CORE in Xilinx 14.7 for this and the problem is that the input dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/32320671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mysql2 Error - using COALESCE, Unknown column in where clause In my Rails 4.1 Application, I'm building a query to find records in my collection (orders) by an attribute (name) of a polymorphic relationship (buyer). There are 2 possible tables for that polymorphic, so I'm using 2 LEFT JOINS + COALESCE to merge the a...
{ "language": "en", "url": "https://stackoverflow.com/questions/48657041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can send array as an data using ajax Please see attached jsfiddle link, I need to collect data from multiple forms and combined the data as Single data array send it to server(spring mvc controller) to persist using ajax.post Please let me know best way to do it, will my array be converted to Json by ajax call o...
{ "language": "en", "url": "https://stackoverflow.com/questions/21343787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angularjs ui sortable - Replace content of dropped item <div ui-sortable="sortableSection" ng-model="mainInputs" class="first"> <div ng-repeat="(i, input) in mainInputs | orderBy: input.type"> <div class="alert alert-success rounded gradient" >{{ input.text }}</div> </div> </div> <div ui-sorta...
{ "language": "en", "url": "https://stackoverflow.com/questions/43420807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why am I getting "no such file or directory" for an opencv file that exists when compiling in Ubuntu? I'm trying to use the OpenCV library in C++ (VSCode), so I have the statement #include <opencv4/opencv2/imgproc/imgproc.hpp>. When I try to compile using gcc in Ubuntu, however, I get the following error message: /u...
{ "language": "en", "url": "https://stackoverflow.com/questions/61377467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Importing an old project in updated Android version While Running or importing a project in newer version of Android Studio got the following error even after successfully built - Could not find com.android.tools.build:aapt2:3.3.0-5013011. Searched in the following locations: - file:/C:/Users/dimi1/AppData/Local/...
{ "language": "en", "url": "https://stackoverflow.com/questions/54263068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: modifying styles in child component modifies stack order? I'm trying to use @use-gesture/react's useDrag to ... drag things around. Specifically, some MUI components whose styling gets dynamically updated. I have a component wrapped in a div tied to the bind hook from useDrag: return ( <div {...bindHook}> <MyCompo...
{ "language": "en", "url": "https://stackoverflow.com/questions/71398798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does (1 >> 0x80000000) == 1? The number 1, right shifted by anything greater than 0, should be 0, correct? Yet I can type in this very simple program which prints 1. #include <stdio.h> int main() { int b = 0x80000000; int a = 1 >> b; printf("%d\n", a); } Tested with gcc on linux. A: 6...
{ "language": "en", "url": "https://stackoverflow.com/questions/7603279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: Check for specific naming convention I have a directory where users are saving their excel files that should adhere to a specific naming convention: XX-TestFile.xlsx where XX is a variable digit and -TestFile.xlsx should always be the same and not change. I'd like to be able to check through a batch job if files in...
{ "language": "en", "url": "https://stackoverflow.com/questions/55457403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: groupby not behaving as expected The below code is suppose to sum the values of a list of tuples but when two or more tuples contain the same value , the tuple is just outputted once : var data = List((1, "1") , (1, "one")) //> data : List[(Int, java.lang.String)] = List((1,1), (1,one)) data = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/17189278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript select specificed data from html tag Is is possible for javascript to work like PHP to find specificed data with keyword ? for example other html from html page <video> <source type="application/x-mpegurl" src="https://xxxx.xxxx/xxx.mp4"></video> other html from html page How can javascript work 2 steps ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53222169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add hint text in otp text field and remain nodes focused when code entered in them? I am using the OtpTextField package and trying to add dashes (-) in text field as a hint text but unable to do so. There is a property in decoration which requires hasInputDecoration set to true, by doing so all the other de...
{ "language": "en", "url": "https://stackoverflow.com/questions/74046609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Attaching database to SQL Server 2016 using Management Studio 13 When using the right-click option on 'databases' the 'Attach' option is not listed. CODE EXAMPLE WITH ERROR I'm wondering if someone else has seen this before. I also get an error when I run this code instead: CREATE DATABASE testdb ON (FILENAME = 'C:...
{ "language": "en", "url": "https://stackoverflow.com/questions/51333642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there anyway to set a binding on ALL scroll bars? I need to bind on scroll. Normally I would do this: $(window).bind('scroll', someFunction); The issue is that I have a scroll bar on a specific div, so this doesn't work. I need to do this: $('.divClass').bind('scroll', someFunction); This works fine. I want to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/17597823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Beds Online API - How to set the destination of the hotel and currency of the results Beds was provided the request example, but i cant set the destination of the hotel in here.. I just want to set manually the destination and set the currency using this request body given by the beds online. $bedsonline_data = '{ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54228584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why is there a 'dangling else' scenario here? Do you think that this is a case of dangling else? According to compiler and IIT professor it is. But I have doubt! According to theory, after condition of if is met, it will always process further only ONE statement (or one compound statement i.e. multiple statements en...
{ "language": "en", "url": "https://stackoverflow.com/questions/40825259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PHP - PayPal Integration, failed running my custom transaction function after payment accepted I have tried using a tutorial script for PayPal payment in the past and it worked. Now it doesn't. The script is simple, all I need is this one page for processing payment: <?php session_start(); include ('mydbconfig.p...
{ "language": "en", "url": "https://stackoverflow.com/questions/14394380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Erlang C-Node erl_errno symbol not found error I tried to use erl_errno as described in the erlang document: http://erlang.org/doc/man/erl_error.html#. However, I'm getting a symbol not found problem during linking. I'm running on Mac and here's the how the program is linked: g++ -L/usr/local/lib/erlang/lib/erl_inte...
{ "language": "en", "url": "https://stackoverflow.com/questions/44576090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: ActionScript: How to listen for an event from a different XML I have a popup screen in which the player enters their name and clicks OK. When OK is clicked I want the player's name to be passed to the main XML. How can I do this? Here is the function in the main XML that handles the popup: private function NewHi...
{ "language": "en", "url": "https://stackoverflow.com/questions/30894977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Record video using screenrecord error I am trying to use the adb shell screenrecord functionality on my S4 which is running 4.4. I keep getting this error ERROR: unable to configure codec (err=-2147483648) WARNING: failed at 1080x1920, retrying at 720x1280 Yes the video eventually gets recorded in the lower resoluti...
{ "language": "en", "url": "https://stackoverflow.com/questions/28956564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where to store value for duration of request Preamble I'm developing a card game server in Rails. The application records what a player is expected to do via a tree of instances of the PendingAction model. class Player < ActiveRecord::Base has_many :cards has_many :pending_actions end At any time, the player n...
{ "language": "en", "url": "https://stackoverflow.com/questions/14321649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: The portals keep teleporting me back and forth I have a simple c# script to teleport me between two portals. The problem is that when I place the portals facing down, it keeps teleporting me between them. the script works fine when it is upright. I tried to make a cooldown so that it can't teleport me over and over....
{ "language": "en", "url": "https://stackoverflow.com/questions/65444416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to hold the dynamic text box and its values after form submission fails I am using three dynamic textboxes in a form ,my problem is that when the form validation fails then i have to keep the user in that form ,Now my problem is that i have to hold the values and those textbox also in the form ,how this is poss...
{ "language": "en", "url": "https://stackoverflow.com/questions/32888038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: capistrano symlink permission denied I am using cap deploy to deploy to staging. cap deploy:setup created the releases and shared folder. This is the deploy.rb code. set :stages, %w(staging production) set :default_stage, "staging" set :stage_dir, "capistrano" require 'capistrano/ext/multistage' set :application, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/14602270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Firefox driver for selenium where to download the firefox driver for selenium? I only find this, and herer is not the driver file for download https://code.google.com/p/selenium/wiki/FirefoxDriver NOTE: I already have Selenium Webdriver IDE for Firefox but the script aks me to find firefox driver Can I use firefox i...
{ "language": "en", "url": "https://stackoverflow.com/questions/31207067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Problems with updating Xamarin.Android.Support.Annotations 28.0.0 After New Years are over I'm at the office again and started to update the packages of my Xamarin project, that I wrote over the last two months. I got the error: Could not install package 'Xamarin.Android.Support.Annotations 28.0.0'. You are trying t...
{ "language": "en", "url": "https://stackoverflow.com/questions/54003927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: proving strong induction in coq from scratch I am in the middle of proving the equivalence of weak and strong induction. I have a definition like: Definition strong_induct (nP : nat->Prop) : Prop := nP 0 /\ (forall n : nat, (forall k : nat, k <= n -> nP k) -> nP (S n)) . And I would like to prove the fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/59227519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: iOS Example (GLSprite) doesnt show anything i implemented the iOS example (GLSprite) for drawing images but it doesnt show anything. the NSLogs say me, that everything is initialized, so i dont know, why nothing is shown. i want to load a png file and to rotate it. * *context loads *framebuffer creates *setupVi...
{ "language": "en", "url": "https://stackoverflow.com/questions/15689632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I read time in min/hr in a dataframe get sales rate? I have a data frame which has hours in min for example 14:59 where 60:00 (max) is 1 (hr). I tried reading this dataframe using the code below I got an error "Can only use .dt accessor with datetimelike values" df['time sold'].dt.minute My hope was after ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57641963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JQuery UI add to accordion Here is the demo for the JQuery UI's accordion widget. I have one on my page, and the way to put items in it (as shown on the demo page) is like so: <div id="accordion"> <h3>Section 1</h3> <div> <p> Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut...
{ "language": "en", "url": "https://stackoverflow.com/questions/14543068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Many to many hibernate mapping and intermediate table object How can I define a many to many relationship in hibernate where the intermediate table maps to a object? I.e. Build can have another build as dependency and this dependency can be selected in other builds too. The 'build dependency' object should look som...
{ "language": "en", "url": "https://stackoverflow.com/questions/11941939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get text of a clicked button? Hi I am very new to java and android studio. I made a set of buttons in a fragment and used a for loop to set the text of each button.... For example: for (int i = 0; i < letterBttns.length; i++) { letterBttns[i].setText(ethereal[i]); } What is the best way to get the text of a cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/50893485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }