instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have two div's, nested, and want to have an image placed in front of the inner-div's content, so as to look like decoration around the edges (much of it is transparent.) I thought using z-index and absolute positioning would do it, but it has not worked. My simple test is to use two nested div's each with a backgrou...
stackexchange/codereview
What is the best way to log the contents of anything POSTed to a WCF Data Service? I have tried using the service trace viewer but only see WebHeaders? Thanks
stackexchange/codereview
Pagination with MVCContrib is easy, just follow the steps here; http://mvccontrib.codeplex.com/wikipage?title=Grid&ProjectName=mvccontrib However the control render as "Showing 1 - 15 of 32 first | prev | next | last" This does not look very good. I would prefer a cleaner look with each page displayed as a link; "Page...
stackexchange/codereview
I am using common engine to convert the data table I have to csv How do I set an attribute on that particular column. Note I dont have a class for the records since I dont need one CommonEngine.DataTableToCsv(dt, "date.csv", ',');
stackexchange/codereview
I have just been reading the section on the poll() function in "Advanced Unix Programming" second edition by Marc Rochkind. In this section, the author mentions that poll() is not supported under Darwin 6.6 and I have seen other items on the internet that suggests that poll() is emulated on OSX using the select() syst...
stackexchange/codereview
Trying out some things with php and html, I'm having issues trying to get all of my form data reposted. I've figured out how to do the text boxes. Still at a loss for the select box, radio and check box. Would I be better off reposting inside the HTML page or letting my include template code take care of it? <html> <h...
stackexchange/codereview
Is there a way to revert from a particular changeset? The changes has been committed, as I see from the changeset. Now, I want to revert back the files from before they were committed. I did svn revert path/to/file but it's not asking for a password or anything. Nothing is happening.
stackexchange/codereview
I want to ask a question about the SQL. I have the following table. Name Phone a 1 b 2 c 3 d 4 e 5 I have an ArrayList(java) which contains the [a,b,c,d,e]. Is it possible to put the ArrayList into the mySQL statement to retrieve the all the phone numbers? Thank you.
stackexchange/codereview
I have created a 16x16px favicon for a website, but I am getting complaints that IE pixelates it. should I have a larger size? is their a way to use multiple sizes? What is best practice?
stackexchange/codereview
For now, I'm working with message system for my site. The message is used to send messages between member of the site. It can also be used to send a friendship invitation, etc. However, I haven't found a good database design for it. I want the message system to use a thread style, just like e-mail. But since I'm not an...
stackexchange/codereview
Edit: added keys. Hi, I have a xml schema with the following types: <xs:complexType name="definition"> <xs:sequence/> <xs:attribute name="id"/> </xs:complexType> <xsd:key name="definitionId"> <xsd:selector xpath="definition"/> <xsd:field xpath="@id"/> </xsd:key> <xs:complexType name="elem"> <xs:sequence> ...
stackexchange/codereview
Can someone tell me the procedure to host an app in Android Market? I know that there is no review process. But is there any other steps I need to follow to publish my App?
stackexchange/codereview
I am currently working on a project and using machines in two different locations to do it. I have created a branch for the feature I am working on and when I finish some work on it I amend my commit to that branch and push it to the server so I can pick up where I left off on my other machine. When I try to send my am...
stackexchange/codereview
First of all : I'm using the well known (and tested I suppose) flickrapi. I was testing synchronization of flickr photos with my project and everything worked fine till I reached some specific files. Then python's xml parser failed to parse xml to string (and error from topic). Debug gave me line and column in the xml,...
stackexchange/codereview
I created a new Xcode project with a view-based app template. In the .m of the view controller I overwrote this: // The designated initializer. Override to perform setup that is required before the view is loaded. - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { if ((self = [super ...
stackexchange/codereview
The dataset I display using PageableListView can get very big and keeping the whole dataset as a model would be very inefficient. Is it possible to load for example only the set of IDs first and then load only the objects that are to be displayed on the current page? I use Wicket+Spring+Hibernate/JPA. Or is there a bet...
stackexchange/codereview
This is probably a simple answer, but I was curious if you have php code like say this: if($_SESSION['id'] == '000001' || $_SESSION['id'] == '000002') { Could those values be grouped somehow? My thoughts would be something like: if($_SESSION['id'] == ('000001' || '000002')) { Not a huge deal, just wondering if it is ...
stackexchange/codereview
The update method of wx.ProgressDialog has a newmsg argument that is supposed to give a textual update on what is happening in each step of the process, but my code is not doing this properly. Here is the link to the documentation for wx.ProgressDialog http://www.wxpython.org/docs/api/wx.ProgressDialog-class.html Also,...
stackexchange/codereview
I have a ListView and GridView within it. Upon clicking a button on any row I set an error state based on which I need to change that particular row's cell structure. For eg. I need it to go from a 5 column cell to a 3 column one. Can I accomplish this using a GridViewRowPresenter?
stackexchange/codereview
I've released my app and noticed the jerkyness when scrolling in the CellForRowAtIndexPath, this is because i'm rendering an image from an JSON Feed via a URL. I've searched the internet and found a few examples and this one i've almost got working. The problem is when it renders the images don't match the correct titl...
stackexchange/codereview
I have some problems with a menu on my website. In chrome, IE8, safari, FF etc it looks fine. The only problem I have is IE7. In IE7 the menu is not at the top of the site. I have a seperate css file for IE7, but can't find the problem. My site is http://www.e107webdesign.nl It's the video menu at the right side of th...
stackexchange/codereview
I understand that there is no complete support for USB for Java in Windows. But jUSB provides a Java USB API for windows which does not provide support for the complete functionality though. I am trying to install the Java USB API and try it, and the steps provided say he following, jUSB DLL Copy the jusb.dll from the...
stackexchange/codereview
When I do script/server I don't seem to get any deprecation warnings. I know that I should at least be getting one about {{word}} in I18N. Can anyone point out where I can find them? Or how I can enable the deprecation warnings? Regards, Jacob
stackexchange/codereview
My site loads a pretty large js file the first time a user visits, and I want to write something like "Loading .. for the first time" it the file isn't from cache. Is this possible in javascript?
stackexchange/codereview
I have a ListBox containing a large number of items, which are all account numbers and so hard to search through. Is it possible to have the items "filtered" as the user types into a textbox, so that only items that match what has been entered so far are displayed? e.g. List Box 2342 3434 2332 3224 User then ...
stackexchange/codereview
i need an example - how to parse RSS feeds by under Visual Basic 6... help please)
stackexchange/codereview
I currently have to implement a query on a postgres database using a prepared statement. My current code looks like this: $arrFilter = array("", ""); $result = $db->prepare("select_music", "SELECT * FROM tblmusik WHERE lm_titel LIKE '%" . "$1" . "%' AND lm_text LIKE '%" . "$2" . "%'); ( db->prepare() just executes p...
stackexchange/codereview
I have many different items on my main.xml layout (30+). I have to constantly throughout an activity I have to use... tv1.setVisibility(View.GONE); tv2.setVisibility(View.GONE); ...for at least 20 of the items. I think it would be easier if some how you could make it so, instead of View.GONE, you can choose what items...
stackexchange/codereview
In a table cell I tried putting "\n" in the text, but this doesn't put the text on a new line it just puts a space in between the text.
stackexchange/codereview
I'm having trouble figuring out how to maintain my table stripes after adding new rows to a table. If I change the .insertAfter() selector to #names tr:last it works as I would expect, however using tr:first or tr:nth-child(x) results in the new row and all rows below it being striped. When looking at the updated DOM i...
stackexchange/codereview
I have a requirement to retemplate the ScrollBar so that only one Template is required, instead of separate horizontal and vertical ones. The designer's assertion is that the ScrollBar can be rotated on a Trigger (Orientation = Horizontal), and the commands swapped on the buttons. Since the single Template is set up as...
stackexchange/codereview
I am working on a real-time embedded system. I am trying to create a detailed timing analysis. I have collected runtime data, recording the start and stop time of each interrupt. Each burst of data looks something like this ISR# time ----- ---- 1 34 end 44 4 74 3 80 end 93 end 97 ...
stackexchange/codereview
I'm parsing an xml file, that has nodes with text like this: <img src="someUrl1"> American Dollar 1USD | 2,8567 | sometext <img src="someUrl2"> Euro 1EUR | 3,9446 | sometext <img src="someUrl3"> Japanese Jen 100JPY | 3,4885 | sometext What I want to get is values like this: American Dollar, USD, 2,8576 Euro, EUR, 3,94...
stackexchange/codereview
I've already check stackoverflow and the web for my problem, but I can't find any answer. I can't find a way to have the Windows 7 Aero theme working. I mean, I have the Aero style from PresentationFramework.Aero, but it has the Vista look, the blue selection is not exactly the same. This is the Windows 7 theme in Wind...
stackexchange/codereview
this may be a duplicate of how do I work around this error while copying SVN repository by svnsync? I'm setting up a repository sync. everthing works fine until revision 3213 (let call this as R). After that the svnsync sync command gives me this error: svnsync: REPORT of 'MY_REPO_URL': Could not read response body: c...
stackexchange/codereview
I am trying to get my JavaScript working in IE7 which works smoothly in all other browsers. document.write('<li><a class="bookmarklet" href="javascript:x=document;a=encodeURIComponent(x.location.href);t=encodeURIComponent(x.title);d=encodeURIComponent('+selection+');open(\'<?php echo createURL('bookmarks', $GLOBALS['us...
stackexchange/codereview
This is a homework, thus I hope you guys don't give me the direct answers/code, but guide me to the solution. My problem is, I have this XXX.html file, inside have thousands of codes. But what I need is to extract this portion: <html> ... <table> <thead> <tr> <th class="xxx">xxx</th> ...
stackexchange/codereview
I'm developing an app which requires that the user selects a year formatted like this 1992-1993 from a spinner. The tablename is also named 1992-1993 and the idea is that using SQL the values from this table are pulled through with a statement like this select * from 1992-1993. When I run the emulator however, it throw...
stackexchange/codereview
This seems to keep coming up for me on various projects and I'm wondering if anyone out there has a great solution: We have a Rails app with Authlogic authentication. Initially, there's a nice, clean, RESTful ListingsController that requires a user to be logged in before they can post/create: before_filter :require_use...
stackexchange/codereview
This works in FF, but not in IE 7 and 8. Is there anyway to make it work in IE? setInterval(function() { $("#content").load(location.href+" #content>*",""); }, 5000); (this code is from http://blog.mediasoft.be/partial-page-refresh-with-ajax-and-jquery/)
stackexchange/codereview
This is installed on a Unix system I don't have direct access to, but can get insight on by sitting with a network team. The problem is this, I have 3 folders I need access to, read and write. The problem is, I only have access to 1 of them, and only read. This is via ColdFusion, I can get into them fine with the use...
stackexchange/codereview
I have an Access database with ~30 tables. How can I export all 30 tables into separate sheets in an Excel workbook? I'm hoping to find some VBA/VBS code which I can run from within Access to accomplish this task. Any ideas?
stackexchange/codereview
What are the best ways to speed up compilation time in Visual Studio 2005 for a solution containing mainly C++ projects?
stackexchange/codereview
class Comment < ActiveRecord::Base belongs_to :post belongs_to :user end So with the above association can I fetch both user and post details from a given comment object?. like @comment.post.post_title and @comment.user.user_name. Also please note that I have used comment as a nested resource of pos...
stackexchange/codereview
If I set the client locale in a GWT application by inserting the following line into the header of the main html/jsp file: <meta name="gwt:property" content="locale=af_ZA"> This works nicely client side and I can make use of the built in i18n support for GWT. But how can I read this locale again from the server side. ...
stackexchange/codereview
I have a program that creates CORBA objects which are subscribed for different events (from other remote CORBA objects) and log every event that thay receive in a database. The problem is that I also want this objects to send request to this other remote CORBA object every minute. How can I do this? Maybe start an addi...
stackexchange/codereview
I have the following in a for loop and the compiler says 'operator = is ambiguous'. Not sure how to solve this issue, can anyone help? rootelement = document->getDocumentElement(); boost::interprocess::unique_ptr<DOMNodeIterator, release_deleter> itera (document->createNodeIterator(rootelement, DOMNodeFilter::SHOW...
stackexchange/codereview
In a web application if a user check the Remember Me box I'm gonna create a cookie and save it in database and assign it to user (long-life cookie). On any page request (page_load) I check this cookie (if session is null) and ask DAL for user object. If I use GUID it would be unique but the question is if a user can gu...
stackexchange/codereview
My question is about enumerating Dictionary elements // Dictionary definition private Dictionary<string, string> _Dictionary = new Dictionary<string, string>(); // add values using add _Dictionary.Add("orange", "1"); _Dictionary.Add("apple", "4"); _Dictionary.Add("cucumber", "6"); // add values using [] _Dictionary...
stackexchange/codereview
I have a MFC application which has its GUI implemented as part of the executable code (view-doc architecture etc.) My application uses some DLLs I worte. Now I have to write another DLL which I know it has to have a GUI as well. My question/uncertainty is should I implement the GUI as part of the main application (main...
stackexchange/codereview
I need to validate some user input, to ensure a number entered is in the range of 1-99 inclusive. These must be whole (Integer) values Preceeding 0 is permitted, but optional Valid values 1 01 10 99 09 Invalid values 0 007 100 10.5 010 So far I have the following regex that I've worked out : ^0?([1-9][0-9])$ This a...
stackexchange/codereview
Dear experts, Let say I have to search 3 co-related options 1)name 2)address 3)Phone. So, I have to write 8[eight] separate queries.pls see the example below…. $name= $_POST['name']; $address = $_POST['address']; $phone= $_POST['phone']; if($name!=""&& $address==""&& $phone=="") { $searching_query="SELE...
stackexchange/codereview
Looking at improving the performance of my jquery selectors. so any tips or articles as the best per formant jquery selectors? For example selecting the a div's id. Anywhere online I can provide html and compare the different selectors I can use to select the required element.
stackexchange/codereview
I seem to be having trouble splitting a namespace across projects. I have a DatabaseAccess project which has a folder called SCS (Some Crazy System) which provides data access to the database for SCS. Now this SCS has entity framework (.edmx) generated entities. I would like to extend these entities in my BusinessMod...
stackexchange/codereview
here is my program import java.util.Scanner; import java.util.Random; public class Project3 { public static void main(String[] args) { int low; int high; int answer; int guess; int numGuess = 0; int x; int y; char repeat; // this will hold y or n...
stackexchange/codereview
I'm trying to write a number guessing game in Lisp as a time-killing project. However, when I try to load up the program using SBCL, I get the following error: debugger invoked on a SB-C::INPUT-ERROR-IN-COMPILE-FILE in thread #<THREAD "initial thread" ...
stackexchange/codereview
Given that I'm using TSQL, what's the name of this style of naming? \\servername\instance.database.schema.table and what other items can be inserted in place of .dbo. in the previous naming instance? how does one go about creating those alternatives? links to answers welcome Also, how would one refer to a job on the...
stackexchange/codereview
I can't seem to get this working seems like it should $('.titleother').change(function() { if ($('.titleother').val() == 'Other') { ​$('.hiddentext').css('display','block') }​​​ }) For this HTML <select class="titleother">​ <option value="1">1</option> <option value="2">2</option> <option value="Other">Other</o...
stackexchange/codereview
Trying to bend by head around Javascript's take on OO...and, like many others, running into confusion about the constructor property. In particular, the significance of the constructor property, as I can't seem to make it have any effect. E.g.: function Foo(age) { this.age = age; } function Bar() { Foo.call(th...
stackexchange/codereview
Is there a possibility to tell the designer or the report a default font-size, so that all new elements that are placed within the designer will take initially this font-size.
stackexchange/codereview
When editing Java code in Eclipse I can modify the code while it's running in various ways and have those changes take effect without restarting my program. What is the technology underlying this feature? Is it part of Eclipse, or is it something I can do with the command line tools and the tools that come with the JD...
stackexchange/codereview
Hi i am developing a FORUM i am using asp.net, c# language for code. I have read a article about NoSql i inspired a lot from there advantage over RDBMS (sql) so i was thinking that should i use NoSql concept for Forum DataBase or not. I am not a expert in database. So can u suggest me should i use NoSql? Currently I a...
stackexchange/codereview
There are some string resources in my android application and some helper-classes, which are only java-classes (no android classes). Is it possible to get string value of string resource variable from an java class?! Mur
stackexchange/codereview
I have this code: def hello(): return 'Hi :)' How would I run this directly from the command line?
stackexchange/codereview
A program dealing with graphs(from graph theory) representation and transformation.The adjacency list and matrix are implemented like dynamic arrays of vectors(don't ask why not vector of vector) for the following function program exits with memory error and compiler pointing to the orphan vector definition. int vertex...
stackexchange/codereview
I'm attempting to detect if my capture camera gets unplugged. My assumption was that a call to cvQueryFrame would return NULL, however it continues to return the last valid frame. Does anyone know of how to detect camera plug/unplug events with OpenCV? This seems so rudimentary...what am I missing?
stackexchange/codereview
Does SQL Server 2008 offer any pre-defined table types for use with table-valued parameters? For instance, if I just want to pass in a list of integers as a table, and derive necessary context from the other parameters I'm passing in, is there a type in place for that, or would I have to create it?
stackexchange/codereview
What is the benefit of detached object? What value do they provide? Thanks.
stackexchange/codereview
I'm trying to find the Pearson correlation of a single measure between two members of a dimension, but the msdn docs are a bit sparse. Specifically I have a cube with a fact count measure, a date dimension, and a tool dimension and I'd like to find the correlation of tool X and tool Y over the date dimension.
stackexchange/codereview
I am trying to use this forked version of the searchlogic gem. In my gemfile, I have gem "searchlogic", :git => "http://github.com/railsdog/searchlogic.git" when I do bundle install, I get this error: Could not find gem 'searchlogic (>= 0, runtime)' in http://github.com/railsdog/searchlogic.git (at master). Source doe...
stackexchange/codereview
ASP.NET Membership is just great as there are a ton of functionality right there to be used, and we don't need to change nothing at all. We can even create our own Provider based on Membership database, and that give us infinite possibilities, like as I don't like the Question/Answer I just use an email that is sent wi...
stackexchange/codereview
Hi I’m trying to use a DataGridView for the first time and with LINQ. Here’s what I’m trying to do: I want to use it (although it doesn’t have to the DataGridView ) to read and display the contents of an XML file (this bit is working code below) but I want to have an add row button on the form or in the DataGridView th...
stackexchange/codereview
I was wondering if there was a way to know where the script stopped (ie: file + line), which would be useful for debugging or for removing stupid 'exit' calls lost somewhere in the code. Thanks in advance
stackexchange/codereview
How do you refer to elements of array in Jquery? For instance - input type of text with name="a[]" attribute.
stackexchange/codereview
In my iPhone development, I've always used global variables for lots of stuff. The style guide in my new job says we should use context parameters instead. So I need to figure out what that means and how to do that. Can anyone explain in more detail what this means -- or point me to some code that works this way? Tha...
stackexchange/codereview
how to copy data from datatable to table in dataset i ry this but its readonly property ds.datatable1=newdt.copy
stackexchange/codereview
How connect to different db depending on @request.host value? Using Sinatra and MongoDB with Mongoid. I need to read a Sintra application's menu, data ... from different databases. I wish to deploy it only in one place and depending on request.host(subdomain) value to serve the specific pages.
stackexchange/codereview
The STL allocators require this constructor form (20.1.5): X a(b); with the requirement that Y(a) == b; In the standard implementation this implies, and is implemented as: template<class U> allocator( const allocator<U> & o ) throw() I'm having trouble understanding why this requirement exists. I understand that all...
stackexchange/codereview
I have a BaseViewModel that my View Models all inherit from. public class MagazineViewModel : BaseOutputViewMode { public string TitleOfPublication { get; set; } } In my controller I use a factory method to give the corret View Model back based on an input: // e.g. viewModel contains an instance of MagazineViewMo...
stackexchange/codereview
I have a UITableView with a header. When I scroll in the section that does not fit all its elements on the screen, I'd like the header to move off screen instead of the normal behavior of staying on top until it is replaced by another section. Is this doable? I would like to avoid making the header a UITableView row li...
stackexchange/codereview
I have a Java class with a method, hasMoreParameters(). In JSP, I want to get the property: ${holder.moreParameters} How do I do this?
stackexchange/codereview
I'm having difficulties mapping a HashMap to a Pojo using dozer. Note: the attribute names in my Pojo don't map to the key values in HashMap i've populated. I'm trying to use the set-method attribute in the dozer mapping file to map the hash key to the Pojo setter. When I run the code below, I don't get any exceptio...
stackexchange/codereview
this is the weirdest thing. My code is below: function menuSwipe(init){ dojo.query('div.fill div.container div.menu div.group ul').forEach(function(item){ dojo.fx.wipeOut({ node: item, duration: 1 }).play(); dojo.query('li', item).forEach(function(childrenItem){ ...
stackexchange/codereview
Using jQuery, what is the best way to determine if an OPTION element with a particular value or text value exists inside a SELECT element? I've seen all kinds of tips, blogs and howtos on how to find the selected item, but I want to find any item by value or by text value, regardless of whether or not it is selected. e...
stackexchange/codereview
I have a MS Visual C++ 2005 project where I am trying to have a main dialog box with a section devoted to displaying selectable subform dialogs boxes. Each subform will be of the same size but have a different layout. The selection is performed using a combo-box control. I searched on the best way to implement this ...
stackexchange/codereview
I'm trying to use preg_match_all to return an separate arrays for various elements in a CamelCase string. In my example, I'm attempting to obtain the prefix of a string in one array and everything else ( the camelcase portion of the string ) split up into a second array. For instance, get_BookGenreTitle is supposed to ...
stackexchange/codereview
I'm trying to use the async HttpWebRequest in Silverlight for Windows Phone. All works perfect until I get to the where I should call private static ManualResetEvent allDone = new ManualResetEvent(false); ... request.BeginGetResponse(new AsyncCallback(GetResponseCallback), request); allDone.WaitOne(); Debug.WriteLine("...
stackexchange/codereview
I am doing some text processing using hadoop map-reduce jobs. My job is 99.2% complete and stuck on last map job. The last few lines of the map output show as below. Last time, when this problem occured, I tried printing out the key values emmited from map and noticed that one of the key is having large number of valu...
stackexchange/codereview
In C# how do I define function which return function which returns nothing? Something like this: class X { public Func<void> GetFuncReturningVoid() { ... } }
stackexchange/codereview
I constantly receive in Event Viewer an Error at every reboot: Skipping: Eap method DLL path name validation failed. Error: typeId=21, authorId=29114, vendorId=0, vendorType=0 Source: EapHost Event ID: 2002 Level: Error User: System Task Category: Peer Keywords: Registry Someone have any idea?
stackexchange/codereview
I'm working on a diagnostic tool and receives data every 25 ms. I need this data to be drawn in my chart using a lineSeries. I'm using a a wpf chart with a lineSeries which I bind in xaml to an ObservebleCollection. The problem is that I need the collection needs to contain atleast 1600 datapoints before starting to re...
stackexchange/codereview
I've got a transaction that saves or updates a set of objects in a database. This is the code: @Transactional public void updatePDBEntry(Set<PDBEntry> pdbEntrySet) { for (PDBEntry pdbEntry : pdbEntrySet) { PDBEntry existingEntry = findByAccessionCode(pdbEntry.getAccessionCode()); if (existingEntry !...
stackexchange/codereview
Question: I have some code for pgp encryption from here: http://blogs.microsoft.co.il/blogs/kim/archive/2009/01/23/pgp-zip-encrypted-files-with-c.aspx It has the below method, using some LINQ. I'm still on .NET 2.0 and can't switch higher, yet... How can I replace this expression with ordinary code? I don't really und...
stackexchange/codereview
Could someone take a moment to look at my script and see where I have gone wrong. This works fine in all modern browsers. Its IE6/7 which have the problem. A 9KB color picker loaded. Once loaded the picker is run. picker.run(); This makes the picker and saves it as an object variable. This variable can then be shown u...
stackexchange/codereview
I'm running the nerddinner MVC application on visual studio, and the database is on sql server 2008. I was previously having problems with permissions, etc but I seemed to have these sorted. I created a user - taraw in SQL Server Management Studio, and got this all working. I can log into it fine. When I test the appl...
stackexchange/codereview
Just trying to make a kind of hash table with each node being a linked list. Having trouble just initializing the space, what am I doing wrong? #include <stdlib.h> typedef struct entry { struct entry *next; void *theData; } Entry; typedef struct HashTable { Entry **table; int size; } HashTable; int main(){ Has...
stackexchange/codereview
I have an asp repeater reading a datasource and it's linked eventually to this code through the code behind [dbo].[GetFeatStatic] AS BEGIN DECLARE @FeaturedStatic TABLE ( UserID INT, UserTitle varchar(50), Title varchar(50), Summary text, DatePosted date, FirstName varchar(50), L...
stackexchange/codereview
PHP: I have a simple pagination script which uses two queries. MySQL: Using server version 4.1.25 - I have two tables (products, categories) with the item_num field tying them together to retrieve products via category and both have unique ID fields which are indexed and auto-incremented. They're both MyISAM types. Que...
stackexchange/codereview
I've just submitted my first app to the App Store and I have problem with description field in iTunes Connect - it does not allow me to enter multiline value. I've tried everything - copying-pasting from different editors, entering manually, etc. If there is one line, like "Hello world" - it saves successfully. When ...
stackexchange/codereview
When writing jQuery binding events, I typically use the bind() aliases (click(), submit(), etc). But, the more I use dynamically generated content, the more I find its ambiguous as to when bind() won't work, and end up debugging for a half hour until I try live() and it works. Within the parameters of ID-selectors (l...
stackexchange/codereview