|
Whose stock will rise next year and whose will fall? I look for someone from the team to make a contribution, that we dont expect like maybe Chad Lindsay, not a for sure pick. Someone who's stock will fall, I say Fowler, because of all the back's coming...
Started by tide power fan on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at tidefans):
Re: Whose stock ....
Re: Whose stock will rise next year and whos will fall? I am going to say that we see Michael work every day, 365 days a year, to dominate." Re: Whose stock will rise next year and whos will fall no ones watching.
|
|
How can I obtain the position of a instance whose name is stored in an variable? If there is a instance whose name I don't know, but the instance's name is store in an variable x. How can I obtain its position?
Started by john on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
TargetMc = eval(text1.text); targetMcX= targetMc._x; targetMcY = targetMc._y; trace(targetMcX); //would trace _x position of instance typed... .
Let's say the input text is named text1.
EDIT: If you have a input text, where users would type the instance name .
|
|
In bash
echo ${!X*}
will print all the names of the variables whose name starts with 'X'.
Is it possible to get the same with an arbitrary pattern, e.g. get all the names of the variables whose name contains an 'X' in any position?
Started by orsogufo on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
|
Ask your Facebook Friends
|
Given a collection of positive integers, I want the subset of those integers whose sum is the smallest sum that exceeds a threshold.
Started by Adam Tegen on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then you have proven that there exists no subset of the integers... .
To see why, let's assume that you have an algorithm that can solve your problem and it produces an answer with sum s .
Your problem is a variation on the Subset Sum Problem and is NP-complete .
|
|
How can we remove a selected item from SELECT whose SIZE is not declared, means acting as drop down list. using javascript
Started by ammar on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This is function to remove selected item (from site):
function removeOptionSelected() { var elSel = document.getElementById('selectX');//selectX IS ID OF SELECT var i; ... .
Here is a very nice article outlining how you can add/remove items to select list .
|
|
I have a dynamically created (runtime creation) textbox whose name is available as a string.What i want to do is access this textbox like we do as normal textboxes .Can any one tell me how to cast it as textbox or any other solution
Started by Mobin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Hi, if you know the name of the textbox and its parent controls you can do like this
TextBox tb = (TextBox )parent.Controls["name"];
Best Regards, Iordan
In addition to Iordan's answer, if you don't know exactly where on your form the textbox is, then... .
|
|
How to apply a style to an iframe whose parent tag's id is known??
Example:
<div id="xyz"> <iframe ....> </iframe> </div>
Is it
#xyz.iframe { }
I'm new to CSS....can any one help on this??
Started by Manish on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You don't need the dot....
You should really read something on CSS.
Xyz iframe { }
Whereas this:
#xyz.iframe { }
would refer to something like <div id="xyz" class="iframe" />
#xyz iframe { }
But this is pretty standard CSS, used almost everywhere .
|
|
Whose code do you read because it's fun, useful and educational?
For example, I am really liking Peter Norvig's code. His python samples ( Solving Every Sudoku Puzzle , How to Write a Spelling Corrector ) are short and beautiful. Plus, I am currently ...
Started by namin on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
In addition....
I've begun reading Knuth's TeX: The Program.
I like this
[Peter's] http://codebetter.com/blogs/peter.van.ooijen/ for all ASP.net applications
http://ayende.com/Blog/
It's equally parts practical, educational, entertaining, visionary, and WTF? .
|
|
In Perl 5.10, how do I create and access a hash with scalar keys whose values are arrays?
#Doing this does not work properly. %someHash= ("0xfff" => ('Blue', 'Red', 'Yellow')); @arr = @fileContents{"0xfff"}; print @arr;
When I print the array, the ...
Answer Snippets (Read the full thread at stackoverflow):
You need to use [ ] instead of the standard... .
First, you had a problem when making the reference.
Your example had two problems.
This is expanded a bit to correct that.
My original answer posted working code, but didn't really explain the problem with yours .
|
|
I'd like a script to drop all tables whose name begins with a given string. I'm sure this can be done with some dynamic sql and the INFORMATION_SCHEMA tables.
If anyone has a script, or can knock one up quickly, please post it.
If no-one posts an answer...
Started by Blorgbeard on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Declare @startStr as Varchar (20) set ....
Xenph Yan 's answe was far cleaner than mine but here is mine all the same .
SELECT 'DROP TABLE "' + TABLE_NAME + '"' FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE '[prefix]%'
This will generate a script.. .
|