text
string
meta
dict
Q: My Spring application cannot find my applicationContext.xml file I have tried placing the xml file in everyplace it could be placed within my src folder but no matter where I put it it returns this error. Caused by: java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Method post admin-ajax.php 400 (Bad Request) error I am trying to develop a custom registration for WordPress users using AJAX by the OOP. After submitting the form I get this error: POST http://localhost:10017/wp-admin/admin-ajax.php 400 (Bad Request) Can anyone help me fix this issue? My WordPress version is 6....
{ "language": "en", "url": "https://stackoverflow.com/questions/75556810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Curity Identity server attemps to allocate too much memory I've tried to start a curity identity server on my local machine using docker. I have followed their documentation (reference), but the server won't start. The message I get is the following: 2023-02-24T12:45:16:514+0000 WARN {main} se.curity.identityserv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Should I sacrifice readability for speed using inline code vs function calls in C# NET4? I am writing a Z80 Emulator in C#, second time. First time was incredibly slow using a bunch of if statements and function calls, so I am rewriting using using switch/case instead. VS2019 C# .NET 4 For simple instruction executi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access REST API in spring ends in 404 error I am currently building a REST API in spring. However, I am failing with a simple sample application. I have already read many articles and have tried a lot. Unfortunately without success... I think the problem with this is that the RestController is not found automaticall...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to update ruby version on macOs 13.2.1 (22D68) on intel i7 2019 model I have tried at least 10 ways to install/ update ruby to a newer version atleast 2.7.6 but no luck so far. I have zero experience with ruby. Please help I have tried to install it using homebrew, rvm, rbenv frum etc. Always end up with this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Grouped Bar Chart using d3.js .. how to convert the "CDATE" to Date format and put it in the axis bottom. not working if i convert to Date Format I am trying to put the date in US dateFormat mm/dd/yy from the below json CDATE. [{CDATE: '16/Feb/2023', CLAIMSIN: '127192', CLAIMSOUT: '361952'}] enter image description ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VSTO Outlook: WPF User control within custom task pane gets images and text blurry when using multiple monitors My VSTO Add-in has a custom task pane (ctp) in the top. The ctp embeds an WPF User Control. I have noticed that using one single monitor, if I change some display settings such as screen resolution and/or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: admob impressions is half then request please guide what is the issue also rewarded ads not showing with real id in test is it works Hello I am working with admob but i dont know in my account their is no ads limit but still number of impressions is less then request Please help me out what is issue why i am gettin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jacocoTestReport task failed with error: malformed input off : 17, length : 1 I have a problem with task :jacocoTestReport. gradle clean build task for my Gradle Java project (Spring Boot) failed with error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':jacocoTestReport'. >...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Angular 15+ - Can't bind to 'formGroup' since it isn't a known property of 'form' even after adding in modules Event after declaring: * *FormsModule, *ReactiveFormsModule, in the feature module error still showing home.component.html: <p>home works!</p> <div> <form [formGroup]="MyForm" (submit)="send()"> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bitmap Image Loses quality while adding in Excel in Windows Form Application C# Bitmap Image loses quality and size while adding in excel sheet. By using following code. Anyone can give the solution. And I am using Excel 2019 or above. I don't want to reduce my image quality and size private void button1_Click(o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i pass sortDescriptors into CloudKitUtility.fetch() as parameter in @MainActor environment? Non-sendable type '[NSSortDescriptor]?' exiting main actor-isolated context in call to non-isolated static method 'fetch(recordType:predicate:sortDescriptions:resultsLimit:)' cannot cross actor boundary Following cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Inserting image from blob database into wx.StaticBitmap python I have database (sqlite3) with BLOB image column. I can add blob image to database from file. I have a problem with retrieving image. logo_img is blob receiving from database. file_like=BytesIO(logo_img) img=Image....
{ "language": "en", "url": "https://stackoverflow.com/questions/75556831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generic Function as return This function is valid: function useStateCorrect<T>(initState: T): [() => T, (state: T) => void] { let _state = initState; return [ (): T => { return _state }, (state: T) => { _state = state; } ]; } What do I have to do so that this one is also valid? (Here I simpl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Powershell Regex replace/remove path ending I am trying to extract a certain part of a path in PowerShell. The code looks like the following: $Path -replace '/\/(main)?\/?$/gis',"" Here are a few examples and the expected output: Example 1: $Path: "C://Users/admin/Documents/StackOverflow/" expected output: "C://Use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: change one level of a multiindex dataframe with a function Assuming a multiindex dataframe as follows: import pandas as pd import numpy as np arrays = [np.array(['John', 'John', 'John', 'Jane', 'Jane', 'Jane']), np.array(['New York', 'New York', 'San Francisco', 'New York', 'New York', 'San Francisco']), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: On a PowerShell form, make Shift+mouseclick operate like File Explorer I have a form with checkboxes on it and it works well, I can display all of the items that I want, depending on my needs, then select the ones that I want with checkboxes, then when I press OK, an array is returned that I can manipulate. I have g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excel import data from another workbook macro i would like to ask you, if you have a solution for this problem. I want to create a macro in Excel that would check the ID from one workbook whith ID in another workbook and copy the following data in the second workbook to the first workbook in a specific columms. Woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Ansible Tasks Get List Values from a Dynamic Attribute Name I have the following list vars: services: - uncommon_name1: common_field: "somevalue_of_name2" common_field2: "somevalue2" - uncommon_name2: common_field: "somevalue_of_name2" common_field2: "somevalue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Zod: Parse external JSON file I'm trying to parse an external JSON file with zod: import { readFileSync } from 'fs'; import { z } from "zod"; const schema = z.object({ foo: z.string() }); // "data.json" contains "{ "foo": "bar" }" const rawData = readFileSync('data.json'); const dataInline = schema.parse({ "f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Echarts - build a double graph with an overlimit example Hello everyone, please help me build a graph like in the picture using echarts. I didn 't find a suitable one in the examples
{ "language": "en", "url": "https://stackoverflow.com/questions/75556849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to parse the SNS notification message in aws lambda using python I have created SNS notification topic to receive notification for code pipeline succeed or failure, every time new code is deployed in aws codepipeline. The message that I am receiving by subscribing to aws sns topic is in json format and not easi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use composite key with join in SQL I have these tables: ACCOUNTS: BANK_ID (PK) BRANCH_ID (PK) ACCOUNT_NUM (PK) CURRENCY 20 621 1001 ILS 20 623 1002 USD 20 90 1003 GBP AMOUNTS: ACCOUNT_REC (PK) AMOUNT 20 621 1001 10000 20 623 1002 20000 20 90 1003 30000 I need to get the data ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can i navigate from a class component in ReactJs So first this is my code : const SignIn = (e) => { e?.preventDefault() if(usernamePattern?.test(this.state.userLoginInfo.username) && emailPattern?.test(this.state.userLoginInfo.email) && passwordPattern?.test(this.state.userLoginInfo.password)) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot fetch data from firebase I have a simple code which is getting data from firebase. I am aiming to display it on the screen. body: SafeArea( child: Column( children: [ StreamBuilder( stream: FirebaseFirestore.instance .collectionGroup('clien...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change value based on cell color or date in Excel? how do I make a cell enter value of L6 if cell is coloured yellow? Example: L6 cell value is 1238.80. How do i make cell highlighted yellow to turn to value of L6? OR alternative How do i make cell on gantt chart enter value of L6 based on date in M6? been t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: icon is not working in react native paper text input Code <TextInput mode="outlined" label="Enter Password" outlineColor="#000" activeOutlineColor="#0073D9" right={<TextInput.Icon name="eye" />} style={{ backgroundColor: '#eee', marginRight: scale(20), marginLeft: scale(20), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: 'list' object is not callable FLASK REST API endpoint test I am trying to assert equal the data I stored in a SQLAlquemy db and I get the following error: Traceback (most recent call last): File "/Users/jorgesisco/Documents/GitHub/FlaskRestAPI/tests/product_test.py", line 34, in test_get response_data = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How do I make my add to cart button sticky on Shopify? How to create a sticky 'Add to cart' button for Shopify? I'm using the app but it's increase my website loading time. So I'm looking for the custom code for sticky add to cart button A: This answer will work for Dawn based themes. In main-product.liquid add a n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use v-data-table with v-if to render automatically? I'm trying to use v-data-table with data filter but it's not allowing my attempt below, <v-data-table :headers="colunas" :items="form.itens" :items-per-page="15" class="elevation-1"> <template v-if="!item.excluido" v-slot:item="{ item }"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Modify Spring's RedisCacheConfiguration I'm setting the configuration of a Spring Data Redis Cache on application.properties using the spring.cache.redis.* keys. However, not everything is possible to be configured on application.properties and I'd like to get a reference to the RedisCacheConfiguration created by Sp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Emojis does not align correctly with format I am doing a small personal project to learn Python where you can play Minesweeper in the Console. I wanted to add Emojis to make the output better, but for some reason the Bomb Emoji takes up to spaces and throws the alignment out the window. I take the element at positio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pop closed by the user google sign in error I have created my client id and made the google sign in button but after selecting my account it says please wait for a moment and suddenly closes after that it shows an error pop_closed_by_user please let me know if anybody knows sloution for this solution for this proble...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Listening to an opened WebSocket and fetching incoming messages on the browser-side I'm struggling with something about WebSockets and I can't figure out why. A bit more context On this page, there is a Web Socket that is called "notify.bubble.is" that is provided by Bubble, a no-code tool that allows you to build w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript generic function to get total from list of objects I'm writing generic function to get a total obj based on the list: export function getTotal<T extends { [key: string]: number | unknown }>( list: T[] ): T | null { if (list.length === 0) return null; if (list.length === 1) return list[0]; return ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Troubleshoot custom CLR audit trigger without source code? I have a custom .NET CLR trigger that is hooked up to my database to handle slightly more advance insert, update, delete triggers. Basically it is tying in some data not readily available to the database such as workstation ID and user name. I do not have ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extract tables from bills using textract in Java 2.x or Anyone know where I can see its documentation . as I have checked everywhere they just have 2-3 examples of code for java 2. Thanks in advance
{ "language": "en", "url": "https://stackoverflow.com/questions/75556881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Ansilbe Playbook Tasks Running Twice I've spent an obscene amount of time trying to get this playbook/role to work correctly. When I use the tags I've assigned the tasks in the playbook it runs the tagged task and then all the tasks. I added the "never" tag and it still runs all the tasks in the role but if I don't ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My function won't break when the user inputs the right color Code The function won't break after the user inputs blue but instead causes an infinite loop, we need to have a loop for this code and the goal is to guess the colors The loop is supposed to end but it instead continues infinitly
{ "language": "en", "url": "https://stackoverflow.com/questions/75556886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Can't get a container to have no margin on one side yet stay responsive I need the restrains of a div class container, only on one side though. The other is supposed to reach the edge of the viewport. If I just remove the margin of one side (ms or me)) the whole container and thus the border i need shifts. (makes se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any to detect closing of a tab or refresh event on a tab in vue I'm using window.addEventListener("beforeunload", this.confirmLeave); where confirmLeave looks like this confirmLeave(ev){ if(this.changesHandler({},true)){ ev.preventDefault(); ev.returnValue = ""; } } but unload event f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Code doesn't append attribute to last element in list BUT TO THE WHOLE LIST I'm learning python by myself and just for fun I'm trying to write an XML parser from scratch. My code is now at this point and I don't know why this line copies the attribute to the whole list's «Objetos». parse[-1].attributes.append(attrib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex Names Allow only 1 hyphen and 1 apostrophe Flutter How can i allow only 1 hyphen or 1 apostrophe in a name This is the regex i currently have: final TextInputFormatter kNamesTextInputFormatter = FilteringTextInputFormatter.allow(RegExp(r"[a-zA-Z-']"));
{ "language": "en", "url": "https://stackoverflow.com/questions/75556893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Replace literal user and password from persistence.xml I have a simple maven project which conects to a postgrewql batabase, and in persistence.xml i wan't to replace the literal username and password with the values i already setup in environment variables. Is it possible to do this somehow? i don't use Spring, jus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i find the difference between the time (now) and a time provided in a jdict I have a jdict giving me a time and I need to work out how long ago that was to then perform another action if it was more than x time ago. I imagine I will work in days for the difference. jdict time is given as (str) 'Wed Dec 7 10:4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Export docker command result to CSV Export docker command result to a CSV file For example, Result for the query docker ps should be stored in a CSV file. A: To export the results of a Docker command to a CSV file, you can use the following steps: Run the Docker command and capture its output by appending > output....
{ "language": "en", "url": "https://stackoverflow.com/questions/75556898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeScript Array traversing Reverse & Forward showing same values? array printing same items either access by reverse/forward loops NOTE No built-in functionality will be used let sentence = "A Quick Brown Fox Jumps Over the lazy Dog"; let char;let space = ' ';let array = [] ;let word = '' ; //Creating Array of Wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding Google Adwords gclid parameter to Woocommerce Database I want to store Google Adwords gclid parameter to Woocommerce Database. Any idea how can I do this. I want to create a new field in the Woocommerce orders to store the gclid if its present. Onclick place order button, I want to store the gclid into woocom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How snakemake handles file/directories updates? I'm a bit confused about how snakemake (7.22.0) handles cache and file/directories updates. I have the following simple demo workflow.(see description below). I have a data directory with input.txt inside. When I run the workflow for the first time, everything is fine....
{ "language": "en", "url": "https://stackoverflow.com/questions/75556905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ModuleNotFoundError when running Jupyter notebook with conda env in Snakemake I recently tried to use the Scanpy python package in a jupyter notebook that I made in Snakemake. Scanpy is installed in a conda environment that I explicited in a .yaml in Snakemake. When running the job: snakemake --cores 1 results/outpu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: createPattern doesn't work with ImageBitmap in Safari? According to the documentation at https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createPattern, ImageBitmap is a supported argument, and Safari is claimed to have full support. However, trying to substitute a canvas element with ImageB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: window.print() prints multiple copies instead of 1 I have the following CSS code to print a div. The issue is that when printed, it prints duplicates. @page { size: 3in 2in; margin: 0mm; } @media print { .printDiv{ background-color: rgb(5, 3, 3); height: 100%; width: 100%; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Ajax response increments with each submission I have an odd situation with Ajax that may only be odd due to my lack of experience with it. I have a test form I've been using and have found that I get an increasing number of responses with each test iteration. What I mean is that after the page loads and I submit tes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cross compile boost library for Raspberry Pi 4 32-bit gives gnu/linux insted of sysv and doesn't work on pi I have a raspberry pi board and I want to cross compile the boost to use date_time lib form Ubuntu 22.04 host. every time I try to compile and check the file type using file command it gives this libboost_date...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Python to manipulate the way another software exports data thank you for your response! I will try my best to clarify. The video analysis software that I use is OBSERVER. I create a project file for every experiment first such that each project file will have data from several animals after analysis. I load a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: No working transports found - wordpress problem I have a Wordpress site on localhost. It has been a few months since I last did any changes on it and now I want to update to a new Wordpress version. When I try to do so, it says "Installation failed. No working transports found.". I have tried to solve the problem wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does the last factor provide other level values? When I use the gen.factorial function library(AlgDesign) nlevels = c(2, 2, 2) Cand<- gen.factorial(levels = nlevels , factors = 3 ) Cand it will give for the last factor levels in {1, 2}: > Cand X1 X2 X3 1 -1 -1 1 2 1 -1 1 3 -1 1 1 4 ...
{ "language": "it", "url": "https://stackoverflow.com/questions/75556926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Generate rows based on division with remainder What is the best to generate rows based on division and remainer? declare @Total int = 203; declare @Batch int = 100; I did some complicated query with T-SQL but it is not working. Result should be: 100 100 3 A: Assuming the latest version of SQL Server (2022 at the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to share posts from my site to Medium with vue social sharing In my site I have buttons to share posts to different social media, but in "vue-social-sharing" package I can't share my posts to Medium. Please tell me what solution could be I have tried to use link like this: medium: 'https://medium.com/p/import-st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Permission error when running a jar with -Djava.security.policy I'm trying to run a jar using java policy security. I am starting with the java security policy and to do this, I created one simple microservice (named project) and generated its jar (named project.jar) to remove permissions as I go along and get contr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accidentally removed IAM roles for my account in GCP I recently subscribed to GCP , created a trial billing account to explore all GCP services. I had quite experimented with services and when i was playing around with the IAM services , I accidentally deleted my own service role and now I cannot see my project unde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xamarin Media Manager LockScreen Player Display Image I am using Xamarin MediaManager plugin to play videos. When playing a video and assigning a valid image to the MediaItem, the image is not shown on iOS notification player. Ideally what i want is below Expected behavior image What i have tried is var medi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# - Returning Generic Interface Type from function i have 54 Classes (simplified, and anonimized in the example below) with Repos in my C# ASP.NET Core Application that all follow the same structure. So i decided to make a GenericRepository with interface and explicitly for those 54 i made a generic sub repo called...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I want mount hard drive with Linux but I have a problem I get these errors when I want to mount the hard drive : [CRITICAL] None of the provided decryption mean is decrypting the keys. Abort. [CRITICAL] Unable to grab VMK or FVEK. Abort. What's the problem (Linux-mint) I tried to mount hard drive with dislocker but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CORS not working in codeigniter 4 Console Error:Cross-Origin Request Blocked: `Here is my code, I have checked same with Postman getting 200 response public function connect() { header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); //header(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I want to post 'materials' from a Google Sheet to individual students in a Google Classroom Using apps script in Google Sheet I can create a new assignment or 'materials' for all students in a Google Classroom. The materials are generated from a row of cells in Google Sheets. I want to post different materials for d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to perform partial string match in collection using CriteriaBuilder? I have an entity with a collection, such as: @Id private UUID id; @ElementCollection private Set<String> tags; ... And I want to build a query which will basically iterate through all tags and will perform a partial matc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Threshold where false positive and false negative are equal I am trying to solve this problem and have done this so far in R. Wondering if there is a mathematical way to solve it rather than programmatic (using R) Probability of a population having a disease follows normal distribution with mean = 70 , std = 15 Prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle SQL other database use in update or if i use ORACLE SQL and i want to Update a table with conditions. One Condition is that in a other database the table is the value null. But i get the error 'Table, view or sequence reference 'Db2table.MERGE_UNIT_ID' not valid in this context.' For this I create a new table...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my syncronized axios method is falling into error in react javascript? I have a component class calling my service method: const requestLogin = (username, password) => { let response = authService.login(username, password); console.log("test1"); console.log(response); console.log("test2"); } And...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating a multidimensional char array in C I am dealing with an issue about multidimensional char array in C. After a time break it is hard for me for remembering the all. Try to figure out what I am doing the wrong. Platform is Ubuntu 21.10, compiler is gcc, the code is below. Any help I would be much appreciated....
{ "language": "en", "url": "https://stackoverflow.com/questions/75556950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to add a label for each node of a react-force graph I have a working piece of js code which displays a graph but I cannot get a label to be displayed (on/off) when a node gets clicked. Because the label can be long, I also would like to format the label to be written on a number of lines of 20 characters each an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to install pysam When I use conda install, and it succeed.But I enter python to test it, the code is import pysam, it show error, Traceback (most recent call last): File "", line 1, in File "/root/anaconda3/lib/python3.8/site-packages/pysam/init.py", line 5, in from pysam.libchtslib import * ImportError: libht...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Login using Scrapy in pycharm fails I am trying to webscrape using Scrapy in Pycharm, but cannot figure out how to get past the login of this website. let me provide some more info: furthermore, this is the form data: Now, as the only way i know how to login is using the CSRF token usually specified in the form d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modify package dependencies right after installation in python I have been developing my own python package which has been working nicely until Python v3.10. This last Python version only works with numpy>=v1.20. However, starting from numpy v1.20, numpy.int is deprecated. One of the dependencies of my package uses ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select only some columns from a Phonograph2 table in Palantir Foundry Slate My Foundry Slate app has a query to Phonograph2 using Table Search Service, endpoint Search. The Phonograph table has 50+ columns. The functioning query below would get all columns of rows fulfilling the filter condition object_id = the 2 va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sharepoint Automation with C# I have a document repository on Sharepoint where new Excel spreadsheets are deposited daily. I need to create a Windows service that reads this folder where the documents are deposited daily and loads the data from these spreadsheets into my database. My question is: * *How to create ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitHub Workflows - Pull request, get branch name I have a GitHub workflow that is triggered when in a Pull Request a comment is made if: ${{ github.event.comment.body == '/some_comment'}} && ${{ github.event.issue.pull_request }} When the workflow is being executed, the checkout action clones the master branch and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I have an anchor tag in Angular application which has [routerLink] on it, why when right-clicking, browser context menu doesn't have open in new tab? A tag looks like this: <a class="someClass"[routerLink]="[PATH, item.id]" [queryParams]="{category: item.parent.category, childItem:item.parent.childItem}">{{item.pare...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using parent data in Form Actions in SvelteKit Parent's +laytout.server.ts data could be gotten throw parent() method coming from load function. (described in docs) Question: Is it possible to access that data in Form actions? // src/routes/account/+page.server.js /** @type {import('./$types').PageServerLoad} */ ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Coredata Multiple NSMergePolicy Hello my lovely community, I hope everyone doing well. I wonder did you ever find your self in a spot that you need to use multiple Merge Policies in the coredata. Therefore using multiple NSManagedObjectContext. Like in the example below: Lets assume that we have two entities and bo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CDK drag and drop from mat-list to table I am trying to implement the drag and drop functionality between a list/tree and a table. I have seen many examples of drag and drop from list to list and table to table but no examples for my use case. I also need to make sure the items are added below the row they are dropp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server 2016 deadlock issue In one of my production environment, I am seeing deadlocks on daily basis. Please help me out to fix the issue. Enabled traceflag and captured deadlock graph. Tried to understand the graph and I suspect it is causing self blocking, due to which deadlocks are happening. But still not ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: eCharts4r - Axis ticks/text fontSize Is it possible to alter the font size of the y- and x-axis ticks? I have looked through the documentation and can't find anything that works. reprex: library(lubridate) library(echarts4r) df <- data.frame( Date = dmy("01/01/2020","01/02/2020","01/03/2020","01/04/2020","01/06/2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query Rendered Layers I am quite new to webprogramming and mapbox-gl-js so this might be a rather dull question. I am looking for a way to check for the currently rendered layers on the map. I am currently using the "queryRenderedFeatures" function to find all rendered features and afterward I filter them for induvi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Migrate users from postgres to auth0 In database postgresql on heroku I have list users: ~ 5000 users. Model User: among other have fields like: emails_encrypted (hashed), password etc. I want to move this database(only Users) to Auth0 What is the best approach to transfer so that passwords and emails stay the same
{ "language": "en", "url": "https://stackoverflow.com/questions/75556988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: i have a problem booting from network in virtualBox i have set up a DHCP SERVER which running centOS 7 1908, i also have a DHCP Client both the two are virtual machines. i first boot the dhcp server then boot the dhcp client, but the dhcp client doesn't get asigned any ip address from the dhcp server. i have tried r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to tranform my text file into a json file I have a text file : Report_for Reconciliation Execution_of application_1673496470638_0001 Spark_version 2.4.7-amzn-0 Java_version 1.8.0_352 (Amazon.com Inc.) Start_time 2023-01-12 09:45:13.360000 Spark Properties: Job_ID 0 Submission_time 2023-01-12 09:47:20.148000 Run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to send the 'auto.register.schemas':'false' in python producer I'm recieveing the below error when try to produce to the kafka topic. Error connecting to Kafka topic KafkaError{code=_VALUE_SERIALIZATION,val=-161,str="User is denied operation Write on Subject: xxxxx-value (HTTP status code 403, SR code 40301)"} i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use "Remote URL" option in Alloed values options in RUNDECK? I have list of data in remote location at path .... \files\allversions.text and need to read it and push data to "Rundeck" options "List" field , to show on JOB UI. Some one help me, how to implemen this scenario , using the "Remote URL" option or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to connect Parent Component with child Component in React I am trying to filter the cards here according to the City Name. And I think the problem is that I cannot access the state of Child Component within the Parent Component and I cannot seem to resolve the issue import { React, useState, useEffect } from "re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autocomplete Textbox with ip-addresses that are not in SQL Database I'm currently working on an IP-Address-Management. I created an auto-complete function into a textbox that shows ip-addresses that are in my SQL Database. But I want to only show ip-addresses that are NOT in the Database. I want an ip address to be ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: get items in radio buttons I have this html code: <div _ngcontent-ilf-c195="" class="datex-form-field"> <!----> <mat-radio-group _ngcontent-ilf-c195="" role="radiogroup" class="mat-radio-group ng-pristine ng-valid ng-star-inserted ng-touched" id="searchType.toggle"> <mat-radio-button _ngcontent-ilf-c195=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm ERR! Cannot read property '@angular/animations' of undefined pessoal estou com esse problema abaixo, de angular animation, no ci da aws, ja tentei colocar no app.module e nao funciona! poderiam me ajudar por favor? [Container] 2023/02/24 13:02:22 Running command npm ci --verbose npm info it worked if it ends wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show some fix point on a slider in streamlit app Is there a way to show some fix point on a slider in streamlit app? Iv been looking to it a lot but I can not find any documentation or example.
{ "language": "en", "url": "https://stackoverflow.com/questions/75557007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unit Test for method that waits for asynchronous event I want to test functionality inside of a method which waits for an external asynchronous event. Essentially like this: private readonly AutoResetEvent resetEvent = new AutoResetEvent(false); public async Task MyMethod() { await otherComponent.DoSomething();...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to map color to radius for networkx ego_graph I would like my nodes colors to match the distance to the center node. I am using networkx.ego_graph I created a graph of radius = 2 around a node and would like to show the proximity of the neighboring nodes by applying a color. # find node with largest degree from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I configure my topics if want to treat Kafka as a persistent event storage? We're using Apache Kafka together with Strimzi on Kubernetes. If we want to treat Kafka as a persistent event storage (keeping events indefinitely) how would I have to configure my Topics? Is my assumption correct, that if we leave th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to "ignore" a symbolic in a function and do the operation to the number multiplying it? I have the following code: import numpy as np import scipy as sp import sympy as smp import matplotlib.pyplot as plt from scipy.misc import derivative from sympy import Eq,solve from itertools import groupby absulom= 2.844 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75557020", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }