instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
How can I understand the parsing of expressions like a = b+++++b---c--; in C? I just made up the expression above, and yes, I can check the results using any compiler, but what I want to know is the ground rule that I should know to understand the parsing of such expressions in C.
stackexchange/codereview
I am reading algorithms in C++ by Robert Sedwick it was mentioned as follows Sequential search in an ordered table examines N numbers for each search in the worst case and about N/2 numbers for each search on average. This result follows from assuming that the search is equally likely to terminate at any one of the N+...
stackexchange/codereview
it gives me an error when i try to debug android app with ant the error is: -package-debug-sign: [apkbuilder] WARNING: Using deprecated 'basename' attribute in ApkBuilderTask.Use 'apkfilepath' (path) instead. [apkbuilder] WARNING: Using deprecated inner element in ApkBuilderTask.Use instead.
stackexchange/codereview
Preferentially using the standard libraries.
stackexchange/codereview
Imagine the following scenario. class Shape { // methods of Class Shape } class Circle extends Shape { // methods of Class Shape // methods of Class Circle } class Square extends Shape { // methods of Class Shape // methods of Class Square } class Canvas // This class should a bucket of objects that...
stackexchange/codereview
I have a couple of Images configured as application resources. When my application starts, the background of the main window is set via XAML: <Window.Background> <ImageBrush ImageSource="/myapp;component/Images/icon.png" /> </Window.Background> If a given event occurs, I'd like to change this background to another...
stackexchange/codereview
It seems like just adding a package path to your PYTHONPATH gives you access to all of its modules and functions, similar to installing an egg. Is the difference just that the egg is zip compressed?
stackexchange/codereview
I'm using Tank-Auth for my application. And the only problem I have is activating and resetting passwords for accounts. For login, register, logout; I have no problem with this codes; $route['login'] = "/auth/login"; $route['logout'] = "/auth/logout"; $route['register'] = "/auth/register"; But for activating accounts ...
stackexchange/codereview
This is similar to a question I asked yesterday but more specific to the problem. What is the correct method to add a JFreeChart to a NetBeans project which already contains various widgets? My updateChart() hides the entire JFrame. I'd like to add the JFreeChart to the JFrame. public class MyClass extends javax.swing....
stackexchange/codereview
what is the best way For Transfer Data From One DataBase (sql server 2008) To Another db(sql server 2008) With Different Schema? is there a program for doing that ? thanks 4 your future asnwer best regards
stackexchange/codereview
Programming Java in Eclipse, I'm used to having to deal with exceptions. In C# with VisualStudio it seems I can not say "throws exception" on a method... After a lot of coding I found lots of exceptions, and had to catch them as I found them during testing. I'd like to be forced to handling them, so that VisualStudio c...
stackexchange/codereview
We've created a java application that (among other things) uses the built-in file IO libraries to access a list of files inside a particular folder on a network share. When the folder is specified as a local file (e.g., c:\foobar), performance is fine. However, if we map a network drive to the folder, even if the fol...
stackexchange/codereview
I am fairly new to programming and I'm doing it, at this point, just to educate myself and have fun. I'm having a lot of trouble understanding some OpenGL stuff despite having read this great article here. I've also downloaded and played around with an example from the apple developer site that uses a .png image for a...
stackexchange/codereview
I want my input or textarea value only accept <br> for having new lines $comment = trim($comment); $comment = stripslashes($comment) ; Although I do want to accept <br> for new lines but I dont want to accept html tags any suggestion ?
stackexchange/codereview
I am trying to compare dates and I have found where my code goes wrong, but I don't know why. I am trying to compare a date with today's date (using Gregorian calendars only). I have printed out today's date where ever it is mentioned in the code and in one place it magically changes from year 2010 to year 3910 (today...
stackexchange/codereview
I am trying to work out how to improve the scoring of solr search results. My application needs to take the score from the solr results and display a number of “stars” depending on how good the result(s) are to the query. 5 Stars = almost/exact down to 0 stars meaning not matching the search very well, e.g. only one e...
stackexchange/codereview
Straight to the point: I've got two singleton classes, both inheriting their singleton nature from a super-class. I initialize some properties on the first singleton, and then have the second singleton retrieve the instance of the first one. That instance, however, does not seem to be the one I initialized in the first...
stackexchange/codereview
I have a large form that consists of all the input (text, checkbox, radio, etc...), I have them grouped together in a fieldset tag and a legend for each feildset. Each input has a label associated with it as well. My question is what is the best approach to display the information on one screen and take advantage of th...
stackexchange/codereview
When I save data in one model, I'd like to create some data in another model and save that too. Because I can't do this using beforeSave(), I eventually decided to use afterSave() to create new data items in my second model. I'm not writing a blog application, but to use the blog analogy it's equivalent to automaticall...
stackexchange/codereview
I have this requierements that if a click a particular cell on datagrid view..it will copy the cell string and display on a textbox on the other form. This is my PseodoCode: Example: 1.Display Datagrid View Name | Family | Boar | Mamals | Snake | Reptile | 2.If Snake Clicked on Da...
stackexchange/codereview
I am supporting a few offices across the country running Windows XP. They are stand alone, no Windows Server or Active Directory, anything like that. I just switched them over to Google Apps, and in the process replaced Windows Live Messenger with Google Talk. I really want to stop Windows Live from being used, the pla...
stackexchange/codereview
I'm using the ManualResetEvent WaitOne(timeout) method and set the timeout value to 30ms. I log using log4net at either side of the WaitOne. The log messages show the WaitOne returned false after only waiting for 22ms. What would cause this? A .Net bug? Thanks in advance.
stackexchange/codereview
I newbie in Sharepoint development. I has some hierarchical structure like internet forum: Forum Post Comment For each of this entities I create content type. I see, that Sharepoint allow store in list different content types and I can store all forums with their posts and comments in single list (Forum and Post wi...
stackexchange/codereview
We have a project in ASP.net MVC2 were we have our own ViewEngine that overrides were views locations are. Problem is that Resharper 5.1 is not picking up this, of course. Is there anyone who knows of a way to extend R# to pick this up? I don't want to disable R# to not try to resolve view globally or local with the R...
stackexchange/codereview
So Say I have an array of bytes that is 16 long, with each 8 bits representing my data and an array that is 8 long with each 4 bits (so 2 per byte) representing my data. If I wanted to loop over these and get the values, what would be the easiest way of doing so? My poor attempt would be something like this, but this d...
stackexchange/codereview
There are tons of posts about installing webapps on the iOS (iPhone, iPad) though Safari, but none of them answers if it can be done though javascript or a html link with specific "rel". The scenario is that I want to user browsing to the web site, to be able to simply click a huge install button in the middle of the s...
stackexchange/codereview
I have come across a small problem. Say I have two lists: list_A = ['0','1','2'] list_B = ['2','0','1'] I then have a list of lists: matrix = [ ['56','23','4'], ['45','5','67'], ['1','52','22'] ] I then need to iterate through list_A and list_B and effectively use them as co-ordinates. For example I take the firs num...
stackexchange/codereview
For the query below, I would like to set a variable called $totalcount equal to the count of all loginids in table called login. How can I do this? Thanks in advance, John $sqlStrcount = "SELECT loginid FROM login";
stackexchange/codereview
I have done the depot application using mysql... Now i am in need to use postgres... So i need to dump data from mysql database "depot_development" to postgres database "depot_develop"...
stackexchange/codereview
I've seen a bunch of solutions on the site to remove duplicates while preserving the oldest element. I'm interested in the opposite: removing duplicates while preserving the newest element, for example: list = ['1234','2345','3456','1234'] list.append('1234') >>> ['1234','2345','3456','1234','1234'] list = unique(list...
stackexchange/codereview
I am using jqTransform plugin to enhance the look and feel of my form.It works well.Now i added a div to the page which has a style="display:none;" and in an event(a button click) in the page,I am trying to show the div.But it looks like the width of the divs which are created by jQtrasform become only 0 px. My HTML <...
stackexchange/codereview
Following set is given: X := {Horse, Dog} Y := {Cat} I define the set: M := Pow(X) u {Y} u for union The resulting set of the power set operation is: Px := {0, {Horse}, {Dog}, {Horse, Dog}} 0 for empty set My question is referenced to the unio operation. How do I unite 0 and Y? M := {{Horse, Cat}, {Dog, Cat}, {Hors...
stackexchange/codereview
I have an application with a main menu screen consisting of a few buttons on link to other view controllers using a navigation bar which are consist of web views. In each of my view controllers including the root I have the following method to auto-rotate: (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrie...
stackexchange/codereview
I'm working on a project with many unknowns like moving the app from one platform to another. My original estimations are way off and there is no way I can really know for sure when this will end. How can i deal with the inability to estimate such a project. It's not that I'm adding a button to a screen or designing a...
stackexchange/codereview
Hello! Does someone know a way to achieve or emulate the following behaviour? (this code results in compilation-time error). E.g, I want to add specific template specialization only in derived classes. struct Base { template <typename T> void Method(T a) { T b; } template <> void Method<int>(int a) { ...
stackexchange/codereview
So this doesn't make any sense. I have actionscript in a flash-based button menu, and one of the buttons is linking to the wrong page, and i cannot figure out why. Here is the actionscript: var myURL1:URLRequest = new URLRequest ("home.html"); home_btn.addEventListener(MouseEvent.CLICK, home_btnEventHandler); functio...
stackexchange/codereview
I've seen example of jqGrid does drag & drop column reordering. However, the feature is not documented anywhere in the jqGrid Wiki, or maybe I overlooked or something. Does anyone know how to implement this in jqGrid?
stackexchange/codereview
I've hunted around for about an hour or so trying to glean whatever I could about variable scope in jscript/jquery and by all accounts, my code should work. Right now I just want to be able to read a global variable from a function. My code isn't working and right now it's very basic. Eventually I will need to manip...
stackexchange/codereview
in Codeigniter I am building an Authentication system for my web site and to achieve that I use session library session->set_userdata('username') this will save the session -I believe- for some time I want to provide a "remember me" checkbox in the login form so the user can save the session forever - could not f...
stackexchange/codereview
I'm involving in kind of work that i think knowledge about large scale application, large scale web will help me much. What do you think i should take? I mean books to read, courses to take... etc... Thanks in advance for any suggestion. PS: maybe applications i mean are not large enough :D, kind of social network for ...
stackexchange/codereview
In the AutoCAD .NET API, while you have a drawing open, you can get the extents using the environment variables EXTMAX and EXTMIN. However, these variables don't supply correct values when you do NOT have the drawing open. How do you get these same extents without opening the drawing (AKA using the Database)?
stackexchange/codereview
I know what prependId="false" does. It set the flag so that the id of the form does not prepend the id of the form child, but why? any particular reason why you do or dont want to prepend id?
stackexchange/codereview
In C#, I am able to validate a hash against a public key in either of the following ways: // Import from raw modulus and exponent using (RSACryptoServiceProvider rsa = new RSACryptoServiceProvider()) { RSAParameters rsaKeyInfo = new RSAParameters {Modulus = modulus, Exponent = exponent}; rsa.ImportParameters(rs...
stackexchange/codereview
There are many methods to make a program run at windows startup. For example: Start Menu --> All Programs --> Startup Registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run) Task Scheduler More methods I don't know yet? So the questions are: What is the differences between all those ways? (in the...
stackexchange/codereview
I'm trying to get a certain fieldset to show up in a dialog box (using facebox) .. I've got the button set up, the dialog box and the HTML as a partial that I call .. The only thing is I don't know how to call the partial inside the jQuery.. Here is the jQuery: $('#addCatbutton').click(function() { jQuer...
stackexchange/codereview
The goal is to get a byte[16] where the first element is hex value 55 and the second element is hex value AA. And the other 14 are hex value 0. I tried byte[] outStream = System.Text.Encoding.UTF8.GetBytes("55 AA 00 00 00 00 00 00 00 00 00 00 00 00 00 00"); but this fills the byte[] with the ascii values, not the he...
stackexchange/codereview
<table> <tr> <td> <div style="margin-left: 220px;"> <asp:Button ID="btn1" Text="Edit" CommandArgument='<%#Eval("UserID") %>' CausesValidation="false" CommandName="Edit" Visible="false" runat="server" /> </td> </div> <td> <di...
stackexchange/codereview
I have some code, which works perfect in the simulator, but i cant run it on a real iPhone device and i dont get the reason: - (void)loadView { self.title = @"Optionen"; [super loadView]; } - (void)viewDidLoad { [super viewDidLoad]; NSMutableArray *strArray = [NSMutableArray new]; NSUserDefaults *prefs = [NS...
stackexchange/codereview
The standard MVC example to draw an item with the appropriate View Template is: Html.DisplayFor(m => m.Date) If the Model object has a property named Date of type DateTime, this returns a string with the HTML from the Display/DateTime.ascx template. Suppose you wanted to do the same thing, but couldn't use the strongly...
stackexchange/codereview
How can I use Html.RadioButtonFor to create radio button which when clicked runs code on the server and controls visibility of certain text box. earlier I used to create <asp:control with autopostback="true" Thanks
stackexchange/codereview
I've got a list of byte[] which i'd like to concatenate into one byte[] which will be the final PDf. On the "page = copy.GetImportedPage(new PdfReader(p), i); " i'm getting an "object reference not set to an instance error. I've got no clue of what's going on, i've already checked every object and there's no null. A...
stackexchange/codereview
I'm developing an Android application. I have a package to access SQLite3. It isn't a ContentProvider. How can I test the package's classes using JUnit? Thanks.
stackexchange/codereview
I have this Table structure: Id int not null --PK Title varchar(50) ParentId int null --FK to same Table.Id I'm writing a SP that returns a row's "brothers", here's the code select * from Table where Table.ParentId = (select Table.ParentId from Table where Table.id = @Id) and Table.Id <> @Id It works perfectly for ro...
stackexchange/codereview
I've got a strange problem connected with content rendering. I use following code to grab the content: lib.otherContent = CONTENT lib.otherContent { table = tt_content select { pidInList = this orderBy = sorting where = colPos=0 languageField = sys_language_uid } renderObj = COA renderObj { ...
stackexchange/codereview
Is there a "best" one? Does it offer as much flexibility as the Google API? I am wary of using such wrapper, as I would need to take the time to evaluate each individually, so I am asking here if anyone has already done this. Are there any benefits in a wrapper? The Google API seems clear enough. And what guarantee is ...
stackexchange/codereview
I have a handful of controllers and each controller has a test class with unit tests. Each unit test calls a single action and verifies that the action handles a given scenario. The test class has a setup routine that instantiates a number of fake repositories and other fake objects. The fake repositories have static...
stackexchange/codereview
So let's say we have a function such as 6wn^2 - 6wn + 6w, would the big-o notation be O(n^2) or O(wn^2)? The problem set question asks me to write this function in Big-O form in terms of w and n, so I think it's the second one but I've never seen a big O notation like that involving 2 terms so I'm a little confused.
stackexchange/codereview
Effective Java 2nd Edition says that we should not use raw types in new code, and we must also try to eliminate all unchecked casts warnings, and to prove and document its safety if we choose to suppress such a warning. However, I've repeatedly seen a particular usage that combines raw types and unchecked casts in a ty...
stackexchange/codereview
I am building a recipe app where a user can view recipes, list ingredients, get a shopping list, etc. etc. Each Recipe is made of steps, each step has ingredients, and each ingredient has a grocery. I was quite sure that the way to create these links was through the models, so my models look like this class Recipe < A...
stackexchange/codereview
I have approx. 6000 PNG files (256*256 pixels) and want to combine them into a big PNG holding all of them programmatically. What's the best/fastest way to do that? (The purpose is printing on paper, so using some web-technology is not an option and having one, single picture file will eliminate many usage errors.) I t...
stackexchange/codereview
I want to create six image buttons similar to those on the homescreen, such as settings, downloads, or messages. When I roll to the next button, the previous one must fade, just like the simulator. I am using the 9700 simulator and JDE 5.0.0.
stackexchange/codereview
Hey, basically what i am trying to do is automatically assign Tags to a user input string. Now i have 5 tags to be assigned. Each tag will have around 10 keywords. A String can only be assigned one tag. In order to assign tag to string, i need to search for words matching keywords for all the five tags. Example: TAGS: ...
stackexchange/codereview
I want to implement video conferencing functionaality in iPhone SDK..... For this VMobile Mobile Video Conference Call Specification: --- for Video support we need : H.263 H.264 MPEG4 Can u suggest any source code to implement the above video compressing technologies in our application
stackexchange/codereview
i like to output an error message if this date allready exist. has someone an idea? class Bet(models.Model): name = models.CharField(max_length=30, verbose_name='Name') date = models.DateTimeField(verbose_name='Datum') def __unicode__(self): return self.name def save(self): newDate = self.date try: ...
stackexchange/codereview
I want to develope simple web crawler, to grabb pages from several web sites and maintain them in actual condition. Some of this sites has session ids on each link, they doesn't store sesion ids in cookies at all. So, if i will parse site several times - my parsing table will containts dublicate pages with difference o...
stackexchange/codereview
We have recently migrated to TFS 2010 using the MSF For Agile process template and we make use of such reports as the Burndown, User Stories progress etc. Up until 13/10/10, our warehousing worked perfectly and all our reports displayed upto date data. However, after this date, the reports started displaying old data a...
stackexchange/codereview
I wrote an asp.net web app which uses SMO against SQL Server 2008 to be able to run some DB scripts. It references these assemblies (in the C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies folder): Microsoft.SqlServer.ConnectionInfo Microsoft.SqlServer.Management.Sdk.Sfc Microsoft.SqlServer.Smo The microsoft.s...
stackexchange/codereview
Running any Blackberry Simulator for the JDE takes forever to launch. Any ideas on speeding it up? I see that it looks through a bunch of generic files while booting up, can I strip it down? All I want to do is test my app, which only relies on e-mail, maps and the contact book.
stackexchange/codereview
I was just wondering whether if it was possible to replace recursion with an explicit stack when you need the return value(s) and are comparing them to find the best solution (like dynamic programming)? So something like (it doesn't do anything, just an example): int resursiveFunction (int state) { if (known[state...
stackexchange/codereview
I'm trying to save a new object from a django model using a POST data querydict. This is part of a PISTON handler. I've seen this done in numerous examples, but I just can't get it to work. Here is my code: class FestHandler(BaseHandler): model = Deal def create(self, request): """ Creates a ...
stackexchange/codereview
UPDATE (4th Dec 2010): I realized that each validates line is actually a method call (obviously) so requiring them like this wasn't exactly doing as I expected. This works, but I'm not sure it's correct (fully qualify the Auction class name): class Auction::Validations Auction.validates :status, :presence => true, ...
stackexchange/codereview
I want to learn quickly writing Stored Procedure and Trigger? Can you suggest any link, eBook, etc?
stackexchange/codereview
I want to implement the navigation controller in iPad, I know that it is not possible in xcode to do the navigation controller in iPad, there is a thing in which I can enter the view controller and with the help of this we can do the coding of navigation controller. How to solve this problem?
stackexchange/codereview
Hi I made a query to a table below and when I tried to get the value in each column , it returns the same value from the first column for all the other columns. To elaborate In my database table I have the following: owner_id = 21 pet_id = 1 name = fluffy color = green type = dog sub_type = boxer location = LA howeve...
stackexchange/codereview
This might be a stupid question. I need to have a Id field in a table. This Id is not a key (primary or whatever). The requirement says that user can input 10 digits in this field from the UI. This Id has no relation as of now with any otehr object in the system. Do you think If one can use nvarchar or bigint for this ...
stackexchange/codereview
I have table columns with values in them and when you click the edit button, I am creating a textbox with the column value in it, kind of like an edit-in-place feature. var title = item.find('.co_edit_title').html("<input type='text' style='width:240px' name='title' value='" + item.find('.co_edit_title').text() + "' />...
stackexchange/codereview
I would like to filter my log4net output by filters comprised of (threshold AND pattern). So I want to allow logs with pattern "x" only if they are level "ERROR" (or higher), and allow logs with pattern "y" only if they are level "INFO" (or higher). Can I do this in one appender, or do I need two appenders, each with i...
stackexchange/codereview
I have a button when i click it, some text from a textbox is got and written inside a p tag via javascript. I have another button that cause page postback. But after postback, contents which added by javascript are disappearing. Is there a way to solve this problem ?
stackexchange/codereview
Is it possible to block a page when a user clicks on a link and only enable it once the response has come back from the server. I had a problem recently where a link was clicked on a page several times resulting in two simultaneous changes. The problem was that the page was allowing multiple submit. I have already re...
stackexchange/codereview
I want to add some class to row when I render a table, sample code: $("#id").dataTable({ bProcessing: true, sAjaxSource: com.mycompany.path.api.message[component], aoColumns: [ {}, {}, { sWidth: "37px", fnRender: function(obj) { return "<span>" + myData ...
stackexchange/codereview
I'm new to MVC / MVP and learning it by creating a Winform application. I have to some extent created the Models, Presenters and Views... Now where do my validations fit. I think the initial datatype validation (like only numbers in Age field), should be done by view. Whereas the other validations (like whether age is ...
stackexchange/codereview
It's been a crappy Monday AM and I can't think straight. Can someone help me figure out how to group/sum the rows returned so that there is only ONE instance of the AssessorParcelNumber? So, instead of the following result set: 140-31-715-164 3545 2004-09-14 00:00:00.000 1665.00 0.00 0.00 1665.00 140-31-715-...
stackexchange/codereview
I have a page with a bunch of thumbnails. I use DIV with background images for the thumbnails. When I hover, I have a jQuery script that animates the DIV to expand the div to the full width of the images. The expansion is in all direction, it expands from the center with some margin and top/left positioning. Problem ...
stackexchange/codereview
I have this regular expression below to validate a security question where some one has to type in the answer twice. My client want the answers to be none case sensitive. So if someone types in Chester and the in the second field they type in chester it will match. What can I do to this expression to make that happen: ...
stackexchange/codereview
I have an embedded device which runs Java applications which can among other things serve up XHTML web pages (I could write the pages as something other than XHTML, but I'm aiming for that for now). When a request for a web page handled by my application is received a method is called in my code with all the informatio...
stackexchange/codereview
I have nginx installed with gzip_static activated. It works fine for CSS and JavaScript files, but it also looks for gzipped versions of image files like .png and .gif, although these are not in the list of files to be compressed: # strace -p 25044 2>&1 | grep gz open("/var/www/css/ymax.css.gz", O_RDONLY|O_NONBLOCK) = ...
stackexchange/codereview
I need to pull information from a web site. The user drags the address from IE to a C# win-form application. The web page they are dragging is not accessible by the address alone, saving the page to a bookmark brings me back to a useless page. How can I force a drag event to save the page to a local html file, and s...
stackexchange/codereview
I want to check the following 1: Is x a number 2. If x is less that 5 or greater than 15, sound alert 3. If all is ok, callMe() var x = 10; if (isNaN(x) && ((x < 5) || (x > 15))) { alert('not allowed') } else { callMe(); } What am I doing wrong?
stackexchange/codereview
I am trying to set up spellchecker, according to solr documentation. But when I am testing, I don't have any suggestion. My piece of code follows: <searchComponent name="spellcheck" class="solr.SpellCheckComponent"> <str name="queryAnalyzerFieldType">textSpell</str> <lst name="spellchecker"> <str nam...
stackexchange/codereview
I have a form Friend Class frmOrganigramma Inherits System.Windows.Forms.Form with a sub Sub OutList() How can I launch this sub from another form?
stackexchange/codereview
I want update position of Particles for store this information I use NSMutableArray. I want do update 1 time per 2 seconds for example. For this I try use this code. //ParticlesLayer.h @interface ParticlesLayer : CCLayer { CCQuadParticleSystem *particle; NSMutableArray *partilesCoordinates; } @property (assign, readwr...
stackexchange/codereview
Im new to Rails, and decided to start of with Rails3. After a lot of searching ive managed to get a little bit of Authlogic working. I'm able to register a user, login & logout. Now, I would like to add more features, get more of authlogic working. I'm using Railscast EP 160 as my reference. Portions of the code found ...
stackexchange/codereview
I'm trying to convert a SQLite 2 file to SQLite3 using Python on Windows. On Linux, I'd just pipe a dump from sqlite to sqlite3: os.system("sqlite db.sqlite .dump | sqlite3 db3.sqlite") On Windows, I have no such convenient means of transferring the dump. Here's what I'm doing: sqlite_dump = os.popen('sqlite %s .dum...
stackexchange/codereview
I'm an Android noob teaching myself debugging in the Eclipse (Galileo 3.52) environment. I have a little "hello world" app that runs fine in the emulator. So now I want to practice debugging by setting breakpoints, looking at variablaes, etc. But Run > Debug As... has nothing but a grayed-out "(nothing applicable)" e...
stackexchange/codereview
I'm using an ASP.NET Repeater control to create rows of textboxes. I'm able to capture the value of the textboxes, but I would like to validate that all the textboxes have a value inside. Is this possible to do in jQuery?
stackexchange/codereview
I have the below arrays on C how can i interpert them to ctypes datatypes inside structre struct a { BYTE a[30]; CHAR b[256]; }; should i interpert a fixed array as the datatype * the size i want like the below and if yes how can i call this structure as a parameter to fun that takes instance from this struc...
stackexchange/codereview
Possible Duplicate: How can I use Web.debug.config in the built-in visual studio debugger server? I want to use the Web.config transformation that works fine for publish also for debugging. When I publish a web app, Visual Studio automatically transforms the Web.config based on my current build configuration. How can...
stackexchange/codereview
I have a problem that I am not able to solve. Well, let's suppose that we are invoking a method (in a backing bean) from a webpage (maybe jsp, xhtml, portlet ...) pressing a button. <h:form> .... <h:inputText value="#{errorManager.errorTestDataBean.errore00}" /> <h:commandButton id="go" value="GO" action="#{errorManag...
stackexchange/codereview
Given a table (JobTable) that has 2 columns: JobId, JobStatus (there are others but I'm excluding them as they have no impact on the question). A process, the WorkGenerator, INSERTs rows into the table. Another process, the Worker, executes a stored procedure called GetNextJob. Right now, GetNextJob does a SELECT to ...
stackexchange/codereview
What structures of Scala can be used more efficiently than in Java, to increase execution speed? I don't know if this is possible, but to clear my doubts :) Thanks
stackexchange/codereview