instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
How can I make the cookie session.cookie_path only available for the module "/admin/"? Zend Framework Code: // Se Login? public static function isLoggedIn() { $namespace = new Zend_Session_Namespace('Zend_Auth'); $namespace->setExpirationSeconds(60*5); //5 Minutos dura una session $namespace->cookie_path =...
stackexchange/codereview
Has anyone ever used the Wikipedia Data Extraction? I need to use it for work. Could you give other tools for extracting information on web pages? Thanks!
stackexchange/codereview
I'm working for first time with JIRA. I'm designing the workflow of my issue with the WorkflowDesigner. I want to create an issue from another issue-type inside one of the states of the workflow. I appreciate any help. Thanks!!! Juan
stackexchange/codereview
I'm trying to add the selectmenu jqueryui plugin to my page. I have gone to https://github.com/fnagel/jquery-ui and copied the file jquery.ui.selectmenu.js from the ui folder. I have then included a link to this javascript from my page. I have a fresh install of jquery and jqueryui installed and other functionality is ...
stackexchange/codereview
I'm trying to make a server/client program where the client sends the text “Hello World” to the server, the server then prints the text to the terminal. After the client program terminates the server goes crazy and keeps printing “Hello World” until I terminate the server by Ctrl – C. Can someone please help me to u...
stackexchange/codereview
I've got a working app based in Ruby and Sinatra that is deployed on Heroku. I want to take advantage of the HTTP caching available on Heroku, which uses Varnish. I'm not sure what the best way to set the headers is, and the correct syntax. Any thoughts on the best approach and syntax? before do headers "Content...
stackexchange/codereview
So I need to create a char buffer containing 4 lines of text (EN_us) like first line line with some number like 5 line 3 empty line What is correct way of getting such char buffer from user and how to get its length?
stackexchange/codereview
I'm new to ASP.NET MVC, and plan on using it for an upcoming project. I have some questions: I don't know what type of database the project is using. It might be SQL Server or a mySQL database. If I use LINQ to SQL, can I switch databases on demand? Do people still use LINQ to SQL? I need a membership provider. In AS...
stackexchange/codereview
I know Gmail has contextual and side-bar gadgets, but how do browser extensions such as Rapportive work? Are they injecting their buttons / displays into the browser page? If so, wouldn't the browser extension break if Google decided to change the way they layout the page?
stackexchange/codereview
I was wondering if is possible to find the content in an XML file placed in a jar thath is placed in a ear too. It would help me find the properties of java beans. Up into the ear I can iterate through documents and see what's inside, but if it is a jar I can't iterate documents inside that. Someone can give me some ad...
stackexchange/codereview
anybody ever used ietester to test their websites again multitple versions of ie? well, I downloaded it, but the site looks stretched on all versions of ie, a little less stretched on newer versions. Even stackoverflow.com looks funny (for all versions). I do have ie8 installed, and both of the sites (stackoverflow.co...
stackexchange/codereview
I've inherited a large suite of Test::Unit tests, and one of my first tasks is to have the suite run to completion rather than exit after the first test failure. I'm currently rescuing AssertionFailedError and ensuring an output string, but this just seems wrong. What's the better way? Seems like it would be a configur...
stackexchange/codereview
I am trying to figure out a nice way of doing this and thought maybe there is a nicer way in the newer Rails 3.0 ActiveRecord query. I have a bunch of Posts that have a published_at field. Now I want to present an Archive in the sidebar with all unique months and year that contains posts and display that archive. What'...
stackexchange/codereview
I was recently profiling an application trying to work out why certain operations were extremely slow. One of the classes in my application is a collection based on LinkedList. Here's a basic outline, showing just a couple of methods and some fluff removed: public class LinkInfoCollection : PropertyNotificationObject...
stackexchange/codereview
I'm trying to implement something like scheduling in my application, so I need to get names of all the day in a week and show it to user. It is simple: i can just make an enum with all the days and use it, but the localization problem shows up. The list will have english lables always. Is there a way to localize the da...
stackexchange/codereview
Bounty of $25 for the first working solution. I'm seeing a really weird has_many :through problem with ActiveRecord. With these classes: create_table :numbers do |t| t.string :phone_number end create_table :call_lists do |t| t.string :type t.string :name t.integer :user_id t.integer :county_id t.integer :st...
stackexchange/codereview
I'm importing data from a SQL Cube and have several row labels I'd like to show. Is there a way to NOT have the hierarchical view? (aka no plus signs for the first row values, and instead show the second row label's value next to the first row labels, etc.) I'd like to see ALL data without it being hidden or aggregated...
stackexchange/codereview
I've run through the NetBeans SVN project setup described here: http://netbeans.org/kb/docs/ide/subversion.html However once it's checked out and imported into a project, the files aren't recognized as "versioned files" and I cannot make commits or compare, etc. When i right click a file in the project there is no "sub...
stackexchange/codereview
Hi I'm trying to solve the exercise from https://github.com/alexch/learn_ruby I must write a method which should "multiplies two numbers" and "multiplies an array of numbers". I'm fresh to ruby and solved it, with only one method like this: def multi(*l) sum = 1 l.flatten! if l.is_a? Array l.each{|i| sum ...
stackexchange/codereview
I'm trying to create a database that contains mock objects for testing purposes. I'd prefer to have this db reside in my test package instead of in my application package. protected class MockObjectOpenHelper extends SQLiteOpenHelper { MockObjectOpenHelper() { super(instrumentation.getContext(), FILE_NAME...
stackexchange/codereview
I Have 2 Tables, One For New Pictures and One For New Users, i want to create like a wall that mixes the latest actions so it'll show new users & pictures ordered by date. What i want is a single query and how to know inside the loop that the current entry is a photo or user. TABLE: users Columns: id,username,fullname,...
stackexchange/codereview
I'm writing a cross platform file explorer in python. I am trying to convert any backslashes in a path into forward slashes in order to deal with all paths in one format. I've tried not only using string.replace(str, '\\', '/'), but also creating a method manually to search through the string and replace the instances,...
stackexchange/codereview
I have a nested model form that throws the error "undefined method 'media_type' for #<Array:0x1060460d0>" when calling update_attributes. What is wrong with the media_type association? class Publication < ActiveRecord::Base has_many :products accepts_nested_attributes_for :products, :allow_destroy => true end clas...
stackexchange/codereview
I tried to ask this question earlyer but I think I rushed the question and did not get accross what I was thinking... Does the value and objects of $this get passed to an extened class? <?php class bar { public function foo( $t ) { $this->foo = $t; } } class foo extends bar { public function ...
stackexchange/codereview
What's the difference between readObject and defaultReadObject in the ObjectInputStream class? I can't seem to find very much information on the difference.
stackexchange/codereview
Ok, there have been some questions alluding to this before, and I've even read some second-hand reports of people successfully doing this, but so far I haven't found a concrete answer. Basically, I want to build an application for simulator using iOS 4.x, and then run it on a 3.x simulator. I have both SDKs installed, ...
stackexchange/codereview
I have this code: datatype 'a Tree = Empty | LEAF of 'a | NODE of ('a Tree) list; val iL1a = LEAF 1; val iL1b = LEAF 2; val iL1c = LEAF 3; val iL2a = NODE [iL1a, iL1b, iL1c]; val iL2b = NODE [iL1b, iL1c, iL1a]; val iL3 = NODE [iL2a, iL2b, iL1a, iL1b]; val iL4 = NODE [iL1c, iL1b, iL3]; val iL5 = NODE [iL4]; fun treeToS...
stackexchange/codereview
Kind of new to trees and recursive functions.... I know the basics of how to create a stack and how to create recursive functions. I am making a pre-ordered traversal search that should return the address of a node in a tree when the value being searched for matches the value of that node. I'm having trouble with the ...
stackexchange/codereview
I'm working on a website and the <body> tag doesn't stretch down the full length of the <html> tag. Both have a min-height of 100% and I thought that meant the <body> tag would adjust based on what it was embedded in, which is the <html> tag. I've been changing values around in firebug to see if it would do anything bu...
stackexchange/codereview
So, everybody told me that Drupal can run on lighttpd without any difference, but there is one and it is horrible: there is not PECL Progressing Bar. Is there any way to make it work ? I need a progress for my customer, they are uploading big files using the CMS... thanks
stackexchange/codereview
Help me, please, solve one problem. I have project, which uses Nhibernate and Fluent Nhibernate. There I created one base class (it is not real classes, but they describe my situation): public class Document { public virtual int Id { get; private set; } public virtual Account Acc { get; private set; } } And m...
stackexchange/codereview
What of instead of the standard Django template rendering model which is server side, there were a library that allowed something that looked like a Django template to be rendered with JavaScript in the client's browser? The variables could be filled in by getting a JSON blob from the server and rendering the template ...
stackexchange/codereview
I was wondering, whats the best practice on the example below. <?php if(isset($_POST['query'])){ $out = $_POST['query']; } ?> <div><?php echo $out; ?></div> <input type="text" value="<?php echo $out; ?>" /> Using the above code would this pose a threat to website. Or would I need to prepare the output before using...
stackexchange/codereview
I want to generate create table script of already created table in my live database. I know we can generate scripts using right click on table and click on 'script table as' menu and script will be generated. Because my live db UI is running very slow. I want to do same process using SQL query. is there any way??
stackexchange/codereview
HI , I am using Prototype Javascript for my application . I am having a Html like <span style="display: none;"> <span class="fn"> <span class="given-name">NAME</span> <span class="family-name"> </span> </span> <span class="email">email@gmail.co...
stackexchange/codereview
I'm trying to learn SQLite and searching for techniques to speed up my query. I see some here trying to go squeeze out ms, when I'm easily in the mega seconds. I have one SQLite db with four tables, although I'm only querying three tables. Here's the query (I am using R to invoke the query): SELECT a.date, a.symbol, SU...
stackexchange/codereview
When I compile my application to target version 4.0 of the framework, UI performance goes straight to hell. For instance, opening an Expander that contains a Grid with maybe 6 Label and TextBox controls goes from near-instantaneous to 3-4 seconds, and there's then a visible delay between the time it renders the grid's...
stackexchange/codereview
Can you help me with creating an RSS feed?
stackexchange/codereview
I am getting this string from server in response, which is actually in arabic "&#1606;&#1585;&#1610;&#1583; &#1571;&#1606; &#1606;&#1585;&#1609; &#1607;&#1584;&#1575; &#1601;&#1610; &#1575;&#1604;&#1604;&#1594;&#1577; &#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;" You can see this text in arabic on browser like thi...
stackexchange/codereview
Wikipedia says that: Non-blocking algorithm ensures that threads competing for a shared resource do not have their execution indefinitely postponed by mutual exclusion. How can one ensure that this is achieved when multiple threads need to access some critical section?
stackexchange/codereview
I am using FastCSV. WHen I do this: title = "\"" + some_title + "\"" My file looks like: """some title """, 23, 22 I want: "some title", 23,22
stackexchange/codereview
Using MSHTML I'd like to set the user focus on a text element, what I've been given and tried so far doesn't work. CComPtr<IHTMLInputTextElement> field; field->put_value( .. ); // I have the right element as I can set the text... VARIANT vStatus; vStatus.vt = VT_BOOL; vStatus.boolVal = VARIANT_TRUE; field->put_status...
stackexchange/codereview
I am creating a custom cell class wherein I am putting different types of subviews in my init method but with frame as CGRectZero. self.subTitleLabel = [[[UILabel alloc] initWithFrame:CGRectZero] autorelease];[self.contentView addSubview:self.subTitleLabel]; self.scannedProductLabel = [[[UILabel alloc] initWithFra...
stackexchange/codereview
Hello: I have the following: 1. Shapefile of the world with the boundaries of each country -- Successfully imported shapefile into PostGIS database -- Can display map of the world in a browser via Openlayers. 2 A data (CSV) file where each record has a. birth country, b. gender, c. lat and long of the coun...
stackexchange/codereview
I got into django recently and start playing around with the tutorials & documentation (with the development version). Everything has been fine till I decide to update again to the latest django trunk and well my admin media are not showing up at all! After some troubles, I managed to get admin media showing by comment...
stackexchange/codereview
My program is not doing a great job. In a loop, data from each processor (list of tuple) are gathered into the master processor that needs to clean it by removing similar element. I found a lot of interesting clue on internet and especially in this site about union of list. However, i have not managed to apply it to my...
stackexchange/codereview
I've read that wait-free causes all threads to finish independently and lock-free ensures the program as a whole completes. I couldn't quite get it. Can anyone give an example (java) illustrating this. EDIT: Does lock-free mean a program without deadlock?
stackexchange/codereview
what is the best way of troubleshoot a stored procedure in SQL Server, i mean from where do you start etc..?
stackexchange/codereview
Question is simply... why this doesn't work? replace([l|[r|[r|[l|R]]]], Result) :- append([f,f],R,Result). replace([HEAD|TAIL], Result) :- replace(TAIL, Y), append(HEAD,Y,Result). ?- replace([l,r,r,l,r,r],X). returns X = [f, f, r, r] . but ?- replace([r,l,r,r,l,r,r],X). gives false why not X = [r, f, f, r, r] . ? ple...
stackexchange/codereview
UITableViewController doesn't scroll automatically anymore? When you have a text field inside a UITableViewController cell that would be obfuscated by the keyboard, if the field receive the focus, the UITableViewController scroll (or it should) the field to a visible area. I have a simple UITableViewController inside a...
stackexchange/codereview
i have id "@+id/call" in single_item.xml when i use findVewById it (the layout setcontextview(R.layout.main)) .the app crash .how to fix the error
stackexchange/codereview
I have the following string: Mr John Smith Dickson <john@yahoo.com> I want to split it into three parts: 1st part - Mr 2nd part - John Smith Dickson 3rd part - john@yahoo.com I'm confused with how I might go about accomplishing this, can anyone help? the above name is just sample, the name might be vary, eg. Joh...
stackexchange/codereview
i want to buil a service but im confused whit 2 option option 1 : im runing apache, mysql, ftp, in one machine and 1 os (NO VM) option 2 : im make each server such as apache, mysql at one Virtual machine. so apache server have 1 Vm, Mysql server have 1 VM to. but im only have 1 phisical machine. where is more powerfull...
stackexchange/codereview
I don't want to use SplitView but want only Navigation based application so what should I do. I have taken View Based application and now I am trying to convert it into Navigation based. I want only Navigation based application in iPad.
stackexchange/codereview
I working with ASP.net and I am wondering if there is a simple way to show "Page Loading" message until the page finishes to load. Thanks.
stackexchange/codereview
I have a JLabel with a box icon on it. I create the icon's image in photoshop. It's a png-24 image with the background full erased. But when moved on top of a dark background, you can see that the background isn't fully transparent: EDIT #2: The image IS transparent. I've even gone through photoshop tutorials to mak...
stackexchange/codereview
Here is the setup: dynamically generates content for a number of items which need to be displayed together inside a single div. The layout is: An outer div (the container for everything), several inner divs (content varies), and a div inside each other inner div, along with some text. The outermost div is part of the p...
stackexchange/codereview
Let's say I have two lists, l1 and l2. I want to perform l1 - l2, which returns all elements of l1 not in l2. I can think of a naive loop approach to doing this, but that is going to be really inefficient. What is a pythonic and efficient way of doing this? As an example, if I have l1 = [1,2,6,8] and l2 = [2,3,5,8], ...
stackexchange/codereview
In Safari, Firefox: www.facebook.com/#!/home.php?sk=updates In Chrome: www.facebook.com/home.php?sk=updates ...without #!. What's the trick?
stackexchange/codereview
Is there a standard set for the number of rows and columns (width and height) that are displayed in a standard console window? Does it vary by Operating System? In windows you can resize the window vertically to allow for more rows. Are all characters mono space and do they take up a perfect square? I'm curious as to ...
stackexchange/codereview
I am trying to use xml.etree.ElementTree to parse responses from eBay finding API, findItemsByProduct. After lengthy trial and error, I came up with this code which prints some data: import urllib from xml.etree import ElementTree as ET appID = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' isbn = '3868731342' namespace = '{...
stackexchange/codereview
I have an old Excel application that someone made, and I am wondering what this does: Range("AF6") = "FALSE" Edit: I discovered that it sets the cell to False. This changes the color of another cell, how does it do that?
stackexchange/codereview
I have a function that returns a step size from a bounded range. So if the range is {1,2,3,4,5,6..10} and I want 5 steps it would return a step size of 2. This isn't that complicated. If I have {.1,.2,.3,.4....1} and I want 7 steps the step size is 0.14285. I then want to convert 0.14285 to the nearest relevant time...
stackexchange/codereview
When a user scrolls to the bottom of the Terms and Conditions it will remove a class on a#submit button, once you click a#submit it will remove the class disable on a#submitbutton. Everything sort of works, but it takes two clicks to get the first class removed, also if you don't scroll down, it will add a class highl...
stackexchange/codereview
i am looking to execute the following commands within a shell script: $ sqlite3 /Users/riceje7/bin/places.sqlite sqlite > .output places.txt; sqlite > SELECT url FROM moz_places; sqlite > .quit; $ lpr /Users/riceje7/bin/places.txt however the script stops after the initial sqlite3 command call and only executes the ot...
stackexchange/codereview
I am having trouble capturing an event when a form submits. I am dealing with a third party iframe over which I have no control, and when the user clicks a submit button there, it calls a javascript function that does a form.submit() in javascript with: target="_parent". This third-party iframe is also inside a nest...
stackexchange/codereview
I would like to be able to tell how long it takes to get from power on to windows starting. Is there a way of determining this retrospectively (ie once windows has started)? Does the BIOS/CMOS hold a last boot time? Would it be possible to tell from RDTSC how long a machine has been running for and subtract the windows...
stackexchange/codereview
I have a JQuery 1.4.2 plugin, that uses a set of options. It's pseudo code is like this: (function($) { // Shell for the plugin code $.fn.myPlugIn = function(options) { // Plugin code return this.each(function() { // for each item in selector options = $.extend($.fn.myPlugIn.defaults, options)...
stackexchange/codereview
Is there a shortcut to clear all breakpoints within all projects within a solution in Visual Studio?
stackexchange/codereview
How can I place my air files in the specific location on the monitor. I have 3 movieclips at my project. Let's say I want movieclip "A" to be at left bottom corner at my monitor. movieclip "B" center the monitor. movieclip "C" top right corner of the monitor. The air app will be custom window(transparent) I understand ...
stackexchange/codereview
i have a dynamic type var f = context.ExecuteStoreQuery<dynamic>("CALL iv_sp_computersbyday(); how i can now what properties have the dynamic tuype returned??? i cant acces by reflection on the dynamic.
stackexchange/codereview
just a brief QList intro, QList is similar to QVector and STL vector but in addition it also reserves some space at the beginning; (and in the end too) I am looking for something similar in STL , if not atleast Boost Reserving space at the beginning improves prepending or removing the first item (constant time), becaus...
stackexchange/codereview
My main question is: Does the theme_hook() function gets called whenever the form gets rebuilt via ahah (ahah_helper) ? I'm trying to show a select box, with some filtering options, when the user changes it, the table below it changes too. I have this by now: function veiculos_listar_form($form_state) { $form = arr...
stackexchange/codereview
If a javascript function is declared anonymously is there any way to override it or portions of it? I am attempting to stop google.com's instant search from hijacking the up and down arrow keys to move through your search rankings. I have identified what I believe is the problematic section of code. Keycodes 38 and 40 ...
stackexchange/codereview
I have a domain name, and have installed concrete5 under my public_html folder. So it is public_html/concrete5.4.1 folder. Now how would I redirect my traffice to concrete5 folder ? That is when the user types in www.domainname.com it should show the index.php page from public_html/concrete5.4.1 folder. Thank you very ...
stackexchange/codereview
I'm having a problem with OpenAL that only seems to occur with iPod hardware, and the odd thing is that it was working fine, and now it's not. I'm setting up the audio session: [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayAndRecord error: nil]; UInt32 audioRouteOverride = kAudioSessionOverrid...
stackexchange/codereview
I am working on a recorder software for desktop PC that works on Windows XP/7. I would like to be able to remove backgrounds from the recorded video by means of chroma keying. (source: kudlian.net) Any info of such algorithms, complete libraries, open source projects? I need it to be accessible from c#, and preferab...
stackexchange/codereview
I just read thought php doucmentation for heredocs but I did not see any way to intent the code properly. Is this possible in php? Right now I am doing this, but this is bad for readability. <?php if(something){ ... echo <<< END This is a test. I am writing t...
stackexchange/codereview
Breakpoints set in Visual Studio for a C++ project aren't hit when I run the debugger. When I launch the debugger I get the warning Debugging information for 'IEXPLORER.EXE' cannot be found or does not match. No symbols loaded. Do you want to start debugging? I hit yes to continue, but then the breakpoints I set hav...
stackexchange/codereview
Does anyone know how I can remove the address bar from the Android browser to better view my web app and make it look more like a native app?
stackexchange/codereview
I have following div on my page: <div id="container"> <div id="resizable">some content</div> </div> I have following function to make it resizable: $(function(){ $('div#resizable').resizable(); }); Till here everything works fine and I have resize handle in bottom right corner of the div, but on click of function ...
stackexchange/codereview
Say I have an array of thousands of objects, and a small number of threads that might access each of the objects. I want to protect the access to one of the objects methods. Easiest way would be to declare that method as synchronized. However, that might result in creating thousands of monitors, whichever way they are ...
stackexchange/codereview
Does anyone know if administrators of a magento store receive an email when a new order is created? If so, where/how do I edit it?
stackexchange/codereview
I have the folowing script; The problem is that i can use the jquery scripts inside the loaded file index.html <html> <head> <title>Ajax with jQuery Example</title> <script type="text/JavaScript" src="jquery.js"></script> <script type="text/JavaScript"> $(document).ready(function(){ $.ajax({ url: 'ajax/test...
stackexchange/codereview
Id like to know how I can covert a string into a pascal case string in javascript (& most probally regex). Conversion Examples: double-barrel = Double-Barrel DOUBLE-BARREL = Double-Barrel DoUbLE-BaRRel = Double-Barrel double barrel = Double Barrel Check this link for further info on Pascal Case
stackexchange/codereview
I have text in a textbox, which says "NEW NAME HERE" Is it possible with in VBA to clear this text as soon as the user clicks in that textbox? If so could anyone please let me know how? THANKS-
stackexchange/codereview
I am trying to understand how works the key sorting / insertion check in a hashtable. I've understood that when I'm adding an object to a hashtable, it checks at runtime that there isn't the same key already entered in there. In my test, I've 2 hashtables which keys are filled in with: 1- Integers 2- An object which I'...
stackexchange/codereview
Does html5 help developers animate vector graphics in any way? I'm talking about straight key-frame vector animation, such as what flash does. Is the way to do this basically using javascript to manipulate SVG graphics (such as what http://www.raphaeljs.com does? which is a bit weird to me since it's been supported in...
stackexchange/codereview
Is it possible to resolve a service in autofac without registering it with the container? So far I have come up with something like this: public object ResolveUnknownService(IContainer container, Type serviceType) { ILifetimeScope lifetimeScope = container.BeginLifetimeScope(b => b.RegisterType(service...
stackexchange/codereview
From my .htaccess file: RewriteRule ^showPAGE.php page [NC,R=301] RewriteRule ^page showPAGE.php [NC,L] I want users going to url domain.com/showPAGE.php to be redirected to domain.com/page . When domain.com/page is being entered, I want it to show the content of the file showPAGE.php. Is that possible to do? The ab...
stackexchange/codereview
I'm using your messenger class to communicate between views/controls and viewmodels. Currently I have the same usercontrol multiple times on the same view. The problem is that when one viewmodel sends a message back to the usercontrol then all of the usercontrols (of that same type) in my view get updated. How can this...
stackexchange/codereview
DELETE FROM mytable WHERE id IN (SELECT id FROM mytable where roll=1) I have a table mytable. My above query is throwing an error. You can't specify target table 'mytable' for update in FROM clause
stackexchange/codereview
I want to first form a 3-digit code once a user enters some input in a textbox. I have a database table that has the text value that is to be entered in a text box for these text values there is corresponding numeric value which ranges from 3-999. suppose user enters 'asd' and corresponding value in the database table ...
stackexchange/codereview
How to query Post with current date month with custom field: Here is my code <?php global $wp_query; $event_month = get_post_meta($wp_query->post->ID, 'eventdate', true); //format in db 11/15/2010 $event_month = date("n"); //A numeric representation of a month, without leading zeros (1 to 12) $today...
stackexchange/codereview
I keep trying to validate my webpage and I keep getting the same errors below...and all I have are text in paragraphs. They are not meant to be lists or anything like that. See errors below. Line 61, Column 3: document type does not allow element "p" here; assuming missing "li" start-tag <p>Try a fun way to raise mon...
stackexchange/codereview
Does anyone have any ideas on the right way to do this? There is one answer to a similar question on here, but it's so convoluted, I can't imagine it being right. There has to be an easier way to just show the keyboard when this modal view pops up. right?
stackexchange/codereview
What is the exact difference between HTML and XHTML? I have seen related posts here, but I am not getting it exactly.
stackexchange/codereview
I have a page which needs to use $.post() but for some reason the exact code works when I run it from the firebug console but not from my script? My script is: $(document).ready(function () { $('#dl_btn').click(function () { $.post( "news_csv.php", $("#dl_form").serialize(), function...
stackexchange/codereview
I have been tasked with auditing build servers using CruiseControl.NET. There are quite a few of them, and I was wondering if there was a way to programmatically / automagically compile a list of the projects on each of them. Is there a way to do this? My first instinct is to use PowerShell (v2.0), but I am not sure ho...
stackexchange/codereview
I have a table that has about 10000 entries each entry has almost 100 boolean values. A user checkboxes a bunch of the booleans and hopes to get a result that matches their request. If that record doesn't exist, I want to show them maybe 5 records that are close(have only 1 or two values different). Is there a good ...
stackexchange/codereview