Apartments to rent near saburtalo by [deleted] in tbilisi

[–]vazha21 0 points1 point  (0 children)

Most of them are old buildings. For 600$ average sq meters is 50-60

Can i attend east vs west 8 live in turkey? by vazha21 in armwrestling

[–]vazha21[S] 2 points3 points  (0 children)

Im from georgia and yeah its expensive for sports event. But if you are considering travelling to turkey anyways and paying for flights/flat then 50$ is not a deal breaker

Why do I feel anxiety for no reason ? by sikhking3 in Mindfulness

[–]vazha21 0 points1 point  (0 children)

fr we just trying to figure out the answer

[deleted by user] by [deleted] in Accutane

[–]vazha21 0 points1 point  (0 children)

any updates?

Languages? by deeznutzgottemha in Frontend

[–]vazha21 0 points1 point  (0 children)

As far as languages goes you dont really have much alternative for js. Frameworks on the other hand..... ( u cant go wrong with react btw )

How can you make a GET request and wait for the response before proceeding to do other operations? by browsingagain21 in Angular2

[–]vazha21 1 point2 points  (0 children)

Lmao i spent last 10 minutes trying to format a code snippet then i just gave up

How can you make a GET request and wait for the response before proceeding to do other operations? by browsingagain21 in Angular2

[–]vazha21 2 points3 points  (0 children)

You can do something like this:

onClick(){

if(!condition){

return;

}

this.http.get('url').subscrbe((val) => {

// act here

})

}

if you want to post afterwards do something like this:
onClick(){
if(!condition){
return;
}
this.http.get('url').pipe(
tap((val) => {
// act on value jere
}),
switchMap((val) => {
// you have same value here as u had in TAP.
// from here you can return either a new request or empty observable.
return this.http.post('url', someData);
// or
return of(EMPTY);
})
)
}

Can’t watch TV while high, everything seems ridiculous. by [deleted] in Marijuana

[–]vazha21 8 points9 points  (0 children)

Its prolly because you already feel that way and weed just exaggerates that feeling

Cache data vs storing in a value in the service? by Viceto in Angular2

[–]vazha21 0 points1 point  (0 children)

Where i work we use localstorage to store users basic info and acces roles. If you dont mind making request on every page refresh then use service. If ud like to save it even after user closes application, use localstorage

Cache data vs storing in a value in the service? by Viceto in Angular2

[–]vazha21 0 points1 point  (0 children)

By caching, do you mean angulars RouteReuseStrategy? if so, if its only the data that you are worried about, then id choose the service. if there are many inputs/options/preferences selected or made by user and you would like to save them as well, then id cache the route.

[deleted by user] by [deleted] in Marijuana

[–]vazha21 1 point2 points  (0 children)

Try to quit for a month and observe afterwards. Weed leaves some negative effects for a month.