All Questions
20,309,629
questions
0
votes
0answers
5 views
Avoid using `self` ad nauseum in method of class
I've written the following approximation search class in Python:
class Approximate:
def __init__(self, xi, xf, dx, n):
self.xi = xi; self.xf = xf
self.dx = dx; self.xs = xi
...
0
votes
0answers
3 views
PySpark: performance difference map() vs withColumn()
I'm still relatively new to Spark programming.
I have a table with over 100 columns. I need to remove double quotes from certain columns. I found 2 ways to do it, using withColumn() and map()
Using ...
0
votes
0answers
4 views
Grouping XML nodes based on the first element value in each node using XSLT
I have an xml. I need to add new xml node called SUBMITTER and group each SIMPLEQUERY node based on the first element value, which is the SUMBITTERID.
<EIPData>
<RESULT>
...
0
votes
0answers
4 views
Not hidden slided items of array during animation in MDB Angular
During animations six of items come out from div as image below.
How to hide slided elements during animations.
Using carousel from mdb for angular
Internet's fail me or I can't find answers for my ...
0
votes
0answers
4 views
BST insertion and traversal error being thrown
I am trying to insert all of these methods without recursion and when I run it in the main method it throws this error and I do not know why. I have used multiple files and classes and import them in ...
0
votes
0answers
5 views
Align text in AccordionSummary to the right?
I'm working with the Accordion component from Material-UI (https://material-ui.com/api/expansion-panel-summary/). It seems like by default, regardless of what I do, the text (specifically the word '...
0
votes
0answers
3 views
Listening to multiple Observables in a Stream
I really can't get my head around.
I have a container which is listening to a dialog. The dialog can emit different actions. Based on the emitted action I want to call some additional logic.
I really ...
0
votes
0answers
3 views
QT Android Gboard overlaps input fields
Since the last update of the Gboard Qt seems to have issues with detecting it and push input fields above it accordingly.
Gboard version: 9.7.09.323382208-tv_release-armeabi-v7a
I have a minimal code ...
0
votes
0answers
5 views
Write CSV file one segment but multiple values
I have a dictionary, segmentID's are key and times are values in it.
times={'1548812': [['00:03:00'], ['12:18:00', '12:23:00']], '5874022': [['07:43:00'], ['09:33:00'], ['17:18:00'], ['00:03:00', '00:...
-1
votes
0answers
13 views
Why Is My JSX Loop Isn't Displaying Correctly
My Loop Isn't Displaying As It Should, I Use JSX For React Native Please Help Me And Fast Please Because I Have A Deadline And Thanks
Here Is The Code
import React, { Component } from 'react';
...
0
votes
0answers
10 views
Formatting number in python to bank account format
I have tried looking around finding out how to format a number in python to this specific format. Formatting a number to a currency format was pretty easy to figure out but doing this was not.
<td&...
0
votes
0answers
4 views
How can a Vec be returned as a typed array with wasm-bindgen?
I have a Vec I would like to return and convert to a typed array with wasm-bindgen, ie, to turn a Vec<u32> into a Uint32Array. From my research it appears that wasm-bindgen cannot handle ...
0
votes
0answers
4 views
Get Region, Service and host from AWS API Gateway Endpoint
I am getting an AWS API gateway endpoint from an external application and I need to parse region, host, and service from the endpoint URL.
https://vpce-000000000000-RRRRRR.execute-api.us-west-2.vpce....
0
votes
0answers
7 views
Where is the location for sweetalert2?
I am having a hard time installing the swwetalert2 package.
npm i sweetalert2 - its fine.
the package is inside node_modules.
inside my app.css i tried different variation of the @import
@import '/...
0
votes
0answers
7 views
React “Module not found:Can't resolve error”
Whenever I create-react-app and begin adding dependencies to my project I almost always encounter a "Module not found: Can't resolve" error often with strange modules I have never imported ...

