instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Im getting a strange error when trying to add a new item to a table using LINQ error : SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Code: dbc.TblEvent newEvent = new dbc.TblEvent(); newEvent.Subject = "Registered"; newEvent.PersonID = PersonId; newEvent....
stackexchange/codereview
Rails3 on passenger. I have imagemagick installed and working correctly however I receive the following error when trying to add an image via paperclip. This works fine on in development, but not in production on passenger. [paperclip] An error was received while processing: #<Paperclip::PaperclipError: There was an er...
stackexchange/codereview
In the administration generated by symfony, how do I override the method executeIndex() ? I want to list only the items that have a specific state, and all I found in cache/backend/dev/modules/auto.../ was : $this->pager = $this->getPager(); How do I change the query used by the pager ?
stackexchange/codereview
I use MooseX::Storage for serialization of Moose objects. Can I use it for serialization of multiple Moose objects to the same file, or more specifically, an array or a hash of Moose objects? I guess I can define another Moose objects ('array_of_myobj') but this isn't very elegant. So, how would you recommend to serial...
stackexchange/codereview
I have an application that iterates over an array every step and I seem to be getting surprisingly slow results when the array is empty. So, I investigated with some follow-up tests that went something like this: NSMutableArray* ar = [NSMutableArray array]; double time = CFAbsoluteTimeGetCurrent(); for (int i = 0; i <...
stackexchange/codereview
I'm relatively new with HTML and am creating a website that plans to use a list comparable to the Windows Explorer 'Show as Details' option. I'm sure tables have this ability and are even made to implement exactly that however playing around with them I can't seem to get them to work as I'd expect. Google then fails t...
stackexchange/codereview
I have the following model and view, and I would very much like to accept date values in the format 'dd/MM/yyyy'. However, despite using the DisplayFormat annotation, I still get a validation error using my chosen format. [MetadataType(typeof(MilestoneMetadata))] public partial class Milestone { public class M...
stackexchange/codereview
I've been using git for a while, and I understand why merge conflicts happen and that I need to make the final decision between two conflicting blocks of code. However, I want to find a way to fix merge conflicts without git modifying the conflicting files. For example, if there are merge conflicts in a Django templat...
stackexchange/codereview
Now I want to prefix this with I am unsure whether this should be here or on server fault so I'll post it here to begin with. We are developing a REST API in Coldfusion 9 which is being hosted on IIS 7 for a client which on certain calls must call another internal webservice. When making these calls from the server th...
stackexchange/codereview
I am developing a client/server program where the client is an android device. The server has a listener class that reads an object from the input stream. I created a client software for another COMPUTER that sends a small object over a local network. Computer to Computer works perfectly fine, i read the object and pri...
stackexchange/codereview
what is the best way to do this in jQuery? This should be a fairly common use case. User selects text in a textarea He clicks on a link The text in the link replaces the selected text in the textarea Any code will be much appreciated - I am having some issues with part 3.
stackexchange/codereview
I have an NSArray of unknown items. I know there will always be more than 10 items. I would like to assign all but the first 10 items to an NSString. Something like: NSString *itemString = (NSString*)[itemArray StartingIndex:10]; Is there a simple efficient way without iteration to accomplish this? Thanks!
stackexchange/codereview
Suppose I have variables dir and file containing strings representing a directory and a filename, respectively . What is the proper way in emacs lisp to join them into a full path to the file? For example, if dir is "/usr/bin" and file is "ls", then I want "/usr/bin/ls". But if instead dir is "/usr/bin/", I still want ...
stackexchange/codereview
I know when it's a matter of accessing memory of a stack frame it'll be through using stack frame pointer but I wonder about how the access to data, BSS segments containing global/static data will be, through using a pointer like stack frame pointer indicating starting point of those segments or instructions address pi...
stackexchange/codereview
Where would I find usage statistics on mobile devices and browsers broken down by type over time? From a technical aspect I would like to support as many as I can in upcoming projects, however it would be beneficial to determine which devices / browsers are the pack leaders before I go supporting ancient junk.
stackexchange/codereview
As simply as possible, I am trying to find out if events are guaranteed to be handled in the order they are dispatched. Let's say I have the following, simple code: private function handler1(e:Event):void { .. processing ..} private function handler2(e:Event):void { .. processing ..} private function handler3(e:Event)...
stackexchange/codereview
Having some issues accessing my param tags from within actionscript. Essentially I have the following tag: <param name="config" value="config" /> But I am unable to access it. There are two issues that I have, and I've been searching the internet high and low for the answers. 1) How do I even access the parameter? I h...
stackexchange/codereview
I want to make some characters gray, and leave the rest black. How do I do that?
stackexchange/codereview
I am creating a small site for my college where the instructors will be able to enter the marks and attendance of the students. I stuck at add records option where the instructor will enter the marks of students all at once(using pagination) or one by one(he enters once,clicks next and enters another).The input fields ...
stackexchange/codereview
is there a way to change the title in the tabbar of the moreNavigationController? It always shows "More". I tried it with setting the moreNavigationController.tabBarItem.title, unfortunately it seems to have to effect. Sincerely, Heinrich
stackexchange/codereview
I have a dictionary: {'key1':1, 'key2':2, 'key3':3} I need to pass a sub-set of that dictionary to third-party code. It only wants a dictionary containing keys ['key1', 'key2', 'key99'] and if it gets another key (eg 'key3'), it explodes in a nasty mess. The code in question is out of my control so I'm left in a posit...
stackexchange/codereview
I'm seeing this text effect in tons of commercials, and web sites lately. And I've found ways to do it in Flash, and JavaScript, but nothing that would directly help me achieve it in Silverlight. Here's an example of the effect: http://activeden.net/item/pendulum-swing-3d-component-as3/85056 Basically the idea is the t...
stackexchange/codereview
document.getElementById("ctrl").disabled = true; this works in IE but does not works in mozila. What shoul I do?
stackexchange/codereview
Need a help in building query. I have quantity_price table, listing quantity and corresponding price as shown below Quantity Price ---------------- 1 -- € 175,35 2.5 -- € 160,65 5 -- € 149,10 10 -- € 143,85 so for upto 1 quantity price will be 175,35 up to 2.5 it will be 160,65 and so on. For more than 10 q...
stackexchange/codereview
My Description contains an apstrophe('). How to escape it. <a href='javascript:select("<%= pageBean.replace(list.getColumn(0), "'", "'") %>", "<%= pageBean.replace(list.getColumn(1), "'", "'") %>");' title="<%=selRpt%>"> <span class='img-view'></span></a> "<%= pageBean.replace(list.getColumn(1), "'", "'") %>" is the d...
stackexchange/codereview
I have a report and two subreports. In the subreports I used Sort Record Expert for defining the column that I want to sort the subreport. I would like to have a sort control, but I don't have the option 'Bind Sort Control'. Could someone be kind and explain me how to create the sort control in the subreport, if possi...
stackexchange/codereview
I have two entities event and time. The event entity has a 1 to many relationship to time entities as each event can be performed multiple times. Now I want to display all the events chronologically in a tableView. So I set up a fetchedResultsController to fetch all time objects, sort them according to the start time a...
stackexchange/codereview
For example, I have this line of code: echo 10359023529 + 0.2137582935; Why does this return: 10359023529.2 instead of: 10359023529.2137582935
stackexchange/codereview
i'm extending my precompiling application by automating the following steps: 1) update the SVN on a folder (we're using TortoiseSVN, unfortunately) 2) do a programmatic build on the csproj after an update was made I would like to know how i can accomplish these in c#? thanks.
stackexchange/codereview
I have an existing rails application/website that I want to add a blog to. I would like to access it by www.existingapplication.com/blog so I was thinking it would need to be some kind of plugin or engine or something. Does something like this exist? The main thing is that it can't be a standalone rails application,...
stackexchange/codereview
I found this piece of code which seems pretty cool. I see return new Set(array); written so i know set is a class. But what does Set[proto] mean and what does [push] mean and .pop and why is one a dot while the other is in square brace. Also arguments[length] looks pretty cool. I imagine its an implicit parameter in e...
stackexchange/codereview
I get a java.lang.ArrayIndexOutOfBoundsException when using ByteArrayInputStream. First, I use a ZipInputStream to read through a zip file, and while looping through the zipEntries, I use a ByteArrayInputStream to capture the data of each zipEntry using the ZipInputStream.read(byte[] b) and ByteArrayInputStream(by...
stackexchange/codereview
I use tag files for code completion and for a quick, inline view of parameters, overloads, files (where declared), etc. Where can I find freely available tags for the C99, C++03, and C++0x standard libraries? (C89 would be better than nothing, but I'd rather have C99.) I prefer tags without cruft; e.g. implementation...
stackexchange/codereview
Is there a way to tell if a variable is defined on command line using SQLCMD? Here is my command line: sqlcmd -vDB="EduC_E100" -i"Z:\SQL Common\Admin\ProdToTest_DB.sql" Inside ProdToTest_DB.sql I would like to set some sort of conditional IF to check if the variable does not exists and define it if it does not. IF...
stackexchange/codereview
I and trying to build a calendar in ruby on rails. In ruby-on-rails, monday is considered to be the first day of the week, but i have to set sunday as the first. I intend to change this to properly use the date's built-in methods RoR. Assuming today is sunday, oct 24th. Look the example: Date.now.beginning_of_week it ...
stackexchange/codereview
I got this problem " 'UINT64_C' was not declared in this scope" while using the ffmpeg library for Eclipse running under Ubuntu. After a while, I have found this solution: http://code.google.com/p/ffmpegsource/issues/detail?id=11 But I could not know how to this: This should be fixed in our build system no matter wh...
stackexchange/codereview
I know that inline member functions by definition should go into the header. But what if it's not possible to put the implementation of the function into the header? Let's take this situation: File A.h #pragma once #include "B.h" class A{ B b; }; File B.h #pragma once class A; //forward declaration class B{ ...
stackexchange/codereview
So an android browser or a webview works fine with urls like this - abc.com/xyz.txt However, if your URL looks like this - abc.com/xyz.php and what's sent to the browser in the headers is - Content-Disposition: attachment; filename="xyz.txt", then the Android browsers and web view seems to get terribly confused. It loo...
stackexchange/codereview
how much time does it take to create a simple dance performing bot in second life using Linden Scripting Language ?? , i have no prior knowledge of lsl , but i know various object oriented and event driven programming languages .
stackexchange/codereview
How can i get all the texts which are misspelled on gtktextview so that i can put those on container and use for future actions.
stackexchange/codereview
I want to exclude developer iAds from my apps, as I don't think the revenue is worth the annoyance to my users. I asked Apple about it, and they said there is no way to do this, and there are no plans to add one. However, I have to wonder if there is a keyword in the exclusions that will do the trick. Has anyone foun...
stackexchange/codereview
I want to progressively decrease the opacity of a QPushButton over a time of 2 seconds to complete transparency. For that I used the QPropertyAnimation class and used the property "windowOpacity" of the button to achieve the effect. But that worked only for a standalone QPushButton. When I assigned a parent to the butt...
stackexchange/codereview
jQuery was updated over the weekend. How long should I expect to wait before the .-vsdoc version is released?
stackexchange/codereview
I am trying to write a class that implements a tree using an array and I need some help to write an Iterator method that which returns an iterator of the elements stored in the tree. Solution: public Iterator<E> iterator() { return new Iterator<E>() { private int index = 0; public boolean hasNext(...
stackexchange/codereview
I am attempting to integrate Google Checkout into my website. I have created the following function for generating the hmac-sha-1 signature requred: def make_signature(cart_xml): import hmac import hashlib import base64 # The number is a psuedo-merchantID, cart_xml contains a string with the # shop...
stackexchange/codereview
I'm using core data and I have an entity defined called LogRecord. Elsewhere this is populated with objects using: LogRecord *rec = [NSEntityDescription insertNewObjectForEntityForName:@"LogRecord" inManagedObjectContext:managedObjectContext]; [rec ...
stackexchange/codereview
I was wondering what are Facebook limitations. My client wants such project: App allows user to post photo on their facebook page and share it with their friends with a message. Can Facebook API allow all these steps to be accomplished?
stackexchange/codereview
I'm currently creating a whiteboard in Flash, and I want to be able to record all of the user interaction for later playback. Is it somehow possible to create a video of what the user is drawing?
stackexchange/codereview
I am looking for a simple lightweight java library that parses HTML. I have looked a lot and there are many options out there. But I cannot find something simple. I really would like to have something like pyquery in python except in java. My requirements are: fast, easy to use and lightweight. What do I need it for? ...
stackexchange/codereview
When a user sends a friend request and accepts it the friends info and pic are displayed perfectly on the users side but on the friends side the friends own pic and info is displayed instead of the user who friended the friend how can I fix this problem? users friends table CREATE TABLE users_friends ( id INT UNSIGNE...
stackexchange/codereview
I've got an object that is owned by the Network Service that I want to delete. It is a Message Queue, a Private Queue. The queue's Properties | Security tab shows Network Services has full control, Everyon has just Get Properties, Get Permissions, and Send Message, And Anonymous Logon has Send Message. I've got the A...
stackexchange/codereview
I have been working for some years in C# and one thing always bugs me. Delegates. They have no state, they are pointers to object methods, and the only way to go when dealing with threads or any other type of parallel programming technique that .net has to offer. My main concern is that when programming in an object o...
stackexchange/codereview
I have a DateNavigatorViewModel + DateNavigatorView on my ButtonBar. Below are 2 Views which get exchanged: DailyView and WeeklyView. Each View has a DailyViewModel and WeeklyViewModel. In my DateNavigatorViewModel I have messenger.Send(SelectedDate); In my DailyViewModel and WeeklyViewModel each register in the constr...
stackexchange/codereview
I am about to start ramping up on Django and develop a web app that I want to deploy on Google App Engine. I learn that Google has Django 0.96 already installed on the APP engine, but the latest "official" version of Django I see is at 1.2.3 and its a bit of an effort to install it there. I am curious which version of ...
stackexchange/codereview
I have a SQL Server database, and I want to store in image type column some string. I'm trying to do the following : SqlParameter myparam = new SqlParameter("@myparam", "VeryLongString"); myparam.SqlDbType = SqlDbType.Image; when I add it to the command and then execute it, I get the following error : Failed to con...
stackexchange/codereview
In this simple script i get the error "obj.parentNode.getElementById is not a function", and I have no idea, what is wrong. <script type="text/javascript"> function dosomething (obj) { sibling=obj.parentNode.getElementById("2"); alert(sibling.getAttribute("attr")); } </script> <bod...
stackexchange/codereview
I use the following code to read excel data into a data table , however the column name P.O.BOX has changed to P#O#BOX in the data table.Can anyone shed some light on why this is happening? Dim FileName As String = "C:\abc.xls" Dim conn As Data.OleDb.OleDbConnection = Nothing Dim dt As New DataTable Try ...
stackexchange/codereview
I have an ArrayList containing Movies. ArrayList<Movie>movies = new ArrayList<Movie>(); Movie has a property int movienumber. The user can select a movie according to the movienumber, by entering the desired number into the console. I store the users choice inside a field moviechoice. How can I store the user-selec...
stackexchange/codereview
Why this explicit cast does throw Specified cast is not valid. exception ? decimal d = 10m; object o = d; int x = (int)o; But this works: int x = (int)(decimal)o;
stackexchange/codereview
In a use case diagram what is the difference between <<includes>>, <<extends>> and <<uses>>? Are <<includes>> and <<uses>> are the same thing?
stackexchange/codereview
is it possible to set a locale for the app with no regard to the users language? My motivation is that I don't want the automatically translated labels of some buttons. Sincerely, Heinrich
stackexchange/codereview
Anybody know of a (FREE) SDK of some sort that can start text extraction at the point in the PDF Document where a hyperlink takes you to (within the same PDF document)? The links end up taking us to specific points on specific pages. More specifically we need a program that can parse a pdf document that holds question...
stackexchange/codereview
I'm encountering an irritating binding behavior for a DateTime bound to a textbox that is disabled. It always returns null. My model has a DateTime? StartDate property... I've also tried just DateTime StartDate (without the '?'). I've tried the following: Attempt #1: <%: Html.TextBoxFor(model => model.StartDate, new { ...
stackexchange/codereview
Hello In my android application i am playing live rtsp links. The issue is at times if the player gets struck somewhere then the videoplayer doesnot exit even if we press back. The only option will be to close the program from task manager. Is there any way that i can make it better? Please share your valuable suggesti...
stackexchange/codereview
I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing....
stackexchange/codereview
I have a simple test program causing an infinite wait on lock. public class SyncBlock { } class Program { public static SyncBlock sync = new SyncBlock(); private static void ThreadProc() { try { Monitor.Enter(sync); } catch (Exception) { //...
stackexchange/codereview
We're using a hashtable to store sessions in a web service. I want to test thread safety of adding to this session. I wrote a Console App which generates lots of threads and adds to this session. But I am neither getting an exception nor losing any data. Am I doing anything wrong or isn't this much of operation a threa...
stackexchange/codereview
Hi? I'm a university student of Korea, and this semester I'm studying internet programming. I made html, and I made tag. However I think that there is problem in my tag. In fact I hardly effort to find problem, but I cannot find that. Experts!!!Please find the problem!!!! This is my form tag. <html> <head></head> <body...
stackexchange/codereview
I want to hide/remove the up and down arrows from the scrollbar - how can i do that? the scrollbar is to fat - the skin i am using is not that fat. How can i make the scrollbar thiner. thanks
stackexchange/codereview
How can I do it? All the test runners seem to work for VS2008 but not 2010 and if they do, not for .NET 4. Thanks
stackexchange/codereview
I am writing an application for iPhone/iPad and I need to implement a function to allow users to upload pdf. i wonder if there are limits on the amount of available memory?
stackexchange/codereview
At W3schools an article on XML Namespaces states: Note: The namespace URI is not used by the parser to look up information I have a very simple XML file: <?xml version="1.0" encoding="utf-8"?> <foo> <bar>Hi!</bar> <button xmlns="http://www.w3.org/1999/xhtml">Click Me!</button> </foo> Opening this file in Chr...
stackexchange/codereview
I have the following code, which i've simplified, where $currEl gets logged and displays correctly, but in the $.ajax call it logs as null. Am I missing something? for(var i=0, j = atgSlots.length; i < j; i++) { var currSlot = atgSlots[i].split('|'), $currEl = currSlot[0].length ? $('[data-atg-url=' + currSlot[0] +...
stackexchange/codereview
If I have html like the following on my own site how come it is able to track the event? Is it possible that browser starts loading the http://google.com in the same window before the tracking request is made as it is asynchronous? <a href="http://google.com" onclick="_gaq.push(['_trackEvent', 'category', 'event']);">c...
stackexchange/codereview
Below are two snips of code for assigning an event handler for an onclick event. Version One works in IE, FF, Safari and Chrome. Version Two works in IE, Safari and Chrome, but not in FF. In Version One, I register the event handler in the markup. In Version Two, I use a newer, and supposedly more robust, method for re...
stackexchange/codereview
What's the best approach to develop multilanguage MVC web application?. What I envision is having a drop down with several language preferences on the master page. Selecting the language option would change the site's language/culuture. The site would also use a different suffix for each language option. for example s...
stackexchange/codereview
in my one batch file i set a variable, after running this batch file it shows the error "The input line is too long." how to overcome from this problem. or it is possible to increase the input line length(max) in windows?
stackexchange/codereview
I current writing a TCP socket using NSStream. I'm able to open the stream but i can't write out anything (eg. a NSString or NSData).
stackexchange/codereview
Gallery model var $validate = array( 'id' => array('rule' => 'numeric', 'required' => true, 'allowEmpty' => false, 'on' => 'update'), 'name' => array('rule' => 'notEmpty', 'required' => true, 'allowEmpty' => false, 'on' => 'create'), 'model' => array('rule' => 'notEmpty', 'required' => tr...
stackexchange/codereview
I have some lines of text. I want the last one right-aligned so that the text forms a nice column. This is the sort of thing I want to achieve: Once upon a midnight dreary, while I pondered, weak and weary, Over many a quaint and curious volume of forgotten lore, While I nodded, nearly napping, suddenly there came a t...
stackexchange/codereview
I am working on project using lxml. here is a sample xml <PatientsTree> <Patient PatientID="SKU065427"> <Study StudyInstanceUID="25.2.9.2.1107.5.1.4.49339.30000006050107501192100000001"> <Series SeriesInstanceUID="2.16.840.1.113669.1919.1176798690"/> <Series SeriesInstanceUID="2.16.840.1.113669.1...
stackexchange/codereview
I'm trying to script Powerpoint with Powershell 2.0. This site says there's a "PresentationOpen" event. However, Get-Member does not show this event. Also, when I try to do this: register-objectevent $application PresentationOpen notification_event it says: "Cannot register for event. An event with name 'PresentationO...
stackexchange/codereview
Doesn't C++ offer any guarantee about keeping variables intact on input failure? With older versions of gcc, a program like this one keeps the -1 value of i on failure (for instance if a letter is typed instead of a number on input). With Ubuntu 10.10 (gcc 4.4.5), i is reset to zero in case of input failure. #include <...
stackexchange/codereview
I followed this tutorial to install Django with MySQL on my Snow Lepard : http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/ When I run this command : python setup.py build I get a lot of errors, the last one is : error: command 'gcc-4.0' failed with exit status 1 These are the first l...
stackexchange/codereview
I have an OpenGL-based iPad project. In one view I have objects being rendered and floating on the screen. When I add a transparent UIView on top of this view with a transparent table view with custom cells, I can see the table view and the objects still being rendered. Now - when I go to drag on the table view to scro...
stackexchange/codereview
I am using a CMS page and i want to show some particular Categories on that page.Can anyone plz guide me how can i do it with the category image as well thanks a lot..
stackexchange/codereview
Is there an easy way to signal only direct children of a process? That is, if A spawns B1 and B2, and the B's spawn C's, can A easily signal just the B's? It seems like it should be relatively simple, but I can't find anything, and I'd rather not do anything complicated if I don't have to.
stackexchange/codereview
I am doing OO javascript for the first time. I have read about inheritance and prototype and thought I had cracked it. Until I discovered this little example. function TestObject(data) { this.test_array = []; this.clone_array = []; this.dosomestuff = function() { for(var i=0; i<this.test_array....
stackexchange/codereview
i am new to tokyo cabin ate and i compile the example program and i am getting an error can any one tell me why i get this error invalid conversion from ‘const void*’ to ‘const char*’ #include <tcutil.h> #include <tctdb.h> #include <stdlib.h> #include <stdbool.h> #include <stdint.h> int main(int argc, char **argv)...
stackexchange/codereview
Is it possible to append content to an .xls file using PHP fwrite()? When I try this using fwrite(), the resulting file causes an error message in Excel 2007. Is there a specific separator I can use to accomplish this? Is it possible without a third party library?
stackexchange/codereview
I currently have a query that returns results based on a dynamic set of conditions DataTable Items: ID Title 1 Some title 2 Some other title ..etc.. . DataTable Tags: ID Tag 1 'a1c' 1 'a1d' 2 'a2c' ..etc.. My current search Query: select * from dbo.Items i LEFT JOIN dbo....
stackexchange/codereview
I'm trying to capture from the following string: var MyCode = "jdgsrtjd"; var ProductId = 'PX49EZ482H'; var TempPath = 'Media/Pos/'; What I'd like to get is the variable length value between the single quoted ProductId value PX49EX482H I had this, and I think it is close, but the single quotes are tripping me up. I'm...
stackexchange/codereview
I'm looking at the requirements for automated software verification, i.e. a program that takes in code (ordinary procedural code written in languages like C and Java), generates a bunch of theorems saying that each loop must eventually halt, no assertion will be violated, there will never be a dereference of a null poi...
stackexchange/codereview
Following on from here, I need to have an inline editable grid in my web application using RichFaces 3.3.3, JSF 1.2 and Facelets. My options are the rich:dataTable RichFaces control, or the jQuery plugin, jQGrid I have tried both and found the following so far: jQGrid works really well, but I am not sure what will hap...
stackexchange/codereview
Hi to C programming expert I am not an expert in C. I am trying to find answer for php passing c struct data throught socket programming Therefore I am starting a new thread to ask specifically on C language below is the data: typedef struct { UI2 todo; char rz[LNG_RZ + 1]; char ...
stackexchange/codereview
I am using this code to generate the textbox dynamically by using the JavaScript. It's working fine. But my issue is all generated textboxes have the same name. Is there is possible to prefix the textbox count with the textbox' name so that it is easy to post the textbox values? <html> <head> <script>//ad...
stackexchange/codereview
Being mostly a software developer I find that the hardest thing for me is to produce usable user-interface. I did read some books, including The Smashing Book and Web Design For Developers. But those are mostly concentrated on the Design rather than on building more complex interfaces (like allocating many-to-many item...
stackexchange/codereview
I am experiencing the same bug reported here (http://code.google.com/p/android/issues/detail?id=9597) Anyone know of a work around? I want to have a progress bar in a WebView like the Android Browser does while the page is loading.
stackexchange/codereview
I've built a view (Drupal 6.x, Views 2.x). I'd like to be able to add a summary row at the end of this view — total up several columns and include the totals in the summary row. How can I do this? Is there some Views data-altering hook I can implement, to change the constructed data (before it gets themed)? (Note tha...
stackexchange/codereview
I'm testing a sparse file. But my test code doesn't work well. HANDLE h = CreateFileW(L"D:\\sparse.test", GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_SPARSE_FILE, 0); DWORD d = Ge...
stackexchange/codereview