text
string
meta
dict
Q: How to restructure a json array I am building a Rails 5.2 app. In this app I got a structure like below: [{ "id": "39d0d26f-ef47-4970-8083-5cd95ba96447", "type": "text", "title": "Start", "typing": 0, "delay": 0, "children": [{ "id": "0810af7f-52ee-4267-aee5-18953688d4ea", "ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open 7zip with no crc in python I want to open an 7zip file in python and used the py7zr library but getting following error: CrcError: (3945015320, 1928216475, '1_Microsoft Outlook - Memoformat (3).tif') I tried the following code: archive= py7zr.SevenZipFile('path', mode='r',password="mypw") archive.reset() archi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OpenIDConnect good practice - keep connection I've been using OIDC for some time now and I'm looking for solution so that my users have to reconnect as rarely as possible, without compromising security. I use both web browser and desktop apps to connect. I know that I can play with the lifetime of access tokens and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wazuh Docker installation Hi I have installed Wazuh on my local docker environment as mention below https://documentation.wazuh.com/current/deployment-options/docker/docker-installation.html But now i need to change the local host IP address from 127.0.0.1 that access the Wazuh manager. any idea how to do it? Please...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: StartActivity(intent) does not seem to work In my AndroidManifest.xml I have a MainActivity and a ItemInfoActivity. <activity android:name=".MainActivity" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: OpenSearch bulk query vs AWS Kinesis Firehose OpenSearch destination Premise: I already noticed this similar question, but it doesn't exactly cover what I would like to understand. Problem As part of a project to build a scalable and reliable search solution, I am exploring different ways to bulk load data into Open...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement Kendo Gantt chart Jquery in react I wanted to implement kendo gantt chart in react but in react library they dont have full feature like drag the scheduler time but in jquery they have that functionality and other things. so i wanted to implement jquery gantt chart in react Jquery Gantt chart link h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scaled canvas pixelated bug on Safari I need to scale up and transform a canvas and it works great with the following CSS property on Chrome for example: canvas { image-rendering: pixelated; } But on Safari (macOS and iOS), it remains blurry. I made a small codepen to check the issue: codepen link Here is a scree...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Write Linux kernel in Python and compile with Cython Python compiles to C compatible bytecode with Cython. You rewrite Linux kernel source code files something.c in Python and compile with Cython. Is it possible to compile Python files to bytecode using Cython without Python's memory management and then insert them...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: unexpected error deploying firebase functions i did successfuly to ( "npm install -g firebase-tool" and "firebase init functions") and i got an error and no reason given in the line of code. PS C:\flutter_projects\login_register_desing> firebase deploy --only functions === Deploying to 'login-register-design'... i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I use raw sql in async sqlalchemy? I have asyncio sqlalchemy code: import asyncio from sqlalchemy.orm import sessionmaker, declarative_base from sqlalchemy import text, Column, Integer, String from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession async_engine = create_async_engine(f'mysql+aiom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: go back to the previous mat tab with browser back button I'm developing an angular application , I need to set up the mat tab in such a way that without using the router url, when I click on the browser back button , it needs to close the tab (mat tab) that is currently open and go back to the previous mat tab that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access parsed json key using a variable in Logic App Can we access parsed JSON key using logic app variable? I have a string type variable with value as FY23-01 like below: And a parsed JSON like below: { "@odata.etag": "", "FY23-01": "1", "FY23-02": "2", "FY23-03": "3", "FY23-04": "4", } Now I want to g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 15 Cannot find module '@env/environment' or its corresponding type declarations.ts(2307) I have created a angular 15 application. My environments folder is under src. Following is a snippet from my tsconfig.json: "baseUrl": "./src", "paths": { "@app/*": [ "app/*" ], "rxjs": [ "./vendor/rxjs.ts" ], "@env/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: regex repeated group capture Even though I've looked through multiple examples of how to capture a repeated group. I cant seem to be able to understand it correctly for my case to make it work. use ((?:([a-z_0-9]*)\.)*)(\w*); Regex example As shown in the above example, I wish to capture the package name in segment...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: findstr command not searching regex of a string I need to find an exception string in logs, but my log file names have a pattern. like ABC_21-2-2023.log, ABC_21-2-2023.log.1, ABC_21-2-2023.log1, runlevel_ABC_21-2-2023.log findstr /S /r %ErrorStr% "%LogFilePath%(MMI|run)?.log.[0-9]*" "
{ "language": "en", "url": "https://stackoverflow.com/questions/75590043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to customize Notification in Lock screen swift I see the Telegram application uses the first letter of the contact name to replace the Logo of the app. How can I do that? I try to search but not found
{ "language": "en", "url": "https://stackoverflow.com/questions/75590045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Error: node_modules/preact/src/jsx.d.ts:2138:24 - error TS2304: Cannot find name 'SVGMPathElement' The project is based on Angular , I am getting this error when check in few typescript classes , However it worked well in previous script , In both cases package.json was not checked in , Its strange. Let me know if a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Insert data into table from another table based on non matching column values I have two tables. Staging table refreshes every day and replaces LoadDate column with today's date. This data gets inserted into Final table where I want to insert just the new data. Staging table: MachineName ApplicationName LoadDate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I made a "non sequential" Random Number Generator LCG? I recently created a RNG LCG, the formula is: newSeed = (131173 * actualSeed + 27) % 262144; But I have a question, this RNG is used to introduce a single seed and then it will generate a sequence. But I, for other reasons, need to introduce a seed for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Google Artifact Registry mirroring I'm using GCP Artifact registry to store my artifacts(docker repo,helm chart and etc.). I have another GCP project where I ant to have GCP artifact registry with the same artifacts. Google Artifact Registry doesn't have any embedded mechanism for that. The only solution I found is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) - bluetooth Reboots so I have a strange problem using arduino-esp32 Bluetooth library. here is the link of the library. note that for some reason they didn't provide any documentation for their library but only code examples. so one of their code examples w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use MediaPlayer in Android In my application I want use MediaPlayer in Recyclerview and I have 2 viewType of viewholder adapter. I write below codes, but after run application and click on play button show me force close error! ViewHolder codes: class WhiteViewHolder internal constructor( whiteBinding:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What are invalid expressions in bash Looping Constructs? I'm reading the Bash Reference Manual There is some description for the for command: An alternate form of the for command is also supported: for (( expr1 ; expr2 ; expr3 )) ; do commands ; done First, the arithmetic expression expr1 is evaluated according to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: c# NPOI read large Excel file (> 8224 ytes) I am using .net 7.0 and the Nuget NPOI package to read different types of excel files in an api.net project. Problem is this package only supports excel files upto 8224 bytes. Is there a way to read excel files (old style adn openXml format style) of larger sizes? I cannot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: INFORMATION SCHEMA MYSQL DATABASES DELETED Help I deleted my information schema database I'm trying to recover it and get the size of the database that I create. Can someone please help me? I thought that it was an example database so I clear some of the databases.
{ "language": "en", "url": "https://stackoverflow.com/questions/75590067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Each array value should be print after 1 second I want to display each array value after one second: var arr = [1,2,3,4,5]; arr.forEach(val=>{ let newVal = val; setTimeout(()=>{ console.log(newVal) },1000); }); How can I do this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75590069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Javascript toggle menu is not working as intended I've been looking for my mistake for 2 days but I couldn't see my mistake. My HTML CSS and Javascript links are fine but the toggle menu is not working. I'd really appreciate it if you could help me out, I'm about to go crazy. Where is the problem I can't see? let ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to make some parallel https requests using reqwest? I need to make 10 parallel requests to the site from different IPs (at the same time). I have an array of 10 proxies, I need to make 10 parallel requests to the site using 1 of 10 proxies for each request in order. #[tokio::main] async fn main() -> Result<(), B...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use CDK Aspects to get all the environment variables of a lambda function in a scope? I want to get the environment variables and their values of all the lambda function in a scope using CDK Aspects. I have tried defining a custom Aspect, but the node object of Function construct don't have environment proper...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: i am getting A component is changing a controlled input to be uncontrolled (https://i.stack.imgur.com/IrmWz.png)(https://i.stack.imgur.com/OT4pD.png) there is only one state state,setState which is used to add user now I am calling one function getSingleUser which takes id from params and calling new api according t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590081", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import data from one excel file to another by user? All I need to do is import data from one excel to another by microsoft user. Please let me explain my business model and look at the example below. My business model works like this: Every salesman is responsible for his own country... Legally he can see onl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does atomic guarantee visibility ? JAVA I was reading this statement : The Java language specification guarantees that reading or writing a variable is an atomic operation(unless the variable is of type long or double). Operations variables of type long or double are only atomic if they declared with the volatile k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Convert row_number over partition to C# linq subquery I have this SQL query below that I need to convert to linq. Im not sure how to do it especially the subquery that uses row_number SELECT MyTablePartitioned.CounselId, MyTablePartitioned.EmployeeGUID, MyTablePartitio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to obtain TraceId from a New Relic transaction? I have a Rails app that's running new relic's ruby agent v7.2 and distributed tracing is enabled. Having distributed tracing enabled lets NR create a "TraceId" attribute for every api call thats getting logged and I can see that in my dashboard. But is there a way ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to merge unrelated models and list them Django There are two models in models.py First: class PublishedOutput(BaseModel): """Collection of generated distributions available on BigQuery""" generate_distributions = models.ManyToManyField(GeneratedImpressionDistribution) modified_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Region Proposal Network & Anchor Box Implementation I am working with R-CNN and I want to understand its working from its core and implement it. The Issue that I came across is, what is Region Proposal Network and how to implement it. From What I understand RPN take feature map from the feature extraction models lik...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is a good term to describe the outside-in view on a multi-tenant application? We are working on a set of multi-tenant applications. In literature there are many definitions around tenant, but the common described elements seem to be: * *the customer that subscribes to the application *a set of users with (ro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i have issue thst carbon chain dockerfile not working carbond: error while loading shared libraries: libleveldb.so.1: cannot open shared object file: No such file or directory its would carbond version : 2.20.1 but not working
{ "language": "en", "url": "https://stackoverflow.com/questions/75590101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create proxy via opensocial googleusercontent? How to create proxy via opensocial googleusercontent? example https://inat-opensocial.googleusercontent.com/gadgets/proxy?container=focus&refresh=1&url=https://hls.ablatasgibisin.ga/yayininat.m3u8 it won't work when you enter the link, but if you try it with hls ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there a way to specify a (sematic) document version with dublin core or the like? I would like to add a semantic version to a document, which is an interface specification, using meta-data. My preference would be to not have something proprietary, but standards based, e.g. using Dublin Core. I already used the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: making a sticky cookie/session without NginxPlus I'm having a hard time making a connection sticky on my nginx.conf file. the current architecture is as follows events {} http { upstream flask-app { server flask-app:5000; } server { listen 80; location / { proxy_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to get `event` param from `onsubmit` handler of `form` element? <form method="post" id="fm1" onsubmit="usernamePasswordLogin();"> <button>SUBMIT</button> </form> function usernamePasswordLogin(x) { // x.preventDefault() console.log('x', x) } when I click SUBMIT button usernamePasswordLogin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Clientside Dropdown validataion in razor ajax I have a form where i have multiple text box and dropdown boxes My view is as follows <form id="canditateForm" asp-action="CreateCanditae" method="post"> @*<form id="canditateForm">*@ <div class="row" rowspan="2"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redis Streams - XREAD with pattern matching or stream partitioning I have a use case that seems suited to Redis Streams (need a slightly durable pub-sub + queue), except for one feature. Is there a way to have XREAD pattern match streams, similar to how PSUBSCRIBE works? If not, what would be the best way to have (>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I solve errors coming in C++ OpenXLSX library It's my first time using an external library in my project, I am using OpenXLSX library for reading XLSX files. I followed the procedure given in their official git repo: First I had to clone repo, then build the code with the help of CMake, and then install that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: bootstrap, and the footer background color doesnt work .footerlinks { color: #000000; text-decoration: none !important; } .footerlinks:hover { color: #ffd800; background-color:black; } .footer{ color:#343a40; background-color:#343a40; } #footer1 { background-color:#343a4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to solve "Error message 'where' operator in UrlClickEvents" error? Error message: 'where' operator: Failed to resolve table or column expression named 'UrlClickEvents' Tried this "Kusto Query Language (KQL)" query in Defender Advanced hunt and goal is i want to see when the URL is clicked. But, occurred above ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to get Text to Show up in Footer for Website I am having trouble with one of the parts of my website. I used the same code that was used in the home page for the footer. I removed lines from the footer. When I removed the lines, it deleted the footer. It has something to do with the position however it is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: enqueued styles not applying to forn I have problem enqueuing styles and js on wordpress and i think im doing it wrong. This is the way i enqueue my styles. function hby_reg_enqueue() { wp_register_style( 'reg_pg', plugins_url('/hby_reg.css',__FILE__)); } add_action( 'wp_enqueue_styles', 'hby_reg_enqueue' ); In my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Failed to pull private git repo using node alpine I am trying to build a local docker image for my front-end application in Vue using node:16.15.0-alpine which fails because my package.json file has a private repo in it. However, when I build image using node:16.15.0 everything works fine although my docker image si...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a preset of attributes using an attributes? I'm using symfony 5.4 with php 8.1 and I would like to factor a set of attributes used for Swagger documentation, before each controllers method, I have, at least, these 5 attributes: #[OA\Response( response: 400, description: 'Bad parameters', co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Decorators to configure Sentry error and trace rates? I am using Sentry and sentry_sdk to monitor errors and traces in my Python application. I want to configure the error and trace rates for different routes in my FastAPI API. To do this, I want to write two decorators called sentry_error_rate and sentry_trace_rate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Impute values in grouped data by condition in R I like to impute a variable in grouped paneldata with tidyverse logic. The story is this: It is survey data and people are asked in particular years (time) for a behavior in the last couple of years. Thus I assume when someone said "I had a car for 5 years", that the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSharpCompilation emit fails when referencing a .dll not part of the project Background: I have a c# file 'code.txt' which needs to be compiled and executed. This file requires the CsvHelper package from nuget in order to be. I have two projects which are identical with the exception of one has the CsvHelper nuget p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Variable expand by default is using DFS, wouldn't it be better if a user code explicitly specify? Inside Memgraph, variable expand by default is using DFS, wouldn't it be better if a user code explicitly specify what's the expansions policy? I've found the following example MATCH (x {id: 587})-[edge_list:Type *dfs.....
{ "language": "en", "url": "https://stackoverflow.com/questions/75590150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to compare date in JSP? I want te campare 2 dates in jsp: facture.dateFacture = 2023-01-30 <s:if test=" facture.dateFacture < 2023-12-31 "> <sas:label label="accident.noteMotif" id="lbnoteMotif" value="${facture.dateFacture}"></sas:label> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I store a base64 encoded file (with type) to local storage in Laravel? I am dynamically creating and validating files by base64 encoding them in javascript before sending them back to the server. An example that I recieve could look like this: data:application/vnd.oasis.opendocument.text;base64,VGVzdA== I n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to prevent Visual Studio on breaking on exception which seems to be handled in Python internally? I want to debug my Python application with Visual Studio 2022 Pro and am just configuring the solution. I've stumbled upon a very persistant exception, which breaks execution every time I debug my application and it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I access the file chosen from an input type="file" I'm trying to work on an .xlsx/.xls file chosen by the user in my Blazor WASM project. I've defined an hidden input file like this: <input type="file" ref="@inputFile" id="fileInput" accept=".xls,.xlsx" style="visibility:hidden;" @onchange="HandleInputFileCh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debugging HTTP Response code 400 Bad Request I am new to ReSt APIs and working on a sample project wherein with Java8, Spring Boot and IDE is Intellij Idea. I am trying to make POST request with parameters as part of body in JSON format. This is my code: @PostMapping("/addEmployees") public void addEmployee(@Request...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I parse the response from an API call in android (API 28) I got this code: And it gets executed as follows : new SendFdToApi().execute(); private class SendFdToApi extends AsyncTask<URL, Integer, Long> { @Override protected Long doInBackground(URL... urls) { Gson gson = new GsonBu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python Date(yyyymmdd) - 5 ( skipping saturday,sunday) I have to create one logic in python, want to pass date and get difference from it of like 5 dates excluding weekends. Date format will be YYYYMMDD. Passed - 20230228 expected date after logic - 20230221 Passed-5(excluding weekend) Any suggestions would be apprec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Word Backstage Customisation - Office 2021 changes With Office 2021 Microsoft have added the control on the Info tab shown in screenshot below of and we need to disable or hide it if the document is part of the clinical application (we only intervene on documents that are part of the application - we have a Word Add...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is any way to get all participants of channel in telegram via telethon? Is any way to get all participants of channel in telegram via telethon? Attributes aggressive=True and limit= does not work now in client.get_participants() or client.iter_participants() My code is below let me get only 200 participants in my ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storing dynamic image files in a web app in the api server file system. (nodejs / express) In my web app The users are given option to upload and retrieve images. The only problem is where exactly to store them during production? For development purposes the files are being stored in a '/public/images' directory and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to display data on wordpress by fetching data using an API So I am new to wordpress, and I have to create a page that can display all the events based on category and/or place, date, etc. I was given an API from which I can get all the details. I would like to know if we have any plugin for this or should I writ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deserialising a JSON array collection issues VB .NET Getting the following error Newtonsoft.Json.JsonSerializationException: 'Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: drm_msm kernel compile failed,mutiple definition after enable DRM_MSM kernel config, it show error when build kernel, techpack/display/msm/sde_io_util.c:418: multiple definition of \`msm_dss_clk_set_rate' drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.o:drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c:60: first defined here a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VB: Include code from another file that wants to access subs from elsewhere? I had a complete Class with Subs in a single file. However, a huge chunk of a sub (not all though) should be put into a different file, to make the part accessible by multiple projects. It should be basically just a continue of the code run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why is calcite using SEARCH operator in the plan when I issue BETWEEN operator in the query I am issuing a query like: "select col1 a, col2 b from tableA where a between 100 and 101" to my calcite based jdbc driver. The calcite query plan uses a SEARCH operator for the between filter. However I see calcite has a BET...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Manifest file doesn't conform to the schema. This is an invalid xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:FocusedInboxTab' I've built a Outlook add-in for new email. When I'm trying to make it available for inbox, its saying the error. <ExtensionPoint xsi:type="FocusedInboxTab"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automatic testing of upgraded projects I upgraded my project from asp core 3.1 to asp core 7 Assuming no tests are currently written for the project 1- how do I know if the code returns the same result as before? 2- Is integration testing appropriate? 3- Is there an automatic method for testing APIs (For example, I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Project builds in VS, but not in Azure Pipeline, help understanding the error We have created a new pipeline for one of our applications to be compiled as an Artifact, a windows executable. Normally, this application is run through a Docker pipeline. The Docker pipeline works 100%, and the same Windows Artifact pipe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mongo Mongoose - How to dynamically pick the value for $in operator inside a condition? I am ierating through an object with key value pairs, where the value is an array of objects. If certain prop (lets say title) is already in the db, I do not want to save that object containing same title. When I hard code the ti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Are webclient connection and read timeout independent of each other? Are WebClient connection and read timeout independent of each other? I have configured both in the same httpclient: HttpClient httpClient = HttpClient.create(provider) .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 10000) .doOnConnected(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's a good working strategy to read and write data on the Todoist web service from a Windows pc without admin priviliges? Situation: I am a non-programmer with almost zero coding experience. I want to run custom python scripts on my task list on the Todoist website to improve the functionality. Namely: copying ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I display the data from Mysql table in jsp Please, HELP! Many days I try to display the data from Mysql Data. I tried to display data by may different ways. But no succcess. I connected to Mysql DB. I can extract it like ArrayList using ${} but cannot extract in a needed tag. This is jsp file: <%@ page impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sending GoerliETH to a contract return "out of gas" and "execution reverted" I'm using the Remix IDE to Deploy a Solidity Smart Contract. //SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.19; contract sendMonetSolidity{ uint public receiveBalance; function sendMoney()public payable{ r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Italicise part of a title with an non-flextable object I'm trying to add the name of a species in italics to my patchwork title, but I can't figure out how to do it, I keep getting an error message telling me that italic() only supports flexible objects. Any ideas ? species <- c("Castanea sativa") plot_title <- subs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding secondary DNS In my company we rely on the services provided by OVH, including the DNS provided by it. Having had some disservices in recent times there is the need to change DNS provider or add secondary DNS from other providers. In my small experience I thought of staying on OVH as the primary DNS and addin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Sync Gradient Background Animation to realtime I have a a div with a sun and moon. Currently there is an animation that changes color of the background and animates the sun and moon. How can I make this animation sync to realtime so that the animation reflects the time of the day and the position of the sun a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MQTT - single message with an array of records vs message per record I have a small LED display that should be scheduled to display various messages through out the day based of CRON. It keeps schedules internally for the case when the connection to the server is lost. It creates/updates/removes schedules based of r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP shorthand for combination of ?? and ?: operators? is there any "beautiful" shorthand in PHP to use ?? and ?: operators together? I often check something for array keys to exist and to "evalutate to TRUE" in web apps, e.g. for ids, such as if ($foo['id']) { // ... } but this leads to PHP notices starting wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rook Ceph didn't detect multipath devices as OSDs I'm attempting to add multipath devices as OSDs. I already tried: * *deviceFilter: ^mpath. *deviceFilter: ^dm-[0-9]+ *devicePathFilter: ^/dev/mapper/mpath. *devicePathFilter: ^/dev/disk/by-id/dm-uuid-mpath-.* * devices: - name: /dev/disk/by-id/dm-uuid-mpath-<RE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Breakpoints not being hit with browser inspect for USB connected device While debugging my ionic capacitor application on the USB connected device, my browser dev-tools (Chrome, Edge, Firefox) is not hitting my breakpoints (debuggers in source code). When I run it on ionic serve there is no problem. I am not sure if...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Program is reading txt file but ignoring the if statement I have to read a txt file using file-dialog. It works for me but I have an if statement which should ignore ("/"), blank lines and ("["). The if-statement is not working, output is just the original data in txt file, how can I fix it. Below is the full metho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: after deploying my react app on github pages, all my react source codes are missing from repository I recently deployed my recat app under the following https://henoker.github.io/react-flashcard-app/ link. The app is deployed successfully. However, all my react source folders are missing in my github repo instead I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: following NoSuchMethodError thrown building FutureBuilder>(dirty, state: _FutureBuilderState import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter/material.dart'; import '../../Authentication/FirebaseServices.dart'; class SellersubCatList extends StatelessWidget { static const String id ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show data in html form for editing, from database if it's already been submitted before? I'm listing businesses on my website. After login, the users are getting led to a form, where they can send their data to my database, and on a different page I'm listing these data. My question is, how could I complete t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use Methods from dll file in js file I have old dll files that I was using in old windows Forms application and I need to include them in my new project and I need to access these files/methods from javascript. my target is to make a web application and and then transfer it to desktop app using electron.js Any Recom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FlutterAppDelegate make iOS app openURL not called I am importing Flutter SDK to my native iOS project . doing as this guide https://docs.flutter.dev/development/add-to-app/ios/add-flutter-screen?tab=no-engine-vc-uikit-objc-tab In this guide , it recommends that we should inherited from FlutterAppDelegate But afte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to deploy Apache Beam to Dataflow using google cloud build? I have a pipeline written in java and its template is deployed on google cloud storage when running the Pipeline. What I want is to generate a Dockerfile and cloudbuild.yaml file then I can deploy using gcloud builds submit I just want the template to b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting SSL_connect returned=1 certificate verify failed (self signed certificate) while authenticating using omniauth-google-oauth2 I am using Rails 7.0.4 and gem 'omniauth-google-oauth2', '~> 1.1', '>= 1.1.1' After the consent screen of Omniauth Google, when it's responding to my local server, I am getting this er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the value switch (On/Off) from a Widget , Android ,Java I am developing a widget for turning on/off by a switch The widget contains TextView and Switch : You can look at the code below that i have done so far The widget class extends from AppWidgetProvider TimeWidget class package com.example.time; impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert two components into one router in react I use react, createBrowserRouter. I want 2 components to change whenever I change the router, but I don't know how. Two components on the same page are the deepest layer. (Marked in bold in the code) I tried using the router's outlet, but only one side was change...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Python PyGMT Plotting Data Points from CSV I try the tutorial here: https://www.pygmt.org/latest/tutorials/basics/plot.html#sphx-glr-tutorials-basics-plot-py But, instead of getting their already have example of japan_quakes I create my own csv that can works for the first two examples. But won't work at the last ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to fix recursive problem in the function? there is no description in the task. Please fix the problem. def x(a): return x(a - 1) + x(a - 2) + 42 if a > 1 else a print(x(195)) A: To increase the speed, you can use memoization. Something like this will work. memo = {0: 0, 1: 1} def x(a): if a in memo: r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-9" }
Q: Identify and correct mistakes in Q&A datasets for natural language processing (NLP) How do you identify and correct mistakes in Q&A datasets that contain errors, such as incorrect answers or missing information, and ensure the accuracy of the dataset? Let's say I got thousands of questions+answers that are formed li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The action 'RESET' with payload {"index":0,"routes":[{"name":"LogInScreen"}]} was not handled by any navigator, how to handle? Can I leave the error unhandled or maybe could someone advise how can I fix it. It is Expo development only warning, will it affect the app in production? We save the access token in Async ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }