Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 11541 articles
Browse latest View live
↧

Is there any shortcut to select the current line in Visual Studio?

I couldn't find such feature in VS's shortcut list. Is there anyway?

View Article


Different CSS transition for *IN* and *OUT* (or returning from transitioned...

I have a loading image which comes up during an Ajax load event. The image shows/hides by adding or removing a "loading" class to the body element. Currently, the loading image animates background-size...

View Article


Python 3.11 installation: some modules are missing

I'll try to be as clear and specific as possible because I've seen so many people with the same problem, but none of the answers they had worked for me.The problem in question is: missing modules when...

View Article

How to create an interface with generic, conditional and optional property?

I am trying to create an interface which involves conditional types but I have an issue related to optional parameter.I receiveType 'false' is not assignable to type 'true' error for my boolean...

View Article

What is incorrect in my autocorrelation computation? [closed]

In the following source codes, Python and R are giving the same result.However, C# is giving an incorrect result.How can I fix the C# code?Input data:[1.0, 1.25, 1.5, 1.75, 2.0, 2.25, 3.33]Python...

View Article


Optimise recursive CTE or rewrite to PL/pgSQL LOOP

I've got a procedure with recursion in Postgres 13 version.It makes orgstructure from Vice to simple employerwith recursive relations_recurs( pos_id, boss_pos_id, level_num, link_type, link_type_array,...

View Article

Image may be NSFW.
Clik here to view.

Rails / Turbo Stream prepend outside a div so the CSS is not implemented on...

In my Rails project, I've implemented Turbo Stream to automatically insert a "myfifteen" instance into a list.On the Myfifteen index page, there's a list with an "Add" button. Clicking this button...

View Article

Problem with backend matplotlib when exporting program with pyinstaller

My code is plotting graph from excel documents (or csv) and then saving them automatically. It uses tkinter as an user interface.I have a problem with matplotlib backend when trying to export my...

View Article


How to row sum with factors in R?

I have data like so:df <- data.frame(id = c("001", "002", "003", "004"), banana = c("banana", NA, NA, NA), apple = c(NA, "apple", "apple", NA), orange = c("orange", NA, NA, NA), mango = c(NA, NA,...

View Article


Split data into a multiple row

UnitnumberNumber#201-12/141#101-34to 372Output:UnitnumberNumber#201-121#201-131#201-141#101-342#101-352#101-362#101-372I used the string_split function but it's not useful.In sql server, I want to...

View Article

How to set unchangeable path for log file

I have test files with different nesting level.For example:/project/tests/flows/test_flow_1.py/project/tests/orders/reports/test_reports.pyMy setting for log path in pytest.ini is log_file =...

View Article

Click the button using playwright

I have a problem with playwright using python for automation, when I manipulate a button on the website, i had a problem, because it gives me an error, first I will show the code in Pythonbutton =...

View Article

Using a Formula multiple times in one cell with only one value changing

I have a pretty long formula which I want to use multiple times in a cell. I want to reference to the sheets 'Project 2' to "Project 20'. Since this formula is rather long i would like to know if there...

View Article


Socket.io How to properly handle client reconnection on a server side

I have a mobile app which may loose a connection with a server, for instance a network switched from 4g to wifi.In this case it tries 3 times to reconnect with a server. And it usually succeeds.But...

View Article

Bash regex vs. diacritics

I do some regex checking in Bash to make sure that a string contains only sane characters and I encountered this strange behavior.It looks the same in grep.Am I doing something wrong or is it a bug?If...

View Article


SyntaxError: Cannot use import statement outside a module in NextJs when...

I am encountering the following error'SyntaxError: Cannot use import statement outside a module'when trying to call this TypeScript using NextJS component. This error happened while generating the...

View Article

Image may be NSFW.
Clik here to view.

Linear line with matplotlib - line graph

Power BI has Python visual where I can use Python code to create the visual. I am using the matplotlib and trying to create the visuals in power bi. It works fine but it is not connecting the lines as...

View Article


Unresolved reference in build.gradle

I have been trying to agree with Gradle terms of service. However, I have experienced the following issue:Unresolved reference: gradleEnterpriseI have added such code to build.gradle...

View Article

RegEx - How to combine or change two regular expressions to make them work...

I have two regular expressions which work on their own, but I can't find a way to combine them, or at least they don't work together...These are the two RegEx I try to combine:\A\s+ to remove leading...

View Article

Leveraging the JVM as an on-site native compiler?

I'm working on a runtime-modification API for native code, and I'd like to let modders write one piece of code that can work with the target binary on any of its platforms. To do this, I'll need to...

View Article
Browsing all 11541 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>