Best way to wait for WebClient.DownloadFileAsync()

Astrat Geovendi
astrat77
Published in
3 min readMay 18, 2017

--

Please bear with me, this is my very first project that I’ve written in C# and I’m an absolute novice at OOP and C#. Project and the function in question: Github Snippet: … 7 README.md

@@ -1,3 +1,10 @@ + +# discontinued + +I have discontinued this framework. Now I’m working on a similar but more powerful one. See [ConfigWhiz](https://github.com/he-dev/Reusable/blob/master/Reusable.ConfigWhiz.Core/README.md) + + — — + # SmartConfig v9.0.2 With SmartConfig you can setup a strongly typed configuration within a few minutes.

22

votes

0answers

542 views

Making a generic NSMapTable replacement written in Swift thread-safe

This is a follow-up to this question. While discussing some details about the code I posted there, I came upon a problem with thread-safety. After searching and trying different things, I reached a …

votes

0answers

455 views

Backpropagation in simple Neural Network

I’ve been working on a simple neural network implemented in python. Currently, it seems to be learning, but unfortunately it doesn’t seem to be learning effectively. The graph below shows the output …

AFAIU, the Linux kernel cannot be compiled by something else than GCC.

To be able to compile the kernel with both Clang or TinyCC you need to patch the source code of the kernel.

In other words, the Linux kernel has some GCC specific code (and cannot be compiled by some other compiler without small modifications of the kernel code).

(and I even believe that a given version of the kernel can be compiled by only a few versions of GCC)

For ordinary laptop use like visiting social media sites and news websites, what is the advantage of using a Linux-based OS?

Besides lower risk of virus and other malware (than using Windows), one thing that Linux enables you to do natively is to run browsers in isolated environments, in different ways.

There are several mechanisms to run i.e. firefox on docker. You have a mostly isolated system where you run the browser, it have its own separated filesystem (that can be deleted and recreated in every run, or kept) to have a dedicated browser for content that should not interfere with other (i.e. one exclusively to manage your banking account, without risking to have an spoiled environment because other sites you visited). You are running the browser natively, with little to none overhead, so is more efficient than a VM.

This may or not give you an advantage, Firefox is adding functionalities to isolate more effectively sites you have loaded from the rest (it is called containers, but not are the same as the linux kernel ones as far i know), and using the same X and kernel may be exploited too, if specifically targetted.

There are more programs that stand on similar kernel functionality to do so, like

What will run better on my old laptop, Windows 10 or Linux?

Linux would be a better choice because you mostly will not feel lag with Linux, because it uses minimal resources.

Go with Linux better than windows 10.

You can install Ubuntu, mint or arch linux depending on your choice.

You can even go with chalet os which gives you wine preinstalled so you can run exe files too.

--

--