text
string
meta
dict
Q: Line breakes missing when using tail command I'm using the tail command to monitor a log file on Os X. command: tail -f path_to_file When viewing the result in the terminal window, the line breaks are missing. The log statements have '\r' to create a new line. It seems this character is skipped by the tail app. How ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jest encountered an unexpected token: React App with JS I can't manage to configure Jest and run tests. It's a very simple application in react, I'm using javascript and styled-component. I've been testing for a few days now. Could someone give me a hint? I get this message: Details: /.../node_modules/axios/index.js...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring boot embedded LDAP fails to authenticate the user I am trying to auth the user with springboot embedded ldap but getting following error. public class SpringSecurityLDAP { @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http .authorizeRequests() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot initializing fields to null I have this controller that finds one or more resources, depending if id is null or not. @GetMapping(value = "/teste") @ResponseStatus(value = HttpStatus.OK) public ResponseEntity<?> find(Optional<ZonaIdDTO> id) { if (id.isPresent()) { return new ResponseEntity<>( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display a column's Unicode fonts in SSMS Grid Results? SSMS [v19.0.1] fonts have been set to Consolas for both Text Editor and Grid Results. Unicode fonts are being displayed properly in the SSMS text editor but not in grid results, where they are being rendered as ?. The current database collation is SQL_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Telegram iOS Generate an Xcode project I can not generate the iOS version of Telegram for telegram. I have the following problem. * *Cloned the project from GitHub: git clone --recursive -j8 https://github.com/TelegramMessenger/Telegram-iOS.git *Adjust configuration parameters: mkdir -p $HOME/telegram-configurati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker: appwrite install permission error I am trying to install appwrite in my local docker, but I encounter some error First I run this Command then docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to center my Div container with Ul/Li First things first sorry for my english.. There is the code first : *, ::before, ::after { padding: 0; margin: 0; border: border-box; } body { background-color: white; } .logo img { width: 400px; height: 400px; position: absolute; } .drapeau img { /* Lan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Formatting a Detail Form Combo Box drawn from a lookup column in a sharepoint list I have a powerapp which is using a share point list as the basis to it. This sharepoint list is a lookup to another sharepoint list to in effect take the none sensitive information out of an all encompassing list and into a smaller li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculate time difference between 2 datetime excluding weekend I want to calculate the time difference between two datetime. Saturday and sunday need to be excluded from the calculation. For exemple difference between 2023-01-01 10:34:36 and 2023-01-10 15:12:24 It work well when the start date is a weekday : WITH te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Setting img src attribute in javascript without loading the resource In my javascript I have this line below that changes the src attribute in a img tag to 'cid:logoImage'. When the javascript is executed, I receive an error Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME. Is there a way to set the src to this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring ReactiveCrudRepository @Query with PostgreSql throws PostgresqlBadGrammarException: [42P01] Given a ReactiveCrudRepository with specified @Query which passes unit test flawlessly using MariaDB backend but throws exception using PostgreSQL. Other Spring repository queries succeeds (findById, findByStockName). ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MariaDB no route to host (OCI server) I have an OCI Instance running with Ubuntu 20.4 (updated to last gen) I installed mariadb and i want to connect remotely to it from another machine like my computer or another hosted machine. I did all the steps required: * *create an user for my client pc as create user 'test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NextJS Vercel deployment error: "The path you are accessing was not found in the Build Outputs of your Deployment." I am very new to nextJS. I am trying to deploy a build of an app I'm building so I can show it to friends. (a simple pokemon team generator app) It compiles fine when I run $npm run build, and when I a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Counting active subscribers over a rolling window in Snowflake I have a table 'Subscriptions' with columns ACCOUNTID, SUBSCRIPTIONID, SUBSCRIPTIONSTATUS and SUBSCRIPTIONUPDATED (a timestamp column). This table basically logs updates to subscriptions. The definition of an 'active subscriber' is an accountid which cu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header I am trying to use the example sketch "Helloserver" to make a server using a generic ESP8266 and an arduino uno. I have configured and connected every physical component according the sketch´s tutorial, using nothing...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ctrl-C and Ctrl V don't work in Visual Studio 1.76.0 Ctrl C and Ctrl V do not work in Visual Studio. I check the keyboard shortcuts and they indicate the correct operation. On the edit menu the Copy and Paste don't even list a keyboard shortcut. I also check to see if there were any extension enable that may conflic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What are some ways to display images on server for a Django project? I keep getting 404 errors A current miniproject that I am working on is a personal cocktail "cookbook" website, where I display different drinks, their recipes, my personal notes, images, etc. I configured the code in that when someone clicks on on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apache camel - receive response Content-Type: multipart/x-mixed-replace; boundary=myboundary I have a route where I make a GET request. The answer from request is of type multipart/x-mixed-replace; boundary=myboundary from("timer:runOnce?repeatCount=1&delay=1000") .to("http://x.x.x.x/test?authMethod=Digest&authUsern...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Notifications when html table row changes Please forgive my ignorance, but I’m just looking for some guidance. I’m trying to teach myself SQL and I think that will help me immensely with this problem, but it’s multifaceted so any advice from you all would be greatly appreciated. There is a website that contains a ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any good way to deal with this dependency conflict? I'm working on a large, legacy .NET Framework project that is not easily updateable to Core. After a recent change, it's failing to load due to a versioning problem in a dependency. The change added Noda Time as a dependency, which has as a NuGet dependen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In gradlew bundleRelease, got Evaluating project ':expo-modules-core' using build file '...\node_modules\expo-modules-core\android\build.gradle' In my app in react-native, i'm trying to create a APK, and i start using expo prebuild, to create android folder, after that i setting some options like generating an uploa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The .load() method of JQuery works differently on Firefox than on other browsers My goal is to set up a live basket. When the user adds a new product, I use JQuery's .load() method to reload the div containing the product list. $( "#productList" ).load(window.location.href + " #productList" ); Problem: on Firefox, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to asynchronously set the preloadedstate in redux toolkit? This is my current configureStore settings const loadStateFromStorage = () => { window.chrome.storage.local.get(["test-something"]).then((result) => { return result['test-something']; }); // if (localStorage.getItem('work-parallel-state') !== n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Observability section not visible in ELK Open Distro 1.13.3 I am using Open Distro 1.13.3 , Kibana v 7.10.2 but I am unable to see the observability section in Kibana. I am trying to implement HeartBeat and use uptime to monitor URL's but unable to see observability section. Any idea what could be the reason for thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: remote: warning: ignoring broken ref refs/pull-requests/97/v2 ( Note: Recently deleted the directory in Dev env. and recreated ) when I commit code thru supper putty , I do get this message : remote: warning: ignoring broken ref refs/pull-requests/97/v2 ( Note: Recently deleted the directory in Dev env. and recreate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error that I can't receive the stream of the person I'm video calling while the person receiving the call is ok I'm writing a random video call program of users who are online on the server using nodejs and webRTC. I'm getting an error that I can't receive the stream of the person I'm video calling while the person ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what the problem with date in data studio? I have a problem I have a time series type graph in data studio and I added a date controller to control the date, despite I change the date with the date controller the graph does not change i try to resolve the problem but nothing
{ "language": "en", "url": "https://stackoverflow.com/questions/75617622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: set Database and Schema name using variable in select statement within snowflake procedure I have been trying to set database and schema name using variable and a static table name. I don't want to use dynamic sql for the same. Below is the code which i tried and not working. DECLARE V_RET VARCHAR(1000) := ''; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does function taking ownership of i32 need it to be mutable? I have a simple algorithm for calculating the greatest common divisor of two numbers using Euclid's algorithm. As you can see the function takes ownership of two i32s and returns an i32. My understanding of the borrow checker is that as i32 implements ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am trying to get started with java RMI but I keep running in to an error when my components try to bind to the rmiregistry CODE SERVER : SERVER [CLIENT[enter image description here](https://i.stack.imgur.com/73jIx.png)](https://i.stack.imgur.com/wUvBm.png)
{ "language": "en", "url": "https://stackoverflow.com/questions/75617628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Docker Compose Labling Does anyone know if its possible to have a docker label use a service item? ie: take the following, services: app: image: repo/my-test-app container_name: my-test-app labels: com.example.appname: my-test-app its there some way to get the label to reference the container_n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does Laravel Query builder query return a different result set than the raw mysql query? So i had this raw query: $rawquery = <<<SQL SELECT exercises.id AS id, r1.rating, ABS(CAST(r1.rating AS SIGNED) - :rating) AS diff FROM exercises INNER JOIN exercise_theme ON exercises.id = exercise_theme.exercis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Where does the compiler look when using #include So I understand, when writing the following statement #include <stdio.h> the compiler searches for this header file in select search paths outlined in Visual Studio project properties. But what I don't understand is how this works for a header (*.h) files that are no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: curl in raspbian shell How to save information from curl response to a variable? I tried some ways, but nothing worked and I don't know what to do. I wanted to do sh file which writes actual USD exchange rate, the API link is: http://api.nbp.pl/api/exchangerates/rates/a/usd/ and that information is between <MID></MI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Build App in Release mode, but use DEV config We have the following code in our azure pipelines: - task: DotNetCoreCLI@2 displayName: 'dotnet build' inputs: command: 'publish' projects: 'APPNAME/APPNAME.Android.csproj' publishWebProjects: false arguments: '--configuration ${{ variables.buildC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter inside a filter in nested arrays in Javascript I am trying to fetch all the costBreakdowns where the canceled status is false. So I am trying to filter() inside a filter() to fetch the complete array except the ones where the costBreakdowns have canceled is true: const a = { "activeBookingsCostBrea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: React Native InAppBrowser error "Cannot read property 'isAvailable' of null" I'm trying to call the inAppBrowser function after a user is created in the sign up form. For some reason I keep getting the error Cannot read property 'isAvailable' of null. But if I log InAppBrowser it clearly tells me that it is an obje...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ChromeHeadless failed 2 times (timeout). Giving up karma.config.js // Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REST PATCH/PUT with version of model Via GET I receive a representation of an entity which includes a version attribute. Now I want to PATCH that entity, do I include this very version attribute and let the server decide to either accept or decline (if it was altered in the meantime) my PATCH request? Same logic wou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Proper way of structuring a project with many predefined ORM queries I'm running a large app which includes a GUI, mongoDB and pipelines to process and extract data. The database is fairly big and it was defined using mongoengine. The queries are used by the GUI and most pipelines, which are written as different mod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How should i include a component from the vaadin directory with gradle? Found no information on how i should include vaadin directory components correctly in my gradle bulid. just doing dependencies { implementation enforcedPlatform("com.vaadin:vaadin-bom:$vaadinVersion") // Vaadin implementation("com.v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel , if the SEARCH function returns an array ,why sometimes it didn't show "#VALUE!" A B C aTomy #VALUE! aJerryy #VALUE! Tom Jerry the code of B2 is =SEARCH(C2:C3,A1) I mean , it's the sensible situation. But when it comes to: A B C aTomy 2 Tom aJerryy 2 Jerry the code of B2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android studio crashing when i type codes inside an xml file using android studio electric eel After I installed the latest version (Electric Eel) I can't write codes. Every time I open an XML file in android studio, it seems to crash and it takes a long time for code suggestions to appear. I use windows 10, with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When should I use a KinematicBody or a RigidBody for 2D platformer characters? Which Physics body would be the best for, let's say the player character, enemy and collectibles. StaticBodies are quite different and easy but it is very confusing when we have to choose between a KinematicBody or a RigidBody. I am recen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to create a list of different generic abstract class implementations? I have an abstract class with 2 type arguments and some implementations of said class. In implementation 1 the type arguments are <string, string> but for implementation 2 they are for example <int, string>. Is there a way to add th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: inertia Default layouts with passing props I have a laravel react project with inertia. I need to display data in the layout which I had previously done by wrapping every view in the Layout component but I need to pass the props to the layout every time. export default function Show(props) { console.log(props);...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: issue with the size of blob output using cv::dnn::blobFromImage in opencv I am trying get a blob from an image using cv::dnn::blobFromImage . I am getting a blob output as 3 x 1 while using in C++. However, when I run the code in python , I get the correct size i.e 4d array. `Code snippet: cv::Mat fin_img; fin_img =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to create dynamic connection to postgresql database and query using presto? we have tenant based architecture and each tenant have their own database to connect, We are using presto for our query processing engine so we need to create the connection dynamically for each and every tenant by writing s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sudo npm install -g npm@latest is not working on 6.9.0 npm version Are there other ways to update npm version? I need to create .sh file which will update npm version, but sudo npm install -g npm@latest is not working on 6.9.0 npm version.
{ "language": "en", "url": "https://stackoverflow.com/questions/75617662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Django built-in template tag to convert UTC to datetime? Is there any way to convert a UTC, defined with models.CharField, to datetime using a built-in filter template tag? Or must i use a custom function (see below)? I have found nothing on this specific topic online. Here is an example Inside models.py: ... boardi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to start Playwright browser in jest from setupFilesAfterEnv hook, so it will be acessible inside test file, using TypeScript? In Jest I want to launch browser from setupFilesAfterEnv not to repeat this step in evey test file, using Jest and Playwright. Despite browser launching, and global variables accessible f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have my LiDAR point cloud with a Cartesian CS. I took three ground control points. I would like to convert it to Geographic Coordinate systems Here is the ground control points Thank you. I have tried to use cloud compare to align this point cloud with the ground cloud points but the latitude and longitude values ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Any way to change the colour of a legend on a geopandas map? I have created the attached data visualisation using geopandas. When I save this as a png the background becomes black (in the attached picture the background is not black) and therefore the scale on the legend becomes invisible. Is there any way to change...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix SOAP - UpdateList NetSuite Error: Record has been changed I am trying to find solution when integration uses "updatelist" to update 5 fields on sales order lines. The issue comes when we have more than 5 lines on sales order. We are sending multiple "UpdateList" SOAP request for same sales order at the sa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can't I reference XMLSchema as https? Trying to work around a restriction that is beyond my control. We need to do schema validation as part of our work but nothing in the system is allowed to access http only https. I tried changing the schema xmlns to be https in XMLSpy but that doesn't validate despite me b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting "Error: An error occurred trying to start process '/bin/bash' with working directory '/Users/runner/work/...'. No such file or directory I keep getting error Error: An error occurred trying to start process '/bin/bash' with working directory '/Users/runner/work/java-sdet/java-sdet-bootcamp'. No such file or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Literals don't work for preprocessor macros Literals don't seem to interplay well with preprocessor macros. For example, I have this preprocessor definition CONFIG_FADE_DELAY_MS that I want to translate to std::chrono::milliseconds. But the ms literal needs to be written close up to it, the the compiler doesn't unde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Django logging - logger from a module? According to documentation I have to specify the LOGGING variable in settings.py Is it possible to pass logger from my custom module in django instead? For example, I have a following module: import logging import os class CustomFormatter(logging.Formatter): grey = "\x1b[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to select rows in a dataframe based on a string customers list? I have a first dataframe containing bills and in this dataframe a column named contents contains customers names inside a no formatted / standardized string, like this : NUMBIL DATE CONTENTS AMOUNT 0 858 01/01/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: JOOQ interpreting JSONB as JSON when generating from script I'm using JOOQ with Postgresql, where I have a few columns of the JSONB type. Using the JOOQ code generator directly on the database itself (using org.jooq.util.postgres.PostgresDatabase) works just fine, all generated classes use the JSONB type. However, w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I import a python module into my flask app? I have a simple python module called myscript.py with a couple classes that I want to use in my flask app, but for some reason every time I run my app I get an attribute error, stating the module doesn't have the attribute that I called. However, if I run the script...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: VS Code Extensions API reading values of self defined configurations not working "configuration": { "title": "OpenAI", "configurationDefaults": { "files.autoSave": "onFocusChange" }, "properties": { "Model":{ "description": "The model to use for completion", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading Workspace in shiny-App on shiny-server What I want to do I am trying to host a shiny app on shiny-server (Ubuntu). I have set up everything as shown in the official docs (using nginx). Upon starting, the app needs to load a workspace (which can be updated in the background). In RStudio the app works fine and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access exportspreadsheet ignoring order by clause I'm exporting a query from access with the ImportExportSpreadsheet macro function, and it seems to be ignoring the "order by" clause in the query, and the data gets mixed up in the resulting excel file. The only issue I can think of that is causing the issue, is that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ How to stop over-allocating in heap? I have the following code: #include <iostream> int main() { try { while (true) int* ptr = new int[10000000L]; } catch (const std::bad_alloc& e) { std::cout << e.what(); return EXIT_FAILURE; } return EXIT_SUCCESS; } The ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to remove PHP previous versions installed in Ubuntu Server I have initially installed php7.2 but bcz of the change required i have upgraded the php version to 8.1 this leads to an error in accessing the application Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8....
{ "language": "en", "url": "https://stackoverflow.com/questions/75617708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pytorch error "RuntimeError: For unbatched 2-D input, hx and cx should also be 2-D but got (3-D, 3-D) tensors" Im wanting to make an PyTorch Stock Predictor with LSTM I need some help with an Error and i tried to modify some Things in the forward function but it still gives me the same error But as Im almost at the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GoogleMaps: Detect when camera movement ended I want to detect camera position after user stops moving on map. I've used OnCameraIdleListener for almost 5 years but suddenly its not working. Was something changed in GoogleMaps which blocked this listener or is there any other alternative to this? This listener is ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unsuccesful reading of data from Firebase with VueFire I am trying to read data from Firebase with VueFire, although my website crashes until i change the window size? <template> <q-page class="bg-liG"> <pre>{{ HatchOpen }}</pre> </q-page> </template> <script setup> import { ref } from "vue"; import { db } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BigInteger with system.text.json I am pulling data from a public api which I do not control. One object contains a property "space":40110198681182961664. This property is too large for an ulong. The correct value type would be BigInteger. And here comes the issue. System.Text.Json can only serialize BigIntegers to a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to subtract values from two SQL selects I'm trying to subtract these two selects (two counts - the total unique phone numbers): select count(distinct phnumber) as UniquePHNUMBERS_TOTAL from (select month(c.callinfodate) as bMONTH, year(c.callinfodate) as bYEAR, c.phnumbe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to run "python manage.py makemigrations ". Got error "password authentication failed""No changes detected" I want to run: (venv) ubuntu@ip-172-31-44-136:~/easy_django_repo$ python manage.py makemigrations And got this error: /home/ubuntu/venv/lib/python3.10/site-packages/django/core/management/commands/makem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can solve unhandled exception occurs in terminal while flutter doctor command running I can't install flutter due to unhandled exception. I tried but it shows unable to create dart snapshot for flutter tool.
{ "language": "en", "url": "https://stackoverflow.com/questions/75617728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Avoid "Nullable value type may be null" warning I'm getting a warning of Nullable value type may be null in a lambda but the previous statement was .Where(o => o.HasValue) so, no, the value type cannot be null. How an I tell Visual Studio to not flag these false positives? For example: var list = new List<int?> { 1,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I solve the error that I get on ubuntu Terminal: cppcheck: error: unrecognized command line option: "--std=c++0x"? I am using a static docker that checks the codes of a project. ( See https://github.com/Ericsson/codechecker/blob/master/docs/usage.md for more details). I got a C++ Project that I needed to ana...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pg_basebackup: error: could not read COPY data: server closed the connection unexpectedly We are using postgresql 13.6 master-slave configuration. Whenever I executed pg_basebackup command to get the files master to start replication, connection drops. I' ve been searching this error but still no clue why this happe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: {% if {club.c_type} == 'Tech' %} is giving error Code is working perfectly without it. Want to filter data on basis or Tech and Non Tech in same Page {% for club in clubs %} {% if {club.c_type} == 'Tech' %} SOME CODE {% endif %} {% endfor %} def clubs(request): clubs_data = Clubs.objects.all() return rend...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I make a plot disappear once an input is switched? I would like to have the output$plot disappear once input$type is switched. In the reprex below, it currently only changes the title of the plot, which is misleading. How can I make the plot disappear? library(shiny) ui <- fluidPage( selectInput("type", "t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: R - Create new columns based on different conditions of one column seeking some expertise/guidance on creating new columns in a data frame based on different conditions of one column. My data frame is pretty huge, but I've subsetted it for easier reference. It's a feedback from animal lovers on their cost. Feedb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MDX query: Turn Created Members into a single execution Below I have some code that returns the results that I need, but because the query is part of a stored procedure it would be much easier if I could define the steps and execute once instead of having to execute the CREAT SESSION MEMBER statement multiple times....
{ "language": "en", "url": "https://stackoverflow.com/questions/75617749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ho do i add animation to a widget in a stateful widget in flutter? I have a stateful widget where i have a button that controls the visibility of a container, when this button is tapped, the container is shown, and when tapped again, the container is hidden. How do i add animation so when the container is being hidd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reshape in a specific way python Sorry for a question that will seam very trivial. So I have a 2D array (shape = (2, 9) which looks like this: a = np.array([[ 1, 1, 1, 40, 40, 40, 80, 80, 80], [ 0, 0, 1, 0, 1, 1, 0, 1, 1]]) That I would like to turn into that 3D array (shape = (3, 2, 3)): ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: R: Convert sav (SPSS) data to a format suitable for HH::likert I'm trying to convert data from a sav (SPSS) data file to a format suitable for plotting by HH::likert, and I can't get the proper invocation to do this. To replicate the sav format, create a dataframe giving the results of a likert question on rating pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium how to get tooltip hover message when no attribute available I'm trying to capture a tooltip hover message but don't have a title tag nor any attribute I can find to identify the text. It seems to be a button tag that has its attributes change when I hover over it to add the attribute "is-hover". But I don'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make Intellij export SQL inserts in Oracle friendly format I want to export data from Intellij as INSERT statements. And then import them to oracle. I keep getting ORA-01843: not a valid month error. How can I get it to work? My .sql file is over 600 MB large so I can't just manually correct all the statement...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python petri net app has unexpected error My app needs to delete a marking from one place and add it to the other. It might be an issue with updating the graph, or maybe the create_transition_buttons function. Here is the code: import numpy as np import networkx as nx import matplotlib.pyplot as plt def get_marking...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Firebase hosting - storage - Cannot use import statement outside a module This is the error I'm getting on the website that I host: Uncaught SyntaxError: Cannot use import statement outside a module I've spent the last few hours scanning the internet and the stack with so many questions like this but none solved my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CART can do both classification and regression I'm reading up on decision trees and I ended up hearing about Classification and Regression Trees by Breiman (CART). ONe of the characteristics of CART as per the Geeksforgeeks page is that it can handle both Classification and Regression tasks. What does this mean in p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to identify cross-origin opener so my website only serves openers from certain origins? I know window.opener.href is blocked due to security purpose. However, they are the one trying to access my website, how do I identify them? Scenario: From Google Docs (origin https://xxxxx.googleusercontent.com/userCodeAppPa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generate HTML report based on R script, stop execution of script when error occurs, generate the report upto and including that error? I am trying to generate a report from an R script using Rmarkdown::Render. If there is an error in my script, I would like the script to stop, and I would like to render the report u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: "Error using calllib Library was not found" in matlab I am using a code written in C++ and could produce .dll file. Once I tried to run, I faced error which says Error using calllib Library was not found the error is related to what as I have tried to follow the documentation. Is there anything wrong with my environ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to build a Private Eth 2.0 Blockchain network (i.e., PoS) So I am looking for building a Private Eth 2.0 Blockchain network (i.e., PoS). But I find that there are PoA and PoW guidelines but no PoS. As far as I know, it is not easy to build an Eth 2.0 node since Eth 2.0 needs Eth 1.0. It is nice that you can show...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Media elements such as and must have a for captions jsx-a11y/media-has-caption <video controls> <source src={bigCirlceVideo} type="video/mp4" /> </video> video is not playing it is giving me this error. Failed to compile. src\containers\home\intro\index.jsx ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Best practice with Pandas to calculate differences between dates according to categories I'm trying to sort differences between values grouped by dates and categories in a Pandas DataFrame. At the end, what matters is the name of the categories with the lowest and highest increases between the two dates, and the cor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Confusing WordPress page I have a job maintaining a WordPress site for a client. Many of the pages were built with the Divi builder and work as expected. There is one page of the site that says it's a Divi page, but when you enter the Divi editor there is no bottom tool bar the page doesn't show Divi modules. The pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Custom Watcher using Appium I am working with Appium and am stuck on a problem where a popup comes over the screen and causes the test to fail. The popup can appear on any screen anytime. I need to click the dismiss button on the popup to dismiss the popup, but I don't know when it will appear. Does appium provide c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Service workers for storing an access token in browser with OAuth flow in Next JS app? Our team is struggling to choose between Service Workers and HTTPonly cookies + NextAuth. Storing a token in a service worker seems like a new and secure way, but I have not found a lot of examples of that. If you have an experien...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: embed a resource in VS2022 database project I need to upgrade an old database project (VS2010) to VisualStudio 2022. I started from the scratch in VS2022 and created a new database project. Everything works ok, but in the old project we had an embedded resource, we need to access. I searched everywhere and didn't fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to webscrape the hidden content on website? I'm trying to websrcape some information on thw folowing website:https://entertainment.cathaypacific.com/catalog?template=movie&parent=%E9%9B%BB%E5%BD%B1 However, there is a "show More" buttom on the bottom of the page. How do I get all the information without clicking...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }