DEV Community

loading...
Cover image for Truth OR Dare | Let's FUN

Truth OR Dare | Let's FUN

itsmukulmishra profile image Mukul Mishra Updated on ・1 min read

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 Question related to that. you answer it without a bit of googling(Honestly).

*Topic Includes: *

  • All Programming Languages

  • Basic of Computer Architecture

  • Data Structure

  • Quantum Computing

  • Block chain

  • Artificial Intelligence

  • Web Development

So, are you ready ?

Discussion

pic
Editor guide
Collapse
winstonpuckett profile image
Winston Puckett

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

Collapse
itsmukulmishra profile image
Mukul Mishra Author

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
itsmukulmishra profile image
Mukul Mishra Author

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
itsmukulmishra profile image
Mukul Mishra Author

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

Collapse
sanzeeb3_18 profile image
Sanzeeb Aryal

Web Development

Collapse
itsmukulmishra profile image
Mukul Mishra Author

Is javascript Asynchronous by default?

Collapse
developerayo profile image
Shodipo Ayomide

No,
It's synchronous.

Thread Thread
itsmukulmishra profile image
Mukul Mishra Author

A++
We make JS async on demand

Collapse
alvaromontoro profile image
Alvaro Montoro

Web accessibility

Collapse
itsmukulmishra profile image
Mukul Mishra Author

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
itsmukulmishra profile image
Mukul Mishra Author

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
klvenky profile image
venkatesh k

Channels in go

Collapse
itsmukulmishra profile image
Mukul Mishra Author

Does channel become unresponsive at some point

Collapse
crimsonmed profile image
Collapse
itsmukulmishra profile image
Mukul Mishra Author

Arrow function is better ?

Collapse
markmusic2727 profile image