instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm trying to auto-format all files in my solution in vs2010. I've seen there is no built-in option to do it. I've tried to write macro to do it, but I've stucked. When I iterates any ProjectItem in my projects, I don't know how to open designable-files in source-code mode, or how to distinguish between sourceable file...
stackexchange/codereview
There is a webpage on my website where user can upload pictures. I want to set the limit of the pictures to be uploaded up to 2mb. Currently it uploads image of all sizes. If the picture is less than 2mb it will go along the normal path and get uploaded and if it is greater than 2mb a pop up should show error message. ...
stackexchange/codereview
I am trying to create an excel sheet in ruby on rails. So I used the plugin Rexcel. When I am running the application I am getting the following error. uninitialized constant Rexcel::Workbook::Builder I had added the following code, then this error hitting workbook = Rexcel::Workbook.new worksheet = workbook.add_works...
stackexchange/codereview
This is in MS SQL Server. I have a varchar in the format yyyy-MM-dd-hh.mm.ss.nnnnnn For example: 2010-09-17-20.52.31.870000 I want to convert this into a datetime... but ISDATE function in MSSQL says that is not a valid date and CONVERT won't work. Is there a way to use the convert function so that I can tell it what ...
stackexchange/codereview
Let's say I have these sql tables: a) book b) customer c) borrow_history (book_id, customer_id ... ) I can define two referencing foreign keys (on delete cascade) from borrow_history, referencing book and customer, so: borrow_history records connected to book will be deleted when book was be deleted. bor...
stackexchange/codereview
I have the following models.py file: class Account(models.Model): name = models.CharField(max_length=30) user = models.ForeignKey(User, related_name='account_creator') class Category(models.Model): name = models.CharField(max_length=30) account = models.ForeignKey(Account, related_name='categories') c...
stackexchange/codereview
I'm using the qTip 1.0.0-rc3 plugin for jQuery. And, although it's not a big deal, I am curious as to why this works: $(document).ready(function() { if (jQuery().qtip) { $('[data-qtip]').each(function() { var qTipContent = $(this).attr("data-qtip"); $(this).qtip({ content: qTipConten...
stackexchange/codereview
A bit frustrated over here. I'm trying to find a way to support update cascading with the entity framework, and there doesn't seem to be a built-in way. Research on the net basically shows everyone saying that you should never change a primary key value anyway, but there are valid cases where you would need to (e.g. a ...
stackexchange/codereview
I'm a little confused about all the different ways to create a new jQuery object. the relevent docs seem to be: http://api.jquery.com/ready/ http://api.jquery.com/jQuery/ From those two docs the following are all equivalent, (with the exception of aliasing or not aliasing '$'): $(document).ready(handler) $().ready(h...
stackexchange/codereview
I populate a ListView from the result of a SQLite query. One of the fields is the image file name that I would like to show as an image into a ListView. How can I do to show the image file? I use: SimpleCursorAdapter(this, R.layout.list_name,cur,new String[] {"fields_list"}, new int[] { R.id.list...}); Thanks in advan...
stackexchange/codereview
So, I'm trying to calculate a certain value to a rather large precision. The expression in C is: long double t = 2.0L+.2L*(sp)+s.missRate*50L; my result is: 11.575345 But the 'real' result is: 11.575345222971968 I'm using long doubles, which are the largest primitive type AFAIK. I shouldn't have to use any precision...
stackexchange/codereview
I have a fairly large ASP.NET MVC 2 project that has the Controllers separated into another project. I would like to create a View within a parent View. I have ParentController and ChildController, both inheriting from "Controller." I would like to create a folder called "ChildController" within "ParentController" ...
stackexchange/codereview
My QGraphicsView item is a lot bigger than its background image, but I would like that background image to be drawn only once. Now the whole thing is filled with that background image as many times as there is space for it. So, how can I force that background image to be drawn only once to the center of the view? Here ...
stackexchange/codereview
Let's say we're given this class with an inner struct. class Some { public: struct Crap{}; Crap Process(Crap& c); } Some::Crap Some::Process(Crap& crap) { Crap moreCrap = .. } It makes sense to me that the return type (Some::Crap) in "Process" is scoped. It makes sense to me that no scoping is needed i...
stackexchange/codereview
I create a field 'RankID' with Int(8) (from PHPMyadmin Web GUI Structure page, I can found the column of NULL value is No; and the column of Default value is None )type in my table. I found some of the Int default value was '0'. Actually, I don't want any '0' value in my table for 'RankID'. It will cause the sort actio...
stackexchange/codereview
(function ($) { var LOWER = /[a-z]/, UPPER = /[A-Z]/, DIGIT = /[0-9]/, DIGITS = /[0-9].*[0-9]/, SPECIAL = /[^a-zA-Z0-9]/, SAME = /^(.)\1+$/; function rating(rate, message) { return { rate: rate, messageKey: message }; } fu...
stackexchange/codereview
I have an application in which the user usually loads 24-bit bitmaps. I need to save the images in a 16-bit rgb565 format. How can I do that in C#?
stackexchange/codereview
I'm solving a problem of iterative calculation of some lower bound of the answer in a multi-threading environment. During the calculation, it could happen that number of threads would try to update a common primitive variable. It doesn't matters for me which one of them would succeed to write it's value and which woul...
stackexchange/codereview
i look at the list of choosers for windows phone 7 and i miss one where i can read the avatar-pic fo the contact. am i missing something here or is this just not possible yet? thx sargola
stackexchange/codereview
I'm trying to use jQuery and RaphaelJS to: Create circles Display some information when hovering over the circle (and hiding the information when not hovering over it) However, I can't quite get the information to display correctly... It seems to display and then immediately hide. Here's a simplified test version of ...
stackexchange/codereview
created a c# console project, which contains a console class (program.cs). i added a form (Main.cs) to the project. I want to do one of the below things with my project 1. Change the project to a Windows Form Application,can i change it to a Windows Form Application without creating a new project. 2. Set Main class...
stackexchange/codereview
I am trying to write a function that will convert a DateTime.Now instance to the number of seconds it represents so that I can compare that to another DateTime instance. Here is what I currently have: public static int convertDateTimeToSeconds(DateTime dateTimeToConvert) { int secsInAMin = 60; int ...
stackexchange/codereview
I have an asp.net control that contains a grid view sitting on top of an Ajax update panel. The control has been added to a sharepoint page. When a button is clicked, some server code is called to store the contents of the grid. If the server code throws an error, I want to spit out a javascript alert displaying the e...
stackexchange/codereview
Possible Duplicate: Is Tomcat running? hi, i installed tomcat server in virtual machine. i want to check the tomcat server daily, it is running or not. if it is running or not it will send mail to my mail id. how i achieve? can i do this one by using batch files Thanks Murali
stackexchange/codereview
I'm using the MergeAdapter to create a sectioned list where each section of the list contains a different type of underlying data. All is working pretty much as expected. However, the ListActivity's onListItemClicked method seems more complicated than it should be when it comes to determining the type of data underly...
stackexchange/codereview
I am using strtok().But i want to print corresponding delimiters also as we do using StringTokenizer in Java.Is there any function which provides this functionality(printing delimiters) ?
stackexchange/codereview
I have a folder full of image files such as 1500000704_full.jpg 1500000705_full.jpg 1500000711_full.jpg 1500000712_full.jpg 1500000714_full.jpg 1500000744_full.jpg 1500000745_full.jpg 1500000802_full.jpg 1500000803_full.jpg I need to rename the files based on a lookup from a text file which has entries such as, SH...
stackexchange/codereview
My application is generating PDF documents using itext#. The files open fine and display correctly in Foxit Reader but in Adobe Acrobat it errors with: There was an error processing page. There was a problem reading this document (109). Why will the file open in one but not the other?
stackexchange/codereview
Few years ago I've developed a windows service app (VB.NET framework 1.1) which was using the System.Data.OracleClient to access an Oracle database. Since that driver has given me lots of troubles I wanted to reference the oracle dataprovider (Oracle.DataAccess.dll) which works much better. On my PC everything works fi...
stackexchange/codereview
I am using the mouseMoveEvent to track the position of the mouse cursor in a simple QT app. My problem is that I want the mouseMoveEvent to fire only when the cursor is in a 400x400 QWidget. Right now it is firing no matter where the mouse is. Here is my code... void IPA2::mouseMoveEvent(QMouseEvent * event) { cou...
stackexchange/codereview
Left Join LINQ and using Bitwise Comparisons. I have a problem that can be described as (thanks to David B for clarifying this): The goal is to return 1 row per OID from the Left Table, where the Count of the records in the left table is equal to the Count of the matching rows in the right table. A record matches when ...
stackexchange/codereview
What is the recommended approach to reference ASP.NET server side controls in JQuery?Currently I use something a mix of server+client side $('#<%=txttest.ClientID %>').focus(); I read somewhere it is not a good approach and it slows down things somewhat.
stackexchange/codereview
There are a million different XML parsers for the iPhone. I have a medium sized XML file that contains alot of duplicate tags (at different points in the hierarchy). I was thinking about TBXML but I was concerned about its lack of XPath support. For instance lets say my XML file looked like this. <blog> <author> foo...
stackexchange/codereview
I can't find a way to remove top-level items from a jQuery set. Here is my attempt: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> <script> $(function() { var data = '<div id="node_1">aa</div> <div id="node_2">bb</div> <div id="node_3">c...
stackexchange/codereview
I am trying to use a simple LINQ to Objects query. When I try to run my application I get the message: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Method not found: 'Void sharatTashlumimWS.paymentDetailsManager.s...
stackexchange/codereview
How to write these patterns? 1) [ the/DT$ government/NN ] has/VBZ n't/RB [ any/DT authority/NN ] to/TO issue/VB [ new/JJ debt/N$ obligations/NNS ] of/IN [ any/DT kind/NN ] [ the/DT Treasury/NNP ] said/VBD... how to get DT$, VBZ, RB, DT, NN... or the part between '/' and space. 2) This is tagsets for Brown database. Is ...
stackexchange/codereview
I am working with Server object from Microsoft.SqlServer.Management.Smo namespace. How i can check that it connected successfully to the server i couldnt see there any property related to it . ServerConnection srvConn = new ServerConnection(server); // Log in using SQL authentication in...
stackexchange/codereview
I wrote a modelpopup which displays a gridview. The gridview loads and the data's are displayed perfectly now i want to select a row and it should pass the values to a couple of textbox which is in the page, from where i opened the popup. //default.aspx <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.ma...
stackexchange/codereview
I've been using VIM with NERDTree and MiniBuffExplorer. I mapped my TAB key to cycle between windows(C-W)w, usually I have the MiniBuffm NERDTree and a editing window open but I would like to prevent VIM from switching to the MiniBuffExplorer window cycling between the NT and my editing buffer. Is this possible?
stackexchange/codereview
The Java WebStart application I am working on uses SWT for GUI, and I have recently realized a small but annoying problem. When I choose an action that uses a FileDialog i.e. save the image, the user interface freezes immediately after the dialog closes. The image is saved, and can be opened with a default image viewe...
stackexchange/codereview
When I try to access cookies.sqlite found in my firefox profile folder, I get this error: sqlite> .table Error: database is locked What do you think the error is? [Edited] After I close firefox and read, I get and error like this Unable to open database "cookies.sqlite": file is encrypted or is not a database [Sol...
stackexchange/codereview
Why when I do an alert of the value (see below) it returns null? When an element with that ID exists? // make reference to divs var countdown_timer = document.getElementById("countdown_timer"); var countdown_image = document.getElementById("countdown_image"); // For element manipulation if (type == 'image') { var...
stackexchange/codereview
I have a javascript click counter on my html page for a my first blog post. Now i want to duplicate the js click counters for all other ten posts on the page, So every blog post has its own independent click counter. How do i do that?
stackexchange/codereview
I have about 7000 lines of JSON data that I want to parse. An example of just part of it can be seen here. What I did was use WebRequest and StreamReader to put all the data into a string. (Oddly, it puts all of the data into one VERY long line). But now I want to parse this and I am not sure how. Can anyone explain ho...
stackexchange/codereview
I want to add a slide up affect with jQuery to a DIV when a link inside of the DIV is clicked, but the problem i am running into is the class of the DIV's are defined by a loop. So, i can't define the DIV class in the jQuery line, because each DIV class is different and i cannot determine ahead of time what they are. I...
stackexchange/codereview
Currently I do not use Service References as I feel the code it autogenerates is more weight than I need. Instead I generate a proxy class by doing: public class MyClient : ClientBase<IMyService>, IMyService This has worked great for me, no proxy classes are generated so I reuse the same datatypes. But this only lets ...
stackexchange/codereview
I am moving my CRM Solution from Local and importing that in Development Environment. Wondering if there is any way to export the Data along with the Entities? Appreciate your Responses. Thanks
stackexchange/codereview
is there a way to check connection is established in asyncore? once asyncore.loop() is called, how can I disconnect the communication between server? can i just simply call close()?
stackexchange/codereview
I am trying to use the OneNote interop from visual studio 2010. I have OneNote 2010 installed, I am building a .net 2.0 win forms app. I add a reference, Select the COM tab, and choose either Microsoft OneNote 12.0 Object Library or Microsoft OneNote 14.0 Object Library. Regardless of what I choose, when I click ok...
stackexchange/codereview
I am creating an application that uses Quartz.NET to automatically download and upload files to various sources (HTTP, FTP and Network paths) based upon a regular exprsesion. Users can select multiple paths for each download and upload operation, so a typical job may be to download files from a http server, and also do...
stackexchange/codereview
I just built a new dev box with Ubuntu 10.04.1 amd64 server on, installed all all libraries and stuff , but now my program segfaults randomly in libmysqlclient16. Just to eliminate things I tried to downgrade to libmysqlclient15, as this is the version I initially developed against. However no matter what I do in the l...
stackexchange/codereview
I need to convert an Int32 to a code that has to be entered on a web form. To keep it simple for the visitors, this code needs to be as simple and short as possible. Does anybody know a good algorithm for converting an Int32 to the shortest string representation possible using only [0-9] and [A-Z]?
stackexchange/codereview
I have written some code for autocompletetextview in custom dialog box.When typing some text that text dynamically search into the hashmap.This hashmap is with large lines of text.It works.But slowly giving me result. AutoCompleteTextView searchText = (AutoCompleteTextView)searchDialog.findViewById(R.id.searchText); ...
stackexchange/codereview
I was looking for a Verilog function to convert my ASCII input strings to hexadecimal output. I am not sure if I can do it in C and club it with Verilog. So far, I was able to print the input ASCII strings as hex values by using: printf("Hexadecimal Output for <CALL-ID>: "); for(c = 0; c < strlen(callid); c++) { prin...
stackexchange/codereview
I have 3 simple models class Alpha < ActiveRecord::Base has_many :betas has_many :gammas end class Beta < ActiveRecord::Base belongs_to :alpha before_create :gen_gamma def gen_gamma gamma = alpha.gammas.build gamma end end class Gamma < ActiveRecord::Base belongs_to :alpha end I want that,...
stackexchange/codereview
I have two unix files with numeric values only such as : File 1 : 12345 23456 234578 File 2 : 2387 12345 23456 767888 I need to separate uncommon values from two files such as : 234578, 2387, 767888. And direct into one separate file using shell script. Please advise.
stackexchange/codereview
For example, I have cloned the origin repository on two computers. Then, I go ahead and make some changes and commit to the local repository of computer A. How do I now pull these changes to computer B? Both computer A and B are connected to a network. What I am looking for will be the equivalent of someone manually c...
stackexchange/codereview
I am writing an application where the client side will be uploading data to the server through a wireless link. The connection should be very reliable.The link is expected to break many times and there will be many clients connected to the server. I am confused whether to use TCP or reliable UDP. Please share your th...
stackexchange/codereview
I have a very strange issue that only affects webkit browsers for some reason, I have written a little jQuery form plugin that takes care of validation and applies state classes for easy css styling but it does not touch the form id attribute. However in Safari 5 and Google Chrome for Mac the form is being assigned id=...
stackexchange/codereview
I'm trying to keep along with the Tekpub Build your own blog on rails screencast. I'm still very much a ruby novice and the problem is that I have Rails 3 installed while Rob uses an older version (Of the top of my head: version 2.3.2). I know how to get that version of rails with gem install rails --version=2.3.2 but...
stackexchange/codereview
This is a two part question: I am working on a big project where multiple plugins developed by different teams are loaded inside one common container shell. At times I can see that my UI updates are blocked as there are multiple parallel UI updates, i want to know if there is a way to find which component is blocking ...
stackexchange/codereview
i have this basic code to play a mp3 file on a aspx page. WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayer(); player.URL = "file's url" player.controls.play(); now this works if i put it on a button's click event or something. But nothing happens if i put these codes to Application_Start ev...
stackexchange/codereview
I've got a few 3D apps going, and I was wondering, what is the best way to store lines and triangles? At the moment, I have lines as an array of typedef'd vectors as such: typedef struct { float x, y, z; } Vector Vector line[2]; Now, I could do it like this: typedef struct { Vector start, end; } Line Line l...
stackexchange/codereview
The problem: N points are given on a 2-dimensional plane. What is the maximum number of points on the same straight line? The problem has O(N2) solution: go through each point and find the number of points which have the same dx / dy with relation to the current point. Store dx / dy relations in a hash map for efficien...
stackexchange/codereview
What is the difference between linearizability and serializability (in the context of Java)? Can you please explain the difference between these with an example or provide a good reference?
stackexchange/codereview
There has to be an easy answer: I want to loop through multiple datatables... example: for (int i = 1 ; i < 7 ; i ++ ) { DataTable dt = (DataTable) "dt" + i.toString(); // do something with DataTable dt1 as DataTable // ie... int x = dt.Rows.Count } The above code obviously does not work.. but how ...
stackexchange/codereview
Is it possible to compile a cs file during run time so I can access it like a normal class? In practice I read out a text file and store its information in a class structure. Afterwards I need to access class members within my application. What I did by now: I compiled the cs file and created a dll using this example h...
stackexchange/codereview
I'm working with Ruby on Rails 2.3.8, and I would like to upload images into the post's text editor (kind of a blog application). I've read about TinyFCK, and I've tried to make it work. I've also downloaded the "simplebrowser" plugin for this editor. I placed the following code in my view: <%= javascript_include_tag '...
stackexchange/codereview
How to remove null value from String array in java? String[] firstArray = {"test1","","test2","test4",""}; I need the "firstArray" without null ( empty) values like this String[] firstArray = {"test1","test2","test4"};
stackexchange/codereview
I'm writing an API using Django, and I'm running into some issues around returning data that isn't stored in the database directly, or in other cases organized differently than the database schema. In particular, given a particular data request, I want to add a field of computed data to my model before I serialize and ...
stackexchange/codereview
I am trying to print a multiline message in R. For example, print("File not supplied.\nUsage: ./program F=filename",quote=0) I get the output File not supplied.\nUsage: ./program F=filename instead of the desired File not supplied. Usage: ./program F=filename
stackexchange/codereview
I am trying to get feedzirra running on rails 3, I tried by some methods I have found on the internet. This is in my gemfile: source 'http://gems.github.com' gem 'loofah', '1.0.0.beta.1' group :after_initialize do gem 'pauldix-feedzirra' end And i've out this after bundle.setup in root.rb Bundler.require :after_i...
stackexchange/codereview
I'm using gnuplot from a bash script and I have to divide values from two columns: plot "results.csv" using 1:($4/$6) notitle with lp This works fine in gnuplot interactive mode, but when called from a script, the column values get mixed up with bash script arguments...How can I pass the col. values from the script?
stackexchange/codereview
I am developing an application that runs completely unattended and displays some info on fixed monitors (like in an hotel hall). I'm planning to allow users to submit videos using a web site, and those videos will be displayed every day at a certain time. As this program is completely unattended (no moderation desired)...
stackexchange/codereview
I am having trouble granting "reverse permissions" for apps that I wish to provide with sensitive data in a controlled manner. My application is a time tracker and, because the time-tracking log could be considered personal information, I have created a permission for accessing it and assigned it the android.permission...
stackexchange/codereview
I've got a very weird behavior, in my java (spring) application, I've a case where i save an object using hibernateTemplate, then calling a thread which try to get this object again using hibernateTemplate, if am running in debug mode every thing is working fine, but when am not, it most of time give me null pointer ex...
stackexchange/codereview
I'm looking for a comparison of iPhone 3G / 3GS graphical systems (opengl) to the ones on a PC / MAC. Google didn't help. Perhaps anybody here?
stackexchange/codereview
The code- $sql = 'INSERT INTO kiosk_registration ( kiosk_name, mini_info, grade, domain, phonenumber, password, referrer_id, kiosk_id, user_id) VALUES ("'.$_POST["name"].'", "'.$_POST["mini_info"].'", "'.$_POST["grade"].'", "'.$_POST["domain"].'", "'.$_POST["phone_number"].'", "'.$_POST["password"].'", "'.$_POST...
stackexchange/codereview
My goal is to gather input and open files based on that input. FILE* open_input_file (char* fileName) //opens source file to be read { return fopen(fileName, "r"); } In an earlier function, I collect input from the user and save it to fileName. When I debug the program, it tells me fopen is returning NULL. That's ...
stackexchange/codereview
we can launch android market application from: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData("market://details?id=packgename"); startActivity(intent); My question is how to launch the third-party android applications I installed through Intent directly? Do you guys have any ideas?
stackexchange/codereview
With Apache, I can target files by extension like this: <FilesMatch "\.(gif|jpg|png|js|css)$"> Can you also target specific files by their entire filename. For example "bg.jpg": <FilesMatch "bg.jpg"> Would that work? Thanks, Ben
stackexchange/codereview
I am using the following code to create a file, but it always failed with error code 123 (the path syntax is not valid). The strange thing is: path_ok is always ok, but path_err always failed with 123. And after the failure, the buffer that path_err points to is cleared. Could anyone shed some light on me? I have chec...
stackexchange/codereview
I made this web service that returns a datatable from sql server db. Can someone help me with the jquery to display it? web service [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ScriptService] public class WebService : System.Web.Services.WebService { ...
stackexchange/codereview
I don't have very much experience with MySQL so I am not sure what information I should include when asking this question. If I am missing something relevant leave a comment. I will promptly add it. I have this query: SELECT Log_Analysis_RecordsToSesions_dalhousie.sessionID, (TIMEDIFF( ...
stackexchange/codereview
I read tons of articles about btree theorem about database..thing there is always bewildering. assuming I have a table as described as follow: table userinfo: (user_id as primary key, username as string, password as string) as described in some articles, the user_id is created as index for the table userinfo, I will ge...
stackexchange/codereview
I am using instruments to check for memory leaks in my app.. iOS 3.1.x doesnt show any leaks. However, when I do the same test on iOS4 iPhone I am getting leaks from CoreGraphics library. Did anyone had similar problem? is it problem in the OS itself? Many thanks
stackexchange/codereview
Classic problem, NoClassDefFoundError what do I need? create new class? import java.net.*; import java.io.*; import org.xsocket.*; import org.xsocket.connection.*; import java.io.IOException; public class SocketClient { public static void main(String[] args) { try { IBlockingConnection bc = new...
stackexchange/codereview
Is there any way to get the JobStore implementation created by Spring's SchedulerFactoryBean in a Spring application context ? I'm trying to implement a GUI for the JobStore in my application (doesn't need to be too fancy), but I'm finding that Quartz is nothing short of an epic pain in the **3$#, and just a terrible A...
stackexchange/codereview
I have Observablecollection<A> aRef = new Observablecollection<A>(); bRef = aRef(); In this case both point to same ObservableCollection. How do I make a different copy?
stackexchange/codereview
Is auto post back in ASP.net and AJAX are the same??? I want to send data to server and store that data in XML file without refreshing the page. I dont want to use ajax.. If there is any other way to do this with plain javascript then do let me know... thanks in advance...
stackexchange/codereview
I'm having some problems with the GORM part of Grails. I am using Grails 1.3.4, together with H2. In the database I have two tables template and report. On the GORM-level I have the two Domain classes Template and Report; class Template { static hasMany = [reports: Report] ... } and class Report { static belongsTo...
stackexchange/codereview
I have a problem. Sometimes WebResource and ScriptResource takes a lot of time to load, over 1 minute. we have more than one nodes in a cluster. Note that if you have a browser session is open before this problem, .axd files loads pretty fast. but new sessions loads those files sometimes 1 minute, sometimes 30 seconds....
stackexchange/codereview
I created a UserControl with a Button, a TextBox and a DataGridView. I set the modifiers of all controls to public. Now If I inherit from that UserControl, I can modify the TextBox and the Button via Designer (move around, change properties) just as I expected. But for the DataGridView all properties are disabled. ...
stackexchange/codereview
This is the my first post and i am very excited to speak with you all experts and learn . I have added objects to the session state in an aspx page which is using an object datasource.I want to get the session value in the class library which is used by the object datasource. code in class library selectedrelease = Ht...
stackexchange/codereview
I know there are few questions about it but none of them was answered. I have a navigation controller in my app. Pushing views works normally. After pushing, back button is also viewable but when i press the back button it does not pops the view, only changes the navigation bar's view to the preview's views navigation ...
stackexchange/codereview
As it is said here http://www.iphoneworld.ca/news/2009/09/16/widgetpad-for-open-source-iphone-apps/ but where is the source code ?
stackexchange/codereview
I use eclipse for my projects. When I want to install or update a plugin, it is very very slow to calculate dependencies ( about 5 to 10 minutes) and then it is fast to download files and install them. Do you know how to solve that ? It is on Ubuntu 10.04 with latest patches + eclipse 3.6.1 No proxy is used. I noticed ...
stackexchange/codereview
I have created multiple bitmaps - one for each folder (mdpi, hdpi, ldpi). Can someone show me some code or point me to the appropriate method that will allow me to detect which resource Android decided to load. Thanks,
stackexchange/codereview
Say I want to create a custom control that would look something like this: http://karmalita.com/stuff/alpha1.png The width of the popup balloon can change, and the relative position of the "pointer triangle" can change as well. Of course, additional graphics/text will be drawn on top. I want it based on images, rather...
stackexchange/codereview
In PHP, strings are concatenated together as follows: $foo = "Hello"; $foo .= " World"; Here, $foo becomes "Hello World". How is this accomplished in Bash?
stackexchange/codereview