What is the difference between Ntxxx and ZWxxx? [closed] - windows

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I tried to find the usage of NtqueryDirectoryFile() function.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff556633%28v=vs.85%29.aspx
I refered the above link for this. But, They mentioned about Zwxxx (). I couldn't understand Ntxx and ZWxxx. Can anyone explain about this.

Basically Zw functions are equivalent of Nt functions except they don't do security checks, so are used inside kernel mode only, to avoid the performance penalty.
You can only call Nt functions from user mode, through ntdll.dll. As Michael pointed out Zw functions are just mnemonics to Nt counterparts in user mode.
#Adriano provided a nice link: http://msdn.microsoft.com/en-us/library/windows/hardware/ff565438(v=vs.85).aspx

Related

Is there visibility issue in golang? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
For example, if I update a global variable in one goroutine, then read the variable in another goroutine, can I get the newest value?
Another question is, can "atomic.Load*" and "atomic.Store*" ensure visibility?
Without explicit synchronization between goroutines, there is no guarantee that you will see the latest value of a shared variable. The Go memory model describes this:
https://golang.org/ref/mem
Atomic load/store have memory barriers, and they do guarantee you will see the latest value, though the Go memory model does not explicitly state this.

How to debug RED code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
What is the preferred way to debug the RED prog lang code? Is there a RED debugger?
There's no debugger AFAIK, but there are functions that can help you with debugging. Take a look at these two articles, they should help you:
https://github.com/red/red/wiki/Debugging
https://github.com/red/red/wiki/How-to-Debug:-A-use-case-by-#DocKimbel
Basically you should use inbuilt functions like probe, ??, dump4, stack/dump or print-symbol.
You can also turn various debugging info with system/preprocessor/debug?: on, system/view/debug?: on and system/reactivity/debug?: on.

Is there a way to programmatically avoid EA trading under major FOREX news? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
May I know is there a way to programmatically detect major FOREX news and avoid trading in those time frame?
You need Forexfactory news indicator, "FFCal", that reads data from the website and returns true/false depending on time in minutes before/after major/mid/minor news events. you can download it on fxfactory website, use is rather simple
int result = (int)iCustom(Symbol(),0,"FFCal", (parameters),0,0);
Oh sure, sir, it is!
Let me share an example of such a fully automated / scripted approach:

scheme r7rs-large interesting but... is it still in progress? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to take a look at the status of r7rs large but I cannot find any information
in scheme reports page, etc, just a talk from 2013. I searched around with google without success as well.
Is it still alive?
Where can I find information?
What would be the tentative date?
What is the progress at this point?
Thanks.
You can read about the R7RS process on the R7RS working group wiki. R7RS-large is listed under the "Working Group 2" section of the front page.
In particular, look through the StandardDocket and ConsentDocket sections. Standard docket is for stuff that's under discussion (and eventual voting). Consent docket is for generally-uncontroversial stuff that's likely to get into R7RS-large without having to be voted on.
There is no firm timeline that I am aware of (though I'm not part of the working group and do not speak for them). The standard docket is quite long, though, and they will have to process through most/all of it before you have anything that you can call R7RS-large.

The best way to learn Ajax [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
My question is simple, which is the most logical way to learn to handle the concepts of ajax, and that time should be spent on each phase of this new model.
Simplest thing of learning something, is doing something.
First of all, you need to understand the fundametals.. what is AJAX, what was before AJAX and what exact issues does it solve.
After you might consider to learn jQuery AJAX API (http://api.jquery.com/category/ajax/) for client side and PHP (or any other language, that is easy to start) as server. And do some small tasks - as one of AJAX kata, it could be implementation of 'Google word suggest'.
Given you have some web development experience, I suggest the following book - it is really excellent in my opinion:
http://www.amazon.com/Ajax-Definitive-Anthony-Holdener-III/dp/0596528388/ref=pd_sim_b_3

Resources