|
When starting a programming project, how do you jump start yourself to do a task that you just despise doing?
Started by Jason on
, 17 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
I tell myself that if I have not started doing into an ....
Pick the hardest piece and do that first) but a deadline for starting whatever I don't want to do.
In the task and try forget about how I feel about doing it.
|
|
I am calling a vendors Java API and on some servers it appears that the JVM goes into a low priority polling loop after logging into the API (cpu 100%). The same app on other servers does not exhibit this behavior. This happens on WebSphere and Tomcat...
Started by bruceatk on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
It just seems to be something our brains....
I think this should still work even inside them can occasionally be a bit awkward, but they do provide you with a great deal more real evidence are.
Jstack also will do a stack dump.
Running threads.
|
|
I have a WinForms app written in C# with .NET 3.5. It runs a lengthy batch process. I want the app to update status of what the batch process is doing. What is the best way to update the UI?
Started by Guy on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
The key thing to remember is if you are doing to the ui thread but that you do....
The background worker class is an easy way of doing this - it provides simple support or status bar text are two of the most common approaches.
Thread.
|
Ask your Facebook Friends
|
Hello,
I was taking a look at http://www.zenfolio.com/zf/features.aspx and I can't figure out how they are doing the accordion style expand and collapse when you click on the orange links. I have been using the Web Developer Toolbar add-on for firefox...
Started by Xaisoft on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
It's a bit tricky, as the JS seems to be in here that's doing it:
http://www.zenfolio.com/zf/script/en-US/mozilla....
Even it.
Btw I used FireBug to get that info.
And sitehome.css file you can get an idea about how they are doing that.
|
|
I have tracked down my deadlock to this thread not pumping messages anymore, but how do I take it one step further and figure out what the thread is currently doing? I'm using windbg and random walks using !do hasn't given me anuthing so far
many thanks...
Started by Oskar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
An "OnSize" event or something in your code)
Crack open the MSG struct so you can see... .
Kn100 will give you the native stack, but it looks like it's calling DispatchMessage , which means that it's probably stuck in the target window's window handler (i.e .
|
|
Scenario Lets say you have a C# WinForms application that doing some data processing. You have a method that retrieves data from a database that is called by the UI thread. The background thread then runs off to do this task. You want the UI to carry ...
Started by Goober on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
Alternatively, you ....
Property
There are several ways of doing this, but the easiest way is to use a BackgroundWorker://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx
You can use the BackgroundWorker to do.
|
|
I have a server running on Centos 5.2 and is there any a better way to know why the server crashed or what it's doing at that time?
I am sorry I am a newbie and any help is appreciated~ Thanks
Started by Mickey Shine on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
Of course once you have a core dump, you'll need to do some analysis on it using.
The machine to do a kernel core dump over the network, but you'd still need someone skilled to look over the network..
|
|
I'm testing out using memcached to cache django views. How can I tell if memcached is actually caching anything from the Linux command line?
Started by MikeN on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You could use.
At running a process on the server that simulates heavy CPU/disk load while doing this.
|
|
Hi,
I'm wondering how the few Delphi users here are doing unit testing, if any ? Is there anything that integrates with the IDE that you've found works well ? If not, what tools are you using and do you have or know of example mini-projects that demonstrate...
Started by Drew Gibson on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
|
|
When you are working on hobby projects at home, how do you make yourself productive?
Is it planning and self discipline? Do you make notes etc? Creating the right environment? Music? Silence? Good desk? PC set up? Taking the phone off the hook?! If you...
Started by Nick on
, 19 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
Usually, I treat the project at home better than at work, because its... .
-Adam
SinceI work more or less the same way at home as I do at work.
Whether I do that depends on how badly I want to finish a particular aspect of the work...
|