|
Sooo the transferable shards have been announced, stop by here to say hello or goodbye to Firesand, if your leaving,which shard are you travelling too or if you are coming here, where are you travelling from ?
European Allowed Destination Shards
ENGLISH...
Started by Warbs on
, 15 posts
by 11 people.
Answer Snippets (Read the full thread at riftgame):
The Plat spammers your were the first on ignore /wrist
Whose Coming? Whose Staying? Whose Going ?
Who on ignore /wrist
Whose Coming? Whose Staying? Whose Going ?
Who Cares?
Da Clench
/silence
/echo Guild is a....
|
|
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):
|
|
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 .
|
Ask your Facebook Friends
|
Find 2 positive numbers whose difference is 7 whose product is 144?
Started by stacy l on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at yahoo):
Let the two numbers be a and b
a-b=7 eqn1
ab=144 eqn2
eqn1--->a-b=7
a=b+7
substitute a=b+7 in eqn2
ab=144
(b+7)b=144
b²+7b... .
So, a= 9+7=16
So the numbers are 9 and 16.
A-b=7
Ab=144
Solving, (7+b)b=144
B= -16(reject) and 9.
Let the numbers be a and b.
|
|
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 .
|
|
I'm not sure if this is not more of a serverfault question, but I'll try here first.
I'm building a website for a local business whose owner is a friend of mine. He is not computer literate. How should I go about buying a domain name for his business?...
Started by hsprogrammer on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It gives him legal ownership of the domain, what better reason would you need?
If needed you can make yourself the admin... .
Use your account, set him to the owner and you to the technical contact :)
Pino
Use his name, it's the most professional thing to do .
|
|
I'm building a website for a local business whose owner is a friend of mine. He is not computer literate, and he doesn't want to care.
How should I go about buying a domain name for his business? Should I use my account to buy a domain in his name? Should...
Started by hsprogrammer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
If he's in charge of it and is contacted due to an... .
Unless you're a partner or acting on his behalf for business purposes, you don't want to be tied to him if there's a falling out or other problem legally or financially .
You should put it in his name.
|
|
Given an unsorted integer array, and without making any assumptions on the numbers in the array, Is it possible to find two numbers whose difference is minimum in O(n) time. Edit: Difference between two numbers a, b is defined as abs(a-b)
I don't know...
Started by rkatiyar on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
The best I can come up with off the top of my head is to sort them (which is O(n * log n)) and find the... .
I don't think you can to it in O(n).
It would be possible given a sorted list though.
No, not without making assumptions about the numbers/ordering.
|
|
Hello,
I want to creating my own paging control and I would like to use it to list users in a grid.
Somehow I need to get only the top 10 for example users for the first page and then 10-20 users and so on.
I can't find any built in methods in the membership...
Started by Raha on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Hi...I found an article that shows how to use the Membership.GetAllUsers(); function and then use that as a datasource
So, you have a gridview or data grid and set the source like so:
Users.DataSource = Membership.GetAllUsers(); Users.DataBind();
and ... .
|