instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
our assignment is to implement a linked list class to do the following with time complexity of O(sqrt(n)): insert an element at i th place delete an element at i th place retrive i th element of the list. I found a few data structures like skip list. but the time complexity should be O(sqrt(n)). anyone can help?
stackexchange/codereview
In my forum project I have a partial view (.ascx) that is used for adding a new forum post. Forum posts live inside Topics (Categories) and both these tables have a column named Title. Now the problem is that when I place the partial view on a Topic page, it automatically grabs the Title value from the Topic, thus popu...
stackexchange/codereview
Maybe the answer is simple, but I have not found any hint pointing in the right direction: EventQuery calQuery = new EventQuery(_calendarFeedString); calQuery.StartTime = sDate.Date; calQuery.EndTime = sDate.AddDays(1); //(EndTime is exclusive calling Google Feeds) // Goo...
stackexchange/codereview
For jQuery template: http://api.jquery.com/category/plugins/templates/ I want to be able to dynamically load the templates from a server, rather than predefining it on the page. The demos I saw on the projects are using predefined templates. After some research I found out that it is possible. I try doing this and it d...
stackexchange/codereview
I would like write a java function like: if one char is not in GB2312, return false Boolean isGB2312(String chinese) { ...... }
stackexchange/codereview
I have created a custom module in magento and wants to show products with their URL as links. I am trying in this way :- for ($counter=0; $counter < count($products); $counter++) { $_product = Mage::getModel('catalog/product')->loadByAttribute('id',$products[$counter]->product_id); echo $_product->getProductUr...
stackexchange/codereview
I just want to keep the DVD spinning in the DVD ROM drive once the disc is inserted. My only purpose is to reduce the disc spin up time when the user finally wishes to play the DVD at some later point in time. Users can choose whether s/he wants to prevent the disc from spinning down. So, the question really is how can...
stackexchange/codereview
I can execute html script and html suite through RC. Now I would like to execute javascript through Selenium RC. I have few question related to this. Should I need to set class path for that? After writing test script in javascript, what is the format of javascript suite. Please provide example. What will be the comme...
stackexchange/codereview
My current application uses a JList and everything is well (the only customization I did was to set the italic font on some of the rows). Now I want to "upgrade" the user interface and instead of just labels in the List, I want a checkbox and a text field to be able to update the entry. I started changing the code and ...
stackexchange/codereview
Sorry if this is a little abstract. I'm in the early stages of development. I have two object types: An object that needs to store a series of user defined conditions. An object that matches zero or more of the conditions defined in the first object. Here's a simple example of how it would run. A user creates severa...
stackexchange/codereview
I'm part way through building a fairly complex HTML5 web app, that retrieves its data from a Web Service to populate the Web SQL databse. All was going well with the test data, then I tried using some real data (a table with around 10 cols and over 180,000 rows) and ran into some issues. I am sending the SQL responses ...
stackexchange/codereview
Sorry, just a quick question before I submit an assignment online. I just followed this guide - http://www.ehow.com/how_6104990_create-_tgz-file-windows.html to make a .tgz file from one of my folder. I then renamed the file created from .tar.gz to a .tgz. I was just wondering would this have the exact same result as t...
stackexchange/codereview
NSDateFormatter* dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; [dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss.sss"]; self.date = [dateFormatter dateFromString:dateString]; the code works fine with this string "2007-06-10 06:31:54.935" but doesn't work with this one (it returns nil if the time is ...
stackexchange/codereview
I have a php app that calls a class called Client. Every so often I get a sort of time out error. I thought it was SQL at first but it turns its pointing to the class itself. Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\ClientPortal\c...
stackexchange/codereview
We have to use Asynchronous Task to start our new Activity on Tab Click event but in the ListView or any view we can directly can start the new activity Why?
stackexchange/codereview
There is a checkbox added in user profile form, subscribe to daily newsletter. I want to get list of users who have subscribed (checkbox ON) and send them daily newsletter. How can I do this in drupal-6. (1) to get list of all subscribed users (2) Send them Email. If you can explain at code level, I 'll really appreci...
stackexchange/codereview
I have a UIWebView on my interface and I have added a UIToolbar with a next button and previous button. When I press the next button, I want the WebView to load a different HTML page. BUT I also want to run an if statement to determine which HTML page the WebView currently has in it. So For example. If the UIWebView ha...
stackexchange/codereview
Isn't there some way to combine two images together using the xOr operator? I realize I can step through pixel by pixel, but with all the graphics options available to Flash, I am reluctant to take such a ham-fisted approach. How can this be accomplished efficiently? var pixel1:uint; var pixel2:uint; var xorMergedPix...
stackexchange/codereview
i have the following code where i have a dropdown list (with class="addToList" and followed by a button (Class="addtoButton"): When i click on the button, i want to grab the current selected value and text from the previous dropdown list. $(".addToPortalButton").live('click', function (e) { // grab the previous dropdo...
stackexchange/codereview
I have a list of customer and i need to sort and group the list according to business rule. Group by Customer Name Sort by Customer Name in alphabetical order if there are several results for the same name, then they need to sorted by date of birth in ascending order (the oldest is listed first) Below is the entity....
stackexchange/codereview
I have a Web Service that i have created using C# and Visual Studio 2010. The definition is below. [WebService(Namespace = "http://targetrocksoftware.org")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, us...
stackexchange/codereview
I have implemented an AutoCompleteTextView for searching. Is AutoCompleteTextView supported in all SDK versions and targets, because when I tried this sample it shows an empty dropdown list. When I used the same in my application for parsed content placed inside a string array, I'm getting an Exception. Log.v("Length o...
stackexchange/codereview
Does the facebook api expose friends postcodes? Ie is it possible to make a call to the api and have it return a list of postcodes of your friends which have address information listed under the "friends only" privacy setting?
stackexchange/codereview
I have already built a site with a strong page ranking in Google, but I started with too many subdomains, so I've re-worked the code so that it can all be one a single domain. I have created a separate app which ought to simply act as a filter, permenantly redirecting all requests made to sub1.mydomain.com/something?id...
stackexchange/codereview
How to find the app is installed in device.
stackexchange/codereview
Possible Duplicate: Alter MYSQL Table To Add Comments on Columns Hi Guys, I googled all over the place but I can't find the answer. I know you can add comments to your database columns. I already created a table but now i want to add comments to certain columns, my database programma (sequel pro) doesn't have a func...
stackexchange/codereview
I need to retrieve the most recent item added to a collection. Here is how I'm doing it: class Box(db.Model): ID = db.IntegerProperty() class Item(db.Model): box = db.ReferenceProperty(Action, collection_name='items') date = db.DateTimeProperty(auto_now_add=True) #get most recent item lastItem = box.items...
stackexchange/codereview
For my Edit Profile page, all the items are from the User entity. Things like email, password, fullname, city, etc. I'm using ASP .NET MVC2 along with Entity Framework 4. I'm wondering if I should create a separate ProfileModel for my EditProfile View or if I should just use the User entity created by EF. My dilemmn...
stackexchange/codereview
I am currently having a sharepoint site collection which is in my sharepoint development environment (http://Asa-PC:88/home/) I am also having a different sharepoint site collection (http://Asa-PC:2222/sports/), and my requirement is to add the sports sites home page as a page in home site collection, in other words, w...
stackexchange/codereview
I have an application that consists of multiple python scripts. Some of these scripts are calling C code. The application is now running much slower than it was, so I would like to profile it to see where the problem lies. Is there a tool, software package or just a way to profile such an application? A tool that will ...
stackexchange/codereview
NSMutableArray *myArray = [[NSMutableArray alloc] init]; MyClass *obj1 = [[MyClass alloc] init]; [myArray addObject: obj1]; How to clean the old obj1 reference here, if I want to reuse the variable name. Without destroying anything in the array. obj1 = nil OR [obj1 release]; // What is the differences? obj1 = [[My...
stackexchange/codereview
I have a upload script, working fine. But I cannot seem to get an output to the user saying, record 1 of 10 files uploaded. I could do something like record 1 of 10 files uploaded record 2 of 10 files uploaded record 3 of 10 files uploaded record 4 of 10 files uploaded ... .. record 10 of 10 files uploaded which is ea...
stackexchange/codereview
Ok. I have some experience with HTML and CSS, little with Javascript and none with JQuery. And I'm trying to try out in my HTML file the Galleria plugin with fullscreen theme but I can't make it work. ( http://galleria.aino.se/ ) It only show the empty page with no pictures. I took the source code from the demo page an...
stackexchange/codereview
Maybe it's a stupid question, but I'm trying to login to my django app using a form that is outside django. My guess is that I could send a POST request to /login, but that would fail because of the csrf token. Maybe I'm missing some kind of theoretical background, but I would like to know what's the correct way to ach...
stackexchange/codereview
Hi I want to incease the size of UIPAgeControl on iOS... on google i've found this http://www.onidev.com/2009/12/02/customisable-uipagecontrol/ was wondering is there any other way....?
stackexchange/codereview
I'm using QueryPath to manipulate a pages DOM. The page I'm manipulating has some tags that QueryPath doesn't know how to interpret. I've tried passing the following as options but I still get errors: ignore_parser_warnings use_parser (html) I get the following errors with these enabled: Warning: DOMDocument::loadHTML(...
stackexchange/codereview
All, def a(p): return p+1 def b(func, p): return func(p) b(a,10) # 11 here I do not want the result "11" actually, what I want is a function object with the parameter has been binded, let's name it c. when I use c() or something alike, it will give me the result 11, possible? Thanks!
stackexchange/codereview
I want to easily perform collective communications independently on each machine of my cluster. Let's say I have 4 machines with 8 cores on each, my MPI program would run 32 MPI tasks. What I would like is, for a given function: on each host, only one task performs a computation, the other tasks do nothing during this...
stackexchange/codereview
I have this code in my jsp <div class="controls"> <input type="image" class="sprite submit-button button" name="SubmitChangeCreds" value="ChangeUIDSubmit" src="../images/layout/transparent.png" /> </div> In my servlet I am trying to get the value of this image like this request.getParameter("SubmitChangeCreds") B...
stackexchange/codereview
Is there any way to programmatically figure out if a certain framework (say, CoreLocation) is added to the project? Thanks!
stackexchange/codereview
(define *graph* (read (open-input-file "test.sxml"))) (define get (lambda (l) (cond ((null? l) '()) ((equal? 'opm:artifacts (car l)) l) (else (get (cdr l)))))) (get *graph*) I have this recursive function that goes through the list and returns the rest of a list that starts with "opm:artif...
stackexchange/codereview
Possible Duplicates: Is shifting bits faster than multiplying and dividing in Java? .NET? Quick Java Optimization Question Many years ago in college, I learned that bit-shifting right by one accomplishes the same thing as dividing by two, but is generally significantly faster. I'm not sure how Java has come along i...
stackexchange/codereview
I'm trying to create a link in one Joomla article that points to another article, but can't see how this should be done. Could you please tell me how to do it?
stackexchange/codereview
BlockUI is throwing some exception when using its demos on IE9 beta. Meanwhile, does anyone know a similar feature in jQuery for showing a "Please wait" message when ASP.NET AJAX is processing?
stackexchange/codereview
I've spent days trying to launch any Android program. Even "Hello World" gives me the same error: "The connection to adb is down, and a severe error has occurred". I'm running Eclipse v3.5 (Galileo), Google APIs 2.2.8, on a Windows XP machine. I've used all the tricks I can find on the web: the command line "adb kill...
stackexchange/codereview
Here is a common scenario I Have these Entity User UserId UserName ... UserQuestion UserQID UserID UserQuestion UserAnswer One user can Have many question, but one question is attached to one user. In my example, I create 3 Empty entities (UserQuestion). Then I attache these question on the user. In the vie...
stackexchange/codereview
I am using hudson, but it does not set variables like HOME and USER which are used my bash scripts. Those variables are correct on other server that runs debian, and on open suse are not set. I see that on open suse the server is started by /sbin/startproc. I could go for built parametrization: This build is paramete...
stackexchange/codereview
I was trying to install CI tool Hudson on a Solaris SPARC by deploying hudson.war to the jboss AS. I made changes in run.conf to point to the correct jdk ( setting environment variables JAVA_HOME and JAVA), and other required changes like setting JAVA_OPTS etc. I also set an env variable HUDSON_HOME= to point the hudso...
stackexchange/codereview
Background: I have template stream operators (e.g. operator << (ostream &, std::vector <T>)) (that output container elements that may possibly be of some 8-bit integer type, (e.g. unsigned char, int_least8_t, et cetera). Problem: Default is that these types are output as char (ASCII). I only used char (or wchar_t or wh...
stackexchange/codereview
Apologies if there is a thread for this already, I couldn't find one that I could get my teeth into. Anyway, I'm new to WPF and want to create a custom control that will be a sort of graphic control. The graphic will always consist of a circle, containing a matrix of several squares (from several hundred to several tho...
stackexchange/codereview
We're using Fancybox to throw up essentially an interstitial ad. The page loads, then Fancybox loads over it, and displays our ad content. For most ad content we've put up, this has worked (hand-coded links/images, DoubleClick content, etc). But ads from Burst Media seem to cause no end of headache. As soon as Fancybox...
stackexchange/codereview
I'm using WebClient to mine a bunch of data. To conserve bandwidth (for both the client and web server), and speed my program up, I'd like to abort certain downloads early if it becomes evident that the file I'm downloading doesn't contain the information I'm looking for. I'd like to base this decision based on the hea...
stackexchange/codereview
I'm trying to serve static content (a HTML form that calls a Jersey REST resource) from the same webapp as the servlet that handles the requests to the resource. As I understand I can filter requests to static content away from the Jersey servlet. My web.xml is as follows, but at the moment I am unable to access the st...
stackexchange/codereview
I'm trying to get the hg-git extension working under Windows and after hours of fiddling, I finally seem to have it working. However, nothing shows up in my git repository even though the output of hg push reads: importing Hg objects into Git creating and sending data github::refs/heads/master => GIT:8d946209 [comm...
stackexchange/codereview
I'm working on a Python program that plays music. One feature will be a slider that the user can drag up or down to change the pitch of the music as it plays. For example, if the pitch is set to 2, then the music will sound one octave higher, it will play twice as fast, and it will last half as long. All I'm really cha...
stackexchange/codereview
I have a class that has a static member, which I want to use in the class constructor, but the code doesn't compile, and I'm left with these errors: fatal error LNK1120: 1 unresolved externals error LNK2001: unresolved external symbol "protected: static class Collection A::collection" Any help will be appreciated. Th...
stackexchange/codereview
I have following problem: I need to create an NSMutabeArray with every weekday after a specific date. This should look like: Thursday 28 october 2010 Thursday 04 october 2010 Thursday 11 october 2010 ... How can I do that? I think it has something to do with NSCalendar, but I can't find the right solution... Could yo...
stackexchange/codereview
This is a fundamental design question about the service layer in my application, which forms the core application functionality. Pretty much every remote call reaches a service sooner or later. Now I am wondering if every service method should have a User argument, for which the operation should be performed or if the...
stackexchange/codereview
I need to fix a third-party component. This component's class has private variable which is actively used by its descendants: TThirdPartyComponentBase = class private FSomeVar: Integer; public ... end; TThirdPartyComponent = class (TThirdPartyComponentBase) protected procedure Foo; virtual; end; procedure TThi...
stackexchange/codereview
I am working on JiST/SWANS, Java-based discrete event simulator, in Eclipse. Moreover, in Vanet.info (http://vanet.info/node/14) extensions and improvements for JiST/SWANS have been developed. I used all the instructions(http://vanet.info/node/119) in Vanet info to prepare my simulation environment. There is no error...
stackexchange/codereview
How can I implement the part below that I do not want to display on the last result? <?php foreach ($products->result() as $row): ?> <h3><?= $row->header; ?></h3> <p><?= $row->teaser; ?> </p> <a href="">Read More</a> <!-- DONT DISPLAY THIS LAST LINE IF ITS THE LAST RECORD --> <div class="divider...
stackexchange/codereview
I am not JS expert.. I want when I select a < option> in < select> it will pass the user to another page. How can I do it?
stackexchange/codereview
I have some data in my dev database (not yest exported to fixtures), so I dont want to run syncdb. However, I have lost my pwd for the admin section of my demo django website (I have not worked on it for a little while) Is the password stored somewhere in the config/settings etc? How can I recover the admin pwd?
stackexchange/codereview
When executing build->clean solution in Visual Studio 2005 I want to also remove some debug text files that may exist in my build directory. The file name will always be the same, i.e. debug.txt. Is there a way to get Visual Studio to do this?
stackexchange/codereview
Sorry if this has been asked before, I haven't been able to find just what I am looking for. I am reading fields from a list and writing them to a block of memory. I could Walk the whole list, find the total needed size, do one malloc and THEN walk the list again and copy each field; Walk the whole list and realloc th...
stackexchange/codereview
I have a WPF RichTextBox which contain in its FlowDocument both text and images. I need to iterate through the text's words (those which builds the text which the user see on the screen) and change their content and formatting. For instance, change the word "room" to the word "home", applying to the last a red color. ...
stackexchange/codereview
I have a solution consisting of several library project and one application project. I want to create a separate application test project. However, my problem is how I can write test for the application project since I can't link to it? I've added the application project as a reference in "Common Properties", but I get...
stackexchange/codereview
My guess until now was that a dynamic type just "switches off" type checking during compilation and does something similar to a type cast when a message is invoked on a dynamic instance. Obviously something else is going on. The attached NUnit test case shows my problem: Using a dynamic type I can use a method only ava...
stackexchange/codereview
[Update] I see I need the full example to explain. In my Windows Phone 7 App, I got a page containing a TextBox bound to a Decimal "Amount": <TextBox Text="{Binding Amount,Mode=TwoWay}" InputScope="CurrencyAmount"/> The phone settings are set to German. In german localization, a value like 1234.56m would be formatted ...
stackexchange/codereview
I created style to be used as my ListView's item template that contains a CheckBox and a TextBlock: <Style x:Key="CheckBoxListStyle" TargetType="{x:Type ListView}"> <Setter Property="SelectionMode" Value="Multiple"></Setter> <Setter Property="ItemContainerStyle"> <Setter.Value> ...
stackexchange/codereview
I want to use context menu in data grid When I right click on row it is showing the menu. When I right click on next row it is not showing I need to left click and again right click.
stackexchange/codereview
insert into table select * from table where primarykey=1 I just want to copy one row to insert into the same table (i.e., I want to duplicate an existing row in the table) but I want to do this without having to list all the columns after the "select", because this table has too many columns. But when I do this, I get...
stackexchange/codereview
I have a column of "file sizes" that has been output poorly, as in it's not consistent. For example values may be, "4GB", "32 MB", "320 KB", "932 bytes", etc. I need to convert these all to a standard value so that I can add them up for a report.
stackexchange/codereview
I simply want to change the color of the textarea in disqus where one can write his comment in disqus. I spent the last 3 hours in failing to do. With firebug I was able to change it, and I know what css tags I need to use. #dsq-content .dsq-post-fields .dsq-input-wrapper { background: #2A2A2A none no-repeat scroll le...
stackexchange/codereview
I'm a relatively new Java programmer and I'm having difficuly removing more than one element from an ArrayList. Ideally I'd like to do something like this: ArrayList ar1 = new ArrayList(); ar1.add(...) ar1.add(...) ar1.add(...) ar1.add(...) for (int i = 0; i < 2; i++){ ar1.remove(i); } I think iterator might he...
stackexchange/codereview
I have this security question answer input field validate function where I want to make sure the string are converted to lowercase just in case a user enter a answer in caps in the first field and in small case in the second field: validate : function(){ //check if both input fields are not blank //if not blank, chec...
stackexchange/codereview
How do you "require" another file into the existing file in Javascript? Is there anything similar to Ruby's "require" or "load"? > Note: I'm using JS in server (Rhino) Reason: I just need to access the methods in the other JS files. Update: This works only when executing it from cmd line. When I try to call it program...
stackexchange/codereview
Hi have a small entry form that is jquery driven. It works fine on 90% of the pages, but on two pages, the Submit button is out of alignment. I have checked the html and the jquery on working and non-working pages and can't see the difference. I would appreciate another set of eyes taking a look to see what is causing ...
stackexchange/codereview
What is wrong with the logic behind creating a JTabbedPane and getting the tab count of 11, then using a setter? I try to reference the tabCount of the SetObjects.currentJTabbedPane and it throws NullPointerException. create jtp.setSelectedIndex(0); int jtpCount=jtp.getTabCount(); System.out.println(C+M+AND+jtpCount+"...
stackexchange/codereview
Howdy, I love this neat thing found on css-tricks: a:active { position: relative; top: 1px; } Every link gives a little trigger-response. However, I want almost all my links to do that, except the ones inside of .children. Can I create an exception like :not (from jQuery) within CSS? Thank you for your help!
stackexchange/codereview
I am a Django Beginner. I found this Django snippet to show a simple calendar on my web page. The function needed 3 parameters that one can provide within the template as follows: {% load calendar_tag %} <div> <div>Calendar: </div> {% get_calendar for 10 2010 as calendar %} <table> <tr> <th>Mon</th> ...
stackexchange/codereview
I have a number of pre-generated, static xml files containing soap requests. I can read them, send the request, and get back and answer from the server. I would like to get some advice on how to create a dynamic process: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-i...
stackexchange/codereview
In firebug under "Style" its showing the css file as follows when I hover mouse over RadEditor "http://localhost/myWeb/WebResource.axd?d=WSPnt1ffDvgb4bj2Ii5nA4MecfZdsnZ0wvgLy3HVcihYTy2nMTq7iIu8RlAb7ZMF61e07jisMUNhQZabIxK2kyuxNpeCFqhE3cgnDSm1-Pc1&t=634237829795625000" In telerik:RadEditor tag ..I haven't specified any ...
stackexchange/codereview
I have recently put together a JWS application which gets it's argument from a dynamically created JNLP file (details can be found here). It's all good except the application ignores the argument (starts without loading the specified number) on my system (linux x86_64). It seems however that the JWS application exactly...
stackexchange/codereview
Say I have a div with a link in it. When I hover over it I want another div to fade in above it with some content and then fade away on mouse over. Example found here: http://bit.ly/c59sT4
stackexchange/codereview
In some code I'm writing, I have the following line, which gives me error C2064: rs_opCodes[cur_block](); rs_opCodes is defined as such: typedef void (rsInterpreter::*rs_opCode)(); rs_opCode rs_opCodes[NUM_OPCODES]; Does anyone know why I'm recieved error C2064?
stackexchange/codereview
There are two linked SQL Server 2005 machines, server A with a lot of data and empty base on sever B. Our user does not have a permission to create views on A, but have this ability on server B. We checked out a possibility to make selects @B to A, and it's ok, there's a connection. Please, prompt us on how to make a ...
stackexchange/codereview
I have generated a Win32 DLL using C++ in Visual Studio 2008. All of my functions are defined within the only class native to the new DLL. Some functions are declared as private, and others are public. I'm using Dependency Walker to objectively verify the accessibility of the functions in my DLL. My class is declar...
stackexchange/codereview
I create a database in SQL Server 2008 Express (Advanced). Then i have a connection string in my C# using 'SharpDevelop' IDE, Version : 3.2.0.5777, .NET Version : 2.0.50727.3615 <add name="ConnectionString" connectionString='Data Source=.\SQLEXPRESS;AttachDbFilename="D:\Program Files\Microsoft SQL Server\MSSQL...
stackexchange/codereview
I'm trying to dynamically alter all objects in Javascript so that its construction can be hooked. This is what I've got now, which almost works properly: Function.prototype.beforeConstruction = function(newFunc) { var oldObj = this; var newObj = function() { newFunc.apply(this, arguments); oldOb...
stackexchange/codereview
How to select value from a table if it value is not null,and select a default value if not?.I.E: select coalesce(username,'its null') from tb_user where int_id_user = 0 I try to run this query but its not working,i expect to get 'its null' since int_id_user is 0,but it returns NULL.
stackexchange/codereview
I have one link that makes an ajax request and it prints by XHR request another link same at this one before cliked so it's like a loop: starting XHR from <a href="javascript:void(0)" class="doXHR">do XHR</a> than into Ajax success function i repeat into my html this link: <a href="javascript:void(0)" class="doXHR">do...
stackexchange/codereview
I'm using the markItUp! jQuery-based editor in an ASP.NET MVC project. I understand the purpose of the various default folders in ASP.NET MVC, but I'm not sure how a third-party plugin like markItUp! fits into this structure. markItUp! has its own images, CSS files, and scripts, but instead of separating those files i...
stackexchange/codereview
a) I have 1000000 domain names b) Every domain has about 100000 sites c) each site has about 10000 visits daily / (5000 unique visits daily) d) As the owner of all those websites, I want to see, how many visitors on selected sites I had in a selected periods of time, for example: How many unique visitor were from 4th ...
stackexchange/codereview
If i deploy my app to the world and write the app description in english, is it then also possible to write some specific description for some selected countries? Thank you
stackexchange/codereview
I am writing a project which makes use of the MS Chart for .net 3.5 utility. However, either all users will also need to install this, or I need to package the dll with the program. I can get Visual Studio to copy the dll to the folder with the program, but is it possible to make it embed the dll, so that there is only...
stackexchange/codereview
I'm getting the error below on a Nokia N80 when visiting the mobile site I wrote in PHP.... How do I resolve? XML Parsing Error: not well-formed Line Number 22, Column 45: Click here for T&C's --------------------------------------------^
stackexchange/codereview
Using Sharepoint Foundation 2010 I've edited v4.master, added a ref to a new CSS file, saved the changes and they are applied to the home site no problem. However when I create a subsite it uses the old version of v4.master for some irritating reason. I'm vaguely aware that some of the publishing features from SPS are ...
stackexchange/codereview
I'm trying to access JSON data with jQuery and grab a specific set of values based on a variable. I've done this before using [] but for some reason I can't figure out what is going wrong this time. My JSON file (being read in by getJSON, and named jsonmaker.php) looks like this: {"0107001":{"label":"Canada","x":"0","...
stackexchange/codereview
I've got a Vector of ViewToActionMap objects, which have following constructor: public function ViewToActionMap(_forModule:eModule, _forAction:eViewAction, _toFunction:Function, _withArgs:Array=null):void{ ...
stackexchange/codereview