Hello, i was wondering if anyone here knew of a library/framework/UI for managing projects/files? Something similar to the solution explorer in visual studio but for custom applications.
i was just wondering if their was a library people use for that sort of thing, project persistence management similar to solutions explorer. I have my own I rolled a few years back, but need additional functionality so i was wondering if there was a library for it
So my class has a private list. In my class, I currently have a property called ElementAtOrDefault() to call List<Of T>.ElementAtOrDefault(), wouldn't it make more sense for that to be named Exists() or something of that nature? That name seems crazy roundabout.cal;l
In case anyone wants to know the answer, I figured it out, the compiler optimized out the getters, because I never explicitly called them (but I was relying on them for an Azure connection)
I am trying to change the command timeout for a OracleCommand query, but it is not worked.
Oracle.ManagedDataAccess.dll
using (OracleConnection _connection = new OracleConnection(connectionString))
{
using(OracleCommand command = _connection.CreateCommand())
{
command.Command...
I have an issue where I've noticed IE doesn't display any of my webfonts (referenced via a CDN) nor glyphicons. There are errors such as: "CSS3111: @font-face encountered unknown error." or "CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable."
I've googled this for a while and come across answers such as "without an explicit "Access-Control-Allow-Origin" header, Firefox and Internet Explorer won't display your webfonts"
I've added the following line to my Web.Config, but the fonts still dont work.
@Michael are you seeing this in FF as well or just IE? What version of IE? From the googling that I just did this looks like a deep dark pit of cross-browser compatibility that sounds like a giant pain in the ass.
@mikeTheLiar Give me one sec and I'll paste an example...
This is a WPF app, and I'm using Material Design for Xaml. One of the 40+ errors is this: The name "DialogHost" does not exist in the namespace "http://materialdesigninxaml.net/winfx/xaml/themes".
Is there ever a time as a developer when you go to management and say that the previous coder sucked so badly that you suggest rewriting their code rather than troubleshooting it? The previous dev seemed to abuse LINQ so much that it's a giant pain in the ass to fix anything. Or... is it just me?
What's the best way to associate an object with a thread and then later retrieve that object? I want to do roughly this:
List<Thread> Threads;
for (var i = 0; i < 5; i++)
{
var threadFoo = new {Foo = 1};
var thread = new Thread(() => Thread.Sleep(10000));
thread.Start();
Threads.Add(thread);
// Somehow associate threadFoo with thread.
}
foreach (var thread in Threads)
{
Console.WriteLine(thread.Get("threadFoo").Foo);
}
Fun fact about the Carrier deal, it included a stipulation that Carrier invests quite a lot of money into modernizing their American factory. Which means automation. All those "saved" jobs are going to be lost anyway.
Oh yeah, do not misunderstand me, automation IS GOING to happen, it's immutable, you can't win against technology, but Trump told these people who are scared of being laid off he'd protect them.
Honestly, I don't care. If the world suddenly ended, I still don't think I'd care. I mean, honestly were a small insignificant life form, who pretends to be God. We're so superior, that we contrive ourselves to a society simply bent on control.
That was their concern, keeping food on their table, not propagating malice and hatred that a lot of people seem to think of anyone who thinks otherwise.
I hesitate to even bring it up but that's one of the major arguments in favor of universal income. The simple fact of the matter is that low-skill jobs are becoming a thing of the past.
They are indeed, but I think universal income will be bad too, from personal experience when I dropped out of school I had a roof, food, and my guardian would pay for whatever I wanted, but I wasn't happy.
It's not a question of happiness. It's a question of having basic needs met so you can worry about things that aren't on the bottom of Maslow's pyramid.
It's still relevant though, I fear you'll have a society who's just unmotivated to do a whole lot. Admittedly for me, getting out there and meeting my basic needs on my own and building life on top of that keeps me going. I enjoy it.
It's stressful yes, but I feel you can't enjoy a lot of things unless you have some shitty times in your life every now and again. The juxtaposition helps!
@Greg we solved that problem a long time ago. They don't wait for them to ripen.
Ever wonder why so much of the fruit in the grocery store is shit? Because there's no money in waiting for them to be ripe to pick them, you wait for them to look good.
And yes, that is easily automated. We've already done it with frozen french fries. A camera identifies brown spots, removes them from the conveyor belt, excises the bad piece, and returns the fry to the conveyor belt.
For example I have a user input a phone number.
cout << "Enter phone number: ";
INPUT: (555) 555-5555
cin >> phone;
I want to remove the "(", ")", and "-" characters from the string. I've looked at the string remove, find and replace functions however I only see that they operate based on posi...
The Immediate Window is basically just a little scratch-pad area - you can access variables that are in scope and enter statements and they're immediately evaluated and the results printed