instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am getting ajax response in array format from php url. How to extract array response values in jQuery? FYI: PHP array is: $response = array('msg' => 'Hello', 'html' => '<b>Good bye</b>'); I am getting $response array in my ajax response. i.e. var promo = "promo=45fdf4684sfd"; $.ajax({ type: "POST", url: base...
stackexchange/codereview
I get data from Oracle every 10 minutes, which I then import into a local MySQL database and use that for my data reporting. However because of the growth of the simple application I build I'm now looking at building a bigger BI solution. My only problem is that the data I get in doesn't have a primary id in the databa...
stackexchange/codereview
I'm trying to get a bare bones Rails app deployed under Apache, Passenger 3.0.0 and Rails 3.0.3. I'm getting all kinds of weird errors. mostly revolving around what I think is related to bundler or RAILS_ENV. Only non-default thing about the app is that development & test environments use SQLite3 and production uses My...
stackexchange/codereview
Hi I have a application that is deploy on two weblogic app servers recently we have issue that for certain cases the user session returned is null. Developer feedback is that it could be caused by the session not replicating to the other server. How do we prove if this is really the case?
stackexchange/codereview
I know that is a weird question, and probably there is not an answer. I'm trying to execute the rest of the try block after an exception was caught and the except block was executed. Example: [...] try: do.this() do.that() [...] except: foo.bar() [...] do.this() raise an exception managed by foo.bar(), then I woul...
stackexchange/codereview
I am getting the following error when trying to run a module as a python unittest with PyDev. Finding files... ['C:\\Projectos\\spa\\sensor\\src\\test\\test_sensor.py'] ... done Importing test modules ... Traceback (most recent call last): File "C:\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\runfile...
stackexchange/codereview
I want to cluster a large sample of data and for it I am using k means function in MATLAB. The problem is that it returns a matrix with all the data sorted in the number of clusters I specify. How can I know which number of clusters is optimal. I thought that if I would get the equal number of elements in each cluste...
stackexchange/codereview
I am deploying a set of Java-based AMF web services to GlassFish v3. This all works fine in the development environment, but fails in the staging environment where it is currently being setup: Dev: GlassFish 3.0.1 Web Profile, Java JDK 1.6.0u22. Staging: GlassFish 3.0, Java JDK 1.6.0u22. I realize the GlassFish version...
stackexchange/codereview
I run a number of SQL scripts in this manner: db_conn = (created earlier) cursor = db_conn.cursor() script_file = open(join(script_path, script_name)) script_text = script_file.read() script_file.close() num_rows = cursor.executemany(script_text, None) This works like a charm on my Mac, but fails on Linux, executem...
stackexchange/codereview
Given below is snippet of code from ActiveRecord::Base of rails3 def columns unless defined?(@columns) && @columns @columns = connection.columns(table_name, "#{name} Columns") @columns.each { |column| column.primary = column.name == primary_key } end @columns end I think all we need is ...
stackexchange/codereview
I want to change the component name build by me , i have tried changing the xml file but it does not help also tried changing the component name through datbase but same result .can anybody help me in this ? any help would be appriciated . thanks in advance .
stackexchange/codereview
Upon clicking a link in an open dialog the content gets loaded into the parent window from which I opened the dialog. How can I force the content to be loaded into the dialog instead of the parent? Parent: dialogDiv = $(document.createElement('div')); dialogDiv.dialog(myProps); dialogDiv.html(myData); dialogDiv.dialog(...
stackexchange/codereview
I have two entity lists being retrieved from the database they are using the same context and the same connection string. They have naviagation properties and these load fine, when I get them from the context i.e IQueryable<EntityA> A = context.EntityA.Include("V"), IQueryable<EntityB> B = context.EntityB.Include("V")...
stackexchange/codereview
Is there a way to catch event of clicking Facebook like button? I don't want to integrate my app with Facebook, just need to count clicks of 'Like'. Tried : $('.fb_iframe_widget').click(function(){ alert("clicked"); }); but without any luck. If there is no way of doing this will I be able to count likes of particu...
stackexchange/codereview
Here's what I'm trying to achieve - a dist directory (or a zip file) that looks like this: dist/ |-- application-1.0.jar |-- conf/ |-- application.properties |-- log4j.properties |-- lib/ |-- *.jar Basically: An executable jar is produced (with appropriate classpath in the manifest) I want to exclude sr...
stackexchange/codereview
ok i did according to your suggestion but somewhat it looks amatuerish ha.. cos it repeats the same thing for each percentage group: css and message. I am wondering if there is another way to change it? If not, i am ok with this.. if (69 < percentDiscount && percentDiscount < 101) { $(this).find("#percentoff")....
stackexchange/codereview
anybodys know what is logical means of if(Expr,Expr) structure in C? like: if(lcn = (ULONG)GetLCN(index),lcn)
stackexchange/codereview
hii i have a problem in multiplication for above 5 bits i'm working in MASM611 plz tell me the solution which is for atleast 8 bit multiplication in MASM611
stackexchange/codereview
I am calculating how many users online, but if a person close a window without logging out, he is not online, I need to make that user logout dynamically through javascript or jquery. when i use body onunload event to check this it works but if i refresh the page it also calls the body unload event. Here is my code <s...
stackexchange/codereview
I have this initial string. 'bananaappleorangestrawberryapplepear' And also have a tuple with strings: ('apple', 'plepe', 'leoran', 'lemon') I want a function so that from the initial string and the tuple with strings I obtain this: 'bananaxxxxxxxxxgestrawberryxxxxxxxar' I know how to do it imperatively by finding t...
stackexchange/codereview
I'm writing a desktop app that must work on both Linux and Windows because on Windows I need to use JNI to implement a functionality. But that's not the problem. I have a Windows and a Linux installation of the Eclipse IDE and I use Subversive to commit to my repository. After a Windows commit I started working on Linu...
stackexchange/codereview
I'm using a pop up Facebook dialog for the user login and the publishing of a post on his/her stream NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: apiKey, @"api_key", nil]; [facebook dialog:@"stream.publish" andParams:params andDelegate:self]; It works, but when the user logs in the ...
stackexchange/codereview
I just want to select my first cell of my first section, its something simple but it dont want to work... - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"CellIdentifier"; // Dequeue or create a cell of the appropriate ...
stackexchange/codereview
lately I have been writing a lot of tiny plugins for my web projects but I am still very much a beginner in plugin authoring. I have been doing a lot of reading on jquery plugins but I simply cannot wrap my head around methods. Here is what my current plugins mostly look like: (function($){ $.fn.extend({ ...
stackexchange/codereview
What is the maximum heap size allowed for a running process in a linux system? I am running a x86_64. How can I found the heap memory that is being used from my process?
stackexchange/codereview
I have been working on a small project on recent delived ASP.NET MVC 3 RC. The issue is that when I try to deploy my website via File System, certain views of my website are not deployed. The site gives me error when i copy same deployed site to my hosting. When I manually copy views to hosting, it works ok. Now this ...
stackexchange/codereview
I'm in the process of putting together a multi-user rails 3 app and before I got too far along I wanted to make sure there isn't a better way to be doing this... Currently each table such as Contacts, Orders, Emails, etc has a user_id that it belongs to, but if I plan on having say 500 users each with 10,000 entries ...
stackexchange/codereview
I read Apple Programming Guide on this subject but couldn't figure it out. I created a Settings bundle using the following tutorial, and I tried accessing my preferences (edited manually) like this: NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; [self setShouldPlaySounds:[defaults boolForKey:@"p...
stackexchange/codereview
How do you check if a person has got an avatar? How do you unset it? How do you load an avatar from a file? From web, Facebook, gravatar? What image types can AppleScript read? Is it possible to copy an existing avatar to clipboard with AppleScript? EDIT OK, I know how to check if a person has got an avatar on run ...
stackexchange/codereview
Dear all, I am using Redhat linux ,How to set maximum memory for particular process. For eg i have to allocate maximum memory usage to eclipse alone .Is it possible to allocate like this.Give me some solutions.
stackexchange/codereview
can I set up a separate thread for an AU Callback (which is in C)? How ? If so what threads methods is best for CoreAudio? NSThreads? NSOperationQueue? GCD? Something else? Many thanks.
stackexchange/codereview
It seems that the default is GET; how do I process POST and other HTTP methods?
stackexchange/codereview
i am doing small billing application, i need some guidance about database design for billing software, i have product table in this am maintaining below fields, Product table Product code , unique , quantity , price, vat, discount , and some of few columns like userid, createddate , Basket table, basketid , PHPSES...
stackexchange/codereview
Does anyone know of a jQuery grid plugin with filterable columns? Obviously there are lots of jQuery grid plugins out there, and discussions of the best ones on StackOverflow, but I can't find one with filterable columns. Here's an example of what I mean by filterable columns: see this page on The Guardian. Note how ...
stackexchange/codereview
The reference is here: http://msdn.microsoft.com/en-us/library/system.string.intern.aspx Looks like this is done automatically by the compiler a lot, but can also be done manually. Please correct me if I am wrong and shed some more light on this. Does it matter whether the language is C#, VB.Net, C++/CLI, other? Thanks...
stackexchange/codereview
Why when comparing a char against another it must be taken also from a string? For example; This does not work while(i < t.length() && zeroCount < 5) { if(t.charAt(i) == 0){ zeroCount++; } i++; } Nor does this char zero = 0; while(i < t.length() && zeroCount < 5) { ...
stackexchange/codereview
I wanted to automate the process of changing my ip address using apple-script. So i wrote a script that will automatically do that, But i have problems in setting up the ip address. set ipAddress to "192.168.110.48" tell application "System Preferences" activate set current pane to pane id "com.apple.preference.netwo...
stackexchange/codereview
I'm parsing an XML file through Java, and am able to parse through Nodes in the XML file that appear as: <name><given>familyName</given></name> by using code such as the snippet shown below: NodeList givenElmntLst = firstElement.getElementsByTagName("given"); Element givenNmElmnt = (Element) givenElmntLst.item(0); No...
stackexchange/codereview
I am looking at the sample project for a ColorPicker CustomControl. I am trying to debug it to see how the code runs. I am getting I think it has to do with No build config for debug?
stackexchange/codereview
I tried doing something like: cmbMyBox.ListFillRange = "E2" But the combobox does not seem to populate.
stackexchange/codereview
So I have a table Transportation with columns: ClientIDAsSeller, ClientIDAsBuyer.. and a Client table with column ID (Primary key). My C# app gets a client IDs and sets in the Transportation table. When I press execute result is null What is problem how can I solve that? SELECT Clients.Name, Transportation.Tra...
stackexchange/codereview
Hello i have this join, but i wanna join another tabel named "users" and i want the "profil_billed" row, how can i do that i mean "WHERE forum_traad.brugernavn = users.profil_billed" something like that function posts($id) { $this->db->select('*,forum_traad.indhold as traad_indhold, forum_kom...
stackexchange/codereview
I have been doing lots of successful boolean searches however 1 word seems to be stopping it from displaying the expected results. Below you can see the table structure at the top, with special attention to the tags content for this test product. The code in text incase the screenshot is too small: SELECT id,...
stackexchange/codereview
I'm attending the course of IOS development on itunesU (from Stanford University). And i got a big doubt about an attribute of a class created in one of this lectures. Let me explain with some code : I have the class "faceView" whose task is to draw a face, one attribute of that class is "delegate" which is an object ...
stackexchange/codereview
I'm having a problem formating an xpath query. I'm trying to get products that have a serviceTechnology = 'DSL'. I've tried: //offering/productDefinition[definitionID='Product_1' or definitionID='Product_2' or definitionID='Product_3' or ...
stackexchange/codereview
From "Erlang Programming" by Cesarini exercise 3-2 As I go through "Erlang Programming" I get weird list creation issues. From exercise 3-2 I wrote two similar functions. create( 0 ) -> []; create( N ) when N > 0 -> [ N | create( N-1 ) ]. reverse_create( 0 ) -> []; reverse_create( N ) when N > 0 -> [ reverse_create( ...
stackexchange/codereview
I have a memory leak when i call a method that return me a string---- the method definition is as follows -(NSMutableArray *)read { NSMutableArray *dataArray = [[NSMutableArray alloc] init]; //picking data from database here return dataArray; } this show a big memory leak i also tried--- NSMutableArray *dataArray...
stackexchange/codereview
Can I test Android smartphones applications on Samsung Galaxy Tab ? Let's say I want to develop Android applications for HTC,and I only have Galaxy. Can I simulate smaller resolutions on Galaxy to see how it would work on HTC ? thanks
stackexchange/codereview
Not sure if Im doing something stupid here but this is my code: protected override void OnNavigatedTo(NavigationEventArgs e) { string s = this.NavigationContext.QueryString["type"]; if ( s == "add") { this.Background = new SolidColorBrush(Colors.Red); } else { thi...
stackexchange/codereview
I have the following ado connection from excel to access but it does not work, am getting the error above. Any ideas? Sub ADO_to_access() Dim database As New ADODB.Connection // ERROR HERE Dim connectionstring As String Dim NewSet As Recordset Dim CurrentSheet As Worksheet Set CurrentSheet = ActiveSheet Set objacces...
stackexchange/codereview
I have trouble with a query, the problem is that i am left joining three times from the same table. The query in question is this: SELECT o.order_id, n.title, c.first_name, tdv5.tid, tdv6.name, tdv8.name AS settlement_month FROM orders o join products p on o.produc...
stackexchange/codereview
I have a few million pages that I would like to store in sqlite. The books are broken down into the following format. Bookseries BOOKName BOOKChapter BookParagraph BookLine BookNote BookComment. The bookline will contain all the raw data that I will need to store. Some lines are more then 255 chara...
stackexchange/codereview
Greetings Everyone. I was wondering how would I go about drawing an ached line on a canvas. If I were to continue this line it would make a perfect circle. I've got pie wedges which is close but I just want the outside of the wedge and it needs to be circular. What should I do
stackexchange/codereview
There is a Employee table having employee_id and employee_name I want to insert "james" to this table. If Employee table already has one "james" record i want his employee_id to be returned if the table has more than one "james" records (duplicates) do nothing and skip if there is no "james", i want to insert "james" ...
stackexchange/codereview
what is Difference between using XMLRoot/XMLElement and using Serializable() attributes? how do i know when to use each ?
stackexchange/codereview
I am working on a epub book reader application and displaying the contents of book in web view and i want to give a horizontal page curl effect for that just a turning the page of a real book. I couldnt find any tutorials for that . Help is appreciated
stackexchange/codereview
I want 500 records from server and I use jQuery grid. I use one WCF service to retrieve the data. I got data from the service in 10 sec. I can't change the query in WCF because its requirement of client and also lots of data. When this data is bind into jQuery grid then it will take too much time and it gives error "st...
stackexchange/codereview
I need to add a bevel to my UITableViewCell's (white line on top, dark line on bottom). I already have a CAGradientLayer added as a subview of my cell.layer. Unfortunately I can't use a UIImageView as a background for my cells, so this will need to be done in code. Any suggestions? Thanks! This is the code I have no...
stackexchange/codereview
I have two windows console applications that I have written in C. I don't have the source code for either of them. I want to produce a single .exe file that runs both. What are my options? What if the second application is .Net code instead of C? Do I need to take special steps to load the .Net runtimes? I am aware tha...
stackexchange/codereview
NHibernate is throwning an exception when particpating in a distirbuted transaction and you've opened a session by specifying your own connection object. Unhandled Exception: System.InvalidOperationException: Disconnect cannot be call ed while a transaction is in progress. at NHibernate.AdoNet.ConnectionManager.Disc...
stackexchange/codereview
I am interested in writing a utility that modifies PostScript files. It needs to traverse the file, make certain decisions about the page count and dimensions, and then write the output to a file or stdout making certain modifications to the PostScript code. What would be a good way to handle file processing on a *NIX ...
stackexchange/codereview
I have the following generic function: public SomeType SomeFunction<T>(T value) { } I would now like to restrict this generic function to work only with Enums so I tried the following: public SomeType SomeFunction<T>(T value) where T : System.Enum { } But this resulted in: error CS0702: Constraint cannot be specia...
stackexchange/codereview
I have a very simple question, but can't seem to find a strait answer anywhere. I've scoured Google and StackOverflow, but haven't found the answer I'm looking for. I've created a SqlCe 3.5 database saved as a simple *.sdf file and sits inside my \src directory on a small project. I've just installed Sql Server 2008 E...
stackexchange/codereview
Is there something in javascript/jQuery to check whether variable is set/available or not? In php, we use isset($variable) to check something like this. thanks.
stackexchange/codereview
1) I'm try to access an svn repository with a url like this: svn://asdfasd.asdfasdf.edu/asdfasdf/asdfasdf. When I do so, I get an error stating: "Authorization Failed." I know for a fact that the url is correct. And I just redownloaded subclipse. How can I fix this? 2) I also want to change my user login information. ...
stackexchange/codereview
I have two simple programmes, server and client, both at localhost. What I want to do is to streaming the video from the server to the client through socket and the client can play it by using filediscriptor of the socket. First I try to send some message and the client can receive it. After that I send a few bytes of ...
stackexchange/codereview
I have 2 classes: User and Message. One user can have several messages. I.e. this is association one-to-many. My users table is in first database and the messages table in the second database. How can I map them? My users and messages tables mapping: <hibernate-mapping> <class name="com.example.hibernate.U...
stackexchange/codereview
I want to get binary (011001..) from a String but instead i get [B@addbf1 , there must be an easy transformation to do this but I don't see it. public static String toBin(String info){ byte[] infoBin = null; try { infoBin = info.getBytes( "UTF-8" ); System.out.println("infoBin: "+infoBin); } catch (Except...
stackexchange/codereview
I use a for loop to generate some controls. Each control presents a special visualisation. I can not use controls like ListBox or somethink like that. I must use my approach. The generated controls are hosted in a Canvas. After a while, some controls are not longer needed. Some controls must be removed. I can manually ...
stackexchange/codereview
I am helpless, I need deserialize JSON string in this format to class. JSON string: { "newNickInfo": { "2775040": { "idUser": 2775040, "nick": "minci88", "sefNick": "minci88", "sex": 2, "photon": "http:\/\/213.215.107.125\/fotky\/277\/50\/n_2775040.jpg?v=4", "photos": "http:\/\...
stackexchange/codereview
I am new to both Haskell and Parsec. In an effort to learn more about the language and that library in particular I am trying to create a parser that can parse Lua saved variable files. In these files variables can take the following forms: varname = value varname = {value, value,...} varname = {{value, value},{val...
stackexchange/codereview
My application requires 2 screens and for this I have created two different XML layout files using RelativeLayout. One layout file loads whenever I run my Activity. Now I want to load the second layout on to the same Activity , when user click on a button in OptionsMenu and also when user press Back button the first sc...
stackexchange/codereview
I'm sure this question or derivatives of it have been asked a bazillion times, but I couldn't find anything that helped me solve the problem, so I'm asking. Please feel free to direct me to the duplicate that I'm sure exists but I can't find. Apparently I'm not so great with keywords. I have a Custom Control, it has it...
stackexchange/codereview
I am not a .NET developer, so there might be some basic things I don't know. I have some experience coding in C#, but now I have a question. One of my projects (A) references another ptoject (B), with "local copy" set. When B.dll is in the same location as A.exe everything works. But when B.dll is put in a common dire...
stackexchange/codereview
I am having multiple setup projects which are to be installed .I am trying to create a single setup project which includes all the setup projects and user have a choice to install only the selected setup project.My imagined prototype is similar to visual studio installer , which gives a choice to install particular com...
stackexchange/codereview
I have following code: public int doBam(int bam) { if(foo) { bam += 1; if(bar) { bam += 1; } } return bam; } I want to comment out the if(bar) ... When I do toggle comment in Eclipse 3.6 I will get this: public int doBam(int bam) { if(foo) { bam += 1; // ...
stackexchange/codereview
In my current project I am working with Boo/Rhino DSL (what a great thing(s) by the way). In digging in the code I came across the following piece of code: engine.Cache.WriteLock( () => { engine.Storage.NotifyOnChange(urls, delegate(string invalidatedUrl) { engine.Cache.Remove(invalidatedUrl); ...
stackexchange/codereview
I'm new to CakePHP & Mysql Workbench and i just did a reverse engineer to a a open source application built with cakephp(Croogo CMS). In order to better understand the relations between tables I'll like to draw them, but using the mysql workbench the tables are getting new columns as foreign keys. I assume this isn't t...
stackexchange/codereview
I have a universal app (iPad & iPhone) on the appstore. I'm wondering how I can tell if a purchase was made by an iPad or an iPhone user. In the sales & trends section in itunes connect I cannot find this information. Any ideas? Thanks
stackexchange/codereview
In User table i have more than 1 million records so how can i manage using MySQL, Symfony 1.4. Make performance better. So that it can give quick output.
stackexchange/codereview
I have a Flex ActionScript Application, I need to draw a simple rectangle in stage. I am using firstapp.mxml and another Class called Book.as; here is the complete code which i have done. firstapp.mxml <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="abs...
stackexchange/codereview
Can anyone tell me how to show the soft input keyboard while a activity opens. In Normal case a keyboard pops up when we tap inside the edit text but i want to open it automatically when that screen loads. here is the xml layout file and here is the main.xml layout file <TextView an...
stackexchange/codereview
How can I display back to the user a basic popup with a saying based on a random number generated. I wanted to use a switch statement, but that just displays all the sayings, ie: int random = (int) Math.ceil(Math.random() * 5); switch(random){ case 1: showToast(this, "Saying 1."); ...
stackexchange/codereview
I'm having a problem with button on uitableview. As in the code, when i click on the button of each cell the image Checked.png should be shown on the button. THis is working fine. However, when i scroll the tableview, the checked image on top of the table disappear.How do i solve this. Can any kind person please help ...
stackexchange/codereview
If encryption is used via ProtectedData CurrentUser and I have a site using Forms auth (with a custom membership module, don't think that will make a difference), will it work across several different web servers? My guess would be that it would if the current user that is used is the User.Identity, 'cause that will be...
stackexchange/codereview
I'm using jquery.watermark for adding watermarks for html form inputs. I love it, really easy to use as a developer and makes the site easier to use for visitors. Problem is, for some browsers, people are submitting forms with fields that are supposed to be left empty... but they get submitted with the watermark text...
stackexchange/codereview
I'm working with a couple of open-source projects that use different C# brace styles, and I'd like to configure VS text formatting to use different styles for each project so I can use Ctrl-K-D to reformat source code. Is there any way I can configure Visual Studio 2008 to load a particular set of text formatting prefe...
stackexchange/codereview
I have a mac at work and want to sync my key bindings at home to it. I don't see an export button in the Preferences menu. Is there some other way to export my custom key bindings?
stackexchange/codereview
I noticed that when I store a double value such as e.g. x = 0.56657011973046234 in an sqlite database, and then retrieve it later, I get y = 0.56657011973046201. According to the sqlite spec and the .NET spec (neither of which I originally bothered to read :) this is expected and normal. My problem is that while high p...
stackexchange/codereview
how to get RGB values in percentage in photoshop. and is cmyk percentage values are similar to RGB?
stackexchange/codereview
If you are using Findbugs for compiled code inspection, is it possible to fail a build based on the result of a single detector or category of detectors? For example, I would like to ensure that I don't have any null pointer-related detections (prefix of "NP" in this list) of any priority. Likewise, we really don't ...
stackexchange/codereview
I'm starting to venture out from using jpeg and gif files to png, I was wondering if there were any standards for using png beside IE's lack of support for it. I also want to know if there was any current articles about setting I should be using when optimizing for web? Right now I'm using photoshop to do this, shoul...
stackexchange/codereview
I have a image file on the disk and I am resizing the file and saving it back to disk as a new image file. For the sake of this question, I am not bringing them into memory in order to display them on the screen, only to resize them and resave them. This all works just fine. However, the scaled images have artifacts...
stackexchange/codereview
Some people here told it's not possible and some people here told it might be possible to have one version of machine code for all different template arguments of a templated function, so I thought it would be profitable to open a thread regarding this specific matter, if there is not such possibility that's it, if the...
stackexchange/codereview
My ultimate goal is to have a JList which refreshes its content at runtime, and I have found a solution that works from this post here on SO, however I am curious why my original idea did not. As of now, I have something like this setup and it works: DefaultListModel default = new DefaultListModel(); for(int i = 0; i ...
stackexchange/codereview
I'm using WebBrowser control to navigate through a login page and download a file. Since I can't find a way to manage the download automatically with the control I'm using the WebClient class to try and achieve this. Problem is that since the WebClient isn't in the same context/session as the browser all i'm downloadin...
stackexchange/codereview
Could anyone help me with a javascript countdown; For Example: If it's 1:05pm on Sunday, it would say: "Place your order within the next 1 day 2 hours 55 minutes and your order will ship Monday" Another example: If it's 2:00pm on Saturday, it would say: "Place your order within the next 2 hours and your order will ship...
stackexchange/codereview
This code fails with an exception indicating invalid JSON: var example = '{ "AKEY": undefined }'; jQuery.parseJSON(example); I was able to fix it by replacing all undefineds with empty strings. Are undefineds not part of JSON?
stackexchange/codereview
well i am displaying a dynamic gallery using PHP... what i want is to instead of showing a lot of thumbnails on one page i rather do paging.. you know the number pages and next and all.. well its an old thing but i don't know how to do this.. HOW TO DO IT ? but hold your horses HERES THE TWIST i am showing thumbnail...
stackexchange/codereview
Once a Boost library (I have read that ten Boost libs are considered to be a become a part of Standard Library) becomes a part of Standard Library - is it going to keep it's boost namespace or the code will end up in std namespace? If the latter is the case - how would you workaround that potential namespace clash in ...
stackexchange/codereview