I have below JSon File :-
{
"requirements": {
"-FileName": "sample.xls",
"requirement": [
{
"desc": "Employee status will be classified as:
• Assigned $ when employee is working on a project.
• Reserved when employee is scheduled to work on a project in near ...
start.UseShellExecute = false;
start.RedirectStandardOutput = true;
using (Process p = Process.Start(start))
{
var finished = p.WaitForExit(timeoutSec*1000);
}
returns false immediately.
More specifically, it returns false after the process does end, but it still returns false, so I can't distinguish between a successful execution and a timeout.
Right. WaitForExit should return true/false depending on whether the timeout elapsed or not. So, false, should be "The timeout did not elapse". The exit code should be in p.ExitCode or something.
Our data platform, Providence, has evolved over the last two years. We look at how and why it has changed, and the effects on our counts of developers.
hey people, I've kind of a weird question here. I'd like to lock an object(A) before I release the lock on another object(B), but immediately after I lock 'A' I want to release the lock on B.
EF folks, am I getting it right that the best way to erase all rows in a table is not to go through the entities themselves, but instead construct and issue a TRUNCATE statement?
I have someone's code here, probably based on some SO answer, that goes over the DbContext and sets each Entity's State to Deleted. This seems to involve pulling all the data to memory.
@AvnerShahar-Kashtan I completely agree with you. It's really fun when you decided to use a mapper so that you wouldn't have to write database vendor specific SQL code in the first place
if (save.ShowDialog() == DialogResult.OK)
{
using (StreamWriter writer = new StreamWriter(save.OpenFile()))
{
for (int i = 0; i < mylist.Count; i++)
{
writer.WriteLine(mylist[i]);
}
}
}
SaveFileDialog save = new SaveFileDialog();
save.Filter = "txt files (*.txt)|*.iea|All files (*.*)|*.*";
save.FileName = filename;
if (save.ShowDialog() == DialogResult.OK)
{
using (StreamWriter writer = new StreamWriter(save.OpenFile()))
{
for (int i = 0; i < mylist.Count; i++)
{
writer.WriteLine(mylist[i]);
}
}
@AvnerShahar-Kashtan thanks for helping me. Tho it doenst seem to work yet. and this also doenst work File.WriteAllLines(filenaam + ".txt", stringlijst);
(WPF) what is your favourite chart-library? A free modern looking one would be cool (line-chart). Maybe also an easy to use one as I'm still a noob in binding. :p
> Posted by Microsoft on 9/16/2015 at 9:10 AM - Sorry for the late reply, a Connect issue prevented us from seeing this bug until this week. We've made large improvements in the memory usage and performance of VBCSCompiler.exe now that it's integrated into Visual Studio 2015.
@C4u We've been using DevExpress's chart library (not free), but it's been annoying us for a while. Right now we're switching a lot of our dashboards to use Grafana hosted in a webbrowser control.
D3.js (or just D3 for Data-Driven Documents) is a JavaScript library for producing dynamic, interactive data visualizations in web browsers. It makes use of the widely implemented SVG, HTML5, and CSS standards. It is the successor to the earlier Protovis framework. In contrast to many other libraries, D3.js allows great control over the final visual result. Its development was noted in 2011, as version 2.0.0 was released in August 2011.
Data visualization company Datameer officially uses D3.js as its core technology, while The New York Times sometimes uses it for rich graphs. It is used by the...
Is there an approach you've found is sane and maintainable for server modularity and extensibility? Let's say I use MEF, or an equivalent, to scan DLLs and load WebAPI controller off of them. And let's say I want to be able to control which controllers are exposed for each instance of my service. What do you use as a service catalog to instruct MEF which assemblies to load and which controllers to spin up?
@JoJo I think D3 is a more low-level library. It's not a "hook a pie chart to a data source" library, but it enables writing such controls using the library.
honestly I do struggle with German right now, because I work in English all the time. I hardly every get the chance to use a foreign (i.e. not English) language.
@mikeTheLiar i studied spanish for almost one year and i speak portuguese natively. there are a lot of similarities between pt and es but there are a lot of false friends too.
@Kieran Try Hebrew one day. Different alphabet, different writing direction, no shared Latin roots for common words, and a lot of prefix/postfix inflections instead of separate words.
if i could id like to learn russian some day. but first i need to improve A LOT my english and learn some mobile development, good practices and maths.
Don't you remember dad? I graduated years ago. I no longer have homework. Are.. are you forgetting again? I swear dad, if you don't tell me the truth now, I'll have you tested. Granda had Alzheimer too.. you can't unravel the family as he did!