Questions tagged [subject]
394 questions
12
votes
1 answer
How to set an umlaut ü in the mail subject
I need to generate German e-mails which contain umlaut characters. In the e-mail itself this works perfectly, but not in the subject of the e-mail. I've tried many different umlaut letters and they all seem to work except for the ü. I also tried…

Sander
- 339
- 1
- 3
- 11
12
votes
1 answer
Line break inside HTML tag attribute value
How can I insert line breaks inside HTML attribute values, like this:
When the user replies, the body part should display as below:
Please…

Sinduja Visvanathan
- 159
- 1
- 3
- 6
11
votes
1 answer
Purpose of "completing" an rxjs Subject?
What is the purpose of calling complete() on rxjs Subject?
As an example:
Calling complete on takeUntil() notifier Observable. Why do we need to do that, and not just call next() and be done with it?
P.S. If it's just a convention, why is it so?

Viacheslav Guselnykov
- 121
- 1
- 4
11
votes
2 answers
Get current value of Subject.asObservable() inside Angular service
I want to write a simple toggle inside an Angular2 service.
Therefore I need the current value of a Subject I observe (see below).
import {Injectable} from 'angular2/core';
import {Subject} from 'rxjs/Subject';
@Injectable()
export class…

Sommereder
- 904
- 4
- 10
- 32
10
votes
2 answers
Angular 6 + RxJS 6.0 : How to push new element to array contained by Observable
I am receiving data from firebase server in chunks while rendering that data requires a library which insists on observable contains Array. I am somehow unable to push a new data chunk to existing data chunk array contained by observable,
From…

Alok G.
- 1,388
- 3
- 15
- 26
9
votes
3 answers
Should I use "$" sign suffix for Subjects in the RxJs and Angular?
So I have this question about $ sign suffix naming convention in the RxJs code and Angular specifically.
In angular best practices documentation and in the overall I have found that we should use it when declaring the Observable, but haven't seen…

Piotr Bartoch
- 407
- 1
- 5
- 18
7
votes
2 answers
Why do combined observables do not update template when using Subject or if they emit after ngAfterContentInit
I define an observable (result$) in a component and I display it on its template via the async pipe. The observable is a combination of other 2 observables (first$, second$) via combineLatest.
If one of the observables, or both, emits too early…

MartaGalve
- 1,056
- 3
- 13
- 34
6
votes
3 answers
Multiple subscriptions nested into one subscription
I find myself puzzled trying to set a very simple rxjs flow of subscriptions. Having multiple non-related subscriptions nested into another.
I'm in an angular application and I need a subject to be filled with next before doing other…

Zacharie Ménétrier
- 306
- 2
- 7
6
votes
2 answers
Order of subject attributes in x509 certificate
Is there a particular order in which the subject attributes - C, ST, L, O, OU, CN have to specified. openssl does not seem to enforce an order.
And while generating the Distinguished Name do we pick up all the subject attributes configured in the…

Bharath Shetty
- 109
- 1
- 8
6
votes
2 answers
How to know which X509 Certificate Signed another Certificate (Java)
There are three certificates in my example, assume they form a chain but i don't know yet which of them signed which:
X509Certificate c1 = ....
X509Certificate c2 = ....
X509Certificate c2 = ....
I would like to know which certificate is…

CodeFactory.DEV
- 470
- 8
- 20
6
votes
2 answers
Compute the mean for each subject for different conditions
Although I know how to compute the mean in R, I can't seem to understand how to do it for different conditions. Other posts that I have read were not as complicated.
> Target/dictractor TrialType Bin0 Bin1 Bin2 Bin3
1 …

Irini Symeonidou
- 61
- 2
6
votes
2 answers
How to encode mail subject in perl?
How to encode mail subject in perl ?
Now I finally found something but it's still not working :
use MIME::Words qw/encode_mimewords/;
$recipientsubject = encode_mimewords('Votre fichier a bien été envoyé');
But the (bugged) result is :
Subject:…

Denis BUCHER
- 310
- 4
- 16
5
votes
1 answer
Is there an equivalent to BehaviorSubject that doesn't require an initial value and is able to provide the current value?
Looking for the same functionality as BehaviorSubject but without having to provide an initial value.
I often need to subscribe to a subject before my data gets loaded from whatever source I load it from. I also need the subscription to fire…

user1969903
- 810
- 13
- 26
5
votes
2 answers
Subject Subscription is triggered twice when I call .next() once in Angular app
i'm trying to create a reusable Modal component.
in a ModalService i have a Subject, and a method that that calls next() on the subject.
The ModalComponent subscribes to that subject, but whenever the method in the service is being called, the next…

Itai
- 387
- 1
- 7
- 15
5
votes
1 answer
How to combine multiple Observables together in Angular 2
So I've just started programming with Angular 2 and just got started on learning about subscribe, Subject and BehaviorSubject. Currently I have multiple subscriptions to obtain values stored in my service and emitted to a component. My application…

mshantic
- 53
- 1
- 1
- 4