text string | meta dict |
|---|---|
Q: What is the package for paginator on Liferay 7.4? i need to customize the paginator on liferay 7.4, i need to create a fragment on eclipse for this and i dont know what is the package that i need to use. I need to overrrite start.jsp and
showing_x_results.jspf specifictly, i have the logic and the solution but i don... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I drop all IDs if their maximum value in a column is less than x? I have a DF in pandas with some names and need to drop ones that have a maximum number of items bought under 10.
| Name | Cumulative items bought |
| -------- | -------- |
| Nick | 2 |
| Nick | 7 |
| Nick | 11 |
| Jason ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MapStruct : Capitalize field after mapping? I am new for MapStruct and trying to learn some functionalities. I am trying to capitalize a title field after mapping from dto to entity. I use the following approach, but ı am not sure if there is already a build function that can be used directly without creating a new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unknown host 'android-sdk.is.com'. You may need to adjust the proxy settings in Gradle Enable Gradle 'offline mode' and sync project
Learn about configuring HTTP proxies in Gradle
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75608183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Tailwind CSS render wrong on production? Imgur album to see the problem (I cannot link because I am new): https://imgur.com/a/Bjv4v36
I want these objects to display in a column, all centered. Instead, they display as a row.
Here's the code:
<div className="flex flex-col items-center bg-black min-h-screen w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: What's the difference between Get.to(page) and Get.to(() => page in Flutter GetX? Basically why the framework says that Get.to(() => page) is better than the other method? For me they are the same but I'd like to know if there's any difference or impact.
I'm using the Get.to(() => page) but only because the framewor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you add Chrome to an ADO VM? I am trying to run a pipeline in ADO using the 'windows-2022' vm. I need to install chrome as one of the steps in the pipeline, but I have had no luck with anything I found online.
I found this link - https://www.thewindowsclub.com/install-google-chrome-using-windows-powershell#:~... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why can't I programmatically insert a 3D model into Excel from C# like in VBA? I'm trying to convert some of my old Excel VBA code to reside in a C# VSTO add-in. It's going very well except for when I tried to write the code to insert 3D models into a Worksheet.
The Shapes class for VBA has Shapes.Add3DModel, howeve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Formula to calculate how hours correlate to fixed interval maintenance schedule I have a database driven vb.net program that records the number of hours a piece of equipment has operated each day. This is a totalizer number that always increases for the life of the equipment, like an automobile odometer.
The equipm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import certificate to Personal\Certificate I want to import a .pfx device certificate to Personal\Certificate location as a local machine. Next, I want to make sure that I do not want to expose this certificate for compromise. Currently, I am copying this to the location machine and pointing it to that location to i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter: flexible row of columns I have a widget structure like this:
Expanded(
flex: 1,
child: Column(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
...
Stack(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Understanding where to patch In the docs, it explains why patching at at the function definition level doesn't work:
Imagine we have a project that we want to test with the following
structure:
a.py
-> Defines SomeClass
b.py
-> from a import SomeClass
-> some_function instantiates SomeClass
Now we wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error when trying to run our .net core project from wsl (works fine from windows) When I try to run out asp.net core project (v6) directly from windows it works fine but if I try to run it from WSL(v2) I get this error:
Configured debug type 'coreclr' is not supported.
Here is our configuration
{
"type": "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# List comparison including duplicate items I need to compare both list considering the duplicate items and return non matching from both lists.
e.g.
Scenario 1 :
List<string> listA = new List<string> { "L1", "AB", "L1" };
List<string> listB = new List<string> { "L1", "AB" };
expected result
List<string> result ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add calendar days in Javascript? I'm trying to increase the date from "April 17th 1987" so that each value I input increases the day by that amount.
For example, I'd put "2" into the bar, press submit and the new date would become "You've chosen: April 19th 1987"
How would I create this in JS so that the inpu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is installHook.js that is being downloaded for my pages I have been creating a couple of webpages using three.js recently. When I inspect what's being downloaded in Chrome I see a file named installHook.js. I have searched here on SO and other corners of the internet but can't find out what it is (possibly it i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get the value of a function to use on end of GetElementByID.SRC I've got a function that picks a random image out of the three in the array, however I want to display one of the 3 images randomly at the end of the GetElementByID.SRC code so it randomly picks a picture and shows it.
I'm struggling to see why t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: the GPU-enabled version of the Ops Agent, version 2.25.1+pre.gpu.1 I followed the instruction on install ops agent
but I cannot find how to correctly run the following cmd
sudo bash add-google-cloud-ops-agent-repo.sh --also-install \
--version=MAJOR_VERSION.*.*
A: You would need to replace the MAJOR_VERSION.*.* ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to move multiple select options up/down with jQuery I am building a custom dropdown field editor and would like to add the ability to move the selected options up or down, and remove them as well. I have this mostly implemented, but for some reason it keeps moving the options up twice, instead of once and won't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: website that fetches data from youtube and develops a preference for users based on location and search i wanted to capture music using youtube api to my website then display users preferences depending on the users location i don't know where i went wrong but here is the js
// Load the YouTube API client library
ga... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I add an Angular theme template to an existing project? I ALREADY have an Angular15 project going. I don't want to lose time building a UI from scratch.
I want to use a template like this Angular14:
https://www.creative-tim.com/product/material-dashboard-angular2#
Is there a way I can merge these 2 Angular proj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: spring.jpa.properties.hibernate.jdbc.fetch_size not working for Spring Framework 6.x and Oracle? A simple JPA application that fetches 100,000+ rows from a database is seeing a difference in performance using the spring.jpa.properties.hibernate.jdbc.fetch_size with Oracle for Spring Framework 5.x.
Spring Boot Ve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do I show distinct column (Name) and the numbers it has come up in a month or year? Name Count (*) Date
Blue 2 01-NOV-22
Blue 1 03-NOV-22
Blue 3 11-NOV-22
Green 5 01-NOV-22
Green 5 11-NOV-22
Expected
Name count Date
Blue 6 Nov2022
Green 10 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: System.InvalidCastException while adding User control to CustomTaskPane I am trying to add a User control on Microsoft.Office.Tools.CustomTaskPane myCustomTaskPane by using following line:
myUserControl = new IssueAddition(categoryList);
myCustomTaskPane = this.CustomTaskPanes.Add(myUserControl, "Issue Reporting Pan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flask backend not catching data from react frontend My ReactJS app cannot successfully send form data to Python flask backend.
When I run npm start I can see the app in the browser. The app has a form and when I submit the value, I can see that in the console.
However, even after running flask run, the value is not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Vectorize a For Loop that search for elements in another array I have two arrays that look like this:
Array 1 (locs_array) is a 2D array containing pairs of values I call lon and lat e.g.
array([[-122.463425, 47.195741],
[-122.498139, 47.190166]])
Array 2 (parents_array) is also a 2D array containing the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the IP (Virtual Network) of my cluster? I have some questions regarding Kubernetes:
*
*I currently have a kubernetes cluster I wanted to know if it was possible to change its ip to put it in an offline network (how to do it?) If so, does it keep the PODs or do they need to be redeployed?
*And if it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best way to create a hash table out of an array in Swift? How would you write this line of Java code in Swift? :
Map<Integer, Integer> map = new HashMap<>();
or
How would you write this line of Python3 code in Swift :
hashmap = {}
Thank you.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75608231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: find maximum value/output by optimizing lpsolve or mixed interger program in r I have a dataframe that consist of ids and an output column. Based on a given constraint I would like to find the optimum solution that maximizes output values. I believe this could be found using lpsolve?
library(dplyr)
df<-structure(li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Normal distribution with real standard deviation I need to generate a normal distribution variable with standard deviation as real.
I understand that $dist_normal only expects integers.
How can I use real type arguments?
I have tried using the Verilog-A $rdist_normal and failed compilation.
Other than that, I have n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ftp names of dirs and files are shown with date in it I'm despairing! Ubuntu 22.04: Today I wrote a bash-script and tried to concat date-cmd_filename as new filename (to store in an archive-dir). I did it with 'try-n-error' - silly me! Now the script works fine, BUT - since then, all changed dirs and filenames ONLY ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Router DOM not rendering elementys Code of App.js
import './App.css';
import Header from "./component/layout/Header/Header"
import Footer from "./component/layout/Footer/Footer"
import Home from "./component/Home/Home"
import ProductDetails from './component/Product/ProductDetails';
import {BrowserRouter as Ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Joining POSIX threads I have the following situation:
In my C code under Linux I start a number threads in sequence with phtread_create(). Once this is done I invoke pthread_join() in a loop for all of the threads above, in the order in which they were created. Since I don't know when a given thread is going to term... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is YOLO-v7 actually better than the previous versions? The YOLO-v7 paper shows good improvement in terms of performance and speed over the previous methods. Could people reproduce the results? I have started working on an idea to improve the detection of small object performance. Can anyone suggest which version of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to set a elements Max length with a complex type/any inside of it? Is something like this possible? I am trying to see if it’s possible to actually set a max length constraint to an element that contains an in xsd.
<xs:element name="example">
<xs:simpleType>
<xs:restriction base="xs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stripe checkout not working in iOS web view I'm creating a native app using react-native-webview that wraps a Bubble application. When proceeding to checkout in an iOS device, the screen quickly blinks like it is loading something but nothing happens.
Another point that is worth noticing is that when I open the app,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get-AdfsClaimsProviderTrust Sort by Expiring Token Powershell I am trying to display expiring SSO ADFS certificates and want to sort them by the date of expiration. Right now it is currently sorting by name. I am not familiar with these functions so any advice helps:
$Trusts = Get-AdfsClaimsProviderTrust |
Select na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker won't startup - "Hardware assisted virtualization and data execution protection must be enabled in the BIOS" Whenever I try to open Docker Desktop I get the error saying "Hardware assisted virtualization and data execution protection must be enabled in the BIOS".
So far I tried:
*
*Turning off Hyper-V funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show hide HTML code based on keywords not working I've created basic code for showing/hiding code based on keywords, but it's not working. Why? I've tried in many ways, but not working. It always shows though it doesn't meet the conditions.
$(document).ready(function() {
var dateKeyword = "[aaa]";
if ($('body:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: My Image file from the database is not being displayed in my view(Laravel) Every time I try to retrieve my image from the database, my image is not being displayed.
Here is my controller:
<?php
namespace App\Http\Controllers;
use App\Models\County;
use App\Models\home_owners;
use App\Models\pricing;
use App\Models... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make policy transactions without billing center server up? I have tried to change the gosu class from IBillinPlugin to standalone plugin and tried. But am getting error in different classe
i have explained and expecting
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75608257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: QGis saves polygon output as empty layer I have a task in QGis where I need to run Dissolve and then multi-part to single-parts on a layer of polygons, outputting to a file. However, rather than containing polygons, the final result is an empty layer.
I successfully run dissolve outputting to a temporary layer and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nested Query Into a Brand New Table Could someone please help me by showing how to make subqueries or nested queries into brand new tables. I have this kind of long query (pasted below), but apparently I'm missing something to be able to make into a brand new table. Thanks in advance
SET DATEFIRST 5;
SELECT * INTO N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there a C function to clear command line input after a program execution? (Windows especially) I am writing a basic program in C using Windows API to read from standard input and display it flawlessly on the standard out. The whole program works great but as soon as I quit the program, there are some trailing cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to maintain release versions of the API Is there a way to maintain history of API releases in Apiary Blueprint? I would like to show a dropdown with release versions on my API documentation page so that user could view documentation for a specific version of the API. May be by telling Apiary to list all branches... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement a lock in software when no hardware atomic operations are provided? How to implement a lock in software when no hardware atomic operations are provided?
In Boost.Lockfree documentation, they say that:
Some architectures do not provide the necessary atomic operations in natively in hardware. If this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GET method not supported in SpringFrameWork even though I'm using DELETE instead I'm trying to create a simple web page that allows CRUD operations to be made on a driver class. In my Driver controller class, I have the following functions to delete a driver.
@GetMapping("/delete/{id}")
public String borrarPerso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: minimax function for Tic Tac Toe not behaving correctly (javascript) After hours trying to implement minimax as an AI for tic tac toe, I jus't don't know what to do anymore. The AI won't make smart choices, it seems like it just chooses the first move that it can. This is my first time trying to implement something ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can someone explain what this below code does? Can someone explain me the below code:
from __future__ import print_function
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
eprint("abc", "efg", "xyz", sep="--")
just didn't get what this code is for? can someone explain it better... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: In a Visual Studio C# Console Application do dll files include their dependencies installed let's say I have a dll called Tuna.dll and in that dll I have a class named Tuna which is dependent on another class in another dll called Pork.dll. If I then use Tuna.dll in a new project as a dependency would I also have to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Run different git commits against a fixed input file in Java I am working on a git repository and my code is in Java.
The main functionality of my repo is that given an input json (input.json), it outputs a json file (output.json) (I omitted the details). The output.json file has some parameters. I want to see how m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Customize panel inside google My Maps named #featurecardPanel I need your support for a particular question. I developed a custom map with google MyMaps and I inserted the related code on my site. Unfortunately the map shows a sort of black band at the top, which I don't like and which I managed to eliminate by work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting up Managed Grafana with Amazon RDS im trying to set up a managed grafana instance in AWS and configure a datasource to pull from a RDS database (public ip). When i test the connection i get a 504 response
i can successfully connect to the connection via mysql workbench. however, with the same connection info... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Volley JSON array not displaying I tried to display all the details of users from my mysql database with php and volley.The response is not showing on the activity.
private void get_users()
{
StringRequest request1 = new StringRequest(Request.Method.POST, url, new Response.Listener<String>() {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modify request body using action builder in play 2.2.x I am new to both play framework and scala. I have to implement an action builder,
Which communicates to a Rest end point and update my request body so that it can be used in the controller.
My current action builder is as follows
package common.auth
import play... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is Gitkraken client failing pull changes from remote repository on github? Im using gitkraken desktop client on macOS for a few respositories, I have two ssh keys associated with 2 different github accounts. From the termnial I am able to pull and push changes to repositories with the specific keys associated wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I concisely bind a member function invocation to a flat function pointer of the same signature? I'm working with a non-modifiable interface that looks something like this:
struct Foo {
static Foo* get() { static Foo foo; return &foo; }
int (*func_ptr)(float, double);
int func_impl(float x, double... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combining Text and Categorical Features I have a dataset that contains a text review for a restaurant along with some categorical features about the reviewer (Age, sex, location). How do I combine my text features with my categorical features into my neural network.
I've read that you can make the categorical featur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can i delete item from database? ASP.NET CORE 6 I have this entity:
public class SimpleTask
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
public string? Description { get; set; }
public ApplicationUser? User { get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why SideEffect is neccessary? When I delete this method used in the Google theme class, there is no change. Google documents are also incomprehensible when explaining this topic as usual. Different articles have confused me with different explanations. Is there truly a simple explanation for why we need to use this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: does not work height: 100vh; when using @average I am not able to make height: 100vh work; when the window has a resolution lower than 1000px, follow the code. I tried several ways to make it work, but I can't
@media (max-width: 1400px){
#child{
height: 100vh; /* does not work */
}
}
#father {
z-i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have to reduce this until the intger has a length of 1 number I don't understand why recursion is giving problems.
I expect to do a recursive sum until I get one number.
def digital_root(n):
numeros = list(str(n))
r = 0
if len(numeros) > 1:
while len(numeros) >= 2:
for numero in num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: URLSession mysteriously fails on cell network only Call made like this
let jsonData = try JSONSerialization.data(withJSONObject: requestBody)
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.httpBody = jsonData
let (data,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reversed print / logging output from piped commands in R Can anyone explain the reversed order of the printed output from this R script:
test_pipe = function(dta, txt) {
print(txt)
return(paste(dta,txt))
}
strg = '0'
strg = strg %>%
test_pipe(1) %>%
test_pipe(2) %>%
test_pipe(3)
print(strg)
Returns
[1] 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can anyone help me Ansering this question What is the significance of changing the Time and Currency Format to the proper location and settings? What are some of the things that may go wrong if your settings are incorrect?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75608313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Ask "yes" or "no" in flutter dialog? I want to ask user "Yes" or "No", to continue (or not) some action. I have code that shows alert, but don't know how to close automatically alert dialog after user have clicked one of the two buttons.
bool showAlertDialog(BuildContext context, String message) {
bool returnValue... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CombineLatest does not unsubscribe I have a function that creates a user and a session, it also uses combineLatest to call another function when both the user$ and the session$ observables have been updated:
public createUserAndSession(): void {
this.userService.createUser(this.form)
this.sessionService.createSe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React memoizing the fetch result and fetch again only if new item added to the list I have a function that makes an API call with the product titles to OpenAI to generate a recipe when the button is clicked. I am getting the list of products from the basket and if no new product is added to the basket I just want to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inject execution context to writer in JobBuilder In the following Spring Batch sample I need to inject execution context into itemReaderStatement so that I can put an item there in order to use it in Step2.
@Bean
public Job sampleJob() {
return new JobBuilder("sampleJob")
.repository(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a diagonal border-left With css I am trying to create a diagonal border in this shape using some functions in CSS.
Is there a function in CSS: to create something like
This is the shape i had already create
This is a example how i want to transform it
a function or the code to reach something like this
Want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I solve "error: externally-managed-environment" everytime I use pip3? error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Iterate over mixed type slice I need to have different types of structs in a slice. But I can't access the field values of each struct.
package main
import "fmt"
type X struct {
Type string
Num int
}
type Y struct {
Type string
Num int
}
type Z struct {
Type string
Num int
}
func main... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Change color of h1, h2, h3 when hover over parent I would like the color of the h1, h2, and h3 elements to change when I hover over their parent div.
The parent div has the CSS class.a and the div that contains the h1, h2, h3 has the class b.
My CSS code is:
.a:hover .b{
background-color: red;
color: white;
}
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert stringified data class to data class Object Kotlin I have a data class converted to string using
network.toString()
Result:
Network(addressRegex=^(0x)[0-9A-Fa-f]{40}$, memoRegex=, memo=false, network=ETH, enabled=true, withdrawMin=14.0, withdrawFee=7.03)
I want to convert it to Network Object, is there any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read and process data files from folder, add column based on filename and merge I have .csv files in a folder for 10 different people. The files are named "data_m1", "data_m2", etc. I want to create a for loop to read all the files, process them by applying certain functions and creating new columns as features, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: if statement and group_by function The code below works perfectly fine for my problem. However, I would like to apply the code if the conditions of ProjectID=="18" | ProjectID=="48" are true.
Here is my code:
IDD_nhmap <- IDD_nhmap %>%
group_by(ProjectID) %>%
bi_class(x = svi,
y = race_hisp,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Сharacter Сontrol script based on specific int variables is not working. How to solve this problem? In my project, I'm trying to use brainwaves to control a character. The BCI device transmits wave data. Below is a script that contains helper methods to work with my BCI values.
///<summary>
///
/// Contains help... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running Total In Query Using Debit & Credit Transactions Running Total in Query: I am attempting to create a query that has running totals using Debits & Credits. I can get this working in a Report but for this example i need a query and am not coming up with the correct formula here. The formula I am using for Ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Attempting to create card game javafx - need help please So i have created a Cards class, Deck class, DealGame class, Crazy8 class (supposed to be the game rules) and then the controller class. I began creating the rules in the Crazy8 class and i haven't been able to call the specific method yet. also, I began creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Python pytesseract ModuleNotFoundError: Windows I'm kind of new to python and still learning. I've just installed my first package via pip on windows. And went with pytesseract. Now I'm having a ModuleNotFoundError: No Module Named 'pytesseract'.
I've tried alot of the suggestions I've been able to find, like updati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web scraping in Python without knowing the website structure [Begginer]
This is a more theoretical question and the attempts made were in Python, a language in which I am more familiar. I got a task where I was supposed to receive multiple URLs (>200) and I was supposed to scan each and every one of them to look for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Android\Android Studio1\jre
its showing me this error in react native please help, i am setting it up but it is not opening virtual phone screen
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75608343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Codeql extract local dataflow of a java method takes so long I want to extract the local data flow of a Java method. So far I have this query to extract wherever a variable is accessed, declared, or assigned within the function:
/**
* @name Empty block
* @kind problem
* @problem.severity warning
* @id java/examp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular Firebase update phone number I know there are a lot of questions out there about how to update the phone number of a firebase user.
However, is there a way to do it without doing the validations?
I want to change the phone number, even if the user can inform an invalid phone.
I'm not using it as authenticati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a new Instance to a Simple Java game without breaking already existing game's layout? I have been trying to fix some issues for a few days with no results, I'll add the most important lines of code below, where most likely my problems are.
Added full code here: https://pastebin.com/fs6e7aPW
What this game... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a Random Subgraph from a Starting Node I have this network graph in R:
set.seed(123)
library(igraph)
# Define a vector of names
names <- c("John", "Alex", "Jason", "Matt", "Tim", "Luke", "Shawn", "Henry", "Steven", "Scott", "Adam", "Jeff", "Connor", "Peter", "Andrew", "Dave", "Daniel", "Benjamin", "Joseph"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot find class o.quarkus.amazon.lambda.runtime.QuarkusStreamHandler when invoking Quarkus Lambda I followed the online Quarkus guide for creating a Quarkus AWS Lambda function, using Quarkus 2.16. Instead of using the initial maven command the project was created with the Eclipse Quarkus add on using the extensio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When I print my function to print the return values, it is asking for all the inputs all over again, when it should only ask one time When I run this program it should ask for the weight 4 times, and return the values from the other functions. But once I enter the value 4 times, it re-runs it and asks for all the va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Syntax for using colon for log filters when creating through Google Cloud CLI I'm trying to create a logs-based alert using Google Cloud CLI. I need to be able to search for "contains" as opposed to "equals" and all of the documentation says that the colon is the logs query language to achieve this. Unfortunately, w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not initialize class org.gmock.internal.cglib.proxy.Enhancer Working on technology upgrade (java 8 to Java 17), I have following dependencies in class path
+--- cglib:cglib-nodep:3.2.10 (n)
+--- org.ow2.asm:asm:9.4 (n)
+--- org.ow2.asm:asm-util:9.4 (n)
\--- org.ow2.asm:asm-tree:9.4 (n)
getting following excep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tightly couple properties of 2 interfaces using generics I don't know if this is even possible using typescript, but want to be sure to learn something new today. :)
The idea is to create a simple component in React using Typescript.
The usage of the component should look something similar to this one:
<Grid gridTem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to execute a JavaScript function twice in Blazor I am currently developing an application in blazor to download a zip, however the download does not work for me, I have the zips on a server and through an api type controller that is within the same server I recover the routes and through blazor consume that endp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Outlook 365: Revision of Voting Data I sent out a poll via Outlook with an Approve/Reject for official voting. However, several people opened it on an iPhone and did not see the voting buttons, simply replying "Approve" to the email. Is it possible to append/edit the backend data to reflect their votes?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75608361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R Shiny: insertUI/removeUI does not work with navbarPage This is almost a verbatim copy of the code found here: https://shiny.rstudio.com/articles/dynamic-ui.html
However, simply changing from fluidPage to navbarPage in the UI renders this completely nonfunctional. What needs to be done to make this work?
library(sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send terminal commands from Python? Basically, I need to send bash commands that were generated in a script directly to the terminal from where it was run.
I tried using os.system and subprocess, however those methods don't work as I would expect for commands such as cd, or expanding ~ to a username automatic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django detailview in bootstrap modal How i can get detail view in bootstrap5 modal? (Without jquery please).
Modal opens from link(no from button).
A: Welcome at stackoverflow! Please take another look at https://stackoverflow.com/help/how-to-ask
We need more context to be able to help you. From your information I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GroupBy and Filter with Pandas, but using `value_counts` With a DataFrame having 2 columns a and b:
df = pd.DataFrame([[1, 'x'],
[1, 'y'],
[2, 'z'],
[1, 'x'],
[4, 'z'],
[1, 'z']],
columns=['a', 'b'])
I w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problems with keeping python based discord bot online Ive tried to keep my bot up and running 24/7 for discord but when i tried to follow a tutorial, i kept getting an error that no one else seemed to get. I use replit.
from webserver import keep_alive
import discord
import os
import requests
import json
import rand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Use a type as alias for generics with constraint I have several generic functions that use the same generic type that is bounded to a given type and defaulted to other type.
Something like this:
function pepe<TInterpolationMap extends object = StringMap>(key: string, ownOptions: TOptions<TInterpolationMap> | string)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Set the position of the children of a gameobject to 0,0,0 in unity3d I have the following problem. I am using SceneManager to teleport my main character from a scene to another. Whenever i teleport him, it keeps teleporting to the object trigger position.
private void OnTriggerEnter(Collider collider)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75608386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |