PostId int64 13 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 3 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -33 210k | OwnerUndeletedAnswerCountAtPostTime int64 0 5.77k | Title stringlengths 10 250 | BodyMarkdown stringlengths 12 30k | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5 values | unified_texts stringlengths 47 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
896,377 | 05/22/2009 04:41:53 | 332,525 | 05/14/2009 01:28:43 | 36 | 2 | What are your experiences selling on the Android Market? | I've been hearing some good things about Google's **Android Market** recently, and I might look into developing for android (currently develop for iPhone OS) at some point. Are any of you Android Developers, or simultaneously developing for iPhone AND Android? What have your experiences been for developing and selling your apps on the Android Market? Does Google have their act together in their app approval/deployment process? How does being a developer/merchant on the Android Market compare with the that of the App Store? Are you making money? Do you see this market as promising? Love it? Hate it? Share your experiences on the Android Market. | android | app-store | iphone | null | null | 08/01/2011 12:50:40 | not constructive | What are your experiences selling on the Android Market?
===
I've been hearing some good things about Google's **Android Market** recently, and I might look into developing for android (currently develop for iPhone OS) at some point. Are any of you Android Developers, or simultaneously developing for iPhone AND Android? What have your experiences been for developing and selling your apps on the Android Market? Does Google have their act together in their app approval/deployment process? How does being a developer/merchant on the Android Market compare with the that of the App Store? Are you making money? Do you see this market as promising? Love it? Hate it? Share your experiences on the Android Market. | 4 |
7,397,628 | 09/13/2011 06:22:05 | 1,160,282 | 07/24/2011 14:16:02 | 24 | 1 | Host is Unresolved... Unknown host Exception | public class main extends Activity {
/** Called when the activity is first created. */
private static String SOAP_ACTION = "http://footballpool.dataaccess.eu/data/TopGoalScorers";
private static String NAMESPACE = "http://footballpool.dataaccess.eu";
private static String METHOD_NAME = "TopGoalScorers";
private static String URL = "http://footballpool.dataaccess.eu/data/info.wso?WSDL";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
request.addProperty("iTopN", 5);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER11);
envelope.setOutputSoapObject(request);
// Make the soap call.
HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
//AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport("http://www.google.co.in");
try {
// this is the actual part that will call the webservice
androidHttpTransport. call(SOAP_ACTION, envelope);
} catch (Exception e) {
e.printStackTrace();
Toast.makeText(this, e.toString(), Toast.LENGTH_LONG).show();
}
// Get the SoapResult from the envelope body.
SoapObject result = (SoapObject) envelope.bodyIn;
}
} | android | null | null | null | null | 09/13/2011 10:36:09 | not a real question | Host is Unresolved... Unknown host Exception
===
public class main extends Activity {
/** Called when the activity is first created. */
private static String SOAP_ACTION = "http://footballpool.dataaccess.eu/data/TopGoalScorers";
private static String NAMESPACE = "http://footballpool.dataaccess.eu";
private static String METHOD_NAME = "TopGoalScorers";
private static String URL = "http://footballpool.dataaccess.eu/data/info.wso?WSDL";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
request.addProperty("iTopN", 5);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER11);
envelope.setOutputSoapObject(request);
// Make the soap call.
HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
//AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport("http://www.google.co.in");
try {
// this is the actual part that will call the webservice
androidHttpTransport. call(SOAP_ACTION, envelope);
} catch (Exception e) {
e.printStackTrace();
Toast.makeText(this, e.toString(), Toast.LENGTH_LONG).show();
}
// Get the SoapResult from the envelope body.
SoapObject result = (SoapObject) envelope.bodyIn;
}
} | 1 |
6,834,009 | 07/26/2011 17:25:39 | 863,962 | 07/26/2011 17:25:39 | 1 | 0 | Getting the value of an xml file | I need to get the data from an xml document, it needs to be the element name and its value, I need it in a format that will be easy for me to reconstruct the xml code afterwards after I finish changing its values.
C# | c# | xml | null | null | null | 07/26/2011 17:50:00 | not a real question | Getting the value of an xml file
===
I need to get the data from an xml document, it needs to be the element name and its value, I need it in a format that will be easy for me to reconstruct the xml code afterwards after I finish changing its values.
C# | 1 |
8,215,487 | 11/21/2011 16:58:23 | 1,058,238 | 11/21/2011 16:52:05 | 1 | 0 | How can i communicate with an HID USB device in delphi | I have been researching this problem for a while now and I just can't seem to get it right. I have a C++ version of the software I would like to make in delphi, but I can't get it to work in delphi. I need some sort of tutorial or guide that can show me how to connect to, read and write data to a HID USB device. | delphi | usb | read | write | hid | 11/22/2011 22:15:26 | not a real question | How can i communicate with an HID USB device in delphi
===
I have been researching this problem for a while now and I just can't seem to get it right. I have a C++ version of the software I would like to make in delphi, but I can't get it to work in delphi. I need some sort of tutorial or guide that can show me how to connect to, read and write data to a HID USB device. | 1 |
10,340,599 | 04/26/2012 20:01:44 | 314,073 | 04/11/2010 20:17:44 | 3,140 | 130 | How to handle RESTful delete in Spring MVC | How do I correctly use RESTful delete in Spring MVC controller? I have DAO that returns boolean when trying to delete some item.
I am trying to delete item. If everything was OK, just show list of items (deleted item won't be there anymore). If item cannot be removed, redirect to details page and say why it couldn't be deleted.
Do I need some special response status or something like this? Is my approach RESTful?
@RequestMapping(value = "items/{id}", method = RequestMethod.DELETE)
public String delete(@PathVariable("id") int itemId, Model model) {
Item item = itemDao.get(id);
// true -> can delete
// false -> cannot delete, f.e. is FK reference somewhere
boolean wasOk = itemDao.delete(item);
if (wasOk) {
return "redirect:/items";
}
// will write to user which item couldn't be deleted
model.addAttribute("item", item);
return "items/error";
}
| java | spring | rest | spring-mvc | null | null | open | How to handle RESTful delete in Spring MVC
===
How do I correctly use RESTful delete in Spring MVC controller? I have DAO that returns boolean when trying to delete some item.
I am trying to delete item. If everything was OK, just show list of items (deleted item won't be there anymore). If item cannot be removed, redirect to details page and say why it couldn't be deleted.
Do I need some special response status or something like this? Is my approach RESTful?
@RequestMapping(value = "items/{id}", method = RequestMethod.DELETE)
public String delete(@PathVariable("id") int itemId, Model model) {
Item item = itemDao.get(id);
// true -> can delete
// false -> cannot delete, f.e. is FK reference somewhere
boolean wasOk = itemDao.delete(item);
if (wasOk) {
return "redirect:/items";
}
// will write to user which item couldn't be deleted
model.addAttribute("item", item);
return "items/error";
}
| 0 |
2,570,966 | 04/03/2010 10:33:52 | 272,385 | 02/13/2010 12:41:22 | 36 | 0 | lIE8 opacity activex problem | In my css file I have this:
#imageDes {
opacity:.70;
filter: alpha(opacity=70);
}
if I use this on html page and open it in IE8, I get an activex warning!
What can I do?
| html | css | internet-explorer-8 | null | null | null | open | lIE8 opacity activex problem
===
In my css file I have this:
#imageDes {
opacity:.70;
filter: alpha(opacity=70);
}
if I use this on html page and open it in IE8, I get an activex warning!
What can I do?
| 0 |
2,455,807 | 03/16/2010 15:45:23 | 184,298 | 10/05/2009 10:50:45 | 17 | 2 | Flex - Issues with linkbar dataprovider | I'm having some issues displaying a linkbar.
The data I need to display is in a XML file.
However, I couldn't get the linkbar to display a xmllist (I did indeed read that you cannot set a xmlllist as a linkbar dataprovider... ). So, I'm transforming the xmllist in a array of objects.
Here is some code.
XML file:
<data>
<languages>
<language id="en">
<label>ENGLISH</label>
<source></source>
</language>
<language id="fr">
<label>FRANCAIS</label>
<source></source>
</language>
<language id="es">
<label>ESPAÑOL</label>
<source></source>
</language>
<language id="jp">
<label>JAPANESE</label>
<source></source>
</language>
</languages>
</data>
AS Code that transforms the xmllist in an array of objects:
private function init():void
{
var list:XMLList = generalData.languages.language;
var arr:ArrayCollection = new ArrayCollection;
var obj:Object;
for(var i:int = 0; i<list.length(); i++)
{
obj = new Object;
obj.id = list[i].@id;
obj.label = list[i].label;
obj.source = list[i].source;
arr.addItemAt(obj, arr.length);
}
GlobalData.instance.languages = arr.toArray();
}
Linkbar code:
<mx:HBox horizontalAlign="right" width="100%">
<mx:LinkBar id="language" dataProvider="{GlobalData.instance.languages}" separatorWidth="3" labelField="{label}"/>
</mx:HBox>
The separator is not displaying, and neither do the label.
But the array is populated (I tested it).
Thanks for any help you can provide =)
Regards,
BS_C3 | flex | dataprovider | null | null | null | null | open | Flex - Issues with linkbar dataprovider
===
I'm having some issues displaying a linkbar.
The data I need to display is in a XML file.
However, I couldn't get the linkbar to display a xmllist (I did indeed read that you cannot set a xmlllist as a linkbar dataprovider... ). So, I'm transforming the xmllist in a array of objects.
Here is some code.
XML file:
<data>
<languages>
<language id="en">
<label>ENGLISH</label>
<source></source>
</language>
<language id="fr">
<label>FRANCAIS</label>
<source></source>
</language>
<language id="es">
<label>ESPAÑOL</label>
<source></source>
</language>
<language id="jp">
<label>JAPANESE</label>
<source></source>
</language>
</languages>
</data>
AS Code that transforms the xmllist in an array of objects:
private function init():void
{
var list:XMLList = generalData.languages.language;
var arr:ArrayCollection = new ArrayCollection;
var obj:Object;
for(var i:int = 0; i<list.length(); i++)
{
obj = new Object;
obj.id = list[i].@id;
obj.label = list[i].label;
obj.source = list[i].source;
arr.addItemAt(obj, arr.length);
}
GlobalData.instance.languages = arr.toArray();
}
Linkbar code:
<mx:HBox horizontalAlign="right" width="100%">
<mx:LinkBar id="language" dataProvider="{GlobalData.instance.languages}" separatorWidth="3" labelField="{label}"/>
</mx:HBox>
The separator is not displaying, and neither do the label.
But the array is populated (I tested it).
Thanks for any help you can provide =)
Regards,
BS_C3 | 0 |
8,505,858 | 12/14/2011 14:10:16 | 1,097,941 | 12/14/2011 13:52:02 | 1 | 0 | jquery script doesn't work properly | I have three number intervals represented with 6 dropdown lists... the intervals shouldn't overlap, so i use change event on each dropdown list to check if there is overlaping.. The thing is the script works at the beggining, but after a while it starts to work confusing..
Here is a part of the javascript:
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j("#start1").change(function() {
if ( ($j("#end1").val()) < ($j("#start1").val()) )
{
$j("#end1").val($j("#start1").val()).change();
}//else do not change it
});
$j("#end1").change(function() {
if ( ($j("#end1").val()) < ($j("#start1").val()) )
{
$j("#end1").val($j("#start1").val());
//show message to user to enter bigger value
$j("#error1").text("You should enter bigger value.");
}
if ( ($j("#end1").val()) >= ($j("#start2").val()) )
{
$j("#start2").val(parseInt($j("#end1").val()) + 1).change();
}
});
and it goes similar for the other two intervals..
start1 and end1 are ids of the first interval dropdown lists (start and end value) start2 is id from the second interval
| jquery | drop-down-menu | change | null | null | 01/28/2012 21:08:34 | too localized | jquery script doesn't work properly
===
I have three number intervals represented with 6 dropdown lists... the intervals shouldn't overlap, so i use change event on each dropdown list to check if there is overlaping.. The thing is the script works at the beggining, but after a while it starts to work confusing..
Here is a part of the javascript:
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j("#start1").change(function() {
if ( ($j("#end1").val()) < ($j("#start1").val()) )
{
$j("#end1").val($j("#start1").val()).change();
}//else do not change it
});
$j("#end1").change(function() {
if ( ($j("#end1").val()) < ($j("#start1").val()) )
{
$j("#end1").val($j("#start1").val());
//show message to user to enter bigger value
$j("#error1").text("You should enter bigger value.");
}
if ( ($j("#end1").val()) >= ($j("#start2").val()) )
{
$j("#start2").val(parseInt($j("#end1").val()) + 1).change();
}
});
and it goes similar for the other two intervals..
start1 and end1 are ids of the first interval dropdown lists (start and end value) start2 is id from the second interval
| 3 |
6,685,303 | 07/13/2011 20:36:14 | 846,569 | 07/13/2011 20:36:14 | 1 | 0 | picking and choosing variables to activate and a user input method to do so | I have 14 variables that I have defined, but only want these to apply to a logarithm I have developed when explicitly called on via User Input. The logarithm I've made is for a tabletop RPG group of mine for character creation and uses "elemental alignments" in order to influence statistical data. The most a person can use are 5 of these at any time but no less than one.
double elemFire
double elemIce
double elemWater
double elemWind
double elemEarth
double elemPoison
double elemGravity
double elemShadow
double elemLight
double elemElec
double elemHoly
double elemAnti
double elemVoid
double elemTime
How would I call these specific variables using user input and ensure that a minimum of one and a maximum of 5 can be used at any given time?
The logarithm for calculations is absolutely massive as is and I do not want to have to make 14 more copies of that massive block of code. The biggest ambition is to cause the 1-5 variables called on to add a cumulative effect to the core stats for easier display.
This is the logarithm.
Scanner sin = new Scanner(System.in);
System.out.print("What year were you born? :");
yearBorn = sin.nextDouble();
logHPCalc = 2.0 / 16.0;
yourHP = yearBorn * logHPCalc;
yourMP = yourHP / 2.0;
yourNP = yourMP / 3.0;
yourPSI = yourNP + yourMP / 32.0;
logATK = yearBorn / 60.0;
logDEF = yearBorn / 120.0;
logMAG = yearBorn / 60.0;
logSPR = yearBorn / 120.0;
logSPD = yearBorn / 60.0;
logLCK = yearBorn / 120.0;
logEATK = yearBorn / 60.0;
logEDEF = yearBorn / 120.0;
statATK = yourHP / 2.0 + logATK;
statDEF = yourHP / 3.0 + logDEF;
statSPR = yourMP / 2.0 + logSPR;
statMAG = yourMP / 3.0 + logMAG;
statSPD = yourNP / 2.0 + logSPD;
statLCK = yourNP / 3.0 + logLCK;
statEATK = yourPSI / 2.0 + logEATK;
statEDEF = yourPSI / 3.0 + logEDEF;
System.out.print("What year is it? :");
yearNow = sin.nextDouble();
logHPCalcNow = logHPCalc * yearNow + 2.0 * 32.0;
yourHPNow = yearBorn * logHPCalcNow;
yourMPNow = yourHPNow / 2.0;
yourNPNow = yourMPNow / 3.0;
yourPSINow = yourMPNow + yourNPNow / 32.0;
logATKNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0;
logDEFNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0;
logMAGNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0;
logSPRNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0;
logSPDNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0;
logLCKNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0;
logEATKNow = yearBorn / 60.0 * yearNow * 2.0 * 32.0;
logEDEFNow = yearBorn / 120.0 * yearNow * 2.0 * 32.0;
statATKNow = yourHPNow / 2.0 + logATKNow;
statDEFNow = yourHPNow / 3.0 + logDEFNow;
statSPRNow = yourMPNow / 2.0 + logSPRNow;
statMAGNow = yourMPNow / 3.0 + logMAGNow;
statSPDNow = yourNPNow / 2.0 + logSPDNow;
statLCKNow = yourNPNow / 3.0 + logLCKNow;
statEATKNow = yourPSINow / 200.0 + logEATKNow;
statEDEFNow = yourPSINow / 300.0 + logEDEFNow;
nonHPBase = 200;
nonATKBase = 5;
nonDEFBase = 5;
nonSPDBase = 4;
nonLCKBase = 2;
nonHPGain = nonHPBase * nonDEFBase - 10 + yearNow;
nonATKGain = nonHPBase * nonATKBase / 25 + yearNow / 200;
nonDEFGain = nonHPBase * nonATKGain / 110 + yearNow / 200;
nonATKDEFSum = nonATKGain + nonDEFGain;
nonSPDGain = nonHPBase * nonATKDEFSum / 1000 + yearNow / 200;
nonSPDSum = nonHPBase * nonATKDEFSum / 2000;
nonLCKGain = nonHPBase * nonSPDSum / 400 + yearNow / 200;
usrTRANS = 4;
transHP = yearBorn * logHPCalc * usrTRANS;
transMP = yourHP / 2.0 * usrTRANS;
transNP = yourMP / 3.0 * usrTRANS;
transPSI = yourNP + yourMP / 32.0 * usrTRANS;
translogATK = yearBorn / 60.0 * usrTRANS;
translogDEF = yearBorn / 120.0 * usrTRANS;
translogMAG = yearBorn / 60.0 * usrTRANS;
translogSPR = yearBorn / 120.0 * usrTRANS;
translogSPD = yearBorn / 60.0 * usrTRANS;
translogLCK = yearBorn / 120.0 * usrTRANS;
translogEATK = yearBorn / 60.0 * usrTRANS;
translogEDEF = yearBorn / 120.0 * usrTRANS;
transstatATK = yourHP / 2.0 + logATK * usrTRANS;
transstatDEF = yourHP / 3.0 + logDEF * usrTRANS;
transstatSPR = yourMP / 2.0 + logSPR * usrTRANS;
transstatMAG = yourMP / 3.0 + logMAG * usrTRANS;
transstatSPD = yourNP / 2.0 + logSPD * usrTRANS;
transstatLCK = yourNP / 3.0 + logLCK * usrTRANS;
transstatEATK = yourPSI / 2.0 + logEATK * usrTRANS;
transstatEDEF = yourPSI / 3.0 + logEDEF * usrTRANS;
translogHPCalcNow = logHPCalc * yearNow + 2.0 * 32.0 * usrTRANS;
transHPNow = yearBorn * logHPCalcNow * usrTRANS;
transMPNow = yourHPNow / 2.0 * usrTRANS;
transNPNow = yourMPNow / 3.0 * usrTRANS;
transPSINow = yourMPNow + yourNPNow / 32.0 * usrTRANS;
translogATKNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogDEFNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogMAGNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogSPRNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogSPDNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogLCKNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogEATKNow = yearBorn / 60.0 * yearNow * 2.0 * 32.0 * usrTRANS;
translogEDEFNow = yearBorn / 120.0 * yearNow * 2.0 * 32.0 * usrTRANS;
transstatATKNow = yourHPNow / 2.0 + logATKNow * usrTRANS;
transstatDEFNow = yourHPNow / 3.0 + logDEFNow * usrTRANS;
transstatSPRNow = yourMPNow / 2.0 + logSPRNow * usrTRANS;
transstatMAGNow = yourMPNow / 3.0 + logMAGNow * usrTRANS;
transstatSPDNow = yourNPNow / 2.0 + logSPDNow * usrTRANS;
transstatLCKNow = yourNPNow / 3.0 + logLCKNow * usrTRANS;
transstatEATKNow = yourPSINow / 200.0 + logEATKNow * usrTRANS;
transstatEDEFNow = yourPSINow / 300.0 + logEDEFNow * usrTRANS;
I want these 14 variables to affect this, but only when called on, and only a minimum of 1 and a maximum of 5. Code optimization help is optional but would be GREATLY appreciated. | java | null | null | null | null | null | open | picking and choosing variables to activate and a user input method to do so
===
I have 14 variables that I have defined, but only want these to apply to a logarithm I have developed when explicitly called on via User Input. The logarithm I've made is for a tabletop RPG group of mine for character creation and uses "elemental alignments" in order to influence statistical data. The most a person can use are 5 of these at any time but no less than one.
double elemFire
double elemIce
double elemWater
double elemWind
double elemEarth
double elemPoison
double elemGravity
double elemShadow
double elemLight
double elemElec
double elemHoly
double elemAnti
double elemVoid
double elemTime
How would I call these specific variables using user input and ensure that a minimum of one and a maximum of 5 can be used at any given time?
The logarithm for calculations is absolutely massive as is and I do not want to have to make 14 more copies of that massive block of code. The biggest ambition is to cause the 1-5 variables called on to add a cumulative effect to the core stats for easier display.
This is the logarithm.
Scanner sin = new Scanner(System.in);
System.out.print("What year were you born? :");
yearBorn = sin.nextDouble();
logHPCalc = 2.0 / 16.0;
yourHP = yearBorn * logHPCalc;
yourMP = yourHP / 2.0;
yourNP = yourMP / 3.0;
yourPSI = yourNP + yourMP / 32.0;
logATK = yearBorn / 60.0;
logDEF = yearBorn / 120.0;
logMAG = yearBorn / 60.0;
logSPR = yearBorn / 120.0;
logSPD = yearBorn / 60.0;
logLCK = yearBorn / 120.0;
logEATK = yearBorn / 60.0;
logEDEF = yearBorn / 120.0;
statATK = yourHP / 2.0 + logATK;
statDEF = yourHP / 3.0 + logDEF;
statSPR = yourMP / 2.0 + logSPR;
statMAG = yourMP / 3.0 + logMAG;
statSPD = yourNP / 2.0 + logSPD;
statLCK = yourNP / 3.0 + logLCK;
statEATK = yourPSI / 2.0 + logEATK;
statEDEF = yourPSI / 3.0 + logEDEF;
System.out.print("What year is it? :");
yearNow = sin.nextDouble();
logHPCalcNow = logHPCalc * yearNow + 2.0 * 32.0;
yourHPNow = yearBorn * logHPCalcNow;
yourMPNow = yourHPNow / 2.0;
yourNPNow = yourMPNow / 3.0;
yourPSINow = yourMPNow + yourNPNow / 32.0;
logATKNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0;
logDEFNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0;
logMAGNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0;
logSPRNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0;
logSPDNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0;
logLCKNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0;
logEATKNow = yearBorn / 60.0 * yearNow * 2.0 * 32.0;
logEDEFNow = yearBorn / 120.0 * yearNow * 2.0 * 32.0;
statATKNow = yourHPNow / 2.0 + logATKNow;
statDEFNow = yourHPNow / 3.0 + logDEFNow;
statSPRNow = yourMPNow / 2.0 + logSPRNow;
statMAGNow = yourMPNow / 3.0 + logMAGNow;
statSPDNow = yourNPNow / 2.0 + logSPDNow;
statLCKNow = yourNPNow / 3.0 + logLCKNow;
statEATKNow = yourPSINow / 200.0 + logEATKNow;
statEDEFNow = yourPSINow / 300.0 + logEDEFNow;
nonHPBase = 200;
nonATKBase = 5;
nonDEFBase = 5;
nonSPDBase = 4;
nonLCKBase = 2;
nonHPGain = nonHPBase * nonDEFBase - 10 + yearNow;
nonATKGain = nonHPBase * nonATKBase / 25 + yearNow / 200;
nonDEFGain = nonHPBase * nonATKGain / 110 + yearNow / 200;
nonATKDEFSum = nonATKGain + nonDEFGain;
nonSPDGain = nonHPBase * nonATKDEFSum / 1000 + yearNow / 200;
nonSPDSum = nonHPBase * nonATKDEFSum / 2000;
nonLCKGain = nonHPBase * nonSPDSum / 400 + yearNow / 200;
usrTRANS = 4;
transHP = yearBorn * logHPCalc * usrTRANS;
transMP = yourHP / 2.0 * usrTRANS;
transNP = yourMP / 3.0 * usrTRANS;
transPSI = yourNP + yourMP / 32.0 * usrTRANS;
translogATK = yearBorn / 60.0 * usrTRANS;
translogDEF = yearBorn / 120.0 * usrTRANS;
translogMAG = yearBorn / 60.0 * usrTRANS;
translogSPR = yearBorn / 120.0 * usrTRANS;
translogSPD = yearBorn / 60.0 * usrTRANS;
translogLCK = yearBorn / 120.0 * usrTRANS;
translogEATK = yearBorn / 60.0 * usrTRANS;
translogEDEF = yearBorn / 120.0 * usrTRANS;
transstatATK = yourHP / 2.0 + logATK * usrTRANS;
transstatDEF = yourHP / 3.0 + logDEF * usrTRANS;
transstatSPR = yourMP / 2.0 + logSPR * usrTRANS;
transstatMAG = yourMP / 3.0 + logMAG * usrTRANS;
transstatSPD = yourNP / 2.0 + logSPD * usrTRANS;
transstatLCK = yourNP / 3.0 + logLCK * usrTRANS;
transstatEATK = yourPSI / 2.0 + logEATK * usrTRANS;
transstatEDEF = yourPSI / 3.0 + logEDEF * usrTRANS;
translogHPCalcNow = logHPCalc * yearNow + 2.0 * 32.0 * usrTRANS;
transHPNow = yearBorn * logHPCalcNow * usrTRANS;
transMPNow = yourHPNow / 2.0 * usrTRANS;
transNPNow = yourMPNow / 3.0 * usrTRANS;
transPSINow = yourMPNow + yourNPNow / 32.0 * usrTRANS;
translogATKNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogDEFNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogMAGNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogSPRNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogSPDNow = yearBorn / 60.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogLCKNow = yearBorn / 120.0 * yearNow + 2.0 * 32.0 * usrTRANS;
translogEATKNow = yearBorn / 60.0 * yearNow * 2.0 * 32.0 * usrTRANS;
translogEDEFNow = yearBorn / 120.0 * yearNow * 2.0 * 32.0 * usrTRANS;
transstatATKNow = yourHPNow / 2.0 + logATKNow * usrTRANS;
transstatDEFNow = yourHPNow / 3.0 + logDEFNow * usrTRANS;
transstatSPRNow = yourMPNow / 2.0 + logSPRNow * usrTRANS;
transstatMAGNow = yourMPNow / 3.0 + logMAGNow * usrTRANS;
transstatSPDNow = yourNPNow / 2.0 + logSPDNow * usrTRANS;
transstatLCKNow = yourNPNow / 3.0 + logLCKNow * usrTRANS;
transstatEATKNow = yourPSINow / 200.0 + logEATKNow * usrTRANS;
transstatEDEFNow = yourPSINow / 300.0 + logEDEFNow * usrTRANS;
I want these 14 variables to affect this, but only when called on, and only a minimum of 1 and a maximum of 5. Code optimization help is optional but would be GREATLY appreciated. | 0 |
5,854,036 | 05/02/2011 06:21:13 | 681,703 | 03/29/2011 08:53:10 | 4 | 0 | How to configure mysql with gearman? | I have installed gearman in my PC.Also its working fine.But as of now its was non persistence storage, but i need to make as a persistence storage.Then i have plan to configure mysql into gearman,but i did't able to do.I don't know how to configure.
If any one know kindly response with your link.If any example program it could be much better.
Thanks | mysql | configure | gearman | null | null | null | open | How to configure mysql with gearman?
===
I have installed gearman in my PC.Also its working fine.But as of now its was non persistence storage, but i need to make as a persistence storage.Then i have plan to configure mysql into gearman,but i did't able to do.I don't know how to configure.
If any one know kindly response with your link.If any example program it could be much better.
Thanks | 0 |
10,025,867 | 04/05/2012 09:16:14 | 1,197,089 | 02/08/2012 11:48:36 | 6 | 0 | Slow Responsiveness MySql | I have fired a command SHOW ENGINE INNODB STATUS; in mysql for detecting slowness in response, following is the stacktrace of Semaphore, but as I am new to this, so can't figure out statistics, please let me know if we can trace something from it.
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 22124, signal count 103334
Mutex spin waits 2140674, rounds 1742014, OS waits 8304
RW-shared spins 24931, OS waits 4171; RW-excl spins 1775, OS waits 8282
Spin rounds per wait: 0.81 mutex, 10.20 RW-shared, 210.67 RW-excl
| mysql | innodb | semaphore | null | null | 04/09/2012 17:53:46 | not a real question | Slow Responsiveness MySql
===
I have fired a command SHOW ENGINE INNODB STATUS; in mysql for detecting slowness in response, following is the stacktrace of Semaphore, but as I am new to this, so can't figure out statistics, please let me know if we can trace something from it.
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 22124, signal count 103334
Mutex spin waits 2140674, rounds 1742014, OS waits 8304
RW-shared spins 24931, OS waits 4171; RW-excl spins 1775, OS waits 8282
Spin rounds per wait: 0.81 mutex, 10.20 RW-shared, 210.67 RW-excl
| 1 |
3,492,159 | 08/16/2010 10:03:26 | 330,885 | 05/02/2010 16:27:08 | 28 | 0 | How can I save UIPickerView rows selection | I have an UIPickerView with 2 components.
I would like to save the user's selection for the components.
How can I do that?
I have tried with NSUserDefaults but it didn't help.
Thanks! | uipickerview | null | null | null | null | null | open | How can I save UIPickerView rows selection
===
I have an UIPickerView with 2 components.
I would like to save the user's selection for the components.
How can I do that?
I have tried with NSUserDefaults but it didn't help.
Thanks! | 0 |
8,535,315 | 12/16/2011 14:06:18 | 568,822 | 01/09/2011 14:32:12 | 192 | 8 | strange scanf argument | What will be occurred in this lines of code :
char Message[10];
scanf("%s%*",&Message,'?');
Why it reads two lines and then it will igonre the second line ?
It gives me first line as output when i use
`printf("%s",Message)`
| c++ | c | null | null | null | 12/17/2011 04:39:09 | not a real question | strange scanf argument
===
What will be occurred in this lines of code :
char Message[10];
scanf("%s%*",&Message,'?');
Why it reads two lines and then it will igonre the second line ?
It gives me first line as output when i use
`printf("%s",Message)`
| 1 |
6,699,819 | 07/14/2011 20:56:40 | 845,382 | 07/14/2011 20:45:24 | 1 | 0 | access Blackberry applications from desktop | how to access applications of Blackberry and work with them from desktop. Would like to access sms,switch off and on the device etc. | blackberry | null | null | null | null | 11/11/2011 16:47:16 | not a real question | access Blackberry applications from desktop
===
how to access applications of Blackberry and work with them from desktop. Would like to access sms,switch off and on the device etc. | 1 |
4,696,046 | 01/14/2011 21:17:00 | 700,801 | 09/06/2010 21:31:39 | 13 | 0 | How to create a timer thread in c | How to create a timer thread function : timerThreadFunction(pthread_t thread_id), and check the result of the timer in a safe manner from other function:
// Begin of atomic part -- cause i'm in multithreaded environement
if (timerThreadFunction(thread_id) has not expired) {
// SOME WORK HERE
}
else {
// Timer expired
// some work here
}
// End of atomic part
THANKS.
| c | multithreading | timer | null | null | null | open | How to create a timer thread in c
===
How to create a timer thread function : timerThreadFunction(pthread_t thread_id), and check the result of the timer in a safe manner from other function:
// Begin of atomic part -- cause i'm in multithreaded environement
if (timerThreadFunction(thread_id) has not expired) {
// SOME WORK HERE
}
else {
// Timer expired
// some work here
}
// End of atomic part
THANKS.
| 0 |
8,268,223 | 11/25/2011 11:09:59 | 1,065,480 | 11/25/2011 10:58:06 | 1 | 0 | how to read the text box values | I am new to this ios development. In my first journey, I am trying to develope a login application on ios. Regarding this, I have created a UI with two labels and two text boxes and one button.
I have the method 'login'.
My requirement is after entering the values in text boxes, if I click on 'login' button then in the 'login' method I have to read the two values which are entered in the text box and validate the authontication(hard coded) and forward to success view.
Please give me this example.
Thanks & Regards,
Syed | ios | null | null | null | null | 11/25/2011 13:16:10 | not constructive | how to read the text box values
===
I am new to this ios development. In my first journey, I am trying to develope a login application on ios. Regarding this, I have created a UI with two labels and two text boxes and one button.
I have the method 'login'.
My requirement is after entering the values in text boxes, if I click on 'login' button then in the 'login' method I have to read the two values which are entered in the text box and validate the authontication(hard coded) and forward to success view.
Please give me this example.
Thanks & Regards,
Syed | 4 |
6,718,298 | 07/16/2011 15:20:32 | 847,884 | 07/16/2011 15:20:32 | 1 | 0 | IE 6 browser throws out my content | I am PHP programmer and absolute beginner of CSS. Working with one of my friend blog
http://www.onepriceindia.com/s/
I am getting CSS issue when i viewing the site in internet explorer as illustrated below.
http://i51.tinypic.com/2eg8xg4.jpg
Please help me to resolve this issue.. | ie6-ie7-bug | null | null | null | null | 07/16/2011 17:39:56 | not a real question | IE 6 browser throws out my content
===
I am PHP programmer and absolute beginner of CSS. Working with one of my friend blog
http://www.onepriceindia.com/s/
I am getting CSS issue when i viewing the site in internet explorer as illustrated below.
http://i51.tinypic.com/2eg8xg4.jpg
Please help me to resolve this issue.. | 1 |
10,027,815 | 04/05/2012 11:34:20 | 1,211,672 | 02/15/2012 15:12:41 | 6 | 0 | write html page to the pdf file in asp.net | I can get my page's html code during my program and what I want to do is that I want to put this html page code in to the pdf file and My pdf file will be the same as my html page. is it possible ? if yes , how can I do this ? | c# | asp.net | html | null | null | 04/06/2012 11:47:38 | not a real question | write html page to the pdf file in asp.net
===
I can get my page's html code during my program and what I want to do is that I want to put this html page code in to the pdf file and My pdf file will be the same as my html page. is it possible ? if yes , how can I do this ? | 1 |
3,228,382 | 07/12/2010 12:13:28 | 185,655 | 10/07/2009 13:59:11 | 389 | 41 | ASP.Net web flow | I am developing a large asp.net based application. Certain pages & links require user authentication. At some page, I have links and form submission for which I first need to authenticate the user. Here is an example:
In PageX I have a link L1. When user click, i check if user is authenticated or not. If not I redirect to login page. Once, the user is authenticated, I redirect back him to the PageX. But the problem is, I don't want the user to click L1 again! Instead, I want the L1 action to be executed once user is authenticated and its results displayed etc.
I am trying to have a good solution to this problem. Any idea on how to accomplish this?
| c# | asp.net | web-applications | null | null | null | open | ASP.Net web flow
===
I am developing a large asp.net based application. Certain pages & links require user authentication. At some page, I have links and form submission for which I first need to authenticate the user. Here is an example:
In PageX I have a link L1. When user click, i check if user is authenticated or not. If not I redirect to login page. Once, the user is authenticated, I redirect back him to the PageX. But the problem is, I don't want the user to click L1 again! Instead, I want the L1 action to be executed once user is authenticated and its results displayed etc.
I am trying to have a good solution to this problem. Any idea on how to accomplish this?
| 0 |
9,042,766 | 01/28/2012 03:49:05 | 204,245 | 11/05/2009 22:37:59 | 16 | 0 | XPATH to exclude certain urls with wildcard | I have the following XPATH selection.
//BLOCKQUOTE[@class='postcontent restore ']/A
Now i want to exclude certain links using wildcard.
Where attribute @href!="http://domain.com/download.php *'
How do I this ? | xpath | wildcard | null | null | null | null | open | XPATH to exclude certain urls with wildcard
===
I have the following XPATH selection.
//BLOCKQUOTE[@class='postcontent restore ']/A
Now i want to exclude certain links using wildcard.
Where attribute @href!="http://domain.com/download.php *'
How do I this ? | 0 |
4,954,028 | 02/10/2011 06:24:43 | 610,861 | 02/10/2011 05:19:36 | 1 | 0 | Want help to make Android layout same like attachd image | I am getting stuck with making android screen layout same like i have in my iphone application. I gave link for image. Please anyone can help me out to make same screen for android. You can give me some idea with having some code snippet please.
Link for Screen image : http://www.4shared.com/photo/tnfYivPk/want_Android_Screen.html
Thanks in advance.
Regards,
Tejas
| android | layout | screen | null | null | null | open | Want help to make Android layout same like attachd image
===
I am getting stuck with making android screen layout same like i have in my iphone application. I gave link for image. Please anyone can help me out to make same screen for android. You can give me some idea with having some code snippet please.
Link for Screen image : http://www.4shared.com/photo/tnfYivPk/want_Android_Screen.html
Thanks in advance.
Regards,
Tejas
| 0 |
4,981,931 | 02/13/2011 01:51:27 | 614,722 | 02/13/2011 01:51:27 | 1 | 0 | How to toggle 2 divs on a click of a button? | Basically, i want to toggle an image with a flash file on click of a button. I want to show image in the beginning but want it to replaced by flash file. Also, i want the original image to show again on the click of the same button.. | php | jquery | html | null | null | null | open | How to toggle 2 divs on a click of a button?
===
Basically, i want to toggle an image with a flash file on click of a button. I want to show image in the beginning but want it to replaced by flash file. Also, i want the original image to show again on the click of the same button.. | 0 |
3,609,572 | 08/31/2010 13:44:04 | 78,259 | 03/15/2009 12:51:33 | 19,741 | 469 | Does either ANSI C or ISO C specify what -5 % 10 should be? | I seem to remember that ANSI C didn't specify what value should be returned when either operand of a modulo operator is negative (just that it should be consistent). Did it get specified later, or was it always specified and I am remembering incorrectly? | c | modulo | null | null | null | null | open | Does either ANSI C or ISO C specify what -5 % 10 should be?
===
I seem to remember that ANSI C didn't specify what value should be returned when either operand of a modulo operator is negative (just that it should be consistent). Did it get specified later, or was it always specified and I am remembering incorrectly? | 0 |
9,023,205 | 01/26/2012 18:21:44 | 1,100,412 | 12/15/2011 17:23:17 | 7 | 0 | Create A Centered Curved Box Inside a Curved Box | I got another css issue that I hope can be quickly remedied. I'm trying to simply have a curved box of text with one background color, vertically and horizontally centered inside another curved box of another color. I tried using the border-width attribute for one box, but that only curved the outside border of the box, not the inside border additionally. I almost have it working, but it is not centering vertically. This can't be too hard, but I'm hitting a brick wall. Here is the code:
<html>
<head>
<style type="text/css">
div#outer {
margin:0 auto;
width:100%;
height:50px;
background-color:#0000FF;
border-radius:5px;
-webkit-border-radius:5px;
text-align:center;
}
#inner{
margin:0 auto;
width:95%;
height:40px;
margin-top:5px;
display:block;
background-color:#ff0000;
border-radius:5px;
-webkit-border-radius:5px;
color:#FFF;
font-size:24px;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
line-height:40px;
text-align:center;
}
</style>
</head>
<body>
<div id="outer"><div id="inner">Centered Text goes here</div></div>
</body>
</html>
| css | div | curve | null | null | null | open | Create A Centered Curved Box Inside a Curved Box
===
I got another css issue that I hope can be quickly remedied. I'm trying to simply have a curved box of text with one background color, vertically and horizontally centered inside another curved box of another color. I tried using the border-width attribute for one box, but that only curved the outside border of the box, not the inside border additionally. I almost have it working, but it is not centering vertically. This can't be too hard, but I'm hitting a brick wall. Here is the code:
<html>
<head>
<style type="text/css">
div#outer {
margin:0 auto;
width:100%;
height:50px;
background-color:#0000FF;
border-radius:5px;
-webkit-border-radius:5px;
text-align:center;
}
#inner{
margin:0 auto;
width:95%;
height:40px;
margin-top:5px;
display:block;
background-color:#ff0000;
border-radius:5px;
-webkit-border-radius:5px;
color:#FFF;
font-size:24px;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
line-height:40px;
text-align:center;
}
</style>
</head>
<body>
<div id="outer"><div id="inner">Centered Text goes here</div></div>
</body>
</html>
| 0 |
8,347,435 | 12/01/2011 19:52:59 | 1,076,197 | 12/01/2011 19:50:41 | 1 | 0 | sqrt() takes exactly 2 arguments (1 given) | def sqrt (n, one):
floating_point_precision = 10*16
n_float = float(( n * floating_point_precision) // one) / floating_point_precision
x = (int(floating_point_precision * math.sqrt(n_float)) * one) // floating_point_precision
n_one = n * one
while 1:
x_old = x
x = ( x + n_one // x) // 2
if x == x_old:
return x
print "The newton estimate of", mynum, "is", sqrt(mynum)
Traceback (most recent call last):
File "/Users/Brett/Desktop/Python/squareroot.py", line 21, in <module>
print "The newton estimate of", mynum, "is", sqrt(mynum)
TypeError: sqrt() takes exactly 2 arguments (1 given) | python | null | null | null | null | 12/02/2011 02:06:55 | not a real question | sqrt() takes exactly 2 arguments (1 given)
===
def sqrt (n, one):
floating_point_precision = 10*16
n_float = float(( n * floating_point_precision) // one) / floating_point_precision
x = (int(floating_point_precision * math.sqrt(n_float)) * one) // floating_point_precision
n_one = n * one
while 1:
x_old = x
x = ( x + n_one // x) // 2
if x == x_old:
return x
print "The newton estimate of", mynum, "is", sqrt(mynum)
Traceback (most recent call last):
File "/Users/Brett/Desktop/Python/squareroot.py", line 21, in <module>
print "The newton estimate of", mynum, "is", sqrt(mynum)
TypeError: sqrt() takes exactly 2 arguments (1 given) | 1 |
2,791,914 | 05/07/2010 21:58:06 | 318,957 | 04/16/2010 23:18:04 | 6 | 1 | Fiscal year, quarters, student table, and faculty table... How do I relate these?! | I have a student and faculty table. The primary key for student is studendID (SID) and faculty's primary key is facultyID, naturally. Student has an advisor column and a requested advisor column, which are foreign key to faculty. That's simple enough, right?
However, now I have to throw in dates. I want to be able to view who their advisor was for a certain quarter (such as 2009 Winter) and who they had requested.
The result will be a table like this:
Year | Term | SID | Current | Requested
------------------------------------------------
2009 | Winter | 860123456 | 1 | NULL
2009 | Winter | 860445566 | 3 | NULL
2009 | Winter | 860369147 | 5 | 1
And then if I feel like it, I could also go ahead and view a different year and a different term.
I am not sure how these new table(s) will look like. Will there be a year table with three columns that are Fall, Spring and Winter? And what will the Fall, Spring, Winter table have?
I am new to the art of tables, so this is baffling me...
Also, I feel I should clarify how the site works so far now.
Admin can approve student requests, and what happens is that the student's current advisor gets overwritten with their request. However, I think I should not do that anymore, right? | mysql | table | relationships | table-relationships | null | null | open | Fiscal year, quarters, student table, and faculty table... How do I relate these?!
===
I have a student and faculty table. The primary key for student is studendID (SID) and faculty's primary key is facultyID, naturally. Student has an advisor column and a requested advisor column, which are foreign key to faculty. That's simple enough, right?
However, now I have to throw in dates. I want to be able to view who their advisor was for a certain quarter (such as 2009 Winter) and who they had requested.
The result will be a table like this:
Year | Term | SID | Current | Requested
------------------------------------------------
2009 | Winter | 860123456 | 1 | NULL
2009 | Winter | 860445566 | 3 | NULL
2009 | Winter | 860369147 | 5 | 1
And then if I feel like it, I could also go ahead and view a different year and a different term.
I am not sure how these new table(s) will look like. Will there be a year table with three columns that are Fall, Spring and Winter? And what will the Fall, Spring, Winter table have?
I am new to the art of tables, so this is baffling me...
Also, I feel I should clarify how the site works so far now.
Admin can approve student requests, and what happens is that the student's current advisor gets overwritten with their request. However, I think I should not do that anymore, right? | 0 |
3,647,619 | 09/05/2010 20:11:19 | 440,187 | 09/05/2010 20:11:18 | 1 | 0 | Perl regexp to detect a number of vars defined in another regexp | For example, /(\w+) (?:\+) (\w)/
that regexp must return 2. | regex | perl | null | null | null | 09/06/2010 03:08:59 | not a real question | Perl regexp to detect a number of vars defined in another regexp
===
For example, /(\w+) (?:\+) (\w)/
that regexp must return 2. | 1 |
4,099,117 | 11/04/2010 16:54:49 | 497,452 | 11/04/2010 16:54:49 | 1 | 0 | Distorted buttons and edittexts | I have an issue with the rendering of some views (buttons and edittext) which edges are distorted (the left and right edges appear 1 px below the body of the control). Controls on my device behave like that, but not on the emulator. Does anyone know the reason of this?
| android | layout | null | null | null | null | open | Distorted buttons and edittexts
===
I have an issue with the rendering of some views (buttons and edittext) which edges are distorted (the left and right edges appear 1 px below the body of the control). Controls on my device behave like that, but not on the emulator. Does anyone know the reason of this?
| 0 |
9,145,127 | 02/04/2012 22:23:05 | 1,076,389 | 12/01/2011 22:12:25 | 90 | 7 | ItextSharp (Itext) - set custom font for paragraph | I am trying to set custom font to Paragraph, but I can't make it work.
I tried setting .Font= , but it only works size-wise, but it ignores font. Could you please assist?
Paragraph T = new Paragraph(newTempLine);
iTextSharp.text.Font contentFont = iTextSharp.text.FontFactory.GetFont("Webdings", 12, iTextSharp.text.Font.NORMAL);
T.Font = contentFont;
myDocument.Add(T); | c# | winforms | fonts | itextsharp | itext | null | open | ItextSharp (Itext) - set custom font for paragraph
===
I am trying to set custom font to Paragraph, but I can't make it work.
I tried setting .Font= , but it only works size-wise, but it ignores font. Could you please assist?
Paragraph T = new Paragraph(newTempLine);
iTextSharp.text.Font contentFont = iTextSharp.text.FontFactory.GetFont("Webdings", 12, iTextSharp.text.Font.NORMAL);
T.Font = contentFont;
myDocument.Add(T); | 0 |
11,650,679 | 07/25/2012 13:20:42 | 1,524,894 | 07/14/2012 00:54:31 | 1 | 0 | Pygame - Space Invaders aliens, hit detection, and bounding area? | http://pastebin.com/FvQTpeqh
is the code I have so far, but I want to change it so if the player attempts to move outside the area of the screen, the spaceship will stay stuck on one side or the other
also I would like to be able to make 5 rows of aliens with 11 aliens in each row, but I'm not quite sure how to do this and I would like to be able to append them to a list
lastly, I'm wondering how I can detect whether a player or alien has been hit by a bullet
you may have to supply your own images, the sprites for aliens and players are 50x50 | python | pygame | null | null | null | 07/26/2012 09:44:22 | too localized | Pygame - Space Invaders aliens, hit detection, and bounding area?
===
http://pastebin.com/FvQTpeqh
is the code I have so far, but I want to change it so if the player attempts to move outside the area of the screen, the spaceship will stay stuck on one side or the other
also I would like to be able to make 5 rows of aliens with 11 aliens in each row, but I'm not quite sure how to do this and I would like to be able to append them to a list
lastly, I'm wondering how I can detect whether a player or alien has been hit by a bullet
you may have to supply your own images, the sprites for aliens and players are 50x50 | 3 |
8,590,039 | 12/21/2011 12:46:09 | 542,798 | 12/15/2010 01:47:22 | 85 | 1 | PHP Get current url change query string and redirect | I would like to get the current url, change the paged parameter if exists and reload the page again with the parameter updated..
I'm getting the page URL like this: `$_SERVER['REQUEST_URI'] ` but after this, I dont know what to do | php | pagination | paging | null | null | 03/20/2012 21:46:19 | not a real question | PHP Get current url change query string and redirect
===
I would like to get the current url, change the paged parameter if exists and reload the page again with the parameter updated..
I'm getting the page URL like this: `$_SERVER['REQUEST_URI'] ` but after this, I dont know what to do | 1 |
7,951,916 | 10/31/2011 09:35:39 | 934,779 | 09/08/2011 12:24:13 | 1 | 1 | Android: Google Maps API still free? | I read that google maps will not be free to use for websites in the near future - this brings me to the question if the google maps APIs for android development will still remain free? | android | google | maps | null | null | 05/15/2012 11:35:31 | off topic | Android: Google Maps API still free?
===
I read that google maps will not be free to use for websites in the near future - this brings me to the question if the google maps APIs for android development will still remain free? | 2 |
8,687,116 | 12/31/2011 08:11:13 | 1,066,501 | 11/26/2011 03:11:58 | 1 | 0 | How can I grasp the marrow of multithread in Java? | Since it's all about lock and atomic,wait and notifyall,i just know how to use it,but i can not understand how it works?what is the mystery in back?Thank you. | java | multithreading | null | null | null | 12/31/2011 08:45:21 | not a real question | How can I grasp the marrow of multithread in Java?
===
Since it's all about lock and atomic,wait and notifyall,i just know how to use it,but i can not understand how it works?what is the mystery in back?Thank you. | 1 |
5,675,873 | 04/15/2011 11:16:38 | 158,109 | 08/18/2009 00:12:24 | 301 | 2 | openGL weird bug? | I have the following code:
glNormal3f(0, 0, 1);
glColor3f(1, 0, 0);
glBegin(GL_POINTS);
glVertex3f(-45, 75, -5);
glVertex3f(-45, 90, -5);
glVertex3f(-30, 90, -5);
glVertex3f(-30, 80, -5);
glVertex3f(-35, 80, -5);
glVertex3f(-35, 75, -5);
glVertex3f(-45, 75, -5);
glEnd();
glColor3f(1, 1, 0);
glBegin(GL_POLYGON);
glVertex3f(-45, 75, -5);
glVertex3f(-45, 90, -5);
glVertex3f(-30, 90, -5);
glVertex3f(-30, 80, -5);
glVertex3f(-35, 80, -5);
glVertex3f(-35, 75, -5);
glVertex3f(-45, 75, -5);
glEnd();
Notice how the code between glBegin and glEnd in each instance is identical.
But the vertices of the GL_POLYGON (yellow) don't match up with the GL_POINTS (red).
Here is a screenshot:
![openGL bug][1]
[1]: http://i.stack.imgur.com/y1dw6.png
The more I use openGL the more I'm hating it. But I guess it's probably something I'm doing wrong... What is up? | c++ | opengl | null | null | null | null | open | openGL weird bug?
===
I have the following code:
glNormal3f(0, 0, 1);
glColor3f(1, 0, 0);
glBegin(GL_POINTS);
glVertex3f(-45, 75, -5);
glVertex3f(-45, 90, -5);
glVertex3f(-30, 90, -5);
glVertex3f(-30, 80, -5);
glVertex3f(-35, 80, -5);
glVertex3f(-35, 75, -5);
glVertex3f(-45, 75, -5);
glEnd();
glColor3f(1, 1, 0);
glBegin(GL_POLYGON);
glVertex3f(-45, 75, -5);
glVertex3f(-45, 90, -5);
glVertex3f(-30, 90, -5);
glVertex3f(-30, 80, -5);
glVertex3f(-35, 80, -5);
glVertex3f(-35, 75, -5);
glVertex3f(-45, 75, -5);
glEnd();
Notice how the code between glBegin and glEnd in each instance is identical.
But the vertices of the GL_POLYGON (yellow) don't match up with the GL_POINTS (red).
Here is a screenshot:
![openGL bug][1]
[1]: http://i.stack.imgur.com/y1dw6.png
The more I use openGL the more I'm hating it. But I guess it's probably something I'm doing wrong... What is up? | 0 |
5,881,947 | 05/04/2011 10:25:00 | 737,784 | 05/04/2011 10:25:00 | 1 | 0 | query for available rooms in hotel reservation | i was tasked to create an online hotel reservation system. the problem i encountered is the query to find the available rooms for a certain room category for a certain date range. My database design involves 4 tables. The database design is as follows:
tbl_reservationdetails ( stores the general details of the reservation )
pk resrvdtl_id (primary key)
fk client_id (insignificant for now)
start_date (customer's check-in-date)
end_date (customer's check-out-date)
tbl_reservation (stores the rooms reserved for a particular reservation )
pk reserv_id (primary key)
fk resrvdtl_id (foreign key, to know to whom and when the room should be occupied)
fk room_id (the room reserved)
tbl_room
pk room_id (primary key)
room_number
fk room_categId (to know what category this room belongs to)
tbl_roomcategory
pk room_categId (primary key)
room_category (description of category.. example: Suite, Superior, Deluxe etc. in my case... there are four categories)
user input is the dates (start and end), and the category of room he wants. I'm quite new at this... how do I query to check the available room for that category for a certain date?????
any response to this would be highly appreciated... thanks | sql | query | online | reservation | null | null | open | query for available rooms in hotel reservation
===
i was tasked to create an online hotel reservation system. the problem i encountered is the query to find the available rooms for a certain room category for a certain date range. My database design involves 4 tables. The database design is as follows:
tbl_reservationdetails ( stores the general details of the reservation )
pk resrvdtl_id (primary key)
fk client_id (insignificant for now)
start_date (customer's check-in-date)
end_date (customer's check-out-date)
tbl_reservation (stores the rooms reserved for a particular reservation )
pk reserv_id (primary key)
fk resrvdtl_id (foreign key, to know to whom and when the room should be occupied)
fk room_id (the room reserved)
tbl_room
pk room_id (primary key)
room_number
fk room_categId (to know what category this room belongs to)
tbl_roomcategory
pk room_categId (primary key)
room_category (description of category.. example: Suite, Superior, Deluxe etc. in my case... there are four categories)
user input is the dates (start and end), and the category of room he wants. I'm quite new at this... how do I query to check the available room for that category for a certain date?????
any response to this would be highly appreciated... thanks | 0 |
10,147,815 | 04/13/2012 20:22:06 | 1,026,459 | 11/02/2011 20:26:41 | 3,362 | 318 | Implicit css style of parent when grandparent parent child pattern is known | I have this situation in html and css:
css
.heading-border{ border-bottom:2px groove; }
html (edited for brevity)
<tr class="heading-border">
<th>Some Label</th>
Is there some way to target the `<tr>` here from css, **not javascript**, without having to explicitly define the class (in other words assign this style to any `<tr>` which contains a `<th>`? The reason is that this situation exists in many places and I would prefer not to have to mark a class in every place. | css | null | null | null | null | null | open | Implicit css style of parent when grandparent parent child pattern is known
===
I have this situation in html and css:
css
.heading-border{ border-bottom:2px groove; }
html (edited for brevity)
<tr class="heading-border">
<th>Some Label</th>
Is there some way to target the `<tr>` here from css, **not javascript**, without having to explicitly define the class (in other words assign this style to any `<tr>` which contains a `<th>`? The reason is that this situation exists in many places and I would prefer not to have to mark a class in every place. | 0 |
7,263,340 | 08/31/2011 20:59:23 | 922,449 | 08/31/2011 20:59:23 | 1 | 0 | Headless browser with javascript support to use with shared hosting | I have a website on shared hosting (with the expected PHP/Python/Ruby/MySql support)... and I need to do server side navigation/scraping of a website that is pretty javascript heavy.
So I need a headless browser to use server side that will work with javascript enabled pages, and I should be able to use with a hosting plan... | php | javascript | ruby | headless | headless-browser | 09/01/2011 00:38:51 | off topic | Headless browser with javascript support to use with shared hosting
===
I have a website on shared hosting (with the expected PHP/Python/Ruby/MySql support)... and I need to do server side navigation/scraping of a website that is pretty javascript heavy.
So I need a headless browser to use server side that will work with javascript enabled pages, and I should be able to use with a hosting plan... | 2 |
8,264,610 | 11/25/2011 03:36:46 | 936,089 | 09/09/2011 03:42:33 | 20 | 0 | Regex browser search? | I was wondering if anyone knows of any way to use the "find" (ctrl-f) function or something similar in a browser but use regex to search. I have been looking through add-ons and the such but can't find anything to suit my needs. I have found tools to search the html-source but that's not as useful.
Thank you for your help. | regex | firefox | search | google-chrome | browser | 11/26/2011 00:56:54 | off topic | Regex browser search?
===
I was wondering if anyone knows of any way to use the "find" (ctrl-f) function or something similar in a browser but use regex to search. I have been looking through add-ons and the such but can't find anything to suit my needs. I have found tools to search the html-source but that's not as useful.
Thank you for your help. | 2 |
2,317,305 | 02/23/2010 10:29:09 | 167,739 | 09/03/2009 08:50:16 | 136 | 2 | WAR does not work under JBoss, but exploded application - works | From time to time we have very strange problem - if we deploy war into JBoss then our application(JSF+Spring+Hibernate) does not work.
But if use exploded deployment then everything works ok.
We have such problems very rarely.
At the same time on one box the same war does not work, but on another - works normally.
Boxes are the same - the same JBoss 5.1 and the same Java 1.5, etc.
Any suggestions?
| jboss | jboss5.x | null | null | null | null | open | WAR does not work under JBoss, but exploded application - works
===
From time to time we have very strange problem - if we deploy war into JBoss then our application(JSF+Spring+Hibernate) does not work.
But if use exploded deployment then everything works ok.
We have such problems very rarely.
At the same time on one box the same war does not work, but on another - works normally.
Boxes are the same - the same JBoss 5.1 and the same Java 1.5, etc.
Any suggestions?
| 0 |
5,518,279 | 04/01/2011 20:06:52 | 688,221 | 04/01/2011 20:06:52 | 1 | 0 | C++ error please help | I am getting an error while running a VC++ program. Actually I dont have any idea about the program. Its given to me by my manager just run it. Can anyone help me. The error I got is
I ran a program called slycorba and getting the below error. I have no idea what it meant.
Error 1 error PRJ0019: A tool returned an error code from "Building IDL"
| c++ | null | null | null | null | 04/01/2011 20:13:53 | off topic | C++ error please help
===
I am getting an error while running a VC++ program. Actually I dont have any idea about the program. Its given to me by my manager just run it. Can anyone help me. The error I got is
I ran a program called slycorba and getting the below error. I have no idea what it meant.
Error 1 error PRJ0019: A tool returned an error code from "Building IDL"
| 2 |
482,473 | 01/27/2009 06:26:49 | 38,877 | 11/19/2008 10:00:31 | 33 | 2 | SQL latest record per foreign_key | I've got the following 2 tables:
* ingredients (id, name)
* ingredient\_prices (id, ingredient\_id, price, created_at)
such that one ingredient can have many prices.
What will be the best way to get the latest entered price per ingredient? I know it can be done easily with sub-selects, but I want to know if there is a more efficient way for doing it. | sql | foreign-keys | performance | null | null | null | open | SQL latest record per foreign_key
===
I've got the following 2 tables:
* ingredients (id, name)
* ingredient\_prices (id, ingredient\_id, price, created_at)
such that one ingredient can have many prices.
What will be the best way to get the latest entered price per ingredient? I know it can be done easily with sub-selects, but I want to know if there is a more efficient way for doing it. | 0 |
9,277,690 | 02/14/2012 13:27:35 | 176,723 | 09/21/2009 18:15:55 | 1,965 | 103 | MSManagedObject is undefines? | I was working in a seemingly unrelated area of my Xcode project when I started getting this build error:
![Error Screenshot][1]
It seems that NSManagedObject is undefined. The core data framework is still in my project and included in the link phase of the build process.
If I change Record to be a subclass of NSObject, the errors go away, so it must have something to do with Core Data or the way that it's included in my project. I didn't change anything having to do with the framework when this started occurring, however.
Any ideas about what could be going on here?!
Thanks!
[1]: http://i.stack.imgur.com/6mPAD.png | objective-c | ios | xcode | core-data | build-process | 02/16/2012 22:58:25 | too localized | MSManagedObject is undefines?
===
I was working in a seemingly unrelated area of my Xcode project when I started getting this build error:
![Error Screenshot][1]
It seems that NSManagedObject is undefined. The core data framework is still in my project and included in the link phase of the build process.
If I change Record to be a subclass of NSObject, the errors go away, so it must have something to do with Core Data or the way that it's included in my project. I didn't change anything having to do with the framework when this started occurring, however.
Any ideas about what could be going on here?!
Thanks!
[1]: http://i.stack.imgur.com/6mPAD.png | 3 |
6,966,627 | 08/06/2011 11:55:06 | 510,336 | 11/17/2010 03:51:14 | 55 | 5 | lookup data architeture | I was wondering what is the best way for passing lookup data between .net and database
1-Creating enums in .net ( but when a stored procedure uses an enumeration it will write hard coded numbers inside it??? the solution might be to pass the lookup data as parameters to the stored procedure...but I tried this and there was procedures that need up to 10 parameteres and they are all lookup!
2-write numbers hard coded in the procedure ( but what if we changed something?? )
so...can someone tell me what is the ebst way for passing lookup data between .net and database. | data | lookup | null | null | null | null | open | lookup data architeture
===
I was wondering what is the best way for passing lookup data between .net and database
1-Creating enums in .net ( but when a stored procedure uses an enumeration it will write hard coded numbers inside it??? the solution might be to pass the lookup data as parameters to the stored procedure...but I tried this and there was procedures that need up to 10 parameteres and they are all lookup!
2-write numbers hard coded in the procedure ( but what if we changed something?? )
so...can someone tell me what is the ebst way for passing lookup data between .net and database. | 0 |
10,639,089 | 05/17/2012 15:51:04 | 285,193 | 03/03/2010 10:24:23 | 183 | 2 | How do I find out what javascript function is being called by an object's onclick event? | How do I find out what javascript function is being called by an object's onclick event? Even better, can I then find out which included .js file that function is in? | javascript | null | null | null | null | null | open | How do I find out what javascript function is being called by an object's onclick event?
===
How do I find out what javascript function is being called by an object's onclick event? Even better, can I then find out which included .js file that function is in? | 0 |
7,573,139 | 09/27/2011 17:19:59 | 857,994 | 07/22/2011 13:21:38 | 2,363 | 92 | Specializing STL algorithms so they automatically call efficient container member functions when available | The STL has global algorithms that can operate on arbitrary containers as long as they support the basic requirements of that algorithm. For example, some algorithms may require a container to have random access iterators like a vector rather than a list.
When a container has a faster way of doing something than the generic algorithm would, it provides a member function with the same name to achieve the same goal - like a list providing its own remove_if() since it can remove elements by just doing pointer operations in constant time.
My question is - is it possible/advisable to specialize the generic algorithms so they automatically call the member function version for containers where it's more efficient? E.g. have std::remove_if call list::remove_if internally for lists. Is this already done in the STL? | c++ | stl | null | null | null | null | open | Specializing STL algorithms so they automatically call efficient container member functions when available
===
The STL has global algorithms that can operate on arbitrary containers as long as they support the basic requirements of that algorithm. For example, some algorithms may require a container to have random access iterators like a vector rather than a list.
When a container has a faster way of doing something than the generic algorithm would, it provides a member function with the same name to achieve the same goal - like a list providing its own remove_if() since it can remove elements by just doing pointer operations in constant time.
My question is - is it possible/advisable to specialize the generic algorithms so they automatically call the member function version for containers where it's more efficient? E.g. have std::remove_if call list::remove_if internally for lists. Is this already done in the STL? | 0 |
11,696,193 | 07/27/2012 21:57:38 | 1,558,800 | 07/27/2012 21:54:00 | 1 | 0 | build AOSP emulator with gpu support | We all know that the latest Android SDK emulator support GPU acceleration. I want to build my own emulator image that supports GPU acceleration too. I tried to build AOSP source directly but no luck. Does anyone have idea how to do it? Thanks
| android | android-source | null | null | null | 07/28/2012 01:38:31 | off topic | build AOSP emulator with gpu support
===
We all know that the latest Android SDK emulator support GPU acceleration. I want to build my own emulator image that supports GPU acceleration too. I tried to build AOSP source directly but no luck. Does anyone have idea how to do it? Thanks
| 2 |
7,523,986 | 09/23/2011 03:38:39 | 268,850 | 02/08/2010 17:50:52 | 714 | 2 | Setting up Apache with SSL | I have installed httpd-2.0.64-win32-x86-openssl-0.9.8o on my machine and I am trying to configure apache to run SSL.
Here's the changes i did to my httpd.conf and ssl.conf files
httpd.conf (relevant changes)
-------------------------------
There are no virtual hosts configured. The main server is listening on 80
#LoadModule ssl_module modules/mod_ssl.so
This line was commented. I uncommented it.
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
This section was already there to include my ssl.conf file
ssl.conf
---------
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
<IfDefine SSL>
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex default
<VirtualHost *:443>
# General setup for the virtual host
DocumentRoot "D:/Apache2/wwwroot1"
ServerName localhost
ServerAdmin abc@abc.com
ErrorLog logs/error_log
TransferLog logs/access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.crt/server.key
<FilesMatch "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "D:/Apache2/cgi">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
I have my server.crt and server.key files in conf/ssl.crt
I am not able to access https://localhost with this configuration.
When i checked if there's a service listening on port 443 using netstat -aon, i did not see anything running on 443. I am able to access http://localhost and there is a service running on port 80.
When i tried apache.exe -D SSL from the command prompt, i get this error
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
When i tried openssl s_client -connect localhost:443 -state -debug from command prompt, i get this
Loading 'screen' into random state - done
connect: Bad file descriptor
connect:errno=10061
What is the problem with my configuration? | apache | ssl | httpd.conf | null | null | 09/24/2011 00:33:45 | off topic | Setting up Apache with SSL
===
I have installed httpd-2.0.64-win32-x86-openssl-0.9.8o on my machine and I am trying to configure apache to run SSL.
Here's the changes i did to my httpd.conf and ssl.conf files
httpd.conf (relevant changes)
-------------------------------
There are no virtual hosts configured. The main server is listening on 80
#LoadModule ssl_module modules/mod_ssl.so
This line was commented. I uncommented it.
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
This section was already there to include my ssl.conf file
ssl.conf
---------
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
<IfDefine SSL>
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex default
<VirtualHost *:443>
# General setup for the virtual host
DocumentRoot "D:/Apache2/wwwroot1"
ServerName localhost
ServerAdmin abc@abc.com
ErrorLog logs/error_log
TransferLog logs/access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.crt/server.key
<FilesMatch "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "D:/Apache2/cgi">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
I have my server.crt and server.key files in conf/ssl.crt
I am not able to access https://localhost with this configuration.
When i checked if there's a service listening on port 443 using netstat -aon, i did not see anything running on 443. I am able to access http://localhost and there is a service running on port 80.
When i tried apache.exe -D SSL from the command prompt, i get this error
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
When i tried openssl s_client -connect localhost:443 -state -debug from command prompt, i get this
Loading 'screen' into random state - done
connect: Bad file descriptor
connect:errno=10061
What is the problem with my configuration? | 2 |
8,477,680 | 12/12/2011 16:44:35 | 1,094,144 | 12/12/2011 16:34:40 | 1 | 0 | Playing Apple HTTP Live Stream on Windows seamlessly | I am trying to play Apple Live Streams on Windows. I have used VLC and mPlayer to do this, with varying success. The furthest I got was with mPlayer, using the command:
C:\Program Files\MPlayer>mplayer.exe -user-agent "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7" -playlist http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
Which plays the first segment of the playlist perfectly. However it stops to load the second, creating a gap between segments.
Is there a way to ensure a smooth playback? The aim of all this is to get a pcap trace of the activity for use in generating video quality metrics. | video | apple | streaming | mplayer | null | 12/13/2011 20:00:38 | off topic | Playing Apple HTTP Live Stream on Windows seamlessly
===
I am trying to play Apple Live Streams on Windows. I have used VLC and mPlayer to do this, with varying success. The furthest I got was with mPlayer, using the command:
C:\Program Files\MPlayer>mplayer.exe -user-agent "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7" -playlist http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8
Which plays the first segment of the playlist perfectly. However it stops to load the second, creating a gap between segments.
Is there a way to ensure a smooth playback? The aim of all this is to get a pcap trace of the activity for use in generating video quality metrics. | 2 |
10,142,881 | 04/13/2012 14:38:39 | 1,331,831 | 04/13/2012 14:30:41 | 1 | 0 | Where can I get TextMessaging package for Python? | Regarding the code in http://stackoverflow.com/questions/8395952/send-sms-from-gmail-using-python-script
where does TextMessaging come from?
as in
import libgmail
from TextMessaging import *
| python | sms | gmail | null | null | 04/14/2012 19:47:38 | off topic | Where can I get TextMessaging package for Python?
===
Regarding the code in http://stackoverflow.com/questions/8395952/send-sms-from-gmail-using-python-script
where does TextMessaging come from?
as in
import libgmail
from TextMessaging import *
| 2 |
2,541,295 | 03/29/2010 21:08:00 | 94,475 | 04/22/2009 16:36:18 | 2,653 | 189 | an HTML file is NOT an Excel file, right? | we use an application that has an "export to excel" feature that doesn't work on PC's that done have outlook express installed.
i know, you're thinking "WTF does outlook express have to do with excel files?"
i asked the same thing, and here's what i found:
- the file being generated is actually one of those Microsoft Single File Web Pages (.mht) and NOT an excel file
- you need to have outlook express installed to actually view a .mht file.
i've explained to their support people that just because you *can* slap a .xls on a file and excel will open it does not mean its an excel file, and does not mean that this is the right way to do it.
how would you explain that this is not proper? | excel | mht | null | null | null | null | open | an HTML file is NOT an Excel file, right?
===
we use an application that has an "export to excel" feature that doesn't work on PC's that done have outlook express installed.
i know, you're thinking "WTF does outlook express have to do with excel files?"
i asked the same thing, and here's what i found:
- the file being generated is actually one of those Microsoft Single File Web Pages (.mht) and NOT an excel file
- you need to have outlook express installed to actually view a .mht file.
i've explained to their support people that just because you *can* slap a .xls on a file and excel will open it does not mean its an excel file, and does not mean that this is the right way to do it.
how would you explain that this is not proper? | 0 |
10,967,765 | 06/10/2012 09:56:57 | 1,447,177 | 06/10/2012 09:35:05 | 1 | 0 | Need help to retrive data from MYSQL based on dropdown selection (PHP) | I am creating a page (quotation) and i need to display rates for the selected products based on the options chosen by the customers without that page getting refreshed.
All the codes that I am listing here are on the same page (ie only one page)
Since the code is too long I have taken the code where there is mismatch and I need help.
I can get the option ID through javascript and I need to use that ID in SQL statement to retrive the charge.
Kindly assist me how I can pass the JS value to PHP for executing the SQL Command without refreshing the page (AJAX/JQUERY)
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script language="javascript" type="text/javascript">
function testbtn()
{
if (document.getElementById('minimum').value == ""){
alert( "<?php
echo JText::_('Please enter minimum number of people.', true);
?>" );
}
var domNode = document.getElementById('Labour/Staff');
var value = domNode.selectedIndex;
var selected_text = domNode.options[value].text;
var chg1=document.getElementById('Labour/Staff').value;
document.getElementById('sqlid').value=chg1;
// PHP Code to get the charge from Database
<?php
// $chg = echo ("document.getElementById('Labour/Staff').value");
// $chg = $_POST['chg1'];
$db = & JFactory::getDBO();
$sql = 'SELECT charge FROM #__quote_option WHERE id= "76"';
$db->setQuery($sql);
$quen1 = $db->loadObject();
?>
}
</script>
<form action="<?php echo $this->action ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
<select name="<?php echo $question->title;?>" id="<?php echo $question->title;?>" onchange="testbtn()">
<option value="0"><?php echo JText::_('- Please Select -');?> </option>
<?php
if ($question->id == 2 || $question->id == 3 || $question->id == 6 || $question->id == 7 || $question->id == 8
|| $question->id == 9 || $question->id == 10 || $question->id == 11
|| $question->id == 12 || $question->id == 13 || $question->id == 14 || $question->id == 15 || $question->id == 16
|| $question->id == 17 || $question->id == 18 || $question->id == 19 || $question->id == 20 || $question->id == 21
|| $question->id == 22 || $question->id == 23){
echo '<option value="0" selected="selected">Yes</option>';
}
?>
<?php
$k = 0;
$n=count( $question->options );
for ($i=0, $n; $i < $n; $i++)
{
$row = &$question->options[$i];
?>
<option value="<?php echo $row->id; ?>"><?php echo $row->title; ?> </option>
<?php
$k = 1 - $k;
}
?>
</select>
Thanks for your assistance in advance.
Regards,
V. Karthik | html | ajax | php5 | null | null | 06/12/2012 09:52:44 | not constructive | Need help to retrive data from MYSQL based on dropdown selection (PHP)
===
I am creating a page (quotation) and i need to display rates for the selected products based on the options chosen by the customers without that page getting refreshed.
All the codes that I am listing here are on the same page (ie only one page)
Since the code is too long I have taken the code where there is mismatch and I need help.
I can get the option ID through javascript and I need to use that ID in SQL statement to retrive the charge.
Kindly assist me how I can pass the JS value to PHP for executing the SQL Command without refreshing the page (AJAX/JQUERY)
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script language="javascript" type="text/javascript">
function testbtn()
{
if (document.getElementById('minimum').value == ""){
alert( "<?php
echo JText::_('Please enter minimum number of people.', true);
?>" );
}
var domNode = document.getElementById('Labour/Staff');
var value = domNode.selectedIndex;
var selected_text = domNode.options[value].text;
var chg1=document.getElementById('Labour/Staff').value;
document.getElementById('sqlid').value=chg1;
// PHP Code to get the charge from Database
<?php
// $chg = echo ("document.getElementById('Labour/Staff').value");
// $chg = $_POST['chg1'];
$db = & JFactory::getDBO();
$sql = 'SELECT charge FROM #__quote_option WHERE id= "76"';
$db->setQuery($sql);
$quen1 = $db->loadObject();
?>
}
</script>
<form action="<?php echo $this->action ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
<select name="<?php echo $question->title;?>" id="<?php echo $question->title;?>" onchange="testbtn()">
<option value="0"><?php echo JText::_('- Please Select -');?> </option>
<?php
if ($question->id == 2 || $question->id == 3 || $question->id == 6 || $question->id == 7 || $question->id == 8
|| $question->id == 9 || $question->id == 10 || $question->id == 11
|| $question->id == 12 || $question->id == 13 || $question->id == 14 || $question->id == 15 || $question->id == 16
|| $question->id == 17 || $question->id == 18 || $question->id == 19 || $question->id == 20 || $question->id == 21
|| $question->id == 22 || $question->id == 23){
echo '<option value="0" selected="selected">Yes</option>';
}
?>
<?php
$k = 0;
$n=count( $question->options );
for ($i=0, $n; $i < $n; $i++)
{
$row = &$question->options[$i];
?>
<option value="<?php echo $row->id; ?>"><?php echo $row->title; ?> </option>
<?php
$k = 1 - $k;
}
?>
</select>
Thanks for your assistance in advance.
Regards,
V. Karthik | 4 |
11,563,681 | 07/19/2012 15:02:59 | 1,527,429 | 07/15/2012 20:29:05 | 23 | 0 | Magento: Default Category or Root Category? | I've come across some Magento documentation which states: "Only those Anchor Categories
that are children of the Default Category will appear in your Navigation Menu". However,
I am running Magento version 1.7.0.2 and when I go to the backend's Admin Panel I see no
Default Category. Instead I see a "Root Category". Has the Default Category changed name
to Root Category and are there any other changes I should watch out for in Magento's
Cataloging system as far as for example, categories are concerned, etc... or does
everything else function more or less the same in this area?
Thanks,
John Goche
| magento | null | null | null | null | 07/22/2012 03:14:55 | off topic | Magento: Default Category or Root Category?
===
I've come across some Magento documentation which states: "Only those Anchor Categories
that are children of the Default Category will appear in your Navigation Menu". However,
I am running Magento version 1.7.0.2 and when I go to the backend's Admin Panel I see no
Default Category. Instead I see a "Root Category". Has the Default Category changed name
to Root Category and are there any other changes I should watch out for in Magento's
Cataloging system as far as for example, categories are concerned, etc... or does
everything else function more or less the same in this area?
Thanks,
John Goche
| 2 |
5,080,504 | 02/22/2011 15:57:31 | 621,698 | 02/17/2011 16:00:58 | 6 | 0 | f10/f11- stepinto , step over | how does this f10 and f11 works in asp.net framework. how do i use it?
| debugging | asp.net-mvc-2 | running | null | null | 02/22/2011 22:40:32 | not a real question | f10/f11- stepinto , step over
===
how does this f10 and f11 works in asp.net framework. how do i use it?
| 1 |
2,006,648 | 01/05/2010 14:34:45 | 234,435 | 12/18/2009 09:49:38 | 60 | 7 | Email multiple contacts in Python | I am trying to send an email to multiple people. The code below shows what I'm trying to do. When I add 2 addresses the email does not send to the second person. The code is:
me = 'a@a.com'
you = 'a@a.com, a@a.com'
msg['Subject'] = "The Nightly Build Results"
msg['From'] = me
msg['To'] = you
# Send the message via our own SMTP server
s = smtplib.SMTP('a.a.a.a')
s.sendmail(me, [you], msg.as_string())
s.quit()
I have tried:
you = ['a@a.com', 'a@a.com']
and
you = 'a@a.com', 'a@a.com'
Thanks | python | null | null | null | null | null | open | Email multiple contacts in Python
===
I am trying to send an email to multiple people. The code below shows what I'm trying to do. When I add 2 addresses the email does not send to the second person. The code is:
me = 'a@a.com'
you = 'a@a.com, a@a.com'
msg['Subject'] = "The Nightly Build Results"
msg['From'] = me
msg['To'] = you
# Send the message via our own SMTP server
s = smtplib.SMTP('a.a.a.a')
s.sendmail(me, [you], msg.as_string())
s.quit()
I have tried:
you = ['a@a.com', 'a@a.com']
and
you = 'a@a.com', 'a@a.com'
Thanks | 0 |
11,590,253 | 07/21/2012 07:17:59 | 1,411,888 | 05/23/2012 06:47:01 | 1 | 1 | How can i post something on facebook page created by me using my asp.net application? | I have google a lot. but not able find anything helpfull regarding for the same. Please help me.. | asp.net | facebook | page | posting | null | 07/24/2012 08:30:56 | not a real question | How can i post something on facebook page created by me using my asp.net application?
===
I have google a lot. but not able find anything helpfull regarding for the same. Please help me.. | 1 |
10,775,613 | 05/27/2012 16:45:27 | 1,212,334 | 02/15/2012 20:29:17 | 45 | 0 | Is “PHP and MySQL Web Development (4th Edition)” outdated book? | I know some basics about PHP and MySQL and now I want to extend my knowledge. Very good reviews I have found about the book named "PHP and MySQL Web Development (4th Edition)" from Luke Welling and Laura Thomson.
It is from 2009 year, and I don't know if is outdated. **What do you think?**
| php | mysql | books | ebook | null | 05/27/2012 16:54:51 | too localized | Is “PHP and MySQL Web Development (4th Edition)” outdated book?
===
I know some basics about PHP and MySQL and now I want to extend my knowledge. Very good reviews I have found about the book named "PHP and MySQL Web Development (4th Edition)" from Luke Welling and Laura Thomson.
It is from 2009 year, and I don't know if is outdated. **What do you think?**
| 3 |
5,985,465 | 05/12/2011 22:58:11 | 159,118 | 08/19/2009 09:58:54 | 1,276 | 3 | PHP - Echo key value of the array items | I need to echo the key value of an array.
This is how im outputting my array:
foreach($xml->channel->item as $item) {
$item->title
}
I've tried adding:
foreach($xml->channel->item as $key => $item)
But the value I echo just comes out as: `item`
Any ideas?
| php | null | null | null | null | null | open | PHP - Echo key value of the array items
===
I need to echo the key value of an array.
This is how im outputting my array:
foreach($xml->channel->item as $item) {
$item->title
}
I've tried adding:
foreach($xml->channel->item as $key => $item)
But the value I echo just comes out as: `item`
Any ideas?
| 0 |
4,326,641 | 12/01/2010 16:38:44 | 246,047 | 01/08/2010 00:36:20 | 125 | 3 | Most efficient way to open a file and read the lines? | I've got this:
vlgaStream = open('vlgaChcWaves.txt', 'r+')
vlgaBuffer = vlgaStream.readlines()
vlgaStream.close()
Can you do better? :) | python | null | null | null | null | 12/02/2010 01:19:38 | not a real question | Most efficient way to open a file and read the lines?
===
I've got this:
vlgaStream = open('vlgaChcWaves.txt', 'r+')
vlgaBuffer = vlgaStream.readlines()
vlgaStream.close()
Can you do better? :) | 1 |
8,706,204 | 01/02/2012 22:59:47 | 525,541 | 11/30/2010 18:10:33 | 60 | 4 | Android: how to kill an external application and reset its data | I have seen bits and pieces around but nothing complete (or that worked). Essentially I want to kill an external application and wipe all of its data, essentially resetting the program back to its initial install state.
I am trying this for skype (for example):
try {
Process proc = Runtime.getRuntime().exec("su");
proc = Runtime.getRuntime().exec("pidof com.skype.raider");
BufferedReader reader = new BufferedReader( new InputStreamReader(proc.getInputStream()),8192);
char[] buffer = new char[8192];
StringBuffer output = new StringBuffer();
int read = 0;
while ((read = reader.read(buffer)) > 0) {
output.append(buffer, 0, read);
}
reader.close();
proc.getErrorStream().close();
proc.getOutputStream().close();
proc.waitFor();
proc = Runtime.getRuntime().exec("kill " + output.toString());
proc.waitFor();
proc = Runtime.getRuntime().exec("rm -r /data/data/com.skype.raider/*");
proc.waitFor();
} catch (Exception ex) {
//Log.i(TAG, "Error", ex);
}
BTW: All of those commands work fine in ADB... | android | null | null | null | null | 01/04/2012 00:12:05 | too localized | Android: how to kill an external application and reset its data
===
I have seen bits and pieces around but nothing complete (or that worked). Essentially I want to kill an external application and wipe all of its data, essentially resetting the program back to its initial install state.
I am trying this for skype (for example):
try {
Process proc = Runtime.getRuntime().exec("su");
proc = Runtime.getRuntime().exec("pidof com.skype.raider");
BufferedReader reader = new BufferedReader( new InputStreamReader(proc.getInputStream()),8192);
char[] buffer = new char[8192];
StringBuffer output = new StringBuffer();
int read = 0;
while ((read = reader.read(buffer)) > 0) {
output.append(buffer, 0, read);
}
reader.close();
proc.getErrorStream().close();
proc.getOutputStream().close();
proc.waitFor();
proc = Runtime.getRuntime().exec("kill " + output.toString());
proc.waitFor();
proc = Runtime.getRuntime().exec("rm -r /data/data/com.skype.raider/*");
proc.waitFor();
} catch (Exception ex) {
//Log.i(TAG, "Error", ex);
}
BTW: All of those commands work fine in ADB... | 3 |
9,815,727 | 03/22/2012 02:44:18 | 853,869 | 07/20/2011 11:56:41 | 20 | 2 | Socket close handler and proxy | im doing some basic socket programming in python. But im having some trouble figuring out how my echoserver could notice that the echoclient has closed it's connection, without a constant ping/pong or timeout.
echoclient.py
#echoclient
import sys
import socket
import os
import datetime
def log(s):
return datetime.datetime.now().strftime('%H:%M:%S') + ' - ' + s
s = socket.socket(
socket.AF_INET, socket.SOCK_STREAM)
s.connect(('127.0.0.1', 9000))
while 1:
try:
foo = raw_input('what do you want to send?: ')
if len(foo) > 0:
s.send(foo)
except KeyboardInterrupt:
print 'shutting down connection'
s.close()
break
data = s.recv(1024)
if data:
print log('Recieved'), repr(data)
echoserver.py
#echoserver
import sys
import socket
import os
import datetime
def log(s):
return datetime.datetime.now().strftime('%H:%M:%S') + ' - ' + s
port = 9000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('127.0.0.1', port))
s.listen(5)
while 1:
conn, addr = s.accept()
conn.settimeout(10)
print 'Connected by', addr
while 1:
try:
data = conn.recv(1024)
if data:
print log(repr(data))
conn.send(data)
except KeyboardInterrupt:
print 'Closing connection ', addr
conn.close()
sys.exit(1)
except:
print 'Exception caught! closing connection ', addr
conn.close()
break
Now the only way the server knows that the client has died is by the conn.settimeout(10)
1. How can i get a exception for my server when the client disconnects preferably without a constat ping/pong message between them or settimeout.
2. My next step is to create a echoproxy between the echoclient and echoserver, will i need to use threads/multiprocessing to achieve this? Any tips or pointers?
Thanks! | python | sockets | null | null | null | null | open | Socket close handler and proxy
===
im doing some basic socket programming in python. But im having some trouble figuring out how my echoserver could notice that the echoclient has closed it's connection, without a constant ping/pong or timeout.
echoclient.py
#echoclient
import sys
import socket
import os
import datetime
def log(s):
return datetime.datetime.now().strftime('%H:%M:%S') + ' - ' + s
s = socket.socket(
socket.AF_INET, socket.SOCK_STREAM)
s.connect(('127.0.0.1', 9000))
while 1:
try:
foo = raw_input('what do you want to send?: ')
if len(foo) > 0:
s.send(foo)
except KeyboardInterrupt:
print 'shutting down connection'
s.close()
break
data = s.recv(1024)
if data:
print log('Recieved'), repr(data)
echoserver.py
#echoserver
import sys
import socket
import os
import datetime
def log(s):
return datetime.datetime.now().strftime('%H:%M:%S') + ' - ' + s
port = 9000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('127.0.0.1', port))
s.listen(5)
while 1:
conn, addr = s.accept()
conn.settimeout(10)
print 'Connected by', addr
while 1:
try:
data = conn.recv(1024)
if data:
print log(repr(data))
conn.send(data)
except KeyboardInterrupt:
print 'Closing connection ', addr
conn.close()
sys.exit(1)
except:
print 'Exception caught! closing connection ', addr
conn.close()
break
Now the only way the server knows that the client has died is by the conn.settimeout(10)
1. How can i get a exception for my server when the client disconnects preferably without a constat ping/pong message between them or settimeout.
2. My next step is to create a echoproxy between the echoclient and echoserver, will i need to use threads/multiprocessing to achieve this? Any tips or pointers?
Thanks! | 0 |
8,157,271 | 11/16/2011 19:11:21 | 914,543 | 08/26/2011 17:25:27 | 13 | 0 | Hover parts of Supersized background image | Ok, really struggling with this one.
I am using the Supersized plugin (http://buildinternet.com/project/supersized/) to fill my page with a background image. For those who don't know, the plugin makes sure the image isn't skewe by repositioning it as the window size changes.
The background image is a photo with items on it. I need the items to become links.
So, in other words, I need to edit the Supersized script so that I can select specific parts of the background, even as they are repositioned by the plugin.
Once I can enable the parts of the image, I need to set it so that those elements have a shadow that changes colour on hover. I can't imagine any method that enables selection of specific background sections and add a link wouldn't enable me to put a different image on hover, but I just thought I'd add that next step just in case.
Thanks in advance for all responses. | javascript | jquery | div | positioning | fullscreen | null | open | Hover parts of Supersized background image
===
Ok, really struggling with this one.
I am using the Supersized plugin (http://buildinternet.com/project/supersized/) to fill my page with a background image. For those who don't know, the plugin makes sure the image isn't skewe by repositioning it as the window size changes.
The background image is a photo with items on it. I need the items to become links.
So, in other words, I need to edit the Supersized script so that I can select specific parts of the background, even as they are repositioned by the plugin.
Once I can enable the parts of the image, I need to set it so that those elements have a shadow that changes colour on hover. I can't imagine any method that enables selection of specific background sections and add a link wouldn't enable me to put a different image on hover, but I just thought I'd add that next step just in case.
Thanks in advance for all responses. | 0 |
11,434,061 | 07/11/2012 13:45:58 | 752,288 | 05/13/2011 11:41:29 | 820 | 39 | CSS absolute position where top left of div is at the top right of the parent | I want to absolute position a div such that the top left corner of the div is attached to top right corner of the parent div (relative positioned).
Do you have any solutions how to do that ? | html | css | null | null | null | 07/12/2012 12:02:05 | not a real question | CSS absolute position where top left of div is at the top right of the parent
===
I want to absolute position a div such that the top left corner of the div is attached to top right corner of the parent div (relative positioned).
Do you have any solutions how to do that ? | 1 |
7,553,258 | 09/26/2011 09:40:55 | 349,045 | 05/21/2010 21:18:32 | 589 | 10 | chrome: error viewing some characters | I have problems viewing some pages.. seems that some characters are not drawed correctly:
here are some examples:
![enter image description here][1]
![enter image description here][2]
I have win 7 professional 64 bit italian and 14.0.835.186 m google chrome
[1]: http://i.stack.imgur.com/6cfxg.jpg
[2]: http://i.stack.imgur.com/kG13y.jpg | google-chrome | character-encoding | special-characters | null | null | 10/06/2011 08:35:52 | off topic | chrome: error viewing some characters
===
I have problems viewing some pages.. seems that some characters are not drawed correctly:
here are some examples:
![enter image description here][1]
![enter image description here][2]
I have win 7 professional 64 bit italian and 14.0.835.186 m google chrome
[1]: http://i.stack.imgur.com/6cfxg.jpg
[2]: http://i.stack.imgur.com/kG13y.jpg | 2 |
13,763 | 08/17/2008 17:48:04 | 184 | 08/03/2008 05:34:19 | 288 | 4 | Ho wdo I remove a child node in HTML using JavaScript? | Is there some function like: `document.getElementById("FirstDiv").clear()` ? | javascript | html | null | null | null | null | open | Ho wdo I remove a child node in HTML using JavaScript?
===
Is there some function like: `document.getElementById("FirstDiv").clear()` ? | 0 |
6,363,395 | 06/15/2011 19:47:36 | 113,408 | 05/27/2009 21:20:36 | 94 | 4 | Java or PHP Based Survey / Feedback Form / Questionnaire Tool with API | I'm working on an application that requires admins to create a survey / feedback form / questionnaire for users to take. These surveys are can be simple to relatively complex. The most complex would involve questions with multiple response types, sliders, scales, skip logic (if question X is True, display question Y).
Scoring these surveys is also a very complex algorithm, with each point having a different weight, and groups of questions being assigned a certain weight.
We'd need to access this tool via an API -- meaning, we don't want to direct admins to the backend survey creation part of this app, but create surveys, measures, etc. all through an API if possible.
We're not looking for a tool that handles everything for us, we're expecting to extend and build off of a base tool. I'm a relatively new Java developer, and have been searching for tools that fit our criteria but haven't come across any that we liked -- all of them were dead projects or impossible to extend off of.
Can anyone point me in the right direction or recommend a tool that might fit our needs? We're currently developing in Apache Wicket, and have some Drupal / PHP integration planned as well. Java or PHP is fine.
Tools that we've already looked at:
Limesurvey
Feedback Server (.NET)
Qualtrix
JCaif
SDJ
Socrates
OpenFJord
Thanks in advance.
| java | php | webforms | survey | null | 06/16/2011 07:54:14 | off topic | Java or PHP Based Survey / Feedback Form / Questionnaire Tool with API
===
I'm working on an application that requires admins to create a survey / feedback form / questionnaire for users to take. These surveys are can be simple to relatively complex. The most complex would involve questions with multiple response types, sliders, scales, skip logic (if question X is True, display question Y).
Scoring these surveys is also a very complex algorithm, with each point having a different weight, and groups of questions being assigned a certain weight.
We'd need to access this tool via an API -- meaning, we don't want to direct admins to the backend survey creation part of this app, but create surveys, measures, etc. all through an API if possible.
We're not looking for a tool that handles everything for us, we're expecting to extend and build off of a base tool. I'm a relatively new Java developer, and have been searching for tools that fit our criteria but haven't come across any that we liked -- all of them were dead projects or impossible to extend off of.
Can anyone point me in the right direction or recommend a tool that might fit our needs? We're currently developing in Apache Wicket, and have some Drupal / PHP integration planned as well. Java or PHP is fine.
Tools that we've already looked at:
Limesurvey
Feedback Server (.NET)
Qualtrix
JCaif
SDJ
Socrates
OpenFJord
Thanks in advance.
| 2 |
10,679,221 | 05/21/2012 03:30:33 | 1,406,923 | 05/21/2012 01:49:46 | 1 | 0 | Type Ahead search | we have an application which is accessed via our Intranet, IE or Mozilla both work fine.
My problem appears to relate to JAVA. We need to search for particular records in a column. We click on the column title to sort, and then type in text to move to the matching records within the column. The majority of users can enter only 2 characters before the search restarts. The sort works but when the third character is entered it starts to search again with the third chanracter.
One user can enter 6 characters without it restarting, which is of great virtue. He is on Win7, with JAVA Version 6 Update 22 ( Build 1.6.0_22-b04)
Can anyone explain why this happens or where this is controlled ? | java | null | null | null | null | 05/21/2012 12:36:02 | not a real question | Type Ahead search
===
we have an application which is accessed via our Intranet, IE or Mozilla both work fine.
My problem appears to relate to JAVA. We need to search for particular records in a column. We click on the column title to sort, and then type in text to move to the matching records within the column. The majority of users can enter only 2 characters before the search restarts. The sort works but when the third character is entered it starts to search again with the third chanracter.
One user can enter 6 characters without it restarting, which is of great virtue. He is on Win7, with JAVA Version 6 Update 22 ( Build 1.6.0_22-b04)
Can anyone explain why this happens or where this is controlled ? | 1 |
5,832,358 | 04/29/2011 12:59:13 | 204,623 | 11/06/2009 08:57:11 | 1,033 | 10 | Intercepting network traffic for a particular application | I am working on Windows. Lets say I am running a Twitter app. I want to intercept all the network packets that this app is sending or receiving at runtime. I wish to look for certain packet (segment) features like TCP destination port, windows size etc. and based on this information I wish to perform certain actions. Basically I want all the information that is available to a traffic analyzer like Wireshark or MS Network Monitor. How can I accomplish this on Windows? | windows-networking | null | null | null | null | null | open | Intercepting network traffic for a particular application
===
I am working on Windows. Lets say I am running a Twitter app. I want to intercept all the network packets that this app is sending or receiving at runtime. I wish to look for certain packet (segment) features like TCP destination port, windows size etc. and based on this information I wish to perform certain actions. Basically I want all the information that is available to a traffic analyzer like Wireshark or MS Network Monitor. How can I accomplish this on Windows? | 0 |
7,117,362 | 08/19/2011 05:36:47 | 882,440 | 08/07/2011 05:24:13 | 23 | 0 | Can you recommend some open source php /C /C++ projects that I can contribute to yet are small enough for an intermediate? | I have learnt php and then built a website in only a week so I only know something about php . C/ C++ is something I want to learn deeply . I`m looking for some projects that I can try contributing to . I tried joomla/wordpree but I couldn`t find where to start reading the code ! It`s way too mature for me . For C/C++ , I tried reading fire-fox`s source code , but didn`t understand one thing .
So I`m counting on some easier choices to get me started as a developer /open source contributer
Thankx! | php | c++ | c | open-source | null | 08/23/2011 01:45:36 | off topic | Can you recommend some open source php /C /C++ projects that I can contribute to yet are small enough for an intermediate?
===
I have learnt php and then built a website in only a week so I only know something about php . C/ C++ is something I want to learn deeply . I`m looking for some projects that I can try contributing to . I tried joomla/wordpree but I couldn`t find where to start reading the code ! It`s way too mature for me . For C/C++ , I tried reading fire-fox`s source code , but didn`t understand one thing .
So I`m counting on some easier choices to get me started as a developer /open source contributer
Thankx! | 2 |
9,255,858 | 02/13/2012 05:07:54 | 1,109,396 | 12/21/2011 08:12:28 | 16 | 2 | Update SimpleCursorAdapter while maintaining scroll position in ListView | My problem: My ListView resets its scroll position to the top whenever I update its contents through its (customized) SimpleCursorAdapter. I would like the ListView to maintain its scroll position when updated.
I started out by creating a new adapter instance every time and using `ListView.setAdapter()`, but according to [this discussion](http://groups.google.com/group/android-developers/browse_thread/thread/2e425f0cca0c0e8b?pli=1) I should be updating the adapter instead of resetting it. I can't find a way to do this for SimpleCursorAdapter that works correctly.
Here are some things I've tried, omitting the method arguments:
- `SimpleCursorAdapter.changeCursorAndColumns()` with a fresh cursor successfully updates the adapter but still resets the scroll position.
- `SimpleCursorAdapter.changeCursor()` acts the same way.
- `SimpleCursorAdapter.swapCursor()` isn't available until api 11, and I am developing for api 8.
- `SimpleCursorAdapter.notifyDataSetChanged()` does not update the ListView. (Maybe there is another step I'm missing.)
- `ListView.invalidate()` does not update the ListView.
- `SimpleCursorAdapter.requery()` makes the ListView blank, and is deprecated.
- I'm familiar with the `ListView.setSelection()` solution, but I don't want my ListView to move at all when it is updated. This snaps it to a position in the list.
This seems like it should be a common and simple problem. Has anybody dealt with it? | listview | update | simplecursoradapter | scroll-position | null | null | open | Update SimpleCursorAdapter while maintaining scroll position in ListView
===
My problem: My ListView resets its scroll position to the top whenever I update its contents through its (customized) SimpleCursorAdapter. I would like the ListView to maintain its scroll position when updated.
I started out by creating a new adapter instance every time and using `ListView.setAdapter()`, but according to [this discussion](http://groups.google.com/group/android-developers/browse_thread/thread/2e425f0cca0c0e8b?pli=1) I should be updating the adapter instead of resetting it. I can't find a way to do this for SimpleCursorAdapter that works correctly.
Here are some things I've tried, omitting the method arguments:
- `SimpleCursorAdapter.changeCursorAndColumns()` with a fresh cursor successfully updates the adapter but still resets the scroll position.
- `SimpleCursorAdapter.changeCursor()` acts the same way.
- `SimpleCursorAdapter.swapCursor()` isn't available until api 11, and I am developing for api 8.
- `SimpleCursorAdapter.notifyDataSetChanged()` does not update the ListView. (Maybe there is another step I'm missing.)
- `ListView.invalidate()` does not update the ListView.
- `SimpleCursorAdapter.requery()` makes the ListView blank, and is deprecated.
- I'm familiar with the `ListView.setSelection()` solution, but I don't want my ListView to move at all when it is updated. This snaps it to a position in the list.
This seems like it should be a common and simple problem. Has anybody dealt with it? | 0 |
5,180,529 | 03/03/2011 12:09:59 | 642,920 | 03/03/2011 11:56:44 | 1 | 0 | What's your favorite maven repository server? | HI,Which maven repository server do you prefer? Apache archiva , Nexus or other?
and why? | maven | repository | nexus | archiva | null | 03/03/2011 14:15:05 | not constructive | What's your favorite maven repository server?
===
HI,Which maven repository server do you prefer? Apache archiva , Nexus or other?
and why? | 4 |
2,713,970 | 04/26/2010 13:53:13 | 158,722 | 08/18/2009 19:09:39 | 85 | 3 | Navigating back to "Home" from an area (MVC2) | I have a few areas in my application that are relatively independent (all navigated to from the master page). So, as of now, I am simply using the "default" MVC2 template (the one you get when you create a new MVC2 project). So the menu looks like this:
HOME AREA1 AREA2 AREA3 AREA4 .... ABOUT
Now, when I first load up the page, I am on the "HOME", and I can click on the ABOUT without issue. I can navigate to any of the areas as well, however, once I navigate to an area page, I cannot get back to my home or about pages (404 not found). When I navigate to them, and click on about, the address bar shows .../AreaX/Home/Home instead of Home/Home as I would expect.
I expect that is has something to do with my routing, but Im not completely sure. I have added/changed nothing with the default routing (which is probably the issue!).
Here is the routing value I have in global.asax(like I said, the default)
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
Any thoughts? | asp.net-mvc-2 | null | null | null | null | null | open | Navigating back to "Home" from an area (MVC2)
===
I have a few areas in my application that are relatively independent (all navigated to from the master page). So, as of now, I am simply using the "default" MVC2 template (the one you get when you create a new MVC2 project). So the menu looks like this:
HOME AREA1 AREA2 AREA3 AREA4 .... ABOUT
Now, when I first load up the page, I am on the "HOME", and I can click on the ABOUT without issue. I can navigate to any of the areas as well, however, once I navigate to an area page, I cannot get back to my home or about pages (404 not found). When I navigate to them, and click on about, the address bar shows .../AreaX/Home/Home instead of Home/Home as I would expect.
I expect that is has something to do with my routing, but Im not completely sure. I have added/changed nothing with the default routing (which is probably the issue!).
Here is the routing value I have in global.asax(like I said, the default)
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
Any thoughts? | 0 |
4,099,153 | 11/04/2010 16:58:41 | 497,459 | 11/04/2010 16:58:41 | 1 | 0 | Eclipse GWT and AppEngine - Local Task Queues no longer get executed | In Eclipse 3.6 with Plugin v1.4.0 AppEngine 1.3.8 GWT 2.1.0 Local Task Queues no longer get executed.
To reproduce:
Create a new GWT and AppEngine project (I called the package "test2"
below)
Add the following to GreetingServiceImpl greetServer() method before
the return line:
final Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.url("/taskrunner").param("id",
UUID.randomUUID().toString()));
Create a class in the server package "TaskRunner" with the following:
public class TaskRunner extends HttpServlet {
@Override
public void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
System.out.println("TaskRunner");
}
@Override
public void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
System.out.println("TaskRunner");
}
}
Add the following to web.xml
<servlet>
<servlet-name>taskRunner</servlet-name>
<servlet-class>test2.server.TaskRunner</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>taskRunner</servlet-name>
<url-pattern>/taskrunner</url-pattern>
</servlet-mapping>
Run the project and click the GWT button. After about 10 seconds you
will get the following exception on the console:
[ERROR] Job default.task1 threw an unhandled Exception:
com.google.apphosting.api.ApiProxy$ApplicationException:
ApplicationError: 2: Received exception executing http method POST
against URL http: //0.0.0.0:8888/taskrunner: No route to host: connect
at
com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:
239)
at com.google.appengine.api.labs.taskqueue.dev.LocalTaskQueue
$UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java:
471)
at
com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:
77)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool
$WorkerThread.run(SimpleThreadPool.java:520)
[ERROR] Job (default.task1 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See
nested exception: com.google.apphosting.api.ApiProxy
$ApplicationException: ApplicationError: 2: Received exception
executing http method POST against URL http: //0.0.0.0:8888/taskrunner:
No route to host: connect]
at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
at org.quartz.simpl.SimpleThreadPool
$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
com.google.apphosting.api.ApiProxy$ApplicationException:
ApplicationError: 2: Received exception executing http method POST
against URL http: //0.0.0.0:8888/taskrunner: No route to host: connect
at
com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:
239)
at com.google.appengine.api.labs.taskqueue.dev.LocalTaskQueue
$UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java:
471)
at
com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:
77)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool
$WorkerThread.run(SimpleThreadPool.java:520)
Remove GWT from the project and it works! To test this:
Add server class
public class TaskRunnerTest extends HttpServlet {
public void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
final Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.url("/taskrunner").param("id", UUID.randomUUID().toString()));
}
}
Add to web.xml
<servlet>
<servlet-name>taskRunnerTest</servlet-name>
<servlet-class>test2.server.TaskRunnerTest</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>taskRunnerTest</servlet-name>
<url-pattern>/taskrunnertest</url-pattern>
</servlet-mapping>
Remove GWT from the Project (uncheck use GWT) and hit http://127.0.0.1:8888/taskrunnertest - no exception is thrown. (With GWT enabled that url throws the exception).
This used to work with GWT enabled. Please can someone advise a fix as its cost me 2
days so far.
Thanks! | google-app-engine | gwt | google-eclipse-plugin | null | null | null | open | Eclipse GWT and AppEngine - Local Task Queues no longer get executed
===
In Eclipse 3.6 with Plugin v1.4.0 AppEngine 1.3.8 GWT 2.1.0 Local Task Queues no longer get executed.
To reproduce:
Create a new GWT and AppEngine project (I called the package "test2"
below)
Add the following to GreetingServiceImpl greetServer() method before
the return line:
final Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.url("/taskrunner").param("id",
UUID.randomUUID().toString()));
Create a class in the server package "TaskRunner" with the following:
public class TaskRunner extends HttpServlet {
@Override
public void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
System.out.println("TaskRunner");
}
@Override
public void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
System.out.println("TaskRunner");
}
}
Add the following to web.xml
<servlet>
<servlet-name>taskRunner</servlet-name>
<servlet-class>test2.server.TaskRunner</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>taskRunner</servlet-name>
<url-pattern>/taskrunner</url-pattern>
</servlet-mapping>
Run the project and click the GWT button. After about 10 seconds you
will get the following exception on the console:
[ERROR] Job default.task1 threw an unhandled Exception:
com.google.apphosting.api.ApiProxy$ApplicationException:
ApplicationError: 2: Received exception executing http method POST
against URL http: //0.0.0.0:8888/taskrunner: No route to host: connect
at
com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:
239)
at com.google.appengine.api.labs.taskqueue.dev.LocalTaskQueue
$UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java:
471)
at
com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:
77)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool
$WorkerThread.run(SimpleThreadPool.java:520)
[ERROR] Job (default.task1 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See
nested exception: com.google.apphosting.api.ApiProxy
$ApplicationException: ApplicationError: 2: Received exception
executing http method POST against URL http: //0.0.0.0:8888/taskrunner:
No route to host: connect]
at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
at org.quartz.simpl.SimpleThreadPool
$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
com.google.apphosting.api.ApiProxy$ApplicationException:
ApplicationError: 2: Received exception executing http method POST
against URL http: //0.0.0.0:8888/taskrunner: No route to host: connect
at
com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:
239)
at com.google.appengine.api.labs.taskqueue.dev.LocalTaskQueue
$UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java:
471)
at
com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:
77)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool
$WorkerThread.run(SimpleThreadPool.java:520)
Remove GWT from the project and it works! To test this:
Add server class
public class TaskRunnerTest extends HttpServlet {
public void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
final Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.url("/taskrunner").param("id", UUID.randomUUID().toString()));
}
}
Add to web.xml
<servlet>
<servlet-name>taskRunnerTest</servlet-name>
<servlet-class>test2.server.TaskRunnerTest</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>taskRunnerTest</servlet-name>
<url-pattern>/taskrunnertest</url-pattern>
</servlet-mapping>
Remove GWT from the Project (uncheck use GWT) and hit http://127.0.0.1:8888/taskrunnertest - no exception is thrown. (With GWT enabled that url throws the exception).
This used to work with GWT enabled. Please can someone advise a fix as its cost me 2
days so far.
Thanks! | 0 |
9,949,489 | 03/30/2012 19:42:23 | 1,180,686 | 01/31/2012 15:36:19 | 154 | 14 | Bootstrap - feedback | I've heard today of a new framework produced by Twitter
Link to the framework:
http://twitter.github.com/bootstrap/
I'm wondering if someone has used it already and what they think about.
And what kind of website can use this framework?
I'm currently developing a web app in PHP/MSYQL/jQuery/jQuery UI can i use it in the same time?
Thanks! | php | jquery | twitter-bootstrap | null | null | 03/31/2012 03:21:43 | not constructive | Bootstrap - feedback
===
I've heard today of a new framework produced by Twitter
Link to the framework:
http://twitter.github.com/bootstrap/
I'm wondering if someone has used it already and what they think about.
And what kind of website can use this framework?
I'm currently developing a web app in PHP/MSYQL/jQuery/jQuery UI can i use it in the same time?
Thanks! | 4 |
8,379,636 | 12/05/2011 00:03:25 | 870,585 | 07/30/2011 10:57:34 | 7 | 0 | iOS tabbar not showing | I am building an App that is Tab Bar driven. However I have one problem that I can't get over.
The Tab bar is set up in the AppDelegate.
self.tabBarController = [[UITabBarController alloc] init];
self.tabBarController.viewControllers = [NSArray arrayWithObjects:navController1, navController3 , navController2, nil];
self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
return YES;
Working just fine. In the first view I have a couple of buttons that pushes another view which has a quiz. After the quiz the user get to a Result View (also pushed). We then get via a button to Urban Airships Store. This is done by a Modal view that goes to a Detail View via a push. When it's done there I self.dismissModal and then pushes a TableView. All perfect with my Tab bar back.
It's when I go another way I get into trouble.
With a button again, I push a TableView and the user selects a video to watch.
[self presentMoviePlayerViewControllerAnimated:player];
After the movie is fished playing the user get sent to a quiz (pushed again). Same story with a Result View and the to Urban Airship. However, when I get back to my Table View there is no Tab bar.
Any idea anyone?
| ios | tabbar | navigationcontroller | null | null | null | open | iOS tabbar not showing
===
I am building an App that is Tab Bar driven. However I have one problem that I can't get over.
The Tab bar is set up in the AppDelegate.
self.tabBarController = [[UITabBarController alloc] init];
self.tabBarController.viewControllers = [NSArray arrayWithObjects:navController1, navController3 , navController2, nil];
self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
return YES;
Working just fine. In the first view I have a couple of buttons that pushes another view which has a quiz. After the quiz the user get to a Result View (also pushed). We then get via a button to Urban Airships Store. This is done by a Modal view that goes to a Detail View via a push. When it's done there I self.dismissModal and then pushes a TableView. All perfect with my Tab bar back.
It's when I go another way I get into trouble.
With a button again, I push a TableView and the user selects a video to watch.
[self presentMoviePlayerViewControllerAnimated:player];
After the movie is fished playing the user get sent to a quiz (pushed again). Same story with a Result View and the to Urban Airship. However, when I get back to my Table View there is no Tab bar.
Any idea anyone?
| 0 |
11,591,002 | 07/21/2012 09:23:30 | 1,145,234 | 01/12/2012 10:13:37 | 3 | 0 | How Can i use sqlite in c# project | I need to system.data.sqlite.dll for my c# project
How can i find need to system.data.sqlite.dll? | dll | null | null | null | null | 07/21/2012 23:54:47 | not a real question | How Can i use sqlite in c# project
===
I need to system.data.sqlite.dll for my c# project
How can i find need to system.data.sqlite.dll? | 1 |
11,558,097 | 07/19/2012 09:44:41 | 990,635 | 10/12/2011 02:40:49 | 229 | 3 | Unbiased estimator | I know that bias estimator is the difference between the actual and expected value.
It is unbiased when that difference equals to 0, and biased otherwise.
Now my question is, let's assume I have some set of values (x1,x2,........,xn) and I want to estimate its mean.
I assign the mean to have the value of the first value (x1).
And the lecturer said it is unbiased...
My question is - why?
The mean of the set of values probably won't equal to the value of x1, so I would say it should be biased. Why is it UNBIASED? | homework | math | statistics | null | null | 07/28/2012 11:00:46 | off topic | Unbiased estimator
===
I know that bias estimator is the difference between the actual and expected value.
It is unbiased when that difference equals to 0, and biased otherwise.
Now my question is, let's assume I have some set of values (x1,x2,........,xn) and I want to estimate its mean.
I assign the mean to have the value of the first value (x1).
And the lecturer said it is unbiased...
My question is - why?
The mean of the set of values probably won't equal to the value of x1, so I would say it should be biased. Why is it UNBIASED? | 2 |
11,629,296 | 07/24/2012 10:51:05 | 1,179,653 | 01/31/2012 06:21:29 | 48 | 13 | ifconfig command produces error | When I tried to assign ipv6 address to my interface, it produces an error as 'bad address 'inet6'"
#ifconfig eth0 inet6 add fe80::20a:9bff:fe04:33c
ifconfig: bad address 'inet6'
But my kernel is build with ipv6. And my interface eth0 is already assigned with an ipv6 address.
Thank you. | linux | shell | networking | ipv6 | null | 07/24/2012 14:35:15 | off topic | ifconfig command produces error
===
When I tried to assign ipv6 address to my interface, it produces an error as 'bad address 'inet6'"
#ifconfig eth0 inet6 add fe80::20a:9bff:fe04:33c
ifconfig: bad address 'inet6'
But my kernel is build with ipv6. And my interface eth0 is already assigned with an ipv6 address.
Thank you. | 2 |
5,252,293 | 03/09/2011 21:18:57 | 581,740 | 01/19/2011 16:20:21 | 20 | 1 | using php _GET. | i am asking two things.
1) the first question is am i doing this correctly? I am putting together a link with javascript varibales
http://google.com/test.php?var="+class4
and then i am using php to get the values of the variables from the URL
2) can i use a link at all to do the variables or must i use a button? when using the link nothing shows in the url after the '?' | php | javascript | null | null | null | null | open | using php _GET.
===
i am asking two things.
1) the first question is am i doing this correctly? I am putting together a link with javascript varibales
http://google.com/test.php?var="+class4
and then i am using php to get the values of the variables from the URL
2) can i use a link at all to do the variables or must i use a button? when using the link nothing shows in the url after the '?' | 0 |
6,133,411 | 05/26/2011 03:38:23 | 411,013 | 08/04/2010 16:15:19 | 6 | 0 | jquiry ui - define .ui-button-text-only .ui-button-text for radio button only | We can define the padding of button by changing the css of .ui-button-text-only .ui-button-text, like this:
> .ui-button-text-only .ui-button-text {
padding: .3em .8em .3em;
}
But my challenge is, I would like to change ONLY the .ui-button-text-only .ui-button-text for radio button, not for other types of buttons. Is there a way to do so? | jquery-ui | null | null | null | null | null | open | jquiry ui - define .ui-button-text-only .ui-button-text for radio button only
===
We can define the padding of button by changing the css of .ui-button-text-only .ui-button-text, like this:
> .ui-button-text-only .ui-button-text {
padding: .3em .8em .3em;
}
But my challenge is, I would like to change ONLY the .ui-button-text-only .ui-button-text for radio button, not for other types of buttons. Is there a way to do so? | 0 |
11,014,121 | 06/13/2012 11:42:21 | 1,453,514 | 06/13/2012 11:25:27 | 1 | 0 | Show the data from session to label | i used
Session["EmpName"] = Convert.ToString(Request.QueryString[1]);
lblEmployeeName.Text = Session["EmpName"].ToString;
for show the data in label from session but it shows following error:
Cannot Convert Method Group 'ToString' to non-delegate type 'string'.
Tell me any solution... | .net | null | null | null | null | 06/14/2012 12:33:52 | too localized | Show the data from session to label
===
i used
Session["EmpName"] = Convert.ToString(Request.QueryString[1]);
lblEmployeeName.Text = Session["EmpName"].ToString;
for show the data in label from session but it shows following error:
Cannot Convert Method Group 'ToString' to non-delegate type 'string'.
Tell me any solution... | 3 |
8,219,289 | 11/21/2011 22:16:28 | 871,607 | 07/31/2011 14:02:36 | 30 | 1 | Array with negative values | how to check the negative values are located inside the array?
$index_period = array();
while ($row = mysql_fetch_assoc($result)) {
$index_period[] = $row['index_period'];
}
foreach ($index_period as $value) {
echo "<th>" . $value . "</th>";
}
And what when the 'value' is not from INT cell but VARCHAR? | php | null | null | null | null | 06/22/2012 12:58:26 | not a real question | Array with negative values
===
how to check the negative values are located inside the array?
$index_period = array();
while ($row = mysql_fetch_assoc($result)) {
$index_period[] = $row['index_period'];
}
foreach ($index_period as $value) {
echo "<th>" . $value . "</th>";
}
And what when the 'value' is not from INT cell but VARCHAR? | 1 |
5,177,669 | 03/03/2011 07:03:19 | 476,543 | 10/15/2010 05:16:56 | 3 | 4 | PHP Download Script | I am trying to make a script that downloads a file, the problem is that i am accesing a page that generates that file (and opens a download window). Is there a way I can get that file witought that pop-up in php? NOTE: I cannot modify the generating page... | php | download | script | null | null | null | open | PHP Download Script
===
I am trying to make a script that downloads a file, the problem is that i am accesing a page that generates that file (and opens a download window). Is there a way I can get that file witought that pop-up in php? NOTE: I cannot modify the generating page... | 0 |
5,768,612 | 04/24/2011 04:17:52 | 56,524 | 01/18/2009 23:46:41 | 3,672 | 348 | Writer or PrintStream that expands tab chars into spaces at set tab stops. | Id like a simple class lets call it Printer that supports richer formatting in addition to limiting decimal number places for doubles etc.
interface Printer {
void print(CharSequence c);
}
Some interesting features i would like include:
- expanding tabs to the next multiple 8
- expanding tabs to a column after calling a callback which returns the column to jump towards.
- support for tab alignments. Any query for the next tab after column X would return jump to Y and right align.
Are there any FOSS libraries that contain features like this ?
- please do not tell me to write my own which i probably will.
- im not interested formatting numbers and other value types like dates.
- id rather the tab stops are not encoded as part of the "printing". Code should just print data then tabs and the result is nicely formatted. | java | string-formatting | null | null | null | null | open | Writer or PrintStream that expands tab chars into spaces at set tab stops.
===
Id like a simple class lets call it Printer that supports richer formatting in addition to limiting decimal number places for doubles etc.
interface Printer {
void print(CharSequence c);
}
Some interesting features i would like include:
- expanding tabs to the next multiple 8
- expanding tabs to a column after calling a callback which returns the column to jump towards.
- support for tab alignments. Any query for the next tab after column X would return jump to Y and right align.
Are there any FOSS libraries that contain features like this ?
- please do not tell me to write my own which i probably will.
- im not interested formatting numbers and other value types like dates.
- id rather the tab stops are not encoded as part of the "printing". Code should just print data then tabs and the result is nicely formatted. | 0 |
9,716,690 | 03/15/2012 09:06:52 | 780,682 | 06/02/2011 06:58:21 | 1 | 0 | How to run android .apk file on Device or emulator from iMAC | I have .apk file . And I just want to install that .apk file on device or emulator, to verify that application is running properly and ready to upload on Android Market. | android | null | null | null | null | 03/15/2012 10:22:42 | not a real question | How to run android .apk file on Device or emulator from iMAC
===
I have .apk file . And I just want to install that .apk file on device or emulator, to verify that application is running properly and ready to upload on Android Market. | 1 |
8,462,603 | 12/11/2011 07:44:57 | 1,084,139 | 12/06/2011 18:39:59 | 1 | 0 | What should my next step be as a complete beginner to web development learning PHP? | So I recently decided that I want to learn PHP, and I had never learned a programming language before. I went through HTML/CSS/PHP/MYSQL tutorials on w3schools, html.net, php.net and video tutorials on various sites. Then I made some of my own applications, including blogs, CURD, CMS, etc. I filtered user input to protect the db, etc. I'm no hacker/programmer by any means, but I think I understand the basics pretty well. I don't know any developers, so I was hoping you guys can help me by answering a couple of questions I have at this point.
1. When developing, I know what steps I need to create, but I don't always remember the syntax of the steps, so I always look it up. Is that normal or should I spend time memorizing more syntax? Do experienced guys also refer back to the manuals to look up basic syntax stuff?
2. Do you think this is the right time to jump into a framework, like Codeigniter or CakePHP, or should I continue practicing some more applications and get more proficient at the core language?
Thanks for your help! | php | programmer-skills | null | null | null | 12/11/2011 20:50:17 | not constructive | What should my next step be as a complete beginner to web development learning PHP?
===
So I recently decided that I want to learn PHP, and I had never learned a programming language before. I went through HTML/CSS/PHP/MYSQL tutorials on w3schools, html.net, php.net and video tutorials on various sites. Then I made some of my own applications, including blogs, CURD, CMS, etc. I filtered user input to protect the db, etc. I'm no hacker/programmer by any means, but I think I understand the basics pretty well. I don't know any developers, so I was hoping you guys can help me by answering a couple of questions I have at this point.
1. When developing, I know what steps I need to create, but I don't always remember the syntax of the steps, so I always look it up. Is that normal or should I spend time memorizing more syntax? Do experienced guys also refer back to the manuals to look up basic syntax stuff?
2. Do you think this is the right time to jump into a framework, like Codeigniter or CakePHP, or should I continue practicing some more applications and get more proficient at the core language?
Thanks for your help! | 4 |
5,068,337 | 02/21/2011 16:16:10 | 622,289 | 02/17/2011 23:08:22 | 10 | 0 | Is it possible to a a logo to the desktop Lync client | Is it possible to use the Lync 2010 SDK to add a company logo into the desktop client?
Thanks! | lync-2010 | lync | null | null | null | null | open | Is it possible to a a logo to the desktop Lync client
===
Is it possible to use the Lync 2010 SDK to add a company logo into the desktop client?
Thanks! | 0 |
10,584,398 | 05/14/2012 13:36:08 | 1,208,641 | 02/14/2012 08:38:20 | 275 | 7 | Convert this SQL statement to LINQ statement | How would this SQL statement be with LINQ?
select count(*) from GoalCard
where GoalCard.Completed_Date is not null
Thanks in advance! | sql | linq | sql-to-linq-conversion | null | null | 05/14/2012 14:00:19 | too localized | Convert this SQL statement to LINQ statement
===
How would this SQL statement be with LINQ?
select count(*) from GoalCard
where GoalCard.Completed_Date is not null
Thanks in advance! | 3 |
6,511,518 | 06/28/2011 18:44:26 | 178,800 | 09/25/2009 00:47:06 | 93 | 12 | Is anybody using Phabricator, the open-sourced version of Facebook's development tools? | I'm putting together a new software engineering department and while browsing for open source bug-tracking solutions I came across [Phabricator][1], which is an open-sourced version of Facebook's development tools. It seems to be so new that there is almost no mention of it on the internet (and had no wikipedia page until I started one.)
So can someone help me out and let me know if Phabricator is good enough to start using? The Phabricator documentation is pretty light so far, but in the past I had a very favorable impression of [Apache Thrift][2], which also came from Facebook.
[1]: http://phabricator.org/
[2]: http://thrift.apache.org/ | bug-tracking | null | null | null | null | 05/08/2012 13:21:08 | not constructive | Is anybody using Phabricator, the open-sourced version of Facebook's development tools?
===
I'm putting together a new software engineering department and while browsing for open source bug-tracking solutions I came across [Phabricator][1], which is an open-sourced version of Facebook's development tools. It seems to be so new that there is almost no mention of it on the internet (and had no wikipedia page until I started one.)
So can someone help me out and let me know if Phabricator is good enough to start using? The Phabricator documentation is pretty light so far, but in the past I had a very favorable impression of [Apache Thrift][2], which also came from Facebook.
[1]: http://phabricator.org/
[2]: http://thrift.apache.org/ | 4 |
2,810,330 | 05/11/2010 11:45:36 | 337,823 | 05/11/2010 01:41:39 | 16 | 0 | how good do you have to be to claim you have X amount of experience with X language/platform/skill | sometimes i see job requirements saying you need 5 years of LAMP experience or resumes listing years of experience for each language....
what would you need to prove you have 5 years of experience at something ?
i mean what if you rested for a while from coding ? what if you were actually "learning" during the first few years ?
i feel no confidence at all and although i have been learning web programming (lamp) since 4 years ago, i am uncertain whether my skills qualify as to those of someone who has "5 years of LAMP" experience, and how would i be able to find out ?
i've written several web apps....but they haven't taken off as i hoped. | experience | null | null | null | null | 01/22/2012 14:43:21 | off topic | how good do you have to be to claim you have X amount of experience with X language/platform/skill
===
sometimes i see job requirements saying you need 5 years of LAMP experience or resumes listing years of experience for each language....
what would you need to prove you have 5 years of experience at something ?
i mean what if you rested for a while from coding ? what if you were actually "learning" during the first few years ?
i feel no confidence at all and although i have been learning web programming (lamp) since 4 years ago, i am uncertain whether my skills qualify as to those of someone who has "5 years of LAMP" experience, and how would i be able to find out ?
i've written several web apps....but they haven't taken off as i hoped. | 2 |
10,994,311 | 06/12/2012 09:59:04 | 1,257,567 | 03/08/2012 16:58:28 | 8 | 1 | Best Avi Compressor Codec | I would like to know what codec is more effective and more reliable to compress Avi video files.
I use the Microsoft Video 1 but i want one to distribute with my application to record one window.
Any suggestions are welcome.
Thanks for the attention. | record | avi | compressor | null | null | 06/14/2012 02:22:13 | not constructive | Best Avi Compressor Codec
===
I would like to know what codec is more effective and more reliable to compress Avi video files.
I use the Microsoft Video 1 but i want one to distribute with my application to record one window.
Any suggestions are welcome.
Thanks for the attention. | 4 |
11,511,446 | 07/16/2012 19:45:06 | 693,087 | 04/05/2011 14:16:59 | 68 | 2 | Why are my Python windows widgets slow to move while being updated? | I have created a system of windows in my program that perform different functions. One of these windows is a table that is updated every half second or so, but, these updates cause the dragging of all of my windows to be slow to respond. | python | widget | null | null | null | 07/17/2012 02:18:19 | not a real question | Why are my Python windows widgets slow to move while being updated?
===
I have created a system of windows in my program that perform different functions. One of these windows is a table that is updated every half second or so, but, these updates cause the dragging of all of my windows to be slow to respond. | 1 |
4,193,873 | 11/16/2010 12:00:13 | 295,264 | 03/17/2010 00:16:39 | 3,790 | 216 | Can you explain the reason of the popularity of 'e' to refer Events? | Whenever there is something related to event or event handling the probably most widely used keyword is **e**. Even I don't have a particular reason to tell to explain exactly. Why?
It is definately not time saving for me, I mean how much will few more letters hurt? It is definately not representive, because `e` can also refer to errors.
What is it? What you think? | language-agnostic | null | null | null | null | 11/17/2010 04:49:11 | not constructive | Can you explain the reason of the popularity of 'e' to refer Events?
===
Whenever there is something related to event or event handling the probably most widely used keyword is **e**. Even I don't have a particular reason to tell to explain exactly. Why?
It is definately not time saving for me, I mean how much will few more letters hurt? It is definately not representive, because `e` can also refer to errors.
What is it? What you think? | 4 |
728,512 | 04/08/2009 04:22:15 | 87,114 | 04/04/2009 16:53:04 | 6 | 0 | VoIP on windows [C] | Is there any widespread library's/API's that allow you to work with VoIP ?
I mean like a VoIP version of sockets or something.. | voip | null | null | null | null | 07/14/2012 02:05:59 | not constructive | VoIP on windows [C]
===
Is there any widespread library's/API's that allow you to work with VoIP ?
I mean like a VoIP version of sockets or something.. | 4 |
2,497,046 | 03/23/2010 01:51:34 | 299,533 | 02/10/2010 23:57:59 | 10 | 1 | SQL Query Not Functioning - No Error Message | // Write the data to the database
$query = "INSERT INTO staff (name, lastname, username, password, position, department, birthmonth, birthday, birthyear, location, phone, email, street, city, state, country, zip, tags, photo) VALUES ('$name', '$lastname', '$username', '$password', '$position', '$department', '$birthmonth', '$birthday', '$birthyear', '$location', '$phone', '$email', '$street', '$city', '$state', '$country', '$zip', '$tags', '$photo')";
mysql_query($query);
var_dump($query);
echo '<p>' . $name . ' has been added to the Employee Directory.</p>';
if (!$query) {
die('Invalid query: ' . mysql_error());
}
Can someone tell me why the above code produced:
string(332) "INSERT INTO staff (name, lastname, username, password, position, department, birthmonth, birthday, birthyear, location, phone, email, street, city, state, country, zip, tags, photo) VALUES ('Craig', 'Hooghiem', 'sdf', 'sdf', 'sdf', 'sdf', '01', '01', 'sdf', 'sdf', '', 'sdf', 'sdf', 'sd', 'sdf', 'sdf', 'sd', 'sdg', 'leftround.gif')"
Craig has been added to the Employee Directory.
But does not actually add anything into the database table "staff" ?
I must be missing something obvious here. | sql | php | query | null | null | null | open | SQL Query Not Functioning - No Error Message
===
// Write the data to the database
$query = "INSERT INTO staff (name, lastname, username, password, position, department, birthmonth, birthday, birthyear, location, phone, email, street, city, state, country, zip, tags, photo) VALUES ('$name', '$lastname', '$username', '$password', '$position', '$department', '$birthmonth', '$birthday', '$birthyear', '$location', '$phone', '$email', '$street', '$city', '$state', '$country', '$zip', '$tags', '$photo')";
mysql_query($query);
var_dump($query);
echo '<p>' . $name . ' has been added to the Employee Directory.</p>';
if (!$query) {
die('Invalid query: ' . mysql_error());
}
Can someone tell me why the above code produced:
string(332) "INSERT INTO staff (name, lastname, username, password, position, department, birthmonth, birthday, birthyear, location, phone, email, street, city, state, country, zip, tags, photo) VALUES ('Craig', 'Hooghiem', 'sdf', 'sdf', 'sdf', 'sdf', '01', '01', 'sdf', 'sdf', '', 'sdf', 'sdf', 'sd', 'sdf', 'sdf', 'sd', 'sdg', 'leftround.gif')"
Craig has been added to the Employee Directory.
But does not actually add anything into the database table "staff" ?
I must be missing something obvious here. | 0 |
1,259,502 | 08/11/2009 10:18:12 | 45,603 | 08/25/2008 09:52:34 | 2,102 | 81 | VS2008: How do I make symbols defined in stdafx.h visible to the resource compiler? | I am working on a VC++ project under VS2008. My resource files contain some pre-processor directives for conditional compilation. Some of the symbols controlling the conditional compilation are defined in `stdafx.h`. I need these symbols to be visible to the resource compiler as well. How do I make this happen? | vs2008 | conditional-compilation | preprocessor | null | null | null | open | VS2008: How do I make symbols defined in stdafx.h visible to the resource compiler?
===
I am working on a VC++ project under VS2008. My resource files contain some pre-processor directives for conditional compilation. Some of the symbols controlling the conditional compilation are defined in `stdafx.h`. I need these symbols to be visible to the resource compiler as well. How do I make this happen? | 0 |
972,025 | 06/09/2009 19:24:35 | 79,465 | 03/18/2009 12:19:00 | 102 | 7 | Entity framework Calling 'Read' when the datareader is closed | I have had a breakdown on my webhost. Now finally it is up again, and I have yet to know what the technicians fixed.
The problem is now I receive the error:
Calling 'Read' when the data reader is closed is not a valid operation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Calling 'Read' when the data reader is closed is not a valid operation.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Calling 'Read' when the data reader is closed is not a valid operation.]
System.Data.Common.Internal.Materialization.Shaper`1.StoreRead() +93
System.Data.Common.Internal.Materialization.SimpleEnumerator.MoveNext() +30
System.Linq.Enumerable.Single(IEnumerable`1 source) +119
System.Data.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__2(IEnumerable`1 sequence) +5
System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable`1 query, Expression queryRoot) +25
System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +43
System.Linq.Queryable.Count(IQueryable`1 source) +240
BusinessLayer.Car.GetCarCount() in xxx
UserControls_SiteInfo.Page_Load(Object sender, EventArgs e) +225
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
I have not changed anything, so could it be some permissions? I can still log onto my database with the same credentials so it is not the login info. Anyone have an idea?
| entity-framework | null | null | null | null | 02/08/2012 16:10:40 | too localized | Entity framework Calling 'Read' when the datareader is closed
===
I have had a breakdown on my webhost. Now finally it is up again, and I have yet to know what the technicians fixed.
The problem is now I receive the error:
Calling 'Read' when the data reader is closed is not a valid operation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Calling 'Read' when the data reader is closed is not a valid operation.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Calling 'Read' when the data reader is closed is not a valid operation.]
System.Data.Common.Internal.Materialization.Shaper`1.StoreRead() +93
System.Data.Common.Internal.Materialization.SimpleEnumerator.MoveNext() +30
System.Linq.Enumerable.Single(IEnumerable`1 source) +119
System.Data.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__2(IEnumerable`1 sequence) +5
System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable`1 query, Expression queryRoot) +25
System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +43
System.Linq.Queryable.Count(IQueryable`1 source) +240
BusinessLayer.Car.GetCarCount() in xxx
UserControls_SiteInfo.Page_Load(Object sender, EventArgs e) +225
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
I have not changed anything, so could it be some permissions? I can still log onto my database with the same credentials so it is not the login info. Anyone have an idea?
| 3 |
3,072,344 | 06/18/2010 18:52:41 | 366,204 | 06/14/2010 09:55:45 | 13 | 2 | How to generate Automatically resx files for project | I want to generation automatically Resx files for my project, I've heared that there's program which does it.
Can anyone tell me it's name? | c# | visual-studio-2008 | visual | auto-generate | .resx | 09/17/2011 13:03:00 | not constructive | How to generate Automatically resx files for project
===
I want to generation automatically Resx files for my project, I've heared that there's program which does it.
Can anyone tell me it's name? | 4 |
3,323,363 | 07/24/2010 00:54:19 | 300,385 | 03/23/2010 22:50:32 | 33 | 0 | Need to find a way to programmatically delete undeleteable empty folders in C# | I've got a large folder on an offsite backup machine that gets populated with files by rsync (through deltacopy) every night (running windows xp) from the main work site. I've discovered some annoying folders that cannot be opened, or deleted, or even checked for file sizes. I get the such and such a folder is not accessible, access is denied message when i try to click on it in windows explorer.
I currently have a c# program that goes through every folder and file and tries to copy the whole backup directory to a dated backup-backup directory, which is how i discovered this problem in the first place. The regular System.IO library seems helpless against these blasted folders. Exceptions are thrown when I even try to access the folder path.
Does anyone have any clue how I could, say, on an access denied exception in my existing copy code, force the delete of these folders so rysnc can recreate the directory again and get the whole thing synced again?
Thanks
| c# | windows-xp | delete | filesystems | null | null | open | Need to find a way to programmatically delete undeleteable empty folders in C#
===
I've got a large folder on an offsite backup machine that gets populated with files by rsync (through deltacopy) every night (running windows xp) from the main work site. I've discovered some annoying folders that cannot be opened, or deleted, or even checked for file sizes. I get the such and such a folder is not accessible, access is denied message when i try to click on it in windows explorer.
I currently have a c# program that goes through every folder and file and tries to copy the whole backup directory to a dated backup-backup directory, which is how i discovered this problem in the first place. The regular System.IO library seems helpless against these blasted folders. Exceptions are thrown when I even try to access the folder path.
Does anyone have any clue how I could, say, on an access denied exception in my existing copy code, force the delete of these folders so rysnc can recreate the directory again and get the whole thing synced again?
Thanks
| 0 |
9,373,666 | 02/21/2012 07:21:56 | 21,966 | 09/25/2008 01:55:29 | 5,605 | 169 | Web Forms controls null at runtime. Fixes itself after renaming control id | Very occasionally I get this bizarre Microsoft bug where a control on a Web Form (with a designer file), is null at runtime.
Renaming the control's ID in the ASPX page always fixes the problem, but nothing else will.
The problem doesn't occur with all controls - just some - and usually a control which I've recently added to the page.
Anyone else seen this one? | asp.net | asp.net-webforms | null | null | null | null | open | Web Forms controls null at runtime. Fixes itself after renaming control id
===
Very occasionally I get this bizarre Microsoft bug where a control on a Web Form (with a designer file), is null at runtime.
Renaming the control's ID in the ASPX page always fixes the problem, but nothing else will.
The problem doesn't occur with all controls - just some - and usually a control which I've recently added to the page.
Anyone else seen this one? | 0 |
3,439,769 | 08/09/2010 12:01:24 | 95,877 | 04/25/2009 07:12:41 | 170 | 11 | Bing maps on android | I need to use Bing map API on android .As i am not able to get any proper tutorial , Has any body tried it .
Any help would be appreciated.
Thanks in advance. | java | android | null | null | null | null | open | Bing maps on android
===
I need to use Bing map API on android .As i am not able to get any proper tutorial , Has any body tried it .
Any help would be appreciated.
Thanks in advance. | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.