@ActionHank @Billdr I just want a colour picker that gives the user a choice of some pre-determined colours so they can assign colours to customers....
@ActionHank Yeah that's what I was getting at, you have to scroll to read it
@ActionHank yes...exactly. You convert a DataSet into xml, load that into your RAM (next to your already existing DataSet) and put that into a second DataSet (which will be friggin HUGE after the loop ended). That kills your CPU AND your RAM. I doubt that a fork bomb is more efficient than this.
I'll have to spend an afternoon figuring out how to get the kind of app I want for it, then write it in whatever's required. It seems like it'd consume xml for some reason.
I don't like dealing with pointers for every goddamn thing I want to do in C++.
I still don't understand your question. I just said that there are many fast approaches with unsafe code which can be solved in much more readable ways without pointers.
@StuartBlackler Sure, as long as you can guarantee that the machine only has one NIC and if it has more than one, they're both on the same network / have the same access to whatever is going to try and connect.
I can suggest a few solutions.
First of all, avoid the static Regex method. Create an instance of it (and store it, don't call the constructor for each replacement!) and, if possible, use RegexOptions.Compiled. It should improve your performance.
Second, you can try to review your pattern. I'll...
Mutex objMutex = new Mutex(false, @"Global\MySharedLog");
I have created an xml file. In that xml file I'm writing log of different application. For that purpose I have to lock thread, but I have to create logs without locking (thread safe).
> Supports connectionless, message-oriented, reliably delivered messages, and preserves message boundaries in data. Rdm (Reliably Delivered Messages) messages arrive unduplicated and in order. Furthermore, the sender is notified if messages are lost. If you initialize a Socket using Rdm, you do not require a remote host connection before sending and receiving data. With Rdm, you can communicate with multiple peers.
@Eve well tbh, I don't see what's wrong with his question. Sure there is 'mutex' but what if he has different applications (C++, C#, Java) all mixed up accessing the same file? Mutex isn't gonna help him.
I have a customer that wants to be able to switch between clients on their database so I have to give visual cues, so I'm gonna change the background of the menu bar and the title area
It will probably end up looking horrible, but as long as they choose good colours it shouldn't matter
The problem is just for the title text really. The layout is that default .Net 4 template from visual studio (not MVC). The title area and navigation menu are blue but different shades. If I change the menu bar or title bar and not the other one, the blue is going to look horrible against the majority of colours they pick. And the black text may not show up
Previously in this series I said that the fact that the original C# compiler pursues a less aggressive strategy for optimizing away temporaries and branches from nested lifted conversions and unary operators because it suffers from “premature optimization”. That’s a … Continue reading →
Per counter-strike, every other bullet I shoot should be a killing shot. Per the shooting range, I'll be screwed unless my target is within 20 feet of me.
Well I mean, sure I've done stupid shit like setting fire to things I shouldn't have. But I've never really seriously hurt myself or anyone else in the process.