instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am using WPF Standalon application and at the login time we are loading complete Chart of Account List. so it will take a time so we were use the thread like ThreadStart dataDownloadThread1 = delegate { Dispatcher.BeginInvoke(DispatcherPriority.Send, (EventHandler) ...
stackexchange/codereview
I'm adding a cameraOverlay to my UIImagePickerController, it shows and all but it doesn't register touches. I init a button in the viewDidLoad and a one via IB. Is there some rule that prohibits me from adding a UIButton to a cameraOverlayView and register touches? Thanks
stackexchange/codereview
Hi I have two DB1.sdf and DB2.sdf file (sql ce). I want to compare the two. I want to check the no of rows and the space used in each of the database. Is there any way to do that? Also is there any way to to a corresponding table to table comparision in the two databases?
stackexchange/codereview
In an Emacs org-mode file, when I click on a PDF the file opens in a PDF viewer. Similarly, when I click on a URL it opens in a web browser. But when I click on a path to an image file, the byte stream opens as text in the editor. How do I configure Emacs/org-mode to open images with a specified application, say an ...
stackexchange/codereview
Cheers, I created my own shipping module for magento 1.4.1.1. , which so far does not work. After really getting frustrated with this, I exactly copied everything from http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/create-shipping-method-module . As with my own module, it does not work. In the...
stackexchange/codereview
I have set up four tabs that each hold a listview, I have added code in the listview java file to make the lists transparent, however, I have a semi transparent grey box covering 75% of the screen and I cannot figure out why, I have a background on my other listviews and they are completely transparent, but the lists w...
stackexchange/codereview
I'm trying to show some images which URLs are in an XML file that you can find it on the web. I've tried the gridview and it worked, I've tried to show an image from the XML file and it worked, but when I put both together, it doesn't work!! I don't know the reason. Any help please? The code is: package com.examples.x...
stackexchange/codereview
Suppose I have a html5/canvas application in which I can place objects on a drawing-canvas. Some kind of diagram editor, something like Visio (but much simpler) Is there a framework which helps me find which object is clicked/dragged? An option is to capture the click-event and iterate over all my objects (in a semi-...
stackexchange/codereview
I have a requirement to represent a hierarchical structure in a class within c#. The "leaf" nodes of the hierarchy need to be typed as either "Class A" or "Class B". How do I achieve this. Ok more detail The classes involved are as follows FieldClass - this has a bunch of properties SegmentClass - a segment is a co...
stackexchange/codereview
I am using dbms_metadata.get_ddl function. I extract ddl of package and package body seperate and use them separately, so i dont need PACKAGE BODY's ddl when i ask for PACKAGE ddl. However get_ddl('PACKAGE',some_package) returns PACKAGE and PACKAGE BODY's ddls together. Is there a parameter to set, or anything else to ...
stackexchange/codereview
i am added one button on user control it is working fine locally but not working on server my error is CS1061: 'ASP.templates_categories_productsingrid_ascx' does not contain a definition for 'dl_viewall' and no extension method 'dl_viewall' accepting a first argument of type 'ASP.templates_categories_productsingrid_...
stackexchange/codereview
this is might be a very basic question, but seems like it's not easy to find the answer. I have a Json, more or less is like: languages = { "aa":{"iso639-2T":"aar","family":"Afro-Asiatic","labels":{"language_names":["Afar"],"native_names":["Afaraf"]}}, "ab":{"iso639-2T":"abk","family":"Northwest Caucasian","labels":{"l...
stackexchange/codereview
I'm fairly new to Hibernate and PostgreSQL, but so far it's going well, although I'm running into a problem now that I can't solve. I'm getting an error while filling the database on the very first operation (which is one transaction inserting or updating 1000 rows in the database). The error is: SQL Error: 0, SQLSta...
stackexchange/codereview
I need to request a twitter search with jquery using twitter api. After read documentation I write this code: $.getJSON("http://search.twitter.com/search.json?callback=myFunction&q=stackoverflow"); function myFunction(r) { console.log(r); } search.json Failed to load resource> When the page is execute...
stackexchange/codereview
CSS Problem with my topNav in IE6 HTML Page: http://www.faressoft.net
stackexchange/codereview
<?xml version="1.0" encoding="UTF-8"?> <answer> <describe data="aircompany"> <data> <code xml:lang="ru">FW</code> <code xml:lang="en">FW</code> </data> <data> <code xml:lang="ru">UT</code> <code xml:lang="en">ЮТ</code> </data> </describe> </answer> I ...
stackexchange/codereview
I have a list of accounts I want to save as a YAML file and load it into ruby. Something like this: Account1 John Smith jsmith jsmith@gmail.com Account2 John Doe jdoe jdoe@hotmail.com Then I want to get the email address of the person with the name of "John Doe" (for example). How do I do this?
stackexchange/codereview
When debugging crashes and errors, the NSLog() function is incredibly useful, even vital. Unfortunately, some errors can provoked by pushing an app to the background, and that same act 'cuts' the ability to receive NSLog info, which makes debugging crashes related to moving an app into the background very difficult. H...
stackexchange/codereview
Anyone have an idea of how to use Google's TrafficLayer API? Looks like it's Javascript only. Any idea how to use/convert output to Array for use with MKMapView? Haven't really used it. http://code.google.com/apis/maps/documentation/javascript/overlays.html (do find on the page for trafficlayer)
stackexchange/codereview
Consider this query: WITH Scores (score) AS ( SELECT CAST(score AS INTEGER) FROM ( VALUES (0), (10), (10) ) AS Scores (score) ) SELECT AVG(CAST(score AS DECIMAL(19, 8))) AS precision_eight, AVG(CAST(score AS DECI...
stackexchange/codereview
What is the point of compiling assemblies to separate folders? At my work we have 50+ projects which live across a few different solutions. When projects are in the same solution you can set a Project Reference and it picks up the assembly in the \debug or \release folder accordingly. But when setting an external re...
stackexchange/codereview
I am using Control template to display listbox items. I want to set the visibility of the control based on the item value. I need the same as How can I replace an image in a WPF grid with another control depending on the source data? How to include this option in my code. (If the image source [ImgUrl] value is null i w...
stackexchange/codereview
void foobar(){ int local; static int value; class access{ void foo(){ local = 5; /* <-- Error here */ value = 10; } }bar; } void main(){ foobar(); } Why doesn't access to local inside foo() compile? OTOH I can easily access and modify the...
stackexchange/codereview
I use friendly urls in my site, But my browser does'nt save all urls in the history browser??? this is my .htaccess: Options +FollowSymLinks RewriteEngine on RewriteRule category/(.*)\.html index.php?inid=3&id=$1&%{QUERY_STRING} RewriteRule products/(.*)\.html index.php?inid=4&id=$1&%{QUERY_STRING}
stackexchange/codereview
How do I differentiate between two triggers that can both POST callbacks to the page during OnLoad? The controls themselves will automatically trigger their callback handlers, but that is too late. The background on my issue is probably irrelevant, but ... I am creating an ASP.NET web page and I have two controls on...
stackexchange/codereview
I'm creating a GUI using Tkinter/ttk in Python 2.7, and I'm having an issue where a Frame will resize itself once a widget is placed inside of it. I am new to Python and haven't used Tkinter before. example: ROOT = Tk() FRAME = ttk.Frame(ROOT, width=300, height=300, relief='groove') FRAME.grid() ROOT.mainloop() wil...
stackexchange/codereview
I have a table svn1: id | date | startdate 23 2002-12-04 2000-11-11 23 2004-08-19 2005-09-10 23 2002-09-09 2004-08-23 select id,startdate from svn1 where startdate>=(select max(date) from svn1 where id=svn1.id); Now the problem is how do I let know the subquery to match id with the id in the outer query. Obviously i...
stackexchange/codereview
I want to create a new custom property list in iphone applications.How to create in and how to load in iphone class.
stackexchange/codereview
Why my add items dont save on memory? When I back to RootViewController my list disappear, What happened ? Code for add and work fine... - (IBAction) addButtonPressed: (id)sender { NSLog(@"Add button pressed!"); addPosto *addposto = [[addPosto alloc] initWithNibName:@"postoDictionary" bundle:nil]; UINavigationContr...
stackexchange/codereview
Sometimes java puzzles me. I have a huge amount of int initializations to make. What's the real difference? Integer.toString(i) new Integer(i).toString()
stackexchange/codereview
Is there a way in MySQL to concatenate text to values using a SELECT statement? (like in Oracle) For example, in Oracle you can write something like this: SQL> select 'The Year is '|| year, 'The month is '|| month from time where rownum < 2; 'THEYEARIS'||YEAR ---------------------------------------------------- 'THEMO...
stackexchange/codereview
Hoping there is a way to do this. Would like to just display the border around the view, with no 40px title bar at the top. Possible?
stackexchange/codereview
I have a webservice stub. I am setting the timeout for the stub like this. stub.getServiceClient().getOptions().setTimeOutInMilliSeconds(timeout * 1 * 1000); But this doesnt work (i.e. the connection is alive even after the timeout period). Can you please tell me why is it so? Thanks in advance. :)
stackexchange/codereview
I am using a FileSystemWatcher on a directory and added its event handlers, set its EnableRaisingEvents=true; and IncludeSubdirectories=false; and added NotifyFilters. While running the application if I create new folders in the specified directory sometime I get FileNotFoundException : "An error occurred while readi...
stackexchange/codereview
I've read plenty about how to handle Server-Side timeouts & errors during a Callback... but what about Client Side timeouts? here's the example. Guy fills out a web form. Hits submit & the ASPXCallbackPanel does a PerformCallback. But right then... his internet drops or his router burps. In my app, the Callback panel n...
stackexchange/codereview
I'm trying to generate a random date of birth for people in my database using a Java program. How would I do this?
stackexchange/codereview
I have autoconf 2.59 on CentOS 5.5 and need to upgrade to autoconf 2.6. What is the best approach for this? I tried yum update autoconf but theres no luck
stackexchange/codereview
I am trying to port a small console application from Windows/.NET to Ubuntu/Mono. I have problems to add a reference to the mono version of NLog, which I added to the GAC. Adding NLog.dll to the assembly was confirmed: Installed NLog.dll into the gac (/usr/lib/mono/gac) I also find it in the GAC under: /usr/lib/mono/ga...
stackexchange/codereview
I would like to create a method that returns an XmlReader. Depending on the circumstances the XmlReader may be fed different types of streams, either a StringReader or a MemoryStream. Normally I dispose a StringReader or MemoryStream with a using block, but since I want to return an XmlReader instead, I cannot do that ...
stackexchange/codereview
I am in the process of converting various Spring beans to JNDI lookups. Currently I am using Jetty to test this. I have configured the UserTransaction according to the Jetty documentation and it works: <New id="tx" class="org.mortbay.jetty.plus.naming.Transaction"> <Arg> <New class="com.atomikos.icatch.jt...
stackexchange/codereview
Are abstract methods internally public and virtual in c#? All methods are, by default, private and if an abstract method is private, it will not be available to derived class, yielding the error "virtual or abstract members cannot be private"
stackexchange/codereview
I want to disalbe fips in asp .net x64 application. In web.config I added <runtime> <enforceFIPSPolicy enabled = "false"> </runtime> I set debug to false. However my application do not work. Should I declare runtime section in < configSections > ? If yes then is it a proper line <section name="runtime" type="Syst...
stackexchange/codereview
I have forms authentication on my MVC site and the default route is set to send users to /home/index. Home/index is excluded from the login requirement, via a Web.config location section. if I type in http://Example/home/index, I go to the home page as expected, but if I just do http://Example, I get redirected to the ...
stackexchange/codereview
I have a query which slows down immensely when i add an addition where part which essentially is just a like lookup on a varchar(500) field where... and (xxxxx.yyyy like '% blahblah %') I've been racking my head but pretty much the query slows down terribly when I add this in. I'm wondering if anyone has suggestions in...
stackexchange/codereview
I am making a gem, but how to test(not unit test, just make sure the program is right) it ? Need I pack it and run every time when I modify it?
stackexchange/codereview
I have a strange issues with layering of the UIImageViews in my game. I have many UIImageViews which get added into the game while user is playing the game. But while game is in progress I need to modify the layering of the UIImageview in order to sort out depth issue. I have tried using insert subview method to chang...
stackexchange/codereview
I'm running the mono branch build of DotNetOpenAuth and having problems with No OpenID Endpoint Found errors trying to authenticate using google, but not sure how to diagnose them. More info: Running the same mono branch build under Windows works. Authenticating with a local openid provider works fine (Windows and Lin...
stackexchange/codereview
I have the following json: { "response": { "status": 200 }, "user": { "flex_meta": { "layout": "[{\"windows\":[{\"type\":\"stream\",\"width\":260,\"x\":268,\"height\":763,\"y\":0,\"relatedDataObject\":{\"name\":\"watch\",\"id\":3190},\"arg\":\"watchlist:3190\"},{\"type\":\"rss\"...
stackexchange/codereview
I have a WPF TreeView that is bound to a collection of custom objects - each of which has an IsExpanded property to expand the container TreeViewItem. I want to be able to programmatically access each TreeViewItem's control contents without expanding the parent TreeViewItem in the visual tree. However, when I attempt t...
stackexchange/codereview
My machine Win7 has SQL Server 2005 and SQL Server 2008 installed. Also, Sql Server Management Studio is installed with SQL Server 2008. Now, I want to connect to SQLEXPRESS instance running currently on my machine. How do I know if i will need Management Studio 2005 or 2008 to connect to SQLEXPRESS? Just to add that I...
stackexchange/codereview
I'm using some code from a book to implement a generic repository class for EF data access. the code uses the following two methods to get a single entity by its int id primary key, assuming all DB objects have an int PK. However, I am using an imported DB with mainly natural keys, and I wish to preserve all the FK r...
stackexchange/codereview
hello i want to use Jquery UI AutoComplete Combobox in my asp.net application. Here Is My Sample Code : My Combobox is an html control. how can i bind server side data to it? Or Is It possible to Use Jquery AutoComplete box for asp.net combobox? Select one... asp ...
stackexchange/codereview
How can I use find_if with a std::list if the list contains structs? My first pseudo code attempt at this looks like this: typename std::list<Event>::iterator found = find_if(cal.begin(), cal.last(), predicate); The problem here is that the predicate is not directly visible in the list but inside event.object.re...
stackexchange/codereview
i want to create the configuration file , which will have the application id and update path two variable , when i will pass the application id in the api it will return the update path of that application id . how i will achieve this making of configuration file. regards rahul
stackexchange/codereview
I have to design quite a lot of html email. The way I do it at the present is I design and html file and the css until it´s looking good in the browser. Then I send it, and start fixing it for the different clients, there it all goes really wrong (believe me outlook plays tricks on your mind, much like his cousin IE do...
stackexchange/codereview
I think I'm falling into a common category of, "It works perfectly in my dev environment, but anywhere else I get strange results," and for all my efforts I'm only more confused. I have 2 applications. One of them is .NET 4 C# app, and the other is (I think) .NET 3.5 VB. The C# app creates a DLL, that for the time bei...
stackexchange/codereview
How to disable symbols after dot in double values? 13 + 3.456 = 16.456 GOOD 13 + 1 = 14.00 BAD! I need 14 how can I do It? I am using NSMutableString.
stackexchange/codereview
I'm brand-spanking new to Rails. I've learned how to make static controller actions and corresponding view files. Now I want to make it so that when I go to localhost:3000/hi/anita, the page says "Hi anita", but when I go to localhost:3000/hi/bob, it says "Hi bob". Of course, I don't want to make anita and bob actions....
stackexchange/codereview
I found on Google some PHP scripts to limit the download speed of a file, but the file download at 10 Mbps or if it download at 80 kbps as i set it, after 5 mb, it stops downloading. Can some one tell me where I can found a good PHP download speed limit script please? Thank you very much --- Edit --- Here is the code :...
stackexchange/codereview
What is the best way of caching things in GWT. Data retrieved from RPC calls. I am interested in Data Structures and frameworks available out there, like ehcache. I am using gxt and have been storing things in the FastMap. What is the load capacity for the FastMap, is this the best way to do things. I know it eventua...
stackexchange/codereview
So i have this fancybox with these configurations: $("a#uploadImage").fancybox({ 'titleShow' : false, 'width': 560, 'height': 120, 'autoDimensions': false, 'overlayOpacity': 0.6 }); Now i wish to expand the height with 230 and...
stackexchange/codereview
I am a little new to embedding videos on a website. What is the best way to go about it? I just started reading up on it. I read that I should use HTML5 and the browser's native player. -- Does anyone know of a javascript library that will use the browser's player and detect if the browser is not using HTML5 to downgr...
stackexchange/codereview
The problem: When the user clicks on www.example.com/myapp/myview?id=1 I need to display the item with id=1 which is in the database. To do that I need to execute bean methods. (Ideally the user would have to login first if not in cookies and then redirect but that's another problem). I'm using Richfaces 3.3.3 with JSF...
stackexchange/codereview
Is something like this possible in SQL/DB2? INSERT INTO Prod.CD_Final (ID) VALUES (SELECT ID FROM Test.CD_Final); I always get the error message: "Prod.CD_Final" is an undefined name. SQL Code: -204, SQL State: 42704 "Test.CD_Final" is an undefined name. SQL Code: -204, SQL State: 42704 Thanks, Stefan
stackexchange/codereview
I am trying to understand how to accomplish some basic debugging stuff with gdb I want to check the length of this control (UILabel) if I type the following in the console I get nothing, what's the proper way to do it? (gdb) po self.mylabel.frame.size.width There is no member named frame. or if I try without self: (gd...
stackexchange/codereview
Call me crazy but I'm planning to Fork wordpress. I'm planning to swap out MySQL for Apache Cassandra. Call it ambitious but I'm planning to devote a chunk of time over the next few months. In any case my question is: I'm trying to aim to keep plugins working... In essence any plugin that doesn't require their own tabl...
stackexchange/codereview
I am writing some code that will lookup for unique id's in a table with over 60,000 rows for the ones that are in an array using mysql_query("SELECT * FROM users WHERE unique_indexed_user_id IN('".join("', '", $array)."')") ; the amount of this array is not limited to the end user so they might end up selecting a la...
stackexchange/codereview
Problem: In my iPhone app code, I'm positioning and animating a lot of views programmatically. For the iPad, I want to provide a completely different user interface, but also programmatically. I don't like to use Xib files. How can I make different views and view controllers and load these depending on if it's an iPad ...
stackexchange/codereview
I need a regular expression written to use in gVim that will remove duplicate domains from a list of URLs (gVim can be downloaded here: http://www.vim.org/download.php I have a list of over 6,000,000 URLs in a .txt file (which opens in gVim for editing). The URLs are in this format: http://www.example.com/some-url.php ...
stackexchange/codereview
Assume there were 100 records in tableA and tableA contained a column named 'price'. How do I select the first-n record if where sum of price > a certain amount (e.g. 1000) without using cursor? thanks
stackexchange/codereview
Inside a C++ template function foo(), a call to ::bar(TT*) gives the following error under gcc 4.4.3: g++ -o hello.o -c -g hello.cpp hello.cpp: In function 'void foo(std::vector<TT*, std::allocator<TT*> >&)': hello.cpp:8: error: '::bar' has not been declared Here's the offending code: // hello.cpp #include <vector> ...
stackexchange/codereview
Looks like I am having a real tough day with python imports.I am using Flask and am trying to organise my app structure.I am using it on GAE and thus have to put python packages in my app itself. It looks something like this below:- -MyFolder -flask -werkzeug -Myapp - __init__.py -templates -static ...
stackexchange/codereview
I need to publish landing tab wall posts of a page on my website using php and javascript,can anybody tell me how to implement this ,as i thought it can be done with FQL via page table but there is no any related field i found. thanks
stackexchange/codereview
__RTC_CheckEsp is a call that verifies the correctness of the esp, stack, register. It is called to ensure that the value of the esp was saved across a function call. Anyone knows how it's implemented?
stackexchange/codereview
I need to detect if Remote Desktop Session Host is installed in windows server 2008 using registry data as part of the prerequisite checker for our product. Earlier it was known as terminal service which could be detected using the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\TSEnabled key but now th...
stackexchange/codereview
I need to upload a PDF file to users google docs which is generated by pdfjet on google app engine. I figure out to generate pdf using pdfjet for gae/j. pdfjet uses streams to create the pdf. Is there anyway to convert stream to file so I can upload to users google docs. I tried gaevfs but couldn't make it work. I can ...
stackexchange/codereview
I am displaying a list. The user can edit any item. I am displaying next previous buttons which when clicked it dynamically fetches the next previous records form db. no page reload. this is working well with id. like how can i get next and previous field id with php from mysql and MySQL next/previous ids (arbitrary so...
stackexchange/codereview
I have an activity with its layout set to an XML file. the root layout is a RelativeLayout and i am setting the background to this layout via rootLayout.setBackgroundResource(R.drawable.default_background); this drawable, R.drawable.default_background has some transparency in it. It seems as though the default backgro...
stackexchange/codereview
class SomeoneElsesAPI { void setDirectory(File dir){...} void setDirectory(String dir){...} } <bean id="someoneElsesAPI" class="com.someone.SomeoneElsesAPI"> <property name="directory"> <value type="java.lang.String">/etc</value> </property> </bean> I have a case similar to the above example, Spring...
stackexchange/codereview
I'm trying to construct the following div element using jQuery: <div> <p>Hello</p> <p>Stack Overflow</p> </div> I added the first paragraph like this: $('<div/>', {html: $('<p/>', {text: "Hello"})}) but I don't know how could I add the second paragraph. Please help.
stackexchange/codereview
Can any one help me get eclipse repository of UML2 ? I could not get the link can some one help please? Thanks, Lalith
stackexchange/codereview
This is what I currently have but its not not showing the results in two textareas.. Right now all it shows is one textarea with Odd numbers only. I'm not sure why the even numbers wont show. Any help is appreciated Thanks! static TextFileInput inFile; static String inFileName = "lab12.txt"; static JFrame myFrame...
stackexchange/codereview
I'd like to set up a publisher-subscriber based communication protocol between a server producing messages and many clients receiving them. After a bit of research, I decided to go with ActiveMQ. I looked at a few tutorials and the ActiveMQ site and set up the broker as follows: BrokerService broker = new BrokerService...
stackexchange/codereview
Before asking my question, I should admit that my knowledge of .NET interop is sparse, so I realize that I might be making a newbie error. I am using the GeckoFx library to create a C# application that contains an embedded Gecko (Firefox) browser instance. The app works well using GeckoFx in its original form, but I ne...
stackexchange/codereview
I'm fairly new to rails, working on a Rails 3 app with a Profile model for users. In the profile Model I'd like to have a "name" entry, and I'd like to be able to access logical variations of it using simple syntax like: user.profile.name = "John Doe" user.profile.name.first = "John" user.profile.name.last = "Doe" Is ...
stackexchange/codereview
Hi all: i read the algorithm below to find the lowest common ancestor of two nodes in a binary search tree. /* A binary tree node has data, pointer to left child and a pointer to right child */ struct node { int data; struct node* left; struct node* right; }; struct node* newNode(int ); /* Functio...
stackexchange/codereview
Are the values of items stored using the localStorage API viewable by users? Just like cookies?
stackexchange/codereview
I'm using the NumericUpDownExtender control, but my buttons on the side of the textbox are bigger then my textbox, is there a way to make the buttons the same height as my textbox? Edit: I found my problem. I was using the standard buttons, which can't be handled?. Now I've created custom ones, but they won't appear on...
stackexchange/codereview
If I add the button straight everything goes fine. I'd really like to add it inside a view and still be able to click it. Here's the code: UIView *containerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 300, 60)] autorelease]; UIButton *footerButton = [UIButton buttonWithType:UIButtonTypeCustom]; footerButton.f...
stackexchange/codereview
I am trying to delete all but one record from table where name field repeats same value more than 5 times and the address field repeats more than five times for a table. So if there are 5 records with a name field and address field that are the same for all 5, then I would like to delete 4 out of 5. An example: id name...
stackexchange/codereview
I have HTML like this: <div id="Div1">...</div> <div class="someClass">...</div> <div id="Div2">...</div> <div class="someClass">...</div> <div id="Div3">...</div> <div class="someClass">...</div> So I have unique DIVs but also some that are indistinguishable from each other. I want to remove a div and the one below i...
stackexchange/codereview
I'm using the Facebook Toolkit inside my Asp.net MVC Application. But now I like to use the Facebook c# Sdk as well, exspecially to test, which one works better for me. Sadly they both consist of three assemblies that have the same name: Facebook Facebook.Web Facebook.Web.Mvc How can I still include both in my projec...
stackexchange/codereview
I have a C# application developed with Visual Studio 2008 that is like a paint, where you can write using the mouse. I use the Graphics and Bitmap classes. Now, I need to do the same application but in Visual Studio 2010 and using the Silverligth Tools. Do you know what is the best way to do it? I was searching but not...
stackexchange/codereview
I tried to install my application on the devices by using Build and Run from xCode, the application works fine, but when I quit, in the springboard there's no icon for the application, I found the following log on the device's console (which I takes from the Organizer application) Wed Oct 20 17:05:48 iPod-01 com.apple....
stackexchange/codereview
With little sign of the Sphinx. I have 5 pages. At one should look at the entire base. This is done next. config: source logs { type = mysql sql_host = localhost sql_user = root sql_pass = sql_db = bot sql_port = 3306 sql_query_pre = SET NAMES utf8 sql_query = SELECT * FROM logs sql_attr_uint ...
stackexchange/codereview
I know the revision number that this mistake happened, then how can I roll back?
stackexchange/codereview
Ive been attempting to hide my applications main window when the application loses focus. Upon testing - (void)applicationDidResignActive:(NSNotification *)aNotification { [window orderOut:self]; _isShown = NO; } however this only seems to work once, after I bring my window back with [window makeKeyAndOrderFron...
stackexchange/codereview
In other words, can't the versions have conflicts and is there a way to solve it? Such as Foo depends on Bar and Foo doesn't support Bar 2.0, but Wala need to have at least Bar 2.0, so can Rubygems or Bundler or any mechanism handle it?
stackexchange/codereview
a = [(1,2),(3,1),(4,4),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5),(5,5)] # Quite a lot tuples in the list, 6 digits~ # I want to split it into rows and columns. rows = 5 cols = 5 Data structure is rows and cols are the index for the bit list [rows, cols, (data)] I use loop to ...
stackexchange/codereview
I am trying to query Sybase database using DBD::Sybase. Can someone please clarify what is the difference between using syb_nsql vs prepare(...) - execute(..) calls?
stackexchange/codereview