instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
How do I alert() an error when my server code returns false? $("#editme1").editInPlace({ url: 'server.php', error_sink: function(editme1, errorString) { alert(errorString); } <----Maybe this? });
stackexchange/codereview
Hallo, a Wicket i18n question: I have a javaScript file, that holds strings I want to localize. Ideally I want to localize the whole file. Something like my.js my_de.js my_fr.js ... where wicket automatically chooses the right js file, as it does with property files. Any one knows how to do that?
stackexchange/codereview
I am new to JSON and JavaScript objects. Can someone please explain the differences between JSON and JavaScript object? What are their uses? Is one better than the other? Or does it depend on the situation? When to use which one, in what situation? Why was JSON created in the first place? What was its main pu...
stackexchange/codereview
I have a page with some tables on it. In each table the first row is normal but the rest of the rows have a class of hidden so that they are not displayed on load. In one of the cells on the first row of the table there is a link to click to view more details (fade in the hidden rows of that table). I'm struggling to g...
stackexchange/codereview
I have a collection of Blog items. @blogs = Blog.find(:all) Each blog has a description textfield with some text. What I would like to do is splitting the @blogs objects into 3 divs, but with roughly the same characters in each column. <div id="left"> #blog1 (653 characters) </div> <div id="center"> #blog2 (200 ...
stackexchange/codereview
I am trying to pass data between two activities that are inside of tabs. I am trying to use sendBroadcast(). With breakpoints set I never reach onReceive(). Manifest: <activity android:name=".WebResults" android:label="@string/app_name"> <intent-filter> <action android:name="com.toxy.LOAD_URL" /...
stackexchange/codereview
I have a logging class that, well, logs things. I would like to add the ability to automatically have the current page be logged with the messages. Is there a way to get the information I'm looking for? Thanks,
stackexchange/codereview
Is there a way to remove/escape html tags using lxml.html and not beautifulsoup which has some xss issues? I tried using cleaner, but i want to remove all html.
stackexchange/codereview
I'm developing a simple writing app for iPad. I'm trying to compute the pixel-position of the cursor in UITextView. I spend a few weeks to design this, but I still couldn't figure out to do it. In stackoverflow, Tony wrote one good algorithm to find the pixel-position of the cursor. Pixel-Position of Cursor in UITextVi...
stackexchange/codereview
I am new to UNIX and can’t figure out how to access a certain number from a file. Following is the result I get when I type in quota -v. I need to write a script to check and make sure if I am under quota, if not display a warning message. So, I am wanting to access “usage” number and “limit” number from that file an...
stackexchange/codereview
I have used scheduler to return from a scene to the main menu. There is nothing in the scene page except menu. But scenes are not deallocating and memory leakage increasing as i navigate through the scenes. So application is not closing(kept running in background when close using iphone/ipod button) but crashing. Hope ...
stackexchange/codereview
I have a file I'm trying to parse, and this is how I'm doing it: var definitions = new Dictionary<int, string>(); foreach (var line in new RirStatFile("delegated-lacnic-latest.txt")) { for (var i = 0; i < line.Range; i ++) { definitions[line.StartIpAddress + i] = line.Iso3166CountryCode; }; }; new...
stackexchange/codereview
i want to understand this: i have a dump of a table (a sql script file) from a database that use float 9,2 as default type for numbers. In the backup file i have a value like '4172.08'. I restore this file in a new database and i convert the float to decimal 20,5. Now the value in the field is 4172.08008 ...where come ...
stackexchange/codereview
Possible Duplicate: Shuffling a list of objects in python IF I have a list: a = ["a", "b", "c", ..., "zzz"] how can I randomly shuffle its elements in order to obtain a list: b = ["c", "zh", ...] without consuming a lot of the system's resources?
stackexchange/codereview
In last days I'v got very often many error messages because of database leak in my application, so now I open Database, get query results from it and close DB again. But I use also a cursoradapter for my autocompletetextview. Should I also do it on that way there: open DB, get cursor, close DB?! I mean, I haven't got a...
stackexchange/codereview
Using ui:repeat for simple listing of elements produces very strange results - when you add an element, the first element is always replaced with the values from the last element before the submit. Same occurs when removing the elements - the first element shows actually the just removed element. With h:dataTable the s...
stackexchange/codereview
I've wondered about this, so I figure I'll ask it. Most places you'll see use the same semantic logic for overriding Equals as GetHashCode for memberwise equality...however they usually use different implementations: public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()...
stackexchange/codereview
if I have a large javascript string array that has over 10,000 elements, how do I quickly search through it? Right now I have a javascript string array that stores the description of a job, and I"m allowing the user to dynamic filter the returned list as they type into an input box. So say I have an string array like s...
stackexchange/codereview
One advantage of the datamodel is that you get the row index in a table. But I find this unnecessary, since you can access the current row element using the var attribute of h:datatable. And I often need to convert to the datamodel to list, since some component libraries are expecting a list. I am thinking of completel...
stackexchange/codereview
How can I get the next available primary key from my table? The primary key is a numeric. I'm using C#.
stackexchange/codereview
I have an Excel 2007 XLSX workbook I am developing. It has multiple sheets and most of those use Excel's Grouping feature. I want to be able to protect the sheets, to protect some formulas and such from user intervention, but it seems there's no way to do that and still allow the user to expand or collapse the Grouped ...
stackexchange/codereview
We're looking at some alternatives to our Tomcat based stack for a JRuby on Rails app. So far I've read about the Trinidad gem, which is actually Tomcat based, and the Glassfish gem. I can't however for either of these find production examples. Both of them it seems allow you to just run the command on command line...
stackexchange/codereview
There is a member function which I would like to delete the current object and create an array of new ones in its place. How is it possible? The following code is an attempt of mine which has a lot of mistakes. void LernaeanHydra::split(int parts) { LernaeanHydra *new_heads = new LernaeanHydra[parts]; for (int ...
stackexchange/codereview
CREATE VIEW myView AS SELECT * FROM `ce_userbadges` WHERE ceub_userid =85; SELECT * FROM ce_badge LEFT JOIN myView ON ceb_id = ceub_badgeid; So it has to select all badges user 85 has and also the badges they dont have (hence the left join). I tryed this but it does the userid filtering after the join SELECT * FROM...
stackexchange/codereview
say a define a struct in header file of c++, foo.h typedef struct { ... }foo; in .c file I include the foo.h, then foo* fooPtr; will it work?
stackexchange/codereview
I get the following error: undefined method `[]' for nil:NilClass The related snippet in line 50: 47: <%=h @contact.date_entered.to_date %></br> 48: Next event: 49: <% next_delayed_todo = @contact.next_delayed_todo %> 50: <% unless next_delayed_todo[:event].nil? %> 52: <%= next_delayed_todo[:event].title %> <...
stackexchange/codereview
Working with OpenGL, I used CreateWindow( "app", "App Window", WS_CAPTION | WS_POPUPWINDOW | WS_VISIBLE | WS_SIZEBOX | WS_MINIMIZEBOX | WS_MAXIMIZEBOX, 0, 0, 1024, 768, NULL, NULL, hInstance, this ); to create a window and now I need to find the mouse position over the client (render) area. However, I noticed that ...
stackexchange/codereview
Do you guys have some script or GUI tool that would give you nice and transparent listing of running java applications ? I'm using $ps ouput that I grep through for "java" keyword, but usually I'm running eclipse, tomcat, nexus, database IDE and a few others, all of them with many parameters and I'm spending too much t...
stackexchange/codereview
The Django documentation gives examples for using annotate() to produce aggregate results based on related fields of a QuerySet (i.e., using joins in annotate()). A simplified example from the docs is for instance Store.objects.annotate(min_price=Min('books__price')), where books is a ManyToMany field of Store to Book ...
stackexchange/codereview
In the following code: std::vector<int> var; for (int i = 0; i < var.size(); i++); Is the size() member function called for each loop iteration, or only once?
stackexchange/codereview
If I wanted to connect to another device via bluetooth how would I do it? Nothing I've done seems to work. The phone I'm trying to connect to is non android and has bluetooth on and discoverable.
stackexchange/codereview
i am using the MvcContrib grid for an mvc application. I have set up sorting and paging , but I have to make the grid to go the first page when the user sorts the grid . Any ideas on how doing that ?
stackexchange/codereview
I want to know how I can pass parameters between pages through the URL without having to add variables eg: mydomain.com/file.php?var1=val1&var2=val2&...varN=valN I want to use it as follows: mydomain.com/file.php?val1-val2-...-valN I also see in some website the URL is in the following format mydomain.com/file/#### ...
stackexchange/codereview
I am deploying twisted as a web server for my site. I am looking into possibilities of reverse proxying. I have the following code right now hooked up to my reactor for django. I am using comet, and I realize that I absolutely must use port 80 hence I am looking into possibilities of reverse proxying. On this site, I ...
stackexchange/codereview
Is it possible to prevent eclipse from automatically improrting any modules when I copy source code from one project to another. I just want to copy the source code and then rename all the specic classes, I don't actually want to use the classes from the other project.
stackexchange/codereview
When writing a function I always have this confusion whether to check for errors first and declare the variables later (or) assign the parameters to local variables and then check for errors. Which of the following way is preferred and why? I usually stick to the first type. void DoSomething1(Object x, Object y){ //...
stackexchange/codereview
I have to create this process: you have an arbitrary list of people you have to set their working schedule in terms of 5-2 or 6-4 (workdays and free days) you have to schedule it for several months ahead (usually 3 or 12) schedule sequence repeats schedule sequence starts on any day for any person - so first work day ...
stackexchange/codereview
One of our sites has around 10,000 nodes. In each node, there is a simple cck text/integer field. This integer changes daily, so they need to be updated every day. The integer ranges from 1 to 20000000. The cck field is across all content types, so it has its own table in the database. We don't use revisions. I c...
stackexchange/codereview
I have a question about LinkedList<>. There are properties of this list First and Last. Will that properties correct if I will set Last.AddNext(First)? I need to have a list where Last>Next = First, but identify clearly the First and Last elements. I have a cycle process.NextStep, NextStep, but need to be able to ident...
stackexchange/codereview
I have a server with about 3 replications configured. 3 databases being published to about 3 other servers there's a central Distributor I need to know if I can change the distributor for one of the publishings and let the others or if I can only change all of the replication distributors at the publisher server. An...
stackexchange/codereview
Me and some friends were thinking about making an online game with XNA game studio. Our games mainly used Winsock for the networking portion, but our most recent project used RakNet where the server was in C++ and the Client used a small RakNet wrapper I wrote. As far as I know XNA can't really use DLLs, so I was wonde...
stackexchange/codereview
i need a command or a script returning supported hashing algorithms (for hashing passwords) on a system, i mean algorithms can be used with pam.d configuration files or login.defs . generally md5,bigcrypt,sha256, sha512 and blowfish are supported but i need to programmatically check if new algorithm is supported and de...
stackexchange/codereview
I am developing an android app w/ Eclipse. Whenever I run the app on my phone or the emulator, four application icons are installed on the device. I am guessing it is related to my manifest file which has three activities (3 are for tabs). When I uninstall the app, all of the icons are removed from the phone. Upon a...
stackexchange/codereview
I have installed munin and munin-node on my monitoring server and installed munin-node on my mongodb server, I have set them both up and all is working great. But, the mongodb plugins aren't showing on my monitoring server. I see the node listed and "Disk, Network, Processes, System", but not the mongo stuff. If I exec...
stackexchange/codereview
I'm developing on Google App Engine. I am using WingIDE (a python IDE) to debug on the development server. I have several thousand entities in my datastore and I can see that when the development server starts up, it has to go through DatastoreFileStub.Read() and do something which each entity. The problem is, when I r...
stackexchange/codereview
i want to write a program using multi-threading, raw sockets, to scan the ports in python i have a C code for injection of raw socket. i want to perform a ACK scan so need a raw socket. So please help me. thank you
stackexchange/codereview
I have not found a regexp to do this. I need to validate the "Message-ID:" value from an email. It is similar to a email address validation regexp but much simpler, without most of the edge cases the email address allows, from rfc2822 msg-id = [CFWS] "<" id-left "@" id-right ">" [CFWS] id-left =...
stackexchange/codereview
I have two domain names: example1.com example2.com on example1.com i run an webserver in a shared environment on the internet. examle2.com is only a registered domain where i can only manage DNS. examaple1.com points to ip address: 123.123.123.123. the problem is, when i go to: http://123.123.123.123 i do not come on e...
stackexchange/codereview
game_state = function(){ this.players = function() { this.x = 0; }; } game_state.players['test'] = 1; Why does this fail but game_state['test'] = 1; does not? I'm trying this in node.js in case it wasn't clear. Thanks for any help.
stackexchange/codereview
I am having a hard time determining if data passed into the jquery template exists and is false without getting errors. This is what I am using to test <html> <head> <title>jQuery Templates {{if}} logic</title> </head> <body> <p id="results"></p> <p>How do you test if the Value exists and is false?</p> <script id="te...
stackexchange/codereview
I have array a = ["aaa", "bee", "cee", "dee"] I want have new array with sort as like: a = ["cee", "aaa", "dee", "bee"] Please help me. thanks.
stackexchange/codereview
I'm trying to figure out whether or not I can register/call notifications in the symbian OS that's fit for the S60 series, using an app, that interrupt the OS and appear on the dashboard screen, the same way incoming calls and text messages do. If so, is it just a basic alert, or can it contain a context menu (on eithe...
stackexchange/codereview
I need to read line by line from text file (log files from server) and they are big (about 150-200MB). I am using StreamReader and its great for "little" files like 12MB but not for so big. After sometime it is loaded and it shows in my DataGridView but its huge in memory. I am using bindingSource.Filter on this DataGr...
stackexchange/codereview
<img src="http://www.w3schools.com/TAGS/planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap" /> <map name="planetmap"> <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" /> <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury" /> <area shape="circle" coords="124,58...
stackexchange/codereview
i'm trying to encode an url with the code below; var encodedUrl = HttpUtility.UrlEncode("http://www.example.com"); var decodedUrl = HttpUtility.UrlDecode("http%3A%2F%2Fwww%2Eexample%2Ecom%2F"); I'm working with the google webmaster tools api and this api expects an URL as shown in the decodedUrl variable above. Every ...
stackexchange/codereview
I want to write an app that will stream MP3s from a server to any of the three major smartphone operating systems in the US (iPhone, Blackberry, and Android). Here is the tradeoff I'm concerned with: if I write the app natively, it will make for the best user experience and give me the capability to add many more featu...
stackexchange/codereview
I just installed paper_clip to allow user's to upload a profile pic which can be displayed easily with: <%= image_tag @user.profile_pic.url %> What I'm curious about now is how to handle user's that don't have a profile_pic uploaded.. How to show a standard site user image (generic) Should I make a helper? something l...
stackexchange/codereview
I have a page filled with many fixed-size boxes in a grid layout (div's simply piled up with float:left). On hovering the mouse on any of them, a 'popup' - larger div with the same and also additional info is shown over it, as if the box expanded in all directions (but not moving the other boxes, it's shown also over t...
stackexchange/codereview
Guys: Please help. I have a utility class to return a NSString with encoding. Like this: /*Get a NSString with chinese encoding*/ +(NSString*) getGBKString:(void *)buffer { NSString* string = [[[NSString alloc] initWithBytes:buffer length:sizeof(buffer) ...
stackexchange/codereview
I hawe all day strugle my head and i canot find any solution to my case so i nead help. Hear is my problem: I hawe two classes that implement one interface public interface ICacheObject { string Get(); } public class WebCacheObject : ICacheObject { public string Get() { return "Web"; } } publ...
stackexchange/codereview
I was wondering, given the following JSON, how I can produce a ResultSet instance, which carry Query valued ppb? package jsontest; import com.google.gson.Gson; /** * * @author yccheok */ public class Main { public static class ResultSet { public String Query; } /** * @param args the comm...
stackexchange/codereview
Specifically are they published to the default port 3333 via UDP?
stackexchange/codereview
Although it is hard to explain, I am writting to find a solution. I added a panel to scene which has a background image. But also, I want that panel to grab the part of background picture where it is placed. When I move that panel on runtime, it should move with its background picture part (like selecting part of a pic...
stackexchange/codereview
Scenario: There is a legacy program (Not sure what language) and I have been asked to "Compact and Archive forms in the database". At the moment when the user opens the application it is taking about 2-5min to load around 27000 Records!!! My theory is that it is loading all the records on start-up but that might not b...
stackexchange/codereview
Regex \w doesn't match utf-8 characters in Ruby 1.9.2. Anybody faced same problem? Example: /[\w\s]+/u In my rails application.rb I've added config.encoding = "utf-8"
stackexchange/codereview
I installed Helios, which has the latest version of the RSE package, and I could copy files from the remote server just fine, but I don't seem to be able to use the "Review/Synchronize" option. I select the folder on the remote directory, specify the "Into folder" of the local directory, hit Finish, and nothing ever ge...
stackexchange/codereview
As I've been researching another problem online, I've seen references to folks modifying the XML files contained inside the Android.jar.res.drawable folder and then copying them to their drawable folder for use in their project. But I can't open these files, instead I get the following error. Could not open the editor:...
stackexchange/codereview
.* The precision is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted. #define SUFF ".txt" #define MAX_STR 50 fileName[MAX_STR]; name ="myFile" sprintf( fileName, "%s%s", name, SUFF ); //fileName = "myFile.txt" Now I want t...
stackexchange/codereview
I'm trying to pass Vector of complex objects as a result of a WS method. I'm following a JavaBeans scheme and all Collections are replaced by Vectors already, but I'm still getting a serialization exception WSWS3037E: Serialization cannot occur for [myclass] How can I test if serialization really fails or this is WAS i...
stackexchange/codereview
import com.sun.speech.freetts.*; import java.util.*; public class Demofreetts { private String speaktext; public void doSpeak(String speak, String voice) { speaktext = speak; try { VoiceManager voiceManager = VoiceManager.getInstance(); Voice voices = voiceManager.getVoice...
stackexchange/codereview
Why cannot Scala optimize the following: a. implicit def whatever[A](a: A) = new { ... } to: b. class some$generated$name(a: A) { ... } implicit def whatever[A](a: A) = new some$generated$name(a) ? Why does it have to use structural typing in this case? I would like Scala compiler to perform this optimization as wr...
stackexchange/codereview
I'm having a lot of trouble writing unit tests for my app engine patch solution. I've asked this question on experts exchange (http://www.experts-exchange.com/Programming/Languages/Scripting/Python/Q_26509115.html) but it's been there for two weeks with no answer - hopefully the SO crew can improve on that!! I've tried...
stackexchange/codereview
(from failblog) Not only the background's been changed but also the buttons. How can this be done?
stackexchange/codereview
I'm trying to access a web server which is sitting behind a Netcomm 3G10WVR modem/router. The web server's port 80 is port forwarded to port 4476 on the router. The tcp conversation seems to proceed ok but then gets into a (seemingly) neverending loop. I exported the conversation from wireshark and deleted the irreleva...
stackexchange/codereview
I am facing an issue where it appears that my FTP connection is correct and no errors are received, but the file is not placed on the ftp server. I am using commons-net-ftp. Code: int retCode = 0; FTPClient client = new FTPClient(); client.addProtocolCommandListener(new PrintCommandListener(new PrintWr...
stackexchange/codereview
What I'm trying to do is to show some data for a book like Title, Author, and a Cover, and beneath these data, to have a ListView containing a list of clickable chapters. One way I've thought would be to have a ListView with different type of cells, where the first would contain the data, and the rest of them would be ...
stackexchange/codereview
I'm implementing a game. I have a state tree and a set<> based priority queue that sorts the states on their costs. For this I have the < operator implemented as: struct DereferenceCompareState : public std::binary_function<State*, State*, bool> { bool operator()(const State* lhs, const State* rhs) const { ve...
stackexchange/codereview
i want to upload images from my iPhone into asp.net web server. Iam new to iPhone developemnt. Please help...
stackexchange/codereview
I would like to move carret to Bar in FooBarFizzBuzz in vim. How to do that? How to make w 'pascal case aware'? Is there any other stroke already for this?
stackexchange/codereview
I'm trying to install a package into R, something I swore on my blood never to do, yet here I am. The command supposedly goes: install.packages('NCStats',,'http://www.rforge.net/')` while I am enjoying the healthy dose of: Warning: dependencies 'nortest', 'plotrix', 'sciplot', 'car', 'gplots', 'gdata', 'Hmisc', 'Teac...
stackexchange/codereview
Hello there i wanted to know if it was possible to make a voip script in python and then if it works integrate it online on my web site thanks a bunch
stackexchange/codereview
i need a PMD java class for checking comments on java code. I am working on MyEclipse IDE. any idea?
stackexchange/codereview
Does the commitText() method of the android.view.inputmethod.InputConnection allowed to be called from different thread than UI thread?
stackexchange/codereview
I am creating a new maven project from an eclipse plugin. As it seems to me a bad idea to hardcode pom.xml to my plugin. Is there any way to generate this programmatically such that the plugin will be more maintainable ? Also creating the maven project structure from the plugin on my own seems to be a bad idea too ! Is...
stackexchange/codereview
Is there any way to grant My Software full access on it's folder in Program Files,When I run windows Vista or Windows 7 and UAC is enabled? My application can not write or delete it's files in Program File! regards
stackexchange/codereview
I have a Host that doesn't automatically deploy all web apps. <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false"> But I do want the dreambear web app to automatically reload without a restart, for development purposes (hence ...
stackexchange/codereview
I am trying to compile and create wxWidget apps but when its just about done I have a virtual memory runout and there is an error in the wxWidgets code I have tried it several times with 2.8.10 AND 2.8.11, no luck, I am using codeblocks 10.5 and mingw I think version 5.02 but I am not positive whenever I start a wxwidg...
stackexchange/codereview
I'm using ACE TAO as the CORBA implementation. I would like to find out if anyone know of any options to set Maximum Message Size and Maximum number of Connections. omniORB has two options for these, giopMaxMsgSize and maxGIOPConnectionPerServer. Even though TAO has ORBMaxMessageSize and ORBLingerTimeout it causes my s...
stackexchange/codereview
I need to raise the CollectionChanged event of an ObservableCollection on the UI thread. I have seen different approaches ranging from a wrapper class to custom implementation of the relevant interface. Is there any simple way to override INotifyCollectionChanged on an ObservableCollection to accomplish this? Thanks.
stackexchange/codereview
When using PHP's BBCode extension, does anyone know what BBCODE_TYPE_ROOT means exactly? It doesn't seem necessary, at least with this example, however, it is used in most of the examples in the documentation. The documentation is pretty vague about this element: BBCODE_TYPE_ROOT (integer) This BBCode tag is the speci...
stackexchange/codereview
I'm experiencing odd behavior with json_encode after removing a numeric array key with unset. The following code should make the problem clear. I've run it from both the CLI and as an Apache mod: PHP version info: C:\Users\usr\Desktop>php -v PHP 5.3.1 (cli) (built: Nov 20 2009 17:26:32) Copyright (c) 1997-2009 The PHP ...
stackexchange/codereview
Can anybody help me to change the contents of spinner on run time in Android. Examples would help a lot.
stackexchange/codereview
How do I override the identity column in MSSQL? I tried : SET IDENTITY_INSERT GeoCountry ON UPDATE GeoCountry SET CountryID = 18 WHERE CountryID = 250 But I get back a Line 2: Cannot update identity column 'CountryID'.
stackexchange/codereview
I'm creating a data access object to retrieve information from Google App Engine for a web app built on the Spring framework (first time for all). I see a number of examples that use a Controller/webapp -> Service -> DAO -> JDO/Google-app-engine pattern. In this pattern the DAO layer is the only one that knows about JD...
stackexchange/codereview
I'm making a pagination system (sort of like Facebook) where the content loads when the user scrolls to the bottom. I imagine the best way to do that is to find when the user is at the bottom of the page and run an Ajax query to load more posts. The only problem is I don't know how to check if the user has scrolled to ...
stackexchange/codereview
I'm writing code for a hybrid data structure for school, and am debugging the code. Basically, this structure is a combination of a Double Linked List and an Array, where each list node contains an array of set size. Since this is an ordered structure, a provision has to be made to identify and split full arrays into...
stackexchange/codereview
Very newbie question. For instance, is this okay? <a href="allaboutpeanuts.html">Peanuts<img src="peanut.jpg"> </a> I tried it and it works fine, but I've been googling around and I can't find any mention of anyone putting more than one element in an a href. So are you not actually supposed to do that, but I cheated,...
stackexchange/codereview
StackOverlow, Whats up! I am trying to append a new UL inside a div. It works beautifully in every browser except for, you guessed it, IE. Even though the new UL is appended under the current UL's in IE, the CSS styling is not being applied...I am not doing anything super complex. Just making an AJAX call, getting ...
stackexchange/codereview
I have a design pattern I have been struggling with on how best to prevent duplicate posting of data. Here are the steps: Client submits data with a unique guid (client generated guid - guaranteed unique) Server side software makes sure client guid doesn't exist yet in the DB begins transaction process data (can take ...
stackexchange/codereview
I have read there are a few flags in gcc to do catch some of the type violations for calls to printf, I haven't been able to find if there are similar ways to achieve this in Visual C++'s compiler (any version of VC++, from 2005 onward).
stackexchange/codereview