text
string
meta
dict
Q: Device provisioning vs Device Commissioning I would like to understand the key aspects of Device provisioning vs Commissioning in Cloud computing. Could someone please elaborate in simple language to understand difference of what device provisioning refers to and what does Commissioning refers to with respect to IOT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to classify Whql traffic on Windows I am running into issues with the OffloadChecksum test in the WHQL test. I want to be able to classify that traffic on the NIC so I can monitor stats etc. Is there a way to distinguish WHQL traffic, e.g. via specific UDP ports or application-layer protocol identification?
{ "language": "en", "url": "https://stackoverflow.com/questions/75621177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: can you recommend any responsive design guideline docs and/or tools for use as standards in a dev org? I've been asked to provide some guidance in regards to standards for the dev org. Part of that will involve responsive design guidelines/standards. I have a little bit of responsive design implementation experien...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Smart Contract Invalid Signature Solidity I am trying to execute the lending call function from this Smart Contract. The following code is JavaScript using Ethers.js to make the integration with the Smart Contract. const contractAddress = "0x1C4E9F87c7F2bCd80c89A1999d776461d41545b9"; const provider = new ethers.pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix github pages output directory error? I have really tried everything to make a Github website and failed, so I'm asking for help from stack overflow. I've set my working directory to the folder "docs" to my github website page, which won't work despite the docs folder appearing in my local Rstudio and bein...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I write a regex search for SQL statements missing a table schema in VS Code? I'm trying to use visual studio code to search our code base for SQL statements table declarations are missing the schema using a regex expression. So far I've got this (from|inner join|left join)((\s|\r|\r\n)*)(dbo|sys) which sele...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to view jsp object keys in AEM I'm working with a jsp (Java servlet page) file in AEM (Adobe Experience Manager) using the CRXDE IDE and I have received an object from a Java database API called pciList. This looks like: pciList = dbHelper.executeQuery(personnelContactInformation.getDataSource(), personnelContac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unit test - call getters on any instance of the class will return something In the following code (I have also explained in the comments what is the issue). Basically I am trying to say on any instance of this class, when getReading() is called, then return something. But the given().willReturn() only works on the i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ckeditor 5 + angular , Set cursor position at end of content after paste export function configurePaste(editor: any) { editor.plugins.get( 'ClipboardPipeline' ).on( 'contentInsertion', ( evt:any, data:any ) => { setTimeout(() => { const r = strip_tags(editor.getData()); editor.setData(r);...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display an image that is stored in a database with React and Supabase? Good day, community. I am developing a registration module with React and Suspabase. I have a form where the user selects an image and it is saved correctly in a supabase bucket. Now I want to make the image show to the user once it is sav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab CI Docker shell command results in permissions denied as root I'm running maven-3-openjdk-17 as docker ci in Gitlab. When I try to create a file in the root folder I get "permisions denied" but this doesn't make sense since I'm already root. Here's a short test: $ whoami root $ pwd /builds/sd/... $ ls -ahl /r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDB with mongoose: can't prevent duplicates I have spent at least six hours of today trying to solve a seemingly easy problem. I am trying to either add or update an object that is in an array of subdocuments, based on the value of a field price_level. Here is my schema: import mongoose, { Schema } from 'mongoos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to ignore distance when rendering a GeoSpatial anchor with ARCore I have followed this tutorial here for creating an android app that shows geospatial anchors using arcore. I completed that successfully. But when I try tapping a location farther away, the resulting image on the screen is smaller (or bigger) depe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I force this JScrollPane to scroll through my JPanel without going off screen? I've been trying to fit my JPanel inside a JScrollPane for a JavaSwing application I've been steadily working on as part of my attempt to learn JavaSwing. However, the JScrollPane appears to be extending offscreen vertically, and I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Odoo Customer Peppol EndpointID in Peppol BIS Billing 3.0 We need to generate e-invoices in Odoo that comply with the Peppol BIS Billing 3.0 standard that is used in Luxembourg for e-factoration. When we activate the Peppol BIS Billing 3.0 Protocol under Accounting > Configuration > Journals > Customer Invoices we...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it Yocto project is good for Headless embedded devices? I am familiar with the Yocto project on the application level but now I am going to choose Yocto Project for my embedded device which will not have a screen or GUI interface stage. I am not sure how effective the Yocto Project is for headless embedded device...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Finding MxN matrices with a non-zero values within a "large" matrix (MATLAB) Would you have any suggestions of finding M x N matrices in the original matrix using MATLAB that have non-zero values and also more than one row and column (M > 1 & N > 1). Example: Main matrix: 0 10 1 4 0 6 0 17 16 0 18 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android clipboard popup window is too large This is my first question, so I hope I didn't miss anything :) In my project I encounter this issue: when I try to use an Android clipboard it appears with really big padding. I know that in API 33 Android added a new clipboard, so I also tried it on API level 30 - still t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: @capacitor-community/sqlite: Error: Query failed: SelectSQL: queryAll: no such table: sqlite_sequence when intializing app (web mode) Update: So I am carefully comparing the working github starter with mine now, and I found the exact first line of code where the two states of our programs differ about databases: in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ApexChart chartOptions not updating in Vue3 Composition API I am unable to reactively update ApexCharts using the Vue 3 Composition API. I have been going around in circles. I can update the options and they will write to the div in the example below when you click the button, but the ApexChart does not update. I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is best transcoder to build with for RHEL8? Is anyone out there using a Red Hat Linux 8 Xerces-c 3.2 version? If so what transcoder is optimum? I'm having transcoding issue with Xerces 3.2. I am having callbacks fire but the startElement () localname is coming back empty on the callback. I've set locale & even ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: [Error: useNavigate() may be used only in the context of a component.] During testing I have this error: console.error Error: Uncaught [Error: useNavigate() may be used only in the context of a <Router> component.] I was looking for solutions and everyone said to use BrowserRouter - I use it, but the error still o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create two applications in adonis js to consume the same session? The two applications stop not seeing each other with redis because the session is created every time I run the function and is not saved in app2 I tested two applications in adonis js with redis I made the connection in both applications wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AttributeError: 'DevicesTable' object has no attribute '_columns'" I am trying to create a class that inherits from the Table class as follows: import os from sqlalchemy import Column, DateTime, Integer, MetaData, String, Table, Text class DevicesTable(Table): _name = 'devices' def __init__(self): T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a minimum LoopPeriod for for the Extents Merge Policy? I'm experimenting with table partitions based on data timestamp, which creates a lot of extents. I've tried setting LoopPeriod to 1 minute, to observe the cluster behavior, but it seems to have a 10 minute minimum. Is that right? 10 minutes is the minim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I elaborate a Geometru Column if already have longitude and latitudes? I have a database which can be extract to csv file and wanna to manipulate this data in Python (using geopandas) with the objetive to create a Geometry column using this data (as example) as MULTYPOLIGON. [{"lng":-56.68474941253663,"lat":...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to start new instance of running of the concrete firebase function after the previous one finished? We have a firebase function that is triggered on .onWrite event. When several users begin running this function, it creates wrong behavior. One instance of the function doesn't complete and another starts, as a re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Group by month on blended data in Looker Studio Within Looker Studio, I'm trying to blend data from two different sources of data. The first source is Google Ads and the other source is a Google Spreadsheet. The join condition is based on the date, which seems to work. Meaning, it presents the data from both sources...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Increase number of nodes defining polygon for correct projection I have an issue when making a map with R using sf. I need to use a LAEA projection (CRS 3035), but one of my horizontal line is straight whereas it should be curved (the one in the middle): I understand that the issue comes from the way I have created...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Static files not appearing when going live django project I have the correct settings to get static files live, but no static files work even though I do collectstatic My Settings.py: `STATIC_URL = '/static/' MEDIA_URL = '/media/' STATIC_ROOT = os.path.join(BASE_DIR,'staticfiles/') MEDIA_ROOT = os.path.join(BASE_DIR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to "properly" impersonate a user (identityserver4) Hi guys I have a requeriment where a user with an admin claim wants to impersonate any user in our application public async Task CreateImpersonateAsync(Guid userId) { await _signInManager.SignOutAsync(); var user = await _userRepository.G...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CKEditor is not showing in Laravel 9 with Vite + Vue3 Project After installing CKEditor5 alongside other necessary packages, I configure my vite.config.js based on this document. import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; import vue from '@vitejs/plugin-vue'; import ckeditor5 fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I continuous update the state of my basic flutter app? I'm trying create a basic app that recognizes speech and writes it on the screen. Here's how I want it to work: There will be a button on the screen, and I will press that button only once to 'turn on' the microphone. After that, the app will recognize w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to put multiple cols into long format base on suffix of variable names I have wide df with multiple measurements. I would like to change wide to long. How should I do this. I know how to do 2 cols, but not multiples. Could someone guide me on this? Input on the top, and ideal output on the bottom: df<-structur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve an overdetermined non linear set of equations numerically in python? I am trying to solve a system of 4 exponential equations with two variables. However If I use fsolve python will only allow me two use as many equations as I have variables. But as I have infinitely many pairs of solutions (if only two...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically update config in ASP.NET Core 5 application I have an application running on .NET 5. We have a configuration file which looks like this { "Config1" : { "k1" : "v1", "k2" : "v2" ........... }, "Config2" : { "k3" : "v3", "k4" : "v4" } } Using a singleton object to load ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Re-use CodeBuild instance in CodePipeline I'm working with AWS CodePipelines and CodeBuild (through the CodeBuildAction construct). Within my pipeline, I have multiple stages each with N number of actions. I end up having multiple CodeBuild instances across all my stages. This ends up making the pipeline take much l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why error LNK2005 appears when linking 2 cpp files including /boost/phoenix/stl.hpp? I do not understand how to get rid of LNK2005 error when building a program in MSVC 2019 which uses boost 1.80 spirit. I tried to play with several examples from spirit qi. The problem appears in 2 cpp files. I reduced to the minimu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: elasticsearch.exceptions.RequestError: RequestError(400, 'parsing_exception', 'request does not support [_source]') I have this query: range_query = { "query": { "bool": { "must": [ { "match": { "type": DEFAUL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Graphql : issue constructing query on array of objects This is my data stored in MongoDB: { "experience":{ "pastProjects":[ { "1":[ { "title":"One" } ] }, { "2":[ { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Memory leak in UIDeviceWhiteColor Any idea how to trace a memory leak in UIDeviceWhiteColor as per the profiler? Ideally it would be great to point to the code. I have a break on every instance of anything with white in it and no luck.
{ "language": "en", "url": "https://stackoverflow.com/questions/75621256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add dynamically an extern javascript button ansyer inside a php loop I try to add a button close to inputfield via an injections script. This button is in relation with ajax php and must fill an inputfield If I include my javascript inside my file, I have no problem. But how to do that with an external javasc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible for a function to return rows in some cases and a scalar value in other cases? I was recently posed a problem by a student based on assignment instructions they'd gotten elsewhere, and I don't think the requested result is possible. Perhaps the question was poorly worded. See what you think..... The i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to position a list marker to the top instead of baseline? I have an LI that contains only an image, set to around 100px tall. I have alphabetic markers on this list, but they are positioned at the base of the image, near the bottom left corner; can I position them straight above that, near the top left corner, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return a string as a response header with a text file attachment as different encoding types I am trying to write a method that when a link button is clicked, it downloads a .txt file. I have a dropdown that has two options, utf-8 (default) and utf-16. What I need is for the file to be saved as utf-16 when it is sel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SYCL dot product code gives wrong results In the process of learning SYCL/DPC++, I wrote a SYCL GPU-enabled dot product code (full code on GitHub). #include <iostream> #include <sstream> #include <cmath> #include <CL/sycl.hpp> int main (int argc, char* argv[]) { unsigned long N; /* snip */ // Select GPU de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Runbook: using Set-CsUserCallingSettings throws "The stream was already consumed. It cannot be read again" I am trying to use Azure RunBook with PowerShell to manage the call forwarding status for Teams users. I use an Azure app that has (I believe) all required Graph API permissions: And is also set as Teams...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to specify an class NOT to select with BeautifulSoup 4 I am currently working on a web-scraping project that extracts links out of an article and I want to be able to specify the search to just the main body of text, but am running into trouble with false-positives on the navigational links at the bottom. I know...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Content-Security-Policy settings when using built in Azure App Service Authentication (Easy Auth) I have a Blazor Server app deployed to an Azure App Service using the built in authentication feature. Traffic comes in via Azure Front Door, and a Content-Security-Policy is set (by the front door service) using an Ove...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: solving system of non linear equations with symbols in MATLAB I'm having trouble solving a non-linear system of equations for three unknowns when they all equal zero. Below is the system of equations: [thrust + (1372026816786920195775*conj(alpha))/72057594037927936 - (1376539794479570331075*conj(del_e))/461168601842...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Simple BigQuery LEFT JOIN doesn't retain rows on left I have a very simple query that's not bringing back what I expect. SELECT DISTINCT P.name AS `plantName`, P.sku AS `plantSku`, FROM `wow-plants-for-sale.ds1.Plants` AS P JOIN `wow-plants-for-sale.ds1.PlantDescriptions` AS D ON P.sku = D.sku LEFT JOIN `...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to correctly use intl-collator npm package I need to sort an array of JSON strings for an app. This could be either an array of numbers or an array of letters which may include special characters, so from what I've read, Intl.collator() is my only option (or at least, seems the fastest & most efficient). I've ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: SSMS connection to the server drops out frequently Not sure if it is the right spot for this question. I use SSMS connecting to a server (always on), then connects to the testing database – it sits in the same server where hosts production database. The problem I have been having lately is the connection gets droppe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly manage Windows Execution Policy I generally dont worry myself with security policies on my local machine. So for scripts that run locally, I usually set the windows execution policy to something really permissive. With my new machine, I wanted to know if there is an actual way I should handle execu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Specific AWS Feature Store Policy for Online Store I am able to successfully call get_record function from lambda code seen here FeatureGroupName=transaction_feature_group_name, RecordIdentifierValueAsString=transaction_id) this works when using the AmazonSageMakerFullAccess role. I am however trying to ide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to specify maven settings.xml for a docker container I use maven to build my project. I am now creating a docker container for this project, and I want the project to be built by the container (multi-step). However, I have a custom settings.xml file that I need to copy over to the container. I first copied th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Protobuf NUL-framing Common practice for using protobufs over the wire, including by gRPC, is to length prefix protobuf messages into frames (e.g. like this) so that the decoder knows when one message stops and the next starts. This seems unnecessary. According to the spec, a protobuf message is comprised of a seque...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Do I need antiforgery in ASP.Web API using Bearer Auth and 3rd party SSO? I'm working on a Web API project, which uses JWT token and Bearer Auth for Authentication. The token is supplied to the front-end page from a third party SSO, stored in the session storage, and added to the Authorization header of the requests...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can pass around the primary key of saved value representing the request using connect? I am using connect and node's http request in order to log incoming requests into my application: const http = require('node:http'); const connect = require('connect'); const sqlite3 = require('better-sqlite3'); var db = sq...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PXDBTimeAttribute How to change minute steps in selector version 21 R2 I have a DateTime field that is adorned with the PXDBTime attribute in order to allow the user to select a time during the day. I have the attribute set up like this: [PXDBTime(DisplayMask = "t", UseTimeZone = false)] This results is a selector...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL - Pivot Data/Combine Values I have the following table in SQL I would like to create a new table that combines the values of FemaleID and MaleID into one column FemaleMale, while bringing in the corresponding columns as well. Here would be the expected final output. SELECT FemaleID AS FemaleMale, Stage, Season...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to iterate a json array in karate? No able to iterate karate request with each value of array I am getting a json array in response and want to store that in array variable and iterate my next api request with each values as path parameter in karate. any probable solution available in karate for this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75621311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Animated GIF spotlight map I'm trying to use a water caustic gif as a gobo for a threejs pointlight. Currently the gif is only showing the first frame. I tried to modify Sophia98's answer for animating textures, but haven't been able to make it work: function Sprite({ textureSrc, IconPosition, IconSize }) { cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking to create a simple for loop that allows the user to use the TAB key on dropdown menu items Looking for help on creating a simple FOR Loop that allows the user to use the TAB key on dropdown menu items. For accessibility purposes. At the moment, the user can use the tab key, but it will only enable the first ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nuxt 3 - how can I dynamically reference assets? In my code I am creating a script block and adding it to the body like this: var script = document.createElement("script"); script.type = "text/javascript"; script.src = '/_nuxt/C:/SourceCode/__Projects/website/src/nuxt-POC/website-project/assets/common/js/myfile-sdk....
{ "language": "en", "url": "https://stackoverflow.com/questions/75621316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: visNetwork reduce space between clusters I have a directed visNetwork() graph that looks like this: As you can see the two clusters are so far apart the zoom is way to far out and its unreadable. I'm doing my best to try and use visHierarchicalLayout(), visPhysics() and visEdges() to change it, but it is frustratin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sum Array Exercise Heyy guys, I'm struggling with one of Colt's javascript exercises. Does someone know how to solve this? Thank you :) Write a function called sumArray which accepts a single argument: an array of numbers. It should return the sum of all the numbers in the array. sumArray([1,2,3]) // 6 sumArray([2,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Tippy is not showing up in rmarkdown using the pagedown output I am trying to use the tippy package in rmarkdown using the pagedown output, but it's not working. It works fine when using the regular html page output though. I suspect the issue is that the necessary javascript libraries aren't being loaded when usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plotting the same line with 2 different line types on ggolot2 I would like to use 2 line types for the 2 parts of the line: for example, dashed line from Dark to Dim, solid line from Dim to Ambient. Is there a way to do that? Thanks a lot! Here is my current code: df <- ggplot(aes(y=Expression, x=Treatment, group=FS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Excel VBA to change Clustered Column Chart I've coded the creation of a Clustered Column chart using VBA but need to set its style. I can manually change the chart style by selecting from 2 variations of Clustered Column charts via the "Chart Design" -> "Change Chart Type" -> "Column" charts -> "Clustered Column" ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I re-integrate one branch merge that got caught up in a large git revert? So lets say we have branches (from oldest to newest) First, Second, OG, Fourth, Fifth These were all branched from, and then merged back into the Working branch in various order. At some point recently, the range from newest (Fifth) to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mobx with GroupedListView, truble with access data Flutter everything good? I'm having trouble receiving data from an async function I have a screen that displays a list of accounts (tiles): it happens that when he calls the getCatogoryName function (before I was trying to use it in initState) he changes the isLoadi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I run Google Chrome in a single browser tab? I am using this really weird browser that only allows one tab at a time and no address bar. I want to run something like Google Chrome, but I cannot download it. Is there a way to run a Chrome browser inside a single browser tab? So far the only solution I have fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Compiled Typescript files from gRPC proto files mark every property as optional I have a bunch of proto files that I compiled to Typescript with the following script: yarn proto-loader-gen-types \ --grpcLib=@grpc/grpc-js \ --outDir=${OUT_DIR} \ ${IN_DIR}/*.proto One of the messages defined is Bool: mess...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Strapi as a backend for apps I searched for this high and low and found no satisfactory answer. I feel that Strapi is used more as a CMS rather than a backend for web and mobile apps. As I understand it a CMS manages content in any form. Great. But it seems that Strapi stops there. Namely that Strapi does not have c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: GKE Workload Identity binding to IAM very slow (~1 min) I'm using Workload Identity with GKE so that a namespaced pod can get access to a GCP resource. I noticed that it takes ~1 min for the binding between IAM and GKE accounts to take place which is way too slow for my application. curl -H "Metadata-Flavor: Google"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to build a library with my code base. But it has files in both javascript and python. The library must be usable by Javascript I want to build a library with my code base. But it has files in both javascript and python. The library must be usable by Javascript. I don't know how to build libraries in the first...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get an AWS Neptune gremlin query to filter by pricing_id I have a working query using gremlin_python that looks like the following (simplified to focus on the issue) client.graph.V().as_('origin') \ .outE().as_('p1r1') \ .inV().as_('midpoint') \ .outE().has('pricing_id', select('p1r1')...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scala : Is there a more concise way to compose the following higher kind method? UserRepository trait has two methods isRegistered and insert. trait UserRepository[F[_]] { def insert(user: domain.User): F[Long] def isRegistered(user: domain.User): F[Boolean] } Boundary class is the boundary of the core applicat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Core Bluetooth Classic in MAUI I need to connect to some classic Bluetooth devices (BT version 2), in a Maui application. On Android everything already works well, the problematic part is the iOS application. Unfortunately the devices I need to connect to are not certified by the MFI program, so I can connect to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you make a radio button value immediately show on click? function displayRadioValue() { var ele = document.getElementsByName('font'); for (i = 0; i < ele.length; i++) { if (ele[i].checked) document.getElementById("invText").innerHTML = font = ele[i].value; } document.getElementById("radioB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I fix this merge sort visualization so it animates correctly like the other sorts? I'm working on a sorting algorithm visualizer and I have four out of five sorts completed, but merge sort is proving to be a challenge. The general framework I'm using is to run sorting functions synchronously on the stateful v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why am I not getting a returned player stats? I am trying to create a function that loops through the players and gets a player's stats. However, I am never receiving the stats back. Here is the code: queue = [] player_list = {} def update_stats(): os.system("cls") for player in queue: url = f'https...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bibliometrix Package looking for a ```colname``` that doesn't exist? I'm running the conceptualStructure command using the bibliometrix package in R and sometimes I get an error error in colnames(CW) : object "CW' not found. This command leads to the error. > CS <- conceptualStructure(M,field="AU", method="CA", minD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Facing an error while running vscode extension sample: "Cannot find module 'vscode'" I am trying to run one of the vscode extension samples from here. When I run using the below command, I get error that vscode is not found. However, vscode is present in node_modules and @types/vscode is specified in package.json. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XML TO XLS - output text file with adding header for each column Hi I have the following code working to get output in .txt file. But now need to add header for each column. How do I add header? <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fix bar graph made with matplotlib So, I would like to make a chart where on the X axis I have the families and on the Y axis the number of times each family appears within my dataset. I imported the dataset using the pandas library and using the matplotlib library I tried to make this chart, but it came out with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java AWS STS get Authorization Header and Vault I am attempting to get the Authorization header needed so I can pass that off to vault to get a vault token. The issue I am seeing is after calling getCallerIdentityRequest the Authorization header is missing. Code: AWSSecurityTokenService sts_client = AWSSecurityToken...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Processing non-standard HTTP response in Chomium based browsers using JavaScript I'm trying to get audio stream data from IP camera using JavaScript fetch API. The problem is that on standard http request this IP camera responses with audio data without any HTTP header. Check this my another question for details wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: make a datastore to save state of object I did a localscript inside a programmed gui so that when I touch a block the gui appears,and the block is destroyed to the gui does not appear again, but I wanted the block to remain destroyed even when I leave the game and enter again I tried to do several datastorage, but n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get a array item inside array item I've got a doubt about array manipulations. I've two arrays and I need to get an item inside the second array that contains the item from the first array if exists. However, I'm using the .some() and the .includes() and the code returns only the string from the second array, but I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: why can't I return NULL? I'm a beginner trying to learn dynamic memory allocation in c. I'm trying to return NULL if text doesn't have anything in it, if it has something in it I want to return the text. char* check_for_NULL(const char *text){ if(text == NULL){ return NULL; } ... } (the rest of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove all - at every end of lines in text file with cyrillic text I have a .txt file with cyrillic text where a lot of lines end with a short hyphen (-). I want these removed, but without removing the hyphens anywhere else in the file. Have made this thus far, where my idea is to line by line in file f1 copy the te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Memory leak using Flask / gevent on a simple case I am trying to fix a memory leak on a Flask API that makes our server running out of memory on a regular basis. I initially thought that it was related to some complex processing in the code I am debugging. But I actually observed the same phenomenon on a very simple...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621381", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I speed up a Bitbucket/git fork I am working on a gigantic un-modularized C++ project with zillions of files (and branches), some going back as far as the 2000s, backed by BitBucket. One of the problems is the slow git: refresh of any kind in the online BitBucket is slow, as any push/fetch operation locally....
{ "language": "en", "url": "https://stackoverflow.com/questions/75621385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a DELETE request with body message with aws_cloudwatch_event_api_destination I have an API I want invoke via a DELETE request with a body message containing a little JSON payload, but how can I do this using the aws_cloudwatch_event_api_destination resource? My resource looks like this: resource "aws_clo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Neural Network: KL divergence + autoencoder I cannot understand the optimization part of this article: optimization I understand that, for the backpropagation, I shall do: first_equation second_equation where definition What shall be done with the derivatives with respect to the mean (centroids)? And how to update t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Godot: Strange boolean values In this script: func _process(delta): print(player_city.stats["has_battlemech"]) if has_it: player_city.stats["has_battlemech"] = true if not has_it: player_city.stats["has_battlemech"] = false I determine whether or not the player "has" the battlemech. This...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Template function deducing return type I am trying to create a simple template function which takes a callable object and a couple of int values as parameters to that callable, and returns the result of invoking the callable with those values. How do I get the function to figure out the return value's type, and also...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Bigquery: "User does not have bigquery.jobs.create permission" with roles/bigquery.admin Background: I have been developing a backend for the last few days and would like to push some analytic data to Bigquerry using a cloud function triggered by Firestore. I am using Terraform for the deployment. Problem: The pytho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75621399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }