|
A few years ago, I wrote this in c#:
private string InternOrNot(string v) { if (v == "EUREX"); return "EUREX"; else return v; }
This method may look useless, but it's not. In fact, it dramatically decreased the memory usage of one of our servers.
This...
Started by Brann on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To document that so that, a year from now, you or another developer don't look at it and think - "This is useless, I'll just take it out..."
To answer your question, I cannot think of any that looked stupid when I wrote them but lots of....
|
|
You have a console.log(o) in your code. Now in Firebug you can click on the object in the console, which takes you to the DOM inspector. I thought there was a way to then access from the console command line that object you just inspected with $0 , but...
Started by Alessandro Vernet on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In Firebug 1.5: you can access the last active element you looked at in the HTML tab from the console.
|
|
I have a J2EE webapp which is used to upload a file which is then processed by a database procedure. Because we do not want the webapp to have to wait until the database procedure completes, it is executed in a different thread.
The process running in...
Started by Caroline Orr on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The way I've handled this is cached....
I do think it is a very good idea to try and make the jndi configurable via the web.xml .
Yeah - I feel your pain.
You could pass the JNDI name or the DataSource in as constructor or method argument of the thread class .
|
Ask your Facebook Friends
|
I'm mainly a flash and PHP web developer. I have been trying to learn some new languages and I thought it would be good to use VB.net for my introduction to .NET. However both online and offline I find a lot of elitism going on with VB being considered...
Started by Rick J on
, 17 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
If you look) and therefore looked down on....
Will that stop the hate? No.
But it tends to be looked down on because it lowered the bar to the point where anyone could make programmers from other languages write code like this? Yes.
|
|
I like to follow standards and use table-less div based layouts. However using tables to align form fields/textareas and submit buttons is so much easier than using anything else. So is it acceptable from a strict standard perspective?
I see google, facebook...
Started by Kalen on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
A table layout may look awesome on a PC and completely.
The easiest way to look at it is like this:
Tables browsers, they tend to render tables differently.
That tables are easy to use now for formatting.
|
|
Hi,
Recently I was reading about Article on Interviewing an Software Engineering Position by Joel and he mentioned about asking candidate about Recursion and Pointer's after some simple puzzles.
I wonder why Pointers and Recursion are considered to be...
Started by Rachel on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
You need....
It is a variable by itself but it is used to hold an address of another variable .
A pointer is more compicated than a value variable.
Several layers are more complicated than one layer.
They require keeping details about several layers of data.
|
|
Greetings to all!
I'm new here and have been reading and learning allot. Thanks to all who contribute to this fine forum.
I missed out on the group buy for the NOE 160 / 180 Grain .40 S&W/10mm Round Nose mold. I have a g27 with a lone wolf barrel and ...
Started by migtek02 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at gunloads):
Check this out !
http://www.hollowpointmold.com/
Eric has:Lee 40 cal 401-175-TC #90256 ( Inset bar conversions, Lee IBv2 ) Price: $85.00
Complete new Lee DC HP TC converted... .
I think NOE has one for sale in the Vendor Sales area, thinking of one myself.. .
|
|
Which injury looked worse? Sid or Baron Davis?
or...
Started by Upgrayedd on
, 15 posts
by 13 people.
Answer Snippets (Read the full thread at insidehoops):
Still can't watch that shit! Yucky Re: Which injury looked worse....
Re: Which injury looked worse? Sid or Baron Davis?
Sid..
BD's just looks like some odd swelling.
Re: Which injury looked worse? Sid or Baron Davis?
Sid by far.
|
|
Am I the only one that thought Lindsey Lohan looked just terrible at the White House event?
Started by flowerfunleah on
, 11 posts
by 9 people.
Answer Snippets (Read the full thread at cafemom):
She also could have chosen.
Its also wrinkled which makes her look sloppy and a mess.
Eeewww She always looks for the occasion.
It could have been worse lol She looked like hell! She looks a mess.
|
|
Flaherty looked good at 3B tonight Wonder how long before Buck puts him there again.
Started by wildcard on
, 15 posts
by 9 people.
Answer Snippets (Read the full thread at orioleshangout):
We don't really have....
Reminds me of this guy, same number: He'll be playing second for as long as Andino is away I assume .
He made it look easy.
He should too.
Did look good defensively, at least compared to what we're used to having at 3B.
|