text
stringlengths
15
59.8k
meta
dict
Q: Why cannot the load part of the atomic RMW instruction pass the earlier store to unrelated location in TSO(x86) memory consistency model? It's known that x86 architecture doesn't implement sequential consistency memory model because of usage of write buffers, so that store->load reordering can take place (later load...
{ "language": "en", "url": "https://stackoverflow.com/questions/42820121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Convert address to longitude and latitude I want to do the following - Allow users to input a physical address in ios app. - This address is converted to longitude/latitude - Django server code checks to see nearby locations. How can I do this most efficiently? Should I convert the address to longitude and latitude...
{ "language": "en", "url": "https://stackoverflow.com/questions/16694409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Meteor JS meteor pages showing all records on new account create I have found bug in my application. I believe that it's problem with meteor-pages pagination or with some data being cached. I'm also using stardard accounts package for logging and signing up. The problem is that if I have two tabs opened in my brows...
{ "language": "en", "url": "https://stackoverflow.com/questions/30168521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Aggregate result of sub query to comma separated values How to get get the result of subquery as comma separated values. I have three tables , location and stock_location_type and location_label. I am joining location and stock_location_type and based on the result of SLT.inventory_location_cd , I am querying anothe...
{ "language": "en", "url": "https://stackoverflow.com/questions/66980969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Check if character equals \ in C++ I'm trying to see if a character c equals \ if (c == '\') //do something I don't know exactly how this is called but everything after \ turns in a character string. A: \ backslash is an escape character. Escape sequences are used to represent certain special characters within...
{ "language": "en", "url": "https://stackoverflow.com/questions/37316619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Django Admin - Create an object and Create+Add a many other object (ForeignKey) I have a 'Test'(:a.k.a exam) model that can contain an indeterminate number of questions. I would like to be able to create these tests directly in the Admin part of Django. How should I proceed? Do I have to program the logic from scrat...
{ "language": "en", "url": "https://stackoverflow.com/questions/48363069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gap between ons-toolbar and statusbar iOS I am using the onsenUI framework in combination with Cordova in order to create a hybrid application. For some reason I observe a gap between the toolbar (text) and the iOS statusbar (iPhone 6s, iOS 11) which is larger then should, see the link for an example. example of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/47512017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python + Scrapy + JSON : 'NoneType' object has no attribute 'body_as_unicode' I am trying to scrape all the urls from this JSON page with Scrapy in Python: view-source:https://highape.com/bangalore/all-events But whenever I write this code on my Scrapy shell: import json #it works jsonresponse = json.loads(response...
{ "language": "en", "url": "https://stackoverflow.com/questions/52784129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where does keras actually initialize the dataset? I'm trying to figure out the implementation of SGD in tensorflow, especially how keras/tensorflow actually initializes and dispatches the dataset. In the constructor (__init__ method) of class TensorLikeDataAdapter, self._dataset is initialized by this line https://g...
{ "language": "en", "url": "https://stackoverflow.com/questions/68506744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: NSUserDefaults and sandboxing under Lion Moving one of my projects to support sandboxing as per Apple's requirements. I use UserDefaults like so: [[NSUserDefaults standardUserDefaults] setObject:@(myNumber) forKey:myNumberKey]; [[NSUserDefaults standardUserDefaults] synchronize]; Everything works as expected until ...
{ "language": "en", "url": "https://stackoverflow.com/questions/9268547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: What am I doing wrong with my Java code for input validation? So this program is supposed to be a game where a user enters a phrase and another user tries to guess the phrase. I'm having a problem with buying a vowel, however. No matter what I enter at line 41 (, it just goes past the loop. I made the validAnswer...
{ "language": "en", "url": "https://stackoverflow.com/questions/34005518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to keep running RecognizerIntent and get the speech to text string from the mic input string rec = global::Android.Content.PM.PackageManager.FeatureMicrophone; if (rec == "android.hardware.microphone") { var voiceIntent = new Intent(RecognizerIntent.ActionRecognizeSpeech); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64318820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to toggle boolean value received from another widget I would like to pass boolean initial boolean values as arguments to a stateful widget and then change its value besides updating the UI. As it stands, I only see the initial value and am not able to toggle the value. The code and the screenshots are as follows...
{ "language": "en", "url": "https://stackoverflow.com/questions/70782553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Identify what button triggered new frame Below is my code startBtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { showTimePickerDialog(view); } }); endBtn.setOnClickListener(new View.OnClickListener() { @Override public void...
{ "language": "en", "url": "https://stackoverflow.com/questions/47792495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Deriving Typeable for Text.PrettyPrint.Doc I have an AST type that I want to derive as Typeable, so that I can do Scrap-your-boilerplate generic traversals of it. However, the tree is annotated with messages in the Doc type of the Text.PrettyPrint library from the pretty package. To derive Typeable, there needs to b...
{ "language": "en", "url": "https://stackoverflow.com/questions/27726555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Posting data into JSON format I am working on iPhone application. Here I am trying to post my data with following code : NSDictionary *contactData = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:score] ,@"score", [NSNumber number...
{ "language": "en", "url": "https://stackoverflow.com/questions/7074241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PhoneGap for windows phone 7 I'm interested in developing applications for windows phone 7 with the PhoneGap. I know that there may not have an official version of PhoneGap for windows mobile yet, but I tried to run two projects, but got errors when implementing them. * *1st project: https://github.com/filmaj/pho...
{ "language": "en", "url": "https://stackoverflow.com/questions/6945266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Graph algorithm solution done right? I stumbled upon a problem from the last Facebook Hacker Cup (so it's NOT my homework, I just find it very interesting) and I also thought of a curious, but rather good, solution. Could you please check my thought? Here is the task: You are given a network with N cities and M bid...
{ "language": "en", "url": "https://stackoverflow.com/questions/9180871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: What is the equivalent of Matlab/Octave single type cast function in Python I have received the data from a socket. In Matlab, this data is converted into single precision by the following function data_cal_rx = typecast(data_tcp2, "single"); Now I would like to have the same function in Python. Searching from goog...
{ "language": "en", "url": "https://stackoverflow.com/questions/74112818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rotate an image by 90,180,270 and 360 degrees every time a button is clicked and retain the rotation degree in portrait and landscape mode? I am making an app in android where in an image has to be rotated whenever rotate button is clicked by 90,180,270 and 360 degrees. The rotation has to be the same in portrait an...
{ "language": "en", "url": "https://stackoverflow.com/questions/19902874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error using "Xlmns" in XML document I want to generate below code snippet into xml with c#: <?xml version="1.0" encoding="utf-8" ?> <PrincetonStorageRequest xmlns="http://munichre.com/eai/dss/pct/v1.0" requestId="RequestOut_MAG_Test_02" timestampUtc="2015-02-19T09:25:30.7138903Z"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30503010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pass parameters in RestClient post request I want to send parameters with a POST request using the RestClient gem (but I don't want to pass the params as JSON). In a GET request, I would have: url = "http://example.com?param1=foo&param2=bar" RestClient.get url How can I pass the same params but in a POST request w...
{ "language": "en", "url": "https://stackoverflow.com/questions/38788306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Flutter : Can anybody help making custom TabController in flutter? I am making an app using flutter(dart). I need to make a tab controller with gradient background colour. I have used the DefaultTabController but couldn't get the way to add decoration or any gradient for App bar.Please find my code below: import 'pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/52753141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wrong characters in some e-mail clients Have you seen an error like this? Using some email clients the characters appear to be different. I used the red squares to highlight the wrong words and the green squares for other words that are ok The difference between them is that the words with special characters that ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/25812790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: crystal report is not printing online http://avas.hexaperkeducation.com/demo/Default.aspx i built this application which print crystal report directly to printer.its working fine on my local system but when i upload it to online server page load keep running . con.Open(); string sql = "select * from Student_Master...
{ "language": "en", "url": "https://stackoverflow.com/questions/37411275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what is wrong in this main.xml? This is my main.xml <com.example.parallax_sample xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res/com.example.parallax_sample" android:id="@+id/scrollView1" android:l...
{ "language": "en", "url": "https://stackoverflow.com/questions/20469692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do you determine whether a menu item is enabled? A menu item can be enabled or disabled using EnableMenuItem. How do you determine whether an existing item is enabled? A: Whether a menu item is enabled is stored as part of a menu item's state information. The following function reports, whether a menu item (ide...
{ "language": "en", "url": "https://stackoverflow.com/questions/31208539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why am I getting the error: "cannot read properties of null (reading "style") when I try to integrate Plaid link in JS? My relevant code is as follows function useLink(token){ const handler = Plaid.create({ token: token, onSuccess: (public_token, metadata) => {}, onLoad: () => {}, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/72553222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sort and update list of objects based on variable change I am working on a algorithm which will solve a problem I have, but I am finding myself a little stuck. Here is the scenario: I have an object which contains a variable called order. public class Item { public int Order{get; set;}; public int ID{get;...
{ "language": "en", "url": "https://stackoverflow.com/questions/14880735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: React - Google Maps component not rendering after componentDidMount I'm just having trouble with my Google Maps rendering when a search (with a postcode) happens. It seems like the map is rendering the null map centre, and then not re-rendering after setState in componentDidMount(), as the map is rendered blank/grey...
{ "language": "en", "url": "https://stackoverflow.com/questions/51617191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why cant I pass a type to a generic method Ok a brief background. I'm trying out various ways to test an API and I'm trying to allow a user to provide a simple CSV file of a API calls that my test framework can iterate over using a generic test method. I'm having trouble passing the type to my generic API call me...
{ "language": "en", "url": "https://stackoverflow.com/questions/39791775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connectivity via a Field Gateway with IoT Central I am building an IoT Solution based on non programmable devices. I can just configure a host where they can connect to send data and receive commands. Now, supposed that I know the messaging protocol of the device, I would like to build a field gateway to apply proto...
{ "language": "en", "url": "https://stackoverflow.com/questions/56018601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React - Why this function in onClick doesn't work? If I write like this, click button works <Menu.Item key={book.uid} onClick={() => this.changeColor(book)} > But if I write like this: onClick={this.changeName(book)} the click doesn't work. So if the function has arguments, I should use "() => x...
{ "language": "en", "url": "https://stackoverflow.com/questions/54971924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python GDAL does not install on Mac OSX El Capitan I am having several issues when installing pygdal in my Mac OSX El capitan. The procedure is the folowing: * *Install GDAL Libraries from http://www.kyngchaos.com/software/frameworks#gdal_complete *pip install gdal The output is the following: . . . extensio...
{ "language": "en", "url": "https://stackoverflow.com/questions/37700484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: why does an iOS universal app need to have two different xib files? I'm a newbie of iOS development and I'm confused regarding universal app. We can use the same code, same xib file for iPhone 4(retina) and previous iPhones, but why we should write two different xibs for iPhone and iPad? What's the difference? For i...
{ "language": "en", "url": "https://stackoverflow.com/questions/10060788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I remove lambda expressions/method handles that are used as listeners? Java 8 has introduced lambda expressions, which is a great thing. But now consider rewriting this code: class B implements PropertyChangeListener { void listenToA(A a) { a.addPropertyChangeListener(this); } void proper...
{ "language": "en", "url": "https://stackoverflow.com/questions/42146360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Can a form be invoked on a click event in AngularJS ? I am creating a project to put into practice what I have learned about AngularJS. I created a form, which uses a controller. In the form, I have a button to save the information filled in by the user. After the information is save into the database I would like t...
{ "language": "en", "url": "https://stackoverflow.com/questions/38665129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make Start-Process with Run as administrator should wait till finish i am having a code shown below. When i execute this code i want start-Process should wait. Once it is executed i will be accessing th exit code through $process. But here it is not working properly. $process=Start-Process powershell -Verb r...
{ "language": "en", "url": "https://stackoverflow.com/questions/56391456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I dynamically label my ggplot within a for loop? I want the title of each of my plots to be labeled by the contents of my list: "namesvector" instead of just "Scatterplot" Also bonus question, par(mfrow = c(2,2)) isnt printing all 4 plots side by side, but individually. par(mfrow = c(2, 2)) namesvector <- li...
{ "language": "en", "url": "https://stackoverflow.com/questions/66305366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Spring Session JDBC - How to catch when the session is destroyed? Since Spring Session JDBC implementation does not support publishing of session events, how can I catch when the session is destroyed? I need to perform some additional logic when user's session has ended, but I couldn't find any other workaround. In ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60514668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent saving Excel workbook unless a command button is clicked? I have a command button to save an Excel workbook in a particular format. I want that the users are unable to save the workbook unless they click that command button. To prevent the use of traditional saving options I used the code below: Priva...
{ "language": "en", "url": "https://stackoverflow.com/questions/58937488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why there is no element in the list even after populating the list? package collectionwaliclass; import java.util.ArrayList; import java.util.List; public class ArraylistWaliClass { public static List<String> list= new ArrayList<>() ; public static void main(String[] args) { // TODO Auto-generated...
{ "language": "en", "url": "https://stackoverflow.com/questions/40211843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Mysql function adding unwanted decimals on addition I am creating a simple MySQL function for addition, the function works well for numbers with up to 10 decimal places, but when I pass A as 17.565714285714 and B as 22.8 I got 40.365714285714006 the function append 006 to the result, what could be a reason and how c...
{ "language": "en", "url": "https://stackoverflow.com/questions/63300592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting root and passing parameter using the same function in angular 2 I am building an Ionic2 app. On click, I am sending parameter and setting a new rootPage in the same function so I can display a different set of tabs on the destination page. viewProjects(item){ this.navCtrl.push(ItemPage,{ item: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/42936685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Should I lock a variable in one thread if I only need it's value in other threads, and why does it work if I don't? I am aware of this question, but I believe my concerns are very different. I recently created an SDL application, using threading and OpenGL. I have one thread running in a loop, which continually upd...
{ "language": "en", "url": "https://stackoverflow.com/questions/6935208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Authenticating passwords against an LDAP I am a bit confused as to where passwords are stored within an LDAP. Many applications, eg. AD, seem to store passwords to allow users to log onto apps or computers. However, AD is open and can usually be viewed by anyone. So, where is the password? Can I pull passwords out o...
{ "language": "en", "url": "https://stackoverflow.com/questions/5798598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: predicate from js to objective C I had a .js file for my screenshot automation with Instruments.app where I was looking up a cell with the following predicate: var classScheduleCell = classScheduleTableView.cells().firstWithPredicate("isEnabled == 1 && NONE staticTexts.value BEGINSWITH 'No classes'").withValueForKey...
{ "language": "en", "url": "https://stackoverflow.com/questions/33349909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Android TextView multiline has extra space Multiline TextViews with android:layout_width="wrap_content" automatically take up maximum space as if they become match_parent. Is there any way keep the true wrap_content behavior? Example xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" x...
{ "language": "en", "url": "https://stackoverflow.com/questions/69592710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Time complexity analysis of search problem I was introduced to an example interview question, where given a 2D array of characters and a word, find the word in the array, where the next character of the word is either to the right or below the previous character, and return a list of the co-ordinates of each charact...
{ "language": "en", "url": "https://stackoverflow.com/questions/70964576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Can't convert int pointer array to double pointer array in a function I have a function that is supposed to convert an int pointer array to a double pointer array. It looks like this: double* intToDouble(int len , int*x){ double* y; y =(double*)malloc(len*sizeof(double)); for (int i=0; i<len ; i++){ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/65601154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Customize 'at' with extra parameters for the closure? Is it possible to specify some optional parameter(s) to the 'at' closure on the page like this: class ManagerDashboardClientsPage extends Page { static at = { year, geo -> if (year) { GebUtil.selectedYear == year } title.en...
{ "language": "en", "url": "https://stackoverflow.com/questions/21740702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: dyld: Library not loaded: @rpath/libswiftContacts.dylib dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib dyld: Library not loaded: @rpath/libswiftCore.dylib. Issue persist I know that theses question have been answered several times, but "dyld: Library not loaded: @rpath/libswiftContacts.dylib" I have not...
{ "language": "en", "url": "https://stackoverflow.com/questions/34986456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Sign up form data is not storing on firebase except the image I'm trying to create sign up form in react-native using Firebase.I've used Fetch Blob and Document Picker libraries for getting image and upload it to firebase. And I'm also trying to save the user's name, email, and password in realtime database. But unf...
{ "language": "en", "url": "https://stackoverflow.com/questions/60134931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getting latitude and longitude of an address in android using gps and without using internet connection I want to know if gps can be used to get the latitude and longitude of an address.I've just began to work on gps on android.My problem is that if the user does not have internet connection, i want him to be able t...
{ "language": "en", "url": "https://stackoverflow.com/questions/22192767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Tomcat maven plugin: Unable to find jdbc By using the tomcat7-maven-plugin I launch my spring web application that needs to connect to a Mysql database. However, when attempting this I get the error "unable to find jdbc". Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applic...
{ "language": "en", "url": "https://stackoverflow.com/questions/40659413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set a text inside a button to drop the shadow in JavaFX So i have a custom button class in controller and i want to make the font which will be Inside of button to drop a shadow. i've tried to use -fx-stroke, but it doesn't seem to change anything. Buttons which i want to use will be generated during the prog...
{ "language": "en", "url": "https://stackoverflow.com/questions/28382371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to check the CPU and memory load in percentages of a process then output that to a file? I have searched with no luck. The onlything I am able to find is the entire servers load, which I do not want. I want to specifically check how much CPU and memory a process is using, preferably CPU in percentages and memory...
{ "language": "en", "url": "https://stackoverflow.com/questions/20505760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Resolution failed exception in Xamarin IOS prism I have an iOS application written in Xamarin and I am getting a Unity Exceptions Resolution Failed exception when I try and run the application in iOS. However this error does not happen when I run the android version of the application. The exception is being thrown ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55543201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is wrong with this JOIN query? I have a list of tenant reports, each link pointing to a report ID. I need this query to select the report information, and some of the information related to the tenant who submit it. This query gets the report information correctly, but returns copies of it with every tenant att...
{ "language": "en", "url": "https://stackoverflow.com/questions/1911868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot remove event from fullcalendar I am using fullcalendar http://fullcalendar.io/ whenever my user creates an event on the calendar by selecting a timeslot, he generates an event object with a unique_id which is then pushed into a hidden field as JSON. select: function(start, end, id, allDay) { // gene...
{ "language": "en", "url": "https://stackoverflow.com/questions/32986879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: best way to serialize json android I'm quite new in android development. I have an app and I'm going with retrofit for the network requests. to handle the response there are some good libraries that I found such as gson , jackson , moshi and som much more. I'm abit confused and I can't decide what I should go with i...
{ "language": "en", "url": "https://stackoverflow.com/questions/49229310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Problem with separating UI views from ASP.net Razor using Angular.js routing SOLVED USING DIRECTIVES INSTEAD. I am trying to separate the UI from my ASP.net Web app which currently uses Razor pages (.cshtml) to present views. I would like the Client side views to be entirely handled by Angular.js using the ng-view ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57401346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No longer unable to retrieve data from QIODevice after calling readAll(). Buffer flushed? I've just noticed something when using QNetworkReply that I was unable to find the slightest hint in the Qt documentation for QIODevice::readAll() (which the QNetworkReply inherits this method from). Here is what the documentat...
{ "language": "en", "url": "https://stackoverflow.com/questions/46792520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ vector and memoization runtime error issues I encountered a problem here at Codechef. I am trying to use a vector for memoization. As I am still new at programming and quite unfamiliar with STL containers, I have used vector, for the lookup table. (although, I was suggested that using map helps to solve the prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/9029899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: RxJS cancellable HTTP queue I'm trying to implement some sort of queueing with support for cancelling (or not) an ongoing HTTP request. In my head, it looks something like this, but I can't seem to find the "propper tools" for the job :/ * *Click Load More for Item A *Send Http Request for Item A *Click Load Mor...
{ "language": "en", "url": "https://stackoverflow.com/questions/72484869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change ImageView dynamically from IndoorAtlas I have this following code : public void futureResult() { FutureResult<FloorPlan> result = mIndoorAtlas.fetchFloorPlan(mFloorPlanId); result.setCallback(new ResultCallback<FloorPlan>() { @Override public void onResult(final FloorPlan result) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30234994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing parameter from jsf to bi publisher report I've been trying to solve one tricky problem. How does one pass a parameter, say, an integer from jsf page to the actual bi report? In more detail: [jsf page]---backing bean takes parameter(an id)---?--- bi report with parameter input(id) So far, I tried one approach...
{ "language": "en", "url": "https://stackoverflow.com/questions/22376206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP flush problem Ok, so I have this PHP script that runs in a nice little infinite loop (with sleeps, don't worry). I use it as a page I can go to from any computer to monitor my database statistics. Every 2 seconds, it gets stats from the DB and displays them on the screen. Now, this works just fine on XAMPP on my...
{ "language": "en", "url": "https://stackoverflow.com/questions/5929500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Which is the best place to handle the deleted data scenario? I have a WPF application where MVVM model is used. Also, we do have the requirement of showing some data in Dialog() using ShowDialog(). For this purpose, We have a MainWindow call another method in a different class which will actually return an object of...
{ "language": "en", "url": "https://stackoverflow.com/questions/13458385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do we do Unit testing for AWS CDK code? And should we? Based on the examples I see, the code assertions are expected json cf template versus the cdk synth generated template. How do we setup expected json cf template? * *If we manually create it, that defeats the purpose of using cdk. *If we just copy past...
{ "language": "en", "url": "https://stackoverflow.com/questions/60225645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: osx - Linking error, when building POCO library I'm trying to build poco library on osx 10.9 with clang++. I'm running make CXXFLAGS+=-stdlib=libstdc++ CFLAGS+=-stdlib=libstdc++ LDFLAGS+=-stdlib=libstdc++. It've successfully compiled all .o files: ** Compiling src/UUIDGenerator.cpp (release, shared) clang++ -Iinc...
{ "language": "en", "url": "https://stackoverflow.com/questions/27689882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to find and add the node with the same name as a sibling to the find node in c# Trying to find the xml node with a name and add the another new node with the same name as a sibling. Issue: used GetElementsByTagname() method which will give the list of nodes with the name. Looping through the nodes to add a new n...
{ "language": "en", "url": "https://stackoverflow.com/questions/50769216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with viewModel and TextField I'm not sure whether it's a SwiftUI bug or it's my fault: When I type some text in a TextField and press the return button on my keyboard (in order to hide my keyboard), the typed text is removed and the TextField is empty again. I've tried this solution on different simulators and...
{ "language": "en", "url": "https://stackoverflow.com/questions/66707506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to compare an EditText to Chronometer? I tried in several ways and I also search a lot but what I found is very confuse to me because I'm relative begginer in Android dev. I didn't know anything about how to use the chronometer, I passed all the day studing it and I know now how to reset the clock (using Elapse...
{ "language": "en", "url": "https://stackoverflow.com/questions/17497691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to remove the FIRST whitespace from a python dataframe on a certain column I extracted a pdf table using tabula.read_pdf but some of the data entries a) show a whitespace between the values and b) includes two sets of values into one column as shown one columns "Sports 2019/2018" and "Total 2019/2018": https://i...
{ "language": "en", "url": "https://stackoverflow.com/questions/55306180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RegEx to match only character constants and specific escape sequences I'm trying to match a character constant. I only want single characters and a few escape sequences rather than \ followed by any letter. This is very similar to this question with the added requirement of specific escape characters. Regular expre...
{ "language": "en", "url": "https://stackoverflow.com/questions/14556777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# trim within the get; set; I am total MVC newbie coming from 10 years of webforms. Here is the code I have inherited: namespace sample.Models { public class Pages { public int PageID { get; set; } public string FolderName { get; set; } } } How can I apply a trim function to the "set" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41368650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Opening a file and selecting specific column in file Hello all I am new to python and really need help I have a set of data as below all large values are column 1 and xx.x are column 2 19600110 28.6 19600111 28.9 19600112 29.2 19600113 28.6 19600114 28.6 19600115 28.4 19600116 28.6 19600117 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/29640655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: python Code show invalid syntax (folder_name = 'ebert_reviews') I am try to run python code. but it shows invalid syntax (folder_name = 'ebert_reviews') the Code import requests import os ebert_review_urls = ['https://d17h27t6h515a5.cloudfront.net/topher/2017/September/59ad9900_1-the-wizard-of-oz-1939-film/1-t...
{ "language": "en", "url": "https://stackoverflow.com/questions/68643301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Nested push animation, but there's no push? I am getting this error when I try to preform a segue... 2012-11-14 20:24:54.133 MyApp[26266:c07] nested push animation can result in corrupted navigation bar 2012-11-14 20:24:54.486 MyApp[26266:c07] Finishing up a navigation transition in an unexpected state. Navigation B...
{ "language": "en", "url": "https://stackoverflow.com/questions/13390421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel cell values containing times are reported as 12 hour instead of 24 hour with JExcelApi I need to read an Excel document and extract some cell values for further processing. I use JExcelAPI for this. This works well. We need to have a cell containing wall time as a four character string (like "0810" for ten p...
{ "language": "en", "url": "https://stackoverflow.com/questions/19562365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to properly refactor router components? I'm building a to-do list app in React. With React-Router it has routes for "/all", "/today", "/week", "/inbox", and custom "/:projectId" tasks. They all render the same component <TaskList /> which accepts a couple of props: * *Project ID, to add tasks to *Project Nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/59416396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issues with downloading PDF file from source iv'e created a method to generate a pdf file from a form, it got saved to the correct path using itexsharp, but the problem is i can't download it. this is my code : private void FillForm(Dictionary<string, string> dic) { var pdfTemplate = HttpContext.Current.Server....
{ "language": "en", "url": "https://stackoverflow.com/questions/37920343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error Coming when passing props from one component to another and vice - versa in react using typescript In react, when I pass information from App component to App2 component as <App2 value = {this.state.name}/> it works well, but when I try to pass information from App2 component to App1 component as <App1 valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/51380705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Phpmyadmin Relations between 2 tables I am trying to make relations between a new table and a wordpress woocommerce table "wp_posts" by making a foreign key constraint from the new table to the ID of wp_posts, I managed to make the constraint but it still only returns null to me, it looks like this it should displa...
{ "language": "en", "url": "https://stackoverflow.com/questions/52947231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: toLocaleString thousand separator doesn't appear for Ewe below 100,000 for Firefox I'm on Firefox, and if I set the locale to "ee" to toLocaleString. The thousand separator won't appear below 100,000. (1111).toLocaleString("ee-gh") "1111" (10000).toLocaleString("ee-gh") "10000" (123456).toLocaleString("ee-gh") "123,...
{ "language": "en", "url": "https://stackoverflow.com/questions/63692296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trying to list out FB friends pictures using Facebook Graph API I'm trying to set up a call that will list out a certain number of a friends pictures for a logged in facebook user. It works to spit out the users' picture, but I cannot get the call for fb friends pictures. I'm sure you guys can solve this easily. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/15329119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: OOP design skill additional effect in RPG style game Creating a RPG related program, I would like to add various additional effects to my characters skills (damage over time, buff, etc...) So far I did something looking like this (C# Syntax) public class Paladin : Character { public Paladin() { BaseMP = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44440880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to run schedule every 7 minutes my current schedule runs everyFiveMinutes . $schedule->command('booking:cron')->everyFiveMinutes();
{ "language": "en", "url": "https://stackoverflow.com/questions/74821232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get href value in the redirected JSP. I have several href tag, and it redirects to different Jsp. I want to send an integer along with URL. Assume I am in a.jsp, Inside I have an href tag like below <a href='app/b?num=1' class='passid'>Link to b.jsp</a> // Is this correct syntax to pass value <a href='app/c...
{ "language": "en", "url": "https://stackoverflow.com/questions/53011037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert LINQ nvarchar to double I'm trying to sort a column, but the value is stored as nvarchar in the database, how can I convert it to a double so it sorts here? I tried to do Convert.ToDouble(t.PressureChange), but it didn't work... if (column == "PressureChange") { if (sortDirect...
{ "language": "en", "url": "https://stackoverflow.com/questions/10956411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible that library made in visual studio can`t linking to mingw g++? I made static library in visual studio called MyString. (TEST PURPOSE) And trying to linking using cmake tool and set the compiler mingw64. But it seems not working It`s showing me some error called 'skipping incompatible when searching fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/69095567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iOS - Batch (coalesce) network requests to a particular resource . Cooperation between NSURLSession , NSURLRequest etc I have a highly asynchronous environment and many modules which may request a particular network resource (such as an access token and perhaps indirectly through transitive requests). For instance m...
{ "language": "en", "url": "https://stackoverflow.com/questions/37319269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift UILocalNotification Display On Screen I am trying to display a UILocalNotification on the top of the screen when it is received. I have created a simple notification var notification = UILocalNotification() notification.alertBody = "Hello World!" notification.fireDate = NSDate(timeIntervalSinceNow: 0) UIApplic...
{ "language": "en", "url": "https://stackoverflow.com/questions/30173252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Mozilla flexbox not working with bootstrap row I am using a bootstrap 3 container, inside there is a col-sm-4 and col-sm-offset-4 for centering the form inside. I'd like to vertically center the form with flexbox, it's working in Chrome & Safari, but with mozilla, it's not working. #login { height: 100vh; width: 10...
{ "language": "en", "url": "https://stackoverflow.com/questions/38543722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: .exe file of c# project using mysql server I am building a C# application which connects to a MySQL database. It is working fine on my development computer. I want to build the application into an 'exe' or executable file which can be run on different computers. Where do I start and how can I build the application s...
{ "language": "en", "url": "https://stackoverflow.com/questions/45404384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where can I find dependencies to add to Sails.js application like Vue.js, Vuetify, and lodash? I'm looking for a place to find available dependencies that can be added to a Sails.js application in the assets/dependencies folder. I'm asking because I see that in this project https://github.com/mikermcneil/ration/tree...
{ "language": "en", "url": "https://stackoverflow.com/questions/65621388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Difference between $$ and $ what is Difference between "$$" and "$"? $$('#items li').each( function(item) { item.observe('click', function(event) { doSomethingWith(event.target); }); }); ========================== $('items').observe('click', function(event) { if (event.target.tagName === 'LI') { doSom...
{ "language": "en", "url": "https://stackoverflow.com/questions/21761022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get listview row onContextItemSelected I'm doing a proyect where i have a view with multiple listview created at runtime, every listview load specifics rows of a database. and i want to implement a contextmenu. The problem is how can i get the row of the listview to retieve the id of the database? How can i get my l...
{ "language": "en", "url": "https://stackoverflow.com/questions/14449013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: date range picker get current dates in the end range I am using flask to build some small application. I would like to build a form that collects a start date and an end date. Ideally I would like this form data to my database to run some search on date range. I found some example that is fairly close to what I am t...
{ "language": "en", "url": "https://stackoverflow.com/questions/46736599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }