High-level concurrency à la STM in .NET (C#)? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have the following problem in a project:
I have a REST API, whose threads I don't control explicitly; this API accesses internal resources/services. I would like to synchronize access to these resources, who may perform caching themselves. It is also necessary to prevent repeated triggering of expensive operations.
I think using an approach such as STM (à la Clojure or Haskell) would help a lot; currently, everything is using locks and it is getting really complicated. Unfortunately, Microsoft abandoned their STM implementation.
What are the .NET patterns for synchronized access over multiple resources? Are there any good libraries for this purpose? I'm looking for better and more high level solution then what locks bring to the table.

Related

what is the best way to access youtube data api with c# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm wondering what the best supported way of accessing the youtube data api is with c#?
Are any of the library's up to date? I can quite easily switch to Django or Rails for this app, but thought I would start with C# as it seems that it is referred to in the current docs. However the examples seem inconsistent, so I'd rather just switch to something that works than mess about with this.
And you can get c# examples at https://github.com/youtube/api-samples/tree/master/dotnet
and the library is in https://developers.google.com/api-client-library/dotnet/apis/youtube/v3
Google has a variety of libraries to make this fairly simple:
https://developers.google.com/youtube/v3/libraries
Including this .NET version:
https://code.google.com/p/google-api-dotnet-client/

Implementing an Excel-like formula engine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for a professional tool that will enable me to implement an excel like formula engine.
I require support for custom functions, an editor (in winforms or WPF) which gives a descent user experience (Intellisense , auto complete, partial evaluation of the formula etc...)
All I could find so far are just back-end projects such as:
http://www.codeproject.com/Articles/17853/Implementing-an-Excel-like-formula-engine
http://www.codeproject.com/Articles/57264/Eval3-wrapper
And those do not provide any client side , only backend engine.
There are some Excel-formula-engines out there (mostly commercial) - but since you need a frontend too the only one I know of is SpreadsheetGear. Hope this helps...
Spreadsheetgear is one of the more established products. According to their site Microsoft also use their product?? It's expensive though.

What is the best tool for adding user generated JavaScript to a C# application? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have looked into JInt, IronJS, and Windows Script Host and can not see which would be better to use for calling user generated JavaScripts which call in an API I will be creating.
JInt seems to be the winner at present due to it also offerring debugging abilities, however WSH seems plausible. I just can't see how it would work even having read many tutorials on how it is implemented.
Lastly JInt claims the CodeDomProvider technique leads to memory leaks, apart from this reference I haven't found anything else to back this up. Has anyone else experienced this?
There is a project which is called Script#. Have a look and see if that's what you wanted.

open source software to control computer fan speed [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
So I asked a similar question here but it was considered a duplicate: https://stackoverflow.com/q/6181191/319862
This time I will be a little bit more specific...
Are there any open source projects that can control the pwm frequency of a motherboard fan header. Please share links. The only software I can find is Speedfan and it does not seem to make the source available.
The next best thing I found was openhardwaremonitor, but it does not control fan speeds yet according to the issues list on google code.
-- edit --
I am mainly interested in Windows at this time, although a cross platform project would be great.
lm-sensors provides a fancontrol tool that can change the speed of your fans, along with some nice calibration tools to help you maintain reasonable temperatures with minimum energy and noise. Excellent tools.

Open Source Graph Layout Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for an open source (GPL, LGPL etc) graph layout library for .net framework, preferably fully managed code. Im not worried about the visualisation aspect of things.
I can find lots of them for Java, but none for .net...
Thanks!
http://graphsharp.codeplex.com/ (Nice "visualisation aspect of things" :)
(...and for the "oldie" GraphViz, you can get no less than 3 language bindings for C#)
http://satsumagraph.sourceforge.net
Has force-directed graph layout (charged particles & springs model).
http://zedgraph.org/wiki/index.php?title=Main_Page
Tried it before...works great.

Categories

Resources