instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a strange error that I cannot make heads or tails of. A snippet of the error is below: (TypeError): $wnd.EGeoXml is not a constructor stack: $jsInit([object Object],[object Object],null) The actual lines of code is in GWT and looks like this: private native void jsInit(JavaScriptObject map, String kmlFile) /*-{...
stackexchange/codereview
I have a Silverlight 4 app using RIA Services in which I moved all of the RIA Services-specific code to a separate module (a WCF RIA Services class library) called "AppServices". Let's call the main app "Silverlight4App". I need to authenticate the users against a different database than the database where the rest of ...
stackexchange/codereview
I have a Gtk::HBox which should contain two elements only. However, the constructor new Gtk::HBox() creates a box with three elements, so when I display my window, there is an ugly space where Gtk expects me to put a third element. I thought the Gtk api would provide an easy way to set the number of children, but it do...
stackexchange/codereview
Ok I have a 1-to-many mapping between a parent and child class. I can save the parent and it will automatically save the children objects, but problem is when doing a SELECT on the parent class. It seems that I'm getting a Parent object for every Child object in database table. So if I save 1 parent object with 2 chil...
stackexchange/codereview
I have a simple list like this: <div dojoType="dojo.dnd.Source" id="myList"> <div class="dojoDndItem">item 1</div> <div class="dojoDndItem">item 2</div> <div class="dojoDndItem">item 3</div> </div> And I use the dojo attributes to make the list sortable. It works without any problems, but how do I add a li...
stackexchange/codereview
I'm using NHibernate to map the following class to an Oracle database in my ASP.NET MVC application: public class User { // Needs to be encrypted/decrypted when persisting public virtual string Question { get; set; } } Following several examples that I've found, I would like to use an implementation of NHibern...
stackexchange/codereview
I am trying to implement a ListView with a GridView with sortable columns. To sort the ListView I hook up the Click event for the GridViewColumnHeaders and adding SortDescriptors to the default view source (similar to what is done in MSDN). Something like this: <ListView ItemsSource="MY ITEMS SOURCE BINDING"> <Lis...
stackexchange/codereview
I am having some issues with Tomcat 6 on Ubuntu Karmic. It doesn't start the app failing with various errors. The first on is: Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission spring.security.strategy read) at java.security.AccessControlContext.checkPermission(AccessControlCo...
stackexchange/codereview
I have no actual php errors, but When I make my query this I get output : $sql_result = "SELECT AuthorFirst, AuthorLast, OnHand, Title FROM Inventory i, Wrote w, Author a, Book b WHERE i.BookCode = b.BookCode AND i.BookCode = w.BookCode AND a.AuthorNum = w.AuthorNum AND 2 = i.B...
stackexchange/codereview
I have a custom view in src > myproject.test > HomeView In my main layout xml I have the following: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/home_root" android:orientation="vertical" android:layout_width="fill_parent" ...
stackexchange/codereview
Is there a function that returns how much space is free on a drive partition given a directory path?
stackexchange/codereview
I'be seen a few questions regarding missing tail call optimization in C# supposedly making the language ill suited for recursive algorithm implementations. this, however,begs the question, how can we do tail call optimizations and still provide sensible stack traces when exceptions are raised or when reflection may be ...
stackexchange/codereview
I hope that this question has not been asked elsewhere, but I'm having difficulty finding the right search terms to bring up any already-existing answers to this problem. I'm implementing a program in C# WPF (MVVM) with many interview-style screens where the user inputs scientific data in an orderly manner. We would ...
stackexchange/codereview
I have the following design problem. I have a list of items and I want to make the whole of each of the first li to be a clickable link. I have tried adding a link in each li, making it a block level element and positioning it absolute, but that doesn't work because the parent and all li's are floated left for layout p...
stackexchange/codereview
I have an XBAP application which is approximately 1.3MB in size. I have tried to get the size of the application down to as small as possible but have dependencies on the WPF Toolkit amongst other things and am limited there. Currently I am experiencing slow start ups in the following areas: Initial Download (probabl...
stackexchange/codereview
I have read the documents in the following locations. Maybe I'm too dumb but I can't see too many useful examples that I can visualize and no much stay in my mind. http://eclipse.org/aspectj http://www.ibm.com/developerworks/java/library/j-aopwork8/index.html Does anyone have any good and simple AspectJ getting star...
stackexchange/codereview
I'm working on a project which means customising an existing application (JasperServer 3.7.1) which is implemented in Spring 2.5.6 (plus a host of other Spring frameworks). The application consists of a host of applicationContext*.xml containing the bean definitions which when wired together by Spring bring the app to ...
stackexchange/codereview
Does some interface like below already exist in Java? interface Size { int getWidth(); int getHeight(); } Edit: It must be an interface.
stackexchange/codereview
I'm using SoapUI to generate my web service client classes (using wsimport/jax-ws ri if it makes a difference). I've had no problem with this for several services, however, the one im working on now has a wsdl file which is served via https and I get the following error when I try to generate my client classes. [ERRO...
stackexchange/codereview
I have a class that does some retrieving of contents, and it has a method that requires some inputs (filters) before retrieving it. One of the "input" calls another method, which basically returning an int, how do I mock it using MOQ? Here's an example: namespace MyNamespace { public class ConfigMetaDataColumns : M...
stackexchange/codereview
I have a database containing two tables - one, states, contains info about each state's income taxes, and the second, brackets, contains the tax brackets for each state connected to States by a numeric key. I would like to use SQL to retrieve each state and the AVERAGE tax bracket amount for each state to output in a r...
stackexchange/codereview
While deciding for a cross platform language for a desktop application I want to do, I came across "wxwidgets" for C++. After testing a demo application in Mac 10.6.4 I noticed the application needed "Rosetta" to run. My concern is: Will I always need "Rosetta" for a C++ application with wxwidgets to run on a Mac? Note...
stackexchange/codereview
I'm creating a web service that'll be called from a web form in asp.net. How does the web service check if the user is logged-in and if it is the logged-in user that's actually requesting the service? thanks
stackexchange/codereview
Is it possible to get current time of other cities from code?(for example current time of Paris)
stackexchange/codereview
I have an android application that can operate with or without a location. handling this case in an activity is straightforward: I set a location listener and wait with a progress dialog, but allow the wait to be aborted by the user (it so happens that if the location provider is disabled, there's no special error is j...
stackexchange/codereview
I have had this problem for a while now and no matter what i cannot seem to resolve it. I have a master page and a content page. The content page simply contains a button <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <asp...
stackexchange/codereview
In my AppDomain there are few dynamic assembly, when I try codeDom.CompileAssemblyFromSource to Compile another new assembly, I can't figure out a way to add those dynamic assemble to ReferencedAssemblies. foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) { compilerParameters.ReferencedAssembl...
stackexchange/codereview
I have a very basic doubt, In C++ does there exist a data structure for each Type which stores static data and methods defined by that type, similar to the data structure that exists in .NET for every Type. Regards, Jeez
stackexchange/codereview
I am currently using RIA services with an object containing a child containing itself a child and it's not working :-( ! I have an update method for the BaseObject and the FirstChild are correctly present in the client but it behaves as if I have no SecondChild object (the type is not event created on the client).....
stackexchange/codereview
I'm having a module import issue. using python 2.6 on ubuntu 10.10 I have a class that subclasses the daemon at http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/ . I created a python package with a module containing code that imports some models from a django project. The code works when used...
stackexchange/codereview
So, there is a jqGrid, with declaration, smth like: $("#grid").jqGrid({ ... bunch of stuff ... ).searchGrid({ multipleSearch: true }); which is fine, when I click Search button, it brings me modal form with I guess first column and a dropdown of sopts: searchoptions: { sopt: ['eq', 'ne', 'cn']}. Now, i want to be able...
stackexchange/codereview
My code: protected void Button1_Click(object sender, EventArgs e) { CustomControl myControl = new CustomControl(); UpdatePanel1.ContentTemplateContainer.Controls.Add(myControl); Button btn = new Button(); UpdatePanel1.ContentTemplateContainer.Controls.Add(btn); } After cli...
stackexchange/codereview
I need a regex that will find everything in a string up to and including the last \ or /. For example, c:\directory\file.txt should result in c:\directory\
stackexchange/codereview
I am experiencing a very weird issue when using Visual Studio (9) for debugging my applications. Whenever I hit F5 to start the debugging, the application takes a long time until it even gets to the first line of my main function... I started up Process Explorer and during this time you can see how slowly it finds and ...
stackexchange/codereview
I've got a modal dialog popping up via jQuery, but I would like it to behave like a regular js alert in that a) if you are on another tab it will bring the browser's focus back to the page with the alert and b) an alert sound "ding!" will be played. Is this possible? Here is my dialog box: var $newCandleDialog = $('<di...
stackexchange/codereview
So, I basically developed and tested my app using a developer provisioning profile. now i'm almost ready to submit my app to the app-store, and I was going to use the app-store provisioning profile. so I don't really need to mess with the ad-hoc one at all right? (I think it's some kind of voodoo magic for multiple dev...
stackexchange/codereview
I have several databases named very similar (my-db-1, my-db-2, my-db-3, my-db-4). I want to execute the same stored procedure on each of these databases. I decided to use cursors. However, I am getting some strange issues. First here is my simple code that I am executing through SQL Server Management Studio 2008. DECL...
stackexchange/codereview
According to documents it's clear how to register HttpHandlers in IIS 7.0 integrated mode if you implement IHttpHandler inside a dll and put it in Bin folder of web application. Then adding a line in web.config of that application completes the registeration process. There is an .ASHX file type which implements IHttpHa...
stackexchange/codereview
Being new in Android world and advancing with joy day by day ;) I would like to share examples about common usage. Here comes example about using SharedPreferences with generic LocalStore class. create a common class to be used by your main activity or by any of sub-activity. public class LocalStore { priv...
stackexchange/codereview
I want to make an application to add personal details to the contacts in Android. I am able to add the name, phone number, etc. using the following code: intent addContactIntent = new Intent(Contacts.Intents.Insert.ACTION, Contacts.People.CONTENT_URI); addContactIntent.putExtra(Contacts.Intents.Insert.NAME, "myname"); ...
stackexchange/codereview
How do I specify Default Location of where my Product is to be installed and create additional folders for Log Files, Temporary Files? For instance, if I decide to install every instance of my application in the path C:\Documents and Settings\\Application Data\ is where I want to install my Application, that is, the D...
stackexchange/codereview
I want to define a new distance unit in JScience. The "Tutorial" section of the project website just leads to Javadoc which, while fairly complete, is a bit too dense for me to fathom how I actually go about defining my own unit. Could you provide an example? Cheers. Pete
stackexchange/codereview
I have written the following code, which is meant to be a client wsdl for http://www.nanonull.com/TimeService/TimeService.asmx?WSDL: package time; class Client { public static void main(String args[]){ TimeService service = new TimeService(); TimeServiceSoap port= service.getTimeServiceSoap(); ...
stackexchange/codereview
This is my jquery and javascript code : <script type="text/javascript"> $(document).ready(function () { //setup new person dialog $('#dialog').dialog({ modal: true, modal: true, // show: "clip", // hide: "explode", autoOpen: false, title: "انت...
stackexchange/codereview
I would like to ask of how to add new documents to an existing lucene index. in the source code below, I just change the paramater of IndexWriter into false. IndexWriter indexWriter = new IndexWriter( FSDirectory.open(indexDir), new SimpleAnalyzer(), false, IndexWriter.M...
stackexchange/codereview
What's the problem with this? the hash is : #/search=hello/somethingelse/ window.location.hash.replace(/search=([^\/]*)/gi, "search=" + value); EDIT: I want to change just a specific part of the hash not the whole hash.
stackexchange/codereview
What is the Java type for *short using JNA I have in my dll short and *short, so how can I call short -> int *short -> int[]? Thanks, Alex
stackexchange/codereview
I have a WPF application which doesn't seem to garbage collect on x64 systems. I have tested it carefully on x86 machines and I am confident it isn't a programming problem, the memory usage will grow and then will be garbage collected as I expect. The target platform = 'Any CPU' I have discovered that I can eliminate ...
stackexchange/codereview
I'm wondering why php adds a backslash when i remove double quotes. <input type="text" name="number" id="number" /> <input type="button" name="button" id="button" value="Button" /> Say they user enters the value 5-1/2" and i'm passing it to a processing page via jquery's .get method. $('#button').click(function(){ ...
stackexchange/codereview
On Windows Phone 7: I want to read RSS feed with 3 different field: Title, Description-1, and Description-2. But I want to show only title and description-1 in main page as listbox. When user click on each item then it goes to next page which just show title and description-2 field related to the item user clicked on i...
stackexchange/codereview
I cannot seem to use variable in the situation below. [PS] C:\>Get-User -Filter {SamAccountName -eq "Test.Smith"} Name RecipientType ---- ------------- Test Smith ...
stackexchange/codereview
I am new to x86 assembly language, I have a signed integer saved in register eax, and I want to check if the number is negative or positive. To do that, I used bt instruction to check the first bit. Here is what I did: bt eax,0 jnc isNegative bt loads the first bit to carry flag, and I used jnc to check if carry flag ...
stackexchange/codereview
Hello Why I haven't access to my private control on form (e.g. ListBox) from a static method? How to update control in this case? EDIT 1. my code: ThreadStart thrSt = new ThreadStart(GetConnected); Thread thr = new Thread(thrSt); thr.Start(); and static void GetConnected() { //update my L...
stackexchange/codereview
An example of what I'm talking about is similar to Google Calendar. When a new recurring task is created. After creating the recurring task "template" - which all of the individual tasks are based on, do you create all of the individual tasks and store them in the database? or do you just store the "template" recurrin...
stackexchange/codereview
I'm fairly new to Rails and am writing a login form. I have used form_tag to pass through the user's submission to the account controller. Now, I don't want the user to be able to enter their login details through a GET request, so how can I check that a certain param is either a GET or POST parameter? Thanks in advanc...
stackexchange/codereview
Good Overviews Generally speaking, you're making a decision between fast read times (for example, nested set) or fast write times (adjacency list). Usually, you end up with a combination of the options below that best fit your needs. The following provides some in-depth reading: One more Nested Intervals vs. Adjacency...
stackexchange/codereview
Is there a reporting tool in C? like jasper report in java.
stackexchange/codereview
I have a list of images. When the page load each time I want to show the next image in the series, and when it reloads again I want to change next image, etc. Please suggest me a solution using jQuery. Thanks
stackexchange/codereview
I have seen and done initialization of arrays and all put "nil" at the end of initialization but never question, why it is required to put there? Plus if you are initializing your array in a loop, is it still necessary to put nil at the end of array? for example. array = [[NSMutableArray alloc] init]; for (int i = 0 ;...
stackexchange/codereview
I'm trying to build out a WCF service but I've run into a blocking issue. I've been Googling around but I haven't been able to make any progress. Hopefully I'll have more luck here. Let's say I have a job class defined as such: [DataContract] public class Job : IJob { public Job(...) { } [DataMember]...
stackexchange/codereview
I get a Overflow error when i try this calculation, but i cant figure out why. 1-math.exp(-4*1000000*-0.0641515994108)
stackexchange/codereview
Using easySlider 1.7 I've got it all configured how I'd like it but the last image of my 3 shows up then disappears. Then it loops the 2 images again. The other 2 hang around for 5 seconds then the 3rd moves in and it gets swallowed up. This is my easySlider code: $.fn.easySlider = function(options){ // default confi...
stackexchange/codereview
I'm using Emacs on windows. My default folder is c:/home, but I want to edit my file in d:/ how to do it in ido mode ? I tried // but that put me in c:/. Currently, I use C-f (change back to normal find file mode), but that defeat the purpose of using ido mode in first place....
stackexchange/codereview
i made a custom class loader function in php something like.. load_class($className,$parameters,$instantiate); its supposed to include the class and optionally instantiate the class specified the problem is about the parameters. ive been trying to pass the parameters all day i tried load_class('className',"'param1','p...
stackexchange/codereview
I'm attempting to write an iPhone game. This function is intended to apply gravitational force to several objects. I'm porting it from Python and I'm wondering if my use of dictionaries and arrays as tuples makes sense and is typical/idiomatic in Objective C. Any comments on the code appreciated. + (void)updateBodie...
stackexchange/codereview
im trying to write a function in Scheme where i accept a list and return all the different derangements (look below for definition) as a list of lists derangement: A list where no item is in the same place as the original list ex: '(a b c) -> '(cab) any help is appreciated!
stackexchange/codereview
I have an <input> that I want to be smaller than size="1" but I do not know how to make it smaller. Is it possible to do this? I tried using fractions and decimals but neither worked.
stackexchange/codereview
The application manages (for the sake of simplicity) Topic and Messages posted to it by Users. Its structure is rather simple, and enforced by Foreign keys: There are 3 tables, Topics, Users and Messages. The Topic and User entities are linked through an (,) cardinality link embodied by the Message Entity. Message: (Id...
stackexchange/codereview
What is the best way to kill an application instance? I am aware of these three methods: Application.Exit() Environment.Exit(0) Process.GetCurrentProcess().Kill() Can anyone tell me which is better or when using each of the above would be appropriate?
stackexchange/codereview
I'm using bash. Suppose I have a log file directory /var/myprogram/logs/. Under this directory I have many sub-directories and sub-sub-directories that include different types of log files from my program. I'd like to find the three newest files (modified most recently), whose name starts with 2010, under /var/myprogra...
stackexchange/codereview
Is there a better way to do the following? var html; var i; for (i=0; i < 4; i++) { html += '<div class="row">'; html += '<span class="label">Dining Style:</span>'; html += '<span class="control">'; var j; for (j=0; j < 3; j++){ html += '<div class="attribBox">'; html += '<ul>';...
stackexchange/codereview
Can anyone tell me how can I get the length of a string without using the len() function or any string methods. Please anyone tell me as I'm tapping my head madly for the answer. Thank you.
stackexchange/codereview
This is a question in my paper test today, the function signature is int is_match(char* pattern,char* string) The pattern is limited to only ASCII chars and the quantification * and ?, so it is relatively simple. is_match should return 1 if matched, otherwise 0. How do I do this?
stackexchange/codereview
Possible Duplicate: Find out which class called a method in another class. Hello everyone, I have a class and I can't find where his object creates. I mean, can I somehow find out who calls his constructor? Thanks a lot, Andrey.
stackexchange/codereview
First, I apology if I used the wrong term in the question (Please feel free to edit if I'm wrong). I know Google hosts (almost) all version of jQuery, jQuery UI (js and css) For example : <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/ja...
stackexchange/codereview
anybody can explain me epsilon what is this term although i did not use in my header file. like Right (const lPoint& a, const lPoint& b, const lPoint& c, double epsilon) { #if _NOT_USED_EPSILON return (( (a.x_ * b.y_) - (a.y_ * b.x_) + (a.y_ * c.x_) - (a.x_ * c.y_) + (b.x_ * c.y_) - (c...
stackexchange/codereview
I'm not sure if maybe I'm just not finding the correct information. But the OData story on windows phone 7 seems to be incomplete. I've followed the steps in this blog post: http://dotnetspeak.com/index.php/2010/03/windows-phone-7-application-with-odata/ This generated the expected client types as described. Unfortunat...
stackexchange/codereview
As of what I know about '&' operator, it returns the base address of the operand in memory. Let us imagine the following scenario (as on my machine): sizeof(int) = 4 bytes sizeof(float) = 4 bytes sizeof(char) = 1 byte Now, if I write something like this: void main() { int i = 5411; int *ip = &i; char *c = &i; pr...
stackexchange/codereview
I've been told that I should use size_t always when I want 32bit unsigned int, I don't quite understand why, but I think it has something to do with that if someone compiles the program on 16 or 64 bit machines, the unsigned int would become 16 or 64 bit but size_t won't, but why doesn't it? and how can I force the bit...
stackexchange/codereview
I know good programming practices always help in the "long run" for a project, but sometimes they just seem to cost a lot of time. For instance, its suggested that I maintain a header file and a cpp file for each class that I make, keep only the declarations in the headers while definitions in cpp. Even with 10-12 clas...
stackexchange/codereview
Is there an easy way to save ajax requests into a browser's history so that when you use the back button it will preserve the last state of the DOM? Websites like twitter and digg that use an ajax pager have a usability flaw where if you click next page several times then click away from the site and then return using ...
stackexchange/codereview
This should be so simple: $("a").hover(function () { $(this).stop().animate({color: "#00cc00"}, 'fast'); }, function () { $(this).stop().animate({color: "#939393"}, 'fast'); }); $(".footer_link").find("a").hover(function () { $(this).stop().animate({color: "#333"}, 'fast'); }, function () { $(this).sto...
stackexchange/codereview
Spent a few hours on this and need some expert help. I have a table like this: [id] [name] [parent_id] 1 fruits 0 2 orange 1 3 lemon 2 4 steak 0 When I go to lemon, I want the breadcrumb to be like: Home > Fruits > Orange > Lemon And lemon not to be a link but the rest to be a link. Any suggestions? ...
stackexchange/codereview
I would like the following script to move a table row to the top of a table. I can't figure out how to reference the id of the first row, however, since the ID is set dynamically, I tried row.insertAfter(row.first()); but it's making the row disappear instead of moving it. Any ideas how to reference the top row? $(...
stackexchange/codereview
I'm trying to move an application from JBoss 4.2.2 AS to 6.x AS. Right now I'm trying to get jbpm 3.x running on the AS I have this problem when trying to upload a .par file to the server: 13:41:51,713 ERROR [org.jbpm.db.GraphSession] (http-127.0.0.1-8888-1) java.lang.ClassCastException: org.jbpm.graph.def.Node_$$_java...
stackexchange/codereview
I have a form that has two buttons. One for saving a record and the other for cancelling the save procedure. I am using the rails.js (a common AJAX/jQuery plug-in for those of you not in the know) javascript file that works with jQuery for unobtrusive javascript/ajax calls. When I send the form data over ajax, I want ...
stackexchange/codereview
I am looking at a semester long project in compilers that could also evolve into my graduate thesis. I do not have much experience in this field (I have written a small "translator" for Pascal as part of my undergraduate work) --- I have been more into Machine Learning, and AI. The idea is to take this up as a challeng...
stackexchange/codereview
I'm using the Graph API to post to a user's wall via a 3rd party website. The update contains a link to said 3rd party website. (In functionality, it's kind of like just putting a Facebook "Like" button on the 3rd party page, except I want some more finely-tuned control over how the caption looks on Facebook.) I am no...
stackexchange/codereview
I have an (R, G, B) triplet, where each color is between 0.0 and 1.0 . Given a factor F (0.0 means the original color and 1.0 means white), I want to calculate a new triplet that is the “watermarked” version of the color. I use the following expression (pseudo-code): for each c in R, G, B: new_c ← c + F × (1 - c) ...
stackexchange/codereview
I've got a 2-dimensional array of values in JSON format: [[57, 2], [57, 2], [58, 2], [55, 2], [60, 2], [54, 1], [59, 11]] Each of the pairs actually contains a pair of unrelated readings, and there is one pair for each minute. So in the first min, reading 1 is 57 and reading 2 is 2. In the second minute, the readings...
stackexchange/codereview
Basically, I am querying 3 columns in MySQL, Item_id, Date, and New_Qty. When I use the max function on the date column, the other columns all display their maxes for the same date range. SELECT `item_id` , max(date) AS max_date ,`new_qty` FROM `item_warehouse_link_history` WHERE warehouse_id =1 AND item_id=1000 AND ...
stackexchange/codereview
What is the difference between typecasting and typeconversion in C++ or Java ?
stackexchange/codereview
I want to convert from JSONObject {"CNo":80,"CName":"ganesh","CMail":"ganesh@ganesh.com","CMailType":"home","CPhNo":9878987776,"CPhNoType":"home","ClientNo":1} to {\"CNo\":80,\"CName\":\"ganesh\",\"CMail\":\"ganesh@ganesh.com\",\"CMailType\":\"home\",\"CPhNo\":9878987776,\"CPhNoType\":\"home\",\"ClientNo\":1}
stackexchange/codereview
I have an existing winform app which didn't use Program.cs. I wanted to add Program.cs with the usual code static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Applicat...
stackexchange/codereview
I'm mucking about with Tkinter and Python. I have a basic gui with a couple of buttons on, one button goes away and does something that takes some amount of time, which is variable. The problem is when I hit this button the whole of my gui locks up/ doesnt show correctly - I guess because its trying to do these things ...
stackexchange/codereview
I want to add like a ? beside of a TextField so as if the mouse pases over, it shows some help How can I do it please. Thnx
stackexchange/codereview
Could someone tell me what I need to do to enable Guava support in GWT. I have downloaded Guava R07 and in there there are the following two files: guava-r07.jar guava-r07-gwt.jar I have a few questions regarding this: Where do these files go? I am guessing that the standard Jar is made available to my IDE for codin...
stackexchange/codereview
I have an objective to transfer some files which can be pdf, jpg and xml from one location to another. I am creating a handler based API for that. What could be the best approach for doing it? Should i return a byte array so that the client can pick the byte array and convert it back to file? Also the max file size I n...
stackexchange/codereview
whenever i delete a record and then insert new one, new record is inserted at the deleted index? how can i force new record to be inserted at the end of table?
stackexchange/codereview
I developed article rotator where 5 articles with images rotate automatically and user can focus one (and stop rotating) by mouseover. Click will open the article. The article rotator is here: http://antizena.df.sk/ and it is just devel version. How to name it? What is the best name for this feature?
stackexchange/codereview