instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am trying to integrate hibernate into an existing struts + ejb 2.0 application. I had to write a struts-hibernate plugin for the session creation from hibernate.cfg.xml. I also created model and hbm files, but I am unable to bring up the application due to the jar files conflict, I guess. I keep getting this exceptio... | stackexchange/codereview |
Possible Duplicates:
When should I use # and = in ASP.NET controls?
What is the difference between <% %> and <%=%>?
I have seen samples with "<%#", "<%=" and "<%". First of all, is there a name for these things? Second, where can I find a reference that tells what the different versions do? I have tried searching, b... | stackexchange/codereview |
I have tried this but it does not work:
Dim txt As TextBox = CType(lv2.Items(lv2.SelectedIndex) _
.FindControl("txtCode"), TextBox)
What is the solution please?
| stackexchange/codereview |
I need help to make decision. I have a need to transfer some data in my application and have to make a choice between these 3 technologies.
I've read about all technologies a little bit (tutorials, documentation) but still can't decide...
How do they compare?
I need support of metadata (capability to receive file and r... | stackexchange/codereview |
I am following a Django Tutorial where you are required to construct some image thumbnails once an image is saved in admin. I am also using Python's tempfile module to save a temporary file name.
However I keep running into the following error:
"Type: IOError" "Value: [Errno 13] Permission denied: 'c:\\docume~1\\myname... | stackexchange/codereview |
Greetings all
i am using the following method to make programmatic login for the user, but with his username & password, and it works fine:
public static void autoLogin(User user, HttpServletRequest request,
AuthenticationManager authenticationManager) {
GrantedAuthority[] grantedAuthorities = new GrantedAuthorit... | stackexchange/codereview |
Hey all, i want to integrate my Blackberry App with Twitter, and found that the way to do it is with OAuth. The problem I have is that i would like to do the verification of this from my server as to put less strain on the device, but I have no idea how to get the OAuth PIN from the server to be displayed on the device... | stackexchange/codereview |
I'm trying to get Rails (3.0.0) to serve a simple m4v video file for iphone in a html5 video block. For sanity's sake i'm using the big buck bunny video from http://camendesign.com/code/video_for_everybody that I know is properly encoded for iphone and works
When i run this on an apache server it runs perfectly. But... | stackexchange/codereview |
I have a Session table
UserId SessionId
1 a
2 a
1 b
4 b
2 c
3 c
And another sales table where the sales are tied to a SessionID. I would like to get the sales by unique pairs of users from the Session table without having to use a cursor. ... | stackexchange/codereview |
How can I create a UILabel with a background image and adjust the transparency (alpha channel) of the background image without changing the transparency of the text?
If there's no easy way to accomplish this within the UILabel object by itself, what about creating a custom UIView object that's composed of a UIImageView... | stackexchange/codereview |
The language in which you define every function and everything as whatever you like. So basically you can program in poetry if you wanted.
| stackexchange/codereview |
here's my probably (and hopefully) simple problem:
i have a list with images as navigation. when you hover over them, jquery animates a div with a caption and shows it. it disapears on mouseout. (works fine)
when you click on the image, the caption div animates further and is overlaying the image completly (works fine)... | stackexchange/codereview |
I'm writing an application where I fill out a TreeView with the schema of a database. I do so by iterating over each table name and type in GetSchema. Then, depending on the DataType and name, I select the parent Node into which I want to add a new item. Sometimes that item does not exist in the treenode (depending ... | stackexchange/codereview |
All of a sudden, I'm getting the following message in the area where
my remote files used to be listed:
"To see the files in your repository you must define its Version
Control settings."
This is happening for multiple sites and the Version Control setting
is set to none (and it always has been).
I had another Dreamwe... | stackexchange/codereview |
Hy my example code:
Bold b = new Bold(new Run("TODO"));
b.FontSize = 50;
My Question is:
How to center the bold element?
| stackexchange/codereview |
Is there a way to override System.Object's virtual methods, particularly ToString, when creating an interface type using an object expression?
type INamedObject =
abstract Name : string
let makeNamedObject name =
{ new INamedObject with
member x.Name = name
override x.ToString() = x.Name } //w... | stackexchange/codereview |
I am making a project in which i have a login page.
i am restricting user to enter
AND OR NOT XOR & | ^
is this enough to prevent my application from SQL Injection?
| stackexchange/codereview |
I have cript which search for user files in absolute path, but now I need to add for relative also. How can I do this?
#!/usr/local/bin/bash
if [ $# -eq 2 ]; then
DIR=$1
USERNAME=$2
while [ ! $(id -g $USERNAME) ]; do
echo "non-existing username, please add again "
... | stackexchange/codereview |
Is there any syntax for using a decorator on a lambda function in Python? Example:
def simpledecorator(f):
def new_f():
print "Using a decorator: "
f()
return new_f
@simpledecorator
def hello():
print "Hello world!"
Results in this output:
>>> hello()
Using a simple decorator:
Hello w... | stackexchange/codereview |
I have this query
SELECT
t.name,t.userid,t.date,t.cat_id,t.forum_id,t.reply,t.hidden,t.moderated,t.sticky,t.statut,t.poll,t.helpful,t.del,
t_data.message,
user.name AS author_name,user.level AS author_level,user.is_globalMod AS author_global,user.award,<br>
user.statut AS author_statut,... | stackexchange/codereview |
I am researching a project in which I need to playback simultaneously a multi-track audio source. ( >30 mono channels ) The audio on all channels needs to start simultaneously and be sustained for hours of playback.
What is the best audio API to use for this? WDM and ASIO have come up in my searches. I will be using a... | stackexchange/codereview |
I'm asking about linux with recent glibc.
Is there a way to detect that process consist of 1 thread or of several threads?
Threads can be created by pthread, or bare clone(), so I need something rather universal.
UPD: I want to detect threads of current process from it itself.
| stackexchange/codereview |
I have a templated class like this:
template <typename T>
class AguiEvent {
std::vector<std::tr1::function<void(T, AguiWidget*)>> events;
public:
void call(AguiWidget* sender, T arg) const;
void addHandler(std::tr1::function<void(T, AguiWidget*)> proc);
void removeHandler(std::tr1::function<void(T, AguiWidget*)> proc... | stackexchange/codereview |
I am trying to call the lists.asmx UpdateListItems() to delete a list item by unique id or guid. The following batch xml fails with "Invalid URL Parameter. The URL provided contains an invalid Command or Value. Please check the URL again".
<Batch OnError="Continue" ListVersion="1" ViewName="">
<Method ID="1" Cmd="D... | stackexchange/codereview |
Im trying to parse a file using Bison/Yacc but i want to pause the parsing for a while. The reason i want to do this is that i want to process a huge file sequentially and simulate a java iterator using hasNext() and next() methods.
A trivial example would be, splitting a file by line using yacc so i could call:
while(... | stackexchange/codereview |
I have say list of 1000 beans which I need to share among different projects. I use memcache for this purpose. Currently, loop is run over complete list and each bean is stored in memcache with some unique memcache id. I was wondering, instead of putting each and every bean in memcache independently. Put all the beans ... | stackexchange/codereview |
I am trying to use R to analyze large DNA sequence files (fastq files, several gigabytes each), but the standard R interface to these files (ShortRead) has to read the entire file at once. This doesn't fit in memory, so it causes an error. Is there any way that I can read a few (thousand) lines at a time, stuff them in... | stackexchange/codereview |
I need to create a tool for performing complex scripts against a database.
For several resasons I cannot rely on DB transactional behaviour, but I need to implement my own transactional system.
The approach I am trying is with the help of the command pattern (my case is more complex, here I put a simplified version for... | stackexchange/codereview |
when I modify string or another variable inside the loop it's condition is recalculated each time? or once before the loop start
std::string a("aa");
do
{
a = "aaaa";
}
while(a.size<10)
and what about for loop
| stackexchange/codereview |
I'm using JPA 1, Hibernate and Oracle 10.2.0 and my entities are defined like this:
@Entity
@Table(name="TERMS")
public class Term implements Serializable {
@Id
@GenericGenerator(name = "generator", strategy = "guid", parameters = {})
@GeneratedValue(generator = "generator")
@Column(name="TERM_ID")
... | stackexchange/codereview |
At the Application_Start of my web site I execute a stored procedure to read some data from one SQL Server 2008 database.
This is the only call to this database.
I would create a specific SQL Server user, with read-only permission, to exec this sp.
I created a new SQL Server user with db_datareader role, but when I exe... | stackexchange/codereview |
I am looking online and would like to migrate my DTS Packages to SSIS using migration wizard, but when I go to convert packages it says I must Install DTS Runtime, when I look online, at MSDN, it says : When planning to install support for DTS packages, know that SQL Server 2008 does not include support for DTS in the ... | stackexchange/codereview |
I am guessing this is relatively simple to do, but I am unsure of the syntax. I have date and time columns that I want to combine to a timestamp column. how would I query this using a select?
| stackexchange/codereview |
Hello
I am not super experienced with PHP and large projects using it, most of my tinkering around has been in Rails with EngineYard (life seemed simpler back then). But in PHP, I haven't found anything that comes really well integrated with GitHub right out of the box. So I am looking for an easy solution to deploymen... | stackexchange/codereview |
Thanks to tools like CSS3 Pie and CSS3Please, I have been able to create cross-browser CSS.
But I am still stuck in two areas (because of Internet Explorer of course):
radial gradient
combine rotation and rounded corners
Any pointers to how to address these issues would be appreciated.
My objective is to create a CSS... | stackexchange/codereview |
I'm serializing and sending a raw-pointer of an object to another application.
When deserializing I'm getting another raw-pointer. This means that Boost::Serialization is constructing the object behind this pointer internally. I'm now curious who has ownership of the object and if Boost will delete that object, if it i... | stackexchange/codereview |
OK, I have been hearing discussion about "ViewModels" in regards to MS's ASP.NET MVC.
Now, that is intended to be a specific kind of Model, correct? Not a specific kind of View.
To my understanding, it's a kind of Model that has a specific purpose of interacting with the View? Or something like that?
Some clarificati... | stackexchange/codereview |
I want my dialog box (resource) in a Win32/C app to have a "modern" look/style, particularly its combo boxes. By "modern", I mean that a "drop list"-type combo box looks like a solid button, with just a small "arrow" icon on the side, as opposed to the "old" look: flat edit box with a separate arrow button. In the VS d... | stackexchange/codereview |
i have installed iphone sdk 4.0. but i could not view previous versions 3.0 like that?how can i bring that?suppose If I use some features which are in only 4.0, if user intalls the app in iphone 3.0, will it run?
| stackexchange/codereview |
I have 2 models that correspond to 2 separate db tables.
model 1: status updates of a user ex. ( comment: hello | username: marc)
model 2: restaurant names that a user has eaten at ( restaurant: KFC | username: marc)
I have 1 view that shows restaurant websites generated from a Google search. A hidden form is also gene... | stackexchange/codereview |
I can't find a library which will produce good looking 3d pie charts for the iphone?
I had a look at the core plot wiki and their pie didn't look that good...
| stackexchange/codereview |
What data type should I use for saving unix_timestamp value (MySQL)?
| stackexchange/codereview |
In an Excel workbook, I need an Excel Macro to split the following Excel into two sheets: with one sheet having all the columns with strings, and the other sheet with all the columns as numbers.
Folder: Country
- Column: Country ([GOS.COUNTRY_MULTILINGUAL.COUNTRY], String)
- Column: Flag Image ([GOS.COUNTRY.FLAG_IMA... | stackexchange/codereview |
From a paper I'm reading right know:
...
S(t+1, k) = S(t, k) + ... + C*∆
...
∆ is a standard random variable with mean 0 and variance 1.
...
How to generate this series of random values with this mean and variance? If someone has links to a C or C++ library I would be glad but I wouldn't mind implementing it myself if... | stackexchange/codereview |
i want to write a tcp server in c# under windows. can i run the same program or use the same code under mono without modification.
| stackexchange/codereview |
When I try to start Apache with
[PHP_APC]
extension = php_apc.dll
[apc]
apc.shm_segments=1
apc.optimization=0
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1
in php.ini, it fails. I have the php_apc.dll in the ext directory.
Using Apache... | stackexchange/codereview |
In a C# Wpf application I have an XML Binded datasource.
I want to update some xml like this:
loop.Innerxml = "false"
This value is binded (as a boolean) to a control. However when doing this, a formatexception comes up saying that a string is not a valid boolean (logical). However if the false is not entered as a stri... | stackexchange/codereview |
I'm applying this css class:
.turn90{
-moz-transform: rotate(90deg); /* FF3.5+ */
-o-transform: rotate(90deg); /* Opera 10.5 */
-webkit-transform: rotate(90deg); /* Saf3.1+, Chrome */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); /* IE6,IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.Basi... | stackexchange/codereview |
We have a large project using VS2008 and boost 1_42. I'm trying to upgrade to VS2010 and boost 1_44. I installed VS2010 and boost 1_44 and converted the project. Now I am trying to build, and everything compiles, but fails when linking:
LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_42.lib'
... | stackexchange/codereview |
Nothing compares to Visual Studio. Infact it is the reason why I develop using Asp.Net. But once in a while I encounter a client who specifically wants a solution authored in PHP.
All PHP IDEs(Free) I have used lack a vital feature available in Visual Studio that I love so much - INTELLISENSE. So is there a free way to... | stackexchange/codereview |
Today i met with the serious problem. Actually i have 5 activities in my activity group.
from 1st activity i go to 2nd and from 2nd i go to 3rd and so on....
and on the 5th screen when i press back key i came to 4th and so on....
When i again go to the same process it displays me the previous displayed data as well on ... | stackexchange/codereview |
I have heard that Java EE unit testing is much harder than standard Java applications. The testing for my company's application stays at User Acceptance testing. We verify UI and functions behave as they are supposed to. Does it make sense to do unit testing on Java EE applications? If yes, what are some good starting ... | stackexchange/codereview |
I am trying to deploy a axis2 webservice client on Weblogic 10 server. However i get the below error :
java.lang.ClassCastException:
com.ctc.wstx.stax.WstxInputFactory at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
at
weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(... | stackexchange/codereview |
I want to send some data to a server through POST method in android. I am using the following code
DefaultHttpClient hc=new DefaultHttpClient();
ResponseHandler <String> res=new BasicResponseHandler();
HttpPost postMethod=new HttpPost(url);
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
nam... | stackexchange/codereview |
I am trying to create a scrollable menu bar (which I am succeeding in doing) but now instead I want to add a large button with an image centred in the button, instead of taking up the total width and height of the button
THis is my current code:
[scrollView setBackgroundColor:[UIColor whiteColor]];
[scrollView setCanC... | stackexchange/codereview |
I making some documents in xml and dtd. I use in xml html namespace to insert image. But I can valide my document with xmllint, and I don't know why :/ validator stops on first line.
XML file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html:catalog SYSTEM "catalog.dtd">
<?xml-stylesheet type="text/css" ... | stackexchange/codereview |
I need to calculate the angle between lines. I need to calculate atan. So I am using such code
static inline CGFloat angleBetweenLinesInRadians2(CGPoint line1Start, CGPoint line1End)
{
CGFloat dx = 0, dy = 0;
dx = line1End.x - line1Start.x;
dy = line1End.y - line1Start.y;
NSLog(@"\ndx = %f\ndy = %f", ... | stackexchange/codereview |
I've got a perl script: run.pl that's been called by cron every minute.
The only thing run.pl does is call two other scripts: download.pl and parse.pl:
#!/usr/bin/perl
use warnings;
use strict;
do 'download.pl';
do 'parse.pl';
print "done!\n";
In download.pl and parse.pl are two prints to with "done downloading" and ... | stackexchange/codereview |
I am creating a custom membership provider class library that defines a data provider interface for my web projects to implement.
I am having an issue creating an instance of the class that implements the interface.
I added a line in my web.config to pull the data provider type out, but it is looking for that type insi... | stackexchange/codereview |
Hey, is it possible to set an Html.dropdownlist to readonly (or not selectable) until some data is finished loading? I have several dropdownlists that are dependent on each other and with web apps not being as fast as a regular app, i want to do this so the user doesnt get too confused when data dissapears.
| stackexchange/codereview |
I styled a search bar on this site here
It disappears completely in IE7 (I do not need to support IE6).
It works fine in any other browser I tested it so far (Chrome, IE8, Safari, Firefox, Opera).
I tried to remove and re-add CSS properties without success
HTML
<div id="access-search">
<form id="searchform" method="... | stackexchange/codereview |
I'm trying to set my global LUA_PATH variable directly from C/C++, I'm using Lua from my iPhone applications, so my path tends does change between applications ( each iPhone app has a separate folder in the device ).
I know I could set the LUA_PATH by recompiling lua with a "fixed" path, but that's quite far from idea... | stackexchange/codereview |
I am using VS2010 + C# + .Net 4.0 + IIS 7.0 + WCF. When I create a WCF client object instance in below code, I find "check point 1" is logged, but "check point 2" is not logged. But no exception is thrown (I catch exception in the whole block of code, and "check point 3" is not output).
Any ideas how to debug further t... | stackexchange/codereview |
I'm playing around with a modified version of the SoftKeyboard sample and "sometimes" get a DeadObjectException when using the fullscreen mode (e.g. when orientation == landscape). I can still enter text, but the ExtractEditText doesn't update and I get the logcat output below, whenever I hit a new key.
When I switch t... | stackexchange/codereview |
I was reading some posts and noticed samples with an inner class. I've been seeing it a lot lately, particularly in a few examples on MSDN that I was browsing through. I've never had to use an inner class before (but maybe I really should be) so I wonder what exactly is the point? I assume that an inner class (at least... | stackexchange/codereview |
I tried Build and Analyze tool of Xcode very first time today.
and found some thing in this function
Please check the image:
-(IBAction)completeSessionButAct:(id)sender{
NSDictionary *tempDic = [[NSDictionary alloc] initWithObjectsAndKeys:[self view],@"mainview",
congratulationScreen,@... | stackexchange/codereview |
The COM object was not created. The following is XAML code:
Title="Window1" Height="373" Width="701" Loaded="Window_Loaded">
Draw Contour
<Window.Resources>
<!--<BitmapImage x:Key="MyImageSource" UriSou... | stackexchange/codereview |
I'm running a Drupal 6.x site with Organic Groups, Features, and Spaces, and I'm interested in generating a list of which Spaces have which Features enabled. Preferably a table, with Spaces along the Y axis, and Features along the X axis.
Any ideas regarding how to generate this? I can generate a list of Group Spaces... | stackexchange/codereview |
What does ILMerge do?
Does it create a single new assembly, or just put multiple assemblies in to one dll?
I'm asking from the perspective of:
What happens when I'm merging assemblies that have InternalsVisibleTo attributes to each other?
What happens if I'm doing reflection from strings from fully qualified assembly ... | stackexchange/codereview |
I am writing a test case against a controller that returns a pdf file.
Code for controller :
public FileStreamResult GeneratePdfReport(string context)
{
byte[] pdfReportContents = _helpPageBusinessService.GetHelpPagesAsPdf();
Stream stream = new MemoryStream(pdfReportContents);
HttpContext... | stackexchange/codereview |
I am creating a socket tcp connection using CFStreamCreatePairWithSocketToHost like this to get a write stream (I dont want to ready any data):
CFStreamCreatePairWithSocketToHost(NULL, (CFStringRef)host, port, NULL, &writeStream);
This works pretty well but because of the nagle's algorithm my tcp commands are buffered... | stackexchange/codereview |
Consider:
class MyClass<T> where T : class
{
}
In that case, the where clause is enforcing a specification that MyClass is only a generic of a reference type.
Ideally I should have a unit test that tests this specification. However, this unit test obviously won't work, but it explains what I'm trying to accomplish:
[... | stackexchange/codereview |
echo "<p id='xlday'>'$_POST['day']'</p>";
Hi can anyone help me solve this problem, should be a simple one but i'm struggling for some reason!
Thanks
| stackexchange/codereview |
I'm using JQuery UI for various things, one being the datepicker. I've notice it's adding this div at the end of my page:
<div class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible" id="ui-datepicker-div"></div>
just before the </body> tag. Which leaves a 40px-is... | stackexchange/codereview |
I have a dictionary data structure that must be passed around using WCF. To do that I created a member property with get and set methods. I can basicly achieve the same functionality, with this property being either a:
IDictionary<keyType, valueType>
or a
IList<KeyValuePair<keyType, valueType>>
I can see no strong re... | stackexchange/codereview |
Which page in wordpress has the code for the contact page?
| stackexchange/codereview |
In scala, what is a good way to loop through a linked list(scala.collection.mutable.LinkedList) of objects? For example, I want to have 'for' loop traverse through each object on the linked list and process it.
| stackexchange/codereview |
I have a repository layer which my applications access which can be initialised with an IDataSource; e.g. LinqToSqlDataSource, EntityFrameworkDataSource, etc...
An IDataSource provides methods for inserting, updating, deleting and querying a data source respectively. Relevant to this question, is that the FindAll<T> re... | stackexchange/codereview |
i need get all data from table, where insert date is befor month or after.
Table:
id Name Date
1 Test2 2010-09-29 10:11:41
2 test4 2010-10-19 11:11:43
3 test4 2011-10-29 11:17:43
| stackexchange/codereview |
In the transition from Visual Studio 2005 to Visual Studio 2008 I started getting this error for my (managed) c++ projects:
warning D9035 : option 'clr:oldsyntax' has been deprecated and will be removed in a future release.
How to I convert from the old syntax to the new one?
Does anybody know when the old syntax act... | stackexchange/codereview |
I have the following code
$(document).ready(function(){
$('img').mousedown(function(event) {
$('p').text('Mouse Clicked x =' + event.screenX + ' Y = ' + event.screenY);
});
});
Which nicely finds the screen co ordinates of the cursor if they click on the image, but what I would actuall... | stackexchange/codereview |
hi i am a newbie in developing web service. as a part of my module i need to develop a web service to transfer files from server to client using java(j2se). can you help me out with providing the source code?
| stackexchange/codereview |
I have a problem with animating deletes and inserts on a UITableView. The Fact ist, that I have different cell heights, some 44.0 some 135.0 now. I have uitableviewstylegrouped with different sections. The first row of each sections is a grouping row. On click I remove all rows of this section except the grouping row. ... | stackexchange/codereview |
I have a classifieds website, and I just asked a question regarding if I need to use captcha or not whenever users post a new classified etc.
Some places on my website (like contact forms) do need some sort of authentication (captcha etc...).
But I don't know whether I need one when posting a new classified, so I turn ... | stackexchange/codereview |
i have a login control ,it works perfectly,,and i put login status, i get a specific problem when i specify the login image URL for my login status ,,the login control can't redirect me to the default page even when iam the right person ,it even does not enter the logging event in this case ,,when i remove the image U... | stackexchange/codereview |
How must I comment a method in Visual Studio so that I can see my description in the tooltip when I want to select the method?
| stackexchange/codereview |
I have a little Java applet game where you can choose between some themes. It works very well but the downloading time of the huge .jar is not acceptably. Now I want to split the .jar into single .jars, a default one and one for every theme. Now there is just one question: (How) can I read a .jar file from a Java apple... | stackexchange/codereview |
Which is quicker and why?
Person person = new Person();
person.FirstName = "Scott";
person.LastName = "Guthrie";
person.Age = 32;
of...
Person person = new Person { FirstName="Scott", LastName="Guthrie", Age=32 };
| stackexchange/codereview |
I created a view that gets data from several tables, whenI go to compile it I keep getting the "The multi-part identifier could not be bound" error which has me completely stumped as to why. Below is my SQL View (error messages coming from the bold text), take a look and please help:
CREATE VIEW AMACO_VIEW_THIRD_PARTY_... | stackexchange/codereview |
i've a ListView control like
and a Dictionary
Dictionary<String,List<String>> MyDict
i need to fill the Dictionary with data in the ListView
So the Dictionary will be like
{ "S.No." { "1","2","3" } }
{" A" {"A1", "", "" } }
{" B" {"B1", "B2", "" } }
{" C" {"C1", "C2", "C3" } }
using nested for loop we acn do this... | stackexchange/codereview |
Has anyone incorporated the Seach plugin from CakeDC?
I am a confused as in how it has to be used. I am creating a Seach Controller and trying to search all models from there.
In the Wiki, it states that I should create a $filterArgs variable on my models. Should I have public $filterArgs in every model or should only... | stackexchange/codereview |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:text>
<![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> ]]>
</jsp:text>
<jsp:text>
<![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
</jsp:text>
<html xmlns="http://... | stackexchange/codereview |
Can someone please point me in the right direction for the order in which rails modules get instantiated.
The main things I'm trying to find are:
1) When do gems get loaded?
2) When do config/initializers/* get loaded?
3) When do named routes in routes.rb get processed?
| stackexchange/codereview |
Please tell me how to create an object if the name is stored in a variable.
var className:String = 'Config';
var MySprite:Sprite = new ???
class Config extends Sprite {
...
}
| stackexchange/codereview |
I've been slowly churning through my first iPhone app, outside of learning within the context of a book. What I would like to have is a single, global variable that tracks whether or not there is a person logged into the application. In the past with C++, what I've done is declared a variable in my "main" function file... | stackexchange/codereview |
Ok, I am querying my DB for a file. And I want to use a PHP global variable and stick it somewhere in that output using say a '$dir' in my table. Any possible way to do so?
| stackexchange/codereview |
I'm trying to make a frame in this case a 3x3 table (using CSS) keeping the corners fixed in size and making the rest of the table stretch according to the "cell" in the interior. Using the classic tables it would have probably took me no more than 10 minutes but because I've encountered problems with tables in the pas... | stackexchange/codereview |
I need to write some validation rules for a user password with the following requirements. C# ASP.NET MVC.
Passwords must be 6 - 8 characters
Must include at least one character
each from at least three of the
following categories:
Upper-case letters
Lower-case letters
Numeric digits
Non-alpha-numeric characte... | stackexchange/codereview |
I'm writting a simple client-server system using unix sockets. When executed from a terminal, my Client program creats a segmentation fault.
I'm quite sure that seg-fault is caused by some noob error, but my problem comes when I try to debug it using KDBG (kde gdb frontend).
This is where it breaks:
if (DEBUG) printf... | stackexchange/codereview |
I was just wondering what are peoples opinions on using axis for webservice development?
Is it a viable future proof solution?
I noticed some of the code in their documentation, if you use it, some of the classes are deprecated.
Most of the more useful axis documentation exists on third party sites.
I would be interest... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.