text
string
meta
dict
Q: File name and sheet name from Excel macro I have recorded a macro with few excel operations i performed in two different excel files . After that i saved the macro file (.xlsm). Through c#, i was able to read the macro file and get the recorded macro content. I just want to map the macro content with respective exce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'Checkbutton' object has no attribute 'value' import os import tkinter as tk from ttkthemes import ThemedStyle def callback(event, index): var = event.widget.variable # Get the variable associated with the widget value = var.get() # Get the current value of the variable save_checked_i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Make VS Code ignore files under /var/folders/ When I use the "Go to file..." function in VS Code (command + P on mac), VS Code lists files under the /var/folders/... path. Selecting one of the files under /var/folders/ usually yields "The editor could not be opened because the file was not found.". I'm pretty sure ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cant create .exe with PyInstaller when OpenAI's Whisper is imported I am trying to create a small program that works with OpenAI's Whisper. I then build the Python script to the .exe file using PyInstaller (auto-py-to-exe). When I run the .exe file, I get the following error: Traceback (most recent call last): Fil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: StreamWriter throws "The filename, directory name, or volume label syntax is incorrect" on a path with DateTime Initially I was using just TextWriter iterationLogger = new StreamWriter(Iteration log.txt"); which works fine, but I wanted to add a timestamp to the file and tried this: TextWriter iterationLogger = new ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AWS Step Functions - In-memory variable of custom objects I'm working on a step function on AWS and the function will iterate through several items. For each iteration I need to have a lambda function execute some code and output a custom object. I am thinking of having an array at the top level of the step function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MUI Datagrid 'onFetchRows' does not trigger on page change upon testing, MUI Datagrid's onFetchRows does not fire on page change. Are you experiencing the same thing? Is there a setup I missed? Thanks! I used MUI Datagrid's onFetchRows. It triggers upon mouse scroll but not when I change page.
{ "language": "en", "url": "https://stackoverflow.com/questions/75594656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Three js css3d render pixilated on safari does anyone know why this may be happening, the scene renders fine on everything else. but on safari it looks like this: they are are html divs. i have tried svg background jpeg and png backgrounds. result is still the same A: The reason is that Object3D elements are size...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why would I get a Windows Authentication error when using WindowsIdentity User.Value. The 'Value' property is missing at runtime I am experiencing an issue where I cannot perform an LDAP lookup to find the groups a user is assigned because the (WindowsIdentity)User.Value property is missing at runtime. It's not null...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get a list of subfolder names in the external stage and store them in snowflake? I have an azure external stage @mystage. I have folders in it as below: * *@mystage/nz/atm/INC/2023_02_27 *@mystage/nz/atm/INC/2023_02_28 *@mystage/nz/atm/INC/2023_02_30 *@mystage/nz/drv/INC/2023_02_27 *@mystage/nz/drv/INC/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I pass a next token and last sync value to AWS AppSync? I am using a sync query like below. query MyQuery { syncObjects(limit: 10, nextToken: "123", lastSync: 1111) { items { _deleted id } startedAt nextToken } } If I have a nextToken from a previous call, I pass it along wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TailwindCSS visibility toggle on hover fails only on localhost I'm trying to get TailwindCSS to show a div only when hovering over it. Here is an example that works: https://play.tailwindcss.com/h9qHA6gSVF I've re-created this same example in my project, which has a fairly boilerplate tailwind setup. It works when d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to get status of a script running in EC2 and use that to start aws step function I have a step function that kicks off a python script in EC2. I want to get an output (success or failure) back from EC2 and based on the result start an appropriate step function. What's the best way to do this ? I tried SQS, Even...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How will Kafka manage order of events if 1 Topic and 1 consumer in 1 consumer group but 1 consumer is running on multiple machine Recently I was given a situation: * *Events are being published to 1 Topic *Given we have 1 consumer in 1 consumer group. *In order to keep the pace of produced message and consumeed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to creat forum discussion in WordPress l want to create a QA web site like stack overflow with WordPress l want to create a QA web site like stack overflow with WordPress``
{ "language": "en", "url": "https://stackoverflow.com/questions/75594672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SSRS - Specify chart interval In SSRS, I have a bar chart that looks as follows: Example Image How can I force the chart label to show -10%, 0%, 10%, 20%, etc? Thank you. I tried setting the "LabelInterval" property to various values. For the "Axis Options", enabled "logarithmetic scale" and set value to 10 A: I t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: athena query using aws php sdk I am trying to run a athena query using aws php sdk. However I am getting an empty array as a result. Can someone please point me on what's wrong with my code require '/usr/bin/vendor/autoload.php'; use Aws\Athena\AthenaClient; $options = [ 'version' => 'latest', 'region' =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ways to stream string-data from pc to android wireless I need to stream string-data, acquired from sensors and readed by laptop, to an android device. The chain would be: sensors -> (ethernet cabled) -> laptop -> (wireless) -> android device I need a good wireless signal because it should work on a boat. The communi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: rotating axis titles and adjusting scaling in ggplot2 I made the following graphic in RStudio using ggplot2. Is there a way that I can rotate the axis title "Number of People" so it is horizontal instead of vertical? Also, is there a way I can adjust the spacing of the y-axis ticks so they are more uniform? The spa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Dying and repeating a while loop twice. (ROBLOX) So I'm trying to make a script where every second your leaderstats gains a point but when a player dies/resets their character, they get double the while loop so double the points. I have a feeling it's because the character is being connected twice hence counting the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How Json format should look for this code Map<String, List<String>> correctAnswers = null; try { correctAnswers = objectMapper.readValue(new File("b.json"), objectMapper.getTypeFactory().constructMapType(Map.class, String.class, List.class)); } catch (IOException e) { System.o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to apply transparent background to tkinter window in linux? I want to make some portion of a tkinter window transparent. I have successfully achieved it in windows and mac os using the following methods: In windows: root.attributes("-transparentcolor", '#000001') root.config(bg="#000001") In mac: root.attribute...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to iterate through nested map of JSON in groovy I have below JSON output from AWS DynamoDB and I want to iterate through it and populate the table in Jenkins Parameters through groovy script. Is it possible to do? JSON: [ { "test": { "S": "0" }, "dev": { "S": "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can anyone tell me why my first variable (monthS) is also affected by pop() and remove() I need my variable monthS to stay as I declared it and I created a new list monthS1 where I want to remove the last value inside a while loop. It all works except for my initial variable changing alongside monthS1. >>> monthS = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to deal with micro- or nanoseconds in datetime64? I imported .xls files which appear now as 0 2022-09-27 11:56:22.733740 1 2022-09-27 11:56:22.733940 2 2022-09-27 11:56:22.734140 3 2022-09-27 11:56:22.734340 4 2022-09-27 11:56:22.734540 4995 2022-09-27 11:56:23.732740 4996 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Launch a SHELL script, connect to Splunk and show the results I'm such a noob, with Shell and Splunk, just you to know. I need to launch a shell script in my computer, connect to Splunk and get the results based on a search. The result will be only 1 or 2 numbers, im just trying to get some summary of capacity. This...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React/GraphQL lifting a query up? So there may be some obvious answer I'm unaware of, I'm not overly experienced with GraphQL so apologies in advance if it's a stupid question. Basically, I had a component, within which I grabbed some data from GraphQL, then passed that data to a function that filters the array, the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Index 1 is out of range in java I have written this code for SQL Server connectivity in Java: private void AddActionPerformed(java.awt.event.ActionEvent evt) { String SFDLCaseID = txtSFDLCaseID.getText().trim().toString(); String FIRNo = txtFIRNo.getText().trim().toStr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to config webpack to be able to serve static html file along with react app I'm trying to build a react app with Webpack which reserves some path for HTML static files without importing them into react app, as in the example below. Expected Result: localhost:3000/any/other/path -> load React localhost:3000/test....
{ "language": "en", "url": "https://stackoverflow.com/questions/75594702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Anchor Tag Added to Link is Disabling Accordion-style FAQs We're having an issue where an anchor tag being added to a link by marketing is preventing our accordion style FAQs from opening on a webpage. When a user clicks on one of the questions at the bottom of the page, the accordion doesn't work. Here's the full l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make a onEdit function in Apps Script tab-specific I have a worksheet in which I want to be able to track the time & date of the last modification of the different lines. The code below (very simple) works, but it tracks all changes on the lines in the worksheet, not just from the active tab (which I want to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why not smooth drag and place in Figma? Please help guys! I want the whole thing to get overlapped with the blank white spaces in the background like the one on the left. But it is always going either of the sides:/ Same problem when dragging each one of the trapeziums individually as well. Why does Figma not suppor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: This is the file structure and workflow This is the workflow This is the file structure in github
{ "language": "en", "url": "https://stackoverflow.com/questions/75594709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to fix server responded with a MIME type of "text/plain"? I have a frontend app that is using module federation architecture. It contains one shell application and 3 micro-frontends. I built container for each of these 4 apps. When I run these containers and go to chrome, open my shell it works just fine. I then...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why isn't the timer running when I enter 1000 milliseconds as the interval? I am working on a timer that gives timestamps for every interrupt at any amount of milliseconds the user wants it to shoot off at. struct itimerspec takes seconds and nanoseconds when using: it_interval (a member of the struct) I want to let...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can Google Cloud Build Trigger Substitution Variables exposed publicly? In order to build my NextJS app, my Firebase Private Key is required at build time. Google Cloud Build has a feature called Substituting variable values. I would like to know if there is a risk of someone being able to access this key publicly? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storybook with Actions Angular component I am trying to connect the eventemitter of an Angular button to Storybook actions but the action is not triggering. I can see in the console that the button is being clicked. But its not shwing up in the actions tab in storybook. How do I get the click event to show up in the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JAVA OkHTTP3 Library gives me a 415 HTTP Error I have found a solution to solve this issue. Check the first answer to this topic I've a problem with the library OkHTTP3. I want to join an API endpoint with the library. Firstly, I've created my request with Postman to test the API endpoint. After configuring the UR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Variable using GETUTCDATE() does not not work with DATEADD function Creating mock data and trying to increase record timestamp by 10 senconds for each value however not working just giving me current timestamp for all values recreate table used CREATE TABLE mytable ( sensor_values int, recorded_time datetime...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Button click using combination of text and id Robit framework In robit framework i am doing a button click based on text but i want to add ID also as the page has multiple button with same text path="//button[text()=open] Here i want to add id also what to do ? Tried following but not worked path="//button[text()=o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update a map from mapview in kivymd in a python app I have this python app using kivymd, I create a map and a MDTextField to input a location and it work until that but when I run the app and introduce a new location in the MDTextField the map becomes blue and it doesn't show the new location I need that when...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make UnityMediaPipePlugin interact with 2D objects on the canvas I am working with UnityMediaPipePlugin to make a game similar to Snake. I have a 2D image with a collider and a 2D rigid body, and I'm trying to set a tag on the hands or a landmark in the hands so that I can detect when the player is touching t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IndexError: index out of range in self error while running a pre trained bart model for text summarization I have the following pipeline for text summarization from a pertained bart model: summarizer = pipeline("summarization", model="philschmid/bart-large-cnn-samsum") but I get the following error when I try longer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to hide or move to the bottom or collapse by default headers in default plugin "HTTP Client" in PhpStorm/JetBrains This is how it looks by default: JSON body has the collapse ability while headers do not. I have checked the plugin's docs but don't see any acceptable solution. A: Does not look like it's possibl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Checking which Page is set to Frames content in WPF Application I have a wpf application with a frame (ContentFrame). I want to know how to find out which page is loaded in that frame and do something if it is the ViewDataPage. if(ContentFrame.Content == ViewDataPage) { // Do Something. } I have tried referenci...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Select all columns from one table and count one column from another I have 2 tables. In the first one i store meal,category,area,instructions. column meal is unique. in the second one i store the appearances of meal from search textfield. below are the 2 tables and the desired output. This is what I have tried so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CMD not running all users stated in JMeter thread group I'm trying to run a test of 50,000 concurrent users accessing a webpage in JMeter, however running this in CMD doesn't seem to run the complete 50k users. Instead it completes at around 12k users. I am new to JMeter, so I've tried to keep the test simple with t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Any alternative for '.find()' function in mongoose MongooseError: Model.find() no longer accepts a callback I am getting this error message when I am trying to run a callback function in the .find() method of mongoose. Please suggest any alternative way to perform the operation done by.find() method.
{ "language": "en", "url": "https://stackoverflow.com/questions/75594750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter filtering list in list in list I have three models: Order, Product and IndividualProduct The model Order contains a list of Products List<SingleOrderProduct>? orderProductList. A Product contains a list of IndividualProducts List<SingleOrderIndProduct>? orderIndProductList. I have a list of deliveredOrders (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FIELDQUOTE = '"' not working for DateTime2 field using OPENROWSET I'm using Azure Synapse Analytics to create a view using the following SQL, the data above is from the account table and brought over using Synapse from D365 and its automatically created in Azure Synapse in csv format : CREATE VIEW dbo.Account AS SE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UITextView inside of UITableViewCell text becomes partially invisible when cell offscreen results in bad snapshots I have a UITableView with UITextView inside each cell. I need to take a snapshot of a cell in order to implement custom transition (custom context menu for the cell). The issue is characters appears to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: req.files is null if I pass data inside axios request (reactjs / nodejs) I'm trying to make a user able to change his avatar (profile picture) on my website. I'm using Reactjs with Axios on frontend and Express/Nodejs on backend (middleware: express-fileupload). I need to send the formdata which will contain the ima...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sveltekit send E-Mail with Office 365 Exchange Account using OAuth 2.0 I am looking for a solution sending E-Mails from a Sveltekit Backend using an Office 365 Exchange Account with OAuth 2.0. Auth with Client ID, Client Secret and Tenant ID. Using Goole now for some hours and did not find a working solution, everyt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SIGTERM not intercepted by the handler in NodeJS app I have an extremely simlple shutdown hook in my Node app, however, I do not see it being invoked in debug mode, neither I see the log. process.on('SIGTERM', () => { console.log('SIGTERM signal received.'); }); I am sending a signal with: kill -s SIGTERM <pid> Afte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Minimum number of platforms required for a railway. Where is my logic is failing? The arrival and departure times of trains are provided as arrays. The goal is to find the minimum number of platforms needed to host all the trains. Link to Problem Could you please provide an example test case where my logic fails? My...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How do i disable browser authentication popup in Spring Security I am getting browser authentication popup, when I trying to access swagger page. Spring Boot 3.0.2 browser authentication popup image A: If I correctly understood your question, you need to disable security checking for Swagger. You can manage WebSecu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: TypeError: __init__() missing 1 required positional argument: 'update_queue' i keep getting an error so am not sure how to go about this.this is my first time making a bot import asyncio import nest_asyncio from telegram.ext import Updater, CommandHandler, CallbackContext nest_asyncio.apply() async def start(updat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pythagorean triplet bruteforce algorithm breaks at 969 I have this code written in C to find all possible Pythagorean triplets within a certain number range. The original algorithm I wrote, just nested for loops and if(pow(a, 2) + pow(b, 2) == pow(c, 2)), worked just fine. However, my new, more optimized algorithm, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ITfoxtec and .net6.0 PublishTrimmed produces a NullReferenceException I use ITfoxtec library in order to authenticate with SAML2.0. The project targets .Net6.0 and all was working fine until one of my colleagues decided to activate the PublishTrimmed tag inside the .csproj file. Since then, a NullReferenceException ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am doing data analysis and ran into an error which i have no idea is about what I am analyzing data and i wrote a script which you can see in the image attached. First time it gave an error which i thought is because my first argument in wday function which is started_at is a character and i need to convert it int...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: router.query not loading parameters router.query is not getting data from formData Code, page login.tsx import { useRouter } from 'next/router'; import { useState } from 'react'; export default function MyForm() { const router = useRouter(); const [formData, setFormData] = useState({}); const handleChange = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is Killing Child Process PID Guaranteed Safe After fork()? Consider the following situation: * *I use fork() to create a child process from my program *Parent process receives the PID as 1234. *Child process then calls execvp("myotherprogram", some_args); myotherprogram is expected to run indefinitely until it r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: doesn't show keyboard when clicking on UITextView Xamarin.IOS I have a xamarin project that is initialized through c# code (I deleted the main.storyboard file), initialization occurs in the appDelegate class and SceneDelegate, the project contains tabs. The application starts without errors, all controllers are disp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NotesRichTextItem ConvertToHtml method removed in Domino 12.0.2 - what are the alternatives? I'm working on some legacy HTML-rendered forms containing rich text. It looks as though the NotesRichTextItem ConvertToHTML method has been removed from Domino versions 11 onward. I can do a workaround injecting javascript i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shopify Dawn Theme - Tooltip Pop Up Text when Mouseover I am creating my website and using the Dawn theme, from Shopify. I want to create the effect as seen here (https://www.silkelondon.com/pages/why-it-works) where I have these numbered circles with a small text and when I mouseover the circles a more descriptive ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Angular 14, how do I reference nested child elements in the definition of a parent element? I'm using Angular 14. I want to construct custom components such that a parent tag can have nested child elements. So for example, I'd like to have <app-my-parent> <p>Hello</p> </app-my-parent> but I'd also like to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS Cloudwatch Logs Filter out Chrome User Agent to Show Safari I'm trying to filter out Chrome User Agent in Cloudwatch logs so that I can view the Safari User Agents on their own. I've added a regex to look ahead and ignore the ending if it contains Chrome.... then Safari... and only show the user agents that end ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to create a database with 3 tables and fragments to manage them, am i complicating my life? I'm trying to create a database with 3 tables(cars, customers and interventions), then i wanted to create 3 fragments that let you see everything in the database (with a Recyclerview and an item for each tipe of obj)/ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cache-Control and conditional get I have implemented a REST service and I am using Last-Modified to handle conditional get returning 304 when the resource timestamp is not changed. Does Cache-Control value affect when a get/conditional get is executed ? From some tests I am doing it's not clear. For example setting ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to customize the General Pipelines in the Gitlab CI/CD Settings via code I want to disable all four checkmarks in the General Pipelines in my GitLab project configuration via Python script. In the API Examples I've found nothing to enable/disable in the General pipelines to approach. Is it possible to make any ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: im new to react-native i want to stytle but im getting error i want to style a component in react-native but I'm getting error I have tried all i can but I need more explanation on how to go about this. import React from 'react'; import { TouchableOpacity, Text, StyleSheet } from 'react-native'; export const Rounde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cron user account to set up cron job for Laravel task scheduler I have a laravel app installed on a Digital Ocean Ubuntu server. I know I can create a cron entry by using the following command crontab -e to open a cron file and set up the task scheduler: * * * * * cd /var/www/mylaravelproject && php artisan schedule...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Angular Universal NodeJS production url works, localhost api gives error "Http failure response" I have an Angular 14 application with Universal. The app is running server side on nodejs. My app is fetching api data to fill the html page since I need that for SEO purposes. When my app is running locally with npm run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert array of audio bytes to opus codec I have a program that uses PyAudio to listen to the computer's audio stream from Stereo Mixer and outputs an array of bytes. I found a lot of information on the Internet on how to convert array of audio bytes to .wav codec using the wave library. But I need to save an array...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Efficient query for intersections of shared relationships in Neo4J We have a Neo4J (5.2.0) database containing two types of nodes Topic and Document. Topics and documents are linked by OCCURS_IN relationships (:Topic)-[:OCCURS_IN]->(:Document) and OCCURS_IN_RANDOM_SAMPLE relationships (:Topic)-[:OCCURS_IN_RANDOM_SAM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UIStackView items width issue in iOS 15.0 I have two items inside the stackView, width for both the items(Buttons) depends on the text size with horizontal scroll. In iOS 15.5+ devices its working fine where as in below 15.5 its width stretching for both the items. I have set below stack view properties in Xcode Ali...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Glue Pyspark Convert timestamp string to timestamp I have my timestamp attribute in my Glue Dynamic Dataframe like below and I wanted to overwrite timestamp attribute with casted timestamp datatype. dyf.show() {"timestamp": "2023-02-07 23:59:59,947 +0000", "endpoint": "search"} After im applying a mapper like below...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: time between move decreases whit unity WaitForSeconds I am trying to move a block -1 on the x axis and have delay in between moves public class setmove : MonoBehaviour { Transform trans private void Start() { trans = GetComponet<Transform>(); } private void Update() { if(trans.position.x != -15 { StartCoroutine(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alexa Smart Home Skill multiple BrightnessController interface instances If I want to develop an Alexa Smart Home Skill for a device (single endpoint) which has two different dimmable lights, what is the right way to model it? It looks like the Alexa.BrightnessController interface does not support multiple instances...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delphi Android Service in Foreground I have an app with a regular service that I call with StartService(). In the OnStartCommand event of the Service, I call the following procedure to send it to the Foreground. However, doing so causes the app to crash and become unresponsive. Maybe I'm skipping some steps? procedu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Aws Glue: AnalysisException: Column value#1260 are ambiguous I am trying to join two data frames in aws glue v4.0 with multiple conditions. Getting below error. The below code worked on v2.0 Here is join that i am performing p_df = p_df.alias("p").join(c_map.alias("m"), (p_df.source == c_map.id) & (p_df.p_code == c_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing Web APi endpoint route from within endpoint So I have a web api created with .net6, with an endpoint like: [HttpGet] [Route("~/api/controller/action/{parameter}")] public async Task<ActionResult<ActionResponse>> GetValue(int parameterId) { ... } Is it possible to get the value of the route of the endp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to have a string thats constantly changing change into a set word one letter at a time The label is printing a 5 letter word, consisting of random letters, every 10,000th of a second it changes creating a constanly changing random bunch of letters. I want to be able to make each index of the word(which is random...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I add a list to my Entity Data Model? I've created an Entity and I need an entry which lists multiple sizes, i.e. L, M, X, W, that i can later map through from my client to display available sizes. My data model: namespace API.Entities { public class Product { public int Id { get; set; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I read in a string from a specific word until another word? I have a string and I want to read from begin until end. string s = "some text \n begin \n text, text, text \n end , some other text";//output // should be \n text, text, text \n I have tried using regex, but the one I used doesn't work. std::rege...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change order status on Frontend Woocommerce I want to build a page on wordpress that displays the shortcode [my_plugin_order_details] that performs the functions that I have written down. Functions include: * *Display order code search box *When the administrator enters the order code and presses submit (Search),...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to get a SQL query to retrieve data by month instead of by day I have a SQL query: Select * from random_table where dt >= date('12/1/2022') The problem with this is its giving me daily data. Can I adjust this code and add date_trunc to aggregate by month, if so, how would i do that? I haven't tried anything ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Crash when locking screen orientation in SwiftUI iOS1.0 My SwiftUI app needs to lock some views into Landscape and others into Portrait, so I was using the popular UIDevice.current.setValue() technique from this question and others. I was really happy with this solution but now it seems to be crashing our app on cer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter: How do I create a widget that contains distinct instances of a list I'll try my best to explain my problem, but the phrasing is difficult as you can tell from the title. I have a list, todayExercises, that is edited by each instance of the widget DayExercisePage, rather than the widget editing each instance...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Slides won't print background JPG I have a google slides presentation I'm using to send to my team to use as a template to print menu cards. I made a custom layout and inserted a JPG from Illustrator and trim marks (both in the layout) and then wrote on each slide with a text box on the slide editing page (no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Power BI - use managed identity to get data from Azure SQL database I have a simple scenario where I have an Azure SQL Database and I want to use the data from the DB in a Power BI report. The DB server has only Azure AD authentication enabled. So far I managed to create and refresh the dataset by using my own crede...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Including multiple of the same ad unit on a single page We're looking to increase the number of available impressions on each page on our site and rather than create a ton of ad units, I was under the impression I could simply include the same ad unit as many times as I want, but most are returning completely empty ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I sort an array of Ruby on Rails Active Record objects by the end date when end data is sometimes nil? I have a Foo model. It has many attributes. One attribute is :end_date and another is :start_date. Sometimes end date value is nil. I want to sort this array by the end_date then start_date in descending ord...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retry Mechanism Using Axios in NestJS I'm using a 3rd party API to fetch some data and do some stuff in my NestJS application, and sometimes the API throws a 400 Bad Request error, so in that case, I only want to retry my call again after 1 second. So what's the most efficient way of doing this? service.ts async fet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read SSH stdout via Paramiko behave different between REPL and script When I'm in the Python shell (REPL?) I'm able to create a connection read from stdout of the SSH server. But when I run the same code as a script (via python3 -i script.py) it is not working. On the server side is a text-based MUD running. After l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Whitelabel Error Page i am getting error 404 on springboot app running Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Feb 28 21:41:10 IST 2023 There was an unexpected error (type=Not Found, status=404). No message available tried to run api but ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Failed to use "defaults write com.apple.screencapture location" command to set up default folder to save screenshot I failed to use the following terminal command to set up default folder to save screenshots on my M2 MacBook Air. Any one faced with the same problem? defaults write com.apple.screencapture location ~/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replace Arraylist with everything except for numbers in Java I have a Arraylist, like this: ArrayList<String> moisturizersPrices = [Price: Rs. 365, Price: Rs. 299, Price: Rs. 12, Price: 220, Price: 95, Price: 216] for that I am using following logic: moisturizersPrices.replaceAll("[^0-9.]", "") and it is returning...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parquet Null logical type I am trying to understand the Null logical type in Parquet. I have read the documentation, from which I have learned that the Null logical type can annotate any primitive type. Indeed, I can create a Parquet table with a column that has been designated as a Null logical, which annotates a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Navigate from HOC in next.js using Router in NextJs I am creating an HOC for the purpose of authentication protection, I have a layout component which I want to wrap inside of the HOC, the HOC is expected to redirector navigate the user to login when he/she tries to access the pages under the said layout, however, I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75594838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }