Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

I would like to chain two BLoCs. My app supports multiple accounts. Therefore, I have a global BLoC that contains the currently selected account (GlobalAppCubit with GlobalAppState). Then I have ...
3 votes
0 answers
58 views

I noticed that some of my mappings were being executed multiple times and decided to investigate. I found out that chaining multiple ObservableValue#map calls, then adding a listener to the result ...
4 votes
1 answer
233 views

We are working with Kotlin's Result class and the mapCatching function, which takes a transformation function that may return an arbitrary type. In our case, the transformation itself can fail, so we ...
Domi W's user avatar
  • 653
0 votes
0 answers
87 views

please help me to understand. This code doesn't work the way I think it should work. What am I doing wrong? Add() method of A class return refference to newly created object in chlds vector. Then i ...
user003's user avatar
  • 11
0 votes
1 answer
65 views

I'm trying to group functions together in javascript, though I have some difficulty understanding how to keep track of the groups. In the below example, my question is: How does: "some.get('...
simon's user avatar
  • 2,397
1 vote
3 answers
233 views

I'm currently working on a project where I need to perform conditional replacements in a Pandas DataFrame. I've implemented a solution, but I'm wondering if there's a more efficient way to achieve the ...
3 votes
1 answer
77 views

I am reading a csv file and need to normalize the column names as part of a larger function chaining operation. I want to do everything with function chaining. When using the recommended name.map ...
1 vote
1 answer
54 views

I am creating a correlation matrix from which I want to obtain the max positive correlation value. Applying max() to the corr() results will just return 1.0 for the correlations along the axis, which ...
David A's user avatar
  • 75
0 votes
1 answer
56 views

I have a stream of text that I send to a function to turn into speech. I send the text sentence by sentence for better latency. The issue im running into is handling interruptions. Right now, I send ...
0 votes
0 answers
31 views

I am confused about the implicit call which is chain call: WebDriver driver = new ChromeDriver(); driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(10)); driver.manager(); return a ...
0 votes
0 answers
92 views

I have the following code which tries to get a /ready endpoint of a service until it returns OK and then makes a call to that service when it is available: @PostConstruct void registerMetadata() { ...
0 votes
1 answer
245 views

Normal command chaining methods work normally, for instance: $ (SCRATCH='heya'; echo $SCRATCH) heya Or using the logic operator && yields predictable results: $ (SCRATCH='heya' && ...
2 votes
5 answers
85 views

I have a dataset: import pandas as pd data = [ ('A', 'X'), ('A', 'X'), ('A', 'Y'), ('A', 'Z'), ('B', 1), ('B', 1), ('B', 2), ('B', 2), ('B', 3), ('B', 3), (...
-1 votes
2 answers
158 views

I'm new to Python and I come from the R environment. One thing that I love in R is the ability to write down code that will make some many transformations on the data in one readable chunk of code But ...
0 votes
1 answer
116 views

I am trying to do an (expensive) computation from a function which gets called very often and needs to return as quickly as possible. The computation itself doesn't need to be done quickly, it's more ...

15 30 50 per page
1
2 3 4 5
...
68

AltStyle によって変換されたページ (->オリジナル) /