text
stringlengths
15
59.8k
meta
dict
Q: persistent vs immutable data structure Is there any difference in a persistent and immutable data structure? Wikipedia refers to immutable data structure when discussing persistence but I have a feeling there might be a subtle difference between the two. A: Immutability is an implementation technique. Among other t...
{ "language": "en", "url": "https://stackoverflow.com/questions/10034537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: Action Script: Drawing on video I was wondering how to draw over a video like this. http://www.bannerblog.com.au/2009/06/burger_king_sharpie.php A: I'm not sure that in the example is drawing process over video. As for me It's a 3d model with video background. And you could sync prerecorded states with 3d object tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/22565072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL 'belong to' logic So, I have been trying to write a query in SQL but facing an issue. I am trying to write a 'belongs to' kind of condition. What I want to do is if the values being fetched belongs to a column in another table then populate one thing otherwise populate null. for ex. NAME table ID NAMES 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51779558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Angular2: Too many calls on Observable So currently I created a service in order to path data from one component to another. Let's say I have a select component and a component factory. In order to pass a selected value from a select component to factory I designed this service. Here is how the service looks like:...
{ "language": "en", "url": "https://stackoverflow.com/questions/41301886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issues with https:// non-www re-directing to https://www I have a website which has recently moved from http:// to https:// The site is built with MVC hosted on IIS7, and I know I should have 4 bindings in place for this. the main one: https://www.example.com (port:443 - ip address: *) and 3 others all to 301 re-di...
{ "language": "en", "url": "https://stackoverflow.com/questions/42722987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Illegal mix of collations for operation ' IN ', While using LINQ Lambda with contains clause I am having Linq query that fetch city names as keyValue pair, Refer below code public List<KeyValuePair<string, int>> GetCityKeyValuesByNames(List<string> cityNames) { var cityList = _ci...
{ "language": "en", "url": "https://stackoverflow.com/questions/70001760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: iOS framework to get audio in from dock connector How would I go abouts playing an 'audio in' through the dock connector in an iOS app? I'm making an app just for myself and have no plans of putting it into the apple store. I have the 30pin breakout board, and on it there are pins for L/R audio in, but I can not fin...
{ "language": "en", "url": "https://stackoverflow.com/questions/4185790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Firebase Web Version 9 updateProfile not updating the authorized user I'm using Firebase Web version 9 in a react app. I have a sign-up form with first name, email, and password inputs. When the form is submitted, I need to create an authorized user with Firebase and immediately update that new user's first name and...
{ "language": "en", "url": "https://stackoverflow.com/questions/74168716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to search in string for inside of and unwrap it with PHP What is the best way to reformat the HTML with PHP. Put span tag outside of a tag? This: <p style="text-align:center"> <a href="#" target="_blank"><span style="color:green">Text Link</span></a> </p> To: <p style="text-align:center"> <span style=...
{ "language": "en", "url": "https://stackoverflow.com/questions/47396861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: np.insert() -1 as the position of an element I am playing with the NumPy library and there is a behaviour that I do not understand: I defined a simple vector Y: Y = np.array([6,7,8],dtype = np.int16) Then, I tried to add an additional element at the end of the array using the np.insert() method. I specified the po...
{ "language": "en", "url": "https://stackoverflow.com/questions/72677214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: why the computed method work on only one record? i did this method which compute the late hours of an employee and convert it at days in dedication filed on payslip, it working well but when there is more than one payslip and i need to get the sumition of dedication field of all payslips for an employee it give me j...
{ "language": "en", "url": "https://stackoverflow.com/questions/59340675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: uisng multer with typescript: Property 'file' does not exist on type 'Request'.ts(2339) I am using https://www.npmjs.com/package/multer library and my node.js app is written in typescript. I get the following typescript error in my code. Property 'file' does not exist on type 'Request'.ts(2339) public document...
{ "language": "en", "url": "https://stackoverflow.com/questions/58393620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: Apache Beam count HBase row block and not return Start to try out the Apache Beam and try to use it to read and count HBase table. When try to read the table without the Count.globally, it can read the row, but when try to count number of rows, the process hung and never exit. Here is the very simple code: Pipeline ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43092030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting error Uninitialized ASN.1 value when trying to use pympler.tracker.SummaryTracker() I have a memory leak in my python2.7 code and I'm trying to debug it using pympler. Traceback (most recent call last): File "eta/dynamic_eta_worker.py", line 29, in <module> tr = tracker.SummaryTracker() File "/usr/...
{ "language": "en", "url": "https://stackoverflow.com/questions/42088990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Localizing XIB files - why there is a need I am beginner in iOS. I learned how to localize XIB files. This way two versions of my XIB file are created, say one for English version and one for Spanish. Here is sample of the spanish localized XIB: I was curious why there is need for localizing XIB files? I know how t...
{ "language": "en", "url": "https://stackoverflow.com/questions/18231233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to start and stop jboss from apache ant build.xml file I have make jar war EAR using ant and Hudson and store all files at some temp folder now I want to copy all war and ear files to jboss jboss/default/deploy folder using Apache ANT How can I do this?? Following is my master build file which call all other b...
{ "language": "en", "url": "https://stackoverflow.com/questions/10225122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Storyboard Scene Editor vanished I'm still new to Xcode and developing iOS apps...when I was editing my storyboard, I somehow removed the menu that displays the list of scenes (which defaults to the right side of the file navigator). How do you bring this menu/view back up? A: If I understand what you want you mu...
{ "language": "en", "url": "https://stackoverflow.com/questions/40365271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Advantage of Class component over react hooks Every where I see are the advantages of hooks over class component , but still class components in react do exist so can anyone tell me the advantages of class components over hooks?
{ "language": "en", "url": "https://stackoverflow.com/questions/71423718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image options to customize the visibility of tabs Expected behaviour: With respect to my use case, when the user clicks on image button, I must allow the user to only upload the image and hence I have to hide the URL tab. Actual behaviour: Currently there is no such option to hide the URL and to display only uploa...
{ "language": "en", "url": "https://stackoverflow.com/questions/63096987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can you tell Google's gmail servers to ignore a missing messageID? We receive 12 emails daily from a vendor that supply data for management required reports. We originally set up a Gmail account to receive these messages which are processed by a CRON job. We discovered early on that the messages were never recorded ...
{ "language": "en", "url": "https://stackoverflow.com/questions/73436960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AVAudioPlayer Not Working upon SpriteKit Scene Loading I was struggling hardcore with a simple task: Play an audio file in the background when a SpriteKit scene loads. I copied an audio file named "Test Song.wav" into my project and it was also found in my assets when I look under "Build Phases" > "Copy Bundle Reso...
{ "language": "en", "url": "https://stackoverflow.com/questions/38005361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to set attributes while dynamically creating enum using EnumBuilder I have to create Enum dynamically from XML. XML format is as below: <?xml version="1.0" encoding="utf-8"?> <Category xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Game> <Name>Tekken</N...
{ "language": "en", "url": "https://stackoverflow.com/questions/26279268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to access data inside Json nested objects from an API I am using cryptocomare API to get crypto coins data within a Nextjs App. What i doing is that when a user clicks on a perticular symbol, i redirect it to the coin details page where i try to extract the clicked symbol with getServerSideProps as follows and t...
{ "language": "en", "url": "https://stackoverflow.com/questions/74615844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: goodness of fit of umap I'm given a 20122-dim matrix, each column is a 20-element vector. Now I apply umap to the matrix and get a 2122 matrix and a umap plot. How to measure the goodness of fit of this umap model? Is there any standard way to do that? A: UMAP has multiple purposes like clustering, supervised learn...
{ "language": "en", "url": "https://stackoverflow.com/questions/73254937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to flip a pdf page upside down using python? I'm trying to flip pdf pages upside down using python. I have tried multiple libraries like PyPdf2, PyMuPDF and pdfminer. There is documentation on how to rotate a page, but that is not what I'm looking for. The closest solution I found was on one of PyMuPDF documenta...
{ "language": "en", "url": "https://stackoverflow.com/questions/63545734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to constrain method to return type where : Attribute I have an attribute [System.AttributeUsage(System.AttributeTargets.Class] public class ModuleValues : System.Attribute { public Guid? Id { get; set; } public ModuleValues(string id) { Id = Guid.Parse(id); } } How can I create a generi...
{ "language": "en", "url": "https://stackoverflow.com/questions/23623689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ttransforming XML using XSLT with count I am trying to transform the following XML using XSLT Input XML <lst name="facet_pivot"> <arr name="party-name,entry-number,release-number"> <lst> <str name="field">party-name</str> <str name="value">XYZ CONSULTANTS</str> <int na...
{ "language": "en", "url": "https://stackoverflow.com/questions/57318212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SwiftUI UIHostingController navigation title animation broken When I use a UIHostingController to push a new SwiftUI.View to the navigation stack of an existing UIKit UIViewController the animation of the title in the navigation bar is broken. I tested in Xcode 12.0 on a pure new project. Watch carefully the title "...
{ "language": "en", "url": "https://stackoverflow.com/questions/69537578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Insufficient access rights on cross-reference id in Salesforce when attempting to insert object from Mule I signed up for a Salesforce developer account and then created an Account object in Salesforce. I then ran a mule workflow to insert an Order object into Salesforce and it returns this error against the Accoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/41063794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid action configuration: Exception while trying to read the task definition artifact file I have a Codepipeline that deploys an ECR image to an ECS cluster using an ECS Blue / Green Deployment action. The pipeline contains two sources: one for the ECR image using an AWS ECR action and another one for fetching t...
{ "language": "en", "url": "https://stackoverflow.com/questions/57216053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Foundation 5 off-canvas full height of device I'm using Foundation's off-canvas navigation, attempting to make a navigation that takes up the full height of the device. By default, the height of the menu options are determined by the height of the content being shown. This means if your content is less than the hei...
{ "language": "en", "url": "https://stackoverflow.com/questions/20158607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "26" }
Q: Using FOR XML to group against 2 sql tables I have a sql query below, that I would like to format as XML using the FOR XML syntax. SELECT gr.id, gr.created, ts.ordernumber FROM trGrouped gr INNER JOIN transactions ts ON ts.grouped_id = gr.id WHERE ts.ordernumber IN ('4003970100000383', '4003970100000376', '...
{ "language": "en", "url": "https://stackoverflow.com/questions/43554314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can't convert object of type java.lang.String to type - Firebase Error its firebase Error I cant get it please Help me to solve and tell me the reason why its happens. sorry For english and try to solve it E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.kunalgharate.weedon, PID: 16793...
{ "language": "en", "url": "https://stackoverflow.com/questions/47868662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to get in extjs getHours() values in 12 hours format currently getting hour values in 24 hours format Ext.application({ name: 'Fiddle', launch: function () { var t1 = Ext.create('Ext.form.field.Time', { xtype: 'timefield', name: 'in', fieldLabel: 'Time In', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46676360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: IF-THEN-ELSE statements in postgresql I'm looking to write a postgresql query to do the following : if(field1 > 0, field2 / field1 , 0) I've tried this query, but it's not working if (field1 > 0) then return field2 / field1 as field3 else return 0 as field3 thank youu A: In general, an alternative to case when ....
{ "language": "en", "url": "https://stackoverflow.com/questions/19029842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "136" }
Q: Conditional redirect URL java It's realted to Conditional redirect the current URLs to new URLs, so that I can write "ONE script" and copy it into all the current old HTMLs for the same script. It would help those users whom had bookmarked the old URL and redirect to the new URL. I have an old webpeges like * *ww...
{ "language": "en", "url": "https://stackoverflow.com/questions/15226030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiply Vector Elements by Vector to Return a Square Matrix I am fairly new to APL and am struggling to multiply each element of a vector v by the vector in such a fashion that it returns an n x n square matrix where n is the length of the vector. For example, v ← 1 0 0 1. I have attempted to create a functio...
{ "language": "en", "url": "https://stackoverflow.com/questions/40272357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: gtk odd behavior GtkTree append tree_add is called by g_idle_add in another thread odd behaviour is that the hash is garbage, how would the message digest end up garbled? the rest of the odd behaviour has been fixed with the below suggestions #include <pthread.h> #include <openssl/evp.h> #include <gcrypt.h> #inclu...
{ "language": "en", "url": "https://stackoverflow.com/questions/33966618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: File download fails with AFNetworking and other frameworks. wifi goes to sleep automatically - objective c I'm downloading files with AFNetworking framework. File downloads well in foreground mode. But when I put my app to background, WiFi goes to sleep automatically after 10 minutes, by iOS, and my AFNetworking req...
{ "language": "en", "url": "https://stackoverflow.com/questions/16123236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jquery toggling all divs instead of just one I have a bunch of div that I am going to toggle upon click. However, I do not want to have a bunch of different jquery functions to accomplish the same thing. The problem is that my current function will toggle all of the divs as opposed to just the selected one. Any solu...
{ "language": "en", "url": "https://stackoverflow.com/questions/25253354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically instancing a class then deleting it right away? I created my own class but when I try to instantiate it I run into a wall. Here's my code: m_interpolation = new Interpolation(m_mesureList, width, height, parent); delete m_interpolation; Which generates the error: Heap block at 0B3E9E40 modified at 0B3E...
{ "language": "en", "url": "https://stackoverflow.com/questions/11160013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Change date format of pandas column (month-day-year to day-month-year) Got the following issue. I have an column in my pandas with some dates and some empty values. Example: 1 - 3-20-2019 2 - 3 - 2-25-2019 etc I want to convert the format from month-day-year to day-month-year, and when its empty, i j...
{ "language": "en", "url": "https://stackoverflow.com/questions/58327249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Move 50,000 selected emails (not all) from one IMAP folder to another on same server? I use an IMAP mail folder that contains 80,000 messages, and I'd like to move a selected subset of ~50,000 messages (all the messages dated in 2020) to another folder on the same IMAP server. Can this be scripted from the Linux com...
{ "language": "en", "url": "https://stackoverflow.com/questions/65613589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am I *not* getting this warning: "variable masks earlier declaration"? Here's my entire script, crafted to include two variable with the same name, one of which is masking the other: #!/usr/bin/env perl use strict; use warnings; my $hi = "First hi"; print "$hi\n"; { my $hi = "Second hi"; print "$hi\n";...
{ "language": "en", "url": "https://stackoverflow.com/questions/25304592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: WPF Datagrid does not fill the entire height and width when maximizing window My DataGrid is not taking the whole space when I maximize the window in my WPF application. This is how I created the layout: <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <Grid.Col...
{ "language": "en", "url": "https://stackoverflow.com/questions/56852098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using rails3-jquery-autocomplete from a nested form I receive this error when I type an existing topic into the topic field of my form: Started GET "/posts/autocomplete_topic_name?term=test" for 127.0.0.1 at 2011-05-21 10:51:19 -0700 Processing by PostsController#show as JSON Parameters: {"term"=>"test", "id"=>"...
{ "language": "en", "url": "https://stackoverflow.com/questions/6083718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C# WinFormApp DataGridView cannot show object inside of List UPD: I have found this article: http://www.developer-corner.com/blog/2007/07/19/datagridview-how-to-bind-nested-objects/ , but it is pretty old, posted in 2007. I have C# win forms app and I want to show list of items in datagridView: here is the List: ` ...
{ "language": "en", "url": "https://stackoverflow.com/questions/49019913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Building a partial state inside an action to update a REST API I have a bound action: updateAge(age) Part of my state is this: //user data user { name: 'foo', age: 10 } In my action creator, can I do something like this? export const updateAge = (age) => (dispatch, getState) => { let currentState = { ....
{ "language": "en", "url": "https://stackoverflow.com/questions/53348033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Repair Presentation Error with chart.replace_data() I used the chart.replace_data() to replace the old category labels with the new ones. When I opened the output presentation, I saw the message to repair the presentation and when I clicked the repair button, all the data of the presentation are gone. Here's my co...
{ "language": "en", "url": "https://stackoverflow.com/questions/65740835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Server responding with response code 400 when making http head request using httpurlconnection To a certain website , i am making HTTP head request to get header data using java. I have used the following code to do that. String url2 = "https://pagalworld.com.se/siteuploads/files/sfd14/6934/Har Har Shambhu Ringtone_...
{ "language": "en", "url": "https://stackoverflow.com/questions/73449083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Looking up a value in a column for most matching values in two other columns Into a pandas dataframe I retrieve via an API option chain data for a stock. In the column 'expiration' you can see that in this test case I have three option series with expiries at respectively: 2019-08-15, 2019-09-15 and 2019-10-15. What...
{ "language": "en", "url": "https://stackoverflow.com/questions/57115144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: docker stats not shows ZERO Net I/O for the containers that are streaming video I have created a Kubernetes Cluster of Physical Machine and VMs. The containers deployed are displaying the values for Memory and CPU but Network I/O values are ZERO/ZERO although I am streaming video from the containers. There are some ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57205251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Automatically unpack a tuple in a function call in C++ I am using range-v3 and sometimes I used ranges::views::enumerate to have the id of the value that I'm iterating on. enumerate view returns a tuple containing the id and the value, so I would like to know if its possible to unpack directly that tuple. This would...
{ "language": "en", "url": "https://stackoverflow.com/questions/65854263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to position a div scrollbar on the left hand side? Is it possible to specify a position (left or right hand side) for the placement of a vertical scrollbar on a div? For example look at this page which explains how to use the overflow attribute. Is there some way of placing that scrollbar on the left hand side ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7347532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "115" }
Q: Remove all rows from the table at once with completion in Swift In my app I want to be able to remove all the rows of a particular table at once and reload the table on a completion block call. I know how to remove a single row: override func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/31122861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cython function with variable sized matrix input I am trying to convert part of a native python function to cython to improve the compute time. I would like to write a cython function just for the loop component that is taking up the time (as ipython lprun kindly told me). However this function takes in variably siz...
{ "language": "en", "url": "https://stackoverflow.com/questions/22779437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is a command equivalent to DateTime? I learned shell scripting for a little while and decided to recreate this question's accepted answer, though I can't really find how a DateTime equivalent would be in it. How can I get a DateTime command? (In relation to Date time in Linux bash) A: You can get the date by p...
{ "language": "en", "url": "https://stackoverflow.com/questions/65468627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display intellisense's suggestions in the order they are defined? For example i've been created a struct struct man { public int age; public bool sex; public float growth; } And when in code I'm start typing something like this: static void GetSex(man Joe) { int age = Joe. } It gives me vari...
{ "language": "en", "url": "https://stackoverflow.com/questions/21626637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Connect SourceTree to new Visual Studio 2017 I have just moved from VS2015 to VS2017 and when I open a file from SourceTree it is opening the file in my VS2015 instance. How do I make it open the files in 2017? I cannot delete VS2015 so that is not an option. A: You don't need to change any settings in Source Tree...
{ "language": "en", "url": "https://stackoverflow.com/questions/43722406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to type hint a list with different types in specific positions I'm trying to type hint a list that contains multiple types in a specific order. Something like: l: list[str, int] = ["text", 10] Where the first element will always be a str and the second always an int. MyPy doesn't accept this as list takes exact...
{ "language": "en", "url": "https://stackoverflow.com/questions/70429758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using EWS to remove room from a meeting I need to remove a room from specific meeting using EWS (SOAP). I have an impersonation user and using it, im manage to get a list of all the meetings in a specific room, but I wan't manage so fur to update the meeting by removing the room from it (make the room available for...
{ "language": "en", "url": "https://stackoverflow.com/questions/41921472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jsp project connection with other project In Eclipse: there is a maven jsp web project(jspP) running ok. In the java resources of this web project (folder: Java Resources --src --local.java.code). I create a java class (caller.java) where I create instances of classes from another project(outP). the project outP is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30439445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mounted docker volume to host directory contains only files from the last container I'm launching multiple linked containers. All containers mount host directory /var/log/tipsi/ to the same called internal directory. The problem I see files in /var/log/tipsi only from the last container: * *tipsi_solr and tipsi_e...
{ "language": "en", "url": "https://stackoverflow.com/questions/27747669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Unable to load Microsoft.Extensions.DependencyInjection.Abstractions 2.2.0 version assembly I'm getting following error when i try to load 2.2.0 version of Microsoft.Extensions.DependencyInjection.Abstractions assembly. My .net core web app is always trying to load 2.1.0 assembly. All assembly references are point t...
{ "language": "en", "url": "https://stackoverflow.com/questions/59072009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Security Group and Subnet belong to different networks I am working on deploying IaC to AWS. All is well except for a perplexing issuing I am having with my deployment of EC2 instances through an ASG. When I run Terraform apply I get the following error message: "Security Group sg-xxxxx and Subnet subnet-xxxxx belon...
{ "language": "en", "url": "https://stackoverflow.com/questions/53193203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Angular ng-class ternary doesn't update my template as the model changes When my page initially loads it properly sets the class using this ng-class ternary operator: <div ng-class="{{day.current}} ? 'currPeriod' : 'notCurrPeriod'"> {{day.date | date:"d"}} </div> Note - this html is in a template, used by a dir...
{ "language": "en", "url": "https://stackoverflow.com/questions/35511733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R: Combine columns in matrix having same column name I have a large document-Term matrix. I want to combine columns which with the same column name. I have found someone asked the same problem and had work solution. Combine columns in matrix having same column name I have tried using the answer to do. But R returns...
{ "language": "en", "url": "https://stackoverflow.com/questions/45808214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Enhance performance with for loop and linq query i have an object array and i need to get some object Info from database based on certain parameters, i am implementing this: public IList<object[]> GetRelevants(Registro[] records) { List<object[]> returnList = new List<object[]>(); using (var sess...
{ "language": "en", "url": "https://stackoverflow.com/questions/27155493", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error Resource ID #0x0 using setImageResource Android Adapter RecyclerView I'm learning Android, and I have a problem with my Adapter. I can get the Text in the Adapter but, I have problems with Setting the Image Source. [This is the result if i comment the code ] [this is an example of what i want but setting the i...
{ "language": "en", "url": "https://stackoverflow.com/questions/34586871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mysql error "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock" I am having problem accessing my database, when I try to run mysql -h localhost -u root -p and enter the password I am recieving this kind of error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/va...
{ "language": "en", "url": "https://stackoverflow.com/questions/10611619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Getting error with variance_ratio() function of R package 'codyn' ("One or more replicates consists of only a single species") I'm trying to use the function variance_ratio() from the 'codyn' package to find whether two populations' abundances are positively or negatively correlated over time. The column I'm using f...
{ "language": "en", "url": "https://stackoverflow.com/questions/72778585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Doesn't work z-index when using negative issue of margin-top I have div element with white color space and buttons, below location image. I want to have buttons on the image instead white color, but when I lift up image(used margin-top:-55px;), buttons location below and z-index dosn't work. .main_panel { text-...
{ "language": "en", "url": "https://stackoverflow.com/questions/44231584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OneSignal ios cordova app is quit when tap on notification 2017-01-25 12:48:02.057770 onesignaldemo[1009:314358] [DEBUG] [WL_PUSH] -[Push processRemotePushNotification:] in Push.m:426 :: Push: didReceive Remote notification 2017-01-25 12:48:03.065772 onesignaldemo[1009:314358] [FATAL] [WORKLIGHT] Uncaught Excepti...
{ "language": "en", "url": "https://stackoverflow.com/questions/41845653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error with define in Racket I just discovered Racket a few days ago, and I'm trying to get more comfortable with it by writing a little script that generates images to represent source code using #lang slideshow. I know that when programming in a functional paradigm it's good practice to create almost all your varia...
{ "language": "en", "url": "https://stackoverflow.com/questions/16221336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: i have a problem filter datetime in mysql i have this query: select b.observation, b.created_date (datetime field) FROM logistics_wms.reception_documents a join logistics_wms.reception b on a.reception_id = b.id join logistics_wms.document c on a.documents_id = c.id join logistics_wms.document_type d on d.id = c.doc...
{ "language": "en", "url": "https://stackoverflow.com/questions/61308140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to pick second element starting from the last one? I have two elements and they have the same class and I want to pick the second element starting from the last one. ( I hope image tells you everything) I tried nth-child but my two elements have same class which is why I can't do with nth-child any idea ? A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/39459950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: joining tables , data between dates I am practicing with northwind database: I am quite new to sql. Question I am trying to solve is : Q. Total Sales for each customer in October 1996 (based on OrderDate). Show the result in CustomerID, CompanyName, and [total sales], sorted in [total sales] in Decending order. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53057592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Search for a double word inside .txt file using batch file I did some research on google for finding the answer on my question the only thing i found that was similar too my question was on this site: Search for a word inside .txt file using batch file I made a batch file that is creating a .txt file with 8 lines l...
{ "language": "en", "url": "https://stackoverflow.com/questions/37488144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Check if port is open from the server itself I've a Centos 6.5 - Apache server. This server is in a private LAN (it has a private IP 10.x.x.x) and is linked to a domain name. If I test port 443 from webtools with the domain name, it seems that it's blocked, but I want to understand if it's blocked from a firewall ou...
{ "language": "en", "url": "https://stackoverflow.com/questions/28631392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Angular + Rails: Delete posts I have an angular/rails app and I currently have the ability to post things, but I cannot seem to write the code required to delete posts. My Github: https://github.com/JeremyLopez/ToDoList/tree/master/ToDoList To create: (tasks.js) angular.module('toDoList') .factory('tasks', [ '$http'...
{ "language": "en", "url": "https://stackoverflow.com/questions/34205458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Xcode DispatchQueue.main.async inside or outside large loop? i am trying to edit/Insert CoreData objects , what i am doing is this : DispatchQueue.main.async { for track in allTracks { if let i = allObjects.index(where: { $0.sid == ddTools().md5("\(track.song_name)\(track.artist_name)") } ) { self....
{ "language": "en", "url": "https://stackoverflow.com/questions/46997978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error when running QDB2 driver on deployment machine I am using Win7 and db2 express. I have successfully compiled and used the db2 drivers on one of my machines, but when trying to use it on another computer that does not have db2 installed the driver won't run and return an empty string as an error. Just to make ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27522415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: html5 time validation issue using pattern I am using the HTML5 in build validation but for Time, i am sing the following code The code is pretty simple as it is just checking the format of the time, i am not sure what i am doing wrong here <input name="taskStartTime" type="text" value="05:15 PM" placeholder="Enter ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26956430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: check if a file exists in zip archive I'm using windows 7 ultimate and I want to check on the command line whether or not a file exists inside a zip archive. I'd prefer if the procedure does not include downloading other stuff. A: try with the zipjs.bat: call zipjs.bat list -source "C:\myZip.zip" -flat yes|find /i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/32183113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to update column with multiple conditions taking a corresponding value from another column Python Pandas The output is more like the following SQL statement. UPDATE table_A SET final=(cs+fhfa+sz)/3 WHERE cs IS NOT NULL AND fhfa IS NOT NULL AND sz IS NOT NULL; Here cs+fhfa+sz are all individual columns in the...
{ "language": "en", "url": "https://stackoverflow.com/questions/46807834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: When I redeploy my google project ID, I see an error in gcloud.app.deploy saying Insufficient permissions to create Google Cloud Storage bucket My google project ID is "ulapph-public-1" and its been working fine since 2015. But yesterday when I redeployed the project, it says: ERROR: (gcloud.app.deploy) Error Respon...
{ "language": "en", "url": "https://stackoverflow.com/questions/56921261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can a byte-range in a m3u8 playlist be length 0? According to the HLS Pantos spec, a byte-range in a m3u8 playlist should look like #EXT-X-BYTERANGE:<n>[@<o>] where "n is a decimal-integer indicating the length of the sub-range in bytes". However, this doesn't specify if "n" can be 0 or negative. This is a particul...
{ "language": "en", "url": "https://stackoverflow.com/questions/26264214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Progress Bar in revolution slider WordPress I found code to make my Progress Bar look like i need from this source . Everything work fine as expected. But i need to make entire Progress Bar width 50% off main page. I try to add all span in one div and make this div 50-60% width but this didn't help. Need some help ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50922939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: how this sample Forged digital certificate I found a pe file,when i check digital certificate,i found winxp can identity the digital cert,but win10 can not,virus total also show that this file is not signd Is this a fake digital cert? how to made this happen? winxp info: enter image description here win10 info ent...
{ "language": "en", "url": "https://stackoverflow.com/questions/64620170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wrong encoding when running from JAR, from Eclipse works perfectly I am facing the problem similar to How to Force a jar to uses(or the jvm runs in) utf-8 instead of the system's default encoding. There is a server and client java applications. If I run both of them from Eclipse then everything works just fine. If I...
{ "language": "en", "url": "https://stackoverflow.com/questions/13598921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Prompt for input within a loop Linux shell I'm creating a script to check in an interactive prompt whether to delete a cron entry or not: function cron_check() { crontab -l result=$? if [[ $result -eq 0 ]]; then crontab -l > crontab.out cat crontab.out | while read cron_entry ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27676438", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: NullPointerException when initializing EbeanServer I'm attempting to use EbeanORM to connect to MS SQL Server 2012. In addition, I'm using Spring and the jTDS driver. I'm getting the following exception when initializing the Spring context: Caused by: org.springframework.beans.factory.BeanCreationException: Error cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/32259596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PUT method is not working in front end but works in Postman Please, help me. I am doing PERN stack app, and I can't understand why my PUT method is not working in front end but works in Postman perfectly. When I add a todo - "drink water" for example, in database id appears as should "drink water" and in fron end as...
{ "language": "en", "url": "https://stackoverflow.com/questions/72686535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Callback for when obj changes position? In MaxScript, how would I detect if an object has been moved with an event? I have tried detecting transform but this doesn't work: when transform $Body do ( print"moved" ) It also cannot freeze the ui or the program, since it has to detect when an object is actively moving...
{ "language": "en", "url": "https://stackoverflow.com/questions/37148441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: the deleteRows function is populating my Google Sheet with 500 blank rows The below trigger works great, but when executed it repopulates my sheet with 500 rows. After the trigger is executed I need it to only show the 1st row. function deleteRows() { var sheet = SpreadsheetApp.getActive().getSheetByName('Sheet 1')...
{ "language": "en", "url": "https://stackoverflow.com/questions/69450268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Vue 2, is there a way to (temporarily) disable a component from updating computed properties? I have a component that I essentially want to to stay static while things are updating in the parent, and I want to set some kind of boolean to indicate when it's ready to update the component properties. Thanks!
{ "language": "en", "url": "https://stackoverflow.com/questions/68922879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Difference between Lighthouse numbers and observed performance I have spent literally weeks chasing the perfect desktop and mobile scores from Google Search Console. My website is new, so there is not enough data, and I'm forced to use Lighthouse. At 1AM today my score was 97 desktop, 80 mobile. At 2PM today, with n...
{ "language": "en", "url": "https://stackoverflow.com/questions/64073021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Throw a temporary argument passed by reference inline void my_assert( bool cond, const std::exception &e = my_assert_failed() ) { if ( !cond ) throw e; } The standard ensures that: A temporary bound to a reference parameter in a function call (5.2.2) persists until the completion of the full expressio...
{ "language": "en", "url": "https://stackoverflow.com/questions/28875810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: Flot - Create multiple series bar chart and add multiple colors to one of the series I need to create the following chart using jquery flot. I think to create it with multiple series but I have the following problem: I need the one series to be in different colors for each bar (the first in the image), and I found s...
{ "language": "en", "url": "https://stackoverflow.com/questions/29144040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Loading additional modals from server with Paginator.clientPager I'm trying to load additional modals from the server after the initial fetch with Paginator.clientPager This is my collection, pretty much copy pasted from the example code on github. return new (Backbone.Paginator.clientPager.extend({ model: mode...
{ "language": "en", "url": "https://stackoverflow.com/questions/17150979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }