instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a GridView with a BoundField column and quite a few item templates like the following:
<asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="False" OnRowCommand="gvUsers_RowCommand"
OnRowDataBound="gvUsers_RowDataBound" DataKeyNames="UserId" OnRowEditing="gvUsers_OnRowEditing"
OnRowUpdating="gvUsers_O... | stackexchange/codereview |
I am using smart gwt 2.0.3 on windows xp.
I have set a classpath variable named SGWTEE_HOME in my Eclipse 3.4, which is pointing to the all folder. (In which all the jar files resides)
Now to add jar files I have done: right click on the my application -> properties ->Java build path then I click on add jar and try to ... | stackexchange/codereview |
Python:
I have a variable say x.
I need to create a list of name "x"
| stackexchange/codereview |
I am looking to see if there is an automatic "copyright content" API that we can use. I know atrributor have a paid service, but I'm wondering if their is something that effectively does a google search for a portion of the content, to check if whole sentences have been copied from elsewhere.
Basically We have several ... | stackexchange/codereview |
If I have code like:
int pop()
{
return stack[--stp];
}
I know that it is doing two things. It is returning the value contained in the one-dimensional array 'stack' in element 'stp'. It is also decrementing 'stp'.
But which order does this happen in?
Does it return the value of element stp, then decrement stp?
O... | stackexchange/codereview |
I've got to fix this little bug. First, let's talk about a small fact:
In CLI on Windows, you can't run a program with a space in its path, unless escaped:
C:\>a b/c.bat
'a' is not recognized as an internal or external command,
operable program or batch file.
C:\>"a b/c.bat"
C:\>
I'm using proc_open...proc_close in ... | stackexchange/codereview |
Hi All
I want to load an image from HTMl file in IPHone
but i m unable to do that
plz edit my code for this-
UIWebView *webView=[[UIWebView alloc]initWithFrame:CGRectMake(10, 50, 650, 768)];
NSString *path=[[NSBundle mainBundle]pathForResource:@"Rough" ofType:@"html"];
NSString *fileContents=[[NSString alloc]initWithCo... | stackexchange/codereview |
i need to write a program in which main() would read a file(containing some predefined instructions) and create classes for each line and if a class object was already created, create a new class object.. something like
main()
{
read file;
save to a vector;
for(i < vectorsize; i++)
if(vector[... | stackexchange/codereview |
I'm writing a simple QR code generator (just for fun and to learn some Obj-C), and I'm working on tracing the outline of connected "modules" (i.e. the black squares that make up a QR code). This is in order to have nicer vector output than simply making a bunch of rects for each module.
Long story short, my outline-tra... | stackexchange/codereview |
I have 3 buttons on my main view (btn_easy, btn_medium, btn_hard) that I dragged onto my main view via the xCode Interface Builder Library - Round Rect Button item. after declaring them in my ViewController.h and ViewController.m files like so:
//ViewController.h
IBOutlet UIButton *btn_easy;
IBOutlet UIButton *bt... | stackexchange/codereview |
Does anyone know how to remove markup from the theme search box? It produces a lot of extra DIVs and CSS id's.
Thanks, Mark.
| stackexchange/codereview |
Html page is look like this
<tr>
<th rowspan="4" scope="row">General</th>
<td class="ttl"><a href="network-bands.php3">2G Network</a></td>
<td class="nfo">GSM 850 / 900 / 1800 / 1900 </td>
</tr><tr>
<td class="ttl"><a href="network-bands.php3">3G Network</a></td>
<td class="nfo">HSDPA 900 / 1900 / 2100 </td>
</tr>
for... | stackexchange/codereview |
Aptana gives me a warning saying "<html> has XML attribute xml:lang"
Here is the line. What's wrong here?
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
| stackexchange/codereview |
I'm trying to run a couple of PL/SQL procedures from within a VB app. The procedures take a while to run so I intend to put them into separate threads (the subject of which I am new to)
Currently, each thread calls a function, which in turn calls the following code:
' Function getDataSet
' builds a data set from given ... | stackexchange/codereview |
I was wondering if a custom database class is really needed. I mean: I have seen a lot of database abstraction layers and custom database classes all over the web. But why should we reinvent the wheel? Why shouldn't i use just the mysqli native class and extend it if i really need?
The mysqli class is secure, up to dat... | stackexchange/codereview |
Possible Duplicate:
Why does printf not flush after the call unless a newline is in the format string? (in C)
I'm using the sleep() function in C, and am running into a problem: I wasn't sure that this was the problem so I boiled the entire code down to this:
int main() {
printf("1");
sleep(3);
printf("2");
... | stackexchange/codereview |
I have a dataset like this:
Patient_ID Lab_No Discharge_Date
P0001 L001 2010-01-01
P0001 L002
P0001 L003
P0001 L004
I have some lab data that from the same patient, some lab data does not carry the discharge date that it should have. And I need to place the missing discharge date into th... | stackexchange/codereview |
Iam using linq to SQl, And I have some Serilization problem,
For Example I have two tables, Locations and Maps
When Iam returning a list of locations I want also the map for the location to be returned together with the Json object that gets returned from the service,
How this issue solved in asp.net?
| stackexchange/codereview |
I am trying to understand how directories and files relate to one another at the file system level, specifically *nix file systems like FFS or EXT.
I understand conceptually that an inode has some metadata and pointers to a files location, but how do they keep the directory information and also know which files are in... | stackexchange/codereview |
I have inserted xml into SQL Server 2005 through rich text field successfully,
now what I want to do is retrieve the xml from the DB but values separately and schema seperate... how can i do that in my existing code??
public void setData()
{
dc.ID = textBox1.Text;
dc.Name = richTextBox1.Text;
}
private void butt... | stackexchange/codereview |
I try to run
#!/usr/bin/env python
import os
from numpy import *
b= ones((3, 3))
print b
save('fff', b)
a = load('fff.npy')
print a.shape
print 'fertig'
but it raises:
Traceback (most recent call last):
File "savetest.py", line 9, in <module>
a = load('fff.npy')
File "/usr/lib/python2.6/dist... | stackexchange/codereview |
I'm writing an app in GWT (mapfaire.com) which uses the Google Maps API, and I'd like to use the utilities library. Writing a JSNI wrapper for the libraries isn't a problem, but how do I ensure the compiler 'bakes' the JS into the app itself, rather than downloading them separately via a module script include?
| stackexchange/codereview |
How do i trim and get the value after a special character from a hidden field
The hidden field value is like this
Code
<input type=-"hidden" val="/TEST/Name?3"
How i get the value after the "question mark" symbol in jquery??
| stackexchange/codereview |
I have this form that validates the fields on submit through ajax (using Codeigniter's Form_Validation Class).
<input type="text" name="field1" id="field1"> />
<span id="field1_error"></span>
....
<input type="text" name="field2" id="field2"> />
<span id="field2_error"></span>
...
<input type="text" name="field3" id=... | stackexchange/codereview |
Is it possible in Java to create a static factory method/class that uses an interface as the parameterized type and return an implementing class of this given interface?
Although my knowledge of Generics is limited, here is what I want to do:
// define a base interface:
public interface Tool {
// nothing here, just... | stackexchange/codereview |
can I know how do i merge arrays according to an identifier:
Column1 Column2
--------------------------
1 {"a","b"}
1 {"c"}
2 {"d"}
2 {"w"}
output:
Column1 Column2
--------------------------
1 {"a","b","c"}
2 {"d","w"}
Have tr... | stackexchange/codereview |
Recently i faced a need to exchange SOAP messages with a java web service where digitally signing messages is mandatory for communication. The proccess is, as expected, signing messages with a private key in order for the opposite site to validate it with a public one e.t.c. The only difference this time is that the op... | stackexchange/codereview |
Morning SO.
EDIT
I would like to do some validation on sql queries to verify that this query is a SELECT and not an UPDATE or a DELETE or an INSERT or any sql weird statement.
I know that the easiest way is to match "^SELECT" BUT :
a query can start with "(" like
(SELECT * FROM blah WHERE id > 1 LIMIT 3) UNION (SELE... | stackexchange/codereview |
Hey
I want to plot a graph of 128 nodes (labeled 1 to 128) in graphviz using circular layout. Circo does this, but I want the nodes to be placed in order of their label number instead of the order created by circo (based on the edges between them). Also, there may be nodes with no incoming or outgoing edges, but still ... | stackexchange/codereview |
I am migrating my oracle db to SQL Server 2008.In oracle we can use =(+) operator to indicate left or right joins. In SQL Server is there a operator to indicate left or right joins? Should we always code as LEFT JOIN ... ON ...?
| stackexchange/codereview |
How is memory allocated in slave nodes for execution of MPI programs ? How do slave nodes know the amount of memory to reserve ? What happens when a slave node can't find the data that it wants to access ?
This is not a homework problem , but a question that I tried came up in my mind and could'nt find on googling
| stackexchange/codereview |
It seems that I rarely, if ever, see or use a ruby constructor in a rails model.
My assumption is that because rails sets up so much stuff for you the need for initialization code is much lower.
Aren't there any good use cases for a constructor in a model though?
| stackexchange/codereview |
I want a functionality in which i want following thing:
when i open a page created by me for download, it should dynamically create links for all the documents present in particular directory.
for eg: if i have folder at web server as /download/document
and i have following document in this folder
a.txt
b.txt
c.doc
d.p... | stackexchange/codereview |
In the Magento default theme's cart page we see the following totals box towards the right mid of the screen:
I want to modify the labels of the 5 fields in the above box, and I have been able to change the Grand Totals, by overriding the following design file:
/html/app/design/frontend/default/mine/template/tax/check... | stackexchange/codereview |
I want to write a program that shows the files of another drive with hard links.
I want to keep both hardlinks consistent in filename and other things, so I have to get a function/method where I can list all current hard links of a file.
For example:
I have a file C:\file.txt and a second hard link to D:\file.txt.
Then... | stackexchange/codereview |
My client has a list of store locations. Now what he wants is to let users search for any of these locations, based on the address the user submitted. The search results will be based on the proximity of the locations.
So basically what I am looking for is Google Maps functionality, but based only on the set of (geogr... | stackexchange/codereview |
gcc 4.5.1 c89
I am using the following code to read in a line of text from a configuration file. The configuration file is small at the moment, will grow with new fields to add. And I can pretty much design what the configuration file will look like myself. So I have done it in the following way:
config.cfg
# Configura... | stackexchange/codereview |
I want to compare LocalDateTime but end up with an exception.
I have these classes:
import org.scala_tools.time.Imports._
import org.scala_tools.time.Implicits._
case class Event(id: String, startDate: LocalDateTime, action: String)
case class Events(events: List[Event], timeout: Int) {
val timeoutDt: LocalDateTi... | stackexchange/codereview |
I am facing the problem in showing AJAX Control Toolkit ModalPopupExtender over Flash. When popup comes out, it will overlap by flash (it's giving me problem in IE 8, it's working fine in Firefox).
Can anybody tell me how I will get out of this?
| stackexchange/codereview |
the following function nicely tells me if value is found or not in array ..
function array_search_recursive($needle, $haystack) {
foreach ($haystack as $value) {
if (is_array($value) && array_search_recursive($needle, $value)) return true;
else if ($value == $needle) return true;
}
return fa... | stackexchange/codereview |
I'm using XDocument to describe a tree of folders' names.
Some folders have special characters, like " ' " and I get an XmlException saying such characters cannot be included in a name.
I've added the following declaration to the document's constructing:
public XDocument file= new XDocument(new XDeclaration("1.0", "utf... | stackexchange/codereview |
I have a Tomcat server deployed that receives observations transmitted from sensors in JSON format. I also have a sensor describing ontology that I want to make use of.
However, I'd like to load the ontology before any sensor observations are received by the server. How can I instantiate an object as soon as Tomcat is ... | stackexchange/codereview |
I'm programming a system so an user can edit what he posts. Simplified it's a textarea/input field which stores in a database and a page that retrieves it. The problem is, I think the encoding isn't okay, because strings are stored in the database like "é" or something (phpmyadmin view).
Insert page:
<meta http-equi... | stackexchange/codereview |
I recently switched some pages (all of poetry-lyrics and writings) from .html to .asp. I needed to add a footer and header include. So I have changed the file type, and added the new .txt includes for all the pages. Now When i click them they all say 500 - Internal server error.
Live Example:
http://www.jasontanzer.com... | stackexchange/codereview |
guard :: (MonadPlus m) => Bool -> m ()
guard True = return ()
guard False = mzero
Prelude Control.Monad> :t mzero
mzero :: (MonadPlus m) => m a
In the False branch of guard, the type of mzero is m a, but the return type of guard has been specified as m (). Hence I don't quite get it why compiler won't complain about... | stackexchange/codereview |
Well I tried to compile a small testing app I am working on.
So to keep things short and simple:
When I set my code generation from "Multi Threaded DLL" to "Multi Threaded" to get rid of some dependencies, the following line of code crashes my application (where it usually runs without any flaws)
The crash happens when... | stackexchange/codereview |
hi
i Have a problem when I use a two dimensional dynamic array. I use this:
procedure ListDeleted(FilesList: array of array of Integer);
Delphi give me compile error
How can I fix it?
| stackexchange/codereview |
In android i am tring to fetch the data from website and displaying it through the code but i am getting these errors in logcat.
11-22 12:04:28.448: WARN/System.err(810): Can't dispatch DDM chunk 4d505251: no handler defined
11-22 12:05:44.558: WARN/WindowManager(577): Key dispatching timed out sending to com.hi/com.hi... | stackexchange/codereview |
I am just stuck in the middle of the project.
My objective is to protect my data.
I have gone through Nickharris blog regarding (Core Data and Enterprise iPhone Applications – Protecting Your Data)
But in the conclusion it is clearly mentioned that:
If your application needs your Core Data store in any background proce... | stackexchange/codereview |
Is there a way to change the default visibility of properties and methods in C#? I'm writing code were pretty much everything needs to be public and the default for properties and methods is private and constantly typing public is getting really old.
| stackexchange/codereview |
I'm writing an Android application that allows a user to maintain a list of products. In the EnterProductData activity, the user can enter information about the product into form fields, which will then save the info to a SQLite DB. The EnterProductData activity also allows the user to initiate a barcode scan via the B... | stackexchange/codereview |
I am facing a strange problem.
My app works fine in 2.1 (emulator + device). But, when I use 2.2
(both emulator + device) then there is an issue with the soft
keyboard.
There is a Activity in landscape mode in the app (use
android:screenOrientation="landscape").
There are two EditText in that Activity. But, soft ... | stackexchange/codereview |
function getEntry(time)
{
var newdiv = document.createElement("div");
if(time=='120')
{
var container = document.getElementById('require');
newdiv.innerHTML = "<tr id='a'><td><input type='radio' name='type' value='001' onchange='getRadioCheckedValue();' checked>Resume Writing<... | stackexchange/codereview |
I have an error with permission to access a folder.
Event code: 4011
Event message: An unhandled access exception has occurred.
However in the event log, it shows as information rather than Error. Anyone knows the reason?
| stackexchange/codereview |
I need to initialize an object from the start up of an page and use the objects through out the particular page how can i do it.
//Block to be initialized
XTContext.UserContext UContext = new XTContext.UserContext();
XTContext.Context ctxt = new XTContext.Context();
XTErrorCollection... | stackexchange/codereview |
Hey I am completely new to programming for android and for university I have been asked to create an app to buy sell and advertise a product. I have chosen dvd's to keep it simple. Using the tutorials on the android developer site I have created 3 tabs one for PG films one for 15 and one for 18. Now in these tabs I wan... | stackexchange/codereview |
i wanna implement a bookcase like as ibook's bookcase.who can tell me how to do it? has any source ? thanks.
i cant find some useful case to learn how to do it.
| stackexchange/codereview |
I used codes below and set the breakpoint at a1, a2
NSMutableArray *aArray;
.....
@property (nonatomic,retain) NSMutableArray *aArray;
......
NSMutableArray* a=[[NSMutableArray alloc]init] ;
for(int i=1;i<=31;i++)
[a addObject:[NSNumber numberWithInt:i]];
aArray=a;
[a release];// a1
int i=0;// a2
the a... | stackexchange/codereview |
I have an application in C# that I want to execute after the installation process ends. Can I override any function in the installation class? It's not a service, it's a windows form application.
Thank you
| stackexchange/codereview |
Is it possible in jQuery to have an element continuously move when the key is held down?
I've tried a few ways but they always have a break in between animation calls. The code I currently have:
$(document).keydown(function (e) {
if (e.which == 37) {
$('#you').stop().animate({
left: '-=16px'
... | stackexchange/codereview |
Here's my query. It selects a list of ids from two tables across two databases. The query works fine.
select en.id, fp.blogid
from french.blog_pics fp, french.blog_news fn, english.blog_news en
where fp.blogid = fn.id
and en.title_fr = fn.title
and fp.title != ''
I only want to display rows where a en.id occurs m... | stackexchange/codereview |
Im working with a mysql database via php.
I have a table with some values that are = NULL
I select these values in php:
$opponentInv = db_execute("Select * from inventoryon where playerid = ".$defendid.";");
$opponentInv = mysql_fetch_assoc($opponentInv);
Then i insert the values into a another table:
db_execute("INSE... | stackexchange/codereview |
I am trying to make a CSS page layout using DIVs to emulate frames.
I want a fixed top pane that has a fixed height and the width stretches and shrinks as the page is resized. (fixed meaning if the user scrolls down the page, the top pane is always visible)
Below that I want two columns. The left column has a fixed wid... | stackexchange/codereview |
I got url aliases table in db and every time i want to reroute url to module, controller, action and arguments from db.
I'm doing this:
$frontController = Zend_Controller_Front::getInstance();
$route = new Zend_Controller_Router_Route(
':city/:name',
array($arr_params->controller, $arr_params->action, $arr_pa... | stackexchange/codereview |
How to convert or make a cast of a List object typized as a container of chars like
Dim mylist As List(Of Char) = New List(Of Char)(New Char() {"1"c, "2"c})
in a simple array of chars as
Dim mychars() As Char
without make a loop for...
thank you
Max
| stackexchange/codereview |
I integrated iAd in my application which got approved by Apple. I downloaded the app (FREE) to my device and ran it. For some reason instead of displaying real world ads it still says "Test Ads". Anyone experience this issue? The app got approved yesterday maybe it is too early to get the ads but I think Apple should n... | stackexchange/codereview |
I have a C# program that utilizes a find function however it is able to find the word but does not highlights the found word in the richTextBox.
Can someone please advise me on the codes?
Thanks.
Find Function Class Form:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
us... | stackexchange/codereview |
I have a DataGrid which is binded to a list with two properties.
First column in the DataGrid is DataGridTemplateColumn and it has ComboBox inside.
Second column in the DataGrid is DataGridTextColumn and it is binded with a converter.
Whenever i change the combobox value in the first column, the second column converte... | stackexchange/codereview |
So, my company is talking about building an ecommerce platform that will serve many different clients. Each client would have a different look and feel, and its own set of users, but the backing code (ie: adminstration services, authentication servers, checkout services, possibly admin pages, etc.), and some users woul... | stackexchange/codereview |
Are there any hints here as to where/what is causing the app to crash?
It happens while retrieving a Web Service collection of objects.
Incident Identifier: 577D74D6-DAFB-44B7-AA06-2E80C9AF9EE4
CrashReporter Key: 98301378d20acc056591628b8782f0eef18a5147
Hardware Model: iPad1,1
Process: InterfaithExplorer... | stackexchange/codereview |
Hi
I was just thinking, after i installed sugarcrm.I just went through the tables .
But i do not see the engine as Innodb.It uses the MyIsam,how come it is able to maintain relationships.
COuld anybody let me know about this
Thanks
| stackexchange/codereview |
IDS 9.04 on unix.
I got a table which has 200000+ rows ,each row has 200+ columns.
when I execute a query (supposed to return 470+ rows with 50 columns)on this table,it takes 100+ secs to return,and dbvisualizer told me :
eexecution time : 4.87 secs
fetch time : 97.56 secs
if I export all the 470+ rows into a file, the... | stackexchange/codereview |
I am evaluating XPO, so far so good, really like it.
I have a background thread do monitoring a directory, when it find a new file is added it parse the file name, and store this object to datastore and then fire an event with the object as arg, and i handle this event on ui thread through invoke, and on UI thread i n... | stackexchange/codereview |
Could somebody share a piece of code for adding a new toolbar with custom buttons in it for VisualStudio2010 IDE for running add-in using c#, please?
| stackexchange/codereview |
I have a div and 5 divs in it.
<div style="width: 1000px">
<div style="float: left; width: 50px;"></div>
<div style="float: left; width: 50px;"></div>
<div style="float: left; width: 50px;"></div>
<div style="float: left; width: 50px;"></div>
<div style="clear: both;"></div>
</div>
Now i want to adjust the inner ... | stackexchange/codereview |
1. What exactly is the security risk with popups?
The new browsers provide settings to block window popups (on blocking, sites with active popups display a message to user). What exactly is the security risk with popups? If allowing popups can execute something dangerous, then the main window can too. Is it not the cas... | stackexchange/codereview |
I have a new client who has asked me to make some label changes to an existing WordPress site using the Graphene theme. For instance the "Leave a Reply" text above the comment form.
This language is only found in ms_MY.po in the theme files. This is not a file one can edit from the WP admin.
#: loop-author.php:78
#: l... | stackexchange/codereview |
//using watin test some ajax sites,when click td,div("appendProdctTreeDiv") will show some response html,but i don't know how to get this div innerhtml and click link whick i wanna;
can give some examples by test “http://www.google.com/ig”?thanks in advance!
------using watin--------
IE ie = new IE();
....
ie.Element(... | stackexchange/codereview |
I'm trying to check if a div with an id exists in a string holding some html, so I'm looking for a function that returns true or false.
There's a function hasClass that checks if a div has a certain class
$('#mydiv').hasClass('bar')
I guess what I'm looking for is something like
var mystring = "some string with html"... | stackexchange/codereview |
What is the difference between static linking and dynamic linking?
| stackexchange/codereview |
In my app I have
Screen.Cursor := crHourGlass;
Application.ProcessMessages;
try
...
finally
Screen.Cursor := crDefault;
Application.ProcessMessages;
end;
But this simply isn't working as expected. It seems to immediately change back to crDefault when it is processing.
After some Googling I decided to try Windows.... | stackexchange/codereview |
I need to split multiple LI's into two UL's with javascript.
Only code I can edit is the templatefile:
[foreach array="nodes" as="node"]
<li>
<a href="%prefix%view/%node.id%" [if expr="%node.id%==%id% || %node.id%==%parent_id%"] class="hoofdmenuactief"[/if]>%node.title%</a>
%node.subnodes_html%
</li... | stackexchange/codereview |
I want to convert an int to a string with base36 (0-9 and a-z).
How is this done in .NET?
| stackexchange/codereview |
I got into a discussion with a colleague regarding the following issue:
Our project reads in a config file and stores dozens of parameters. He's stored this data in named variables together with dozens of getter methods for each variable. In my opinion, this has made the class overly long with getter methods and diffic... | stackexchange/codereview |
When my application crashed, I want to get the crash infomatin from the user,so i wander how to get the crash info from the user?And how to handle the exceptions when the main application crashed?ps.Just like that window:"Would you like to send the crash info to Microsoft?"
| stackexchange/codereview |
I've got a weird one here.
I'm using nhibernate and my problem is that on larger data inserts no exceptions are thrown, there is no data in the table, BUT the identity keys are taken up. So when I manually insert the next record the identity key skips a few as if the data was imported and deleted?!?!
Here are some th... | stackexchange/codereview |
When occur to access violation in unit test with boost test library.
and then, test was aborted, and finished.
But, I don't want to stop the unit test. Just I want to get exception or notification.
How do I?
Thank you, and please understad my fool english (8(|)
EDIT!
Access violation error is not in test program. It is... | stackexchange/codereview |
I am attempting to make a bookmarklet that will load up the Hacker News discussion for the page I'm on, if it exists.
Here's the code, as I have it to run in node.js's REPL:
// node.js stuff
require.paths.unshift('.');
var sys = require('util');
var alert = sys.puts;
var XMLHttpRequest = require("XMLHttpRequest").XMLHt... | stackexchange/codereview |
I want to change the background-color of the body of my HTML document. My problem is that jQuery adds the style to the body tag, but I want to change the value in the style tag. Is this possible using jQuery?
Example-Code
<style title="css_style" type="text/css">
body {
background-color:#dc2e2e; /* <-... | stackexchange/codereview |
Judging by a conversation I had on #appengine at irc.freenode.net, I'm clearly not the only person baffled by GAE pricing, so I figured I'd throw this up on StackOverflow and ask for clarity. Essentially: given an app with the figures below, what should its "CPU time" bill be per year?
Suppose:
h = Google App Engine's ... | stackexchange/codereview |
What are the Compiler Options & Other mechanism for reducing the static library size?
OS : VxWorks
Compiler : GCC
Language : C
| stackexchange/codereview |
I'm developing an Android application.
I have a 3D model drawn with Blender. Do you know if there is a way to export that model into a OpenGL geometry?
I'm going to use C++ code to load model and draw it with OpenGL. But if you know a better choice, please tell me.
| stackexchange/codereview |
I have faced this issue many times but couldn't find the solution any where.
My question is that how can i retrieve a tuple or a row in the database through hibernate call,
For example in the relation Student_course(sid,sname,cid,cname, duration)
here sid and cid are considered as the composite key.
please let me kno... | stackexchange/codereview |
I'm using some PHP pages do some AJAX stuff but I don't want them to be directly accessible. Facebook does a similar thing so for example: domain.com/ajax/my_ajax_form.php
If I was to load that page using AJAX it would work fine, but if a user were to try and loading the file directly by typing in that url it would do... | stackexchange/codereview |
I am still fairly new to C++/cli and am not always sure when I am writing something whether I am doing something that creates a transition between managed and unmanaged run times. For instance I cannot add a LARGE_INTEGER or a std::vector as a member of a managed class, but I can use either in the middle of a managed m... | stackexchange/codereview |
I'm new to delphi and this is my first project.
Here's a little bit of code:
procedure TForm1.Button2Click(Sender: TObject);
responseStringFromServer:TStringStream;
begin
try
if IdTCPClient1.Connected then
begin
dataSentToDevice:= 'http/1.0 content-length: 344 content-type: text/xml <?xml version="1.... | stackexchange/codereview |
I'm creating a custom UI using the piwik API too call the various modules.
I'm basing it all on this php tutorial: http://dev.piwik.org/trac/wiki/API/CallingTechniques
My question is: because there could be up too 10+ modules being called on one page is their a more efficient way to call them instead of the example in... | stackexchange/codereview |
I am amateur PHP/Javascript programmer trying to create a parser to convert data from plain text to XML.
The layout of the plaintext varies from document to document but the content is the same in each, it is just how it is represented.
I have half way written a custom parser to convert the data, and would like to know... | stackexchange/codereview |
I saw years ago apps where you could activate a web interface over the iPhone. For example to control the app over the web browser.
I searched a lot for that but I could't find a solution that works.
I found here a tutorial but it doesn't work. There are a lot of errors while compiling, a lot of functions that don't ex... | stackexchange/codereview |
how can i stop NSTimer in runTime?
I am using the following code .but NSTimer runs again and again.(i want to repeat NStimer, i want to stop in runtime )
- (void)TimerCallback
{
.....
[self.tim invalidate];
self.tim = nil;
}
-(void)timerStart
{
self.tim = [NSTimer scheduledTimerWithTimeInterval:... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.