text
stringlengths
15
59.8k
meta
dict
Q: Optimize slow ranking query I need to optimize a query for a ranking that is taking forever (the query itself works, but I know it's awful and I've just tried it with a good number of records and it gives a timeout). I'll briefly explain the model. I have 3 tables: player, team and player_team. I have players, that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2788806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: jquery rebinding event I am trying to rebind the keydown event on focusout. Not really sure how what to pass to the keydown when rebinding. I tried passing this, but had no luck. Anyone? Thanks $('input.text').bind({ click : function(e) { },focusin : function(e) { },focusout : ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8028727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Difference between Garbage Collection and a For Loop destroying objetcs I have this code that creates 5500 objetcs of a class and then it outputs the the total allocated bytes and total memory so that way I can see the changes in the allocated bytes. I also have a destructor so I can see approximately when the Garba...
{ "language": "en", "url": "https://stackoverflow.com/questions/72243236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getchar() in c program - Eclipse Luna - Permission Denied Integer and Float based programs are working good in my Eclipse Luna Installation, without any permission problems created by Windows Process, but a string based C Program, gives errors or sometimes builds but empty console. I hold a latest copy of Eclipse I...
{ "language": "en", "url": "https://stackoverflow.com/questions/26613812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does question mark show up in web browser? I was (re)reading Joel's great article on Unicode and came across this paragraph, which I didn't quite understand: For example, you could encode the Unicode string for Hello (U+0048 U+0065 U+006C U+006C U+006F) in ASCII, or the old OEM Greek Encoding, or the Hebrew...
{ "language": "en", "url": "https://stackoverflow.com/questions/11424613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: access vba array by looping through recordset I have a loop which I want to create an array then use the array to insert into another table. Band Country AIR FR Bon Jovi US Oasis UK Blur UK Green Day US Metalica US I want to loop through this recordset, so I want to create arrays, for e...
{ "language": "en", "url": "https://stackoverflow.com/questions/24405409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a dynamic form with values in model using form.py? I would like to create a dynamic form using forms.py where questions and answers come from values in the columns of models. I have three models, one called Sheet, which contains many questions from the Question model (Many to Many). The Question mode...
{ "language": "en", "url": "https://stackoverflow.com/questions/55609215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid the automatic zero value in a Kendo int textbox from Grid Edit screen or inline edit? I am using asp.net mvc kendo tools. I have a int property from my c# model side, see below: public class MyModel { [Required] public int MyIntField {get;set; } in the view side I am adding the column using Kendo...
{ "language": "en", "url": "https://stackoverflow.com/questions/64519187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unit Testing Input Event in Angular6 I have an Input field in the UI <input matInput placeholder="BLC" id='blc' formControlName="blc" (change)="onBLCChanged($event)" /> I want to do unit testing for this, but this field send $event not any value to the function, how can I mock this. it('some text', async(async() =...
{ "language": "en", "url": "https://stackoverflow.com/questions/59824622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to push an image id to docker repo When I run the command docker ps I get a list of containers like this: 6f8d5585918f 56058f3d1997 "test" 23 hours ago Up 23 hours test1 18edba56bfeb 2482781314c7 "java -jar test2" 2 days ago Up 2 days 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/44829368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to reshape dataframe with multiple levels I currently have a dataframe (df1) formatted as shown below: ID F1_1 F2_1r1 F2_1r2 F2_1r3 F1_2 F2_2r1 F2_2r2 F2_2r3 F1_3 F2_3r1 F2_3r2 F2_3r3 1 10 1 1 0 15 0 1 0 30 1 0 0 2 25 1 0 0 30 0 1 1 25 1 0 1 3 40 0 1 0 15 0 1 0 10 0 0 1 4 25 1 1 0 10 0 1 1 30 1 0 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/69572063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Publishing POMs via Maven and inserting build version info I'm building Maven projects via TeamCity/Git and trying to insert the TeamCity build numbers in the pom.xml that gets published to my repository upon a successful build. Unfortunately I can't determine how to publish a pom.xml with the substitutions inserted...
{ "language": "en", "url": "https://stackoverflow.com/questions/2183015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Comparing non null-terminated char arrays I have a compressed unsigned char array of a known size. Due to compression considiration I don't store the null-terminator at the end. I want to compare it to another array of the same format. What would be the best way to do so? I thought duplicating the comparessed arra...
{ "language": "en", "url": "https://stackoverflow.com/questions/18437430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Azure Api Error 500 I have created an API service in azure. It is assumed that making a GET request to {my_url}/api/{name_of_the_table} should return an XML with the data ot the table. However, it returns an error message: <Error> <Message>An error has occurred.</Message> <ExceptionMessage> The 'ObjectContent1' type...
{ "language": "en", "url": "https://stackoverflow.com/questions/36640981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Favicon not being added to build folder during webpack build I'm trying to get an image into my dist folder but it's not showing up. I've included the copy-webpack-plugin which is what I thought would make it work. I do get a warning message during the build that says: 'WARNING in unable to locate '/Users/developer...
{ "language": "en", "url": "https://stackoverflow.com/questions/55753480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NSURL of an image from UIImagePicker I am trying to upload an image from my phone to my Amazon S3 bucket: func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage!, editingInfo: [NSObject : AnyObject]!) { var uploadReq = AWSS3TransferManagerUploadRequest() uploadReq.bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/30202777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change the tintcolor of the slider in a MPVolumeView? How can I change the tintcolor of the slider in a MPVolumeView? Instead of blue I want to display a different color. A: You need to customize UISlider. You can do it like this: [slider setMinimumTrackImage:[[UIImage imageNamed:@"redSlider.png"] stretchabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/11922943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I prove a class-room scheduling issue to be NP complete correctly? I am given a problem, that is about scheduling n classes in k rooms at a school, and it is a decision problem, because we want to ask if we can arrange these n classes in those k rooms so that a given timelimit t is not exceeded (the total tim...
{ "language": "en", "url": "https://stackoverflow.com/questions/40949894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issues with code for google-script (from drive to sheet) I am currently looking to get file names from google drive to my google sheet. I have around 30 files in my drive, and I want their file name to appear in my google sheets. All files are located in one folder. I have tried to do this through script google, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/65096114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Object of instance not set to an instance or an object. Visual Basic I am writing a simple piece to insert 5 values into my local database. The connection gets established well but when I press the button , which does the job for inserting into the DB I get "Object of instance not set to an instance or an object" th...
{ "language": "en", "url": "https://stackoverflow.com/questions/35650914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Subsetting a column I have a data frame(data10) with 128 obs and 46 variables, I am interested in isolating a single column(variable) based on a condition(trial). I wonder why I am getting 'incorrect number of dimensions' in my R console. Please find my code below. PrePost_NJ <-data10$NormalizedJerk[data10$trial=="...
{ "language": "en", "url": "https://stackoverflow.com/questions/55693517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: need the logic to maintain state of checkboxes in filter checked on refresh or on going to next page i can filter data and display output but i cannot maintain the state of filter checked on refresh or on going to nextpage.here is my code for filter. $(document).ready(function(){ filter_data(); function filter_dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/70902043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react-native package android.support.v4.media does not exist I am using react-native 0.57.1 react-native track player 0.2.5 I have got following error: C:\zzzprojects\app\node_modules\react-native-track-player\android\src\main\java\guichaguri\trackplayer\metadata\Metadata.java:9: error: package android.support.v4...
{ "language": "en", "url": "https://stackoverflow.com/questions/52847554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to change key names in laravel collection? I have one model instance in which i have many to many relationship data and now everything is in good condition the only thing which i am having trouble is their keys name . As I want to send better camelCase keys json in response but i am not able to change it my coll...
{ "language": "en", "url": "https://stackoverflow.com/questions/72712715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: basic math equation math to java code so i have a math equation that i need to use in java but for some reason my code is giving me small errors :( the math equation is describe on this web page in the section extra credit my current code outpouts 4000 and the answere is 4005 what am i duing wrong ? my test class l...
{ "language": "en", "url": "https://stackoverflow.com/questions/24639550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How Can I Play Audio On Document Ready MVC5 Application This Code not working its generate an error when i play audio on button click its working but its gives error on document ready event A: You probably can't do it. Web browsers explicitly block this behavior because users don't expect it and find it annoying....
{ "language": "en", "url": "https://stackoverflow.com/questions/72596418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Virtual file not found using servicestack 4.0.5 after adding Telerik OpenAccess datacontext I'm testing out the new 4.0.5 Service stack (previously I was using version 3), and starting afresh I just can't seem to get my service to start when I add Telerik OpenAccess. I'm using Telerik's OpenAccess to talk to a MSSQ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20996763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can Solr or ElasticSearch be configured to use HDFS as their persistence layer in a way that also supports MapReduce? I have a large index over which I need to perform near-real-time updates and full-text search, but I also want to be able to run map-reduce jobs over that data. Is it possible to do this without havi...
{ "language": "en", "url": "https://stackoverflow.com/questions/30721396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to link/nest 2 dropdowns in a form in Adalo I have 2 collections: collection 1 is called “Category” with almost 10 records. collection 2 is called “Subcategory” with almost 100 records. these 2 collections are currently linked. I have a form that allow user to create a profile, the form has 2 drop downs, one for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75482318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add TabBar on SearchDelegate Flutter I am trying to add a tab bar on Search Delegate. I want to show the results of products and user's profiles on the same search screen. I was trying to get a controller from the parent class and implement in delegate class but nothing happend(I wasn't getting any error) Currently,...
{ "language": "en", "url": "https://stackoverflow.com/questions/68112389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Combining echo and cat on Unix Really simple question, how do I combine echo and cat in the shell, I'm trying to write the contents of a file into another file with a prepended string? If /tmp/file looks like this: this is a test I want to run this: echo "PREPENDED STRING" cat /tmp/file | sed 's/test/test2/g' > /tm...
{ "language": "en", "url": "https://stackoverflow.com/questions/3005457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "41" }
Q: How do I use Json.NET to parse json in PowerShell? I want to parse JSON in PowerShell but I can't use the new v3 functions that are available in PowerShell. My first thought was to load the JSON.Net assembly and use that to parse the JSON string but it doesn't work as I expect it to. I have this JSON: $json = "{""Na...
{ "language": "en", "url": "https://stackoverflow.com/questions/13968004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Change style of Google Play Services AccountPicker dialog I am showing the AccountPicker dialog from Google Play Services with this code: String[] accountTypes = new String[]{"com.google"}; Intent intent = AccountPicker.newChooseAccountIntent(null, null, accountTypes, false, null, null, null, nul...
{ "language": "en", "url": "https://stackoverflow.com/questions/28237798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: gnuplot unable to run in XCode 4.3.1 Im trying to get gnuplot up running for C++ environment in XCode. Im using following tutorial to archieve my result: http://www.calozgroup.org/Shulabh/MediaWikiS/index.php5?title=Gnuplot_in_C%2B%2B_using_XCode * *I have created the libgnuplot.a and imported this along with the...
{ "language": "en", "url": "https://stackoverflow.com/questions/9863882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check time changing automatic There is a streaming channel which displays for 24 hours per day and I want to display that for certain hours of day in my website. I use a code as bellow: $now = date('G',time()); $start = 13; $end = 14; if($now >= $start && $now <= $end){ echo "streaming video"; } else{ echo "ima...
{ "language": "en", "url": "https://stackoverflow.com/questions/26480302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to change checkbox to required html format in pdfmake? I want to change the below html to required format as in below image, <div id="pdfTable" #pdfTable style="display: none;"> <table class="table table-borderless mb-0" style="font-size:14px;"> <thead> <label for="" style="text-align: center;">Reco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75432136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apply Folder Icon Change I am attempting to change the icon of a folder. The code below does all what I found online says to do but the icon never changes. Am I maybe not "Applying" the change? string createdFile = Path.Combine(@"C:\Users\np\Desktop\PUTEST", "desktop.ini"); if (File.Exists(createdFile)) { var di...
{ "language": "en", "url": "https://stackoverflow.com/questions/57713671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Dealing with character variables containing semicolons in CSV files I have a file separated by semicolons in which one of the variables of type character contains semicolon inside it. The readr::read_csv2 function splits the contents of those variables that have semicolons into more columns, messing up the formattin...
{ "language": "en", "url": "https://stackoverflow.com/questions/71135244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Implementing Tree Structure in a UITableView I want to implement a tree structure in a UITableView something like Item-1 subItem-1 subItem-2 Item-2 Item-3 subItem-1 subItem-2 but I don't want to use custom cells for this. I have done lot of Googling for this but I got one link which said I wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/12704091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Make Horizontal Indeterminate ProgressBar a Fixed Width I currently have a horizontal ProgressBar defined in XML as below, that I am using to show the progress of an item loading: <ProgressBar android:id="@+id/loading_progressbar" style="@style/Widget.AppCompat.ProgressBar.Horizontal" android:layout_widt...
{ "language": "en", "url": "https://stackoverflow.com/questions/49382166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to validate click one per browser? How can i reduce raiting to be able to rate only once per browser? I need to make validation for raiting component in React where client can rate only once per browser. Here is example of the rating component: export default function App() { const [value, setValue] = React.us...
{ "language": "en", "url": "https://stackoverflow.com/questions/69204621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Predicting images Jupyter notebook For my first Machine Learning experience i have a basic classification to do. I have 3 different folders : train_path = './dataset/pneumonia/train/' test_path = './dataset/pneumonia/test/' val_path = './dataset/pneumonia/val/ each folders : os.listdir(train_path) returns ['NOR...
{ "language": "en", "url": "https://stackoverflow.com/questions/61598707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: want to change the cursor on mouse move on JTree listed elements I want to change the cursor to hand cursor on mouse move over JTree component when the cursor is on listed elements only, not for the whole component. The below code is for Jlist Component. I want same for the JTree, but JTree does not have getCellBoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/14522221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter Web: Divider color not showing when scrolling page In my flutter project, the Divider widget color is not showing when scrolling. The issue exists only in flutter web project. A: Since last two years I have been using this divider code below. It working well for all platforms. To fix your issue, provide you...
{ "language": "en", "url": "https://stackoverflow.com/questions/74274747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scala how to convert Map to varargs of tuples? In the context of Scala Play 2.2.x testing I have a Map[String, String] which I need to pass to a function that accepts (String, String)* i.e. a varargs of (String, String) tuple. e.g. val data : Map[String, String] = Map("value" -> "25", "id" -> "", "columnName" -> "tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/24012146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: javascript showing old events I am having some trouble with javascript event handling. In my application I have an event which makes external xml requests and gives a responce to my event listener. This is allowed to happen many times to the same event listener. My event listener is repeating functions for old copie...
{ "language": "en", "url": "https://stackoverflow.com/questions/24787301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: load page at anchor, less 175px When loading a page from a link using an anchor (ie, website.com/#midPage), I need the anchor to actually load 175px below the top of the page. Is there a convenient way to to do this? Javascript or JQUERY is fine by me, but I don't know what method to use.
{ "language": "en", "url": "https://stackoverflow.com/questions/10742302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Call two relational tables in a singe id in Laravel. (check photos) I am trying to combine the below responses into a single entry Here i got two keys but how i will make it in a single key. In my controller i specified id for two different resources for author and authorprofile. But how can i use with single reso...
{ "language": "en", "url": "https://stackoverflow.com/questions/58533698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ValueError: could not broadcast input array from shape in python 2.7 I'm a newbie in using python 2.7. I run this command python plot_bands_gnu.py but get Traceback (most recent call last): File "plot_bands_gnu.py", line 16, in <module> ebands [:,ib] = databands[idx1:idx2,1] ValueError: could not broadcast ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51834598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show Currency Symbol after values I am using CultureInfo methods to successfully format all different currencies into their correct format. But on some exceptions, such as EUR and SEK currencies I need to be able to add them after the value. At the moment my CultureInfo is formatting them in the following way: "SEK ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5272760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Ajax doesn't work in IE if URL contains Arabic character In my Blogger website I load posts from JSON feed, The JSON link looks like this. http://technopress-demo.blogspot.com/feeds/posts/default/-/LABEL NAME?alt=json-in-script&max-results=5 This is the code that I use to get posts from the URL above. $.aja...
{ "language": "en", "url": "https://stackoverflow.com/questions/23582205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: My code is freezing and using to much CPU power. (Python) I am attempting to make a sort of AI like script which will figure out your phrase. It is still a work in progress and is not yet complete. Each guess should print the following info: The text produced: ......... The string generated by the script. The length...
{ "language": "en", "url": "https://stackoverflow.com/questions/71111604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Voice profile in Google Assistant Does Google Assistant provide individual voice identification, just like voice profile of Alexa? Thank you A: The Google Assistant does not provide user recognition as a core part of the platform or as part of the Assistant SDK.
{ "language": "en", "url": "https://stackoverflow.com/questions/50901973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Java - gov.nasa.jpf.jvm.Verify Pathfinder Package Doesn't Exist I am attempting use Java Pathfinder and I have pathfinder working. import gov.nasa.jpf.jvm.Verify; user.java:2: package gov.nasa.jpf.jvm does not exist import gov.nasa.jpf.jvm.Verify; I need to use the Verify.random function. Can anyone tell me how ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5850840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: sed line matching with exclamation I am trying to understand this sed line matching part. What does it do exactly. The patters is supposed to match comment lines starting with ## and attempt to remove the comment characterrs at the front of the line. pn_ere="^[[:space:]]*([#;!]+|@c|${cmt})[[:space:]]+" sed -E...
{ "language": "en", "url": "https://stackoverflow.com/questions/75317859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: railflow cli command ignores the cucumber steps with data table. and only shows one line we just started using testrail with railflow and I am using railflow cli command to create test cases that are written in cucumber/gherkin style. Test results are converted into json files and railflow cli reads those json files...
{ "language": "en", "url": "https://stackoverflow.com/questions/72833323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does google map geo location require secure ssl connection? I am using google map geo location api. I have first tested it on local, its working file on both firefox and chrome. When it moved it to live site (that is not https), its working fine for firefox but not working on chrome. Getting this error: Geocoder fa...
{ "language": "en", "url": "https://stackoverflow.com/questions/37959791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Rails/coffeescript/datatables, after changing views, need to refresh to reload I'm sorry for asking this here as I typically find everything I need to ask, but I think my problem is I do not know really WHAT to search for to get the answer. Here goes. I am playing with datatables to provide sorted/ajaxified/sear...
{ "language": "en", "url": "https://stackoverflow.com/questions/16454934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: struct with member function as parameter I am a beginner in C++ and stack exchange. I am working on an Interface class that gets keyboard input and checks to see whether it is correct through looping through an array of structs which contains strings to compare to and strings to output depending if it is equal to th...
{ "language": "en", "url": "https://stackoverflow.com/questions/27170673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Packages incompatible with tensorflow and keras I am running mask-rcnn github repository , I have installed the packages as per his repository requirements but if I import keras , it gives me error. My installed packages on the notebook are shown below: ipykernel==5.5.3 ipyparallel==6.3.0 ipython==7.16.1 ipython-gen...
{ "language": "en", "url": "https://stackoverflow.com/questions/67891942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How stream a response from a Twisted server? Issue My problem is that I can't write a server that streams the response that my application sends back. The response are not retrieved chunk by chunk, but from a single block when the iterator has finished iterating. Approach When I write the response with the write met...
{ "language": "en", "url": "https://stackoverflow.com/questions/71930649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to transfer score from Game Scene to GameViewController I created share button for share my score in Facebook , twitter and more. the button created in GameViewController and my score and high score i created in Game Scene. I did share score but i don't know how to transfer my score from GameScene to GameViewCo...
{ "language": "en", "url": "https://stackoverflow.com/questions/35536235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Form data autosuggestion I have a button( Add More) which adds new row in my form/table. I want to add data autosuggestion in INPUT form. so i've tried the below codes. It's working but only for first row. It's not working for the next rows. can anyone correct me what i a doing wrong? You can check it in my jsFiddle...
{ "language": "en", "url": "https://stackoverflow.com/questions/37671313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change mouseover colour of all controls globally WPF Buttons, column headers, comboboxes etc. all go a nice Microsoft blue when you mouseover them. I'd much rather they went a nice shade of my corporate green. Is there any way to change this colour either globally for my application or by window. Failing that, will...
{ "language": "en", "url": "https://stackoverflow.com/questions/62054640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is there an NumberFormatException? I keep on running into a problem with NumberFormatException. There is a problem with the readLine since I am reading the wrong line at the wrong time. I am writing a program which takes in that amount of money a person has and then calculates how much they will have after they ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47425196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: project xxxx is associated to an unknown SonarQube server(). Please fix project association or add server in SonarQube plugin perfrences When I open any java class in eclipse editor it is showing below popup message. A: Right click your project and choose SonarQube. then click on Remove the SonarQube server nature...
{ "language": "en", "url": "https://stackoverflow.com/questions/33075153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Matplotlib scatter plot with two colors for only two series in dataframe I have a dataframe with two series and no categories. I want to plot the scatter-plot for x and y with different colors. I tried plt.scatter(obs_flow, sim_flow,c=('red','blue'), alpha=0.3) but gave an error : ValueError: 'c' argument has 2 elem...
{ "language": "en", "url": "https://stackoverflow.com/questions/62859156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 8+, make component factories in lazy module available in global service I have written a ModalService to wrap both MatDialog and MatSnackBar, to avoid injecting both in each of my components, and this service offers methods that wrap the material ones. So you can write modalService.dialog(MyDialogComponent, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58878405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: One line of text refuses to change color I was doing a project recreating the google homepage in HTML/CSS and for the most part it came out fine except for some reason I can't get the text inside the "Sign Up" to change color. <div id="contents"> <div id="navbar"> <ul> <li id="signin"><a href...
{ "language": "en", "url": "https://stackoverflow.com/questions/26265947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Google Cloud Functions / Tasks / PubSub for Batch Processing? We are currently using Rabbit MQ with Celery on some VMs for this: * *We have a batch of tasks we want to process in parallel (e.g. process some files concurrently or run some machine learning inference for images) *When the batch is done we...
{ "language": "en", "url": "https://stackoverflow.com/questions/62532376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GeoFire query completion - Swift In my app, I use GeoFire to query users around user location. It is a Tinder-like app, with cards, etc... I use KolodaView for cards. Query function : func queryUsers(searchRadius: Int, center: CLLocation) { print("Query started") let geofireRef = Database.database().refere...
{ "language": "en", "url": "https://stackoverflow.com/questions/44085598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Form POST or sessions? If you have an item where you allow users to add comments, how can you pass which item the user is replying too? I've though of using a hidden field in a form, however this can be easily changed using plugins such as firebug: <form method="post" action="blah"> <input type="hidden" name="item_i...
{ "language": "en", "url": "https://stackoverflow.com/questions/4629628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Will I Be Able to Manipulate Excel Data in AWS Python Lambda Function I will be writing a function in AWS Lambda using Python 2.7 that does the following: * *Grabs a stored Excel file from Amazon s3. *Opens the Excel file. *Manipulates data in multiple Excel sheets rows of data that will eventually be inserted ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44032391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pyignite: connection timeout error when trying to load json into cache using put_all() The code works when tried with fewer values but gives connection timeout error when tried with even 30k entries. Sample code with sample json: a = {} for i in range(10000): a.update({"test"+str(i):((MapObject.HASH_MAP, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/65303573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Whats a quick way to convert an IEnumerable to List in C# 2.0? we all know the slow way: foreach.. A: How about: IEnumerable<T> sequence = GetSequenceFromSomewhere(); List<T> list = new List<T>(sequence); Note that this is optimised for the situation where the sequence happens to be an IList<T> - it then uses I...
{ "language": "en", "url": "https://stackoverflow.com/questions/1758464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: could not resolve state "home.app.detail" from state "home.apps.list", UI-Router I have a page showing the list of applications that I want to be able to go to the page of the details of the app, when I click on each one of them. Here is my config: module bandar { 'use strict'; export class RouterConfig { /...
{ "language": "en", "url": "https://stackoverflow.com/questions/31312233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Why are in JavaBeans the setter Public (JSP EL) Why is it required that your setters in JavaBeans are public although it is not a usual way to edit the properties of an object from the expressions, because changing the state of an property is the task of the Controller (in case you are using the MVC pattern). Does s...
{ "language": "en", "url": "https://stackoverflow.com/questions/26930720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jquery Jcrop plugin loads image multiple times I ran into an issue with jquery Jcrop plugin I'm using it to allow the user to crop an image, but when he/she is not satisfied with that, I set to reset the original image. I use PHP to store the original image and cropped the image as well. When the user hits the rese...
{ "language": "en", "url": "https://stackoverflow.com/questions/20350859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HOC for JSX element I'm trying to make a HOC function that would wrap a list item, do some conditional checking and return this JSX element if condition pass or being wrapped by another component if fail. Here is the part of the code inside the render method: const workspaceListItem = ( <React.Fragment> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56223814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Purpose of spark worker directories in /work/app-xxxxxxx/{0, 1, 2, ...} and periodic cleanup I'm running a Spark 3.4 long running structured streaming job. Whenever the job starts, an application directory of the form app-xxxxxxxxxx is created for the job in the work directory. However within that directory, additio...
{ "language": "en", "url": "https://stackoverflow.com/questions/64666764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: LINQ complex query navigation property I have a problem here with getting data from my database with LINQ I have two tables Team and TeamMember, which are related by 1-N relationship. I am using Entity Framework and I have one entity for each of the tables with a property for each column. Also in the Team entity the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7676364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: Getting dualshok 4 positions I trying to make a simple app that can be controlled by my gamepad (dualshok 4) and i stacked at getting current positions axies and buttons of my gamepad. Below my code that i already tried: class MainActivity : AppCompatActivity(), OnGenericMotionListener{ override fun onGenericM...
{ "language": "en", "url": "https://stackoverflow.com/questions/60344302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to convert string to a function name? How would I go about converting x = 'abs' Into abs so that I could do z = abs(-5) = 5. Or where x = 'randfunc' where 'randfunc' can be any input string relating to a function. >> x x = abs >> x(-5) Subscript indices must either be real positive integers or logicals. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30557919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Creating Message Object Parser I'm receiving results from a web service like this: result.body returns: [2] pry(#<User::EmailSettingsController>)> result.body => {"RESULT"=> {"MESSAGES"=> [{"MESSAGE"=> {"TYPE"=>"E", "ID"=>"HRRCF_WD_UI", "NUMBER"=>"025", "MESSAGE"=>"U kunt maximaa...
{ "language": "en", "url": "https://stackoverflow.com/questions/22406199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I set an NSDate object to midnight? I have an NSDate object and I want to set it to an arbitrary time (say, midnight) so that I can use the timeIntervalSince1970 function to retrieve data consistently without worrying about the time when the object is created. I've tried using an NSCalendar and modifying its...
{ "language": "en", "url": "https://stackoverflow.com/questions/26189656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "59" }
Q: How to integrate Stripe with Apple iOS App store purchases (subscriptions)? What workflow have others use to cleanly integrate subscriptions across Stripe and Apple Purchases (subscriptions), and eventually Android. I have a web app that uses Stripe Subscriptions (monthly and annual plans to pay for the app) and am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/73198734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I make the origin of aliases in Cypress more apparent from the it/spec files? My team is using aliases to set some important variables which are used within the it('Test',) blocks. For example, we may be running the following command in a before step: cy.setupSomeDynamicData() Then the setupSomeDynamicData(...
{ "language": "en", "url": "https://stackoverflow.com/questions/74935349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you import a gradle project in eclipse? I have installed https://marketplace.eclipse.org/content/gradle-integration-eclipse-0, which didn't change anything in the import dialog of eclipse (no specialized "Gradle" import option showing to select in eclipse, after the installation). I have run gradle eclipse in...
{ "language": "en", "url": "https://stackoverflow.com/questions/35971580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery setTimeout() callback not working I am having trouble figuring out how the $("identifier").remove works with setTimeout(). The code below tries to animate a snowflake dropping down //construct a html string var html_str = "<img class='snowflakes' src = 'snowflake1.png' style='position: absolute; left:...
{ "language": "en", "url": "https://stackoverflow.com/questions/42883797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copying python scripts from local to remote mahcine I have two computers, both windows 64-bit machines. Call the local computer machine A and the remote computer machine B. I have a script.py file on machine A. Without leaving machine A, I want to: * *Copy script.py onto machine B; *Run script.py on machine B; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57389849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scaling FastApi and Redis Pub/Sub for chat trying to build a scalable chat app with FastApi and Redis pub/sub. Suppose we have 10 processes running FastApi app. Each process will create 1 connection pool to Redis at startup. Redis instance allows max 10 connections. Each user has its own redis channel where all noti...
{ "language": "en", "url": "https://stackoverflow.com/questions/73540966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: SWIG_NewPointerObj and values always being nil I'm using SWIG to wrap C++ objects for use in lua, and Im trying to pass data to a method in my lua script, but it always comes out as 'nil' void CTestAI::UnitCreated(IUnit* unit){ lua_getglobal(L, "ai"); lua_getfield(L, -1, "UnitCreated"); swig_module_info ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2406410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Group a flat object list into a nested list by specific object property using RXJS I have a collection like this: FlatObject [ { id:"1", name:"test1", group: "A" }, { id:"2", name:"test2", group: "B" }, { id:"3", name:"test3", group: "B" }, { id:"4", name:"tes...
{ "language": "en", "url": "https://stackoverflow.com/questions/46550051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I don't understand the concept of High Memory and I'd like to I have gathered this much. "High Memory is memory for which logical addresses do not exist, because it is beyond the address range set aside for kernel virtual addresses." It seems to me there would be overhead for creating mappings to high memory. Is hig...
{ "language": "en", "url": "https://stackoverflow.com/questions/12565567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Regarding Structs and Using Them With Array's I'm trying to write a program that will take every line from a text file and load the value into an array. For some reason however, when I try create a dynamic array and try to put information in any position beyond 0, the information from from position zero gets copied ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29112501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Combo box with ability to constraint displayed items. WinForms Hi I need a combo box control (.NET, WinForms) and to be able to constraint available combo box values by typing a string of characters and have those apply a contains/like search to constrain the available values in the combo box. I mean entering "Un" w...
{ "language": "en", "url": "https://stackoverflow.com/questions/4540411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Only accept certain certificates I have created my own CA, and I want to use its certificates to communicate with a server using SSLSockets. I can do that with the truststore I am currently using, but I would like to be more restrictive, so that my server only accepts connections from the clients I explicitly decide...
{ "language": "en", "url": "https://stackoverflow.com/questions/24099219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is @UIViewController referenced in UIView? I was looking through UIView.h and I noticed on line 123 a @class UIViewController; I see there is a UIViewController *_viewDelegate; on line 133 but I don't understand why it would have a delegate? A: At a guess, that'll be so that the controller can deliver viewDidLa...
{ "language": "en", "url": "https://stackoverflow.com/questions/27284189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Algorithms for establishing baselines from time series data In my app I collect a lot of metrics: hardware/native system metrics (such as CPU load, available memory, swap memory, network IO in terms of packets and bytes sent/received, etc.) as well as JVM metrics (garbage collectins, heap size, thread utilization, e...
{ "language": "en", "url": "https://stackoverflow.com/questions/50456409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Set dynamic ENV in Dockerfile (and I can modify the Dockerfile only) At work we are able to build image from Dockerfile and we do not have access to the docker command. My goal is to be able to set environment variables based on my commit message or branch. Here is my try: RUN branch=$(git branch | sed -n -e 's/^\* ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71245589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }