text
string
meta
dict
Q: How to add automatically add a formula to a cell of a newly inserted row? The problem We use a Google stylesheet in order to track the hours used on projects. The process of creating a new project is: 01 Insert a new row 02 Copy-paste the formula that sums project hours, from a any previous project, to a cell of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find column alternative name from master table(row) in postgres I have data questionResponse and questionMaster, I need to find the questionResponse column name using master questionMaster questionResponse id A1 B1 A2 1 123 Yes 547 2 326 No 81 questionMaster Qcode question A1 question 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PySpark Performance slow in Reading large fixed width file with long lines to convert to structural I am trying to convert bit large file 34GB fixed width file into structural format using pySpark, But my job taking too long to complete (Almost 10 hr+), File having large line almost 50K characters which I am trying ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trouble loading Stan model output using readRDS I am running a Bayesian latent variable model in Stan. Here is my code for the model: # run the Stan model mod.dyn <- stan(file="DynamicLVMmin.stan", data=stan.data, seed=570175513, thin = 5, iter=10000) The model runs with no issue. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rotating SVG shape does not start from last position when rotation direction is reversed I made a React component, Pointer, which is a thin SVG rectangle. When the spacebar is pressed for the first time, the Pointer starts rotating around its top-left corner. Every subsequent press of the spacebar should reverse the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In php session is default for 1440second (24 min) so if user is active then also it's destroy by self? * *i start one session on login page. *after successfully login user redirected to dashboard. *so in session default time is 24 min so after that time if user is active then also session destroy or not? is us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is difference between MD5_NUMBER_LOWER64 and MD5_NUMBER_UPPER64 From the description, I found that it Calculates the 128-bit MD5 message digest, interprets it as a signed 128-bit big endian number, and returns the upper/lower 64 bits of the number as an unsigned integer. But what exactly is upper and lower 64 b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MQTT cause TLS/SSL connection problem suddenly in python I wrote to a MQTT client with own SSL in python and it worked well for at least one week. However, it suddenly causes a "TLS/SSL connection has been closed (EOF) (_ssl.c:2341)" problem. I do not understand why it happened suddenly. As I restarted it, it worked...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: fastapi Sub-dependencies cache value? from fastapi import FastAPI, Body, Depends from pydantic import BaseModel app = FastAPI() class ReqBody(BaseModel): name: str email: str def format_body(body: ReqBody = Body()): body.email += "@xx.com" @app.post("/") async def post(f_body = Depends(format_body),...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I pass a bitmap or an object to a web worker My data would looks like these: const cfg = { type: 'root', chidlren: [ { type: 'image', data: bitmap } ] } when i try to passing the cfg with postMessage(JSON.parse(JSON.stringify(cfg))) api, I got the following: const cfg =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can `writing-mode: horizontal-tb;` be used per character? The caron ˇ character in the screenshot is rotated due to it not being recognized as Chinese character, just like the word Prologue in the screenshot is rotated too ˇ is rotated, hence it looks like < character Can writing-mode: horizontal-tb; be applied on p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optapy error with getting the rigth JAVA version and couldn't get source code in a ipynb I am trying to use the library optapy with a conda environment created locally. I have installed all of the libraries I needes to, also installed Java JDK-17.0.6.10 and created a JAVA-HOME variable. But when I try to run and try...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix "there is no package called lifecycle" error? i have a problem when I running read_excel, running library(dplyr), the output will be error, like this I have download package "lifecycle" but this is the output
{ "language": "en", "url": "https://stackoverflow.com/questions/75622939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can AWS Lambda not read a test event sent to it via the API Gateway test? I am writing an application on AWS Lambda in Python that expects to receive information that gets placed in the event dictionary. def lambda_handler(event, context): # TODO implement try: task = event["task"] except: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: vue3 router - 2 routers with different history I need to have 2 routers one for the main view and one for the sidebar. (sidebar is not a child of main view) Sidebar router should be independent from the main router. When we navigate one router the other do not react and vice versa. And they both should have separted...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: speed as per spatial locality in a loop Among these codes written in C - #define N 1000 typedef struct { int x[3]; int y[3]; } arr; arr A[N]; #Program_1 int i, j; for(i = 0; i < N; i++) { for(j = 0; j < 3; j++) { A[i].x[j] = 0; A[i].y[j] = 0; } } #Program_2 i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Azure Web App and Microsoft Extension Logging to log Scopes in to Azure Analytics? I am trying to use a very simple setup to log my Asp.Net core application events into Azure Analytics. I am using Windows App Service with NetCore 6.0. Everything is working fine, I can see my logs in the AppService Log Str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get all edited value Rating Column in Mui Datagrid How to get all edited value from Rating rows and save to database? this scenario is to save all record after updated rating. https://mui.com/x/react-data-grid/editing-legacy/ Thanks for your help. A: This is the code. https://codesandbox.io/s/9wgkcu?file=/d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring WebServiceTemplate storing cookie due to 'set-cookie' header in response I am using spring's WebServiceTemplate class for invoking a third party SOAP service. In response, the third party service is sending 'set-cookie' header which is supposed to be used for some internal purpose. Now, 'set-cookie' header se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am using Sanity.io and came across this error in the database...Encountered a field that is not defined in the schema This is my data.js file where I have mentioned all the queries export const userQuery = (userId) => { const query = `*[_type == "user" && _id == '${userId}']`; return query; } export cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Youtube embedded iframe multiple events conflicting with onClick - play / mute function not working correctly Having issues with getting the js working correctly here. Click Function is conflicting with the following mute/unmute function. "Play Video" works on second click? Unmute function is also not working? I can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: failed to unpack image on snapshotter overlayfs: unexpected media type text/html I try pull image in K8s from my private registry But the container describe show Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET Core Docker image deploys/runs successfully, but gets 404 I have a .Net 6 ASP.NET Web API project, built into a Windows docker image and running in an Azure App Service (as a docker container). The logs show everything is correct. However, when I attempt to visit the swagger page of this Azure Web App (usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is my google subscription implement correct? According to my knowledge, Google Payments will create an "Unavailable Subscription" error when trying to buy it again if the subscription is still in its active period. But currently, I was able to bypass it by clicking buy" a few times, and my new OrderID is different f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I create a replacement for the following UI that has buttons to select a function and textbooks for inputs without changing the rest of the code? I'd like to relplace the main menu function below with a user interface that has clickable buttons to select the desired function and labeled textboxes for the necessa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Model not found error when install Vue editor js in Vue Js 3 working with Laravel 8 and Vue Js 3 and installed following Vue Editor js package https://github.com/ChangJoo-Park/vue-editor-js and import detalis in app.js file as following app.js require('./bootstrap'); import router from './router' import { createApp ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622958", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why did php 8 break my foreach loop which works fine in php 7.4 and before? I have the below php from my website which pulls data from an xml object to output a list of adoptable dogs. For some reason though, when updating my site from php 7.4 to 8.0, the foreach loop gives the following error "Warning: foreach() ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Double Back Buttons in Swift Nav View Longtime listener, first time caller. New to swift, can't find this addressed: When I use the NavigationLink feature in SwiftUI, it auto populates a back button, which is great, until I use the NavigationLink function inside the page I navigated to, at which point the "Back" But...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: build vscode. Why packaging software date error. Why 1980 I want to package a software package myself. The above problem arises.
{ "language": "en", "url": "https://stackoverflow.com/questions/75622964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Dynamic Elixir Ecto Query I have a list of fields, and I want to take that list and dynamically create an Ecto query from it. I think I can use Enum.reduce, but I'm not sure how to get the pieces to work together. Each field in the list would use an ilike and be cast to a text, something like: def lookup(search_term...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to find peak hours transcation using group by in python how do i group by in python if i want find the peak hours transcation if i have this format date : TXN_DATE_TIME 12/31/2022 11:23:34.000000 PM 12/31/2022 11:23:22.000000 PM 12/31/2022 11:17:22.000000 PM
{ "language": "en", "url": "https://stackoverflow.com/questions/75622967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: why does console show error when I declare datetime in ionic I'm new to ionic and Angular. I don't know where I went wrong here. The compiler error is: node_modules_ionic_core_dist_esm_ion-app_8_entry_js.js:2 TypeError: Cannot destructure property 'month' of '(0 , _data_cb72448c_js__WEBPACK_IMPORTED_MODULE_9__.P)(.....
{ "language": "en", "url": "https://stackoverflow.com/questions/75622968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: There is a way to import nodejs scripts into Mabl with puppeteer? We can create nodejs scripts with puppeteer for aws canary. It is possible to have the same approach for mabl?
{ "language": "en", "url": "https://stackoverflow.com/questions/75622970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to correlate specific ID using Loadrunner? {"Id":11911618,"LatestAsAtYear":2022,"ParentGroupId":22022,"NoOfBorrowingEntities":4,"NoOfNonBorrowingEntities":1,"SensitivityAccessibility":false,"CustomerGroupTotalLimit":104500001.00,"OPEXPerGroup":165760.00,"OverrideReason":null,"GroupStatusId":0,"GroupSi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: toggle display with javascript <!-- This is the main div --> <div class="main-cont"> <a href=""><div class="sub-cont first"><p>Matrix Calculations</p></div></a> <a href=""><div class="sub-cont second"><p>Vector Calculations</p></div></a> <a href=""><div class="sub-cont third"><p><span>Trignometric</span> Calcu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to group route by name in laravel Route::prefix('/admin/post')->middleware('admin')->name('admin.')->group(function(){ Route::get('/all', [AdminPostController::class, 'index'])->name('post'); Route::name('post.')->group(function(){ Route::get('/create', [AdminPostController::class, 'create'])->n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Searching a txt file for a string and then counting how many times it appears I am trying to read my file "text.txt", and then count how many times my string has been found in that file. I am then trying to write the results into the file "results.txt". #include <stdio.h> #include<stdlib.h> #include<string.h> //Our...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mobile Scraping - Reverse Engineer API Request I am trying to reverse engineer some mobile apps' APIs in order to scrape data off of them. I am noticing some apps have authorization headers that I assume are tied to the app itself, as I am not logged in to the app in any way. I am wondering if there is a risk of usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Similar function to numpy.dot with nalgebra in Rust I recently started to use nalgebra, but I can't for the life of me figure out how to do a regular dot product, like below: This is similar to how in Python, you can do this: import numpy as np arr1 = np.array([[1, 2, 3], [4, 5, 6]]) arr2 = np.array([[7, 8], [9, 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: setInterval not looping properly I'm writing (or attempting to write) a monitor for an api endpoint which returns data in a json array. The intended functionality is to pull new data every minute and compare against the last pull. I'm storing the older version of data locally & the latest pull within a variable. As ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Use Json Object as Spring MVC view model directly without converting it to Java object I am working on a spring MVC project and currently making a new API call to a backend service to get response and use it as the viewModel of Spring MVC ModelAndView. However, unlike traditional flow, this time I dont' want to conv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No such table found error in android studio This is the DBHelper class :- public class DbHelper extends SQLiteOpenHelper { static String DATABASE_NAME="ContactsDb";//database name static String TABLE_NAME="contacts";//table name static String KEY_ID="id"; static String KEY_NAME="name"; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow GPU Avaible False I have updated my cuda and install tensorflow-gpu, but i till get error Can anyone help to figure out what is going on and how it can be fixed? >>> print(tf.test.is_gpu_available()) 2023-03-03 10:22:41.327797: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Conditional statement won't work and is coming up with error I am doing exercises and have been able to fix all issues by myself, but I can't seem to get this one. It says "declaration or statement expected." let percentGrade; function problem3(grade) { if(grade >= "100%"); { percentGrade = "a"; } else if...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why even on using float left, adding text will make it falls below the image? I have used the float-left property to wrap the text around the image. But on adding more text, it is appearing below the image, instead of right. In the class chess, I have used float property and set it to left. The CSS I used. body { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75622999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cellphone Bluetooth ID I'm working on a web app where I need to get a user's cellphone bluetooth ID when they use the app on their phone to register for an account. Is this possible? If not, what's another way we can do it? Thank you. I read on some sources where people said it wasn't possible due to security reason...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Merge Sorted Lists w/o sort() Printing 'none' After Code I have an assignment that asks: Write a function def merge_sorted(a, b) that merges two sorted lists, returning a new sorted list. When I run my code, it prints 'none' after executing the code and printing the correct output. My code is: def merge_sorted(a, b)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Verifying token in a loop when I refresh my browser when browser inspect tool is opened (keycloak-js) I have a React application that is getting reloaded in a loop when I press the refresh button, I observed the string "&state.." is getting added and removed from the URL in a loop. I am able to reproduce this issue ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react native with hermes source map not generated I'm using window 11 and trying to generate react native typescript sourcemap when doing debugging with command yarn create-env --staging && react-native run-android --variant=stagingDebug --appIdSuffix=staging I expect to generate typescript sourcemap at android/app/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I change the default date format in Woocommerce? order detail custom field In the WooCommerce order detail, the Date created is showing as 2023-03-03 and I would like to change this to format March 03, 2023. There is also a custom field using Checkout Field Editor for WooCommerce plugin ; pickup_date with the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RAID массив, как сделать клон? У нас был сервер, на нем стояли 2 диска в RAID Но не понятно в каком режиме, один диск умер, теперь требуется восстановить данные с живого диска. Диски были по 1 тб, при открытии acronis image backup размер диска указывается как 1 тр и 300 гб. Как можно узнать в каком режиме был RAID в...
{ "language": "ru", "url": "https://stackoverflow.com/questions/75623010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Setting RAG colours in a cell based on the % value of the adjoining cells value in Google Sheets Lots of info out there on more complicated use cases but nothing that helps in my specific situation which seems pretty simple. I have two columns, A & B. In both columns there is a numerical value with no decimal places...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I obtain gapless playback with AVPlayer? I am trying to play files consecutively with no gap in between. The first thing I tried was using AVQueuePlayer: let player = AVQueuePlayer() let playerItem1 = ... let playerItem2 = ... player.insert(playerItem1, after: nil) player.insert(playerItem2, after: nil) p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SDL sprite animation motion too fast i want to create a game but my sprite rendered too fast. the sprite has 6 images and i want it rendered like 1 images per 200 ms. i already try SDL_Delay() but the game is very laggy, i want it rendered a little bit slower but the motion just fast. here is the motion code #includ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: can state have dynamic name ? like state_1, state_2, state_3 until state_x , how to implement this in react native? can state have dynamic name ? like state_1, state_2, state_3 until state_x , how to implement this in react native? i want to make react-native-display Display have different state on every Display. th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert blob data to snowflake? I am using snowflake connector to push raw blob data from cerner database to snowflake and I am using the query below. I am getting the values directly. select blob_contents from ce_blob; While pushing i am using, snowflake_query = "INSERT INTO BLOB_TABLE VALUES (?)" snowflake_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C#: Fraction Calculator GUI cannot access private numerator and denominator variables In my Fraction class, I have the numerator = 0 and denominator = 0, both set to private. If I make these public, my calculator GUI shows 0/1 as it's initial variable instead of 0. If they remain private, I get a CS0122, since they ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Regex for a specific URL that contains a random number I'm trying to assert that a string containing a URL is the one I'm expecting, but the last section of this is a random number. I did take a look into regex and tried a lot of patterns, but I haven't found the correct one. The URL is something like this: https://...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Typescript function type as a union to function parameter Situation Here is my example setup to reproduce: type MyType = { foo: string bar: number } type MyFuncType = (input: string) => MyType function myFunction(input: string | MyFuncType) { if (typeof input === 'function') { // do things ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is the memory usage of my Pubsub service continuously increasing despite not doing anything but listening? My service which aims to listen for messages before transforming/modifying them, and then pushing them to a separate topic has been having a gradual rise in memory usage over time. It will increase until it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to change fillter color file svg in css I include CSS in HTML and I used it before, I try to use a filler color but this not working. .list-dots-menu-right::before { content : url("../image/svg/dots-six-vertical.svg"); display : contents; filter : invert(0%) sepia(0%) saturate(21%) hue-rotate(38deg) brigh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Check Microphone is active or not What is the command in the Ubuntu terminal to check if the microphone is active or not, similar to the command "lsmod | grep 'uvcvideo'" used for checking the camera? We aim to employ a Node JS application to keep track on the condition of the machine's camera and audio components. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Detect when the Python interpreter enters IPython? I have code that uses a rich live display. Sometimes I IPython.embed in that code, but the display keeps updating. I would like to stop the display before the embed and restart if the embed exists. Is there a clean way to do this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75623039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Event at TreeViewItem, work only at root Item I'm a beginner at WPf, and studying TreeView and TreeViewItem. I want add Event to each TreeViewItem. But the handler's sender is always root item whatever I click rootitem or childItem. this is my code. <TreeView> <TreeView.ItemContainerStyle...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use non-localised OperationName values in Get-AzLog We use the PowerShell command Get-AzLog to extract event information from Azure. Our code used to work fine, but at some point it seems to have stopped finding the events we want and now returns nothing. It appears the non-localised versions of the Operatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel Query With Join to Select With Other Join How to Convert SQL With Join Select Have Another Join And Where, I have Query Like This : SELECT A.prs_id_sales,B.namesls,COUNT( A.prs_id ) AS pros, IFNULL( C.drive, 0 ) drive, IFNULL( C.spkdrive, 0 ) spkdrive, SUM(IF((A.prs_spk_no <> '' ), 1, 0 )) spk FROM `prosys_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why purescript can infer the Row.Cons contraint? I have a newtype which takes a parameterized type, newtype MockState m = MockState { apiState :: {api1 :: m Int, api2:: m String} } derive instance newtypeMockState :: Newtype (MockState m) _ I have a function that creates a ref out of some field, createRef :: foral...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot application use JNDI datasource from JBoss Standalone.xml I am trying to get my Spring Boot application to work on our JBoss 7.4 server. One of our requirements is to keep the datasource information defined in the JBoss standalone.xml file In standalone.xml, I have: <datasources> <datasource jndi-nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript Errors with Iframe I am creating "Hacks" and my code has errors that I cannot seem to fix. I am a beginner and need a lot of help. Here is my code: (function() % 7 B(function() % 7 B % 0 A const button % 3 D document.createElement("button") % 3 B % 0 A button.innerText % 3 D "HACK" % 3 B % 0 A button....
{ "language": "de", "url": "https://stackoverflow.com/questions/75623056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Karate throwing SAXParseException; 0; Content is not allowed in prolog. when parsing XML I am trying to parse a XML that looks like: <?xml version="1.0" encoding="utf-16"?> <Val1 xmlns:com="somevalue" xmlns:pol="somevalue" xmlns="somevalue"> <msgResult xmlns=""> <com:msgcONG>Congrats</com:msgcONG> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: After switching to version 29, Jest test fails for toBeCalled() tests After switching to jest version 29.4.3 from version 27, some of my tests are failing. Here is a simplified by working example to reproduce the failure: __mocks__/https.js const httpsMock = { createServer: jest.fn(() => console.log("createServer ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm trying to place an array inside another in order to make an online shopping cart I'm trying to add a series of four arrays inside another array so that i can structure a shopping cart. // Initialise cartItems to an array const cartItems = [item1, item2, item3, item4]; const item1 = ["Bottle of Wine", 6]; c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: RestRequest error "Method Not Allowed" on Android Device or Simulator he class below is from a .net 7.0 MAUI app and it retrieves data from a REST API. When I run the program from "Windows Machine" it works fine. However, when I run the program from and android simulator or Android phone it doesn’t work. I call the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: websocket connection working on mac not on windows I'm trying to control a webpage with a desktop application. The architecture is: App -> socket->websocket->(javascript+html) So, a message originates in the app (client.py) then sends it to a socket server (combined.py) that relays it to the webpage (scriptsp.js and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring boot hibernate implement secure request header filter work on all controller but doesn't work on root of web application In the spring boot hibernated web application project, the project has standard hibernate component Controller which has annotation of @RestController @RequestMapping and etc. config class ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab docker image script - if condition is not working Written a below gitlab pipeline using python image and if condition works perfectly fine. .chk-bracket: image: "python:3.7" before_script: - apt update - apt install jq -y - pip install awscli script: - echo $CI_COMMIT_MESSAGE -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: strand-specific alignment with BWA I'm trying to BWA to align my custom-designed sequences to a reference genome I generated corresponding to all the sequences present in the same panel. This is following the lentiMPRA protocol linked here https://www.nature.com/articles/s41596-020-0333-5#Sec1 The difficulty is that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I extract columns directly from a trigger's procedure code in Postgresql? I have triggers that update a table's respective history table with the old column value when a record is updated or deleted. This is an example of a trigger that updates the contact_history table if the main contact table is updated: C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cron job for every first Saturday of a specific month of every year I want to run a cron job every year, but I want it to run on a specific month and only on the first Saturday. I am not sure how to test it and I'm not sure if this should be the correct syntax for what I want. Let's say I want to trigger the cron on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Build fails with "linking with `link.exe` failed: exit code: 1181" I suddenly started getting this error message when building my workspace on Windows. error: linking with `link.exe` failed: exit code: 1181 | = note: "X:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.31.31103\\bin\...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Zstack alignment issue on NavigationView Two circles on Zstack is not align if view is render on NavigationView. struct SpinnerView: View { @State private var isLoading = false var body: some View { NavigationView { ZStack { Circle() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why the modal is empty and the selectedItem is null in my BootstrapVue I'm new to BootstrapVue, not sure if what I'm doing is right. I'm using BootstrapVue to create an editable table with quantity input, when clicking the table row, it will show the item image modal. (used <%%> instead of {{}} because of the jinja2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: An error occurred when running the spring cloud task batch app An error occurred when running the spring cloud task batch app ERROR : Statement.execute(CREATE TABLE TASK_EXECUTION (...) FAILED! org.postgresql.util.PSQLException: exceptioin: "task_execution" A relation of names already exists Is there a way to disabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ARKit physicsBody.applyForce asImpulse: true throwing odd error: Incorrect argument label in call (have '_:asImpulse:', expected '_:impulse:' When applying a force to a node in ARKit: myNode.physicsBody?.applyForce(forceVector, asImpulse: true) Xcode has started to complain with an error: Incorrect argument label ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get percentage of total for each row in Pandas? I have a dataframe with hundreds of columns. A simple example is this df: date | A | B | C 2020-01-01 | 10| 40| 50 2020-02-01 | 20| 60| 100 But I want %of total row-wise: date | A | B | C 2020-01-01 | 0.1 | 0.4 | 0.5 2020-02-01 | 0.11| 0.33 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: react js code is showing red color highlight even its correct syntax in vs code enter image description herei am getting red code highlight in vs code even correct syntx and code is also working .. i try to solve this by changing themes & turn off all extantion but nothing fix .and its very annoying to work with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using UUID for file download in a url embed in qr code? i am new to web development so please pardon me for my lack of knowledge. I have been reading some reference regarding UUID. I know there are several UUID versions(v1, v2, v3, v4, v5) with their own pros and cons. Currently i am trying to build a file download ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: List all repository branches in Jenkins Parameter I am trying to add Active choice paramtere for Jenkins job to populate all the github branches. I've added personal access token in Jenkins credentials and trying to use that. so, far I've tried below snippets. def gettags = ("git ls-remote https://<username>@github....
{ "language": "en", "url": "https://stackoverflow.com/questions/75623095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change the text color of rightBarButtonItem Item in Swift I am trying to change the text color of the rightBarButtonItem item text and it blue by default . I am trying to change it to black . My current code for that is: self.navigationItem.rightBarButtonItem?.tintColor = .black This does not change anything ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can translate text on buttons in Django? I try to make bilingual site on Django. Frontend wasn't written by me, and, unfortunatelly, I cannot ask this question for person who did it. const configButton = { purchases: { attr: 'data-out', default: { class: 'button_style_blue', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting connection timed out while installing Jenkins plugins through Dockerfile I am trying to install Jenkins 2.393 version through Dockerfile, I am getting an timed out error while trying to download Plugins. Can someone help me out? Please find the below Dockerfile and Attached error what I am getting. Error I a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can we register user using phone number in Firebase on Server Side? Client side solution is already available, but is there any way to do that on Server Side? I have been trying this on client side. const applicationVerifier = new firebase.auth.RecaptchaVerifier( 'recaptcha-container'); const provider ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to click on link text selenium python i tried to click on link text but no work. Unable to locate element: {"method":"link text","selector":"Bán chạy"} please help me. My code: driver.find_element_by_link_text('Bán chạy').click() https://shopee.vn/search?keyword=iphone A: driver.find_elements_by_xpath("//*[co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to select row/column variables starting with a particular set of characters (e.g., Q4) in R package expss? In survey research we often have blocks of variables starting with the same set of characters such as "Q4a", "Q4b", etc. Is it possible to avoid manually entering column names starting with "Q4" as argument...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: My services restart about an hour after I stop them We have three servers - Windows 2012 R2 - in Azure, running a variety of our own custom developed services. These services are configured to start automatically, so naturally, on startup or after a reboot we expect to find these services running. Occasionally, we n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Run a script quickly from second time onward I have a python script that takes a lot of time to complete. The line that takes most of the time is: ndf['embeddings'] = ndf['embeddings'].apply(ast.literal_eval) Is there any way to pickle the results so that I will have to wait only for the first time? A: sure ndf.t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Built SwiftUI app isnt able to edit firestore database while preview can? I'm building this inventory tracker app using SwiftUI and a Firestore database and I came across this issue: Im using some sort of "taskbar" to be able to navigate through the app using my content view (image 1) screenshot of the taskbar in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: ValueError: Unable to create tensor issue for a transformer model I am trying to train a conformer model on audio data and am constantly getting the below error . "ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm libraries in stencil I have been trying to use libraries like react-types and particles in my stencil project but I am bombarded with error messages, are these libraries not made for anyother framework but reactjs or is there something Im missing? import { Component, Host, h } from '@stencil/core'; import * as p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to return zip file in spring boot as a response using ByteArrayOutputStream import java.io.ByteArrayOutputStream; @Controller @RestController @RequestMapping public class SplitPDFBySizeController { @RequestMapping(value = "/upload/single/pdf/for/split/by/size", method = RequestMethod.POST) public void uploa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }