text
string
meta
dict
Q: How to use field value within CRUD Controller I am new to Backpack and Laravel and am hoping you can help me solve an issue I am stuck on... I have a text field in my Create/Update CRUD that is used to save the user's social network. I added an icon as a suffix to this field and am trying to make it a link to that s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Aligning Button below text in HTML So right now I have this current screen where the buttons are aligned next to the paragraph. But i want the buttons to be below the paragraph. here is what it looks like ` .container { display: flex; align-items: center; flex-direction:row; } .message{ position:absolute; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to use topological sort algorithm to determine if a tree is a valid You have a graph of n nodes labeled from 0 to n - 1. You are given an integer n and a list of edges where edges[i] = [ai, bi] indicates that there is an undirected edge between nodes ai and bi in the graph. Return true if the edges of the giv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot login to local nexus repository with docker I'm running the nexus repository as a docker container in my local network [192.168.0.100:8081] * *Step 1. Create a new docker-hosted repository. In the repository, settings assign a new port in the HTTP field [8083] *Step 2. Create /etc/docker/daiemon.json file ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Are these numbers random? I have been thinking about random numbers a lot. I am looking for different ways of generating random numbers because the RNG in every computer isn't really random. I notice this mostly with music players. Whenever I play my music on random, it always repeats certain songs and skips othe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: make a sound from live while saving as a file i'm actually making an audio recorder that must record while a condition is True but my code can record limited seconds from sounddevice import rec,wait from scipy.io.wavfile import write a=rec(10*44100,44100,2) wait() write('output.wav',44100,a) any advice? A: The rec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error: ‘wxWebRequestEvent’ has not been declared Error despite having #include I'm getting this error in the CodeLite IDE on my ubuntu OS, and I'm not sure why since I've done the proper #include <wx/webrequest.h> Documents/CodeliteProjects/LearnFrench/modifyVocabFrame.cpp:75:10: error: 'wxWebRequest' was not decla...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VBA Run Time Error 62: Input Past End of File - Excel VBA to HEC-RAS I was writing a txt file (.U04) from excel with VBA to HEC-RAS. I was use this code below for 3 months and there was no problem. But suddenly on February 4 the code was hit by run time error 62: Input past end of file. The error start from line 4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ansible Playbook: Recursively Enumerate Windows Local Groups Looking to recursively list all local windows groups on a machine and for each group enumerate local and domain members. I already have a powershell script that can do this, but was looking to do it more 'natively' in yaml so as to make it agnostic to any ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to define case and control in NRI calculation with nricens packages using R? **I am trying to calculate the NRI for time- event model by using nricens packages in R. the codes are like this. ** nricens(mdl.std = mstd, mdl.new = mnew, t0 = 10, cut = c(0.05, 0.1),updown = "category", niter = 1000,alpha = 0.05) the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I setup Oh My Posh inside conemu, without using powershell? I can get it to work in powershell, but I do most of my coding/work, just for fun, using normal command prompt/batch files,etc. But can't get it to invoke the init or theme, got it to work fine on powershell. But I really would like this to work in n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET MVC: can a controller call another controller and tell it to delete data? I have Datasets model class like this: public class Datasets { public Datasets() { if (id == null) id = Guid.NewGuid().ToString(); } [Key] public string id { get; set; } public string name {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: web scraping with loop I'm trying to download zip codes that are in different pages. I started with a list of nodes for each municipality inside Mexico City. url<-"https://www.codigopostal.lat/mexico/Ciudad-de-Mexico/" resource<-GET(url) parse<-htmlParse(resource) links<-as.character(xpathSApply(parse,path="//a",xml...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create Routes for multiple Layouts in React? I'm learning React. I'm trying to make Routes for my differents pages with different Layouts however it does not work. It does not show any error, just the blank page. How can I make these different routes for different layouts? I'm expecting to show every page wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generate PDF containing multiple SVG barcodes I am trying to generate a PDF containing all the barcodes in SVG format. Here is the code I've written so far. from code128 import Code128 import csv from reportlab.graphics.shapes import Group, Drawing from reportlab.graphics import renderPDF from reportlab.lib.pagesize...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing with jest and React Native Testing Library I’m a newbie with testing I’m trying to get a grip on testing React Native with Expo, Jest and React Native Testing Library I wrote a simple screen that takes data from an API and writes the first element in the screen with a < Text > import { StyleSheet, Text, Vie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix `Uncaught Error: Call to a member function send() on null` after removing composer package in laravel? Here's the error anytime, I try to open root WARN PHP Fatal error: Uncaught Error: Call to a member function send() on null in C:\xampp\htdocs\Atlas\club\vendor\laravel\framework\src\Illuminate\Founda...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image Segmentation: How do I convert a png mask file to array? I am working on a multi-class image segmentation problem but am having difficulty appropriately converting my .png mask files to arrays. Instead of values corresponding to the number of classes (13), the masks have seemingly random values between 30 and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PermissionDenied errors when attempting to remotely manage DNS - Win2k19 (Powershell & DNSCMD.exe) I am attempting to run some Powershell DNSServer and DNSCMD.exe commands on a Windows 2019 Server, whilst attempting to remotely manage the DNS Service and records hosted on another Windows Server 2019 DNS Server but I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Callback function to move the object down not rendering right I have been trying to do some extra engineering work on my project as part of my javascript lab. I managed to get my dodger to move to the left and right but not to the bottom. Also when I invoke the event to make it go down (moveDodgerBottom), it doesn't...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NetBeans - has been compiled by a more recent version of the Java Runtime (class file version 61.0) I am facing the error, when compiling and running java in NetBeans 12 for Spring Boot 3.0.3 & Java 17. java.lang.UnsupportedClassVersionError: com/example/javareacttemplate/MainClass has been compiled by a more recent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Openlayers 6 'pointermove' I have a site running a 'pointermove' that highlights a feature as it rolls over it. This is the 'pointermove' process I am using: // Mouse over let selection = {}; const selected = new Style({ stroke: new Stroke({ color: 'rgba(200,20,20,0.8)', width: 2, }), fill: new Fill({ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Print in high quality Trying to print generated text and qr code image, but it does in very low quality. Have tried to change the graphics settings with no chance, attached an image how the text and the image are appears in PDF after printing. private void doc_PrintPage(object sender, System.Drawing.Printing.PrintPa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to remove customtkinter after button is pressed again I have been trying to develope a python app fpr weather and i have came across and issue that i cant find any info about. Wehn i press the button it give me temperature and at some point in the futre the weather and other things. So after i press the button i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS Code exits debug console after every "next," "continue," etc I am debugging C++ in VS Code. I am accustomed to using n, s, c, etc. commands for next, step, continue in a debugger. VS Code supports these, but every time I enter one, my cursor exits back to the source code and I have to click in the debugger consol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android: Good practice to have separate UI states in a single ViewModel? I have a view and its ViewModel consists of UI state for a search query and results for the query. The search query is a string and I can hold its state in the ViewModel like this: data class SearchUiState( val query: String = "" ) class S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cant Delete Entity in Apache Atlas if Entity has an Entity Attribute I have an Atlas Type Definition that has an attribute of another Type Definition. I can create Entities but once the Entity is created, if I added the Entity Attribute to the Entity, I cannot edit or delete the Entity. Example TypeDefs: { "entit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: adding style html js Look at my screenshot below. If I remove this property the chat will not open. I tried with CSS to remove it and then use jquery/js to add it back, but it doesn't work. How can I solve this problem? That the "div" in closed format would not cover my background enter image description here I want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why this is error i cant insert my values to trigger MariaDB [stock_opname_p3]> DELIMITER $$ MariaDB [stock_opname_p3]> CREATE TRIGGER tr_log_harga_barang AFTER INSERT ON log_harga_barang -> FOR EACH ROW -> BEGIN -> UPDATE log_harga_barang SET waktu_perubahan = NEW.waktu_perubahan WHERE id_barang = N...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Viewing all Kafka input and output topics from a microservice As part of getting a holistic view of all Kafka topics in use by each microservice across my organisation, I am looking into the code used by each microservice, this is proving to be quite manual as each kafka microservice does things in an independent wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Test fails with SQLite Error 1: 'AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY' I have an .Net Core 6 application that use SQL server as the database. During testing I spin-up an in-memory instance of SQLite for testing custom DB context methods. This was all working and I went into the change some RESTf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Coding and Calling Functions in Node js and Electron JS I am new at electron JS and Node Js, It will be good if i got some help in the following: I created the Following Module to connect SQLITE Database var sqlite3 = require('sqlite3').verbose(); const db = new sqlite3.Database('dbex.db'); const { Console } = requi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why "missing fields" warning was triggered by Hive Serde2 lazy binary struct? I'm seeing this: Missing fields! Expected 8 fields but only got 8! Last field end 2876176 and serialize buffer end 2876175. in my Hive log. It clearly does not make sense "expect 8 got 8", so I checked the source code: // Missing fie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to interpolation time series in python I have an excel file that has 2 columns: First is the date (3 hourly or 6 hourly) and the second is the water level data. However, I don't know how to interpolate the data hourly ( 1 hour) using Python. How do I interpolate the hourly water level data and import it to exce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Extract Minimum date I have column Date where some cells have one date, some two or more. From multiple dates in one cell of the Date column I want to extract minimum date or if it one date then retain the date. Could someone please help me. Below is the sample. A: You could try to use STRING_SPLIT function SELECT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rounded Images Show Corners On Transition then Immediately Become Rounded Again I am using Bootstrap 5.3 and whenever there is a transition in my carousel, the corners show, then become rounded again. Frankly, it’s in the title. That’s quite literally my problem. What is shown right after transition: What it turns ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Segmentation fault (core dumped)" when trying to set a Qpixmap to Qlabel when image comes from cv2 I have cv2 image from webcam and set to label using setPixmap. img = QtGui.QImage(cam.frames[ind_], cam.frames[ind_].shape[1], cam.frames[ind_].shape[0], QtGui.QImage.Format_RGB888).rgbSwapped() pix = QtGui.QPixmap.f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: The package javax.sql.rowset is not accessible I'm trying to implement a CachedRowSet. I'm using VS Code, jdk19, and maven. In my DBUtil.java file, I have this: package searcher; import javax.sql.rowset; import java.sql.*; "The package javax.sql.rowset is not accessible" occurs on the import javax line. settings....
{ "language": "en", "url": "https://stackoverflow.com/questions/75576327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: QT designer window widgets are not showing up I've got a GUI program that queries data. I was trying to build out one of the windows in Qt Designer to make it look as I want it. I've converted the UI file to Python code and can run it as a standalone script and the window displays perfectly. However, when I bring it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sudden spike in DB connections after Aurora MySQL 2.11.1 version upgrade We have recently upgraded our production Aurora (MySQL) cluster from 2.10.2 to 2.11.1 as per the AWS recommendations, and once the upgrade got completed, there is a sever spike of number of DB connections observed. The usual number of DB connec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error> The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all() I want to sum the columns in a Pandas dataframe(array) horizontally along each row that only have a value of 1. I am not summing the columns vertically. I am summing them horizontally. It seems like every example o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access a .csv file with my local computer path name in react js? In my react project, I can not read a .csv file with my local computer path name. I need to access the .csv file's data with my local computer path. In my react project, I can not read a .csv file with my local computer path name. I need to acce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Load AG grid data asynchronously I would like to know if there is a way to load data asynchronously in AG grid; i.e I'm trying to perform other actions(i.e clicking other tabs/buttons etc.) on my application while the data in AG grid is loading. I'm loading the data in the AG grid by calling an API and rendering it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue where android downloads folder different in the files app then what is read pragmatically When I go to print out the names of all the files in my downloads folder I see 4 of the 25+ files on my device print in console. code val downloadsFolder = Environment.getExternalStoragePublicDirectory(Environment.DIRECT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fix routing in Docker-Compose Using docker-compose is there a way to make subnets that can and can't be routed to. Between containers and the Host OS Having the network look kinda like this (Host 172.17.0.1) <> (network public) <> (Internal One) <> (Internal Two) 0r Host <> A <> B <> C * *Host only sees A *A Only...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Customize DataTable exports Is there a way to customize data table export? I want to change the header text SAMLE IMAGE HERE
{ "language": "en", "url": "https://stackoverflow.com/questions/75576341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clickhouse-client Code: 36. DB::Exception: Positional options are not supported. (BAD_ARGUMENTS) bash script Here is my bash script for inserting parquets in parallel to clickhouse. It keeps giving me the error I put in the title though and I don't know why. Any help is appreciated #!/bin/bash time (for FILENAME in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Delete all the folders that are older than two days from a list of folders I have three folders. I need Ansible to check them and delete the one(s) older than two days. Those are my tasks: - name: Get older files path find: paths: "{{ path }}/DB/{{ item }}/" age: 2d file_type: directory recurse: ye...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C: Structs into for loops CONTEXT: I'm trying to do a 2d very simple physics engine with C and OpenGL I have a struct for a body, which can be represented by: struct body{ GLfloat mass; GLfloat size; GLfloat xpos; GLfloat ypos; }; And i have a list, bodies[], which contain all the structs of bodies....
{ "language": "en", "url": "https://stackoverflow.com/questions/75576349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: SQL password encryption I am trying to upload my db.sqllite3 file from python to the db browser for SQLite, however it asks me to put a passwordenter image description here I am not aware of. I haven't set up any password both on SQLite and my python project, therefore I am very confused where could I possibly find ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why huge gap when malloc-ing different types? When I malloc two blocks of the same type, I see that the assigned addresses are not too far apart. But, when I malloc two blocks of a different type, these blocks are just too far apart. Why is this happening? In the first image, the two integer arrays are just 48 byt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576355", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: incorrect output when calculated So im a beginner to the programming world and i'm currently learning to program in C and i can't seem to figure out what is going wrong with my code. #include <stdio.h> int main () { float fees; float projcost; float num; printf ("Please enter the cost of your project\n");...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: socket io client is polling the wrong server This is in my package.json file: "proxy": "http://localhost:2201/api", The proxy is to my backend server. This is in my .env file: REACT_APP_SOCKET_22_URL=ws://localhost:2202 This is the link to the socket server. In my React component, this is how I call the socket: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ Hashmap printing out random data bool isValid(string s) { map<char, char> validBrackets; stack<char> brackets; int strLen = s.length(); // first = key // itr->first // second = value // itr->second map<char, char>::iterator itr = validBrackets.begin(); validBrackets[')'] = '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Sprite in Pygame moving up and down in a endless loop I don't know much about pygame so I just copied a tutorial on pygame.org and the sprite just spins up and down in a loop. import sys, pygame pygame.init() size = width, height = 500, 500 speed = [2, 2] blue = 85, 118, 250 screen = pygame.display.set_mode(size) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subsetting a long-data.table using values of a column within the data.table and casting the other values I have a 22 million observation rows data table of the following form: `dt <- data.table( firm_id = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2), metric = c("AN_BILANT", "OPEX", "CAPEX","AN_BILANT","OPEX", "CAPEX", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How can I make my Bootstrap 5.3 vertical navbar transition into a offcanvas on smaller screens Since Bootstrap 5 have no responsive vertical navbars in their documentation, I decided to build my own one. I made a dashboard with a navbar on the side. As you have read in the title I want to make my vertical navbar to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Please how do I change the color of a black png picture to white? I've made my research as much as I should but still can't help myself to find the white color of a black PNG image. I try to convert my black image PNG to white but to no avail. What hue rotate degree would make it white? I tried using filter: hue-rot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error Question: [WinError 2] The system cannot find the file specified: I am working on what should be a very easy code to try and organize and clean some folders. However, I keep getting the following error: [WinError 2] The system cannot find the file specified: '1952_Median_Annual1D_AIR_TEMP.csv' I have double ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Faster way to find indexes that satisfy conditions within given indexes range I have 2 arrays, and I want to get the indexes that satisfy 2 conditions within the given index range. Like the following, ii is the given index range. Obtaining the indexes in array1 like "result1", or obtaining the indexes in ii like "re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576381", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The model item passed into the ViewDataDictionary is of type , but this ViewDataDictionary instance requires a model item of type I am trying to create a code-behind for my _Layout.cshtml Razor Pages in an ASP.NET Core web application. I named the page as _Layout.cshtml.cs This is the code for _Layout.cshtml.cs: us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I becomeFirstResponder in a UIContextMenuContentPreviewProvider When creating a UIContextMenuConfiguration for my collection view, I set the preview provider to be a custom UIViewController that contains a textField which becomes first responder on viewDidAppear. Expected behavior: The keyboard shows up when ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementing Quantum Addition in C# for Solving Complex Problems var simulator = new QuantumSimulator(); int[] numbers = new int[] { 1, 2, 3, 4, 5 }; QArray<int> qNumbers = new QArray<int>(numbers); int sum = 0; for (int i = 0; i < qNumbers.Length; i++) { var register = new QArray<int>(new int[] { qNumbers[i], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the best schama design when user can post a free structure data in mongodb I was thinking about a form creator application. user can design their own form, they can add fields as they want. for example, one user may submit a hire form, in this form maybe include some fields like 'work experices','level of ed...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in kNN: Data non-numeric in R programming I am getting this error at the last chunk of code below, where I use the kNN function: Error in get.knnx(data = train, query = test, k = k, algorithm) : Data non-numeric Can someone tell me what they see as wrong? I've looked at it over 100 times and tried fixing it an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What's the function of `LOCK_SECTION_START` in linux kernel I'm reading the linux kernel semaphore codes and found the following codes static inline void down(struct semaphore * sem) { might_sleep(); __asm__ __volatile__( "# atomic down operation\n\t" LOCK "decl %0\n\t" /* --sem->count */...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I restrict preg_replace_callback so that it replaces a limited number of expression matches? An example of what I need: $input = "bar bar bar bar bar"; $result = preg_replace_callback('bar', 'foo', $input); // And there must be some way to limit preg_replace_callback so that it replaces only the first 2 (for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Accessing values in Multi-Index dataframe with datetimes I have a problem trying to access values in a custom dataframe: My original dataframe is: print(df) Data1 Data2 Data3 IMX01 2022-08-12 22:00:00 400.00 500.00 600.00 IMX01 2022-08-15 22:00:00 400.00 500....
{ "language": "en", "url": "https://stackoverflow.com/questions/75576399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Compare two tables and show data with missing value I have two tables Master and Log as shown below. And require an output along with the a new entry of emp who is missing from log table for particular workweek and year when compared with master. I tried with multiple join, left, left outer, but not able to figure o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTTP CODE: 100 thrown but its not mapped (invoking api-rest JAVA) I am invoking a API-REST service written in JAVA but for some odd reason it "sometimes" throws an HTTP CODE that is not mapped so i dont understand where the problem is located. If i run the same request but in POSTMAN i always get the desired http co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ImportError: cannot import name 'dtreeviz' from 'dtreeviz.trees' (/usr/local/lib/python3.8/dist-packages/dtreeviz/trees.py) When I try to run this vizulization on google colab I am getting this error, ImportError: cannot import name 'dtreeviz' from 'dtreeviz.trees' (/usr/local/lib/python3.8/dist-packages/dtreeviz/tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Have you encountered this issues during the installation process process of OpenGauss on openEuler? Have you ever encountered it? How can it be solved [root@localhost script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGaussInstall/openGaussInstall.xml Warnging version of python doesnot meet the expection,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Duplicating rows and and creating ID column and repeating column in Python I have the following input dataframe: Input Dataframe: c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 56 1 2 4 1.0 1 4.0 1.0 2 2 18000.0 52 2 2 5 3.0 1 4.0 1.0 1 1 0.0 82 2 2 5 4.0 2 4.0 1.0 1 1 0.0 26 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: pod install command keeps aborting before creating a .xcworkspace file I have been trying to use pod install to create a .xcworkspace, but I keep getting an error message: You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: https://www.ruby-lang.org/bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Production slot is missing in source slots list - Azure swap I have 2 deployment slots in Azure Web App: production and staging. I deployed code to Staging slot and then swapped with Production slot without any problem. Now I'm trying to swap back: choose Production slot as source and Staging slot as target, but the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Null is not a subType of String in my flutter newsapp Am working on a newsapp using the newsapi.org to fetch data from the list of articles but it returns an exception of null is not a sub type of String in the Article.fromJson and i would like to ask for some help.Thank you //this is my Article class import 'pack...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error running flutter application on simulators Failed to build iOS app Error (Xcode): ../../../Developer/flutter/packages/flutter/lib/src/material/data_table.dart:1164:41: Error: Member not found: 'Matrix4.identity'. Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: pip directory not in path despite directory being in path Windows 10 When I installed pip in the terminal of vs code like so: PS C:\Users\jldia\Traveller Programs> & c:/python-3.11.2-embed-amd64/python.exe "C:/python-3.11.2-embed-amd64/get-pip.py" it gave me this warning: WARNING: The scripts pip.exe, pip3.11.exe, a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: UWP Error 'directxdatabasehelper.cpp 80070005 Access is denied' when compiling for x64 Release mode with .NET Native on I have a UWP app that works perfect when in x64 Debug mode but fails when in x64 release mode with .NET Native on (works in release with .Net Native off). When it fails, I received the following er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex expression to find number sequence? I am trying to use regex to return the ticket number from the following body of text: TICKET #IM40135514 OPENED In this case, would return IM40133514 I am not sure what the proper regex expression would be. I tried number=re.findall("TICKET (\w{2}d{7}+))", filetext) but k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Shiro upload file failed to get 'file' file Paste my controller code first @PostMapping("/upload/single") public ResponseResult uploadSingleFile(HttpServletRequest request, HttpServletResponse response) { JSONObject jsonObject = new JSONObject(); // change to MultipartRequest StandardS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: msgraph-sdk-go can't create more than two extensions on a user When I try to create an schema extension on a user like this schemaExtension := graphmodels.NewSchemaExtension() additionalData := map[string]interface{}{ "extensionName": "dean.ext.test.1", "theme": "dark", "color": "purple",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python, append string as value I am new to python, is there a way to append string in python as value. For example: b0 = str("123") b1 = str("234") b2 = str("345") Easy for now. But in my special case, I have to doing somethings like this. a = [] for i in range (0,3): z = str("b") + str("i") a.append(z) My...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure DevOps Board Access I have a request form my customer that they want access to my organization's DevOps board to monitor the progress of work items in each sprint. Is there an option to provide READ-ONLY access to DevOps BOARD to external users? Restrict them, * *To view only existing Sprint's work Items *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I write custom MLflow friendly MLlib Classes? I'm trying to write a few custom classes to work with the existing MLlib codebase and MLflow on Databricks. For example, write a transformer, estimator, or extend an existing MLlib class and be able to add to a pipeline, fit it (if necessary), log it to mlflow and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set ships randomly using pygame I want to set ships like in image using pygame. However I got coordinates only from #right(in long for loop). How can I fix this? for i in range(1,6): while True: x,y = random.randrange(14,24,1),random.randrange(1,11,1) angle = ship_angle[random.randrange(0,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my auto.arima MSE calculated is even higher than simple linear forecasting method? I am doing some forecast with my seasonal data by ARIMA with R: install.packages("forecast",dependencies=TRUE) install.packages("astsa",dependencies=TRUE) install.packages("tseries",dependencies=TRUE) install.packages("readxl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576433", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: debug Perl loop to store data to a reference array I have a piece of code like this foreach my $l(@inarray){ chop($l); if($flag == 0 && $l =~ /^start /){ my @array01 = split(/\(/,$l); $module_name = $array01[0]; my @array03 = split(/\s/,$array01[-1]); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem with deploying Blazor to iis server I created a simple Blazor WASM project and in [Additional information] step, I selected only [Configure for https] and then I published the project into IIS SERVER, but when running website browser of the publishing project, I got an error "HTTP Error 500.19 - Internal Ser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Output file not reading input file correctly, format out of order, i am trying to create a program that takes exam statistics for 12 students. In this program the input file is read by the program and then printed to the output file, but there are a slew of issues. the program is reading the inputfile but not printi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i show the selected chips in chip group android I am working on an property listing application where users can list their property like rooms etc. Now the problem I m facing is in the "update listing details" part. So basically we have four fragments through that user fill their property details and then fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to return either a sum or average by user input Hey I have written the below code: # include <stdio.h> # include <stdlib.h> #include <string.h> #include <cs50.h> int main(void) { int *hours_worked; int size; int suma = 0; printf("Enter the number of weeks you have taken CS50: "); scanf("...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Javascript prompt if else statement redirect not working I know it's not safety encrypted but that is ok, it is just a simple password protected page. I just want the link to the portfolio page to be password protected. My code works 50% but once you click cancel or type the wrong password it still goes into the pag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix this main function error split can not function in main so error notify in cmd How can I fix that error? suddenly that message notify me but previously program function well I know split function not functuion in main so I tried change escape and function place
{ "language": "en", "url": "https://stackoverflow.com/questions/75576443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: New to Python: Why do I get the error ImportError: cannot import name 'SetWindowPos' from 'win32con' I am trying to put together some code that will pin the pygame window to the front - after doing some research I think the simplest way to do this in python 3.9 is is with import win32gui from win32con import SetWind...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to respond to a Stripe webhook if I receive a Connect account update before I create the Connect account entity in my db? I'm using Stripe to add Connect accounts (bank accounts) for my users and have set up my server to listen to incoming webhooks. In my controller, I create a Stripe Connect account and then fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NATS Object Store or Key Value Store vs Redis Cache We are currently using Redis behind NATS to do caching which is a standard practice. However, I have come across this idea that we can take advantage of the Object Store or Key Value features in NATS to implement caching natively. However, I know that: * *Key Val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does Milo supports Publish/Subscribe? Does Milo supports Publish/Subscribe? I didn't saw relevant description in milo's project websit. I have searched Publish/Subscribe API in source code, but I'm not sure whether Milo support Publish/Subscribe. ^.^ A: It supports the client/server subscription mechanism, but it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576455", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Regex to extract the URLs and Image URLs in DataFrame Python I am trying to use Regex in Python to extract the URLs and Img between greater-than and less than sign. I have a dataframe as below: PopupInfo OID <img src="https://doc-00-90-mymaps.googleusercontent.com/ height="200" width="auto"/> 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Convert this code on ShortCode Functions.php <select id="postChange"> <?php $related = get_posts( array( 'post_type' => 'Episode', 'category__in' => wp_get_post_categories( $post->ID ), 'numberposts' => -1, 'post__not_in' => array( $post->ID ) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }