Recent Questions - Stack Overflow |
- SPARQL query on HM land registry site based on first part of postcode
- Wanna send email with selenium and python
- Use diiferent css class when authenticated react
- CORS Policy problem when I try to connect from Angular to Nodejs backend
- i want to make a trigger, when i update a attribute of one of my table, that update records in another table, but it shows compilation error
- Create a column name in data frame based on condition with python
- Regex match every thing between two outer brackets
- Hard time figuring out how to build a 'Service' Model
- Qt setText inside a function
- JavaFX: Populating a TableView from ArrayList without creating a new scene
- Is Firebase SenderID Been Replace With Project Name?
- I cannot install AngularJS in my system (windows 10)
- Android emulator requires wipe data almost once a week after upgrading to Android studio 4.1.3
- How to calculate distance between more than two points with google distance-matrix api
- is there any way of showing icon for .py files?
- How to combine a surface and quiver plot in python in one plot
- How can I find the highest occurrence of an item in an array of objects?
- how to keep adding elements from list1 to list2 until list2 is over? python
- charts.js Stacked Bar Graphs - selecting row and dataset selected
- trying to convert images to webp with imagemin-webp but not working
- TYPO3 f:form with additional arguments, where submit not update the arguments
- Proguard does not like scala object
- Issue with plot in the likert package - superfluous row in image
- How to delete a row in csv file in python? [duplicate]
- How to display specific user information in a separate page using flask and flask-sqlalchemy?
- How to fix this translate command?
- Widget not responding to setOnClickFillInIntent and setPendingIntentTemplate
- Active Directory Password connection using JDBC(Java)
- Automatically scroll multiline TextFormField when it extends the maxLines attribute
- Fetch: POST JSON data
SPARQL query on HM land registry site based on first part of postcode Posted: 08 May 2021 08:22 AM PDT I'm trying to find out average house price data for a postcode area using the HM Land Registry open data SPARQL query via https://landregistry.data.gov.uk/app/qonsole, what the best way to do this if it's for a postcode sector (e.g. GL52)? The 'transactions in a postcode' example code given on there shows how to search a full postcode and I have attempted to alter the code using STRSTARTS() on the VALUES ? postcode section but it's coming back with an error.. Error comes back as Encountered " "STRSTARTS" "STRSTARTS "" at line 18, column 20. Was expecting: "{" ... Any suggestions would be appreciated! |
Wanna send email with selenium and python Posted: 08 May 2021 08:22 AM PDT Hy friends! I want to automate Gmail with selenium and python, everything works fine, but the problem here is with file attachments. how could I handle it? following are to be solved :
following is my code: |
Use diiferent css class when authenticated react Posted: 08 May 2021 08:22 AM PDT I'm kinda new to react I'm wondering how to use another CSS class when I'm authenticated this is my how I tried to solve the problem but the app always use the same style which is "container" this is the full code of App.js |
CORS Policy problem when I try to connect from Angular to Nodejs backend Posted: 08 May 2021 08:22 AM PDT I´m trying to develop a backend basic server in NodeJS and the front in Angular 11, the fact is when I try to make a http get request to the backend, this is the error message in console: I´ve tried to config a reverse proxy in angular like this: proxy.conf.json And the backend is set like this: index.js (nodejs backend) |
Posted: 08 May 2021 08:22 AM PDT This is my query, it created but with a compilation error, can someone explain what's wrong here? |
Create a column name in data frame based on condition with python Posted: 08 May 2021 08:21 AM PDT I have a data frame like this: and I'm using this code to compare rows (Erfan): this code gives me this output: What I'm really wanting is to create a column based on the folder path, for example if the path changed to Test2, then to create a column named Test2 and put "time" there, like below: |
Regex match every thing between two outer brackets Posted: 08 May 2021 08:21 AM PDT In a string like this |
Hard time figuring out how to build a 'Service' Model Posted: 08 May 2021 08:21 AM PDT The topic is rather straightforward, but after reading through the docs, examples and some stackoverflow posts I still have not reached a conclusion. Supposed I have two Models, One Would someone help me figure this out? Would I be better off creating a Thanks in advance. |
Posted: 08 May 2021 08:21 AM PDT I want to use This won't work because it is not possible to access |
JavaFX: Populating a TableView from ArrayList without creating a new scene Posted: 08 May 2021 08:21 AM PDT After a few hours of googling, I still have no idea how TableViews work. I have an ArrayList that reads a file and loads some data into it. I need to display the content of that ArrayList in a JavaFX table that I made in SceneBuilder. Everything is in one Scene with one controller because I have no idea how to pass values of variables between controllers (question for another day). I know stuff like logging in etc could be done better, but right now I only need to get tableview working. (and then editing and deleting that... what have I gotten myself into). The method I'm building is populateAnimalTableView(). Help me, StackOverflow, you are my only hope. Main class Controller: dashboard2.fxml Functions Animals class: Users class JavaFX 16, IntelliJ 2021.1 |
Is Firebase SenderID Been Replace With Project Name? Posted: 08 May 2021 08:21 AM PDT I recently began receiving "FirebaseApp with name [SenderID] doesn't exist. Available app names: [appName], [DEFAULT]" when calling |
I cannot install AngularJS in my system (windows 10) Posted: 08 May 2021 08:21 AM PDT Every time I am trying to download and install AngularJS from their official site angularjs.org, i am getting some weird textual code files on my screen. Can't figure out the issue and need a working solution asap. |
Android emulator requires wipe data almost once a week after upgrading to Android studio 4.1.3 Posted: 08 May 2021 08:20 AM PDT My React Native app use android (4.1.3) emulator for development on Win10. After upgrading to Android 4.1.3, almost once a week I have to wipe data on the emulator otherwise it is stuck not able to make connection to backend server. At this time, the data size used on the emulator is 4.6GB. After performing wipe data and size is back to 1.6GB, then the emulator starts to work again. The problem is that the configuration for the app has to be redo again. Is there way to clean the data size without wiping out app configuration? Tried to use |
How to calculate distance between more than two points with google distance-matrix api Posted: 08 May 2021 08:22 AM PDT Hello I want to calculate the distance between more than two points Currently, I am using this but it calculates the distance between only two points source to destination but I want to calculate the full path distance Where user go through Currently using this |
is there any way of showing icon for .py files? Posted: 08 May 2021 08:22 AM PDT Firstly, I opened the python file with notepad, and another day I right clicked the python file and opened it with python idle and from that day python files is not showing the python icon. which is not looking good. Can someone help me?? These are all python files |
How to combine a surface and quiver plot in python in one plot Posted: 08 May 2021 08:20 AM PDT I have the following code that produces me one surface plot with a surface given as the z-coordinate with respect to a meshgrid X,Y. This code also produces a vector field plot, as a separate figure with respect to the same coordinate system X,Y. Is there a way for me to combine these two figures in one? Have the vector field either on the surface or at the bottom of the surface plot? |
How can I find the highest occurrence of an item in an array of objects? Posted: 08 May 2021 08:22 AM PDT I have an array of objects and I would like to find the highest occurrence of an item in each object and return the frequency: I have tried to find using this code but it returns an object with values 1, 1, 1 for each field: I want it to return the highest occurrence of |
how to keep adding elements from list1 to list2 until list2 is over? python Posted: 08 May 2021 08:22 AM PDT For example if i have: How to add elements from list1 to list2 in a loop until list2 is over, where output becomes: |
charts.js Stacked Bar Graphs - selecting row and dataset selected Posted: 08 May 2021 08:21 AM PDT We created a stacked bar graph, but I need a way of identifying which bar and section/element of the bar I've selected. I can work out the bar no problem. so in the following image that would be 4 - so I can retrieve the label "Report Edit Complete": Like this: If I click on the pink I want to retrieve the label for the 3rd element/dataset "6-9 weeks". Is there a way I can do this? |
trying to convert images to webp with imagemin-webp but not working Posted: 08 May 2021 08:20 AM PDT I found a code in a website for converting png, jpg to webp but it doesnt work for me. I have two jpg files in /images/ folder When i run node index.js i take the message you see in the photo |
TYPO3 f:form with additional arguments, where submit not update the arguments Posted: 08 May 2021 08:21 AM PDT I am using TYPO3 10.4.15 My edit view: This is the relevant part of the partial formfields.html: The And this is the "updateAction" part of the controller If I write something into the text input field and execute submit, I get the The disc array is more complex, but I made it simple, because I need to understand how it works in general. I also need this additional disc array and can not doing it with the album object! Thanks in advance for your help. |
Proguard does not like scala object Posted: 08 May 2021 08:22 AM PDT After running proguard, when i check if methods are available on the obfuscated jar in a new project depending on this last. Desired classes are there but i can't have access to companion object. Library side Depending project test. Here are my keep options for classes : trait of the library inherit from KeepOpen and object including companion one extends KeepOpenObj. Exploring the jar non obfuscate and obfuscate, they both show two file MyTrait and MyTrait$ with expecting methods but its impossible to use companion object in the obfuscated case. Moreover non companion object like those with main seems to work without any problem. UpdateI success to make infer companion object type and its associate methods adding following options : But unfortunately i fall on the following error when compiling. How can i have access to the companion object in the same way that with non obfuscate jar ? |
Issue with plot in the likert package - superfluous row in image Posted: 08 May 2021 08:21 AM PDT I'm trying to make a likert plot using the 'likert' package by Jason Bryer, with a grouping variable that has 6 levels and two likert scale variables with 5 levels each:
When I run the code, one of the levels of the grouping variables is displayed in two rows: the bars are in the first and the percentage levels in the second. Can someone please explain to me what is happening here? I find it difficult to make a minimal reproducible example, but here are my original data: |
How to delete a row in csv file in python? [duplicate] Posted: 08 May 2021 08:20 AM PDT I want to delete rows from a csv file as they are processed. My file: I want to read row by row and delete the row which has been processed. So the file will be now: There solutions which are provided on other questions are:
I want to delete the row from the original file which was entered in .reader() method My code: I have not been able to figure out how to delete/remove the row I want the change to be in the original "file.txt" because i will be running the program many times and so each time it runs, "file.txt" will already be present and the program will start from where it ended the last time..... |
How to display specific user information in a separate page using flask and flask-sqlalchemy? Posted: 08 May 2021 08:20 AM PDT I made only one table in my application. I want to display some information on the page admin.html and specific user information on info.html page. How should I give the query to show the particular user information on which client has clicked on the admin page. I want to display other attributes of my database like email, phone number, college name only on the info.html page. Here are my files: database app.py admin.html I have not written anything in the info.html file because I was not able to figure out how to fetch 'id' or data to display on that page. |
How to fix this translate command? Posted: 08 May 2021 08:21 AM PDT why is this command not working? like what should i do to fix this? |
Widget not responding to setOnClickFillInIntent and setPendingIntentTemplate Posted: 08 May 2021 08:22 AM PDT Click event not triggering in android widget in ListView I have buttons in each row of the listview in a widget and i would like to make them clickable. I am using setPendingIntentTemplate and setOnClickFillInIntent and i was hoping that the onReceive method would be triggered? MyAppWidgetRemoteViewsFactory.java drink_row.xml |
Active Directory Password connection using JDBC(Java) Posted: 08 May 2021 08:20 AM PDT I am trying to connect to SQL server using Active Directory Password authentication mode. But on executing the code I get the Following error: I am not able to figure out, what exactly that exception(cannot cast to java.lang.string) means; also I have given correct username and password. I checked it using sql server management studio and it got connected. Please help. I am in a fix. Any help would be appreciated greatly. |
Automatically scroll multiline TextFormField when it extends the maxLines attribute Posted: 08 May 2021 08:22 AM PDT I'm implementing a TextFormField with the maxLines attribute set to 3. How can I make the TextFormField scroll down once the user starts with his fourth line? At the moment the cursor is just not visible anymore until the user scrolls down by hand. Is there a way to do this automatically? This behaviour is actually featured in the flutter_gallery app in the 'Text fields' example. Just type a long text to the 'Live story' input until it reaches the fourth line. So far I have found no workaround for this issue. |
Posted: 08 May 2021 08:20 AM PDT I'm trying to POST a JSON object using fetch. From what I can understand, I need to attach a stringified object to the body of the request, e.g.: When using jsfiddle's JSON echo I'd expect to see the object I've sent ( |
You are subscribed to email updates from Recent Questions - Stack Overflow. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment