instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Suppose I have 2 static Libs S1 and S2 which are different versions of the same lib and have the same C (not C++) interface though implementations are different. 2 shared libs D1 and D2 each of which links to S1 or S2 only. Suppose an application A links with S2 which is the more recent of the static libs and dynamical...
stackexchange/codereview
hi all i am using spring security 3.0.2 and i have one custom filter and its order is last and i want to add another filter after that filter, is the following config right ? <custom-filter position="LAST" ref="filter1"/> <custom-filter after="LAST" ref="filter2"/>
stackexchange/codereview
we are upgrading our web app to use Facebook's Graph API, which returns JSON responses. However we don't want to add dependecy to a JSON library unless we have no other choice. For server-side http requests we use Apache HttpComponents. Thus, my question is what are the classes (if any) in the JDK and/or in HttpCompone...
stackexchange/codereview
I would like to show an alert dialog that shows a counter(timer of time) and after 10 seconds will automatically disappear. I have: builder = new AlertDialog.Builder(this); builder.setTitle(title); builder.setMessage(msg); final EditText input = new EditText(this); builder.setView(input); runOnUiThr...
stackexchange/codereview
The Game Center documentation indicates that the playersToInvite parameter is non-nil when your application is launched directly from the Game Center application to host a match. A few people have asked how this works exactly, i.e. there doesn't appear to be a way to select a friend from the Game Center applic...
stackexchange/codereview
I want the following url http://www.mydomain.com/user.php?id=username to http://www.mydomain.com/username via .htaccess... i also want to avoid subdirectory name conflict.... where i have a rewrite rule i.e RewriteRule ^home/$ home.php?id=$1 [NC,L] so my url become http://www.mydomain.com/home/ so i want this home t...
stackexchange/codereview
I have a string like this: "2010-01-01 12:30:00" I need that to convert to UTC from the current local time zone. I tried this, but it seems to think that the string is already UTC. "2010-01-01 12:30:00".to_datetime.in_time_zone("Central Time (US & Canada)") => Fri, 01 Jan 2010 06:30:00 CST -06:00 I am not sure where ...
stackexchange/codereview
I have an application which is designed for a fixed screen size.But when i install the application on a device with different screen size ,i am not able to view the complete application. Is it possible to allow layout adjustments based on variable screen sizes? ... like setting width with some % of screen size which i...
stackexchange/codereview
Currently with a scrollviewer, clicking the scroll bar contained in it to pan the content around it will not focus the viewer (or anything for that matter). I wish to have it so when you scroll by dragging the scroll, or even clicking the scrollbar will focus the parent (scroll viewer). I achieved this somewhat by att...
stackexchange/codereview
I am developing an application in which I converted a bitmap to string for some purprose. How can I convert that String into a Bitmap again?
stackexchange/codereview
there! I'm writting graph classes. I've wrote such code in "Graphs.h" : #include <vector> #include <iostream> using namespace std; struct Edge{ int v,w; Edge(int v=-1, int w=-1):v(v),w(w){} }; class Graph { protected: int Ecnt, Vcnt; bool digraph; public: Graph(int V, bool isDirected) :Ecnt(0),Vcnt(V),digraph(isD...
stackexchange/codereview
Im using the MongoDB Java driver in a java web app. One question I want to ask is do i run Mongo.close() whenever Im doing doing a query , or can I keep it open and run other queries on it and close it when my application ends.
stackexchange/codereview
I am working on object detection (eyes) using OpenCV. Following is the code as it is not able to identify an eye object (exactly or near by). Can anyone help me solve this problem? if(imageView.image) { cvSetErrMode(CV_ErrModeParent); IplImage *image = [self CreateIplImageFromUIImage:imageView.image]; // Scalin...
stackexchange/codereview
A Customer has many ReservationRequests, a ReservationRequest has only one Customer. Let's say I retrieve my ReservationRequest like so var c = dataContext.ReservationRequestSet.FirstOrDefault(i => i.id == RequestId); I get my ReservationRequest without an issue, but when I do something like this. if (c != ...
stackexchange/codereview
We've just started looking at using JBehave for acceptance tests and I was wondering how people that are using it are organising the writing of stories and the storage of story files. It's just development that are working on them at the moment so we have the story files stored in the resources folder alongside the Ja...
stackexchange/codereview
i am developing an affiliate site. it uses linkshare and commission junction. it is for our client. so i do not have any account with any network or agent. either with popshops or the networks. the client has registered with popshops to display merchants. when users click links we need to know which user had purchased ...
stackexchange/codereview
So I've got a string of bytes which represents cubes in three dimensions. The coordinates are ordered like this: [x0y0z0, x0y1z0, x0y2z0, ..., x0y127z0, x0y0z1, x0y1z1, ..., x15y127z15] I'd like to split this into 128 lists, one for each Y coordinate. This code already does that, but I think inefficiently. Is there so...
stackexchange/codereview
I am facing same problem to the thread. I've gone through all the suggestions provided in the solution. I've searched all possible solution but nothing gonna workout. "http://stackoverflow.com/questions/817745/localhost-not-working-on-xampp-both-service-apache-mysql-are-fine" I've ensured : 1. Xampp is successfully st...
stackexchange/codereview
I have a class in third party DLL. Class A { } I need to decorate it so I created the local instance of it and used it class B { } The DLL contains a function which gives me the list of A. But If I try to use it as follows B listofB = Dll.FindAllA() I got error that cannot implicitly convert DLL.A to Proj.B There...
stackexchange/codereview
I have a doctype declaration as seen in the first 2 lines. In the third line, the html tag also has some xmlns declaration and xml:lang and lang. Is any of these xmlns, xml:lang, or lang repetitive? Do they duplicate anything from the doctype. I'd like to keep the doctype and remove all the declarations on the third l...
stackexchange/codereview
Just a question, as I was unable to register the related upnp.dll provided by the intel open source upnp tools package (as provided here: http://opentools.homeip.net/dev-tools-for-upnp ) from the VB6 references dialog, it said something to the effect of "can't register .dll", but since it is written in (i think) C or C...
stackexchange/codereview
As we know that there are different types of JOINs in any RDBMS, for eg:- Left join, outer join, inner join, left outer join etc. Invariably we use JOINs for lots of our business logics in our projects. However very few people have complete understanding or mastery over these JOINs. Usually people with half known knowl...
stackexchange/codereview
I have written a custom workflow in visual studio 2010 with custom Task Edit Form which is associated with content type and that content type is in turn associated with Task List. When an item is created in the target list to which my custom workflow is attached, a task item is created when I click on that task item it...
stackexchange/codereview
I've got a bunch of data on the client side, in JS. I want to allow the user to save that data to the local hard drive in text (CSV actually) format. I can easily accomplish this by posting all of this data up to the server using ajax, then initiate a GET from the client to download the data. But that seems wasteful....
stackexchange/codereview
Hi I have a simple rails question that I am simply unable to figure out. like the title says, I want to get my users controller show page to have the myapp.com/@username url but I don't know how to do this. My knowledge of routes must be fundamentally flawed. my links now usually look like this: <%= link_to "#{@user.us...
stackexchange/codereview
I just wonder what asp.net datagrid does Microsoft use in their website? For example, "Visual Studio 2010 Team web Access" site. It has frozen columns and re-order columns functions. Is it a third party grid or it is based on asp.net datagrid? The grid works in both IE and safari. Thanks
stackexchange/codereview
I have created a program in visual c++, where i have implemented a web service. The web service is set to listen on port 80, but if another program already is using this port, the web service fail to start up. So when the webservice can't start, I would like to have a function or method, which can get the name of the ...
stackexchange/codereview
I'm developing a niche social networking site that is going multilingual. That means our current URL structure will soon need to start using translated words for slugs like the following: www.example.com/home becomes www.example.com/inicio www.example.com/profile becomes www.example.com/perfil www.example.com/help beco...
stackexchange/codereview
I've been using Amarok 1.4 for a long time, switching to Bogdan Butnaru's packages when KDE stopped supporting it, and I'm now giving Pana a try. I realised that a script I wrote in Python for Amarok 1.4 will not immediately run without changes under Pana. But instead of converting my script, which basically comes dow...
stackexchange/codereview
I want to store details of 100 nodes in 100 arrays. For example, neighbors of node 1 should be stored in array1 In this, for each array the names should be changed like array1, array2, array3, ..., array100 I need the concatenation for array and ( 1 , 2 , 3 , ... , 100 ) using for loop. How can I do this?
stackexchange/codereview
I am beginning with OpenGL, and I want to make a very simple game with airplanes. Now I have a PNG of an airplane seen from above, and I want to draw this on the screen. Currently I only know how to draw triangles that rotate: float angle = 0.0f; void renderScene(void) { glClear(GL_COLOR_BUFFER_BIT); glPushMatrix()...
stackexchange/codereview
I'm trying to retrieve a select amount of elements that doesn't contain the value &nbsp; (a space) using the HtmlAgilityPack in C#. Here's my XPath expression: "(td)[(position() >= 10 and position() <= last()) and not(.='&nbsp;')]" but it is still giving me these nodes, I've tried using a literal space, &#160; ALT + 1...
stackexchange/codereview
I am developing an iPhone application in which I need to have a control, let's say a button, in all of my views. I was wondering if there is an equivalent concept for Asp.net master pages in iPhone development?
stackexchange/codereview
this is probably a long shot I am looking for an example / tutorial of how to render a floor (or room) and move around it. There seems to be the perfect example here: http://www.cocoachina.com/wiki/index.php?title=OpenGL_ES_13_-_Moving_in_3D However the download (which is required) is missing. Does anyone have any cod...
stackexchange/codereview
From J. Bloch A ... source of memory leaks is listeners ... The best way to ensure that callbacks are garbage collected promptly is to store only weak references to them, for instance, by storing them only as keys in a WeakHashMap. So, why there isn't any WeakSet in the Java Collections framework?
stackexchange/codereview
I can't help it; I know many people will disagree, but I would really like to avoid Visual Studio as much as possible. My ideal combination would be gcc + Netbeans. I already use those to code in Linux. But my issue is compatibility. For example, there is a library that I want to use that is supposed to work for .NET a...
stackexchange/codereview
In the below code.If buttom 'A' is pressed the text box should be populated with A, and if button 'B' is pressed it should be populated with B and so on.. Can this be done.Also if any one could point me to flex examples would be much helpful.Thanks.. s='A'; for(i=0;i<button.length;i++)...
stackexchange/codereview
Can you provide a simple example or a link to a simple example.
stackexchange/codereview
my question is actually one of understanding - I have a working solution, I just don't understand how it works. Okay, so - what I'm trying to do is adding a setTimeout in a loop, and passing a changing value through it. Example: for (i=0;i<11;i++) { setTimeout("alert(i)",1000); } If I understood correctly, this d...
stackexchange/codereview
i would like to improve my c++ code style so i decided that i definitively have to deep into stl...at first, as i need it in a real case, i woudl like to know if it is available some kind of container that hold a current index inside... for example i mean some container class i can navigate with next()/prev() but i c...
stackexchange/codereview
We are working on a stylish screensaver that we would like to publish on the upcoming mac app store. Do you think it will be possible to release a screensaver? We reviewed the draft guidelines but still not sure about it. Thanks, Renaud
stackexchange/codereview
I am trying to learn to use PHP curl and it seemed to go well until I have tried to authenticate to changeip.com. Here is the function I use to make a Curl call: function request($ch, $url, $params = array()) { $options = array ( CURLOPT_URL => $url, CURLOPT_USERAGE...
stackexchange/codereview
Can you please tell me how can I model a Gaussian Basis Function in a 2 Dimensional Space in order to obtain a scalar output? I know how to apply this with a scalar input, but I don't understand how should I apply it to a 2 dimensional vector input. I've seen many variations of this that I am confused.
stackexchange/codereview
<telerik:RadEditor ToolbarMode="Default" ID="editor1" runat="server" EnableEmbeddedBaseStylesheet="true"> </telerik:RadEditor> The editor's using Default skin. When I made changes to Editor.Default.CSS file they didn't reflect on my page, but when I type the following I can see the changes: <link href="Skins/Default/...
stackexchange/codereview
I wanted to convert an array to lowercase and was wondering the most efficient method. I came up with two options, one using array_walk and one using foreach and wanted to compare them. Is this the best way to compare the two? Is there an even more efficient method that I have overlooked? <? $a = array_fill(0, 20000...
stackexchange/codereview
I am developing simple games as a hobby. For my new project, I want some parts to be scriptable. I am familiar with python but don't mind learning new languages. Here is the question: I am planning to implement path-finding, field-of-vision, collision detection etc. in C++ but want to use scripts for AI state machines,...
stackexchange/codereview
Which design patterns are build-in supported by C# regardless framework version? I'm thinking of patterns such as Observer pattern that can be found in interface IObservable. ObservableCollection, INotifyPropertyChanged etc. Please provide with the namespace of the pattern in your answers!
stackexchange/codereview
I am developing a login form with User ID. I want the user to create the userid in a specified format. I need a method using C# to convert all lowercase letters to uppercase. The userid will be in the following fomat. The format is: xyz\t4z4567 (characters are not case sensitive) Rules: 1.Only special character \ is al...
stackexchange/codereview
Since IE does not support event capturing, is it a waste of time using W3C event binding techniques? I'm thinking of just going with the level 1 event binding here - http://dean.edwards.name/weblog/2005/10/add-event/ , but I'm having a hard time understanding the need for the hash tabling.
stackexchange/codereview
I have the following context menu for rows of the Data Grid. <ContextMenu x:Key="cm_rowMenu"> <!--ContextMenu For Row--> <MenuItem Header="Edit Info." Click="mnuEditInfo_Click" /> <MenuItem Header="Delete" Cli...
stackexchange/codereview
I'm completely new at silverlight, and trying to do things "the right way". Problem is: I have an XML that I need to get from a web server, and I need to display that data in a datagrid. I've searched around and I've managed to get the following: say my XML looks like: <customers> <customer> <name>A Person<...
stackexchange/codereview
I'm running 1.9.2 with rails 3. I'm using rvm. I did: sudo gem install ruby-gem and got: Building native extensions. This could take a while... ERROR: Error installing ruby-debug: ERROR: Failed to build gem native extension. /Users/blankman/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb Can't handle 1.9.x yet ...
stackexchange/codereview
accordingly to some UIColor values from within a scroll views context I want to change the pixels rgb values for several UIImages I want to overlay afterwards. At least I have 4 images I'd like to overlay, a background image which is static and 3 layer images whose pixels information I'd like to change before overlayin...
stackexchange/codereview
What does the to_sym method do? What is it used for?
stackexchange/codereview
Given a simple language, say data E where ValE :: Typeable a => a -> E AppE :: E -> E -> E is it then possible to transform it into a typed representation: data T a where ValT :: Typeable a => a -> T a AppT :: T (a -> b) -> T a -> T b deriving Typeable I have tried various approaches, e.g. the following: e2...
stackexchange/codereview
I was just exploring http://code.djangoproject.com/ticket/1132 I am receiving 'undefined' error while using 'models.CurrentUserField' . Is this supported by Django 1.2.3?
stackexchange/codereview
I noticed that CkEditor has problems with using entermode br (mainly slowness after typing text for a long time). So I'm looking into the other entermodes (p and div). I see that entermode p is adviced by CkEditor. However, this introduces margins below the content, which is not desired (as the users are not used to ty...
stackexchange/codereview
I have 2 domains (e.g. test1.com and test2.com) and I need a user login across these 2 domains. Both domains run on the same server. I hope for some help. :)
stackexchange/codereview
I have a pixel font from www.fontsforflash.com. I have embedded it using flex then loaded the swf in flash CS4 to make it available. But its very blurry and I can find a way to turn off anti-aliasing in as3. Its the right size and placed with whole numbers. The reason I have embedded this method is because I don't want...
stackexchange/codereview
i am playing a movie using MPMovieplayerViewController and i want to register for notifications when the movie stops...i am using the following code to use NSNotification but my application is crashing when the movie stops...i have used the NSNotification in same way earlier when it executed fine.. any idea regarding w...
stackexchange/codereview
PLEASE READ CAREFULLY: This is a bit unusual and you will be tempted to say things like "that isn't how to use a regex" or "dude, just use String.SubString()," Etc... I have a need to write a regex (to use a pre-existing method) that will match text BETWEEN curly braces, BUT NOT the curly braces themselves. For Exampl...
stackexchange/codereview
I found code to export a datatable to excel, but I cant figure out how to get the controller to return the results. any suggestions? here is the code dt = city.GetAllCity();//your datatable string attachment = "attachment; filename=city.xls"; Response.ClearContent(); Response.AddHeader("content-dispositi...
stackexchange/codereview
I have a large structure in a MAT-file. I want to check if a specific field is present in the structure without loading the MAT-file since the contents are very large and I want to minimize memory use. Is this possible, or must I load it first like in the following example?: load('test.mat'); %# Load the MA...
stackexchange/codereview
I am writing a utility class which converts strings from one alphabet to another, this is useful in situations where you have a target alphabet you wish to use, with a restriction on the number of characters available. For example, if you can use lower case letters and numbers, but only 12 characters its possible to c...
stackexchange/codereview
There is this great open-source OCR component that Google has been developing: http://code.google.com/p/tesseract-ocr/ They have a new version out (version 3) at the beginning of October 2010. But this new version no longer has a working C wrapper, and it's up to somebody in the Delphi community to get it to work from ...
stackexchange/codereview
I want to implement a special highlighting to by buttons. The one, I found on the iBooks app for iPhone/iPad suites my needs. I think it is very complex due to the fact that all the strokes are looking different. I could use some CSS-Sprites-Voodoo but I don’t think I will be able to assign these styles so easily. Has ...
stackexchange/codereview
in my sharepoint site, there is anonymous access. When the user clicks "Cancel" button in login dialog box, 401 unauthorized is coming. I want the page to remain on the welcome page of the sharepoint site with anonymous access, when he clicks cancel button. how to do this?
stackexchange/codereview
I have recently switched back to IntelliJ from Eclipse and one thing I am struggling with is the auto complete, especially when declaring Collections. *This is not a question about which IDE is better its just a question on how to perform a task if that task is possible * In IntelliJ I type List<String> listOfNames = ...
stackexchange/codereview
I've got a problem with canvas context drawImage() method if an image is drawn on a canvas that already has not-integer scale factor. It seems that such images are clipped in a weird way (sometimes the most right part of an image is clipped, sometimes the most bottom side, sometimes both). This problem appears at least...
stackexchange/codereview
When developing a website, I often need to test scenarios like this: When user A logs in, she should see X button while user B can not And doing this kind of testing requires me to do a lot of log in and log out with different test accounts, which is by no means convenient. I wonder if there are any tool that can help...
stackexchange/codereview
I'm trying to implement a "remember me" feature using ASP.NET MVC. It uses a customized authentication process as defined below. Web.config: <authentication mode="Forms"> <forms loginUrl="/Account/Login" defaultUrl="/Home/MyAccount" timeout="43200"/> </authentication> Code to persist cookie: public vo...
stackexchange/codereview
In NERDTree ShiftT opens file in a new tab, but tab is positioned after the tab in which NERDTree is opened. It is possible to open the new tab at the end of tabs?
stackexchange/codereview
I'm trying to build a search box for a select list, and I'm looking for some suggestions on doing this with jQuery. My goal is to hightlight <option/>'s that contain the search string or hide all <option/>'s that don't. I thought I was on to something with attribute selectors until I realized that I'm searching on the ...
stackexchange/codereview
I have created a custom bar button item in code. UIButton* backButton = [UIButton buttonWithType:102]; // left-pointing shape! [backButton addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [backButton setTitle:@"Custom Item" forState:UIControlStateNormal]; // create button item...
stackexchange/codereview
Hi I am am wanting to send many different mp3's like an array to SOX for example sox 1.mp3 2.mp3 N.mp3 out.mp3 sox num1.mp3 num2.mp3 numN.mp3 out2.mp3 sox n1.mp3 n2.mp3 nN.mp3 out3.mp3 How could I send all those at one time?Or Can I not do that?
stackexchange/codereview
I am using the local database in web kit browsers and to get the data from the database I have the following code: function synchronise() { myDB.transaction( function (transaction) { transaction.executeSql("SELECT * FROM Patients;", [], synchroniseHandler, errorHandler); } ); With I am ...
stackexchange/codereview
I have built a simple custom ASP.NET control that expects it's body content to be javascript. Is there a way to tell Visual Studio that the content should be javascript, and therefore provide syntax highlighting / intellisense goodness? In case it helps, here's the framework of the control I'm working with. namespace M...
stackexchange/codereview
I have a subview where there is an uitableview that gets data from an online server (title, subtitle and image). When I click the button that shows the subview it takes a little time to get there using WiFi connection, but under 3G network it takes longer, so that you really feel the gap between loading the view and ha...
stackexchange/codereview
I am using smart GWT to develop my application, to create the structure of the application I am using GWT components. The HTML code snippet is as below: <div class="container"> <div id="pagePanel" ></div> </div> In my pagePanel div all the components are added. As I add components dynamically in the pagePanel div,...
stackexchange/codereview
I'm looking for commercial-grade SWT components such as polished charts, grids, or layout managers (similar to what's available on .Net with DevExpress Charts and Grids for instance). Do you have some pointers to provide ? Thanks!
stackexchange/codereview
Some functions in PHP require a callback function. How can I do this in a function myself? First of all, how do I define a function that require a callback function? And secondly, how do I provide a custom function as the callback function? How do I provide a regular function, an instance function and a static function...
stackexchange/codereview
I'm looking for an ASP.NET control that renders a tree structure, very much like the ASP.NET TreeView control, but filling the following requirements: Dont uses tables for rendering tree structure. Markup Adhering to valid XHTML 1.0 Strict. Works with AND without javascript. Also, if the control is licensed under a M...
stackexchange/codereview
Is there any possibility to write this using query language ... not method chain? notifications.Where((n, index) => n.EventId == m_lastSelectedEventID) .Select((n, index) => new {Position = index}).FirstOrDefault(); Thanks, Radu
stackexchange/codereview
I'm new to Android and Java programming, so I would like to clear up couple of questions I have. I've written a background service that verifies something every 10 seconds, and, based on some conditions, it may execute something (or may not). This is implemented using a Timer. My understanding until now is that the tim...
stackexchange/codereview
I have installed the indexMenu plugin, in my sidebar I have created a menu like this: ... {{indexmenu>.#1|js#kde.png}} and I want to hide one entry in my menu: How can I do this?
stackexchange/codereview
I could not get the following xpath expression to work when the xml path namespace prefix set. /bk:BookStore/bk:Books/bk:Book[text()='Time Machine'] XML is: <BookStore xmlns:bk="http://www.bookstore.com/book#"> <bk:Books> <bk:Book id="1">Time Machine></bk:Book> </bk:Books> </bk:BookStore>
stackexchange/codereview
Am using Google API for translation on passing my request to change the text language its showing the error of "Failed to get the response(407) Proxy Authendication required". string Text = textBox1.Text; Text = Translator.Translate(Text, Language.English, Language.French,Google.API.Translate.Transla...
stackexchange/codereview
When subclassing in objective-c, how can I forward a call to the superclass in the case of a variadic method. By what should I replace the ??? below to send all the objects I got? - (void) appendObjects:(id) firstObject, ... { [super appendObjects: ???]; }
stackexchange/codereview
How to Disable setfocus for a stage in AS2
stackexchange/codereview
I have a text file containing 21000 strings (one line each) and 500 MB of other text files (maily source codes). For each string I need to determine if it is contained in any of those files. I wrote program that does the job but its performance is terrible (it would do that in couple of days, I need to have the job don...
stackexchange/codereview
I googled but cannot find proper simple code for using backup database full and restore the backup, using defaults by using C#. I am using C# Visual Studio 2008 and SQL Server 2008 R2 evalution but I guess SQL Server 2005 and C# will work too. The Microsoft site doesn't have code regarding it, it only show description ...
stackexchange/codereview
Given an Array of two elements what is the most elegant way to express a random coin toss to choose between them? var choices = ['#00f', '#ff0']; document.bgcolor = choices[Math.floor(Math.random() * choices.length)];
stackexchange/codereview
I got this error message in Eclipse today: Any idea what went wrong?
stackexchange/codereview
What is best practice with regard to using links/<a> tags with explicit hrefs to other pages in your site (i.e. href="/blah/blah/blah.html) vs having hrefs/divs/etc. that don't have an explicit href and have their onclick set within the document ready handler with JavaScript in say a main.js file. I'm not an expert whe...
stackexchange/codereview
I have these table structures and while it works, using EXPLAIN on certain SQL queries gives 'Using temporary; Using filesort' on one of the table. This might hamper performance once the table is populated with thousands of data. Below are the table structure and explanations of the system. CREATE TABLE IF NOT EXISTS `...
stackexchange/codereview
2**** cd $PROD_RAILS_ROOT && ./rake --silent users:update RAILS_ENV=production What does 2 mean here? Is it every 2 min.
stackexchange/codereview
HI All, i need to put jSlider's track below the knob's image and fill different colours in track on Slider's knob movement. Please explain with some code snippets. Thanks Jyoti
stackexchange/codereview
This is a question about dependency injection. When constructing a service object, we pass in collaborators via the constructor in the construction phase. The service object would implement an interface, and that would be called during the run-phase. Sometimes is is difficult to know if a particular object should be ...
stackexchange/codereview
I am getting a mixed content warning from Google Chrome. It does not show in Firefox or Explorer. I'm opening the site from a test server on localhost running Vista, Apache2.2.16, mod_ssl2.2.16, OpenSSL0.9.8, and PHP5.3.3. All content is forced through https by apache. I am using a self-signed certificate. The ent...
stackexchange/codereview
I'm an assistant in a course where the students implement a web app (It's a Q&A site similar to stackoverflow) with the help of the Play! framework. This is a Java-based framework that relies on the MVC Pattern. The Model and Controller are written in Java where the view is written in HTML / CSS and some extensions tha...
stackexchange/codereview