text
string
meta
dict
Q: Hello can someone help me with making an algorithm that can solve Pokemon Ice Puzzles in unity :) Hello I am a student for a game programming course, I am very new to coding without any experience from the past and we have an assignment where we have to make an algorithm that can solve a puzzle or problem of our cho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: is thare any plugin in wordpress which offers login users of different type? I want to create a login/register form in wordpress with login users of different type, each user must login and should be redirected to the page i want ? is there any plugin which helps me out with this.
{ "language": "en", "url": "https://stackoverflow.com/questions/75567873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find id device for netvox device type R311a In the manual http://www.netvox.com.tw/um/r311a/r311ausermanual.pdf part5, I can't find how to retrieve the device id in my frame, I just find the device type, does anyone know how to retrieve it?
{ "language": "en", "url": "https://stackoverflow.com/questions/75567883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Beginner Question in PostgreSQL concerning LIKE command I just started learning SQL today and was wondering if I can create a Data Output that includes Titles that starts with S and T together using the Like command? Here is my query: select title, length, replacement_cost from film where title like 'S%' and 'T%' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error with oracle connection: ORA-01882: timezone region not found I need to access an external Oracle (9i) database (using vpn) from a spring boot application (using windows). When I run my application I get this error: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PySpark how to get the values from Struct and a map data type This is my pySpark code. I am not able to explode the data and get the value of address in separate column. In the map the value is a mix of bigint and struct type , how to handle this? from pyspark.sql.functions import col data = [("Alice", {"age": 25, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Edit headers table generated with matplotlib I want to change the text color and background color of headers. I have the following code : # Create the figure fig, ax = plt.subplots() # Define the colors #'#1f77b4' - azul estrano, '#ff7f0e' - Laranja, '#808080' # https://www.crispedge.com/faq/what-is-the-color-code-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deployment error: "Type error: Property 'lineItems' does not exist on type 'Cart'." Next.js When I try to deploy my code in Vercel or Netlify, I get this error : 12 | const { checkout, quantity, updateLineItems, removeLineItems } = React.useContext(StoreContext); 13 | let cartTotal = 0 > 14 | checkout.line...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Changing the size of a window in Windows Forms gives "Should have two or more class paths." error Yesterday, I started getting the "Should have two or more class parts." error when I adjust my UI through the Windows Forms Designer. This is on an established application. I then created a quick Win Forms application...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Chaining loc and update not working, why? I want to update a column A in dataframe df using data from column B in dataframe df2 but only rows that have 0 in column C. I am trying the following, but it does not change the values in df df.loc[df["C"]==0,"A"].update(df2["B"]) how to correct this line? A: I found the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run aws cli inside docker container running on ec2 instance that has attached to ec2 read iam policy? I'm working on a project where I've to use aws cli inside a docker container. Now my host ec2 instance is running on Ubuntu 22 and is attached to iam role that allow read access to all resources of ec2 servic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Decode JSON one time and shows data Well, from the beginning. I have a link to the API from which I download data to the website: <?php $api = file_get_contents('LINK DO API'); $decoded_json = json_decode($api, true); $data = $decoded_json['data']; $dane = $data['temp_and_humidity_ch3']['temperature']; { echo $...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to toggle menu bar popover from a method outside of AppDelegate in Swift? I am new to Swift UI and currently working on a menu bar app for MacOS. I created a AppDelegate in which there is a method which toggles the menu bar popover when the icon in the menu bar is clicked - This is all working perfectly. Now I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i duplicate a KinematicBody2D in Godot? (C#) I'm trying to make a game where a player has to dodge constantly incoming, enemies. So I figured out that instead of just creating many many bodies, I could just duplicate them in a certain rate, and change the position of a duplicate. So I had to learn how to dupl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: BadRequestError while running painless script on elasticsearch I am fairly new to elasticsearch and I am trying to List longest open event based on event type given the following mapping mappings = { "properties": { "type": {"type": "keyword"}, "id": {"type": "integer"}, "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xamarin.ios : Error Code 530001 in SSO login In my Xamarin iOS application, I am showing a website using Xamarin web view. However, I am facing an issue with the SSO login functionality for that website, it showing a 530001 error code in sso login. The error logs indicate that the device identity is missing when sen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GraphQL subscriptions not working with 'graphql-ws' (NestJS) I'm trying to use 'graphql-ws' GraphQLModule.forRoot<ApolloDriverConfig>({ driver: ApolloDriver, autoSchemaFile: true, subscriptions: { 'graphql-ws': true, }, }), It's not working with 'subscriptions-transport-ws' too GraphQLModule.forRoot<Apo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RadioButtons Xaml vs C# I'm new in XAML/WPF and there is something I dont understand. I don't understand why my 3 radioButtons are bound together when I add them directly in the XAML code, and why they aren't when I add them with C#. What I mean by "Bound" is that they dont uncheck their selves when I check another ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django - No module named 'webapp' Settings.py INSTALLED_APPS = [ 'webapp', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] Apps.py class WebappConfig(AppConfig): defau...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add Flaticons to my website using CDN link I have a simple html css js page that i wanna add some flaticons on it, i don't wanna download the icons on my laptop, for many reasons, anyway , i tried to add the icons via a cdn link, but nothing happened like i didn't add them at all. CDN link: <head> <!--flatico...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Handling header form in Django I have some pages on my blog site: news, explore and my_profile. On header i have a form to add new article. How can I to RENDER and HANDLE a form in header on ANY page? Because any page includes header. I tried to register new jinja tag with my form: # myapp/templatetags/my_tags.py f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to let the browser know that there's a new version of the file fetched, and force to invalidate cache? I have an S3 bucket with static files. Every time I update the bucket with new version of each file, I set the cache-control to cache files for a month, and then invalidate the cloudfront cache. If I have an in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dependent drop down using Dataframe not working (Javascript/Flask) I am trying to replicate an example in post How to create chained selectfield in flask without refreshing the page? I want to create a dependent dropdown where the City options are based on the State that was selected. I cant seem to get the city to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My scheduler stops when a executing process stops but does not terminate So, I have a scheduler in c that sends another c program to execute every second. Then gets switch out for another program for a second in round robin style using a queue. However, I can change the amount of time the scheduler executes each pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does "self is not defined" on line 13 appear? I don't seem to violate any of the paradigm rules Can't access self.transitions inside of the method class Finite_automaton: def __init__(self,initial_state,final_states,alphabet,transitions,state): self.initial_state = initial_state self.final_st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Brew Install of doxygen is failing due to Cloudflare page validation When I try to install doxygen via: brew install doxygen I get a a SHA256 mismatch error: Downloading https://doxygen.nl/files/doxygen-1.9.6.src.tar.gz ##O=# # Error: doxygen: SH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to resolve path to module error while linting my React + JS project using Vite Folder Structure: - src/assets/images/react.svg I am using the import statement in App.jsx as: import reactLogo from '@images/react.svg'; And, the error message is: 2:23 error Unable to resolve path to module '@images/react.svg'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to put description under fields in Django fieldsets = [ ('ALERT', { 'classes': ['collapse'], 'fields': [ ('field_1'), ('field_2'), ('field_3'), ], 'description': "Some helpful text", }), ('NEXT', { 'classes': ['collapse'], 'fields': [ ('field_5'), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Different Query result with and without using SQL Injection prevention syntax I have a table Books with some columns named id, visibility, and config. Visibility is an integer column and config is json with content of the form {"test": { "test1": false, "ids": [1234, 567]}, "visibility_options": {"all_people"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker Postgresql UID I am having trouble with file permissions with the postgresql image. (similar problem with redis if anyone knows how to help there) My files are on a synology nas and the volumes are mounted with nfs. I have an user for the service that needs the db and an user that is just here to make backups...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567944", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: const expressions and const array In Dart, I define the following constants: const aConstNum = 0; const aConstBool = true; const aConstString = 'a constant string'; const aConstList = const [1, 2, 3]; Then I define a const string with: const validConstString = '$aConstNum $aConstBool $aConstString $aConstList'; Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: RuntimeWorkerException: Invalid nested tag tr found, expected closing tag td As you can see, my problem seems to be simple, just an inattention and forgetting to close a tag, right? error detail: com.itextpdf.tool.xml.exceptions.RuntimeWorkerException: Invalid nested tag tr found, expected closing tag td. at co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "N, total number of documents with field" from explain API is much greater than my actual # of documents I was trying to use the explain:true clause to understand the scoring of my results and I found out the idf has something like this: { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FVM/Flutter unable to find git on non-administrator account on Windows As an administrator, fvm works: PS C:\WINDOWS\system32> fvm flutter --version Flutter 3.7.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision c07f788888 (3 days ago) • 2023-02-22 17:52:33 -0600 Engine • revision 0f359...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Open window in SwiftUI outside of a view in MacOS If I want to open a new window in SwiftUI, I could use the following code: struct ContentView: View { @Environment(\.openWindow) var openWindow var body: some View { Button("Open the window") { openWindow(id: "the-window") } }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Electron App not starting with command line arguments I have a simple app in Electron. In the main.js I wait for the event whenReady and then I wanna read the command line arguments. const createWindow = () => { const win = new BrowserWindow({ width: 800, height: 600, //show: false, }); win.webCon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to plot 2 subplots of wav spectogram file? I have 2 wav files (with same sampling rate) and I want to display their spectogram side by side. I'm using the code from here (https://librosa.org/doc/main/generated/librosa.feature.melspectrogram.html) to show wav file spectogram: y, sr = librosa.load(FILE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Question concerning Firebase Fire Store Rules A few months ago I made a linked-in clone using firebase and then google sent me an email about a week after it had been created saying the site had been flagged for malicious activity or something. Either it was legitimate and someone hacked it or it may have flagged my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is the size of a Spark partition after decompression or before decompression if the input data is compressed (and splittable) I understood that the size of a spark partition during dataframe loading stage is determined by the following values: * *Total input data size and the number of files *The file format prop...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to fill missing datetime rows without creating a new index in Pandas I have a dataframe with a datetime column where the times are quite randomly spaced. They are usually spaced with a frequency of ~1 min, but sometimes there is a gap for a day or more (but no empty rows). I need to add these rows (with a freque...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: The Discord bot that checks users' online time is not working I want to make a discord bot which, after entering the >time_online command, will show how much the user has been online, but it keeps throwing the error "Could not find member polandlp on this server" even if I am online and the bot has all the permissio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: flutter stripe deploying key to firebase cloud functions I am trying to deploy my stripe key to cloud functions and I am getting an error as follows(this is the last line from my debug log): [debug] [2023-02-25T19:25:40.403Z] Error: Failed to create function createPaymentIntent in region us-central1 at /usr/loca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is causing an Error: System.IO.IOException the process : 1 cannot access file c:\Excel.xlsx because it is being used by another process This has to be a simple code change, I am asking to user to upload a speadsheet, first time through it is successful, but if I want them to do it again, the second one is unsuc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: values are always zero in a plot I have a column in Excel with some values imported from a CSV file. I set the Number format to all the cells, but when I try to plot the data in a bar chart, the values are all zeroes. I noticed that when I select the formula bar of a value and then click Enter, the value is correctl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change ip of dart frog server from 127.0.0.1 to 0.0.0.0 ( or actual LAN ip) For Dart Frog server I can start it using dart_frog dev --port 8090 but then it is only accessible from127.0.0.1:8090, I want it to be available from other machine in same local area network using local IP (e.g 192.168.0.10), so want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import a shared object symbol that is an array using dlsym I'm trying to manually import symbols from libncurses.so. This works fine for function pointers and normal variables like stdscr or COLORS. However, ncurses.h also defines a global array named acs_map: extern NCURSES_EXPORT_VAR(chtype) acs_map[]; How...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I let the user draw a line manually on a scatter plot and print the slope and intercept using shiny and or plotly in R? First time I ask so please bare with me! I am trying to get the slope and intercept when the user draws a line manually on the scatter plot. I tried using the layout(dragmode = 'drawline') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Deploy an aws ecs service with 2 containers nginx and drupal in a single task defintion but still get error 503 Here is my problem : * *I created an aws ecs task definition with 2 containers: nginx and drupal. I choose awsvpc as the network mode. The nginx container needs to communicate with the drupal container....
{ "language": "en", "url": "https://stackoverflow.com/questions/75568002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lock Failing During Transaction Firestore The goal of my pick_doc function is to apply a lock to a Firestore document. My python program will be deployed to cloud functions, and it's very important that no 2 functions lock/use the same document in their execution. I am trying to use a Firestore Async Client to perfo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: use pretrained models in kaggle competitions with no internet So I tried following the style of having two notebooks one for training and one for inference, but I couldn't retrieve the trained models in the inference notebook. to create the training notebook: I went to https://www.kaggle.com/competitions/contradicto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tkinter - How to resize frame containing a text widget (in all directions)? I'm trying to resize certain layered tkinter components, mostly because I'm curious. Right now, seems stuck in trying to resize a frame containing a text widget. here is my attempt: import tkinter as tk def make_draggable(widget): widge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TabView Freeze when selecting some tabs I am having an issue I just can seem to correct. My app is setup with a TabView. It has 5 tabs at the bottom. When I start the app fresh, the first(main) tab, 3rd tab, and last tab all work fine when selected. However, if I select the second or fourth tab, there is a 6 second ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: filter polars DataFrame based on when rows whose specific columns contain pairs from a list of pairs In this example, on columns ["foo", "ham"], I want rows 1 and 4 to be removed since they match a pair in the list df = pl.DataFrame( { "foo": [1, 1, 2, 2, 3, 3, 4], "bar": [6, 7, 8, 9, 10, 11, 12]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Grouped bar chart with Plotly I am trying to make a plot with Plotly.Below you can see my data. df<-data.frame( Country=c('Aruba','Benin','Albania','Aruba','Benin','Albania'), Year=c(2010,2010,2010,2011,2011,2011), share_female=c(0.6315789,0.5833333,0.2500000 ,0.6315789,0.5833333,0.2500000), share_male=c(0.3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why referential integrity is not enforced in new modern Data Warehouse? I've been working for a few months as an Analytics engineer with tools like dbt, Google Big Query, and Snowflake building Data Warehouses following the "Modern Data Stack" trend. I've seen that dbt does basically drop and create every table (aka...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Opening files stored in IndexedDB using system installed apps The product that I work on has a PWA as the client application. There is a capability to view content files like PDFs and videos offline. The user initiates the download action which stores the files as ArrayBuffer in the IndexedDB. Using VideoJS and pdfj...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter have pages have same bottom navigation bar I am very new to programming in flutter and am doing some prototyping to get a better understanding how to work with this language. Admittedly I am having trouble phrasing this question; I was able to make a home navigation bar with 3 buttons representing different ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Visio 2019 how to group option button I am looking for examples to use option buttons in Microsoft Visio 2019. how can I get multiple (e.g. 3) option buttons in a group and query the status? how can I use a combo box Who has 1-2 small examples that can be used to learn/adapt this? Unfortunately, I can't find any su...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: "No shop provided" response when calling shopify api Having some trouble with getting a list of themes in a store. I've installed a fresh version of the shopify app as shown on the shopify dev docs. When I console log the response I get this: Am I missing something obvious or important? A: It's not clear, from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting SHA256 into a SAT instance / Boolean expression using Lisp I recently came across a discussion discussing conversion of SHA256 into a SAT instance by modifying the lisp implementation of SHA256 from Ironclad - sha-256 as a boolean function There is some discussion on this and the modified version was shar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ES6 to use Destructuring Assignment again I need to do ES6 Destructuring Assignment repeatedly: * *Define variables from Destructuring Assignment *Update variables from Destructuring Assignment repeatedly Like: function margin() { const left=1, right=2, top=3, bottom=4; return { left, right, top, bottom }; }...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can not validate the AuthForm I'm developing the Login view of my app, in order to do that I used the Django's built-in authentication form, but when I try to validate the form it returns False and I don't know why. I let here my code... models.py class User(AbstractUser): ''' Model that represents a user in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using Keylines with typescript Has anyone been able to use Keylines with react typescript successfully. I installed keylines as a package and copied over the react-keylines.js file and changed it to react-keylines.tsx When I try to import Chart and pass it data typescript complains. import { Chart } from './react-ke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Showing all object output in the console VS Code I'm using console.log(object) to print an object in JavaScript (Nodejs) using the VS code terminal. object = { data: 1, next: { data: 2, next: { data: 3, next: { data: 4, next: null }}}}; console.log(object) The terminal shows: >>> { data: 1, next: { data: 2, next...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rust solution for RAII pattern to modify another object on new() and drop() It's pretty standard in C++ to have an arrangement like: // Some object that you want to manipulate class DataType { public: foo() {} bar() {} }; // Some class that manipulates a DataType on construct and destruct // Your typic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to show Questions from SQL-Database in Flutter Its my first time dealing with SQL-Database and I want to show the Questions with each individual answers in 5 themes on a new Page. On that Page the 5 themes should be listet in a column and by clicking on a theme, the questions should be displayed. I did not make ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I call a function from one controller inside of another controller in MVC? I am building an app using the MVC architecture. I have a window with some buttons and a graphics scene where rectangles are displayed. When I now click on a button in the window, the rectangles should be hidden. Now the problem is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Function declaration returns 'error: parameter 'array' may not appear in this context' I have a function that I'm trying to have use one of its parameters for another one of its parameters. Declaration: template<num_type T> void sort(vector<T> &array, bool ltog = true, VecRange range = VecRange(0, array.size() - 1))...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to build Hibernate SessionFactory occurs only with jar file When I run the application using "Run" in Eclipse, everything works correctly. But when I create a JAR file (using "mvn clean compile assembly:single") and try to run it, it doesn't work and shows the error mentioned above. java -jar tareasTaller-0.0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Form validation not working with Blazor server Form code using System.ComponentModel.DataAnnotations; namespace WebLab.Pages._9; public class Form { [Required(AllowEmptyStrings = false)] [StringLength(50, ErrorMessage = "Name too long")] public string Name; [Required] [MinLength(2)] public...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find all unique matches between two vectors? I have two sets, and each element of one set can match with any element of the other set. For example, if I have sets {1, 2, 3} and {4, 5, 6}, the possible combinations are: 1, 4 2, 5 3, 6 1, 4 2, 6 3, 5 1, 5 2, 4 3, 6 1, 5 2, 6 3, 4 1, 6 2, 4 3, 5 1, 6 2, 5 3, 4 S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Use String As JSON Selector in Object in Javascript I have a lot of values I need to extract from a JSON object called results. I have stored the keys I care about in another object myKeys. How can I use the values from myKeys as the selector in results? Ultimately I want the data in results.array1.array2.key, res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: useRoute() in react navigation always gets stack routes I have the useRoute() function from @react-navigation/native but it seems to be getting the StackNavigator routes when I am in the tab navigation. const selectedRouteName = useRoute(); useEffect(() => { (async () => { setRole(await AsyncStorage.getIte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create entry in Add/Remove programs through NSIS,why are registry keys not added? I am using NSIS to create an installer/uninstaller for my application. I want to create an entry in the Add/Remove Programs list in the Control Panel. I went through the steps on the NSIS wiki: https://nsis.sourceforge.io/Add_uninstal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DllImport ignores SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32) using System.Runtime.InteropServices; class Program { [DllImport("kernel32.dll")] public static extern bool SetDefaultDllDirectories(uint directoryFlags); public const uint LOAD_LIBRARY_SEARCH_SYSTEM32 = 0x00000800; [DllImport...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to retrieve CRM accounts based on location search in Azure functions? I have a requirement where there will be an Http trigger based C# Azure function which will receive state, postal code, county and search radius(default 20 KM). In response, I should get all dynamics CE d365 accounts(CRM) which falls within th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I display a array I get from MongoDB Buffer item as image I get the following array from an API, that stored an image that was converted to base64, in MongoDB as Buffer: [105, 86, 66, 79, 82, 119, 48, 75, ...] I want to display this image on my website that used React. I actually expected the API...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stuck on "unpacking python3-request-file (amd64)" while downloading Linux Im trying to get Kali linux on oracle VB. Everything goes fine until while downloading software under section "Select and install software", It stops at "unpaking python3-request-file (amd64)". I tried redoing the entire operation and deselect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating an instance of an Object in Javascript I am completely new to Javascript but do have some experience in other languages (Java, Python, Swift) however it has been a while so I am not sure if I am misremembering some concepts or trying to apply concepts from other languages that don't work in JS. Anyway, I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Phaser Dom Ui alignment is off all things out of alignment and not on scene im using the this.add.dom().createFromCache('ui'); method, along with this.load.html('ui', './src/scenes/Ui.html'); UI html <html> <head> <title>Phaser boilerplate</title> <link rel="shortcut icon" type="image/x-icon" href="favico...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: (Apache prod) Symfony bundle only loading when twig cache disabled ch_cookie_consent.yml : ch_cookie_consent: categories: ['functional'] theme: 'dark' # light, dark use_logger: true # Logs user actions to database position: 'bottom' # top, bottom simplified: false # When set to true the user can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I remove the first object from an array of objects that is inside a useState hook? I have an array of objects within a useState hook, it looks something like this: const[list,setList] = useState(null) function x() { setList([ {id:1,name:a}, {id:2,name:b}, {id:3,name:c}, ] } I want to create a function that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to install vaadin-cli I'm getting below error when I'm trying to install vaadin-cli. Any suggestion to fix this would be appreciated? C:\Users\sanga\Desktop\Ela\mancala>npm install -g @vaadin/vaadin-cli --force npm WARN using --force Recommended protections disabled. npm ERR! code E404 npm ERR! 404 Not Found ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ubuntu 20.04 bound ipv6 to server Mainly im new to Linux, and im trying to bound extra ipv6 address to my server. by every where i see diffrent ipv6. so im little bit confused. My provider gave me: 2a01:238:4279:3900:e46e:d673:b7c7:db0b Every tutorial online gives something like this: e46e:d673:b7c7:db0b What i need...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Openresty "you need to have ldconfig in your PATH env when enabling luajit" I installed the latest tar.gz openresty file from the website, and unpacked it with tar -xzf openresty.tar.gz. I then did cd to openresty-1.19.9.1 and typed ./configure, and got this message: platform: linux (linux) you need to have ldcon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't reference a value of a variable in another variable In my .tfvars file I have two variables: first_variable = { "first_value" = { ... user_name = "alex", ... } } second_variable = { ... username = first_variable["first_value"].user_name ... } As you can see, what I want is to be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In Rvest, how can I make a selection on a checkbox to access different content on a page? I am trying to use rvest to scrape from the following URL: https://www.sportsline.com/mlb/odds/money-line/ However, when I go to access this page, I am being redirected to the a different URL: https://www.sportsline.com/mlb/odd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to echo multiple statements from if statements I'm pretty new to PHP, working on a school project. I'm trying to connect this if statement together. How do I make it possible to send multiple messages to admin-add-order.php? I want the code to go through all the conditions first before sending the message and ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Set colors to hue categories I'm trying to use sns.histplot() with 'hue' but the colors of the legend and the bars does not match. I would like to change the colors of the bars(blue, dark blue) to another, maybe the same as the legend. How can I do that? Here what I tried and did not work. colors = sns.color_palette...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: matlab_kernel not reset on reprocessing of Quarto document in VS Code There is something strange happening when using matlab_kernel in a document processed by the Quarto extension for VS Code. Example file quarto_matlab_test.qmd: --- title: test quarto & matlab_kernel jupyter: matlab --- ```{matlab} x ``` ```{matl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm WARN using --force Recommended protections disabled. please give me solution I am facing this error for creating a react app . please can anybody guide me I am facing this error for creating a react app . please can anybody guide me
{ "language": "en", "url": "https://stackoverflow.com/questions/75568073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: firebase app-check react native using ReCaptcha V3 as CustomProvider Since ReCaptchaV3Provider can't work in react native I'm trying to use it as a custom provider like const appCheckProvider = new CustomProvider({ getToken: () => // Logic to get the token from recaptcha using the public key }); export const ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to deobfuscate a Lua obfuscated script? I have a script in LUA that I found to be obfuscated and I wonder how could I deobfuscated it? Because I need to edit it and I cannot find anything to deobfuscated it! And when it's seems to a deobfuscator I just don't understand how to use the deobfuscator! So I need help...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Dynamic Data sent back to views.py in POST request Django I have a dynamically generatyed HTML file that displays quizzes for a class that was gathered from an API request. Within this page, I have a scan button that will scan the selected quiz and kick off a python script on the backend. When the scan button is cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: log4j-slf4j-impl cannot be present with log4j-to-slf4j I have a POC springboot scheduled task program. When I try to run one of my producer methods, I get the error: Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j I understand that log4j-to-slf4j is requi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: rust polars convert string column to datetime I'm trying to learn rust and using polars. I've a simple CSV file names,pdate,orders alice,2023-02-12,2 alice,2023-02-18,1 alice,2023-02-22,6 bob,2022-12-10,1 bob,2022-12-14,1 bob,2022-12-30,4 I read it in using let mut df = CsvReader::from_path("t2.csv") .u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeScript: Generic type of rest parameters to use in the return type I have a function for a ZIP Composition in TypeScript which any number of Arrays as parameters and should return a new array with an element of each input array. The problem is the type of the returned array. The function should have the same retu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Write animated MDLMesh to collada in swift with Model I/O I want to animate an MDLObject and then export it to a .dae file. Currently, only the objects mesh is exported, but without animation. I could not find any articles online how to animate objects correctly, so I came here to ask for help. Here is the code I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ldap search_filter escape specific charter I retrieve members of a group and their sAMAccountName (NT Accounts) I run the following code takes from: https://itecnote.com/tecnote/python-ldap3-python-search-members-of-a-group-and-retrieve-their-samacountname-active-directory/ I'm getting user name as output but after ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: zstyle: changing the description style value of a tag I use the following zstyle commands to group completion items by their description: zstyle ':completion:*:*:*:*:descriptions' format '%F{green}-- %d --%f' zstyle ':completion:*' group-name '' zstyle ':completion:*:ssh:*:users' users alice bob eve zstyle ':comple...
{ "language": "en", "url": "https://stackoverflow.com/questions/75568088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }