instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
i'm having trouble getting a clear answer for this. I have a Static class (DataHolder) that holds a static list with a complex type (CustomerName and CustomerID properties). I want to bind it to a ListBox in WPF but add another item that will have the word "All" for future drag and drop capablilities. Anyone?
stackexchange/codereview
I am just trying to shift some comma separated numbers to the frontend: [AcceptVerbs(HttpVerbs.Get)] public JsonResult GetSquares() { var result = new JsonResult(); result.JsonRequestBehavior = JsonRequestBehavior.AllowGet; IList<double> list = new List<double>(); ... result.Data = list; return result; } This works ...
stackexchange/codereview
create trigger personInsertTrigger on dbo.Person for INSERT as declare tmpPersonID INT set tmpPersonID = (select ID from INSERTED) insert into dbo.PersonRecords values (tmpPersonID, now()) I get the following error: Msg 155, Level 15, State 2, Procedure personInsertTrigger, Line 3 'INT' is not a recognized CURSO...
stackexchange/codereview
We use ajaxmin to create .min.js files from all our .js files. We have edited the .csproj file of the project and added following: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\MicrosoftAjax\ajaxmin.tasks" /> <Target Name="AfterBuild"> <ItemGroup> <JS Include="**\*.js" Exclude="**\*.min.js" /> <...
stackexchange/codereview
I have a product list in my site's main menu. My site's main menu is defined in my base template. The product list is not hardcoded in template and is queried from DB. So my base template requires product list to be in the request context of each view. What is the best way to avoid querieng for product list and putting...
stackexchange/codereview
HI I got this xaml with my EventToCommand connected to MVVM, the problem with this code is that after navigating away from the page that hold it always staying in memory. <ComboBox Grid.Column="1" Grid.Row="0" FontSize="10" SelectedIndex="{Binding Foo, Mode=TwoWay}" TabIndex="0"> <i:Inte...
stackexchange/codereview
i have an image and i want it to be the like button on the page. how can i do that?
stackexchange/codereview
We have an application that pulls in about 50 records from a database with about 13 data points for each record. Each record needs to be reviewed for accuracy, sometimes edited, and then 'approved' or 'rejected'. It seems as if the process of running an approval or rejection takes some time before another approval or ...
stackexchange/codereview
Tried installing South sitewide with easy_install. However I'm having permission issues: drwxr-x--- 2 root root 4096 Nov 8 10:23 South-0.7.2-py2.6.egg-info I then tried installing it with pip but received the same results. I am assuming I could fix this by just changing the permissions. However, am I doing someth...
stackexchange/codereview
Is there a solution to redirect the user to a specific controller#action if no route matched? I had a "last rule" like this: match ":rest" => "application#notfound", :constraints => { :rest => /.*/ } to redirect all "other" stuff to application#notfound. The problem is that plugins with own routes where set below shi...
stackexchange/codereview
I have this extension checker: $upload_name = "file"; $max_file_size_in_bytes = 8388608; $extension_whitelist = array("jpg", "gif", "png", "jpeg"); /* checking extensions */ $path_info = pathinfo($_FILES[$upload_name]['name']); $file_extension = $path_info["extension"]; $is_valid_extension = false; foreach ($extension...
stackexchange/codereview
We are seeing an intermittent JavaScript “Access is Denied” error in a customer application in IE8. The error occurs occasionally for some users and never for other users. I am able to reliably reproduce the error on my browser by jumping through a few hoops: Go to the page in question (note the Internet zone, even...
stackexchange/codereview
can anyone help me to remove shape and body after a delay in collision callback. By using cpSpaceAddPostStepCallback(sapce, (cpPostStepFunc)postStepRemove, blockShape, NULL); i could safely remove the shape . But i need some delay before i call the function. I play an animation once the collision in detected. At the en...
stackexchange/codereview
We have few projects, which are compiling my makefile. These make file working fine on Windows 32 and Visual Studio 2005. For Windows 64 porting, we are using Visual Studio 2008. In make file we defined /d “_WIN64” to set the 64 bit includes and other thing. In one file we are including the windows.h header. But as...
stackexchange/codereview
I'm trying to port/build some of my code written for gcc (on linux) as a dll on windows. First I tried to build in under VC++ but there were so many errors/warnings (mainly in VC's own include files, which didn't really make much sense to me :)) so I installed MinGW distro (which includes Boost libraries). Compilation ...
stackexchange/codereview
How do insert multiple rows into a mysql table, with one column remaining constant, and the other as an array. //inserted profession into professions table, return id $new_profession_id = mysql_insert_id(); $qualification_array = array(); foreach ($_POST['qualification'] as $qual){ array_push($qualification_arra...
stackexchange/codereview
I really like the SQL tools within Visual Studio and very rarely use SQL Server Management Studio. I'm updating queries written by another developer and he used SQL Management Studio. For some reason Visual Studio is formatting the query, which makes it hard to work with. A few of the queries have parameters in them ...
stackexchange/codereview
I'm trying to use ASP.NET MVC with older versions of IIS that have trouble with MVC's default routing. I found a suggestion to add .mvc.aspx to my routes. So instead of this: routes.MapRoute( _ "Default", _ "{controller}/{action}/{id}", _ New With {.controller = "Home", .action = "Index", ...
stackexchange/codereview
I need to detect OS name & version in Java. That I can do by String os_name = System.getProperty("os.name", ""); String os_version = System.getProperty("os.version", ""); but the problem is that this is not reliable. Sometimes it returns incorrect information, and I can't detect all operating systems, except the most...
stackexchange/codereview
I have a Spring-enabled OSGi bundle. I'd like this bundle to export a factory-type OSGi service which client software can use to create multiple instances of the application context defined in this bundle. By default the Spring DM library bundles will automatically scan and create an instance of an application context ...
stackexchange/codereview
I'm using Rails 3.0.1/Ruby 1.9.2 I have two tables: Product and Category. These are the models: class Product < ActiveRecord::Base belongs_to :parent_category, :class_name => "Category" end class Category < ActiveRecord::Base has_many :products end So I want to access the category of the product by calling produc...
stackexchange/codereview
The Go talk 2009 pdf has a comment to explain why they came up with the go language : No new major systems language in a decade. What's the meaning of systems language? Is it a language that is supposed to run on target system by generating native binary? Is it a language that can build operating system on its own? ...
stackexchange/codereview
I've got a number of controls (charts in this case) that's determined at runtime. I'd like to put these in a grid with the proper number of rows and columns. For example, 4 items = 2 x 2 8 items = 4 x 2 9 items = 3 x 3 20 items = 5 x 4 11 items = 4 x 3 (I don't care about an empty cell) Sorry, I don't really have any...
stackexchange/codereview
I want to render some text as image in ASP.NET. It is working well, but the text is rendered very ugly (with grey pixels around the text) even if I turn on AntiAlias (or ClearType) by changing the graphics TextRenderingHint option. Here is the relevant code: float width; float height; System.Drawing.Text.P...
stackexchange/codereview
We are migrating to Windows 2008 R2 Standard and will be using a Microsoft Clustering (active-passive) configuration. Our application is heavily dependent on MSMQ private queues and our install creates well over 100 private queues using the following C# code. MessageQueue.Create(".\private$\myqueue", false); Since the...
stackexchange/codereview
function divlightbox(val) { if(val) { val=val.replace( /^\s+/g, "" ); var count_js=0; var big_string=''; document.getElementById("video_lightbox").innerHTML=""; document.getElementById("divlightbox").style.display = "block"; $("#video_lightbox").css({"height":"430...
stackexchange/codereview
Why does the handler bound to an event of an element fire the wrong result? I would expect the click event of Div1 below to popup a dialog stating 'div1' but it popup's 'div2'. I am new to this and I am scratching my head to work out why this is happening. I would appreciate any help to explain. Cheers, Alex <!DOCTYP...
stackexchange/codereview
Please help me convert this... I dont know how to call this kind of data, is it hex? 2%E6%9C%8819%E6%97%A5 I believe that this should be printed as 2月19日 How can I convert 2%E6%9C%8819%E6%97%A5 to be 2月19日 using PHP? Thank You
stackexchange/codereview
why the following code shows segmentation fault? int CreateRawSocket(int protocol_to_sniff) { int rawsock; if((rawsock = socket(PF_PACKET, SOCK_RAW, htons(protocol_to_sniff)))== -1) { perror("Error creating raw socket: "); exit(-1); } return rawsock; } int BindRawSocketToInterface...
stackexchange/codereview
Possible Duplicate: iPhone - file properties Hi all. i m creating an application which makes the iphone work as a pendrive for easy file sharing purpose. In the first stage, i have some files(png, pdf, jpg, zip) in a directory and i made them display in the tableview in the form of mutable array without the extensio...
stackexchange/codereview
Possible Duplicate: How to make hover buttons ? I want to create a rollover buttons like this : http://www.infolinks.com/login.html "Login" button.So how do i do that ? I have the 2 roll over buttons ready for use !
stackexchange/codereview
I have a class for which I have overridden the .Equals(), ==, !=, + and % Operators. Clearly, I want to test if everything works fine. What's pretty funny is, that the test for the addition '+' is successful inside a program, but fails, when using a real UnitTest! In Program: Stats a = new Stats(); Stat...
stackexchange/codereview
I have an array of objects. On this object is a NSDecimalNumber property distanceFromDevice. I want to order this array by this property. I have struggled for hours with sorting, anyone got any advice? - (void)buildSearchableListUsing:(CLLocation *)newLocation { listContent = [[NSMutableArray alloc] init]; f...
stackexchange/codereview
Hei all I have this code function prototype( str , id ) { var ret = str; ret = ret.replace( /ø/g, 'oe' ); ret = ret.replace( /Ø/g, 'OE' ); ret = ret.replace( /å/g, 'aa' ); ret = ret.replace( /Å/g, 'AA' ); ret = ret.replace( /æ/g, 'ae' ); ret = ret.replace( /Æ/g, 'AE' ); document.getEle...
stackexchange/codereview
Is there a way to encode/decode a string using a secret key. I will use base64 to give you an example what im looking for. <?php $secret = 'abc123'; $string = 'Hello World'; $en = base64_encode($string,$secret);//encoded output returns here echo base64_decode($en,$secret);//output: "Hello World" ?> so basically i...
stackexchange/codereview
i was making an installer for my app its working fine on xp but on vista the UAC is giving problem unless i do a run as administrator the Unexpected error appears when i run my app afters installation, any idea? i am installing the application in C:\xfolder\x
stackexchange/codereview
I have a sql query in python which is pretty slow, it contain some inner join, And some one suggest that in this case we can: turn on the "Show Actual Execution Plan" option and then take a close look at what is causing the slowdown. Here some one has similar prolem as me : Slow SQL Query due to inner and left join? D...
stackexchange/codereview
Currently, I would like provide this as an option to the user when storing data to the database. Save the data to a file and use a background thread to read data from the textfile to SQL server. Flow of my program: - A stream of data coming from a server constantly (100 per second). - want to store the data in a textf...
stackexchange/codereview
If have a union that currently foresees some simple data types: union Value { const char *str; double d; long l; short s; bool b; void *reference; }; The union also allows more complex data types to be stored (like enumerations, references to instances, ...), but all data is stored in one of th...
stackexchange/codereview
I have a controller in which I have a GET method display a form POJO, which is to be captured by a corresponding POST. However, when the POST request is executed, the form POJO is created but never populated, and no errors are shown (besides validation errors for the nulls). I'm using Spring 3.0. @Controller public cla...
stackexchange/codereview
Basically I would like to include the product image to the New Order Email sent when ordering a product. I started in email/order/items/order/default.phtml with this code <?php $_item = $this->getItem() ?> <?php $_order = $this->getItem()->getOrder() ?> How do I use this code to fetch the image? Mage::helper('catalog/...
stackexchange/codereview
What should I do to get different input keyboards for text input in my Android. For example when I want to input text in Korean, I want a Korean KB. And if I want to do the same in Chinese, I want to get a Chinese keyboard. How do I do it programmatically? Any pointers will be greatly appreciated. Thanks.
stackexchange/codereview
I am using Jsoup to extract URL of an webpage. The href attribute of those URL's are relative like: <a href="/text">example</a> Here is my attempt: Document document = Jsoup.connect(url).get(); Elements results = document.select("div.results"); Elements dls = results.select("dl"); for (Element dl : dls) { String u...
stackexchange/codereview
I have an SQL query similar to below: SELECT NAME, MY_FUNCTION(NAME) -- carries out some string manipulation FROM TITLES ORDER BY NAME; -- has an index. The TITLES table has approximately 12,000 records. At the moment the query takes over 5 minutes to execute but if I remove the ORDER BY clause then it exec...
stackexchange/codereview
I'm helping with a rather ad-hoc disaster recovery, and we've restored a database backup from a few weeks ago and then restored transactions from a transaction log backup. We did this using SQL Server Management Studio - right click on database, restore full backup but leave in recovery mode, right click again, restore...
stackexchange/codereview
Hey everyone, Again I need your help :D Is it possible to add the shadow effect to the text in HTML using only CSS ?? I'm working on a project that has a lot of buttons and I need to find a way to add the shadow effect to the text in them without using images and to be compatible with the most used browsers. I tried us...
stackexchange/codereview
I have a bug in my app that seems to show it's face only when I pause the app in the debugger for a few minutes. I suspect this is due to a third party networking library I am using having a heartbeat thread, which becomes disconnected when it can not ping the server while it's heartbeat thread is paused. I am trying t...
stackexchange/codereview
I'd like a MessageBox to display when I click a button on my simple PyQT application. How can I declare two textboxes and have a MessageBox display with the text from both textboxes? Here's my code far: import sys from PyQt4 import QtGui, QtCore class myWindow(QtGui.QWidget): def __init__(self, parent=None): ...
stackexchange/codereview
Hi I'm trying to develop an app with ScrollView and PageControl. I would like i to recieve one picture for each page, how can I make it possible?
stackexchange/codereview
i am using membership provider to get roles for the user that logged in to my application. But, i wonder how i am hiding/showing html items on the screen based on that roles? ** I am using viewModel for each of my views in the application. Thanks..
stackexchange/codereview
I have deleted a test from unit test and so need to checkin the .vsmdi file but it still gives error regarding that deleted test method. any suggestions are welcome
stackexchange/codereview
I want to be able to fire an event when a user clicks on a button, then holds that click down for 1000 to 1500 ms. Is there jQuery core functionality or a plugin that already enables this? Should I roll my own? Where should I start?
stackexchange/codereview
I have a sample app developed in asp.NET 3.5. On my master page I use following code to display an GIF while loading the page. It works correctly on IE and FF, but fails in Chrome. On pressing the submit button, the server gets the request and completes its processing and while that is happening the browser shows the l...
stackexchange/codereview
I'm attempting to create a method that will allow me to retrieve a value from the last row of a database, and then insert it into an EditText field. (This is a value that the user will not change all that often, so it would be helpful if when they do set it, it stays set when they come back to it). My method, based on ...
stackexchange/codereview
Hello I've been doing some reading on "CORS". I think I understand the concept. However I'm having some difficulty performing a cross domain POST request. I've set up two test sites on my local IIS. http://localhost/CORSService/hello.html http://localhost:8000/CORSClient/index.html Currently, the following code wo...
stackexchange/codereview
I need to know if it is possible to add USER to ROLE in MYSQL using some SQL statement? Thanks.
stackexchange/codereview
I have to store millions of URLs in a database, and be able to find rows by URL quickly. MySQL's string indexes aren't quick enough for this, because they only index the first 4 characters of the string, which are generally www., and then MySQL iterates over each of those rows starting with www. and compares the value ...
stackexchange/codereview
I've caption under every image <p> <a href="large.jpg"> <img width="85" height="75" src="thumb.jpg/> </a>Caption</p> I want to render same caption at bottom of lightbox. <span id="lightbox-image-details-caption">...Here.......</span> How to do this?
stackexchange/codereview
I'm customizing a image slider plugin, and would like to add a link, that when clicked, shows next image - like a clicking on the big image does. Try the demo here: http://exposure.blogocracy.org/demos/demo1.html I can't figure out in the code, but clicks on img.exposureImage is the same function I want. Can anyone hel...
stackexchange/codereview
I have already read Entity Framework One-To-One Mapping Issues and this is not duplicate as the business rule specs are different here. There are two tables, Invoices and Orders. Invoices -> InvoiceID (Primary, Auto Number) Orders -> OrderID (Primary, Auto Number) -> InvoiceID (FK InvoiceID of Invoices Table) Now the ...
stackexchange/codereview
We are working on a Oracle to SQL Server 2008 migration project. So we have lot of oracle package functions which used to call other Stored procedures. These functions have been converted by SSMA to IMPL procedures which are executed via extended procedures from the functions. We had converted most of such functions to...
stackexchange/codereview
When using a <g:LayoutPanel> in UiBinder.ui.xml files, you can specify <g:layer> tags. Some other Google-built widgets have special tags like that as well - <g:tab> even has a sub-tag, <g:header>. How can I specify these for my own widgets?
stackexchange/codereview
I have a 4 server asp.net farm. I want to use AppFabric as my session state server but I'm not sure if it will do what I want it to do. Some questions... 1: If some of the nodes crash, is any of the session data lost? 2: Does each server have a copy of the session data in case of failure? The documentation states tha...
stackexchange/codereview
Suppose I use QTPs recovery scenario manager to set the playback synchronization timeout to 0. The handler would return with "continue with next statement". I'd do that to make sure that any following playback statements don't waste their time waiting for the next non-existing/non-matching step before failing: I have ...
stackexchange/codereview
I have three frames inside separate three bpls, in my main application i have created three buttons and , i want to call the frames dynamically(one at a time )when the respective button is clicked (the frame can be shown in any control eg : TPanal) i have already done such a thing using Dlls but some in the Stack overf...
stackexchange/codereview
is possible to upload a file by using FileUpload Control and WebMethod? I would like to avoid the UpdatePanel and ScriptManagers. How can I do it? What kind of parameter the Web Method would be? Is there any example? Thanks!
stackexchange/codereview
private static class asyncDownloadImage extends AsyncTask<Object, Integer, Integer> { Bitmap _image=null; @Override protected Integer doInBackground(Object... params) { String _url=com.nag.online.utils.objectToString(params[0]); byte tries=0; do {...
stackexchange/codereview
when application installed and opend first time,and i pressed home key then application minimises normally.but when i starts same application(not minimised one),it shows me blank screen.this happens only first time.i am not getting what happens..can any body help
stackexchange/codereview
I have made an OpenCV application in VC++, whose executable is in the form of a dll. I am using this dll in a .NET application. After building the VC++ based OpenCV application, I get the dll. I simply move this dll into the bin folder of the .NET application and I can properly use it in the code. However, I was wonde...
stackexchange/codereview
Somebody follows a blog link(say http://blog) to come to my site (say http://mysite/a.php). So now she is on page http://mysite/a.php and referer is set to http://blog Now there is JavaScript on the page http://mysite/a.php which does the following redirection: document.location = "http://mysite/b.php; //Th...
stackexchange/codereview
Basically what we need is an filepicker that can be used on a webpage to enable the user to select files and/or folders. BUT, we only need to be able to get the local (client side) filepaths for the selected files via javascript, to later be used with another fileupload applet. So the upload upload part is no problem, ...
stackexchange/codereview
I have some intermittent segmentation faults in a Qt application. I think the problem is related to our (bad) use of QSharedPointer. The Qt Documentation states : QSharedPointer::QSharedPointer ( T * ptr ) : Creates a QSharedPointer that points to ptr. The pointer ptr becomes managed by this QSharedPointer and mus...
stackexchange/codereview
hey guys, i wonder how to solve this: function setimgwidth() { var bw = $('.post-body').width(); $(".post-body p img").each(function() { var os = $(this).width(); //if (bw < os) { $(this).removeAttr('height'); $(this).width(bw); //} }); } basically my .post-b...
stackexchange/codereview
I'm developing a custom module for Drupal 6. I have a problem with session variables and custom code with ajax functionality. How can I access the session created by Drupal from the backend php script which is triggered by the ajax request? e.g. in the module's .module file I add a custom php object to $_SESSION variab...
stackexchange/codereview
I'm trying to make an autologinfilter in Eclipse using a liferay hook. Now I've added the: <filter> <filter-name>myautologinfilter</filter-name> <filter-class>bla.bla.xyz</filter-class> </filter> <filter-mapping> <filter-name>myautologinfilter</filter-name> <url-pattern>/c/login/myurl</url-pattern> </fi...
stackexchange/codereview
I have a report like page which displays a gridview and a chart created from .Web.UI.DataVisualization.Charting which I want to convert to pdf. Currently I am using iTextSharp which in my opinion is really great. I managed to create the table in the pdf but cannot find a way how to display the chart as well. Any idea...
stackexchange/codereview
I havea quick question regarding hook_form. Does it work on custom content types created outside of module using the drupal cotent type interface? Of does it only work on content types created in your module? If it does not work on custom content types defined outside the module what would you reccomend?
stackexchange/codereview
I have a Car object with a ResaleValue property, and I have a collection of these car objects stored in: IEnumerable<Car> I also have a ResaleCalculator() with a calculate method. Is there a way in linq to apply a calculation and set the ResaleValue property of every object in the collection without a loop?
stackexchange/codereview
UPDATE: Microsoft have yet to fix it in Windows 8.1. EDIT: This turned out to be a bug in WOW64 - GetThreadContext() may return stale contents when the thread is suspended in long mode ring-3 (user mode). I've suggested to Microsoft to use ring-2 to perform the translation. SuspendThread would then only suspend thread ...
stackexchange/codereview
I would like to consume a REST API using clojure, but I need to use digest authentication. I've been googling, but I can find no direct support for it in any of the client libs, and the documentation on the Java side (as well as on digest auth implementations in general) is poor. I would basically like to get recommend...
stackexchange/codereview
I have written a view which responds to ajax requests from browser. It's written like so - @login_required def no_response(request): params = request.has_key("params") if params: # do processing var = RequestContext(request, {vars}) return render_to_response('some_template.html', var) ...
stackexchange/codereview
How to change normal table border to image border of table?
stackexchange/codereview
As the title suggests, is this test name just a little of the top? WhenChargeIsGreaterThanRestingChargeButLessThanChargeRestApproachStep_OnUpdate_ChargeIsSetToRestingCharge Any suggestions on how to improve this? or is it fine as it is? Below is the whole test fixture as it stands so you can get some context :) public...
stackexchange/codereview
I'm working on an XSD file and when validating an XML file with it I want to restrict empty elements. Eg., <myElement>this is not empty</myElement> would pass validation, however <myElement/> or <myElement></myElement> would not pass validation. Thanks for any help you may offer! ps. I accidentally posted this at http...
stackexchange/codereview
i'm working on a API, and i want to take the json data that is display in an adress like this : https://api.empireavenue.com/profile/info/?apikey=YOURAPIKEY&username=TICKER&password=PASSWORD and take this data to display it on my app . Thanks.
stackexchange/codereview
This is more of a design question than a problem I'm trying to solve. I'm posting this here to get other people's opinion on the Design of the ASP.NET MVC framework. To start with, I'll state the issues I have with the framework: Html and code in views Method names such as View() where one can't discern by looking at ...
stackexchange/codereview
I think the title of the question is quite bad explained so I'll try to make it better here. I have an UIViewController project. Inside the main view I've put another smaller view (320x200), let's call it menu. This view it's mostly placed out of the visible screen, at point (0, -180) so when the app is launched, the t...
stackexchange/codereview
We have a class hierarchy similar to this one: public class TestDereference { private static MainInterface mi = new MainInterfaceImpl(); public static void main(String[] args) { System.out.println(mi.getSubInterface().getField()); } } interface MainInterface { <T extends SubInterface> T getSubInterface(); } in...
stackexchange/codereview
In my DNN module I use jquery and jquery-ui. When I add links to jquery--ui *.js files my module starts listing content of its directory. Directory Listing -- /HelpDeskDNN/DesktopModules/MyControl/ [To Parent Directory] Wednesday, November 10, 2010 01:19 PM 3,827 MyControl.ascx Wednesday, November 10, 2010 1...
stackexchange/codereview
I am experiencing very weird issues surrounding Images. I have a settings window, which has a ListView on the left hand side which has various image icons which when clicked update the panel to the right to display relevant stuff - nothing hugely special. However, I have recently added two extra icons, but their images...
stackexchange/codereview
I'm trying to build an application using some of ffmpeg's libraries and I'm noticing many data structures with the word "Context" in them. You can see some here http://www.ffmpeg.org/doxygen/trunk/classes.html I don't understand the use of the word "context" in this.. context. Any hints as to what it generally means?
stackexchange/codereview
I used dropdown menu in our site its worked in all browser but in IE6 it's not working properly. so tell me solution. this site is in wordpress. Thanks Abhay
stackexchange/codereview
I have designed a page which has these CSS properties: margin-left: auto; margin-top: 0px; It works fine in Firefox & IE 8, but it does not work in IE 6 & 7. Please help me to resolve this issue. Thanks in advance.
stackexchange/codereview
I have some tabs based on layouts with their own xml description, but when i tried to set tab content i got such a result: http://img266.imageshack.us/img266/1787/appnavihist.jpg (white field with text is a part of home.xml layout). Here's some code: TabSpec spec = tabHost.newTabSpec("home").setIndicator("Home").se...
stackexchange/codereview
I'm trying to set up a FULLTEXT index in an existing db table (with like 50k records), with the command below, which worked: ALTER TABLE `record_attributes` ADD FULLTEXT `FULLTEXT` (`content_text` ,`content_varchar`) Problem is, when I try to do a MATCH AGAINST on that table, it gives me this error: #1191 - Can't fi...
stackexchange/codereview
It seems that a lot of Ruby on Rails questions are related to AuthLogic. What are the advantages of it that it is so popular?
stackexchange/codereview
I know there's hook in Win32 but I don't need to hook the whole system and it's low level. What I want is something easy like Wordpress framework but for Winform which allows me to hook all events in my own application for example detecting all textbox leave or all forms closing. Does this exist ? Is it possible techni...
stackexchange/codereview
rake jobs:work works just fine But RAILS_ENV=development ./script/delayed_job start (or any of its permutations) doesn't work on 1.9.2. I can run it just fine on 1.9.1. Anyone have a solution for this?
stackexchange/codereview
I have a timestamp that is in UTC "2010-10-25 23:48:46 UTC" I need to convert it into ISO 8601 "2010-10-29 06:09Z" The documentation is confusing as hell - what is the easiest way to do that?
stackexchange/codereview
locally I am not having any issues running a silverlight application. site comes up just fine. we deploy our code to our test environment and our site (or access to our data) stops working. I dont think our svc file is being recognized. I am leaning towards an issue with the endpoints. Im fairly new to wcf and service ...
stackexchange/codereview