instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Whenever I make a call to facebook server to fetch user data using FQL, 10% of the time I get
URLError: <urlopen error [Errno 104] Connection reset by peer>
I am not able to reproduce this error. Below is the traceback:
File "/home/fb.py", line 250, in get_data()
return json.load(urlopen(URL, params))
File "/usr... | stackexchange/codereview |
Is there any documentation, or advice?
| stackexchange/codereview |
I'm using PHP's PECL/Memcached for the first time and I can't figure out when or how I should be updating changed items in Memcached.
I've tried using both Memcached::add and Memcached::set and neither yields the results I expect.
Memcached::set replaces the value automatically
$memcached->set('key', 'value', time() + ... | stackexchange/codereview |
I have a computed field called c_total_qty in a datawindow which computes multiplication of two fields, one field is a database column and the second one is another computed field.
Now when c_total_qty's value changes, it does not trigger corresponding itemchanged event. Are computed fields work this way or there are e... | stackexchange/codereview |
I need to download a CSV file from http://www.carriersoftwaredata.com/Login.aspx?file=FHWA to my local server on a daily basis. My plan is to implement a cron job running a php script to do this. However, the page requires a username and password be inputted before allowing the file to be downloaded. If I visit this pa... | stackexchange/codereview |
Is it necessary to include the core of jQuery, or is the mobile framework sufficient alone?
From what I`ve tried, I concluded that both files are necessary, but I would like to be sure on this issue.
| stackexchange/codereview |
I am testing an ASP.NET website on local IIS (Windows 7)
I wanted the file uploaded by the user on the webpage to be saved on the server/folder where the application resides.
I granted read/write permissions to the folder containing the website files in inetpub/wwwroot
But while testing the application, after attachin... | stackexchange/codereview |
how can invoke install Applications by c# code?
I want to install an application as winrar.exe by C# code
| stackexchange/codereview |
My PHP script specs.php outputs the following:
{
"hd": {
"dimensions": [
"1920x1080",
"1920x1080",
"1920x1080"
],
"sizes": [
"603 KB",
"265 KB",
"438 KB"
]
},
"medium": {
"dimensions": [
... | stackexchange/codereview |
The XML
<?xml version="1.0"?>
<rtv version="1" time="1290508867">
<genres>
<genre en="Action">1</genre>
<genre en="Adventure">2</genre>
<genre en="Animation">3</genre>
<genre en="Comedy">4</genre>
<genre en="Crime">5</genre>
<genre en="Disaster">6</genre>
<genre en="Documentary">7</genre>... | stackexchange/codereview |
I would linke to call java app from PHP:
exec('LC_ALL=en_US.utf-8 java -jar /test.jar' . $filepath . ');
But always there are unsupported characters in the file path.
For example: # & ; ? * [SPACE]..., after change them to # \& ... it will be ok.
But a full list of these characters could not be find.
Any ideas to solv... | stackexchange/codereview |
I have many active record queries that operate on my Article model. I have just introduced an "active" field in the articles table. Is there any way I could specify that for all my AR queries, I only want to return "active" Articles, and do it without having to change all my existing AR queries?
| stackexchange/codereview |
Currently I am working on audio streaming on android. All method I have written related to streaming and playing the audio is in the onCreate() method. The problem is when ever I change into portrait mode, all methods are called again. How can I prevent this?
| stackexchange/codereview |
I have a web page(the technology use it on is html and aspx) that let the user to send free SMS... i want to send the userName, password, text message, receiver number and the date from my iphone app... How can i do that ?
| stackexchange/codereview |
How can I get the location of the hosts file when using my application on different platforms?
| stackexchange/codereview |
When a user joins an ejabberd MUC, the server will send a full room roster and chat history to the user.
In my web based client I need to persist the room over page reloads. My problem is that I loose al the initial information when the page is unloaded.
ATM I'm working around this by serialising the roster and room h... | stackexchange/codereview |
I've looked on the internet (over and over) and I couldn't find an SQL.vshd file for AvalonEdit, I've used the old format version but it makes the editor bug (it doesn't show anymore at all), So I'm wondering maybe someone has done such a file because I don't want to waste my time doing this if it's been already done.
... | stackexchange/codereview |
I am serializing multiple nested dictionaries to JSON using Python with simplejson.
Is there any way to automatically exclude empty/null values?
For example, serialize this:
{
"dict1" : {
"key1" : "value1",
"key2" : None
}
}
to
{
"dict1" : {
"key1" : "value1"
}
}
When using Jac... | stackexchange/codereview |
My book, "Hello Android" gives this as a way of using a custom db helper, setting up a cursor, and then setting up an adapter as follows:
Cursor cursor
CustomDatabaseHelper test = new CustomDatabaseHelper(this);
try {
cursor = getData();
showData(cursor);
} finally {
test.close();
}
With this h... | stackexchange/codereview |
i have widget like below
in ui.xml
textbox, anchor_delete
when anchor_delete is press, @uihandler fired and i want entire widget textbox and anchor_delete remove itself from the view. Is this possible
@UiHandler("anchor_delete")
void deleteRowAction(ClickEvent event) {
getWidget().removeFromParent(); //i tried ... | stackexchange/codereview |
does anyone know if it is possible to validate an xml with an xsd while i am editing the xml in eclipse?
this is how my xml begins:
<root
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../definitions.xsd">
| stackexchange/codereview |
I have a datagridview that is docked and anchored with a panel on a Winform. When I resize the form, the datagridview resizes as expected, but the columns do not resize to fit the datagridview. Instead, I am left with the background colour of the Datagridview.
How can I get the columns to grow with the control?
Thank... | stackexchange/codereview |
I am having problem with the task of storing CGGradientRef in NSMutableArray.
What do I have to wrapp it in to store it in the array and what to unwrap it.
Thanks.
| stackexchange/codereview |
I am looking at the possibility of using http://code.google.com/p/speedtracer/ to benchmark a JavaScript/PHP application. I need a starting point to see if:
Its possible to use speedtracer without using GWT ?
Can i write my Java code outside speedtracer environment and drive speedtracer
Can i get results from speedtra... | stackexchange/codereview |
I created this test case as a simple example of my problem.
The AppDelegate initializes the TestViewController and adds it to the window
The TestViewController initializes the TestView and makes it the view
The TestView initializes the TestSubView and adds it as a subview
My goal is to allow TestSubView, through a de... | stackexchange/codereview |
I deploy the showcase of primefaces under glassfish. When I open the page of Calendar. There is something wrong.
--------------Following is my code, I think there is nothing wrong-------------
<p:calendar value="#{unSubmitConsign.startDate}"
selectListener="#{unSubmitConsign.handleDateSelect}... | stackexchange/codereview |
I want to update all eggs and uninstall some I installed using easy_install.
How could I do that?
I've been looking for ways of updating/removing eggs and I find out that it's just one big crap - there is no way to do that other than writing my own software for that. Is that really so great crap that I cannot update/... | stackexchange/codereview |
I have a button and a text.
If a user enters "Hi" in the textbox and then click on the button he should get a javascript alert "HELLO!" how can i make that ?
Thanks
| stackexchange/codereview |
I wish to make a change to an autosys job. After I make the change:
I want to test it by running it in isolation without running any dependents.
After I have finished testing, I want it to be in a "normal" state; i.e. so that it (and its dependents) run automatically as usual the next day.
This seems like a pretty el... | stackexchange/codereview |
While trying to write a solution to the longest common sublist problem in Scheme, I'm having trouble figuring out what is wrong with what I have so far. I think it's the right idea and before worrying about polynomial time I'm just trying to get one that works at all. I haven't written in a functional language before... | stackexchange/codereview |
I have code like this.
for p in range(1,1000):
result = False
while result is False:
ret = urllib2.Request('http://server/?'+str(p))
try:
result = process(urllib2.urlopen(ret).read())
except (urllib2.HTTPError, urllib2.URLError):
pass
results.append(result)
I... | stackexchange/codereview |
I know this is a hot topic on StackOverflow, but do bear with me.
We have a Silverlight 3 application talking to a WCF service. Every now and then, calls to the WCF service return a NotFound exception.
I've read pretty much every post on SO and Google on this subject but I can't figure out what's going wrong. Here are ... | stackexchange/codereview |
I was wondering if there is a conditional command that I can use in latex (e.g., \ifthenelse) that would allow me to, in one case, use the word 'a' and in another use the word 'an' based on the whether or not the following word starts with a vowel.
| stackexchange/codereview |
I'm currently going to write big project in c++11.
I'm searching for some time good c++11/c++ reflection library and I've found several different libraries, but most of them are simply not updated for last couple of years or their functionality is very limited.
Could you tell me if there is a really good library for c+... | stackexchange/codereview |
I am using a small C++ app that I wrote myself using VS 2010.
This app accesses a website through HTTPS using these functions :
InternetOpen(), InternetConnect(), HttpOpenRequest(), HttpSendRequest(),
HttpQueryInfo(), InternetReadFile()
The app has been working fine for the last 2 years on a 32-bit machine running -i... | stackexchange/codereview |
I'm using the default ruby Installation on my macbook (using 10.6). When I start my rails 2.3.5 intern rails server I get this Warning.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecate... | stackexchange/codereview |
I want to extend the Device Administration framework for my
Enterprise needs, so for example I would be able to better control
which applications installed on the device.
Is there a way to it? (Without rooting the device)
| stackexchange/codereview |
I have some maybe stupid question. What is the difference between C++ and objectice-c. Is there IDE for objective-c for linux ?
| stackexchange/codereview |
in my php code i have a table with rows:
name actions
category 1 edit
category 2 edit
..... edit
every edit buttons have an id for ex: <a href="edit('.$raw['id'].')" id="show-btn'.$raw['id'].'">
now my function edit is:
var win;
var button;
function edit(idd){
button = Ext.... | stackexchange/codereview |
Is the reusage of the ut instance in the following code correct?
UserTransaction ut = (UserTransaction)ctx.lookup("java:comp/UserTransaction");
ut.begin();
doSomeWork();
ut.commit();//Or rollback (I think it doesn't matter)
ut.begin(); //Or rollback (I think it doesn't matter)
doOtherWork();
ut.commit(... | stackexchange/codereview |
I have created my firs plugin with jquery and it simply dont work as it should.
Can someone please correct me, and if possible send me to some jQuery tutorials?
Im trying to grab label value and pass it to another input
jQuery.fn.checktoclient = function () {
return this.each (function () {
this.map(function(){
... | stackexchange/codereview |
I need to pass data from an HTML element and serialize it. At the moment I can do it by naming each individual attribute in the HTML tag. But It seems verbose and complicated.
<a data-type="2" data-post="101" data-parent="100">Up</a>
var myData = $(this).data("type")+$(this).data("parent")+$(this).data("post")
Can I p... | stackexchange/codereview |
Is there a way to limit iterations per time unit? For example, I have a loop like this:
for (int i = 0; i < 100000; i++)
{
// do stuff
}
I want to limit the loop above so there will be maximum of 30 iterations per second.
I would also like the iterations to be evenly positioned in the timeline so not something lik... | stackexchange/codereview |
How do I implement this in scheme:
*INPUT: ((1 . 1) (1 . 7))
*OUTPUT: (((1 . 2) (1 . 4) (1 . 6)) ((1 . 3) (1 . 5) (1 . 7)))
basically i have one list with two elements. Each element is also a list with two elements, both integers >= 0 and < 8
I have to create this:
input ((a1 . b) (a1 . c))
output: (if (and (= a1 a2... | stackexchange/codereview |
I'm looking for a way to construct arbitrary JavaScript objects based on (a) the name of the constructor, and (b) an array containing the arguments. I found this function (by Matthew Crumley ?) in an other thread on stackoverflow:
function construct(constructor, args) {
function F() { return constructor.apply(this, a... | stackexchange/codereview |
I'm having a C++ seminar in 30 minutes :-)
Because I incorporated most of the examples I usually do on the seminar into the lecture I don't have anything to do with my students. I just gave them a broad overview of templates (from basics to advanced topics).
Any tips what to do?
It can be something that I will explain ... | stackexchange/codereview |
Is there a method to read the frame buffer of the current screen? I searched some data about the frame buffer. Some one used the glReadPixels method, but the information was not enough. Does anyone know how to read the current frame buffer in detail?
Thanks for helping.
| stackexchange/codereview |
I have a slight issue, i am trying to get the outer width of a table cell. The table cell has some inputs as child elements, in this case a textbox and an image.
The width of the image is 16px and the width on the textbox is 115px. The textbox also has padding left and right, both 2px (equals 4px).
I would assume that ... | stackexchange/codereview |
I have a simple table/model in rails, vat_rates. Administrators need to be able to select one, and only one of these as the default rate that will be selected on the HTML form when creating new related items items that have a vat_rate_id. I have added a boolean default column to the vat_rates table.
What is the most st... | stackexchange/codereview |
I have a segmented control which has three buttons, and I want to darken the lines that separate the segments.
My code is:
NSArray *listArray = [NSArray arrayWithObjects:@"Email",@"SMS",nil];
UISegmentedController *segmentedController = [[UISegmentedControl alloc] initWithItems:listArray];
segmentedController.segmente... | stackexchange/codereview |
When I delete a row from UITableView using commitEditingStyle, my app crashes with the following error message. The odd thing though is I am deleting from section 3. The inconsistency according to the message is from section 4.
* Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit_S... | stackexchange/codereview |
All the data in my database should be searchable from within my web app. It's lots of data, more than 2 million records.
So what should I do?
1) Should I index all of the data and then use Lucene esclusively to query what I need and therefore not use MySql at all?
2) Or should I use Lucene only for searching and MySQL... | stackexchange/codereview |
I have a panel in which I do some custom drawing. To make sure the graphics scale proportionally when the panel is resized I use the Transform property of my Graphics.
private void panelGraph_Paint(object sender, PaintEventArgs e)
{
var gfx = e.Graphics;
gfx.Transform = BuildTransform(e.ClipRectangle);
var ... | stackexchange/codereview |
Take your average google desktop gadget. Add the following code:
debug.trace("go!");
for (var i = 0; i < 100000000; i++) { // google desktop stops responding
j = 12 * i;
}
debug.trace("finished");
All google desktop gadgets lock up / freeze for the duration, including the gadget the code is running in (the... | stackexchange/codereview |
So I'm in the process of creating a text slider, for headlines. I would like the currently displayed text to side out, at the same time that the new text is sliding in. Is there a way that I can use jQuerys .slideToggle() or .slide() concurrently to be able to do what I want?
| stackexchange/codereview |
I would like to create textbox that support text message and image(emoticon) like bb messenger textbox.
Could anyone help me?
Thank you in advance.
| stackexchange/codereview |
I developed a web application for the process of Language translation from English to
Arabic.
it is a model profile page. Its has two links in the bottom of the page if I click the
"English" link it will display in English and i have a "Arabic" link which will display in Arabic
I am able to insert the Non-English value... | stackexchange/codereview |
I can't delete a symlink on Android. Can't with File.delete() and neither with
exec("rm " + verFile.getPath())
I have a symlink
com.example.app/mydata/12345.ver --> com.example.app/lib/library.so
which was created by
Runtime.getRuntime().exec(String.format("ln -s %s %s", target, link));
After upgrade (download differe... | stackexchange/codereview |
I have a custom validation decorator. In the method "public void afterLabel(Field field)" I can't get the id of the component. I tried field.getClientId() and field.getControlName(), but they are always null. In the component I did this:
<input t:type="Checkbox" t:id="requiredOwner" t:value="currentVehicle.owner" t:cli... | stackexchange/codereview |
I'm developing my first Windows Phone 7 application and I have to add an Application Bar with icons.
I referred to this "How To" : http://msdn.microsoft.com/en-us/library/ff431786(VS.92).aspx ("Creating an Application Bar in XAML" paragraph)
But when I run Emulator I cannot see incons: I see the black circle with X in ... | stackexchange/codereview |
I need to check a .config file in an installation application (iis custom action in a WIX project). The user picks a website and enters a virtual directory name. I can't do a http read to retrieve the config file as ASP.NET does not serve config files.
How can I find the local disk path of the selected website and virt... | stackexchange/codereview |
How do I change my REST service (Factory?) to allow it to work on IIS? I can not change IIS.
I get this error:
IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Neg... | stackexchange/codereview |
I am trying to get a Spinner to work in Android. It displays fine and I can select any one of the options in the list. But how do I transfer that to a string?
I would have thought in the code below that 'selected' would hold the selected string, but I get an 'Illegal modifier for the local class YourItemSelectedListene... | stackexchange/codereview |
I am trying to user NHibernate / FluentNHibernate to create a table in my database. I seem to have figured it out for the most part but when I run the test the table isn't created. I see in the Configuration object that the ClassMappings is a big fat zero even thought I have user FluentNHibernate to configure them from... | stackexchange/codereview |
I am trying to animate the textlabel in a UItableviewcell when I press the edit button.
I am trying to make it fade out and fade in.
fading in works but when I press 'edit' the textlabel disappears and when I press on 'done' I fades in just perfectly.
Can anyone tell me why it isn't working?
thanks in advance
- (void)w... | stackexchange/codereview |
i have a tabbed layout with 2 tabs, every tab has it's own view. I search for a function that can overwritten that is called every time if i click on a tab to show the layout.
Thanks in advance...
Hasan Caliskan
EDIT:
thanks for you answers, but it doesn't work...
onWindowVisibilityChanged
is called one time if i star... | stackexchange/codereview |
can I access Component value from Plugin onAfterRender ? If yes , how do I do it ? I am using Joomla 1.5.
| stackexchange/codereview |
I have a project that uses testsuites to call the tests within a project.
Running the tests with maven, it will correctly runs only the tests.
Running the tests with eclipse, it runs both the tests and the testsuites!
I could write a testsuite() to call all the testsuites in all the packages but is there a way to only ... | stackexchange/codereview |
I am a bit lost using Authentication with MVC...
I´m looking for the best option to use in a big E-Commerce site, where the performance is top priority...
The two options I´m looking until now are :
Create a FormsAuthenticationTicket and encrypt it into a cookie, like implemented here : Cookie implementation
Cache the... | stackexchange/codereview |
I'm trying to use UI Coded Tests to record a test in my flash application, but the target which adds assertions does not recognize the buttons, textboxes, and nothing more.
Is possible to do these UI tests in flash using VS2010 or I should use another tool? Do you recommend any tool?
| stackexchange/codereview |
how do I add a +1 too the c_request field. every time I do and insert I want to add a 1 to the current number (ex. like a hit counter)
mysql_query("INSERT INTO ed_names (com_id, c_date, c_time, c_type, c_request, c_by)
VALUES ($id, CURRENT_DATE, CURRENT_TIME, '.($type == 'normal' ? 1 : 2).',0,$user)");
$r... | stackexchange/codereview |
this is my simple xaml that shows in a textbox the age of the first person in a collection of persons. I don't understand I after click the age isn't changing.
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="132*" />
<RowDefinition Height="179*" />
</Grid.RowDefinitions>
<TextBlock Text... | stackexchange/codereview |
Is there a way, using Python, to check the server load of a Linux machine periodically and inform me of it in some way?
| stackexchange/codereview |
I want to have an image roll-over link and use sprites. Is it ok to do put an inline div inside an anchor with no text?
<a href="link.html"><div style="display:inline;background:etc;"></div></a>
| stackexchange/codereview |
Hello I want to remove the last word from my sentence in C#. Here is my query:
"SELECT * FROM People WHERE City = @City AND County = @County AND"
I want to remove the last AND programatically, how can I do that?
Thanks
| stackexchange/codereview |
I have created a Custom preference which has the following constructor
public CoordinatesPreference(Context context, AttributeSet attrs)
{
super(context, attrs);
setLayoutResource(R.layout.coordinates_preference);
}
And I have Overriden onCreateView() so it writes to the log like this:
@Override
protected View... | stackexchange/codereview |
I want to add an association to an EF 4.0 model that uses two constant properties as part of what would be the referential constraint. Obviously it's no good adding the properties into the partial class of the entity as these won't be seen by the EF designer when defining the association. So, is it possible to add a ... | stackexchange/codereview |
How can I declare a string with quotes in Actionscipt 3 like this:
var str1:String="(SayText "Hello world.")";
Some symbols like < can be taken care as <.quotes
| stackexchange/codereview |
I have one struct tm.
And I need to add some fixed interval (given in xx years, xx months, xx days)
to the tm struct.
Is there any standard function to do this?
The compiler I use is MSVC 2005 on Windows XP.
| stackexchange/codereview |
When I click on items at the top of the toolbar (Safari) there is a nice fading and window-changing effect. I've seen this effect in a few third-party applications as well.
I'm wondering if there is a way to "duplicate" this effect in objective-c.
| stackexchange/codereview |
I had some problem to load Class object with this code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Bidder Form</title>
<%String contextPath = request.getContextPath();%>
<link href="<%=contextPath%>/resources/css/home.css" rel="stylesheet... | stackexchange/codereview |
I want to use a tag in my JSF page, but i also want to have dynamic href content. I know there is a h:commandLink in JSF but i don`t want use it for my purposes. I have t:dataTable elemet which iterates via results and shows them on my page. Here is the situation:
<t:dataList id="dataTable" value="#{manBean.fullResult}... | stackexchange/codereview |
I have this static helper function:
public static DependencyObject GetParentObject(DependencyObject child)
{
if (child == null) return null;
ContentElement contentElement = child as ContentElement;
if (contentElement != null)
{
var parent = ContentOperations.GetParen... | stackexchange/codereview |
I'm using the CSS3 :target pseudo selector to create in-page navigation without reloading the page. This works really well!
But I have a problem, I need to reset the forms in a page when the page targetted, how can I know if an element is targetted with javascript? Like element.ontarget = function();
Or maybe something... | stackexchange/codereview |
when i am includeing htaccess file in my project, it gives an error.
i am using php and mysql.
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
Rewritebase /xyz/
# For UI Start
### For Index page
RewriteRule ^index$ index.php [NC,L]
Rewr... | stackexchange/codereview |
I have more links such:
<a rel="custom_link1_to_large_image">thumb</a>
Is there a way to preserve the links and have instead href:
href="custom_link1_to_large_image"
I need to have it working with a lightbox nad I do not have the ability to add that manually as are auto-generated by NextGen from WP.
Thank you!
| stackexchange/codereview |
I am creating my own drag and drop script in html/javascript as a part of my website. It all works fine except when I tried it in firefox. I did some debugging and found out that firefox returns the wrong target from event.target.
Here is the important part of the code,
$(document).bind({
'mousemove' : function(e){
... | stackexchange/codereview |
I am using the facebook application, is there any way to replace the default text "add a comment" and "Post comment to my Facebook profile" from comments
| stackexchange/codereview |
Hi
I have created a Silverlight Application for audio/video conferencing using TCP. But due to slow speed during tranferring stream bytes over the network. While google the situation i find that there is no any support for real time transport protocols, such as RTP in silverlight. So, can anyone guide me or refer some... | stackexchange/codereview |
I can do this in Castle Windsor:
public abstract class AbstractFactory
{
protected AbstractFactory(Foo constructorParm)
{
// Do something with parameter...
}
}
public class DescendentFactory : AbstractFactory
{
public DescendentFactory(Foo constructorParm) : base(constructorParm)
{
}
}
... | stackexchange/codereview |
hey guys im following the Sudoku tutorial in Hello Android the 3ed edition and i cant get rid of this error, here are my files
manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.example.sudoku"
android:versionCode="1"
a... | stackexchange/codereview |
In my app I have a TextView that I use setText on after a certain action.
But when the orientation changes the TextView's text is changed back to normal.
I have a similar problem with my app's file browser, for some reason it goes back to /sdcard/ when the orientation changes :/
Is there anything I can do to prevent lo... | stackexchange/codereview |
I have
char aa[] = { "Hello, !" };
char bb[] = { "World" };
How to insert bb into aa the most efficiently with cstring ?
| stackexchange/codereview |
I have a application developed in AIR /AS 3.0..
i want to run the application in full screen with all the content centered in the window.
i tried to do fullscreen with
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE
but turned out all my components dont get centered on the screen as needed(when i... | stackexchange/codereview |
I have a list like this:
l = [['a', 'b', 'c'], ['a', 'b'], ['g', 'h', 'r', 'w']]
I want to pick an element from each list and combine them to be a string.
For example: 'aag', 'aah', 'aar', 'aaw', 'abg', 'abh' ....
However, the length of the list l and the length of each inner list are all unknown before the program is... | stackexchange/codereview |
I'm using Embedded Glassfish to do some In-Container-Tests with Arquillian. Now, when my test fails, i always get stacktraces from the tests that are cluttered with Arquillian-specific stuff. But there are few informations about what the real reason for failing tests is.
With regular Glassfish, i could check the serve... | stackexchange/codereview |
Hi I have a view that contains 2 tableviews.
For a single view I know this delegate method can help me fill content of each row
(void) tableView:(UITableView *)tableView
didSelectRowAtIndexPath:(NSIndexPath *)indexPath
But since I have 2 tableviews, how can I refer to each of them and fill content separately?
Thank... | stackexchange/codereview |
Possible Duplicate:
What is the difference between new/delete and malloc/free?
Could someone please revise/edit the below - the differences between malloc and new - and see if everything is correct, or am I missing something or got something wrong? Thank you,
Both malloc and new are used for Dynamic Memory Allocati... | stackexchange/codereview |
it is possible to show an icon "X" on the title of the tab, used to close the tab ?
Thanks
| stackexchange/codereview |
If i had a mysql db with 7000 records in it and i had to display all 7000 on my webpage. Are there any tips and tricks to speed the process up (the browser practically crashes before showing all the records) i know i should query it to reduce the number of records selected but i actually need to display 7000...
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.