|
I've worked on many projects where I've been given code by others to update. More often than not I compile it and get about 1,000+ compiler warnings. When I see compiler warnings they make me feel dirty, so my first task is to clean up the code and remove...
Started by KPexEA on
, 19 posts
by 19 people.
Answer Snippets (Read the full thread at stackoverflow):
The codebase....
I feel like of warning noise.
I rarely leave them though.
Sometimes, when under pressure to finish the job, i leave some of them.
I remove them as much as possible.
It would be a sign of sloppiness
I dislike warnings .
|
|
I have a small problem... There are hundreds of images in a folder. they should scale down to specific height and specific width. so, the problem is... Retrieving images from a folder, and scale down them, and save them into another folder. Is it possible...
Started by Jessu on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Oops, I'm not sure what type of Image gets returned when you use the getScaledInstance() method... .
Finally you can use ImageIO to write out the new image .
You can use ImageIO to read and Image, then use the Image.getScaledInstance() method to scale the image .
|
|
U2 are one of my fave bands of all time and have released some great songs. To me they are the best Irish music band ever. I have several fave songs from Bad to With Or Without You. And of course All I Want Is You which the Bellefire cover was just as...
Started by Emmerdalefan on
, 13 posts
by 7 people.
Answer Snippets (Read the full thread at soapchat):
I really didn....
Played them to death
My friends husband always looked like Bono, even had the bad Live aid mullet pontificating
but early 80s U2 - played them to death
My friends husband always looked like Bono, even had of them.
|
Ask your Facebook Friends
|
I used to love Saturdays when I was a kid as it was the first of 2 days off school and in my early working career, work. But now I seem to dislike weekends a lot. Saturday is when there is bog all on TV apart from sport or crappy period drama repeats ...
Started by Emmerdalefan on
, 20 posts
by 10 people.
Answer Snippets (Read the full thread at soapchat):
Never yet got into Dynasty but it seems a great their boyfriends into moving in with... .
And have breakfast in bed? As I have Dallas Series 1 and 2 I can watch them a few times over at weekends them a few times over at weekends if I get bored.
|
|
Question: I am wondering which is the optimal solution for dealing with Arrays in Excel 2003 VBA
Background: I have a Macro in Excel 2003 that is over 5000 lines. I have built it over the last 2 years adding new features as new Procedures, which helps...
Started by Craig on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
A simple set of public variables in a class.
Of it when I needed them), in practice it can be slower.
|
|
I have put together countless PCs, but never a large server. The geek in me says build it, but the realist in me says let the manufacturer handle it when there is a problem. Ignoring the time penalty involved with the initial assembly time of a built ...
Started by Bob on
, 20 posts
by 20 people.
Answer Snippets (Read the full thread at serverfault):
When you have real....
But Commercial Servers of wrongfulness.
If you end up building them - go with SuperMicro - great gear.
And buy them from alternative sources if you need to be frugal - Craigslist, Ebay, Dell Outlet, etc.
Buy them.
|
|
Pseudo-situation: have a class (let's say BackgroundMagic ), and it has Start() and Stop() methods. The work in this class is done by one single thread, and is simply a short loop every X milliseconds.
Which of these options is better, as far as managing...
Started by routeNpingme on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Apache uses to manage thousands of threads....
For a larger-scale variant on the same idea, consider the thread pools that e.g .
Thread creation is fairly expensive, so the standard "industrial-strength" way to do this is to control the thread with a flag .
|
|
In a bash script how do I split string with a separator like ; and loop through the resulting array?
Started by Funky Dude on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Hope that ....
Here is an example code that you may use:
$ STR="String;1;2;3" $ for EACH in `echo "$STR" | grep -o -e "[^;]*"`; do echo "Found: \"$EACH\""; done
grep -o -e "[^;]*" will select anything that is not ';', therefore spliting the string by ';' .
|
|
Keeping performance on a mobile device in mind, what do you think is the best approach with an SQLCE Connection. Keep it open for the duration of the application or let it close whenever a call to the database is needed.
Obviously this depends a little...
Started by Mat Nadrofsky on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Open the Connection as late as possible in the operation... .
Get Late, Release Early.
If the functionality of the application depends on the SQLCE connection throughout, this makes sense .
For my device, I kept it open during the lifetime of the application .
|
|
Yard sales: Do you have them or go to them?
Started by LuLuRex on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at cafemom):
I also love going....
We made around 300.00 once.
I've never had one either...But I love going to them, went just the other day, I was in search of something for my mom for mothers day :) We have had lots of them growing up and a few years ago.
|