instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
foo.py def foo_001(para): tmp = para + 2 return tmp def foo_002(para): tmp = para * 2 return tmp def foo_003(para): tmp = para / 2 return tmp ... def foo_100(para): tmp = #complex algo, return tmp main.py from foo import * fun_name = ["foo_001","foo_002","foo_002" ... "foo_100"] src = 1 rzt = [] for i in f...
stackexchange/codereview
I have an RMI Server which correctly binds to an RMI Registry when running on localhost (to demonstrate that things are setup correctly). The code which does this is: private void exposeTickHistoryRemoteProvider(TickHistoryRemoteInterface aTickHistoryServer) { if (System.getSecurityManager() == null) { ...
stackexchange/codereview
Hello I have a like button set up on my app. The link to one of the pages in the app is http://apps.facebook.com/heyulike/post3.php?id=4 If you click on the like button and then check your profile, you will see something like : Name likes Cool Pos on heyulike Everything is fine about this except in my php code, af...
stackexchange/codereview
Can anybody please tell me how to export data from gridview to pdf in c#.
stackexchange/codereview
i m a beginner. i want that when a checkbox is checked then it should allow user to write something in a txtbox. initially the txtbox is disabled. what i should write inside the function using jquery
stackexchange/codereview
How to customize the selected image/icon on the tab bar? Is this possible? Pls advise. Thanks
stackexchange/codereview
I have a javascript function that calls itself on callback, and I'm wondering how to chain other functions after all callbacks are finished? Perhaps best explained by code: $(document).ready(function() { sequentialFadeIn($('#demolist li')); }); function sequentialFadeIn(item) { item.eq(0).fadeIn("fast", functi...
stackexchange/codereview
I'm wondering if anyone knows a javascript library where I could remotely login to a site, then browse pages upon logging in. This is very easy with php's curl but I'm wondering if there is a javascript equivalent where I can execute multiple remote url's under a single http session. Basically what I'm looking to do is...
stackexchange/codereview
Suppose I want to call the ispf commands(like sar,fild in command lines which displays the respective screens) through my tool. Can anyone provide me a basic code to access sar screen through my tool
stackexchange/codereview
I'm working on a Project (c#) and have the following problem when debugging a succesfull build. When putting breakpoints in the Source Code or pausing the execution of the application strange things happen... I'm using the "Local" Tab at the bottom to check and control the values in the objects and variables, but the o...
stackexchange/codereview
why this code does not work? it does not show me output #include <stdlib.h> #include <iostream> #include <string.h> void Sort(int *arr,int length){ int *iter=arr; char buf[12],buf1[12]; while ((iter++)< (arr+length)){ if (iter==arr || (strcmp(itoa(*iter,buf,10),itoa(*(iter-1),buf1,10))>=0)){ ...
stackexchange/codereview
In silverlight project that uses datagrid, I am using some column that defines "Label number" which is a Varchar. I want to sort this column as described in natural sort order as described in "http://www.interact-sw.co.uk/iangblog/2007/12/13/natural-sorting" or any possible way. When I look around datagrid I saw Sort...
stackexchange/codereview
My code is as follows: void mainDataContextObj_CutSelectedColumnEvent(string columnId) { IList<DataGridColumn> columns = dg.Columns; for(int i=2; i<dg.Columns.Count; i++) { DataGridColumnHeader headerObj = dg.Columns[i].Header as DataGridColumnHeader; //This alway...
stackexchange/codereview
I need to get the absolute path of the root in an asp.net mvc view I guess one way would be to do Url.Action("Index","Home") and will get http://localhost/myapp anybody knows the right way ?
stackexchange/codereview
It is hard to ask the question in plain english so I'll show what I'm trying to do. Here's my SQL code: select top 100 [Name], COUNT([Name]) as total from ActivityLog where [Timestamp] between '2010-10-28' and '2010-10-29 17:00' group by [Name] order by total desc I need to write that in LinQ. So far I have th...
stackexchange/codereview
I found a weird script. It uses weird paypal api for money requesting. It uses redirect to page with all parameters included by GET request location:https://www.paypal.com/xclick?business=$aset[PayPalEmail]&item_name=$a2[ads] ads for $a2[days] days&first_name=$a1[FirstName]&last_name=$a1[LastName]&email=$a1[email]&item...
stackexchange/codereview
Possible Duplicate: Null check in Java I'm just wondering what's the difference between if (null == something) {...} and if (something == null) {...} assuming that in both cases something is the same object. Presumably, there should be non, except for readability of the code.
stackexchange/codereview
Ultimately, I'm looking forward to a reflection based approach to create a delegate wrapper for a method B(C(),D()) - to some what like (c,d)=>B(()=>c(),()=>d()) First question - Given that you've a Methodinfo, what are the considerations to create a delegate type (via reflection) which corresponds to that method sign...
stackexchange/codereview
there are 4 views in my application. Navigating from first view to second view ... from second view to third view .... from third view to fourth view... Now when i select fourth view i need to navigate it to first view. In didSelectRowAtIndexPath: I loaded my first view nib file... its working........ Is there any a...
stackexchange/codereview
I want to import some data to a .CSV file. Some of the field contents are uni-code formated. But when I save .CSV file, it doesn't put them in orginal format. it keeps them using some special character. For what when I import the same .CSV file to database it can't read the uni-code formated data. Anyone can help me,...
stackexchange/codereview
When I generate a dump file using ADPlus, I get both First chance and second chance exception but when I use task manager for generating dump file, I only get once dump file. Is it the second chance exception? I am bit confused about this 1st and 2nd chance exception anyways even though i have read a little bit about i...
stackexchange/codereview
I wrote a CUDA application that has some hardcoded parameters in it (via #defines). Everything seemed to work right, so I tried some other parameters. Now, the program doesn't work correctly anymore. So, I want to debug it. I compile the application with -deviceemu -g -O0 options, because I read that I can then use gd...
stackexchange/codereview
Do you know which table srtucture is better : table user id INT pk autoincrement name VARCHAR(255) email VARCHAR(255) statut TINYINT(4) The statut can only hold 2 states : 1/2 OR table user id INT pk autoincrement name VARCHAR(255) email VARCHAR(255) statut VARCHAR(45) The statut can only hold...
stackexchange/codereview
I'm using this method to write to a MemoryStream object, which is subsequently stored a binary in SQL. It is being used to read in .HTML files from the file system on Windows. How do I know which type of encoding this data is being read in as? Thanks.
stackexchange/codereview
What will be the benefits of embedding the tags into the webpage? In my application, we are embedding the Jquery resource like this:- <script id="jquery_js" type="text/javascript" src="/Sub/WebResource.axd?d=IYhTi0o5iq80gCyMHTaiGmRN8YGagUI681aLuVI5GabftZFqPjvBvf-OBOcIIU6B0vOU-f_YI6Y2aagBQ2&t=634239484939658631"></scri...
stackexchange/codereview
All, If i want to enable JMX on Tomcat for monitoring from the same machine, (i.e. not remotely) are these properties still required? com.sun.management.jmxremote.authenticate=false com.sun.management.jmxremote.port=12345 Isnt it the case that the authenticate and port number properties are only relevant if monitorin...
stackexchange/codereview
I have a module that is usually bundled with a master module, which we now want to use unbundled. The module uses an RS-485 interface. The problem is, by default, the module runs at 1.25 Megabaud, which is not one of the "standard" speeds that most integrated PC serial ports run at. For my own uses, I can whip up a...
stackexchange/codereview
I've got a website that needs user logged in before they can use, I want to track the behavior of each single user. Is it possible to do this? Any advice? Thanks very much!
stackexchange/codereview
like: <body> <div></div> <div></div> </body> How can I make all the DIVs at the center of the webpage? I mean in the browser.
stackexchange/codereview
I am trying to write simple vector graphics editor in Java and got stuck with GUI... I have 2 JPanels: First one is for the "canvas area", second one is for the buttons. Canvas area is a Singleton, so then button pressed, it calls method of the Singleton and it adds element to list of the Singleton and re-paints the ar...
stackexchange/codereview
I've been working on a programmatic solution to edit the IPGrant table in IIS. As it stands, I can View the IPGrant list Correctly, and CAN add to it. However, I cannot remove or replace items in the IPGrant list. MSDN and such recommend that you write (the values of the old list + the new value) to the List, however I...
stackexchange/codereview
I have the following code: new_index = index + offset if new_index < 0: new_index = 0 if new_index >= len(mylist): new_index = len(mylist) - 1 return mylist[new_index] Basically, I calculate a new index and use that to find some element from a list. In order to make sure the index is inside the bounds of the l...
stackexchange/codereview
I'm setting a DIV to 100% height as shown in this example: http://www.dave-woods.co.uk/wp-content/uploads/2008/01/full-height-updated.html, but the problem is that the <body> tag background color does not work if the page has scrolling. Has anyone achieved 100% height div tags successfully, or can you tell me what this...
stackexchange/codereview
I'm creating a suite of Selenium tests for an web album application. I would like to test whether an image is actually displayed (it contains valid image data). Is such thing possible?
stackexchange/codereview
I just tried the following URL: http://www.google.com/search?hl=en&q=http://www.yahoo.com/path/to/location on my browser, and it worked! What made it work? And why should one encode URLs other than substituting spaces with + or %20, etc.? That is, do I still need to encode my URLs even if I don't have any characters th...
stackexchange/codereview
I'm trying to understand why this very simple HttpModule fails. The code is a precursor to a simple HttpUrlRewriter that I need to develop for a test project. It appears that whenever I test the Request, and then execute a Response, the output is not written to the stream! I've attached the debugger (VS 2008) to the m...
stackexchange/codereview
given the first table ,i need to join this table with the same table and get the output table.Here we need to pair terms based on same seqid and the terms should be paired only from first table to second table. Example:S1 T1 T2 S1 T1 T3 S1 T2 T3 this is the correct form of output but we should no...
stackexchange/codereview
I have a CWnd derived class that has a WM_CONTEXTMENU handler (OnContextMenu), which has my default context menu. This class is being used at several places in my application. Some of the places where it's being used also handle the WM_CONTEXTMENU at the parent level (the window parent). They basically override th...
stackexchange/codereview
I notice a very weird problem in my code. I am inserting a value of 128 but in my database it says 127. I'd like to look at the mysql general/query logs however i dont ever see any log files produce no matter what i do. I tried -l , -l with an absolute path and --general_log_file. No luck. I also used mysqladmin flush-...
stackexchange/codereview
If I set a style inline like this: <div id='myMenu' style='background-color:red'></div> Then in JS call alert("document.getElementById('myMenu')style.backgroundColor"); The result alert box would report "red" However if I set the style internally in the via a class or id <style type='text/css'> .menu { ba...
stackexchange/codereview
How can I create an instance of a web control at runtime using reflection? I created a series of controls that implement a common interface and I would like to create these controls based on the name of the control which is stored in my database. I have attempted (and failed) to create an instance of these controls us...
stackexchange/codereview
Our client is getting "click to activate and use this control" over our Flash component in IE. What's a good fix? Thanks EDIT: Is this something that SWFObject fixes? We're using the standard Flash embed code...
stackexchange/codereview
Is it possible with gcc to eliminate the warning below without eliminating all warnings? pasting "/" and "/" does not give a valid preprocessing token For a certain platform, I must use a specific cross-compiler, but I can use make, so I use gcc to create the dependencies. I know that I'm passing the “//” token to the ...
stackexchange/codereview
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <object id="oo" data="Dynamic_grouping.svg" style="position:fixed;width: 900px;height:750px;bottom: -220px;right: 180px;"> </object> </body> <script...
stackexchange/codereview
Hello i need the code from http://www.w3schools.com/ajax/ajax_database.asp rewritten in jquery(if possible) but more important for my project is on load the first customer to be already gathered from the db and eliminate the Please select option. Anybody could help me please .. I'm trying to do a kind of select sort/fi...
stackexchange/codereview
In Microsoft SQL Server 2008, how do I find which tables are being inserted to? Is there a DMV for that?
stackexchange/codereview
I have the following html element <select id="selectStates" size="5" multiple="multiple" class="box"> <option value="tx">Texas</option> <option value="ak">Alaska</option> <option value="ca">California</option> <option value="ws">Washington</option> <option value="tn">Tennessee</option> </select> A...
stackexchange/codereview
There is a message(text), which format and content i definitely know. For now,class in Java,that parses and reads this message from file,is implemented. In real world, this message will come from Message Queue. For now I should simulate, mock or generate Message Queue on my local PC for testing purposes. Java spec(java...
stackexchange/codereview
my problem is a plugin called "Sexy Alert Box" when I load the page, the firebug tells me that there is a problem: $ is not a function The line with the error shows... $(document).ready(function(){ You can check the website HERE and when I try to click on "Dile a un amigo" for open the box, because the plugin is not ...
stackexchange/codereview
I am trying to create a category for UINavigationController so I can put together a few custom animations. I came across this question and it got me started. I've come up with the following for a push function: - (void)pushViewControllerMoveInFromBottom:(UIViewController *)viewController { [CATransaction begin]; ...
stackexchange/codereview
i want to print some variant value on console or logs then i can check is there something wrong, i tried puts & print ,i didn't find output info,how to solve this,thanks,i'm new on rails
stackexchange/codereview
I'm trying to display two tables inside a container div and it works perfectly in Firefox, and does exactly what I am expecting, but in IE it shifts my second table to appear outside my div. Anyone got any ideas what the issue is that I am running into here? If I put either table in by itself there is no problem, but...
stackexchange/codereview
How do I avoid entering the same kind of data from the same users in sharepoint list? Any directions please Hari Gillala
stackexchange/codereview
When requesting http://example.com (using something like cURL), is there anyway to determine what the actual page server side is? Is it /index.php /index.html /index.asp? This is a completely client side question.
stackexchange/codereview
This project is being developed in python and django. As per my requirement I want to querying all the products from the categories upto two to three level up... My entity structure is as follows. Category: - Name - ParentCategory Product: - ID - Name - Category Here are sample records which I want to query. Category...
stackexchange/codereview
Given the following update statement: UPDATE @TableVariable SET city = T2.city FROM @TableVariable TV INNER JOIN dbo.TABLE_1 T1 WITH (NOLOCK) ON (TV.customer_id = T1.customer_id) INNER JOIN dbo.TABLE_2 T2 WITH (NOLOCK) ON (T1.address_id = T2.address_id) Will the (NOLOCK) hints on TABLE_1 and TABLE_2 be honor...
stackexchange/codereview
Here's another question about source code protection... So far I haven't been convinced with the answers to similar questions found on this site (NDAs on the legal side, trusting employees vs. protected code, etc.) So I'd like to formulate it in a different manner: How do large companies do to protect their source code...
stackexchange/codereview
Is there a way in Delphi declaring an array of strings such as following one? {'first','second','third'}
stackexchange/codereview
I'm chasing what should be a simple NullPointerException but a webservice proxy keeps swallowing the error. The WS is exposed through a simple client library, that client then calls the WS. Somewhere in the WS theres an NPE and I can't find it because the stack trace only shows "$Proxy.someMethod" instead of the cause ...
stackexchange/codereview
The paper: http://www2007.org/papers/paper215.pdf I am just wondering are there any implementations of chapter 3 of that paper. I mean querying among large datasets, NOT only the simhash (it's easy to find simhash implementations). Thanks~
stackexchange/codereview
I have a chunk of code that on page load with populates some of or all of the following labels. It should have two labels per line ( needs a line break after each xData label). The problem I am having is that since the number of labels with data and set to visable on page load changes, the br / tags cause spacing issue...
stackexchange/codereview
i have an xml file that contains lots of different nodes. some in particularly are nested like this: <emailAddresses> <emailAddress> <value>sambj1981@gmail.com</value> <typeSource>WORK</typeSource> <typeUser></typeUser> <primary>false</primary...
stackexchange/codereview
I've been having problems lately with date conversion lately. Some workstations my application run on don't convert string to date correctly. I tracked the issue down to VarDateFromStr that doesn't seem to be checking LOCALE_SSHORTDATE to make the conversion. I was wondering if anyone knew what it DID check for the co...
stackexchange/codereview
Problem Conditions I have a very simple Oracle (11g) Stored Procedure that is declared like so: CREATE OR REPLACE PROCEDURE pr_myproc(L_CURSOR out SYS_REFCURSOR) is BEGIN OPEN L_CURSOR FOR SELECT * FROM MyTable; END; This compiles correctly. The cursor contains col1, col2 and col3. In SSRS, i have a ...
stackexchange/codereview
I have average response time, lets say its 10 secs, also I have a max number of parallel connections my service can handle, lay say its 10. Now, how do I calculate calls per second (CPS) value my service has handled from these data? My guess is it's 1 / 10 (= av time) = 0.1 CPS or 1 / 10 (av time) * 10 (parallel flow...
stackexchange/codereview
This question isn't really a problem looking for a solution, it's more just a matter of simple curiosity. The PHP uniqid function has a more entropy flag, to make the output "more unique". This got me wondering, just how likely is it for this function to produce the same result more than once when more_entropy is tru...
stackexchange/codereview
i have a method in my app that i want to be called repeatedly depending on what the user chooses. like if every hour is chosen by the user, the activity fires a method that is being called every hour. i would like to know the best way to schedule this repeated task. i have been experimenting with Timers and Timer task...
stackexchange/codereview
Hi I have a category XXX under the category i have a subcategory yyy. The products are assigned to the yyy category.Also i have cross sold 5 products . When i click the yyy i need to get all the cross sold product names which are assigned as crossselling in the left . Categories XXXXXXXX yyyyyyy zzzzzzz CROSSSELLIN...
stackexchange/codereview
i'm using vs2010's standart unit tests, for example, i want to get all information like used variables with their values, called functions, etc. in readable form, xml forexample. how can i do it?
stackexchange/codereview
I want to send push notifications to iPhones using c#. I currently use apns-sharp but I'm not really satisfied with that... Does somebody knows a good way to do this? Keep in mind we have to send many push notifications to many iphones in a short period. So the method has to be quick. Thanks in advance!
stackexchange/codereview
I have progress form which delegate: // in ProgressForm thread public delegate void executeMethod(object parameters); private executeMethod method; public object parameters; // ... private void ProgressForm_Shown(object sender, EventArgs e) { method.Invoke(parameters); } ...
stackexchange/codereview
I have 3 tables a. Employee (EmpID (pk), EmpName) b. Department (DepID (pk), DepName) c. EmployeeDepartmentMapping (ID (pk), EmpID(fk), DepID(fk)) When I am inserting new employee, I want to insert correspoding Emp-Dep mappings in the EmployeeDepartmentMapping table using entity framework 3.5. Can any body help/tell...
stackexchange/codereview
I'm trying to create a web page and I have this problem-question. The idea is to show an article in the main column, to the left, and several comments below the article. In the right column, we'll show ads. The problem is this: I have proved several layouts (this is the last one), but always the right column fall below...
stackexchange/codereview
Is there a way to pass an optional parameter to a webservice, instead of having to overload the method? If the webservice user is accessing the webservice directly, I want to do ActionA, if the user is accessing the webservice through my web interface, I want to do ActionA + ActionB.
stackexchange/codereview
I'm trying to connect to a database using Windows Authentication. I believe that my current user does not have access to it. How can I enable a user to login to SQL Server, and use the database?
stackexchange/codereview
When you upload files to attach to a gmail message it lets you select multiple files from the browser file selector to attach at once. How could I build the same effect with a Django/Python/jquery site? I want to let the user upload multiple files at once (if you hold down ctrl gmail file selector can select multiple...
stackexchange/codereview
I have a form which upon its loading events retrieves data and populates some menu-items. I am adding menu-items using Viewer.AudioTrackToolStripMenuItem.DropDownItems.Add(myValue) The number of menu-items created are not always the same. Sometimes they are 2, other times they are 4 depending on the data being retrie...
stackexchange/codereview
Devise Authentication gem ( http://github.com/plataformatec/devise ) is a Rails tool to authenticate a user and set up his identity in a Rails app. I have found so many cool things like this for Rails that I am just blown away at that whole platform. I've only been learning Rails since April, and I just love it. Howeve...
stackexchange/codereview
I didn't test my app on iPods before submitting to the app store. Now I'm getting comments that the app doesn't work on iPods (doesn't even load, just crashes immediately). The app uses the user location, but from what I understood the iPod also is able to find locations although he doesn't have a GPS. Does anyone have...
stackexchange/codereview
I want to know to use CSS in ASP.NET. If I have set of CSS files and I link my master page to them, how to utilize them to make my application look good. I'm not talking about CSS itself but about how to use its elements in the source of any ASP.NET page. I'm looking for suggestions, resources, sites, or opinions.
stackexchange/codereview
I've run across some strangeness in JavaScript syntax that I don't understand. I was trying to use a single anonymous global function for global abatement, like this: <script type="text/javascript"> function() { alert("all code goes here"); }(); </script> Unfortunately, I get a syntax error. This fixes it: <s...
stackexchange/codereview
I want to have selected index for UITableView. I have written following code: NSIndexPath *index = [NSIndexPath indexPathForRow:1 inSection:0]; [tableView scrollToRowAtIndexPath:index atScrollPosition:UITableViewScrollPositionTop animated:YES]; This always work for 1st item....
stackexchange/codereview
I have a simple overlay for a Google Map: http://pastebin.com/Rg8miMSh and I add/remove items on it depending on the zoom level. After removing/adding I call populate on the overlay and invalidate on the map view. Everything works just fine, except 1 glitch: after an item was removed, if I tap its location onTap is sti...
stackexchange/codereview
I'm stuck on this exercise. Any help would be appreciated! Thanks in advance! A function takeS takes a list of pairs and compares first elements of pairs. If they are not equal, the function returns that list of pairs. If they are equal, that means they have a conflict. The function will delete either one of these two ...
stackexchange/codereview
Each time i get this problem.. but the old fix doesn't work this time... I have a <ul> full of <li> that are floated left those are perfect.... but i like to have a nice box around... and i style the <ul> but the <ul> is "sort of empty" because the insides are floated... the trick with the <div style="clear:both"> dont...
stackexchange/codereview
I have the following rewrite rule in my .htaccess file: RewriteRule ^([^/]+)/([^/]+)/(tab:([^/]+)/?)?(scope:([^/]+)/?)?(sort:([^/]+)/?)?(p:\d+)/?)?$ web/results.php?view=$1&q=$2&tab=$4&searchscope=$6&sortBy=$8&page=$10 [NC,QSA,L] It seems to work great when testing on some of the online regex testers that I have found....
stackexchange/codereview
Where can I download the dll/sdk that contains the Microsoft.Data.Objects namespace it appears that google doesn't know. Thanks
stackexchange/codereview
My domain is: http://rentmaps.com There are individual pages that represent apartments, such as this: http://rentmaps.com/address/31/35-Conwell-Ave,-Somerville-MA-02144 I have put Like buttons on each of the individual pages, allowing users to like any of the associated houses. I would like to be able to query the Gra...
stackexchange/codereview
I'm writing a bitmap editor and I'm trying to write an autosave feature. When onPause is called, I write the application state to an autosave file. As this takes between 0.1s and 1.5s, I've been advised this IO operation be performed in a background thread. In the onCreate method of my activity, I check to see if the ...
stackexchange/codereview
I'm working on a c# wpf app in which I databind a listbox control to an xml datasource. Now I know that I can find the XmlNode that is linked to a listboxitem using datacontext. But now I want to go the other way around: Find the associated listboxitem when I have an xmlnode.. Any advice?
stackexchange/codereview
We have to port our software to android. One of the main feature of our software should be that the software can download a new version of itself from the net (our own server) and install it's new version too. All this thing should be done programmatically. I'm new to android, so haven't got any clue how should it be d...
stackexchange/codereview
Why isn't Manipulate[] working with large numbers? For instance this works Manipulate[k, {k, 0, 1000000000, 1}] and this doesn't Manipulate[k, {k, 0, 10000000000, 1}] I believe that there should be some Mathematica variable which affects this but I cannot find one.
stackexchange/codereview
I have a class that creates and uses a System.Threading.Timer, something like this: using System.Threading; public class MyClass : IDisposable { private List<int> ints = new List<int>(); private Timer t; public MyClass() { //Create timer in disabled state t = new Timer(this.OnTimer, null, Timeout.In...
stackexchange/codereview
Given a string of text "my search phrase", inside an html content block, how would you determine if the string appears within the first 100 or last 100 non tag-based characters of the document? (Don't count html tags, only text nodes) Example, this would return true... <p>This html text block contains <b>My Search Phra...
stackexchange/codereview
So say there's an app running (any app). I'd like to be able to get it's Activity from within a Service that will be triggered to run from a android.intent.action.SEARCH_LONG_PRESS. Is this possible?
stackexchange/codereview
I'm trying to develop one iPhone App like the Recipes example of Apple, but I have one question? I want to show data that I have stored in a database, but I don't want user to add data or edit this information. I only want to show the data in a table view like name, description, image, etc. What's the best option? Core...
stackexchange/codereview
This is related to a question I asked yesterday but is probably best asked separately. I have a TFS 2010 server running a build of a .csproj file, and an IIS6 box with msdeploy installed on it. I want to get the build automatically published by the build, but it never tries to run the publish no matter what I send into...
stackexchange/codereview
I am not understanding what the Number function does. This is the tutorial I'm using, which in fact does explain what the function does... BUT... when I delete Number it still returns the same value, so I'm not understanding its purpose. Even if I change Number to String it still returns the same value. Here is the exa...
stackexchange/codereview
I'm using Vim with MiniBufExplorer. How do you hide the statusline for the MBE window? I've tried every permutation of setting laststatus (0,1,2) but the best I get is the status line disappearing on the bottom of the gVim window but remaining near the top just under the MiniBufExplorer window. I want the statusline o...
stackexchange/codereview
We started using jStorage a few weeks ago to store some help data for elements so that it would be persisted across multiple pages. This seems to work fine until we redirect to a page in our website that uses https. Once there the data is no longer available although I can push new data up into jStorage. What I need...
stackexchange/codereview