DEV Community

Cover image for Truth OR Dare | Let's FUN

Truth OR Dare | Let's FUN

D\sTro on November 27, 2020

Let's Play a Truth or Dare game this weekend. you comment your favourite Topic of Computer Science(Any Level) and either me or anyone shoots a Qu...
Collapse
 
winstonpuckett profile image
Winston Puckett

C# (are we allowed to pick a specific language?)

Collapse
 
slimdestro profile image
D\sTro

How do you make http call unblockable in C# like javascript ajax which has option async=false/true

Collapse
 
winstonpuckett profile image
Winston Puckett

Hmmm... I don't know. Could I get a definition of unblockable? Is it the same as how to do you wait for the asynchronous call to complete before moving on to the next line of code?

Thread Thread
 
winstonpuckett profile image
Winston Puckett

Or is it how do you make a synchronous or async request?

Thread Thread
 
slimdestro profile image
D\sTro

exactly async call

Thread Thread
 
winstonpuckett profile image
Winston Puckett

Without looking it up, I think it's:

await HttpClient.GetAsync(message);

// And possibly synchronously:
HttpClient.Get(message);
Enter fullscreen mode Exit fullscreen mode

But without looking it up, I'm not sure if Get() is part of the interface 🤔

Thread Thread
 
slimdestro profile image
D\sTro

HttpClient.GetAsync(message)
this one is Async and i also dont think .get() is still operational.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Web accessibility

Collapse
 
slimdestro profile image
D\sTro

How do you prevent IP blocking whe you scrape highly secure website

Collapse
 
alvaromontoro profile image
Alvaro Montoro

I'm going to guess it would be using proxies or some other tool to mask/replace my IP.

...but this question seems to be about web security and not web accessibility.

Thread Thread
 
slimdestro profile image
D\sTro

you answered it.
its also a part of web accessibility. http calls are primal either you are making some system which can utilize online resources or making some scrapper. even scrapy(python) does same at first hand

Collapse
 
sanzeeb3_18 profile image
Sanzeeb Aryal

Web Development

Collapse
 
slimdestro profile image
D\sTro

Is javascript Asynchronous by default?

Collapse
 
developerayo profile image
Shodipo Ayomide • Edited

No,
It's synchronous.

Thread Thread
 
slimdestro profile image
D\sTro

A++
We make JS async on demand

Collapse
 
klvenky profile image
Venkatesh KL

Channels in go

Collapse
 
slimdestro profile image
D\sTro

Does channel become unresponsive at some point

Collapse
 
crimsonmed profile image
Médéric Burlet

typescript

Collapse
 
slimdestro profile image
D\sTro

Arrow function is better ?

Collapse
 
markmusic2727 profile image
Mark Music

Dart