text string | meta dict |
|---|---|
Q: How long DNS propagation will be? Could you give me some advice on a Devops issue?
In a nutshell, the situation is as follows: we transferred the site from Digital Ocean to AWS and a bunch of clients have a website that doesn't work. We have clients from all over the world.
In more detail, here's what happened.
We ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make binary mask of large .tif file fast using .shp file with polygons (GPS coordinates)? I have a large .tif file (~24 Gb, more, than RAM could store)
(Similar question: https://rasterio.readthedocs.io/en/latest/topics/masking-by-shapefile.html)
(Method from library: https://rasterio.readthedocs.io/en/late... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fatal Error in launcher: Unable to create process using "C:\Program Files\Python311\python.exe" I'm having a problem when I use pip to install a python library I get the error
Fatal error in launcher: Unable to create process using '"C:\Program Files\Python311\python.exe" "C:\Users\USERNAME\AppData\Roaming\Python\P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running Desktop application on another machine I have made Desktop Application using Java,JavaFx,Mysql and convert it to exe using launch4j and the exe worked will at my laptop but I when I tried to run this exe on another machine does’t open, I changed to Sqlite but still the same problem how can i solve this probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Does swapping two variables using the destructuring assignment not work with ES2022 method at() in JavaScript? So I wanted to swap the first and the last items of an array with the destructuring assignment. I tried using the ES2022 method array.at() to get the values of indexes:
const array = ['a, 'i', 'r'];
[array.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to update user Roles in Springboot Whenever I try to update the user role, it update the password automatically.
This is the service class:
@Service
public class UserService {
@Autowired(required=true)
private UserRepository userRepo;
@Autowired RoleRepository roleRepo;
@Autowired P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongodb most efficient way to find not linked children I have 2 collections, a parent and a child collection.
The parent knows which children are linked.
The parent:
{
_id: ObejctId;
linkedChildren: ObjectId[]
}
I now wanna find the most efficient way, to find the children which are not linked in any parent.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FastAi library for Object detection I'm trying to detect oil tanks using yolov5 the train and test seems good but while creating a function for bbox around objects I import fastai.vision as vision and to open image path I wrote vision.open_image() but Error is fastai.vision has no arrtibute named open_image I tried ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: TrojanVPN based on tun2socks library immediately disconnected We've developed trojanVPN based on tun2socks and used tun2socks library.
This is source code of VPNManager.swift
import Foundation
import NetworkExtension
extension NEVPNStatus: CustomStringConvertible {
public var description: String {
switc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can a delegate get a recurring master from the mailbox owner's Calendar folder with EWS Managed API? There is a planner app that reads appointments from the Exchange calendar located at planner@exchange.com account and does some business logic based on the appointment content. Users of the same Exchange server c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Shell another properties location how can I set another properties file location in Spring Shell?
When I try
java -jar ovh-email-creator.jar --spring.config.location=application.yaml
I got a
No command found for '--spring.config.location=application.yaml'
error because spring try to invoke that command and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python start subprocess kill it after timeout and save log file I have following code which should run the binary and terminate after 5 second and log the stdout which generated by the binary.
But the below code not logging any data to log.txt.
with open("log.txt", "w") as output:
try:
process ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I check how many occurrences there are in a list that match a certain condition in python3? In a given list
example = ["james:6823", "barry:8263", "henry:2344", "james2342"]
How would I check how many times the name "james" has occurred on the above list?
A: We could use a list comprehension approach:
exampl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why signed integer overflow in c++ is undefined rather than implementation-defined? From what I find on the net, signed integer overflow is undefined in c++ because we simply don't have only one representation for signed integers. But I can't understand why that doesn't make it implementation-defined where each impl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to keep MySQL docker container running I have MySQL container running on a docker.
the container successfully launches and does not show any errors with following command:
docker container run --name mysqldb --network app -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=root -d mysql:8
but after several hours it e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why traced sql statement has invalid format? On the laravel 9 site, I have some debugging tool in the boot method of app/Providers/AppServiceProvider.php, like
$str = $query->sql;
\Log::info(' -1 $query->sql::');
\Log::info($query->sql);
$str = str_replace('?', '%s', $str);
$str = sprintf($str, ...$bindings);
\Log:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Extracting metadata of image in python I am writing the code for extracting metadata of images in python but it does not show any output.
pip install Pillow
from PIL import Image
from PIL.ExifTags import TAGS
# path to the image or video
imagename = "image.jpg"
# read the image data using PIL
image = Image.open(ima... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Plim. DIrect (inmemory) compilation of slim source to html I need to compile small pies of slim code to html in python.
I solve this problem with code (just example)
import plim
str = 'div#sum.sum'
plim.compile_plim_source(str, plim.syntax.BaseSyntax())
# output: <div id="sum" class="sum"></div>'
It confuses me tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to refresh listview after deleting item in the adapter in my adapter I added OnLongClickListener() and it opens a popup menu that when you press deletes that item from the listview and the firestore but I didn't succeed in refreshing my listview so when I delete the item will disappear.
I used notifyDataSetChang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a custom holoviews chart from a bokeh figure? Currently, holoviews does not have charts with polar coordinate system when using bokeh extension. It's possible to draw such charts with bokeh (note: the page refers to v3, but the same code will work with v2 also).
How can I embed this code in holoviews? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problemes with SD.remove ESP32 im using an esp32 wrover by freenove to take picture and store it in a sd card. this part is working well, but i want to remove all the pictures from the sd card with code so i wrote this in the setup
//Lib Esp32
#include "SD.h"
#include "SPI.h"
#include "esp_camera.h"
#include "FS.h" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot read style properties of null (even though the line of code is inside of an "if" asking is the variable is defined In my website, there is a particular tab that only loades for specific users.
<?php if($User["UID"] == $SpaceCreatorUID){ echo "";?> <button class="button-container" id="qr-button">Mi QR<div id=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Implement Retrofit to my note app and getting below error Logcat error
2023-02-25 15:15:09.576 18889-18889/exampleapp.com.notes D/AddNoteActivity: Try Catch Block Failed.... Attempt to invoke virtual method 'int tweakup.ru.notes.models.DefaultResponse.getCode()' on a null object reference
Please note
Sending data f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Edit record in new tab in phpmyadmin I asked about this issue in 2018 on official github
https://github.com/phpmyadmin/phpmyadmin/issues/13890#issuecomment-398802146
and was told that editing in new tab will not be supported and I had to use 4.7.6 version, because editing in the new tabs is one of the killer feature... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't throw UnauthorizedException inside Guard (NestJs) I want to throw an error in one of my guards, however, this operation is not performed.
canActivate(
context: ExecutionContext,
): boolean | Promise<boolean> | Observable<boolean> {
return new Promise((resolve, reject) => {
const request = conte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: create a graph with the dataset in order to use GNN on it I have the dataset that contains material id, chemical formula, and thermoelectric properties of each material and I would like to use GNN to predict one thermoelectric property.
first I have create a structure for all the molecule of my dataset.
and would li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: User exists already validation not working js I want to check if user already exists before he can register but it is not working.
Every time I add a user into my database, I also add it into Array in js. Or at least that's what I want to do but its not working.
I do two validations: if both passwords are the same a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why can't I access an Excel file with pandas on VSCode I installed pandas on my vscode, but when I want to access an excel file with pandas.
I get an error
" Unicodescape ' codec can't decide bytes in position 2-3: truncated \uxxxxxxx escape
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stop apache2 from serving files and redirect to specific PHP file to handle the request I have built a similar framework to Laravel or Express for Node.js and it is working nicely, that is until I make a request to the path that exists on the server.
Let's say I have this file structure:
web/
|-- index.php # file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java. Unrecognized option: ЦXmx512M error: Could not create Java Virtual Machine.
in cmd:
C:\Windows\system32>java -version
Unrecognized option: ЦXmx512M
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
C:\Windows\system32>
tried running as administrator
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How not to overlap line in flutter? The text is overlapping my line.
How can I solve this problem?
I need my line to touch the circle. It's in a LimitedBox It will be a
process indicator
Column(
children: [
Container(
width: 40.0,
height: 40.0,
alignment: Alignment.center,
decoration:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make calls and gets events from php or nodejs with TAPI 2.0/2.1 under unix system? I need to connect to a pbx with TAPI 2.0/2.1 protocol, how can i make calls and gets pbx events under unix system with php or nodejs?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update sub array of object in a store I use a store in which I store an array containing objects. These objects also contain an array (Messages) that is used to display checkboxes. I would like, when I click on a "Select All" button, that all checkboxes of the selected item are selected and that this is reflected in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Allow cognito signup with same email for multiple tenants I'm currently working on structure of a multi tenant saas. I have a single cognito user pool which is used by multiple tenants (separated by custom:tenantId)
How can I configure the user pool to allow the users to sign up once for each tenant without giving e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create slider image with incaditor as a list of images on Android I need to do this UI same this image as below:
Currently I don't know how to create it. I need some examples or some existing library or some keywords to refer to, so anyone who has created a layout like this can help me suggest them.
A: I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add background music to a game in javascript I don't know what to do
I tried all means possible but it didn't work, I instead got nothing
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: ASP.NET Core Ajax return 500 status I trying to retrieve data from a database last row data base on condition and showing it with Ajax.
MachineController.cs
public async Task<JsonResult> GetStatusTableData()
{
var dataTableList = new List<MachinesStatus>();
var lastStatus = await machineStatusReposit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: come accentrare l'origine del piano cartesiano su pygame Voglio creare un piano cartesiano su pygame e di conseguenza trasferire il l'origine che si trova in alto a sinistra in mezzo alla finestra
ho provato con queste righe di codice verificando, disegnando una riga ma non va
| {
"language": "it",
"url": "https://stackoverflow.com/questions/75565506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image Conversion From Base64 - FLOATLE-Stream A Blood Analyzer Is Sending Base64 Data To Retrieve Image As Below, Can Someone explain the steps , how to get image out of it. I am coding with VB-6,
M|1|HISTOGRAM|RBC|RBCALONGRES|FLOATLE-stream/deflate:base64^Y2AAgW5nMJVwzwVIOoCYAA==|FLOATLE-stream/deflate:base64^pdR7b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Nodemailer sends email but no email body/message is displayed I have been bouncing around a bunch of different tutorials, the docs and on here but can't find the solution. And I know I'm missing a small piece of the puzzle.
I have built a contact form & email sender using Nodemailer, Angular & Firebase (Store - to h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to insert an element using .textContent const images = [
{
url: 'https://images.pexels.com/photos/140134/pexels-photo-140134.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260',
alt: 'White and Black Long Fur Cat',
},
{
url: 'https://images.pexels.com/photos/213399/pexels-photo-213399.jpeg?au... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make a conditional statement in Python, and if input is the same twice if will send an error So I made a groceries list in Python. But, if the user answer the same input such as banana twice, it will check the banana is already in the basket. How can I do this?
fruit = ['Banana', 'Mandarine', 'Apple']
usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: my sidemenu didn't show. I am using "easy_sidemenu" flutter package My sidemen shows for the first time. But when I logout and then came back to dashboard my easy_sidemenu did't show. I have attached the code please review
PageController page = PageController();
SideMenuController sideMenu = SideMenuController(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How add relative route with useRoutes and react router dom I am trying to make a router Info relative to Main, that is, that Main is accessible under the path /main while Info under the path /main/acc/update
Is it possible to do it with useRoutes or should I do it as a separate path?
Example:
useRoutes([
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: "rails db:migrate" problem : unexpected : at the code and give the suggest "why on earth is this"? I coded a very simple rails program and ran the code
rails db:migrate
to make the database, but it gave me this error
rails aborted!SyntaxError:/Users/xxx/Desktop/Rails/Addcustomfieldstousermodel/db/migrate/2023021810... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Airflow - EmailOperator is not working - Connection refused I've a DAG that will send some emails through a EmailOperator. On the past I was sending this email through pytho code with the following method:
msg = MIMEMultipart()
msg['From'] = formataddr((str(Header(header, 'utf-8')), 'username'))
msg['To'] = ", ".joi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect a .p7m file content-type, magic number and extension Trying to detect a signed file doesn't gives back the right extension and content type:
byte[] content = parameters.getBytes();
TikaConfig config = TikaConfig.getDefaultConfig();
Metadata metadata = new Metadata();
try {
In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Copying a Websocket client / Listening to an existing Websocket I am really new to WebSocket and what I am trying to achieve is basically to listen as a client from an existing WebSocket connection, or duplicate a connexion to a server.
A bit more context
On this page, there is a Web Socket that is called "notify.bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to efficiently calculate combinations of the sum of two lists, and avoid selecting combinations containing only elements of the second list? I am not the best coder, but I am trying to figure out how to calculate the number of possible combinations and actually generate every combination, but with some rules. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to retrieve query parameters from login vaadin I want to make an app where customers sit in a restaurant, and the table have QR code that leads to the site http://localhost:8080/login?table=3 when customers log in I want to get the number of the table that he is sitting.
If there is a restaurant with qr code on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add ogimage in metadata on nextjs 13? I want to add 'ogimage' in metadata on nextjs 13 to have beautiful social shares. But no information in official docs https://beta.nextjs.org/docs/api-reference/metadata
A: For NextJS 13, you can find the documentation https://beta.nextjs.org/docs/api-reference/metadata#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 14 how to convert observable to number So in my component I have :
constructor(private store: Store, private basketStore: Store<{ basket: Photo[] }>) { }
position$! :Observable<number>;
RemoveFromBasket(photo: Photo) {
this.position$ = this.basketStore.select(basketPosition(photo.id));
this.baske... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can an object be cast to an array, but cannot be passed as an array argument in PHP? If i have an array represented in an ArrayObject like this:
$arrObj = new ArrayObject([
'foo' => 1,
'bar' => 2,
]);
Then I can comfortably cast it:
print_r((array)$array);
// output is as expected
But I cannot pass it a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Logging DEBUG messages in Stormcrawler after looking at this previous question on logging in the StormCrawler, it was not completely clear to me how to enable the logging of DEBUG messages when running the StormCrawler.
By default, I only see the [INFO] logs. Is there some parameter or configuration to set when subm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mlr3 glmnet Repeated CV and Alpha/Lambda Tuning I am hoping to use mlr3 to build multiple glmnet models (classification, regression, and survival). I was originally going to use the mlr3 associated cv_glmnet learners. However, in reading further, I'd like to tune both alpha and lambda like the cva.glmnet function (h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In my Range Slider minvalue is in lac and max value in cror then how do i set those values in Range Slider? i want to set min value like 10 L and max value should be like 4 Crore. How do I do it?
tell me the solution
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to write column as numbers when exporting to Excel in Pandas I am exporting a table from HTML to Excel with Pandas. The command I am using for the export is:
print(all_tables.to_excel('master.xlsx', index=None, freeze_panes=(1,0))) # Print to excel
This works, but cells containing numbers are displayed as gener... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print variables as str? Dataframes=[df1,df2]
for i in Dataframes:
print('Name of Dataframe :'.format(i))
print('Shape of Dataframe :' ,i.shape)
i.info()
print('\n')
Here for Name of dataframe I need it as df1 and then df2
Here is my output.
I need --- Names of Dataframe : df1 (for first ite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Specify length of bar in a stacked bar chart based on a different column I have a table representing the state of a machine per cycle and what percent of time during the cycle was the machine in a particular state. It will look something like this:
_________________________________________
| Cycle | State | Percenta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why UserManager does not save user to database I tried to fix that issue by myself and tried many possible ways.
The problem is - when I use UserManager.CreateAsync(user, request.Password) and then _context.SaveChangesAsync() no records to the table is added. And _context.SaveChangesAsync() returns 0, which means th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set TTL(IP_TTL) field of a TCP socket before the connection happens? I want to change IP_TTL value of a TCP socket to 65 for example. Before connecting it to a host on a port.
package tls_ttl;
import java.io.*;
import java.net.*;
import javax.net.ssl.*;
public class TlsTtl {
public static void main(Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JLINK/JTAG failed to single step debugging some parts of codes for ARMv7 I am working on an ARMv7 based embedded system with an RTOS.
I am also using JLink (v7.00) in Linux to do code debugging.
I use the JLinkGDBServer and GDB together to do the debugging.
Sometimes the GDB failed to single step debug the code, esp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create new column from list using only the first string in the list I have a column with several strings within a list. I want just the first string in the list in the new column. Example below.
['Fantasy', 'Young Adult', 'Magical']
['Romance', 'Mystery', 'Magical']
['Fiction', 'Young Adult', 'Magical']
Tried this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Wordpress dynamic shortcodes switch with button I have 1500 image galleries with shortcodes (foogallery).
I attached filters by category for images, but few filters i will have to remove from gallery plugin. It would be too heavy and dramatically increase loading time.
I came up with simple (in my mind at least) sol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to determine the API version in Python? I am converting the Java code of a program to Python
Somewhere in the Java code, there is the following piece of code that I need to use apiVersion("v1") in the request I send, but I don't know how to implement this part in Python.
void setUp(){
ApiConfig apiConfig ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Angular FullCalendar events array refresh I implemented a project in Angular with fullcalendar, where I get the events array from a BackEnd server and create a JSON array in Angular.
When I update this, there is no way I can set it to see the new event without reloading. How can I do this?
CalendarOptions declaratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read PCG points with acdbProcessPointCloudData in AutoCAD ObjectARX I have taken reference from the below to read PCG points.
https://forums.autodesk.com/t5/objectarx/how-get-the-points-from-point-cloud-entity-by-loading-the-p...
The status of acdbProcessPointCloudData is eOk, but not getting any points from the pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: need to retrieve data from a different table that includes the text of the current table column in power bi I have a sysid and a status column in table 1, and I need to search for and retrieve data from table 2's sysid column that includes the text from table 1's sysid column.enter image description hereenter image ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How a user can change password when signup with google, facebook, apple and other social sites in firebase (web/react)? When users signup with social sites like google, Facebook and apple, Is there any possibility that they can change their password and next time when they want to login they just use their email(use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Checking if the input field is completed **how can I check if the input fields are completed when clicking the Submit button? I'd like to alert if one of the inputs isn't completed or, if they all are completed - display a component in the App.vue file. But my validation checking seems not to be working.
<template... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is there an error cannot find module @electron/remote/main when installing the application? I am developing an application on Electron.js, for communication between the main process I use
require('@electron/remote/main').initialize()
when I run an unbuilt application, everything works, but when I compile the pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GeoFencing not working with Geolocator in Flutter I am getting this error while debug build my flutter app.
Because easy_geofencing 0.2.0 depends on geolocator ^7.7.1 and no versions of easy_geofencing match >0.2.0 <0.3.0, easy_geofencing ^0.2.0 requires geolocator ^7.7.1.
I am using geolocator: ^9.0.2 and easy_geof... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jira Rest Api to fetch assignees giving limited result I am currently using below rest api for non-cloud jira server to fetch assignees, it is just giving maximum 100 assignees, and pagination is also not working after 100 though many users are present.
<Base url>/rest/api/2/user/assignable/search?project=<project k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase Cloud Messaging - Make device vibrate when sound is on I have code written in C# to send notfications to a specific devices using Firebase Cloud Messaging:
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", "application/json");
client.DefaultRequestHea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sort adsets according to campaign insights using FB GRAPH API Here's how i am trying to sort ad sets by impressions insight in descending order and filter by campaign objective and ad set name using the Facebook Marketing API
/{act-id}/adsets?fields=name,status,campaign{objective,insights.date_preset(maximum)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Different rounding between int and double type in c++? #include <iostream>
#define MEGABYTE 8000
using namespace std;
int main(void)
{
double bit_rate, duration;
double size1;
int size2;
cout << "Bit rate = "; cin >> bit_rate;
cout <<"The duration in minutes of a video clip: "; cin >> dur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: run.bat file results in .jar program errors Error message when I click the run.bat
C:\Users\Jessica\Pictures\2023\Roger\scraper\scraper>echo off
C:\Users\Jessica\Pictures\2023\Roger\scraper\scraper>java -cp scrape-shopify-products-1.0-SNAPSHOT-jar-with-dependencies.jar;. org.play.ScrapeShopifyProducts 1>output_02_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Execution exception on getting value returned by acquireTokenByAuthorizationCode I have cloned the partnerconsent project - https://github.com/Microsoft/Partner-Center-Java-Samples/tree/master/secure-app-model/keyvault from GIT to my local Eclipse.
I am getting an Execution exception on the line "future.get()" even ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get random value from a subset of a list? I am making primitive anime generator. I know how to get just random value from the list. I want to ask the user which genre of anime he'd like to watch using input function and then get random value only for animes that have the genre that you user entered in input.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python telegram bot password To get information from the telegram bot, you need to enter a password. If the password is incorrect, how to write a code to make it not provide information, please help.
def start(update: Update, context: CallbackContext):
update.message.reply_text('Добро пожаловать')
while True... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple errors when running npm start on TypeScript project with Webpack (TS1005, TS1009 & TS1128) I have created a basic setup while working on a TypeScript tutorial which also uses Webpack. Unfortunately when running npm start I get multiple TypeScript errors indicating that some files in node_modules are missing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: The value of result is not showing while running the app in flutter I was developing a BMI app using flutter and while running my app I won't get the value of 'result' printed within my app even its called within the setState.
I tried too many times but the value of BMI is not able to print on screen but when I put ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does decompose by business capability mean, in other words, by business features according to microservices? In microesrvices, does decompose by business capability mean, in other words, by business features?
For example, I have domain "documents" and the features are: "feature-management", "feature-edit", "feature-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Setting Pisma, Graphql, typegraphql-prisma project in a serverless aws lambda project I am trying to configure a project that users Prisma, Graphql and serverless aws lambda. I am to use typegraphql-prisma.
This is my serverless.ts file. This was created when I am initilizing the project with 'serverless create --te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Metricbeat in docker container to monitor host containers I am attempting to get all the metrics from all the docker containers running on a host. I am using the following command below to run metricbeat in a container but I cannot see any other containers. I have seen various post where this is feasible so I must h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I'm making a Fee Challan as a practice in Java Swing, It's my first time using Swing and I wanted for wisdom from you guys to further this practice I have made three classes and I have put all the UI code in a different class and used method for labels, text fields etc so it does not mix up. Please look into this co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Executable on host request vb6 first I am not sure even if this will be possible, but I'll try to explain, and I'll wait for answers.
I have a small project which works with executable files, here is the example, it's not the full code, just some part of the code, so:
Dim x() As Byte
Open App.Path & "\Myfile.exe" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I migrate database in ansible or in docker-compose? (best practices) I am designing deployment flow for backend. I have to start application and migrate database in nearly the same time.
I am considering options:
docker-compose
entrypoint: ["/bin/sh","-c"]
command:
- |
node migrations/in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Oracle SQL Nested Case When Invalid Number of Arguments I have 3 levels nested case when statements, I made sure every case has its own else end, but still gives me error invalid number of arguments, what's wrong here other than nested functions and undefined parameter ?
case when cnumber > 999999999999.99 then 'Ple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: i cannot print values to the console from appended 'input' and 'select' using jquery I have made a div which contains a select col and an input field. It is appended when users click the 'add new' button. I have to get the values to print in the console. I am successful in printing the values but only the first time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NextJs not showing proper page on load (showing / ) I'm using nextJs on aws s3 and the site works all for one element : when I access directly the url /blog for example, nextJs doesn't show the proper page, it shows the /index instead of /blog.
How can I debug that and correct the issue ?
Thanks
A: Check the consol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combine Two Different BeautifulSoup For Loops in a row I'm getting data in two different for loops with BeautifulSoup, but I couldn't find how to combine data from these two different loops in excel.
file = open('/path/test.csv', "a", encoding= "utf-8", newline='')
writer = csv.writer(file)
writer.writerow(["Phone N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create account for firebase function not working properly I am trying to create email, password and some relevant data from textformField and saving it on firebase authentication and Firestore Database. I have also added some condition to check if there is any existing email in the authentication and username in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I link swift object files with ld or clang? I have two swift files. main.swift and other.swift.
I compile them as such
swiftc -emit-object main.swift other.swift Greeter
When I do:
clang -o Greet main.o other.o
I get:
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RFID and fingerprint scanner in one python script I wrote two separate scripts for the RFID and fingerprint scanner which check for ID and data on the tag or a positive answer from the fingerprint scannner and execute a ssh command. I would like to merge them into one script with the script detecting wether a RFID t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a dropdown menu on shop pages and Gutenberg blocks in WooCommerce? Is it possible to add a dropdown menu to the options button in WooCommerce?
We are planning to sell tickets to online courses, and we want people to see the list of available dates and pick one right from the front page, from the WooCommer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Connection between C# Web api and redis cache containers I try to connect from C# web api to redis database, but it always fail with error:
"No connection is active/available to service this operation: EVAL; UnableToConnect on http://localhost:6379:6379/Interactive, Initializing/NotStarted, last: NONE, origin: Begin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: style label of checked checkbox, the label is nesteed in another div So I'm trying to style the label of the checked checkbox, while nested in another div.
I can target all the labels, but not the label "connected" with that checkbox
I can't get it to work.
<input id="tab-button-1" class="hide-radio" type="radio" na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I tell web carwlers like google that my website has multiple websites? I have a News website, It has category pages, subcategory pages and tags. In the same WordPress install, It has a mini website using pages and child pages. Would it make sense if the isPartOf scheme data for the mini-site child pages to s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Does AnimatedList Widget behave like ListView.bulder in terms of storing data in memory with visual content only? I decided to use AnimatedList Widget instead of ListView.bulder Widget because AnimatedList Widget provides me with an amazing animation
my content list contains big data like videos ,images text .. etc ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |