text
stringlengths
15
59.8k
meta
dict
Q: Google Apps Script refresh sheet while function is running I have some script in my Google Sheets/ It can take a lot of time to finish all this script (up to 5 minutes I think). And I want to show some message that user should just wait a little. So I have some code like: function test(){ var sheet = SpreadsheetAp...
{ "language": "en", "url": "https://stackoverflow.com/questions/42256376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: IE11 moves cursor to beginning of input when editing value I have a really odd problem on a project. Long Story Short, I have input fields that record interest rate, so a % is appended on blur and removed on focus. It works fine on every browser except for IE11. For some reason, it moves the cursor to the beginni...
{ "language": "en", "url": "https://stackoverflow.com/questions/31322576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to get the constructor name in Node.js from super class I have a "super" module in my Node.js application with a constructor and some prototype functions. var parser = function(options, util, cache, url) { this.options = options; this.util = util; this.cache = cache; t...
{ "language": "en", "url": "https://stackoverflow.com/questions/26131251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Overwriting HDFS file/directory through Spark Problem I have a file saved in HDFS and all I want to do is to run my spark application, calculate a result javaRDD and use saveAsTextFile() in order to store the new "file" in HDFS. However Spark's saveAsTextFile() does not work if the file already exists. It does not o...
{ "language": "en", "url": "https://stackoverflow.com/questions/37284156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: lambda function does not update the reference array I have a method which basically updates each value of the passed reference array by 5. Initially I tried the below options but it wouldn't update the reference array. Option 1: void Int_Array_Update(std::vector<int>& param) { auto f1 = [](int n) { return n +...
{ "language": "en", "url": "https://stackoverflow.com/questions/67383799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: phpseclib - Parse mysql query to array I do a mysql select query over ssh2 with phpseclib. I get my result back. If I add nl2br(), it's kind of readable (every row is on a seperate line). But I still can't access the columns of the rows. How can I properly parse the output of a phpseclib ssh2 mysql query into a recu...
{ "language": "en", "url": "https://stackoverflow.com/questions/27847042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS EBS volume attachement using snapshot I am trying with AWS EBS volume. I created an EC2 Server using the AMI rancheros-v0.7.1-hvm-1. Then I attached volume and mounted to /var/lib/docker folder. Then I run few docker images on that server and I am able to access those applications also. Later I created a snapsh...
{ "language": "en", "url": "https://stackoverflow.com/questions/40630049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add text into along the object using three.js I have added text into my object (a shirt model) using a text geometry. Here is my code: var canvas = document.getElementById('myCanvas'); var ctx = canvas.getContext('2d'); ctx.font = 'italic 18px Arial'; ctx.textAlign = 'center'; ctx. textBaseline = 'middle'; ct...
{ "language": "en", "url": "https://stackoverflow.com/questions/38074263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Git deployment of October CMS site I set up Git deployment for most of my sites and it work really well. I have recently started to work with October, and for main pages which I create myself, I would like to work locally and then use Git to deploy new and updated pages to the live server. It is my understanding tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/48081778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How to shrink the storage size limit of IPFS? I am using IPFS and trying to understand its structure. ISSUE: 1 The issue I am facing is that when I am trying to shrink the storage size of IPFS (for testing it is taking so long time, hence I just want to shrink File System for a while) but is unable to shrink. I trie...
{ "language": "en", "url": "https://stackoverflow.com/questions/55494711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Loading data into json file How can i update json file from model in sap ui5? var oModel = new sap.ui.model.json.JSONModel(); oModel.loadData("json/Product.json"); I have to update my product.json file. Please give me your suggestion... Thank you very much in advance. A: You cannot update a JSON file stor...
{ "language": "en", "url": "https://stackoverflow.com/questions/42490023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to fix Signal Handler assignment For Linux C programming, I have this handler and main method: void handler(int number, signinfo_t, void *ignore){ printf("Signaling %d\n", si->si_pid); } int main(){ struct sigaction sig; sig.sa_flags = SA_SIGINFO; sigemptyset(&sig.sa_mask); sig.sa_handler =...
{ "language": "en", "url": "https://stackoverflow.com/questions/55034028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: loading div only visible on referrer I've got a minor problem I'm trying to resolve on my website. I have it currently so that a loading screen div appears above the page when the user visits and then fades away after a set time/the page is loaded, whichever comes latest. I want this div only to appear on first visi...
{ "language": "en", "url": "https://stackoverflow.com/questions/32358447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to upgrade to mysql 5.6 in ubuntu 12.04 I was needed to upgrade mysql 5.5 to 5.6, to avoid some issues on importing sql files. ERROR 1293 (HY000) at line 231: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause How do you upgrade it? A: Just...
{ "language": "en", "url": "https://stackoverflow.com/questions/30044517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sorting string value in a case-insensitive manner in Java 8 How do I sort string values in case-insensitive order in the following? List<Employee> listofEmployees = Arrays.asList( new Employee(1, "aaa", Arrays.asList(123, 345, 678)), new Employee(1, "bbb", Arrays.asList(91011, 121314, 1516117)), new Empl...
{ "language": "en", "url": "https://stackoverflow.com/questions/49821774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "44" }
Q: installing libjpeg for pil and Google app engine on mac Mountain Lion I'm sure there's a duplicate of this somewhere out there but I looked and am about at the end of my rope. I'm trying get PIL working on my mac OS X 10.8 so that I can use dev_appserver.py to test an imaging feature. First I had trouble installin...
{ "language": "en", "url": "https://stackoverflow.com/questions/14132890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Using Boost asio to receive commands and execute them I'm trying to make a boost server, which will receive commands and do certain things. Now I would like to create a function, that will receive a file and save it to a specific location. The problem is with serialization. I don't know how can I recognize a command...
{ "language": "en", "url": "https://stackoverflow.com/questions/48853393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: change directory with python I coincidentally found out that I cannot change the actual directory from within a python-code. My Test-Program is as follows: from os import system def sh(script): system("bash -c '%s'" % script) sh("cd /home") sh("pwd") The output of pwd is not /home, but the directory where th...
{ "language": "en", "url": "https://stackoverflow.com/questions/13732221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Delete link for user isn't showing up I am new to web development (I have been coding for about 6/7 months now) in hopes of building my own app. I have been reading and working of the Ruby on Rails tutorial by Michael Hartl. I am on the chapter 9 section deleting users and am stuck. Everything works for the most pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/36346113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the best way to update some properties of an object immutably in JavaScript? Say we have an object like: const obj = { foo: { a: { type: 'foo', baz: 1 }, b: { type: 'bar', baz: 2 }, c: { type: 'foo', baz: 3 } } } Now I want to update all properties' baz to 5 if the type of the property in foo...
{ "language": "en", "url": "https://stackoverflow.com/questions/45093736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do certain variables/equations affect lists? def list(a, b): for k in range(len(a)): a[k] = a[k] + b[len(b)-1-k] return a When it comes to manipulating lists, how does python execute a function like this one from a line by line basis. Specifically when i'm presented with an len() or [k] in this code ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/28872421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to write numeric expressions in Makefile? I want to write statements about Podman in Makefile. A UID mapping is used here. But I found that I was always unable to do numerical calculations. Below is my Makefile. But here ${uid}+1 and similar operations will become empty strings. How should I solve this problem?...
{ "language": "en", "url": "https://stackoverflow.com/questions/72646657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I refer to what called a function in C++? I was wondering if there is a way in C++ to know what called a function? Like the this keyword in Java or JavaScript. For example, I have a function called insert, which inserts an item into a linked list, I want the linked-list that called those the function insert ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13408767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Split the string at the word before the next colon? I am trying to split this string between the first colon entry and the next word that includes a colon. The string is a long text. It can have a period or comma between the colons. For example, if I have the following string. String s = "Description: This is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23163925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: BPEL Apache ODE .deployed file I have created a basic helloworld.bpel process file in eclipse in BPEL project and tried to deploy it Apache ODE. So I followed the steps in this link Apache ODE Eclipse BPEL guide. But in the later stages, after putting the relevant files in WEB-INF folder and running the APACHE O...
{ "language": "en", "url": "https://stackoverflow.com/questions/12577258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Django assign user to group during registration based on choice in another field I would like to automatically assign users to a group based on their choice in another field in the user registration field. I am new to Django and I am not sure of the best way to achieve this. I want to assign the group based on the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/67964203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NodeJS, ExpressJS & Jade - passing model to knockout? I'm trying to get my expressJS-Model to my .jade-template, but the way I can access the Model with JS on the client-machine. The idea is simple: I want to use the Model with Knockout - so I need to give the Model-Object as it is to the client. If I do the obvious...
{ "language": "en", "url": "https://stackoverflow.com/questions/13643421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Bootstrap timepicker date object? Currently using bootstrap timepicker with Angularjs http://jdewit.github.com/bootstrap-timepicker The control is displaying well but when i set the ng-model and get the startTime <div class="col-md-3"> <div class="form-group"> <input type="text" class=...
{ "language": "en", "url": "https://stackoverflow.com/questions/27956284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Nested filters in angular for hierarchical data model I have an hierarchical data model with lines of products and then sublines, and then sublines of sublines etc. What I am trying to do is isolate only the sublines that are directly descendants (sons not grandchildren) of a particular line or subline. Here is my ...
{ "language": "en", "url": "https://stackoverflow.com/questions/18478236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How do I save my resized image to my Azure Blob Storage in my ASP.NET Core Application? I'm using the ImageSharp library to rescale my images before they are uploaded to Azure, the application hangs with no errors when it reaches the UploadBlob action and I think it's the stream causing it. When the image is upload...
{ "language": "en", "url": "https://stackoverflow.com/questions/61062906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can an untrusted client prove that an ID isn't human meaningful? I have a situation where an untrusted client is generating string IDs, but I don't want them to be human readable. They don't need to be crytographically random or even unique, I just don't want IDs like "idiot" to be accepted. How can I go about...
{ "language": "en", "url": "https://stackoverflow.com/questions/38811116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Fill List with strings from Regex.Matches I'm writing a WPF client for an online browser game as a learning project for C#. I want to import the data that is shown on the website, store it in a model and display it through binding. Usually, i go about it this way: Retreive data with HttpWebRequest, perform Regex to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/15719708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: overpass-turbo.eu find all cities on maps maybe someone can help me with a overpass-turbo.eu-query. I'd like to highlight (center of it) all cities of a country or region (or current map). Is there maybe an "simple" example on web? (Google was not a good friend with this special request, yet. But I am sure someone m...
{ "language": "en", "url": "https://stackoverflow.com/questions/60724687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Download multiple MP3 files in the background in Android LEVEL: Beginner Language: Java IDE: Android Studio CASE: Downloading multiple MP3 files from multiple URL's in a row in the background. ISSUE: download task in the loop to download all the urls. the songs did download in the following path but aren't fully dow...
{ "language": "en", "url": "https://stackoverflow.com/questions/55515961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing Shared Calendars with Exchange Web Services I'm trying to access shared calendars from exchange using exchange web services, can someone provide me with info on how I can do this? I have tried: ExchangeService myService = new ExchangeService (ExchangeVersion.Exchange2007_SP1); myService.Credentials = new N...
{ "language": "en", "url": "https://stackoverflow.com/questions/5139408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Access WPF Treeview selected index through a TreeViewItem object I have a treeview with checkboxes for each item using a DataTemplate. <TreeView ItemsSource="{Binding}"> <DataTemplate DataType="{x:Type local:MatchDataLeaf}"> <Grid Margin="3"> <Grid.ColumnDefinitions> <ColumnDefinition Width="...
{ "language": "en", "url": "https://stackoverflow.com/questions/4190004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iOS 9 simulator can't show the whole screen For some reason, when I run some old projects, the simulator can't load the full screen: Any suggestion?
{ "language": "en", "url": "https://stackoverflow.com/questions/32750510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure FreeRtos middleware and DPS, on ESP32 I am working on a project, where I am using the Azure FreeRTOS Middleware Stack on ESP32. I would like to introduce DPS to provision all my 3K upcoming devices. The Stack has got a DPS option, but I would like some advice as I would like to generate one global bin file, fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/71870217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading multiple cookie I would like to know how do I detect multiple cookies. I have two button with class- .attack_enabled and .restore_enabled, both create cookie called attackcompletecookie and restorecompletecookie, respectively. How do I detect both cookies and add a class to .territory_middle_complete Here's ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28363084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Error Code:1262 when loading to mySQL I have a little bit of an issue when trying to load tsv file 2gb to mysql database. Error Code:1262 As this is quite big file how can i open/change so i can load it into the system? A: this will be csv file and as you aware that it is to big. if you are in local server you can...
{ "language": "en", "url": "https://stackoverflow.com/questions/21854236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Putting regex into a variable REG=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$/g (echo "1.2.3" | grep -Eq "$REG" ) && echo "matched" || echo "did not match" I get the error: test.sh: line 2: synta...
{ "language": "en", "url": "https://stackoverflow.com/questions/45883345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C# tableAdapter.Update() won't change the database record I want my program to be able to change one row in my Access database with the data from my form. The problem is that the update-function doesn't do anything. There are no error messages and the program compiles correct. Nothing changes in the database. Here i...
{ "language": "en", "url": "https://stackoverflow.com/questions/19786010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mongoose ignores $ne while updating document I'm building a persistent html fields framework using Node, Mongoose, and Socket.io for the backend. I've run into what seems like a bug in Mongoose's update method. The documents in mongo look like this: { "_id" : "pickable_qty", "currently_connected" : [ ], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28375353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my SURF.detectAndCompute returns none before the array? I am trying to extract key point and descriptors but my SURF.detectAndCompute returns None in front of the array and because of that I cannot do the clustering. Below is my code: image_paths = [] image_group_id = [] image_group_names = os.listdir(train...
{ "language": "en", "url": "https://stackoverflow.com/questions/71014359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Reset scrollbar state on switching content I have a sample code with one button and 2 images that are shown conditionally. I need to scroll to the top of the content div, where images are shown but it stays in the same position as the previous content. I tried to separate buttons and content between separate divs bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/70212365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xpath - Extracting multiple specific differnt parts of text strings from one text node I have three samples of text nodes that and I want to extract three different parts of the text, using a universal x-path. First <p class="product-summary"> This is an amazing game from the company Midway Games. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/21662638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you create a read-only user in PostgreSQL? I'd like to create a user in PostgreSQL that can only do SELECTs from a particular database. In MySQL the command would be: GRANT SELECT ON mydb.* TO 'xxx'@'%' IDENTIFIED BY 'yyy'; What is the equivalent command or series of commands in PostgreSQL? I tried... postgr...
{ "language": "en", "url": "https://stackoverflow.com/questions/760210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "580" }
Q: MongoDB Conditional Projection based on existence of query of subdocument in Array I have a schema in which properties can have respective "override" documents stored in an Array("overrides") E.g. { foo:'original foo', overrides: [ {property:'foo', value:'foo override'}, {property:'bar', valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/69365036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using OpenCV to take a particular amount of images without pressing any key I wish to write a program for face recognition. I want my program to automatically take a specific number of images(say,5). Here is what I am currently doing: import cv2 cam=cv2.VideoCapture(0) a=0 count=0 for a in range(5): ret,img=cam...
{ "language": "en", "url": "https://stackoverflow.com/questions/66437449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Gradle Script To call a REST Web service without any 3rd party plugins, any pointers? Hi I need to call a REST service as part of the buildscript (Gradle) without any 3rd party plugins, how could I use Groovy to do that? (My first attempt) repositories { mavenCentral() } dependencies { compli...
{ "language": "en", "url": "https://stackoverflow.com/questions/24058926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "35" }
Q: Quickly finding custom class in xib file I am in a kind of situation to check if any of components (say UILabel) in my nib file specified custom class in identity inspector. Currently the only way to find out is to go and check each component in every xib, is there any way we can search for it, similar to way where ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20992246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: Cannot read property 'quote' of undefined React js Just to summarise, I'm creating a quote-generator using React js. The data is getting fetched from a mock API using React axios. However, when I'm trying to display the quote it gives me that above error line where I get error: {quotes[quoteIndex].quote} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68718351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stop the Banner and Profile picture get change on MouseOver I have a MVC project which has a Banner in _Layout.cshtml <img src="../../SitePics/NewBanner.jpg") class="BannerSize" /> and a Img tag to get the Profile Pic according to the currect logges user <img src="../../@Model.TripPic" class="TripImage" align="left...
{ "language": "en", "url": "https://stackoverflow.com/questions/12130839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Stream_get_contents() not working with Cron Job I have a script called index.php "public_html" folder in my host (see below for script content). A cronjob executes the "index.php" file once per minute. $handle = fopen('example.com', 'r'); $source= stream_get_contents($handle); echo $source; fclose($handle); The pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/56399865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows Server 2003: Any disadvantages to moving website outside of wwwroot? My boss recently asked me if I could move our website outside of the wwwroot folder and place it into "C:\MySite", on windows server 2003. I tried doing so, and setting this up in IIS 6, but had no luck. The website wouldn't start up, so ...
{ "language": "en", "url": "https://stackoverflow.com/questions/9695841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Rails, how do I output my date as a time in milliseconds in my CSV file? I'm using Rails 5.0.1. I use the following code to output my table data to CSV form ... def self.to_csv(from_date, to_date) attributes = %w{index_date value} #customize columns here values = CryptoIndexValue.where('index_date >= ?...
{ "language": "en", "url": "https://stackoverflow.com/questions/45446738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: what login should I keep for app (for appstore approval) I have created an app for Real estate where there are 4 sections. * *Home (where list of rent and sale are shown) *Admin (admin can login and enter data) *Search *More Now I will be uploading this app on the app store. For Admin section, what username an...
{ "language": "en", "url": "https://stackoverflow.com/questions/17510563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding extenal library to compiler toolchain for ARM I have downloaded compiler tool chain for ARM Target. My host machine: Linux Target H/w : ARM7 But i need to add some additional library with that tool chain. I need to know how to add new library to existing tool chain? Thanks Hari
{ "language": "en", "url": "https://stackoverflow.com/questions/34782421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Custom Django field does not return Enum instances from query I have a simple custom field implemented to utilize Python 3 Enum instances. Assigning enum instances to my model attribute, and saving to the database works correctly. However, fetching model instances using a QuerySet results in the enum attribute being...
{ "language": "en", "url": "https://stackoverflow.com/questions/34912460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter: How to draw a star I am trying to custom my container shape to look like this: I tried to do it with customPaint but I don't know very well this widget so I need help. How can I draw a shape like this? Is customPaint the right solution? A: You can copy paste run full code below modified code of package h...
{ "language": "en", "url": "https://stackoverflow.com/questions/63700728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to avoid file content repetition zipfile I need to compress multiple xml files and I achieved this with lxml, zipfile and a for loop. My problem is that every time I re run my function the content of the compressed files are repeating (being appended in the end) and getting longer. I believe that it has to do wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/72178397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: odbc_exec error with progress I am using Codeigniter Database Active Record (ODBC Driver). The application run well. But starting this day, there are error when trying to fetch data from Progress database (connected via odbc). The error message: Severity: Warning --> odbc_exec() [function.odbc-exec]: SQL error: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7790934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to avoid outside of request scope exception in silex application? After restructuring my silex1.2 application, I am now getting hit by: exception 'RuntimeException' with message 'Accessed request service outside of request scope. Try moving that call to a before handler or controller.' in ../vendor/silex/...
{ "language": "en", "url": "https://stackoverflow.com/questions/35323386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Login page is not appearing when the session expires I have one project developed using codeigniter In that when session expires I need to redirect to the login page. controller file //inherit the parent constructor parent::__construct(); //check whether it is an ajax call or not if($this->input->is_...
{ "language": "en", "url": "https://stackoverflow.com/questions/26139011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Auth Popup not working for React 17 App; Getting React warning is this why or how to fix? As shown in description, I am working on a React project and utilizing Firebase for Auth and popup is not firing but I think it might have to do with this warning from React. The warning I am getting from React is that W...
{ "language": "en", "url": "https://stackoverflow.com/questions/66414770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Upload JAR to Nexus OSS 3 I have just installed Nexus OSS 3.0.1-01 on my server and I don't know how to upload artifacts to my maven repository. I need to upload JDBC and other dependencies to it, but I cannot find how! It seems there is no section "Upload artifacts" as Nexus 2.
{ "language": "en", "url": "https://stackoverflow.com/questions/38354033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: In Grails, is "property" a reserved word? In Grails, is "property" a reserved word? That is, can I name a domain class Property and have its owner reference it by properties? Example: class Thing { static hasMany = [properties: Property] } class Property { static belongsTo = [thing: Thing] } When I try to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/1496240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to write to a file in assembly running under DOSBox I've made a procedure that writes to file, and made a label for writing into code, but the string i'm filling isn't being written to the file. Write procedure: proc WriteToFile mov ah,40h mov bx,[filehandle] mov cx,255 lea dx,[WriteStr] int ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36924892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: can not add webpart to sharepoint page i create a website on my local machine but i can't add webpart to web page, it don't rise any error but th webpart don't display to the page. anyone help me. Thanks A: I know this is an old question, but it's ranking high in Google results, so I figured I'd answer it anyway. M...
{ "language": "en", "url": "https://stackoverflow.com/questions/2951510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does FolderBrowserDialog not allow the desktop as SelectedPath when RootFolder is MyComputer? This works: FolderBrowserDialog dlg = new FolderBrowserDialog(); dlg.RootFolder = Environment.SpecialFolder.MyComputer; dlg.SelectedPath = "C:\\Almo\\"; dlg.ShowDialog(); This does not: FolderBrowserDialog dlg = new Fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7810189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Good program structure when updating values in databound object I'm writing a Winforms based tool and could use some guidance on the structure. The program communicates with a piece of hardware over serial, and shows a GUI to display values. Most values are either set from the pc, or read from the device. There are ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62005933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python only sends output interactvely When I run my python script (content irrelevant for this question, just uses print a couple of times) interactively, it sends the output straight away. When I use it in a pipe to tee or in an output redirection (./script.py > script.log) there is no output. What am I doing wrong...
{ "language": "en", "url": "https://stackoverflow.com/questions/29849552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saving a Date in Excel from Datepicker I am trying to save a date from a DatePicker on a Windows Form, into an existing Excel Spreadsheet. The following code assigns a string the ShortDate value of the DatePicker: if (checkupCheck.Checked) { newCheckupDate = checkupPicker.Value.Date.ToS...
{ "language": "en", "url": "https://stackoverflow.com/questions/15312285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript with Prisma I'm completely new to Typescript. I've started to work with Prisma and, coming from Sequelize, I miss simply writing stuff e.g. user.update({ ... }). It seems that Prisma returns just plain objects, and not classes, so I came up with this: import { Prisma, User as PrismaUser } from '@prisma/cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75227367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ZF2 - validation within a bootstrap modal I am using twitter bootstrap in a zf2 application. A bootstrap modal displays a form containing user details, which i would like to be edited and saved. This is fairly trivial if i just submit form in the dialog and reload the whole page, but i am looking for a way to valida...
{ "language": "en", "url": "https://stackoverflow.com/questions/22418104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Conflict between tensorflow/PIL/pillow and scikit-image? I am tying to rebuild my computer to run Spyder in a tensorflow environment for some image processing. In the past this worked and I had scikit-image working fully in that environment, and accessible from Spyder. Something has changed. I have: 1) re-install...
{ "language": "en", "url": "https://stackoverflow.com/questions/54332306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to select begin and end dates independently with dc.js Is it possible to filter a chart by selecting a specific begin date and then an end date without one interfering with the other? For example I'm using a barChart and I have a range like range: [01/02/2022 -> 17/02/2022] and my goal is to set a begin date and...
{ "language": "en", "url": "https://stackoverflow.com/questions/71157519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Matching braces in ruby with a character in front I have read quite a few posts here for matching nested braces in Ruby using Regexp. However I cannot adapt it to my situation and I am stuck. The Ruby 1.9 book uses the following to match a set of nested braces /\A(?<brace_expression>{([^{}]|\g<brace_expression>)*})\...
{ "language": "en", "url": "https://stackoverflow.com/questions/5428173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: const_cast and std::move to remove constness from non-reference I have an external library which I can not modify. The library declares a template function that for some reason returns const non-reference object: template<class C> const C foo(); I have another external library which I can not modify too. The librar...
{ "language": "en", "url": "https://stackoverflow.com/questions/37418387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "20" }
Q: Range not Found Error on for Loop in Google Apps Script I'm looking to create templates using GAS -- all I need is to copy and paste variables into designated cells, push the data, then move to the next. I had my script working great for a single template (the first set of variables). I tried to set up a loop, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74622248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MYSQL update, replace delete with PHP array I have a query I need to run on a $_POST array with php it's quite simple as it takes all the values in the array then runs a query for each of the values which updates the database, here is the tricky part: As the array is dependent of checkboxes selected by the user the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/4615188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Doctrine Query count() and groupBy() date I need to find the total number of logins per day, but how would I select count() and group by day in DQL? I'm using Doctrine 2.3. public function getLoginCount() { return $this->createQueryBuilder('i') ->select('i') // and count(*) ->groupBy('i.t...
{ "language": "en", "url": "https://stackoverflow.com/questions/14791767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to resign first responder from text field when user tap elsewhere? I have filled my view with ScrollView (same size as the view) and I'm stuck at how to resign first responder when user tap elsewhere in the View (or the scrollview). Any idea on how to do that ? I'm using the following method but it's not working...
{ "language": "en", "url": "https://stackoverflow.com/questions/7794959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "26" }
Q: coordinates for google maps from MySQL database, the right way for optimization? Is there a right way of getting coordinates from mysql for Google Maps? The current way I'm doing is I have jQuery script to get coordinates from a populated element which I use MySQL to populate a list of coordinates. // jQuery script...
{ "language": "en", "url": "https://stackoverflow.com/questions/14077566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OR tag is not working with Cucumber Runner class For some reason when i apply OR tags in Runner class it not working my console just print 0 scenarios 0 steps 0.01ms But when I provide individual tags then it works fine, can anyone provide timely help to fix this issue, please let me know what is missing here Feat...
{ "language": "en", "url": "https://stackoverflow.com/questions/61749573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looping through all the worksheets in a workbook This is my code to loop through all worksheets. I want to copy particular cell value from all the sheets and paste it to my master sheet. First i tried for one work sheet, its working fine. I modified the same code to loop through all the worksheets in the workbook. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/24932331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find the class of the clicked item using Jquery I have the following code: $(".perf-row").click(function(e) { if (e.target.tagName.toLowerCase() == "a") { pageTracker._trackPageview($(this).attr("rel")); return true; //link clicked } else { window.open($(this).attr("rel"));ret...
{ "language": "en", "url": "https://stackoverflow.com/questions/1885941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: type parameters generics in interfaces and concrete classes I'm creating something like this and got struck about the usage of generics in java. Idea: Producer produces something of type T and consumers contains command objects, command objects holds different mediators. Mediators holds objects of type Subject and u...
{ "language": "en", "url": "https://stackoverflow.com/questions/22829533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: MySQL: Mass Conversion Script for Table Engine I'm trying to figure out how to convert en mass from database table engine A to table engine B (in this case, from MyISAM to InnoDB). I know I can do it for individual tables using the MySQL workbench, but i'd like a script or a program that can do the conversion en ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/4904956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get specific property from all items from the list I have list of Contacts: public class Contact { private string _firstName; private string _lastName; private int _age; /// <summary> /// Constructor /// </summary> /// <param name="fname">Contact's First Name</param> /// <param name...
{ "language": "en", "url": "https://stackoverflow.com/questions/19962862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "32" }
Q: Vue.js: Get src of an Image and pass it to another call as I tried to explain in my headline: I'm currently trying to get into Vue.js and overall everything I've tried worked up to this point. Now I want to include exif.js to read the exif-data of an image I uploaded to my App. Im also using Laravel, which I think ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54562662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ threads race condition simulation Here is a C++ program that runs 10 times with 5 different threads and each thread increments the value of counter so the final output should be 500, which is exactly what the program is giving output. But i cant understand why is it giving 500 every time the output should be dif...
{ "language": "en", "url": "https://stackoverflow.com/questions/39529000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: no value given fr one or more required parameters I'm trying to prevent SQL injections. Am I doing this right? (I'm using MS Access.) Should I still use sqlparameter? OleDbParameter[] myparm = new OleDbParameter[2]; myparm[0] = new OleDbParameter("@UserID", UserName.Text); myparm[1] = new OleDbParameter("@Password",...
{ "language": "en", "url": "https://stackoverflow.com/questions/29933323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring Reactive Security API Gateway with OpenID Connect, using private_key_jwt (login.gov) I'm following along with this 2-part tutorial. * *Part 1 *Part 2 The goal described: The API Gateway will serve as example of performing an OAuth 2 Authorization code flow based Login with session management. Further...
{ "language": "en", "url": "https://stackoverflow.com/questions/61330618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to find memory and runtime used by a NuSMV model Given a NuSMV model, how to find its runtime and how much memory it consumed? So the runtime can be found using this command at system prompt: /usr/bin/time -f "time %e s" NuSMV filename.smv The above gives the wall-clock time. Is there a better way to obtain runt...
{ "language": "en", "url": "https://stackoverflow.com/questions/53565566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Use Alternate Extension for .sql files in Sql Server I'm looking for a way to have sql server treat a different file extension as an .sql file... My company policy is that we name stored procedures as .PRC instead of .SQL. This makes it a hassle to open a file and edit/execute it. While I can associate SQL Server Ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/11508635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SelectedItem from menuBar I've got two questions: * *How to get a selectedItem on the sub menu as described in reference 1 (see also refenrence 2), workable in Google apps script *Is reference 3 related to this question? If yes, please star so that it might get some attention !! ===== * *Stackoverflow Quest...
{ "language": "en", "url": "https://stackoverflow.com/questions/11639042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Webpack: Module not found: Error: Can't resolve './containers' I want to link react project to python Flask, so I used webpack. But, I have the following error in webpack: ERROR in ./web/app.js Module not found: Error: Can't resolve '/containers' I don't know if there's an error in the path or the syntax is wrong. H...
{ "language": "en", "url": "https://stackoverflow.com/questions/60509092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable To Read Excel Numeric Value Using Apache POI Hi I am trying to read excel data at the time of execution.Before I was sending all data as a string in excel sheet and my code was working fine but after some change i need to read one numeric column also using same code . But i am getting error java.lang....
{ "language": "en", "url": "https://stackoverflow.com/questions/50447705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expand/collapse folders in the Outlook navigation pane programmatically I am writing an add-in for Outlook using C#. Is there are way to programmatically expand and collapse folders in the Outlook 2007 folders navigation pane? Also, is there an event fired when a folder is expanded? A: Outlook does not expose event...
{ "language": "en", "url": "https://stackoverflow.com/questions/2193774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }