text
stringlengths
15
59.8k
meta
dict
Q: Why can't I store email bodies in a relational database? Say I define a table users with a column for email messages where I dump the whole message as a string. It would be ugly and messy but would it work? What would be the consequence of doing this? I am asking because I read that unstructured data cannot be store...
{ "language": "en", "url": "https://stackoverflow.com/questions/50543618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plotting Grouped Data, grouped by multiple columns in pandas I have a grouped dataframe according to two columns. Now i want to plot the data of Date vs Confirmed in seaborn. Is there a good way to do it. grouped_series = cases.groupby(['Country/Region','ObservationDate'])['Confirmed','Deaths','Recovered'].sum() pri...
{ "language": "en", "url": "https://stackoverflow.com/questions/60912708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I convert React code to ClojureScript one? Here is the code I want to convert into ClojureScript: <Table onRow={(record, rowIndex) => { return { onClick: (event) => {}, onDoubleClick: (event) => {}, }; }} .... I need to be able to provide multiple events on Table (onRow) component bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/54979383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open Android Activity when NFC_TECH is discovered I am developing an app which is required to open upon scanning an NFC tag that doesn't contain any data(?) except for ID. The items in database are supposed to be identified by that ID and I am not supposed to write anything on these tags I can get the device to scan...
{ "language": "en", "url": "https://stackoverflow.com/questions/29794021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Refused: not authorized error occurs with IBM IoT Foundation on Bluemix When I attempt to connect to the IBM IoT Foundation with a registered device, I receive the following error message: Error connecting to IBM IoT: {"errorCode":6,"errorMessage":"AMQJS0006E Bad Connack return code:5 Connection Refused: not author...
{ "language": "en", "url": "https://stackoverflow.com/questions/33309617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can i change or remove title and page address? I use some CSS styling to hide input buttton, images and so on but i wonder how can i remove or better: modify, where / what shows up on printed page in place of title and page address? A: This is the browser's standard header and footer, and cannot be controlled b...
{ "language": "en", "url": "https://stackoverflow.com/questions/2516487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create a valid tax rates for all EU countries (2013) in Magento How can I a create valid tax rates for all EU countries (2013) in Magento? Wie erstelle ich einen gültigen Steuersätze für alle Länder der EU (2013) in Magento? A: I have created a CSV tax rates import file for all EU countries based on the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/19950274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parallel processing with Pipe command I'd like to parallel process the command that downloads a live stream. So if it has 4 parts and the PARTS variable contains the number 4, it should open 4 new cmd windows and process the individual part. After reading a lot about parallel processing I came to the following solut...
{ "language": "en", "url": "https://stackoverflow.com/questions/43521909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JavaScript - Replace variable from string in all occurrences OK, I know if I have say the character '-' and I want to remove it in all places in a string with JavaScript, I simply ... someWord = someWord.replace(/-/g, ''); But, when applying this to an array of characters, it s not working ... const badChars = ('...
{ "language": "en", "url": "https://stackoverflow.com/questions/33445534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Margins vs. positions in fixed position elements A little popup told me I had a new Twitter follower in my browser. I clicked inspect element to poke around, and of course wasn't surprised that it was a fixed position element, but the CSS surprised me. #spoonbill-outer { position: fixed; right: 0px; bottom: 0px; mar...
{ "language": "en", "url": "https://stackoverflow.com/questions/31149833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data-binding to singleton source works only on Windows Phone emulator, but not on device I've created a singleton class to store information I want to share globally between controls in a Windows Phone 7 app I'm working on. Specifically, I'm using a data-binding to sync the IsExpanded property between various Silver...
{ "language": "en", "url": "https://stackoverflow.com/questions/15671305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IOError: [Errno 2] No such file when using Paramiko in Python to upload file over SSH this question was asked before a few years back by someone but it looks like it went back and forth for some time without a clear answer. That question is here for reference: IOError: [Errno 2] No such file - Paramiko put() Basical...
{ "language": "en", "url": "https://stackoverflow.com/questions/48372238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Virtual Allocation - Hardware and Software dependencies What are the OS/Software settings, that have significance in Virtual memory allocation. Because virtual memory for a particular address always success in my colleagues Win-7 Pc,but it always fails in my Win-7 pc. Hardware wise there is no difference .i just wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/25502542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: XamlBindingHelper Class Can somebody provide an overview for use of the XamlBindingHelper class with examples? Specifically the GetDataTemplateComponent and SetDataTemplateComponent method. A: In the official document, it says This class is for use in code that is generated by the XAML compiler. This tells me tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/44894073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using indirect within an array I'm trying to use an array formula which has an indirect within it. The formula returns #VALUE however if I solve the 'indirect' portion of the array using F9 then solve the rest of the array, it works. Any ideas? The following is the formula, hopefully this is helpful without the ra...
{ "language": "en", "url": "https://stackoverflow.com/questions/14739747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iterate through object in React - "expression expected" I have following source code: export const LinksPure = (props: AllProps) => { const { t } = useTranslation(); const { component } = props; return ( <DetailsBox title={t('catalogPage.componentDetails.specs.links')}> {Object.keys(component?.exter...
{ "language": "en", "url": "https://stackoverflow.com/questions/63888589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Check whether obj.value has decimal part or not I'm working in an existing project in angularjs and I'm newbie. I have the following code: <td ng-if="obj.value != ''">{{obj.value}}</td> I need to check whether obj.value has decimal part or not. I yes I want to limit the decimal part to 1 digit. I tried <td ng-if="o...
{ "language": "en", "url": "https://stackoverflow.com/questions/63885568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to get the request per second from AWS load balancer? Is it possible to get the number of requests sent to a load balancer in AWS? I am trying to monitor the number of requests that our load balancers are receiving. Both ELB and Application Load Balance (alb). Is there a way to do this from the cli? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41777151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Getting "Error: Failed to load current kubeconfig. Please confirm that your kubeconfig is valid." when using VS Code Bridge to kubernetes When trying to use the Bridge Kubernetes extension of VS Code, having configured the tasks.json as follows: "version": "2.0.0", "tasks": [ { "label": "...
{ "language": "en", "url": "https://stackoverflow.com/questions/65998115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is this parenthesis enclosed variable declaration syntax in Go? I am trying to find some information on parenthesis enclosed variable declaration syntax in Go but maybe I just do not know its name and that's why I cannot find it (just like with e.g. value and pointer receivers). Namely I would like to know the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/35830676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: c# multiple dropdowns Table i need to sort So i got this 5 drop downs i need to use for sorting output from sql Now i use DropDownList_Instruktorer.Items.Insert(0, new ListItem("Vælg Instruktør", "*")); For the Default Value, and i was thinking this will do the job. But cmd.Parameters.addwithvalue enter the valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/37810072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow Object Detection model doesnt detect the images in a video I developed a TensorFlow model with one class (it had a loss of 0.03 and was trained on 680 labelled images.) I am trying to use this model to detect the object on every video frame. However, whenever I run my code, it detects something in the top...
{ "language": "en", "url": "https://stackoverflow.com/questions/74928889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send form contents anonymously via email How do you send the content of a website form to an email address without disclosing the email address to the user. Thanks! PS: If at all possible, I would like this to be in HTML JavaScript Ok, anything I guess. A: Not possible. You can however put a "fake" from he...
{ "language": "en", "url": "https://stackoverflow.com/questions/2785391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Regex filter numbers divisible by 3 I have a list of comma-separated ids(digits) . And I need to get only these which are divisible by 3. Example: i = "3454353, 4354353, 345352, 2343242, 2343242 ..." A: If you really mean digits (not numbers), this is as easy as re.findall(r'[369]', my_str) For a list of numbers,...
{ "language": "en", "url": "https://stackoverflow.com/questions/10992279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring 3 default beans I am working on a project with multiple spring configuration java classes. Many of them have beans from other config classes autowired in and then injected in the constructors of other beans. To make this as flexible as possible, I have been using spring profiles to define which implementatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/26489071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does this Regex mean in Java? "(\\d+(\\.\\d+)?)" The code is: Pattern p = Pattern.compile("(\\d+(\\.\\d+)?)"); A: a. \d implies digit. b. + sign implies one or more occurance of previous character. c. \. -> since . is a special character in regex, we have to escape it with \. d. Also, \ is a special escape ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/47136430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: User-level threads for threading From the Tanenbaum OS book it is mentioned the following: "in user level threads, if a thread starts running, no other thread in that process will ever run unless the first thread voluntarily gives up the CPU". That means threads are going to run one after the other (sequently) not...
{ "language": "en", "url": "https://stackoverflow.com/questions/40878130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Oracle NOT pl/sql I would like to do a select AFTER I do a case statment i.e. select x from dual ( x is actually a variable in a report writer tool) case when x = 'equipment' select * from inside_sales else select * from outside_sales end can't use PL/SQL any help would be appreciated A: I think y...
{ "language": "en", "url": "https://stackoverflow.com/questions/45339579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: PERL: Same server different credentials I have a secured ftp with the following credentials: host: x.x.x.x username: username1 password: password1 After this, I have created a directory in the ftp and secured it with a different credentials: path: x.x.x.x/newDirectory/ username: username2 password: password2 I've ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58970359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Registering single client as multiple applications in Spring Eureka We are using Spring Eureka for service registry in our project. There are 12 microservices and each microservices serves 4-5 functionality. For example a microservice called "MathOperations" serves functions like addition, subtraction, multiplicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/44200055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UITapRecognizer and ImageView I have a UIImageView with a UITapGestureRecognizer attached. This is just a ball moving around the screen. It moves once a second. ball.image = [UIImage imageNamed:@"chicken.png"]; ball.frame = CGRectMake(160, 160, 50, 50); ball.autoresizesSubviews = NO; speed = 10; objTimer = [NSTime...
{ "language": "en", "url": "https://stackoverflow.com/questions/6196432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to write buffer for compiler? I want to write compiler with C# for the first time and I somehow lost what to do about its buffering! My reference is Compilers, Principles, Techniques and Tools, and it says: Because of the amount of time taken to process characters and the large number of characters that must ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29072171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: cannot load such file -- gems/bundler-2.1.4/exe/bundle? I got this error when I do bundle instal bundle install /Users/nour/.rvm/gems/ruby-2.4.0/bin/bundle:23:in load': cannot load such file -- /Users/nour/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/bundler-2.1.4/exe/bundle (LoadError) from /Users...
{ "language": "en", "url": "https://stackoverflow.com/questions/62370695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Updating a dictionary by adding the integer 1 to a select few values in a python dictionary Possible Duplicate: Adding a constant integer to a value in a python dictionary The is a report because I wasn't very clear on asking my question previously. I am doing a cellular automata code where I have made a diction...
{ "language": "en", "url": "https://stackoverflow.com/questions/9624703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Symfony2 - Doctrine log I'd like to see all doctrine queries called. I know the dev bar, but it does not show queries processed through Ajax. How can I see all doctrine queries fired ? A: $ tail -f app/logs/dev.log | grep "doctrine.DEBUG" A: To expand on your answer, especially on dev, I prefer to split each of m...
{ "language": "en", "url": "https://stackoverflow.com/questions/15637647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to write Laravel One to One relationship model and migration With One To One relationship, I'm supposed to have only one phone entry per user. * *So, why am I able to add multiple phone numbers ? *Does it mean that App\User::find(1)->phone only returns the first phone found in the database ? *Should I add a...
{ "language": "en", "url": "https://stackoverflow.com/questions/62124036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: string sorting in LINQ I have below data in database. 01-001-A-02 01-001-A-01 01-001-B-01 01-002-A-01 01-003-A-01 From above, I want sorted data as below: 01-001-A-01 01-001-A-02 01-001-B-01 ... My query as below var l = _context.Locs.OrderBy(o => o.loc).Take(3); //result of the Query 01-001-A-01 01-002-A-01 01-0...
{ "language": "en", "url": "https://stackoverflow.com/questions/58161699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What does Postgres do when BEGIN is run on a connection in autocommit mode? I'm trying to better understand the concept of 'autocommit' when working with a Postgres (psycopg) connection. Let's say I have a fresh connection, set its isolation level to ISOLATION_LEVEL_AUTOCOMMIT, then run this SQL directly, without u...
{ "language": "en", "url": "https://stackoverflow.com/questions/2478518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter Multiple Select dropdown list i try to crate flutter multiple select dropdown list, i try flutter plugin multiselect, but my design not similar,how to solve this problem, i shared my code, how to get same design with multiple select drop down list. i used (flutter_custom_selector) plugin, but i need without ...
{ "language": "en", "url": "https://stackoverflow.com/questions/73303064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java-MP3File showing initialistaion error I am using java Library (jid3lib-0.5.4.jar)from http://javamusictag.sourceforge.net/ to get lyrics of a mp3 file something like this :- File f= new File(Fragmentactivity.songpaths.get(3)); //file path is correct Toast.makeText(getContext(), ""+dstg.getNam...
{ "language": "en", "url": "https://stackoverflow.com/questions/34980408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android: adding ad at bottom and shrinking the other view I'm pretty new to Android layouts, and i'm trying to add an AdView at the bottom of my main view, and move the main view up, shrinking its height. I took a code somewhere that makes the ad appear at bottom, however the application's height does not shrink: th...
{ "language": "en", "url": "https://stackoverflow.com/questions/40794085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrieve data from database using key in the view file I am trying to retrieve data from my database and show it in my view but there I get an error. Here is my controller public function index() { $Page=Superior::all(); return view('Myview.Firstpage')->with('Task',$Page); } And this is where I as...
{ "language": "en", "url": "https://stackoverflow.com/questions/59077407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't create ObjectInputStream Why can't I create an ObjectInputStream object? Every time I try to create one I get EOFException and I can't figure why. Can someone help me? Below is the code with which I have the problem and the stack trace obtained from the execution. The file is empty. public void loadFromFileStu...
{ "language": "en", "url": "https://stackoverflow.com/questions/20477440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I installed multiple libraries the same way and React is registering all but one of them. Why can't it find this particular module? I did "npm install --save -g pondjs" but when I ran my code, I got this error message: ./src/Components/Tseries.js Module not found: Can't resolve 'pondjs' in '/Users/<ME>/Google Drive/...
{ "language": "en", "url": "https://stackoverflow.com/questions/51217279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error with JSX in my React Library when Switching to Preact I have a really simple React library that I use with my own state management. It's just a Higher Order Component: import React from 'react'; /** * * @param {Object} state - Reference to SubState instance * @param {Object} chunk - object of props you ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54580228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Invoke Function through Case statements Will the below statements work? I am trying to invoke function through Case Statements. #!/bin/bash function exit { `...` `...` `...`} function start { `...` `...` } `Case $input in` `-book) $(exit) ;;` `-goal) $(start) ;;` `*) break ;;` `esac` Is the syntax correct? A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/24599446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: concatenate databound checkbox value with user input text to string with barcode generator I'm trying to generate a barcode with user text as well as a value selected from a databound checkbox. My code compiles fine, but when I generate the barcode, it is not reading the selected value from the checkbox and instead ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36189009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to programmatically access file resource forks on Snow Leopard? I was recently wondering how Mac OS X stores thumbnails of files. After some Googling, I found out that about "resource forks", a feature apparently unique to Apple's HFS file systems. I don't really like the idea of having resource forks around, an...
{ "language": "en", "url": "https://stackoverflow.com/questions/4893794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how detect CTRL+q in javascript How detect ctrl+q with javascript, this is my code <body> <p id="x"></p> <script> window.onkeydown = function() {detect(event);} window.onkeypress = function() {res(event);} var act = false; function detect(event) { if(event.ctrlKey) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/37510126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Windows Task Scheduler Program Ends Immediately I have a Java executable (.exe) with a given JRE build in the same folder, which it uses to actually run. I want to put this executable on Windows Task Scheduler. I did some tests with some C++ hello world programs, and all went fine. This Java program, running directl...
{ "language": "en", "url": "https://stackoverflow.com/questions/45766890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: convert (sed or awk, or anything) file containing the following: I am looking for a way to convert with a one line linux command (sed or awk, or anything) the following file (example1.txt); 1.2.3.4:21 172.16.1.2:80 192.168.5.4:443 192.168.10.1:7007 into a format like this: "1.2.3.4" "21" "172.16.1.2" "80" "192.168....
{ "language": "en", "url": "https://stackoverflow.com/questions/61336827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: UICollectionViewDataSource cellForItemAt don't run at iOS 14 The cellForItemAt dont't get called after I updated the build target to iOS 14 in Xcode. However, numberOfItemsInSection is getting called but cellForItemAt don't which makes it weird. I have never seen this before. Any idea of what it could be? extension ...
{ "language": "en", "url": "https://stackoverflow.com/questions/67080476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to plot particle trajectory in paraview I have Lagrangian data (particle id, diameter, and velocity) came from particulate flow simulation with OpenFOAM and I wanted to plot the particle trajectories inside the paraview. I have created the VTK files through the time. A: I use the following method: crate VTK of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/39562789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Function is not right called in Javascript Rock, Paper Sciccors game inserted alert not showing In the console is see that PlayerOneInput and PlayerTwoInput are correct so PlayerOneInput = this.textContent is working, The function is called, because "Its a Tie!" is working.After that is stops my test alert alert('He...
{ "language": "en", "url": "https://stackoverflow.com/questions/71156571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Remove .php and id from url and replace with slash i have tried lots of for url rewrite rules in htaccess but i am stuck now. i have to change this url products.php?id=31 to products/31 i have used Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / ## don't t...
{ "language": "en", "url": "https://stackoverflow.com/questions/20738855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Flutter Unhandled Exception: type 'Null' is not a subtype of type 'List' in type cast I need to assign a model to a list in the application, but I am getting the error I mentioned in the title. Although I get this error on the android side, I do not have a problem, but when I try it on the ios side, my application c...
{ "language": "en", "url": "https://stackoverflow.com/questions/70270979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REACT:state of form elements are getting set to default on clicking to a button,page is re-rendering after interaction and clicking on button the issue is that whenever i click on Click me button it should display the corresponding error message on ui but instead when i click on the button the page gets re rendered....
{ "language": "en", "url": "https://stackoverflow.com/questions/64787933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to deserialize JSON response Hi I am Getting an XML response from the API and I am converting that XML response to JSON and then ingesting data in database using C# objects. After converting that XML into JSON and deserializing that JSON is throwing me the error as below. Newtonsoft.Json.JsonSerializationExce...
{ "language": "en", "url": "https://stackoverflow.com/questions/66150999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What the last line in custom DRF permission mean This is a snippet from the Django rest framework documentation on writing custom permissions. I don't understand the meaning of the last line here: class IsOwnerOrReadOnly(permissions.BasePermission): def has_object_permission(self, request, view, obj): if...
{ "language": "en", "url": "https://stackoverflow.com/questions/60020788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Overflow text in table cell Is it possible to make text overflow in a table cell? Like this: +TABLE-----------------------------------+ | +cell1-----+ +cell2-----+ +cell3-----+ | | | | | | | | | | | | |Example text overflow | | | | | | | | | | | | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/18248523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: django 1.9 createsuperuser bypass the password validation checking Try to work on the new django 1.9 version, and create a super user by this: python manage.py createsuperuser And I just want to use a simple password for my local development environment, like only one character, django1.9 upgrade to a very strict ...
{ "language": "en", "url": "https://stackoverflow.com/questions/35330066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: How to show online directory in android I have a download host that has many directory, How can i show these online directories in an android application? I prefer not to use WebView because does not have diffrent to browser! and this is my host : http://51.254.93.66/Shikfa/ A: What you are talking about is a Web...
{ "language": "en", "url": "https://stackoverflow.com/questions/32541013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: passing parameters to bat file as 1 string It seems like it would be simple. In a bat file, I call a program that takes command line parameters I have the parms as one string, I have tried it with "" around and not It only sees one parm (if guess it hit the space) So the question is how can I pass the string, as a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/10933099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ReactJS: Should a large array of objects be passed down to many levels of child components as props? I'm looking at one of my colleague's ReactJs code and noticed that he is passing an array of custom objects down to 5 levels of child components as props. He is doing this b/c the bottom level child component needs t...
{ "language": "en", "url": "https://stackoverflow.com/questions/32701266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: PB 12.5 and OrcaScript: how to use reverent PBD file in OrcaScript I am trying to create a script through ORCAScript to build PB125 application but It's throwing error like undefined data type. Right now I am using two PBD files (pbwsclient125.pbd,pbdom125.pbd) in my workspace for reference. All files which I am usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/43649856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get set of ID's from one table and use them to spawn a row in different table I have 2 tables 'users' and 'settings'. I am trying to create a new row in settings for each user in users to initialize a default setting. INSERT INTO settings (user_id, setting_id, value) VALUES ( (SELECT id FROM...
{ "language": "en", "url": "https://stackoverflow.com/questions/34454697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: In react native, conditionally render an item in an array I have a Formik form in react native where I have a field array that has a series of questions. One of the questions has a custom component that the user can select from and if they select 'changed any tyres' then another component appears. This is working g...
{ "language": "en", "url": "https://stackoverflow.com/questions/62039058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking for a non-trivial 3 layered asp.net example I am looking for an example of an asp.net website(with source), implemented with 3 layer architecture and has some complexities like user authentication and user permissions, etc. . Does anybody know such an example? A: If you're favouring ASP.NET MVC (and I would...
{ "language": "en", "url": "https://stackoverflow.com/questions/3405007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: About "range" in Ada The following source code line in Ada, type Airplane_ID is range 1..10; , can be written as type Airplane_ID is range 1..x; , where x is a variable? I ask this because I want to know if the value of x can be modified, for example through text input. Thanks in advance. A: No, the bounds of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/8453914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: I cant call method in same class When i call method validate() i get this mistake Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in \04Task.php on line 205 class RegexValidationRule extends ValidationRule { public $regex; public $result; public function validate() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36720645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding some noise to a text I wonder if there is any known algorithm/strategy to add some noise to a text string (for instance, adding a random sequence of characters every now and then or something similar). I don't want to completely destroy the text just to make it slightly unusable. Also, I'm not interested in r...
{ "language": "en", "url": "https://stackoverflow.com/questions/9385525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Values differ at index 1 - for equal nested arrays Why it's not equal? It's the same with CollectionAssert too. var a = new[] { new[] { 1, 2 }, new[] { 3, 4 } }; var b = new[] { new[] { 1, 2 }, new[] { 3, 4 } }; // if you comment these two lines the test passes a[0] = a[1]; b[...
{ "language": "en", "url": "https://stackoverflow.com/questions/34949299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How Can I Activate Button Classes in Frontend? There are buttons as you can see in the .cshtml code I shared. I want to change the type of these buttons. However, no matter what I do, the buttons come as default when I run the application in the browser. it is what i see. But i want to one of them like that -> <h2...
{ "language": "en", "url": "https://stackoverflow.com/questions/72914667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to scrape a whole website using beautifulsoup I'm quite new to Programming and OO programming especially. Nonetheless, I'm trying to write a very simple Spider for web crawling. Here's my first approach: I need to fetch the data out of this page: http://europa.eu/youth/volunteering/evs-organisation_en Firstly, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48502868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: PlaceFilter Place Type from Google Places API Android I want to ask how to get nearby Places with filter type (Example: shopping mall, bank) from new google places api (https://developers.google.com/places/android/start) Here my code (I already add some alternative in loop conditions), but I want to filter types fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/29574649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: IntelliJ IDEA tells me "Error:java: Compilation failed: internal java compiler error idea" When I compile a Java project using IntelliJ IDEA, it gives me the following output (and error): Information:Eclipse compiler 4.6.2 was used to compile java sources Information:Module "sinoWeb" was fully rebuilt due to project...
{ "language": "en", "url": "https://stackoverflow.com/questions/42966889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "119" }
Q: VBA Copy and Paste without formatting I've got this code but it pastes the cell formatting from the original document into the master file, how can I remove the formatting from the output please? Option Explicit Sub CopyPastefiles() Dim objFSO As Object Dim objFolder As Object Dim objFile As Object ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64477488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BeamSql tramsformation issues I have my below code in which I'm reading a csv file and defining its schema, after that I'm converting it into BeamRecords. and then applying BeamSql to implement PTransforms. Code: class Clo { public String Outlet; public String CatLib; public String ProdKey; publi...
{ "language": "en", "url": "https://stackoverflow.com/questions/49171444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C language about input ouput with prinf function i exactly type yes but why can't i see output? #include<stdio.h> int main(void) { char name[40]; scanf("%s",name); if(name == "yes") { printf("%s",name); } return 0 } A: You need to use strcmp for string comparison. Replace ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53103571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: ListView Dividers and Non-Clickable Items All, I would like to show a divider in a list and want to make the item not clickable but not look grayed out. I tried setting my xml layout to not clickable and not enabled when i inflated it but it did not work. below is my code. private static final String[] items = { "lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/9913677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: SQL Server 2005 - Calculate Average Open and Click Rate of Subscribers I want to calculate the average open and click rate of each email contact, since Feb 1 to now. I know I could build out a query to populate the number of email sends per contact, and then another table for number of unique opens and then divide t...
{ "language": "en", "url": "https://stackoverflow.com/questions/51542027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Specify utf-8 character encoding in RTF? The text (in UTF-8) format is correctly shown in Sqlite How can I set the character encoding in RTF of characters that are in the UTF-8 character encoding format? I studied similar questions, but did not fiund a good solution. So, I hope you can help. The content is in a Sqli...
{ "language": "en", "url": "https://stackoverflow.com/questions/66275158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why can't i use prototype DOM methods on uninserted nodes in ie? The goal here is to manipulate some DOM nodes before they are inserted into the document, using prototypeJs methods. Test cases: <html> <head> <script type="text/javascript" src="prototype.js" ></script> </head> <body> <script type="text/javasc...
{ "language": "en", "url": "https://stackoverflow.com/questions/1706552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to download file from firebase storage and turn it into .stl file with react? I am trying to download a file I stored on firebase storage and then turn it into an stl file to be later used by ThreeJs. Currently I am trying to use the following code but it results in a file with 0 size: const [blobData, setBlobDa...
{ "language": "en", "url": "https://stackoverflow.com/questions/73027006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any limit on number of Listeners(subscription client) of a Subscription created under a topic in Azure Service Bus(pub-sub)? I am looking on using Azure Service Bus topic to publish some messages to my service. I have creted a subscription for my service and have got connection string. My service(WebApi) is...
{ "language": "en", "url": "https://stackoverflow.com/questions/63564953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is typescript trying to load the wrong type definitions? When I try to run typescript on my project I get the following: # ./node_modules/typescript/bin/tsc --project tsconfig.json node_modules/@types/webpack/index.d.ts:32:3 - error TS2305: Module '"../../tapable/tapable"' has no exported member 'Tapable'. 32 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/66808198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Input Value Substitution Outlook Actionable Messages not passing value So I am using this in Microsoft Flow to generate an actionable email in Outlook. The card itself works properly and displays properly in Outlook. The problem is the input value substitution for the Action.Http. It is literally passing "{{newVendo...
{ "language": "en", "url": "https://stackoverflow.com/questions/66397183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to import 'rxjs' into angular 5 application I am trying to import import 'rxjs/add/operator/map'; however, I keep getting the error "Property 'Map' does not exist on type 'Observable" I have tried different imports, and different combinations of imports for rxjs. Each one produces the same or a Black-liste...
{ "language": "en", "url": "https://stackoverflow.com/questions/50382896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Animate.CSS Replay? I have an animation using Animate.CSS that I would like to have replay if the user would like but what I have attempted does not work. Here is the code: HTML: <div class="img-center"> <img src="path.jpg" class="feature-image animated rotateInDownRight" /> </div> <p class="te...
{ "language": "en", "url": "https://stackoverflow.com/questions/12399145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Selenium Standalone Server in Docker - TimeoutException I tried to execute a WebDriver 3.5 based test with ChromeDriver 2.31 in a Selenium Docker container. I used this command to start necessary container: docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.5.3-astatine I use RemoteWebDriv...
{ "language": "en", "url": "https://stackoverflow.com/questions/46219750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: solr core initialization error I added a new core to solr. It was working perfectly. Then I modified schema.xml and I cut-paste the matter in this file instead of doing this from terminal. Since than solr is unable to detect this core. I tried to solve this but unfortunately the default core Collection1 is also not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20208603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exel VBA Array - Type Mismatch I am trying to pass the value of two cells as a concatenated string to adata array, but I am getting a mismatch error. If I only use aData = rData.Value2 the macro works fine. Not sure how to fix this. Set ws = x_bs sSearchCol = "C" sfind = ThisWorkbook.Names("dr_co").RefersTo...
{ "language": "en", "url": "https://stackoverflow.com/questions/56458082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't get any Firebase features to work in Javascript Web app Building a simple web app to access data in a Firestore db. My code seems to get stuck as soon as any Firebase function calls are made, but the Firebase console for my project shows reads to the database. I have experience with Firebase in Swift, but not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/61765215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove _format URL suffix from documentation generated by NelmioApiDocBundle? I've installed the NelmioApiDocBundle for my new API-oriented project in Symfony and I can't get rid of the .{_format} suffix that this bundle adds to all my endpoint URLs. This is how it looks: My API does not support the _format ...
{ "language": "en", "url": "https://stackoverflow.com/questions/32346610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Xcode - Access one view controller from multiple view controllers I have created an app which in total has 4 view controllers. 2 of these are pages that contain content with an (i) button in the top corner which links to an "about" section of the app. Currently I have 2 separate view controllers displaying the same ...
{ "language": "en", "url": "https://stackoverflow.com/questions/11754828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: decoding php code Recuresively i think this is a classic question, i have some encoded php code in a wordpress theme that i want to decode, the code is responsible for linking to a couple of irrelevant websites, i wanna to replace them with a link to the source website instead. Edit: due to negative votes, maybe i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12300534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How do I add sliding tabs to android app, that already has nav drawer I have an app which has a nav drawer already, I want to add some sliding tabs to a couple fragments to limit the content that you have to scroll through. I am having trouble combining he two (drawer panel and sliding tabs) from examples I've found...
{ "language": "en", "url": "https://stackoverflow.com/questions/29581473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: In which entity the User Group details and user Group roles will save? With reference to following link, https://asifaftab87.wordpress.com/2014/09/22/create-usergroup-programmatically-in-liferay/ I have created the user groups programatically. I wanted to know that in which table in the database the User Group detai...
{ "language": "en", "url": "https://stackoverflow.com/questions/29510143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create a Cache Provider class in Symfony We have memcache on our Symfony 3.4 app: cache: app: cache.adapter.memcached default_memcached_provider: "%app.memcached.dsn%" However, we've been asked to use several cache servers, so just passing one DSN is no good. Looking here (https://symfony.com/blog/new-in-sy...
{ "language": "en", "url": "https://stackoverflow.com/questions/53048132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to access a random generated integer from other class without generating other random number I have two classes Class 1 public class Random { public static int random() { Random random = new Random(); return random.nextInt(10); } public static int number = random(); } And Class 2 pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/65938351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }