instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I need to make edits for a website developer / designer and he asked me to print all of the pages and make comments directly on them. There are about 35 unique pages that I want to edit, although there are thousands that can be automatically generated from a database, but these are numbered sequentially. Thus, I would ...
stackexchange/codereview
In this answer to the question of the fastest way to determine if a property contains a given attribute, user Darin Dimitrov posited that expression trees are safer than reflection. Is this true, and if so, why is it true?
stackexchange/codereview
I want to add a number of JButtons to a JPanel using a For loop. When the user presses a button, the following code is run: for (i = 0; i < 10; i++) { JButton aButton = new JButton(); mainPanel.add(aButton); mainPanel.revalidate(); mainPanel.repaint(); System.out.println("Added: " + (i + 1) + "buttons"); } H...
stackexchange/codereview
I want to check two conditions in the OnClientClick event of an asp.net button control. I tried this but it is only checking the first function. OnClientClick="javascript:shouldSubmit=true; return checkFunction1(); return checkFunction2(); What is the correct way do it?
stackexchange/codereview
I'm doing a lot of development with a weekly demo to client. I have a development environment and a test environment. Every week I have to backup the database on development and then use remote desktop to restore it on the test server. I've tried using MSdeploy to move the database but haven't been able to get the drop...
stackexchange/codereview
This is perhaps a couple of questions rolled into one here, I am creating an image gallery and wanted the thumbnails to fade in on the page one after another, this needs to be dynamic to the amount of images within a div (for reuse on the other gallery pages) $(function { var $gallImages = $('#galleryThumbs img'); fo...
stackexchange/codereview
Just couldn't find anything regarding the purpose of android.opengl classes anywhere on the web: they seem to be copies of javax.microedition.khronos.opengles - just with static vs member methods. So is there any special meaning in using them instead of J2ME classes: are they supposed to be faster, have additional func...
stackexchange/codereview
How can i use $_GET to extract from index.php?23456 For Example : www.example.com/index.php?23456 www.example.com/?23456 Or: www.example.com/index.php?23456&55555 result should be : echo $string; // result 23456 echo $string2; // result 23456
stackexchange/codereview
I've added both callbacks and triggered events to a plugin as follows: // located at the point where the event and callback should be called el.trigger('initialized', el); if ($.isFunction(options.onInitialize)) { options.onInitialize(el); } but I found another method where it was done this way: // located at the begi...
stackexchange/codereview
I am having trouble with a socket client application written in vb.net using Visual Studio 2005. The client connects to a C language socket server that is running on OpenVMS. The problem that I have is that when the server sends a packet, the client does not receive the last byte (of every packet!). I can dump the p...
stackexchange/codereview
I am currently using Wikimapia to get the object's polygon, which is also its bound. However, I cannot get the polygon of some large objects, such as cities or countries. I think that Wikimapia does not have such information. Do you know any method to get that information from Google Maps or Wikimapia? Best, Cuong
stackexchange/codereview
DISCLAIMER: The teacher in my class DOES NOT provide any examples or show any examples in class for looping (and the one example he showed us he said it was wrong, he used wrong example), and in addition to that he did not say whether it is a control loop, nested loop, a for, do, or while loop, thus I am in need of ass...
stackexchange/codereview
I have two tables (customers, admin) A user logs in by email and password, I need to check if either the email and password exists in the customer or admin table. The emails are unquie so won't have a problem there. This is for uni work, obviously I would have a better database design than this but I have to use what i...
stackexchange/codereview
I have a set of tests, and I want to test that my classes throw exceptions at the right time. In the example, my class uses the __get() magic method, so I need to test that an exception is thrown when an invalid property is retrieved: function testExceptionThrownWhenGettingInvalidProperty() { $obj = new MyClass(); ...
stackexchange/codereview
I have an application done with cakephp, and I have i18n done on the databse, following the instructions on the cakephp book. The thing is that on the table at the index view, I can't sort by the fields that are translated. The field's don't actually exist on the database, so here is where I suppose the problem comes, ...
stackexchange/codereview
I need to split a number of files and I'm looking for options to retain the full file history in the split-off files. Background... I've inherited a project containing lots of Oracle PL/SQL packages with the package spec and the package body all stored in a single ".sql" file. I'd prefer to have the package specificati...
stackexchange/codereview
Im trying to copy data only between two SQL server 2008 databases. I need to keep the existing stored procs and functions intact and copy data only. The DB schemas are identical but im running into issues with PK's. I first tried: EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL' EXEC sp_MSForEachTable 'DEL...
stackexchange/codereview
I'm in the process of looking at taking some examples that are currently in one format (NOT Mavenized - actually in ANT form) and trying to find an automated way to munge them into something that Eclipse can comprehend. Though I have several years of Java and other odd languages, doing this in Java sounds like using a ...
stackexchange/codereview
I don't know if this is a bug or intended functionality, but the POM editor for m2Eclipse has a wonderful graph representation ('Dependency Graph' tab) and tree ('Dependency Heirarchy' tab) if the dependencies are in the dependency section all by themselves. However, when you move them into the 'dependencyManagement' n...
stackexchange/codereview
Would there be a way to do a zip code lookup based on City/State input in a form? I'm thinking the Google geocode API might be the right direction. Any thoughts? I have a site built on Wordpress so the code would have to utilize PHP. Thanks in advance.
stackexchange/codereview
I've got this strange bug in my app. I'm making a subview and drawing it over the top of my main view. To get rid of it I'd just hide it. Here's the problem: There I can see part of the view underneath peeking through the bottom in a line that seems to be the same size as the status bar. I've put how I'm adding my...
stackexchange/codereview
My page has a jquery ui datepicker on an input field #graph_start_date I'm trying to write the following Cucumber steps When I click the graph start date Then I should see a datepicker Here's what I have for the step definitions: When /I click the graph start date/ do find(".//*[@id='graph_start_date']").click end ...
stackexchange/codereview
I have a problem in that I am trying to background load a sound file while the user moves around a UIScrollView... The problem is that I am using NSURLRequest so I can load in the background, but even then it refuses to actually load until the UIScrollView has stopped scrolling. :( Is there anything I can do about this...
stackexchange/codereview
I'm creating an inventory system with Ruby on Rails as the application server and having java clients as the frontend. Part of the project mandates that we create an integrated class diagram (a class diagram that includes all classes and shows the relationships). The way the class has been designed and what we've been ...
stackexchange/codereview
The setup is a mySQL database on a remote server, using MS Access 2010 as front-end user interface. Problem occurs in forms based on underlying sorted queries, where default view is Continuous Forms: OrderByOn property is False by default – not a problem. User turns on OrderByOn property, using a button which re-s...
stackexchange/codereview
I know rule #1 of optimization is: don't do it! But I figured this was an easy question, and if I start using the faster method now I can save a lot of cpu time when I'm finished. I'm making an RPG, and let's say this is part of a custom class: public class Baddie{ int health; int magic; public Baddie(int...
stackexchange/codereview
I'm just learning Objective-C and have a what I'm sure is a pretty basic question here. This is a function I've created that will simple hold variables from some user input. - (void)standardDatabaseWithName:(NSString*)name host:(NSString*)host username:(NSString*)us...
stackexchange/codereview
I have a custom parser that generate C++ files and add them into a project. What I would like to do is call this parser before building my project and compile the new generated files in the same build. I use VS2010. I tried to call the parser in the PreBuild, the generated files are correctly added in the project (I ca...
stackexchange/codereview
I'm writing code for a sortable table, where clicking the links in the header change the ORDER BY executed when generating a set of search results (the case where there there is no valid order by causes the query to not be run with order by and just return the results in the order the database returns. this is as desig...
stackexchange/codereview
I have a JavaScript array dataArray which I want to push into a new array newArray. Except I don't want newArray[0] to be dataArray. I want to push in all the items into the new array: var newArray = []; newArray.pushValues(dataArray1); newArray.pushValues(dataArray2); // ... or even better: var newArray = new Array ...
stackexchange/codereview
I have a problem with Jquery, it works but it seems to flicker once complete: Exmaple here: http://www.zombiewrath.com/maintest.php Why does it do that? Here is the code: <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> </head> <body> <input ty...
stackexchange/codereview
Is there a hook in Doctrine \ Symfony to manually edit queries that are built by Doctrine before they are sent to the database?
stackexchange/codereview
I want to disable the "download data" capability [for my app] in Organizer. I belive it's a plist file setting but can't find information on it anywhere.
stackexchange/codereview
when my program in any process (load csv file for example) i see 'program Not Responding' and i see black screen - in Windows-7 in Windows-XP i dont see it (after this the program Continues normal) Why is this happening ?
stackexchange/codereview
I am trying to reverse a linked list using recursion and wrote the following code for it. The list is start of the list at the beginning. node *reverse_list_recursive(node *list) { node *parent = list; node *current = list->next; if(current == NULL) return parent; else { ...
stackexchange/codereview
I want to read a 8 bit grayscale bmp file, reconstruct it's pixel matrix, then process it with sobel operator. However program can not construct pixel matrix, it divides the original pitcure blocks. When I run the program like that; ./sobel cube.bmp output.bmp processed.bmp output.txt cube.bmp is the input output.bmp ...
stackexchange/codereview
I found this question on StackOverflow. Basically, the user wanted to draw custom buttons on the titlebar. I tried the code and realised it works in vista/7 only when Aero is disabled. My question is, is there any way to draw custom buttons on the titlebar while aero is enabled? Also, is there any way of reading infor...
stackexchange/codereview
I am trying to load my webapp into Tomcat. It seems to be complaining that it has an older version of a JAR than my application. Should I remove that older JAR, use a newer version of Java, edit the bootstrap classloader (how?) or what? Message: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI ...
stackexchange/codereview
If i have the following Text #Welcome to the world of Hello World Again #Hello World Again Hello World Again #Other Stuff Other Im using this command preg_replace('/[^#|^ ]Hello.*/m', 'Hello Again', $content); My output keeps giving me #Welcome to the world of Hello World Again #Hello World AgainHello Again #Other ...
stackexchange/codereview
Is it possible to play multiple sound files using a single sound object? (I've looked into this back when I was using Flash CS3, but I want to know if anything has changed.) (I'm trying to make a playlist which will play music in the background of my SWF movie and then have a frame where users can change the song and ...
stackexchange/codereview
Is there any good Dataset designer control similar to "Crystal Reports Database Expert", which I can provide in my application. All I need to do show tables and Let the users establish relationships between those tables and select fields to view. As this data comes from different sources, and the number of columns chan...
stackexchange/codereview
I'm trying to set the width of a rich column on the fly like: <rich:column width="#{extraColumnWidth}"> where: <c:set var="extraColumnWidth" value="#{document.instanceList.size() * 20}px"/> But it does not work..i mean the width is not taken as it should but it remains the same no matter how much size of the list is....
stackexchange/codereview
A client has a pdf newsletter that weighs in at 1.63 MB, so not huge. We send out an email blast with a link to the pdf. Or else the users find a link on the home page of the site. It doesn't matter. The problem is that when a user requests the PDF, the browser will sometimes go into a deep freeze. Ie, you need to u...
stackexchange/codereview
I have an ASP.NET application that P/Invokes a 32-bit DLL. When i deployed it on a 64-bit server i got the error "An attempt was made to load a program with an incorrect format". Then i configured IIS to run 32-bit as per instructions given here. Still get the same error. What could be the problem here?
stackexchange/codereview
Is there a way to reload iframe without refreshing the whole page?
stackexchange/codereview
I'm trying to use XMLHttpRequest over SSL for a login system. Currently, I'm just testing the capabilities of XMLHttpRequest over SSL to make sure it indeed works. So here's what I'm testing: Relevant Javascript: xml_request.open("POST", "https://......", true); xml_request.setRequestHeader("Content-type", "applicat...
stackexchange/codereview
I can't get my tabs working, no mater what I do. Demo is very simple and straight forward but i must missed something. CSS is applied and $("#pnlTabs").tabs(); function is called but nothing happens. Please help me, this JS drives me nuts. EDIT: here is the link to zip file with complete solution http://dl.dropbox.c...
stackexchange/codereview
I have a database from a 3rd party. They supply a tool to update the database data weekly. The tool is pretty old and uses ODBC. Updates can either be incremental or can delete all database data then recreate the data. The update can take several hours. In order to have high availability, it was suggested to hav...
stackexchange/codereview
I have a rectangle class that has 2 points, the center axes point and the size of the rectangle. Lets say I want to drag the bottom of the rectangle with the mouse but keep the top of it in the same position. What is the algorithm to find the center position and the new rectangle size based on the mouse? Thanks in a...
stackexchange/codereview
Possible Duplicate: What good technology podcasts are out there? Travelling an hour each way to work in the car I have taken to juicing my ears and brain by listening to podcasts. Currently this includes .NET Rocks, The Java Posse and (for the few I could find) Hacker Medley. Could anyone recommend any others? My ba...
stackexchange/codereview
Which code will work fastest? for(i=0; i<100; i++) { jQuery("#myDiv").append("<span>" + i + "</span>"); } // var i, markup = ""; for (i=0; i<100; i++) { markup += "<span>" + i + "</span>"; } // jQuery("#myDiv").append(markup); // var i, markup = ""; for (i=0; i<100; i++) { markup += "<span>" + i + "</spa...
stackexchange/codereview
What are the major factors that might cause an application to consume more battery power? As an iPhone app developer, what best practices can I apply to minimize battery use?
stackexchange/codereview
I made a program on Mac OS X using OpenGL and dynamically linking libpng. I'm now trying to port it to Windows. Whenever I try to compile and link my ported program in Borland it gives me this error and about 10 more that are the same, but with a different '_png_create_read_struct': Error: Unresolved external '_png_cr...
stackexchange/codereview
I'm experimenting with my ipad as a music controller, and finding that there's too much latency with touchesBegan events for it to work well as a responsive-feeling percussion controller. Am I doing something wrong, or is this a limitation of the devices. Which factors effect the amount of time that elapses between my ...
stackexchange/codereview
I have a MVVM pattern test application that is tossing a lot of System.Windows.Data Error: 17 : Cannot get 'Item[]' value (type 'ChuteGroup') from 'Groups' (type 'ChuteGroupsModel'). BindingExpression:Path=Groups[0]; DataItem='MainViewModel' (HashCode=41802290); target element is 'ChuteView' (Name=''); target property...
stackexchange/codereview
Interesting problem. In a project scope change, I broke one application into two applications. I created a new project instead of trying to hack the existing application into two and reused much of the previously written code. I am down the the final bug that is making me pull my hair out. I have a list of items with ...
stackexchange/codereview
I have table: CREATE TABLE test( i INTEGER UNIQUE, j INTEGER UNIQUE, k TEXT ); pragma table_info(test); cid = 0 name = i type = INTEGER notnull = 0 dflt_value = pk = 0 ... How can I find out is column "i" UNIQUE or not. Thanks
stackexchange/codereview
I have certain information being stored in a MySQL database that warrants being stored in an encrypted form. However my .Net application can't absorb the perfomance hit of doing the encryption and decryption at the application layer. Is there any MySQL function that allows an ecryption key to be specified in the conne...
stackexchange/codereview
For example, I get 12150 instead of 301. Anyone knows anything about that?
stackexchange/codereview
So let's say I have an ArrayList of Strings, called list1, containing the strings, "A", "B", "C", "D", "E". Then I have another ArrayList of type storageUnit, which is a class I wrote, called list2. Please see code below for a better explanation: ArrayList<String> list1 = new ArrayList<String>(); ArrayList<storageUnit>...
stackexchange/codereview
I am trying to work on some action based on the browser in rails. So I have this in my index.rhtml <div class="function_tes"> <function whichBrwsr() { var agt=navigator.userAgent.toLowerCase(); if (agt.indexOf("msie") != -1) return 'IE'; if (agt.indexOf("firefox") != -...
stackexchange/codereview
(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. locmanager = [[CLLocationManager alloc] init]; [locmanager setDelegate:self]; [locmanager setDesiredAccuracy:kCLLocationAccuracyHundredMeters...
stackexchange/codereview
I saw some examples where indexes were being created. Afterwards the following was executed: exec dbms_stats.gather_table_stats(...) Is this necessary for Oracle to pay attention to the index? I think stats are gathered every night (?) but there have been situations where I created an index was was disappointed by t...
stackexchange/codereview
I have tried looking all over the net for some help, and couldn't find anything. I'm posting here because I am out of all other ideas. I want to integrate activeCollab with my django project but I am having trouble finding tutorials or instructions on how to use their API with django. All of the aC documentation is ...
stackexchange/codereview
I need to add a percentile column to this password data set of 17 million+ records. It is my understanding that the percentile is the total number of passwords with the same or higher occurrences, divided by the total number of passwords. Is this correct? How should I approach this in MySQL?
stackexchange/codereview
I have written some JavaScript code. It adds new function to NodeList type in this way: NodeList.prototype.forEach = function(func) { var len = this.length for(var i=0;i<len;i++) func(this[i]) } It is used somewhere else like that: document.getElementsByTagName("fieldset").forEach(disappearFields) All is really simpl...
stackexchange/codereview
I am new to javascript, and wondering if can only ruth html meta line conditionally. I basically want to navigate to Mypage only when the if statment is true. <SCRIPT type='"text/javascript"'> if(true) Execute the below meta http (Navigate to Mypage.aspx) else stay here </SCRIPT> <meta http-equiv="refresh" content="10...
stackexchange/codereview
I would like to see and manage Quartz Scheduler from JConsole. I configured the quartz props. org.quartz.scheduler.rmi.export=true org.quartz.scheduler.rmi.registryPort=1099 org.quartz.scheduler.rmi.createRegistry=true org.quartz.scheduler.rmi.registryHost=localhost org.quartz.scheduler.skipUpdateCheck=true org.quartz....
stackexchange/codereview
What's the difference between these functions? Thanks for reply! Function #1 var myQuery = (function() { (...) })(); Function #2 var myQuery = (function() { (...) });
stackexchange/codereview
I have the following sentence: var customers = from customer in Context.ps_customer select customer; As you can see, it is the most simple sentence in the world. Well, it throws a NullReferenceException, and I don't have any idea why. in fact, the exception is thrown at List<ps_customer> clientes = cu...
stackexchange/codereview
I have been hunting down memory leaks for some time in my app. As of right now, as I flip back and forth between two views while watching the memory monitor instrument, the real memory fluctuates between 5 and 6 megs. This is all fine -- as far as I can tell everything is getting released properly when I pop back off a...
stackexchange/codereview
I wan't to select my distribution profile in Code Signing Identity in the build tab of targets. But all my certificates (developer, ad hoc, ...) are grayed out. So it seems that the new profile XXX.mobileprovision is not installed. The guidelines say Download the distribution profile and install it in the Xcode Organi...
stackexchange/codereview
I have the below model class Question(db.Model): userid = db.CharField(max_length=50) posted = db.DateTimeField(auto_now=True) question = db.TextField(max_length=500) qid = db.AutoField(primary_key=True) title = db.TextField(max_length=80) class Question_tags(db.Model): tag = db.ForeignKey('Ta...
stackexchange/codereview
I'm working on some map stuff and I'm stuck with something that seems to be quite basic. The gist of what I'm doing is adding 10 flags to a map, and I need to dynamically set the zoom level and center of the map based on the position of the pins (map needs to be zoomed in as far as possible while still showing all pins...
stackexchange/codereview
I would like to modify my .htaccess file so that when someone comes into my site without typing www the site always redirects them to the www version. For example, if my url is www.abc.com and they just type abc.com, I want to redirect them to abc.com. Here is my current htaccess file: <IfModule mod_rewrite.c> Rewr...
stackexchange/codereview
I renamed my project and it's files and now Xcode is still looking for the old info.plist file. Where do I set the locations of the .plist and .pch files that it needs. In my Project Info window, under Packaging there's an item for Info.Plist file, but it was blank, and when I try different paths, nothing happens. On...
stackexchange/codereview
my LINQ query returns an ordered sequence of calendar dates, and i need to output this sequence starting from the earliest date that is more that the given number of days apart from the starting date of the sequence. the code below does that using linear search. it seems that i could use a binary search to find the beg...
stackexchange/codereview
Apple's documentation for the UIActionSheet is causing me confusion. First off, in the iPad Human Interface Guidelines, it says : To learn more about using an action sheet in your code, see “Using Popovers to Display Content” in iPad Programming Guide. But then in the "Using Popovers to Display Content" section, it d...
stackexchange/codereview
Is it possible that i could upload my changes from the svn repository directly to my production server(2nd copy containing all the data as origional copy but for testing purposes)? I mean is there a way i could do it without EXPORT-> Then manually copy paste to production server... If yes, how can i do that? any pitfa...
stackexchange/codereview
Each time am trying the get the value of an element in my page, I have an error as is undefined: I have tried dijit.byId('myid').innerHTML('loading...'); I get an error but when i do the same using jquery, it works $­('#myid').html('loading ...') And what is the equivalent of this $('#myid').html() in dojo? Thanks for ...
stackexchange/codereview
I'm program an Android-App for blind people. So I'm using TTS on every Activity in my App. I don't want to initialize TTS on every activity again because it takes time and resources, so I'm creating a TTS-Object in my application class and use it on the activitys. It works fine. But documentation says you have to somet...
stackexchange/codereview
I need to create a special category for magazine, but I don't know how. Take a look at wireframe image - https://i.stack.imgur.com/sa8Lc.png and hierarchy image -https://i.stack.imgur.com/UWIS3.png for better understanding. Every image of issue and title like «January 2010» are links to category with articles from maga...
stackexchange/codereview
I have a problem with a wordpress theme. I am not a programmer to write a theme from scratch so i was looking for one free. When I installed the theme on the local server to make change the look, error. I get an error on the functions.php and on that line is this code: <?php eval(stripslashes(gzinflate(base64_decode("V...
stackexchange/codereview
A month ago I started working with phonegap, html5, css3 and jQtouch. I am working on an application and I need to play sound in the application. I have a serious problem with this task. First I've found out that I can play .mp3 files through phonegap using the new Media(...) function. I am not sure about .wav files, c...
stackexchange/codereview
I am getting started with CoreAnimation and want to know more about some of the implementations. Where (if possible) can I find the implementation files? This is my first go with a proprietary framework (I come from web world) so I guess it makes sense for them to be off-limits. I mean, the .h and docs are OK, but it w...
stackexchange/codereview
I am trying to accomplish an observe_field in rails 3. In rails 2.3.5 I have :- <%= observe_field 'query', :frequency => 2, :update => "search_results", :url => {:controller => params[:area], :action => "search",:area => params[...
stackexchange/codereview
When I build an application with ant in eclipse . I met java.lang.OutOfMemoryError: Java heap space. How do I set ANT_OPTS under eclipse? Thanks.
stackexchange/codereview
I want to provide the same buttons and the same functionality in the clickedButtonAtIndex on several views, can I do this in a reusable class? If so how ?
stackexchange/codereview
General Info: Aspx page holds an Ascx User control. Inside the User control, the Repeater is contained inside a View, contained inside a Multiview. Asp.Net 2.0 framework / C# Details: I have a repeater (inside an ascx user control) that shows records, and the first column is a checkbox. If checked, that row will be del...
stackexchange/codereview
I know this seems like I should have immediately found the one example out there that simply explained this concept, and I can't find the right one. The examples in tutorials out there use flickr as the request url, and I get it up to a point. I'm trying to handle a very complex form with four different buckets of in...
stackexchange/codereview
I would like to set the ToolTip on my chart line, pie, area, bubble to include both the X and the Y values. Charting is use is defined here : xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit" I've learned that I can use th...
stackexchange/codereview
I use in_array() to check whether a value exists in an array like below, $a = array("Mac", "NT", "Irix", "Linux"); if (in_array("Irix", $a)) { echo "Got Irix"; } //print_r($a); but what about an multidimensional array (below) - how can I check that value whether it exists in the multi-array? $b = array(array("Ma...
stackexchange/codereview
Is there a way to determine when the UITableView is done loading all the rows? I am not sure if this is causing a problem for me but. I try to auto-select the first row in the table and it doesn't do it and there is at least one row.
stackexchange/codereview
I have an asp.net button on a web page. The OnClientClick code disables the button so that the user cannot submit more than once. It also changes the text of the button to "Please wait..." All good so far! Trouble is, because it is getting disabled the "Please wait..." text looks rubbish... How can I style the button s...
stackexchange/codereview
I added excel.exe to References so that I was able to bring up using Microsoft.Office.Interop.Excel; at least that's where I think the functions are located. But ive received a bunch of errors and I don't understand why. Error 1 'Application' is an ambiguous reference between 'System.Windows.Forms.Application' and...
stackexchange/codereview
I just started messing around with having my application store sessions in the database using doctrine/symfony. I can see sessions get created when I access my web app, but I don't see the rows going away, even after the session should've expired. I searched for calls of sfPDOSessionStorage's sessionDestroy and coul...
stackexchange/codereview
Here's my problem: I just finished up an app which allows you to right-click on a file in Explorer and hit an option to open the app. It then renames and moves that file out of the folder to a specific location, and then deletes the folder (empty or not). This works fine when the files are loaded through the GUI, but...
stackexchange/codereview
I have canUserSort set to false for all my columns. When I resize a column or the header is too wide, the text dissappears behind where the sort arrow is normally displayed. Is there anyway to change this behavior?
stackexchange/codereview
I have 4 locations that I pull data in from a legacy system. I pull 3 of the locations into one model (because I load the data in the same table). The 4th location has to be in a separate database. I am wondering if there is a way to combine the 2 in a model or 2 models in rails. Here is what I currently have: class ...
stackexchange/codereview
I have my roles table (which to me was poorly planned) which consists of 4 fields: role_name, type1, type2, type3. Each typeX either has a Y for yes or N for no. Sample data: Hero, Y, N, N Human, N, Y, N Dog, Y, N, N I'd like my output to be: Hero Type1 Human Type2 Dog Type1 Help? Please!
stackexchange/codereview