text
stringlengths
15
59.8k
meta
dict
Q: Grouping rows with Groupby and converting date & time of rows of start date-time and end date- time columns I have a dataset looking like this: Blast Hole East Coordinate North Coordinate Collar Theoritical Depth Tag Detector ID Date and Time Detection_Location Detection Date & Time 64 16745.42 107390.32 2634.45...
{ "language": "en", "url": "https://stackoverflow.com/questions/57549303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Linking to iOS simulator binaries on OSX I was curious what would happen if I linked to an iOS simulator framework in a Mac app. So I copied UIKit to it's own folder (so the Framework search path wouldn't include all the iOS simulator framework, as like CoreFoundation is both on Mac and iOS but has different headers...
{ "language": "en", "url": "https://stackoverflow.com/questions/28946926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Find all the combinations that return a particular value from a function This is a variation on finding all the combinations that add to a target, with two constraints: * *We have a limited set of numbers to work with. *The numbers must result in the target number when fed into a separate function. In this cas...
{ "language": "en", "url": "https://stackoverflow.com/questions/61434281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Multiple widget changes based on one button event in Kivy I'm trying to build this application which contains multiple buttons. I can bind each button event to a callback but I am not able to change the state (namely the label) of any other button except for the one that fired the event. Does anyone know how to do t...
{ "language": "en", "url": "https://stackoverflow.com/questions/20650593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ CLI error C3767: candidate function(s) not accessible I'm new to C++ CLI coming from unmanaged C++ world. I'm getting this error: candidate function(s) not accessible when I pass a std::string as part of the method argument. Here's the exact code: Lib Project (compiled as .dll project) //Lib.h #pragma once pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/947213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: using sass with compass - 404 css not found I'm using the followig config for compass with grunt: compass: { options: { sassDir: '<%= yeoman.app %>/styles', cssDir: '.tmp/styles', imagesDir: '<%= yeoman.app %>/images', javascriptsDir: '<%= yeoman.app %>/scripts', fontsDir: '<%= yeoman.app ...
{ "language": "en", "url": "https://stackoverflow.com/questions/19614469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Javascript - change r attribute of circle wrapped in #shadow-root My html tree looks as follows: <svg id="floating-button-svg" style={{fill: `${floatingButton.backgroundColor}`}}> <use id="use-tag" href=" <svg> <circle id="semi-circle" class="cls-1" cx="500" cy="500" r="50"/> </svg>" /> </svg> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60392155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace this componentWillReceiveProps? I have a login and register component with forms that were created a while ago before these methods were deprecated, I've been looking around but cannot seem to find a solution, how would I go about refactoring this to using getDerivedStateFromProps? componentWillRece...
{ "language": "en", "url": "https://stackoverflow.com/questions/59143054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Axios import breaks rest of javascript file I'm using encore and yarn to set up my javascript and css in a symfony project. I want to use axios so I use: yarn add axios then I add this code to app.js import '../css/app.scss'; import axios from "axios"; console.log('test'); axios({ url: 'https://dog.ceo/api/br...
{ "language": "en", "url": "https://stackoverflow.com/questions/59863878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Css counter for list I am trying to use the counter increment in css on my ordered list but its not working This is what I want to display: 1. Acknowledgements 1.1 blah, blah .... 1.2 blah, blah .... 1.3 blah, blah .... 2. Risk Statement 2.1 blah, blah .... 2.2 blah, blah .... 2.3 blah, blah .... ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23267039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Global var vs Shared Instance swift What is the difference between global variable and shared instance in Swift? what are their respective field of use? Could anyone clarify their concept based upon Swift. A: A global variable is a variable that is declared at the top level in a file. So if we had a class called Ba...
{ "language": "en", "url": "https://stackoverflow.com/questions/44939952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: How to set layout with XML in View for BaseAdapter getView() method The following Java code (from https://www.intertech.com/Blog/android-adapters-adapterviews/) is from getView(), a method implementation from a Android Adapter class, and it builds a View in Java to populate items on a List. I get how it works, but t...
{ "language": "en", "url": "https://stackoverflow.com/questions/55692877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: project using moleculer-sentry example I have been trying to use the moleculer-sentry mixing in a moleculer project. But it is not working. Does someone have an example project using this mixing? Also i have been searching answers in internet, but nothing.
{ "language": "en", "url": "https://stackoverflow.com/questions/71413946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Javascript asyc and await working in this particular code? I have implemented an async function which creates an XHR object inside a Promise, requests a data from the server and fulfills the Promise with the response received from the server async function playWordsAudio(id, type, check=false){ let file...
{ "language": "en", "url": "https://stackoverflow.com/questions/67992979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Convert ts object to data.frame and keep row- and colnames I want to convert a ts (i.e. timeseries) R object to a data.frame. The names of rows and columns of the ts object should be retained. Consider the AirPassengers data set: data(AirPassengers) I could convert this ts object to a data.frame as follows: AirPass...
{ "language": "en", "url": "https://stackoverflow.com/questions/54053314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Where does setup.py install console scripts to? When I set up my package using setup.py to have a console script entry point, pip install -e . creates a cli exe in the C:\Users\...\anaconda3\envs\envname\Scripts\foo.exe. However on a separate computer the python executable is the one from the Windows Store: C:\Users...
{ "language": "en", "url": "https://stackoverflow.com/questions/72643833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using the button tag, can I customize the button? I want to use a custom button image that I drew up for my application, but doing so I need to use different images for the button being focused and another for it being pressed. I came across the selector tags but for some reason it doesn't like it. Eclipse complain...
{ "language": "en", "url": "https://stackoverflow.com/questions/16826011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: How to show button when adding fragment? Bottom button(234) is not showing after adding fragment. I don't want to resize my fragment size. Home_Fragment.xml This is the main Fragment page. It also have profile Fragment. From Profile Fragment we are calling next fragment that is hiding bottom button (TV_Chat button...
{ "language": "en", "url": "https://stackoverflow.com/questions/50348828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET/GridView: Using only a subset of the data fields in the table I have a list of objects called Activity and I want to display the date, type and notes for each and every one of these activities. This is the code I'm using. <asp:GridView ID="gvTable" runat="server" AllowSorting="true" ShowHeader="true"> <Col...
{ "language": "en", "url": "https://stackoverflow.com/questions/1922927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iOS Build Error: missing file Icon102.png I have a Xamarin Forms App running on Android and iOS. Everything works fine on a Simulator and on lokal devices. When I push the Buid to AppCenter, the Android Version gets build without a problem, but the iOS Build alsways fails with the following error: (_CoreCompileImage...
{ "language": "en", "url": "https://stackoverflow.com/questions/60660242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What really happens internally when an update happens on a record with indexed column in sql server I know that when a table has indexed column(s), sql server duplicates the data of these columns so that it can be accessed fast without looking through every record. And if the index is covered with other columns then...
{ "language": "en", "url": "https://stackoverflow.com/questions/23999689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I clear an array in the state of my Redux store? I am building a small e-commerce shop and I am trying to clear my cart after a successful checkout. The cart contains cartItems which are stored in the Redux store. I am getting the console log in my function in the StripeCheckoutForm component and the action c...
{ "language": "en", "url": "https://stackoverflow.com/questions/53989718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Zoomable fullscreen image in portrait and landscape mode I am a beginner at programming. I have an app where you can tap into any of the images that are on display to show that image in full-screen mode and can pinch to zoom. The issue I am having is that if you rotate the phone then the image is only half visible. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47354076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EXEC master.sys.sp_MSforeachdb error when looping through databases I am getting the following the error when executing the statement: EXEC master.sys.sp_MSforeachdb 'INSERT INTO AuditDatabase.dbo.[DataDictionary] exec sp_get_extendedproperty use [?] "?"' Msg 102, Level 15, State 1, Line 23 Incorrect...
{ "language": "en", "url": "https://stackoverflow.com/questions/29436928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Find prev element source I know this code below doesn't work, but is it possible with a call to get the "src" from the prev, <img>with a little tweak to the jquery below? HTML: <li> <img src="assets/themes/abstract/1_tbn.png" class="theme_tbn" /> <label class="theme_label">Diffuse green</label> <span> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/16529591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What should be passed as input parameter when using train-test-split function twice in python 3.6 Basically i wanted to split my dataset into training,testing and validation set. I therefore have used train_test_split function twice. I have a dataset of around 10-Million rows. On the first split i have split traini...
{ "language": "en", "url": "https://stackoverflow.com/questions/56099495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Initialize a multidimensional array of JButtons declared in a different class using get method I have to create a battleship game where there is a multidimensional array of JButtons to denote the player grid. I am supposed to initialize the JButtons in the main UI class but they need to be declared in a separate cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/42011144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run all javascript files in a folder with NodeJS? I want to have a folder with javascript files and be able to programmatically run whatever is on them asynchronously. For example: async.each(folder_files, function(content, cb){ run_script(content); cb(); },function(err){ if(err){ console...
{ "language": "en", "url": "https://stackoverflow.com/questions/50558532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP code in JavaScript to get variable When I press on any of the ‘region’ names in the list ('href' links), the matching list of 'cities' is showing underneath. <?php while(has_list_regions()) { ?> <a href="javascript:show_region('<?php echo list_region_id() ?>');"></a> <?php } ?> <script type="text/javascript">...
{ "language": "en", "url": "https://stackoverflow.com/questions/13784380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: unique form field validation in extjs4 Is there a cleaner way to define unique form field in extjs. Below is a sample code that is checking on client UID on client creation/edition. This code is working but has some bugs - for example on client creation if you enter a value that is already present in DB validator re...
{ "language": "en", "url": "https://stackoverflow.com/questions/6321468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to set the initial topic assignments for scikit-learn LDA? Instead of setting the topic_word_prior as a parameter, I would like to initialize the topics according to a pre-defined distribution over words. How would I set this initial topic distribution in sklearn's implementation? If it's not possibl...
{ "language": "en", "url": "https://stackoverflow.com/questions/55753444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I should add '&' before the parameter which is an unordered_map? unordered_map<int, string>::iterator findElement(unordered_map<int, string> &intString, int index){ return intString.find(index); } If I don't add the & before the intString, the code will crash. A: The & in the type for the function-paramete...
{ "language": "en", "url": "https://stackoverflow.com/questions/49397062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Call Python google cloud endpoint api from android At this point I have created a python app-engine endpoint api called paper (as also noted in the app.yaml) file. I have placed all the jars, including the …-java-1.13.2-beta-sources.jar file, in the libs directory of my android project. How do I call one of my web s...
{ "language": "en", "url": "https://stackoverflow.com/questions/15622779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Multipeer Connectivity Session in iOS7 I've looked into Apple's documentation but is still uncleared about one thing, the session. * *When - (void)advertiser:(MCNearbyServiceAdvertiser *)advertiser didReceiveInvitationFromPeer:(MCPeerID *)peerID withContext:(NSData *)context invitationHandler:(void (^)(BOOL, MCSe...
{ "language": "en", "url": "https://stackoverflow.com/questions/22752700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: javascript to allow me to collapse accordion that is extended I have a side navigation bar that consists of multiple accordions that when expanded shows more navigation buttons. I have a bit of JavaScript that will only allow one of those accordions to be expanded at a time. However if I click on one accordion to ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/57287743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how can i plot series first bar's close price of super trend (long/short)? how can i plot series first bar's close price of super trend (long/short) ? //@version=5 indicator("Supertrend", overlay=true, timeframe="", timeframe_gaps=true) atrPeriod = input(10, "ATR Length") factor = input.float(3.0, "Factor", step = 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/73097293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I tried several times but still animation is not working, please help me to fix it CSS parts Blockquote I was just making a box and apply animation over it, these are respective lines of code <style> .box { background-color:red; margin-top: 100px; width: 200px; height: 100px; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/67900854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Export data from database to sql file with PHP I need to export data (only the data, not the tables nor database) from the database to a SQL file and save it. How to write a PHP function that does that? I want to call this function in specific circumstances when running specific queries (updating a blog post, for ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/57632218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error while unzipping JSON file (Firefox) in my Node.js application I have a route where I am fetching a big chunk of JSON data from database (Postgres) and sending it in compressed format in a response. I am using Zlib module to gzip this data. I am setting Content-Type: application/gzip and Content-Encoding: gzip ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46108399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the Thingsboard IoT platform's default system administrator account? What is the Thingsboard IoT platform's (https://thingsboard.io) default system administrator account after a fresh (Raspberry Pi) installation? The existing documentation only refers to default "tenant" account, which is ok on my setup. Tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/41832556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: How to Directly Upload file to other server So I have a project in which i want to upload video to dailymotion using api So i want to Upload video directly to dailymotion server without uploading it to my local server My Action [HttpPost] public async Task<ActionResult> Add(Video Videos) { var fileToUplo...
{ "language": "en", "url": "https://stackoverflow.com/questions/57901771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C fork - how to wait for all children before starting workload? I am trying to get fork() to create multiple processes all of which do the same work. I need all of them to get created first, and then at the same time start doing work. That is, I want all of the processes to wait for all of the other ones to get crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/19210566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenGL orientation. (Identity rotation looking in negative z) I'm implementing a renderer that handles every translation- / view- / model- / projection-matrix (I don't use glRotate / glTranslate etc.). I have placed several blue objects along the positive z-axis and some red objects on the positive x-axis (So I shou...
{ "language": "en", "url": "https://stackoverflow.com/questions/9448885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: uploading an array to server in swift using Alamofire This is how I'm saving the data successfully to model class when user login var isLogin: IsLogin! var loginDetail: LoginDetail! var myDetail: MyDetail! let decoder = JSONDecoder() do{ isLogin = try decoder.decode(IsLogin.self, from: response.data!) login...
{ "language": "en", "url": "https://stackoverflow.com/questions/63713852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use a template template argument from a member templated type alias of a struct I'm trying to use a template template argument coming from a member type alias of a struct, but I can't find the right syntax: struct A { template <typename T> using type = int; }; template <template <typename> class C> str...
{ "language": "en", "url": "https://stackoverflow.com/questions/69383065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save on Camera Photo on Custom Location? I am currently using the following code here: val cameraRequestCode = 1 val cameraPermissionCode = 1 var imageUri : Uri? = null @RequiresApi(api = Build.VERSION_CODES.M) override fun onActivityResult( requestCode: Int, resultCode: Int, data: Intent? ) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62898400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Random access of multiple files and file caching This relates to some software I've been given to "fix". The easiest and quickest solution would make it open and read 10 random files out of hundreds and extract some very short strings for processing and immediately close them. Another process may come along right af...
{ "language": "en", "url": "https://stackoverflow.com/questions/1755786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Inverted a Responsive Size for an Image I'm attempting to use the following design on a responsive website. I'm curious if there's a way to set up some sort of inverse resizing method through jQuery / Javascript because as the viewport gets smaller, the copy will respond and get larger. I've tried using jQuery to mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/29056531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: scraping only a particular tag without details from nested tag in that particular tag I have a page where the structure is something like <body> <article> <!--article no 1--> <h3> <h2> <h1> <a> <!--first 'a' tag--> <article> <!--article no 2--> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/52160845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to automatically detect types in Specflow tables? If I have a Techtalk.Specflow.Table, is it possible to detect automatically the appropriate types of the elements in the table ? For exemple, if I have the following steps : Given the following ticket sold on the 2019-01-01 |TicketId|Owner |Amount|...
{ "language": "en", "url": "https://stackoverflow.com/questions/56939759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we override wsa:To value in SOAP 1.2 I want to override wsa:To element value in SOAP 1.2 message. Can I do this by adding "To" HTTP header to the request ? Could you explain the use of this wsa:To element value on the SOAP 1.2 message header ? A: No. wsa:To is a SOAP header block, not an HTTP header.
{ "language": "en", "url": "https://stackoverflow.com/questions/30248390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgres: is it posible to see how a Database View is constructed is it posible to see how a Database View is constructed in Postgres, to see wich query was used to create that view? A: In psql: \d+ the_view --or select definition from pg_views where viewname = 'the_view';
{ "language": "en", "url": "https://stackoverflow.com/questions/66643894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: First link of pagination shows 404 page in CodeIgniter I am working on pagination of category page. my route is $route['category/(:any)/(:num)'] = 'public_controller/category/$1'; And url to go to category page is http://localhost/ecom/category/seats but it shows 404 error page. but when I give http://localhost/eco...
{ "language": "en", "url": "https://stackoverflow.com/questions/61878128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Case Statements with Not Exists as Part of Where Clause I'm calculating the depreciation of vehicles and need to grab the previous month's values if it exists. I've written a case statement in the where clause to see if the value exists. If it does, then I want to subtract one month and use that value to get ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55642271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: overloading operator== complaining of 'must take exactly one argument' I am trying to overload the operator==, but the compiler is throwing the following error: ‘bool Rationalnumber::operator==(Rationalnumber, Rationalnumber)’ must take exactly one argument My short piece of code is as follows: bool Rationalnumber:...
{ "language": "en", "url": "https://stackoverflow.com/questions/11229074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Sumproduct VBA with Loop I know this question has been asked ad nauseum in some form or other, but all of my Googling hasn't led me to a solution. I want to use Sumproduct in a VBA loop with moving criteria references. I know that Sumproduct doesn't work the same in VBA as it does in a spreadsheet. The formula I'...
{ "language": "en", "url": "https://stackoverflow.com/questions/63688584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Access to previous steep Html I am learning Elm and I seems that you make a new VirtualDOM every view "frame". view : Model -> Html Msg There is no reference to the previous generated Html value, so there is no option to update it (in a functional way). You must rebuild it from scratch. This is highly inefficient. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51014268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to simply nested ternary logic in react while rendering different component I have the following logic inside a react component where, I am rendering different component based on the boolean values. This peace of code is very difficult to understand. Are there anyways, I can simply that logic: {isEnabled ?...
{ "language": "en", "url": "https://stackoverflow.com/questions/69752160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Separating Command Buttons and VBA code in Excel I have an Excel worksheet with over 100 rows of data. When the user completes filling in the information in their row, there is a command button at the end of the row that automatically sends an email to a specific email account with information from the row. I've ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41021545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: R Regex with Stringr: character(0) Error I'm trying to recreate an old project. However, I'm guessing something changed in the stringr package because my code no longer works. Minimum working example (MWE): library(httr) library(stringr) library(XML) url <- "http://www.lq.com/en/findandbook.html" page <- GET(url) s ...
{ "language": "en", "url": "https://stackoverflow.com/questions/34430331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does silverlight really solve browser compatibility issues? I'm planning web application and considering silverlight as development platform. Will it help to solve browser compatibility issues? The app intended to be used on desktops only (no mobile). A: Yes, it will solve browser compatibility issues, and could wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/25079470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable space character virtual keyboard iOS I want to disable the space character from the virtual keyboard on my iOS application when users edit an input text. Users should enter a nickname. So I want to remove all space characters. Thanks. A: Trying to modify the standard keyboard requires taking a dangerous pat...
{ "language": "en", "url": "https://stackoverflow.com/questions/10977710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using writeOGR with rpy2 I am trying to use writeOGR using R called from Python 3.8. import rpy2.robjects as ro ..... ro.r('ttops <- .....') ro.r('writeOGR(obj=ttops, dsn="T:/Internal/segmentation", layer="test", driver="ESRI Shapefile")') errors with: R[write to console]: Error in writeOGR(obj = ttops, dsn = "T:/...
{ "language": "en", "url": "https://stackoverflow.com/questions/63001868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does readdirSync() say no such file or directory? index.js const fs = require('fs'); const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); filesystem: src -commands -stuff.js -config.json -index.js Error: Error: ENOENT: no such file or directory, scandir './commands/' at...
{ "language": "en", "url": "https://stackoverflow.com/questions/59256354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How can I use a bitmask? How do I use it in C++? When is it useful to use? What would be an example of a problem where a bitmask is used to see how it actually works? A: Let's say I have 32-bit ARGB value with 8-bits per channel. I want to replace the alpha component with another alpha value, such as 0x45 unsigned ...
{ "language": "en", "url": "https://stackoverflow.com/questions/18591924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "77" }
Q: Xamarin.Forms custom loading gif as activity indicator I would just like to know of something is possible as I am very new to Xamarin and I am on a time limit for an assignment. I don't mind some trial and error, but don't want to waste the time if it isn't possible I want to have an animated gif as an activity indi...
{ "language": "en", "url": "https://stackoverflow.com/questions/25808010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rotativa PDF converter not rendering Flexbox correctly Using ASP.NET MVC in .NET Framework 4.8 I've been trying to render a View into a PDF. Found the Rotativa package that can do it. I've found out that it is pretty similar to wkhtmltopdf. In this case, when writing CSS Flexbox, there's certain differences. Using t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: move values in stack to a vector in c++ I am trying to move the elements that are in the stack into a vector. I have tried the following: for(int i=0; i<vector1.size();i++) { vector1[i]=stack1.pop(); } But it keeps giving me error. A: std::stack::pop doesn't return a value You need to use std::stack::top, to g...
{ "language": "en", "url": "https://stackoverflow.com/questions/28078045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Index was outside the bounds of the array about bitmap I have code which convert byte array to bitmap.. (In my Project I cannot use MemoryStream or others bitmap converter.) Here is my code. public static Bitmap ConvertBitMap(int width, int height, byte[] imageData) { var data = new byte[width *...
{ "language": "en", "url": "https://stackoverflow.com/questions/21861557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Create button which change string value every time clicked I want to create a button which will change the string value every time I click in C#. Here is my C# code: partial class Translator2 : Page { public string from = "en"; // initial value public string to = "ja"; // initial value public async ...
{ "language": "en", "url": "https://stackoverflow.com/questions/45652284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to identify if certain keys are present in dictonary? I have dictonary named as Entity which look like this: Entity = {'ORG': 'ABC','PERSON': 'Ankit','ORDINAL': '150th','DATE': 'quarterly', 'MONEY': 'dollars'} Now I have to create other dictionary which will contain below value according to condition. Class = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56343125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow - Read different block_lengths from multiple tfrecords with parallel_interleave? I am trying to read three different large tfrecords of different lengths, and read them all in parallel like this: files = [ filename1, filename2, filename3 ] data = tf.data.TFRecordDataset(files) data = data.apply( tf....
{ "language": "en", "url": "https://stackoverflow.com/questions/50881103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 302 redirect while downloading Jfrog PHP private artifact Downloading (connecting...) Downloading (connecting...) Update failed (The \ "https://abc.jfrog.io/artifactory/api/composer/php-local/direct-dists/@abc/framework/abc_code.zip" \ file could not be downloaded, got redirect without Location (HTTP/1.1 302 Found))...
{ "language": "en", "url": "https://stackoverflow.com/questions/74716933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Add nuget package into project file without Visual Studio I am looking for solution to add/update new nuget packages to exiting project file .csproj but without Visual Studio. I gone this post here it download package it on local machine. But we want same process that Visual Studio do * *Download dll *Add refere...
{ "language": "en", "url": "https://stackoverflow.com/questions/34654389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Facebook graph api posting gifs as static images to pages posts I'm trying to post gif to facebook page but when it's posted as photo, gif image does not move, it posts as static jpg file. What I've already tried: The result is static image: I've tried to post gif as video: The result is better, but still it's no...
{ "language": "en", "url": "https://stackoverflow.com/questions/49862861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Importing class-type global variables I'm trying to implement a configuration system contained within a module. The core configuration variable is a class instance and a global variable in this module. It seems that when I import this variable, I cannot use it as a class for some reason. Consider this minimal exampl...
{ "language": "en", "url": "https://stackoverflow.com/questions/26830381", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google App Invites: iOS App and Android app with different package names/bundle IDs - how can they be linked with goo.gl/App Invites? I an app for both iOS and Android that I need to link via App Invites - but they have different package names/bundle IDs that represent the same service - how do I link them with goo....
{ "language": "en", "url": "https://stackoverflow.com/questions/31319819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how to error Cannot bind to the new display member. Parameter name: newDisplayMember This is my code and when called this function return error: Cannot bind to the new display member.Parameter name: newDisplayMember Code: public void FillDrpKala() { string SQL = "SELECT [kID],[kName] FROM tblKala ORDER B...
{ "language": "en", "url": "https://stackoverflow.com/questions/23759163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Split-path powershell This must be very simple but yea I want to split-path "E:\Somefolder\ps\pow.ps1" So by using Split-path "Path" -Parent I get the parent path i.e."E:\Somefolder\ps" but I only want "E:\Somefolder" Any suggestions? A: well! well! I was able to do it using following line: Split-Path (Split-...
{ "language": "en", "url": "https://stackoverflow.com/questions/41627621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Kinect.Toolbox custom TemplatedGestureDetector initialisation I'm working on an application to control various systems using a Kinect, and I'm having trouble setting up custom gestures. I'm using the Kinect Toolbox library, and I've run into a chicken-and-egg problem with the TemplatedGestureDetector. What I want to...
{ "language": "en", "url": "https://stackoverflow.com/questions/22744944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excel table object: How to increment numbers when value changes in another column? I have a range of cells in Table format in excel. How to increment numbers in a table column when value changes in each group with a formula? I tried using the formula B2=COUNTIF($A$2:A2,A2) which creates a number sequence that restar...
{ "language": "en", "url": "https://stackoverflow.com/questions/70800670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JPA insert rows in multiple transaction, limit the maximum row numbers in a single transaction I would like to insert every 1000 row in a separate transaction. So if there are 3000 row than it should insert it in 3 different transaction. I don't use Spring. import com.company.UserDAO; import javax.inject.Inject; i...
{ "language": "en", "url": "https://stackoverflow.com/questions/62246986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to auto insert data into database using the values from another table? I have 2 tables. this is the incomes table income_id date_income total_amount 1 2022-05-22 14 2 2022-05-22 15 3 2022-05-21 20 4 2022-05-21 25 and this is the total_income ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/72360019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why push notification directed to specific iOS device from Web API through Firebase FCM does not arrive? I'm working with a remote web API developer, currently we're working to send push message from the server to iOS and Android device. We send our device token via OAuth API. (For iOS, device token is gotten from r...
{ "language": "en", "url": "https://stackoverflow.com/questions/48198866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dependency injection of EF context in WebJobApp I'm trying to create my first webjobapp that requires the use of Entity Framework. I am trying to inject my context into the builder of the app, but I'm getting an error: Cannot bind parameter 'db' to type ApplicationDbContext. Make sure the parameter Type is supporte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75093005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to fix 'SnowballStemmer' object has no attribute 'StemWords? This is the code: import nltk from nltk.stem.snowball import SnowballStemmer stemmer = SnowballStemmer(language='english') stem = [] lines2 = ["test"] for words in lines2: stem.append(stemmer.stem(words)) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/70381229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab: Can't clone repo over SSH I've installed Gitlab version 5.1 on my server (Centos 6.4 64bit). After a lot of hiccups, I now can clone, pull and push... but only over HTTP. Anytime I try an SSH clone, this error occurs: $ git clone [email protected]:my-project.git Cloning into 'my-project'... FATAL: R any my-proj...
{ "language": "en", "url": "https://stackoverflow.com/questions/16517378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: gfortran is not working on Mac OS X 10.9 (Mavericks) Recently, I updated my OS X to 10.9 (Mavericks); unfortunately, gfortran stops working although I updated Xcode command line to 5.1.1 for OS X Mavericks. Similar question has been asked sometime ago, here, but I don't think so the issue is sorted out. here is wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/23501128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Grunt error task "default" not found When trying to run grunt, I get an error message: Warning: Task "default" not found. Use --force to continue. Aborted due to warnings. I have already found several posts on this topic, and in each of them the problem was a missing comma. But in my case I have no idea what's wron...
{ "language": "en", "url": "https://stackoverflow.com/questions/49379258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenXML - continue writing to next worksheet (million row hit) According to Microsoft specifications .xlsx files have limit of 1,048,576 rows PER worksheet. In theory, as I see It, that means we could write file even with 2 million of rows - with two worksheets in same workbook. I'm using OpenXML package with SAX ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/57159067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: chrome not working with jquery remove Can anyone explain why this jsfiddle does not work in chrome, but works flawlessly in Firefox? here's the link: http://jsfiddle.net/Bu33n/ Here's the code just in case jsfiddle is inaccesible: <div class="container"> <div class="scheduleSet" id="remove19s"> <p>I am a...
{ "language": "en", "url": "https://stackoverflow.com/questions/18026985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Height of the division in CSS3 I am trying out forms in HTML. Fiddle For the div #status, the CSS rules are- #status{ margin:auto; width:50%; border:2px solid red; background:white; height:40%; } But I cannot understand why the height of divison does not get altered by height rule in the CSS. More ove...
{ "language": "en", "url": "https://stackoverflow.com/questions/36239225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OSX: How to force multiple-file-copy operation to plough through errors This is so wrong. I want to perform a large copy operation; moving 250 GB from my laptop hard drive to an external drive. OSX lion claims this will take about five hours. After a couple of hours of chugging, it reports that one particular file c...
{ "language": "en", "url": "https://stackoverflow.com/questions/10325489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: jQuery .html( data here ) seems to "re-size" the response text Consider the following code. It's an anchor tag with an id called leader-module-total that - when pressed - calls a PHP script and displays the echos done in the PHP code inside an id called leader-module. Basic enough. However, each time I do this, I ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/1404676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TextField with Keyboard in cocos2d ! I am trying to develop a iphone app by using cocos2d. I create a alert view with a text field. when I touch the text field then comes the keyboard. But I want that when the alert is open, in the same time textfield will be selected and keyboard comes(without any touch). how can i...
{ "language": "en", "url": "https://stackoverflow.com/questions/483264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Access: Dynamically set Query criteria to Is Null or Is Not Null First time posting a question, but I've been benifiting from some great advice here over the last few weeks while building my database, thanks all. In Access I have a "search" form with multiple combo-boxes that a query references to generate a report ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26153699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cloud PaaS that supports socket programming What are the cloud PaaS that supports the opening of a socket? I browsed about various cloud services of which the GAE doesnot support socket. What are the other PaaS (both free and paid service)? Note: languages are java,.NET mainly and any other language A: Socket is...
{ "language": "en", "url": "https://stackoverflow.com/questions/15360779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Prevent LongListMultiSelector from "auto scrolling" when inserting items at the beginning I am using a LongListMultiSelector to show messages. Newest messages are at the botton - like in a messenger. I know have a button in the ListHeaderTemplate, that allows me to load earlier messages and insert them at the top at...
{ "language": "en", "url": "https://stackoverflow.com/questions/20074723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: how do i fit background image to any screen? HTML <!doctype html> <html> <head> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <title>Coming Soon</title> <link href="css/Main.css" rel="stylesheet"> </head> <body> <section class="content"> <div ...
{ "language": "en", "url": "https://stackoverflow.com/questions/32628126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Thunder Client math operations Thunder Client doesn't seem to support math operations in its tests. Is there any way I could make it calculate a multiplication like this? A: You can perform math operations using filters you can use {{quantityCols | multiply("pageSize")}} documentation here https://github.com/ranga...
{ "language": "en", "url": "https://stackoverflow.com/questions/74183097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }