instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
How do you set a printers ACLs in .net?
stackexchange/codereview
I'm trying to put X's and spaces into a 2D array and I keep having problem after problem. All I want is the text representation to be in 2D array form but when I debug I notice that some cells have full lines in them instead of a string of one character! If you can visualize the 2D array as a maze, X's being the wall ...
stackexchange/codereview
I am trying to write client for Android which is supposed to communicate with PC server application on local network. Server app is written by my friend in C#. Currently there is an iPhone app that is using this server application with no problems. I have very simple code for TCP client: 1. Socket s = new Socket(serve...
stackexchange/codereview
I have a structure representing a form and I want to iterate it using RecursiveIterator. The problem is this only returns the top-level questions. What am I doing wrong? Whole form: class Form implements RecursiveIterator{ private $id; private $caption; private $other_text; private $questions = array();...
stackexchange/codereview
How can I hide the address bar (location bar ) in a modal dialog? Here is my code: var dialogFeatures = 'center:yes; dialogWidth:600px; location:no;dialogHeight:400px; edge:raised; help:no; resizable:no; scroll:no; status:no; statusbar:no; toolbar:no; menubar:no; addressbar:no; titlebar:no;'; newwindow2 = window.showMo...
stackexchange/codereview
I have a regular expression, say /url.com\/([A-Za-z]+)\.html/, and I would like to replace it with new string $1: f($1), that is, with a constant string with two interpolations, the captured string and a function of the captured string. What's the best way to do this in JavaScript? 'Best' here means some combination o...
stackexchange/codereview
I'm trying to implement a simple queue that performs one task at a time. Offloading tasks off the main thread using Celery and setting concurrency=1 in the Celery config works fine, but I might want to use more concurrent workers for other tasks. Is there a way to tell Celery or RabbitMQ to not use multiple concurrent ...
stackexchange/codereview
Hey guys... Its quite late in the night right now and I'm taking some time off from coding my project. I discovered Coding Horror only a few weeks ago and I totally loved it. Having read all of its posts I have ran out of things to read when bored. Can someone please suggest some great blogs (coding,computers) to read ...
stackexchange/codereview
I have searched the web for "how to secure a php session" and came across this PHP Session Security The first answer is a very good one... I, like many others, are searching for how to create a secure "Remember me" function. Much like the linked questions' poster, I thought it would be good to gather all information a...
stackexchange/codereview
I have taken photos from my negative and I want to invert the color in a batch, I have "somehow" copy and paste a script like this: (define (batch-negative pattern) (let* ((filelist (cadr (file-glob pattern 1)))) (while (not (null? filelist)) (let* ((filename (car filelist)) (image (c...
stackexchange/codereview
in my DataGridView there are about 2 or 3 rows about the Supplier data it is about Supplier data ,,as there might be one product i get from 2 or 3 suppliers how to add the Suppliers_ID (FK) to the Product table in the data base from the data grid view when i click on a button (Confirm adding) and to avoid the data re...
stackexchange/codereview
quick question: i'm developing a wordpress theme for a client and have a heavy use of the_post_thumbnail function. now, on my local dev site (running under MAMP) everything works like a charm and all the images get hard cropped to the correct size. on the live dev site the cropping is completly ignored by wordpress. th...
stackexchange/codereview
i am new to maven. i have a Java EE Web project and a model project,web project is depend on model because module has some standard classed which need to be jar in web. web needs model jar file. how can i write the 2 projects which one is depend on another ? give me a sample coding on both project pom.
stackexchange/codereview
I'd like to eager load a structure, two levels deep in an association chain. Something along the lines of: class TopLevel { String name LevelOne levelOne } class LevelOne { String name LevelTwo levelTwo } class LevelTwo { String name } I'd like to load the entire structure. Searching aroun...
stackexchange/codereview
Hi I have a page with a navigation menu on the left and when any link on this menu is clicked , an Ajax get call is sent to the server and the right side gets updated with the new page. How I am currently doing this is by creating 2 columns, the left col contains the navigation link and the right col contans a div name...
stackexchange/codereview
I want to draw some sprites in the screen, using CCSprite in cocos2d. But if I init each CCSprites with [MySprite spriteWithFile:@"MyImage.png"],and each sprite only use part of the image, will the image be loaded into memory many times? As memory resource is very limited and the size of the image is big(1024*1024), is...
stackexchange/codereview
I'am now dealing with a new project, threre exist several struct for varaible transfering in parallel programming, can anybody give some hint on how to use gdb to watch struct chage process step by step, thanks first:)
stackexchange/codereview
i have an application in development stage, i want to add iAd functionality, i follow all steps from apple guidelines for iAD, its working fine on simulator, but when i test it on device, its not showing test advertisement. i want to know that is i have to make another provisioning profile. I didn't change my provision...
stackexchange/codereview
I have a bunch of links with non-pre-determined id's like so: <a href="#" class="remove_pid" id="pid_123">Remove 123</a> <a href="#" class="remove_pid" id="pid_234">Remove 234</a> <a href="#" class="remove_pid" id="pid_567">Remove 567</a> <a href="#" class="remove_pid" id="pid_890">Remove 890</a> I have an event handl...
stackexchange/codereview
I am new to codeigniter, and not so new to PHP. I am developing a site that has a login for 2 users and once they login, it'll show an optin to view an invoice. I am not making the invoice since I have a stack of invoices already. I want to do it so that once they click on view invoice they can see a PDF. I have search...
stackexchange/codereview
Does HQL support conditional expressions in aggregate functions? I would like to do something like this select o.id, count(o), count(o.something is null and o.otherthing = :other) from objects o But I get a MissingTokenException from the Antlr parser. EDIT: By using a subquery it's working, but it's ugly as I'm...
stackexchange/codereview
I have used faking of multiple inheritance as given in Can I extend a class using more than 1 class in PHP? Notice that class A actually extends class B and faking is done for extending from class C. It was working fine until I needed an attribute set in a function of class C to be available in class A. Consider a litt...
stackexchange/codereview
Why do I get this error? I am at a loss... error: request for member push_back in v, which is of non-class type std::vector<Leaf, std::allocator<Leaf> >* class Leaf { public: // Variables std::string *name; // Methods Leaf(){} Leaf(std::string *s) { name = s; } }; class Branch {...
stackexchange/codereview
I just installed ASP.NET MVC 3 RC to try and upgrade an MVC 2 site. I encountered a rendering problem which I managed to repro outside of the site, using an MVC 3 project created from scratch. Here is my Razor cshtml view: @using Mvc3RCTest.Helpers <h2>Demo Render Bug</h2> <div class="content"> @{ Html.RenderTest();...
stackexchange/codereview
When I create a JMenuBar with a Paste action in it and assign an accelerator to it (Control - V) and I write the paste action for the JMenuItem. AND I use the accelerator, my code will be executed and the Swing preprogrammed Paste action will be executed, so the text will be pasted twice, I think. I didn't test it but,...
stackexchange/codereview
The following code: XmlSchema xmlSchema = new XmlSchema(); XmlSchemaElement xmlSchemaElement = new XmlSchemaElement(); xmlSchemaElement.Name = "SomeElement"; xmlSchema.Items.Add(xmlSchemaElement); XmlNamespaceManager xmlNamespaceManager = new XmlNamespaceManager(new...
stackexchange/codereview
can someone please help me on this :) I have a form to submit a classified ad. The form uses PHP for validation. In the form there is a drop down menu where one can select its payment according to the display time of the ad. I don't know how to keep the validation in place and only send to Paypal if everything is ok. I...
stackexchange/codereview
I have a class that goes and grabs some data and returns it as a string. While this object is working there is a spinning icon letting the user know work is being done. The problem is the code exits before the response comes back. I stuck a while(response == null) In just to see whats going on and the response = (Http...
stackexchange/codereview
I would like to verify the existence of a given file in a tar archive with Python before I get it as a file-like object. I've tried it with isreg(), but probably I do something wrong. How can I check if a file exists in a tar archive with Python? I tried import tarfile tar = tarfile.open("sample.tar", "w") tar.add("t...
stackexchange/codereview
In my application I authenticate users using Devise and I noticed that you can change the page that one is redirected to if the sign in fails. On the wiki I found the following example: class CustomFailure < Devise::FailureApp def redirect_url new_user_session_url(:subdomain => 'secure') end # You need to ov...
stackexchange/codereview
I want to execute a Python script on several (15+) remote machine using SSH. After invoking the script/command I need to disconnect ssh session and keep the processes running in background for as long as they are required to. I have used Paramiko and PySSH in past so have no problems using them again. Only thing I nee...
stackexchange/codereview
I am designing an asp.net mvc application which uses a service layer. What if we have a service which depends on another service? For, instance, suppose we have the following model: class UserService : IUserService { //implementation requires IEmailService } Sure, the concrete implementation EmailService can b...
stackexchange/codereview
If i have heterogeneous collection for which I know exactly the types i'm going to place is there a way to enforce this. For example take this scenario say i have a map that has a String key and value which can be on of three unrelated types. Now I know that I will only put ClassA and ClassB or java.lang.String for ex...
stackexchange/codereview
I have an ASP.NET MVC project in which the model is managed through .NET entities and it seems that some times it loses the connection, but this happens only on stored procedures. I get the following error: Execution of the command requires an open and available connection. The connection's current state is broken. Wh...
stackexchange/codereview
First time using rails, I'm trying to create a download link to get something off the file system. In my view, I've got <%= link_to 'Show', upload, :method => :download %> and my 'download' method in my controller looks like: def download @upload = Upload.find(params[:id]) send_file '/data_store/50692.pdf' Thi...
stackexchange/codereview
I was trying to create a simple console application to try out Qt's XML parser. I started a project in VS2008 and got this template: int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); } Since I don't need event processing, I was wondering whether I may get into trouble if I ne...
stackexchange/codereview
I'm trying to get what I call measurement units system by wrapping double into struct. I have C# structures like Meter, Second, Degree, etc. My original idea was that after compiler is inlined everything I would have a performance the same as if double were used. My explicit and implicit operators are simple and straig...
stackexchange/codereview
whenever I run some R code with Sweave, it displays the terminal arrows (">") in the document. This is fine for session inputs, but sometimes I'd like to include custom functions. When arrows show up in the document, it is more difficult to copy and paste important snippets of code. Is there a quick way to do this? I k...
stackexchange/codereview
I frequently find that I need to have a build on my iPhone which is my 'demo-ready' version which might point to my demo server. I also want a build that is the latest and greatest debug build that I'm developing with that points to my development server. Has anyone found a really simple way for me to install two apps ...
stackexchange/codereview
I want to download multiple images at the same time. For that I'm using threads, each one downloading an image, using urllib2 module. My problem is that even if threads starts (almost) simultaneously, the images are downloaded one by one, like in a single-threaded environment. Here is the threaded function: def updateI...
stackexchange/codereview
I want to create a simple web crawler for fun. I need the web crawler to get a list of all links on one page. Does the python library have any built in functions that would make this any easier? Thanks any knowledge appreciated.
stackexchange/codereview
I'm writing a particle system that uses point sprites in OpenGL ES 1.1 on iOS. Everything works great until I try to texture the point sprites... when I render, each sprite is colored by the top left pixel of the texture I'm loading (rather than displaying the image). I've tried different images and different sizes a...
stackexchange/codereview
Folks, While coding up a few dials and sliders (e.g. like a big volume button one can rotate around) - I found that the standard CGContextAddArc() used like: - (void)drawRect:(CGRect)rect { CGContextRef ctx = UIGraphicsGetCurrentContext(); CGColorSpaceRef rgbColorspace = CGColorSpaceCreateDeviceRGB(); CGC...
stackexchange/codereview
I need to select all the Tags that are both selected and visible. Is this the correct way to do it? $('select option:selected:visible') I believe it worked in the past, but apparently this returns undefined now. There is however a visible drop-down list with an option selected. Thanks for your help.
stackexchange/codereview
I have an active SMO connection string server = textBox_Server.Text; ServerConnection srvConn = new ServerConnection(server); // Log in using SQL authentication instead of Windows authentication srvConn.LoginSecure = false; // Give the login username srvConn.Login = text...
stackexchange/codereview
guys, could you please explain what are restrictions for commercial redistribution for these licenses (Apache , BSD , GNU GPL , GNU LGPL , MIT , MPL). best regards.
stackexchange/codereview
I am designing a Card based Game in Java. I have implemented the game logic. It is working fine. Now I want to add a functionality which can check for the time player is playing the game. If the time goes above a threshold limit, I want to terminate the Execution of Game. Please suggest me what should be the best strat...
stackexchange/codereview
I'm writing an iPad app in which I make intense use of a UIWebView inside a UIViewController. I'm tying a few actions to swipe gesture recognizers. They detect both left and right swipes. Since my web view scrolls up and down, it is very easy to try a horizontal swipe and get the webview to scroll up or down a bit, wha...
stackexchange/codereview
I just getting started with OAuth, and I tried to make a small client to connect to some webservices... I tried twitter and it worked like a charm, however, I also tried to access Yelp V2 API (following their Python example) but I always get back as an answers: HTTP 400 Bad Request Missing parameter: oauth_consumer_key...
stackexchange/codereview
Could I create "Call" button in HTML 5 IPhone application using PhoneGap? Pushing this button should invoke call to certain number on IPhone device.
stackexchange/codereview
I am new to magento and I have placed my account number in my system > Configuration > Sales > Google API. I have also enabled Google Analytics. But still I can't see the Google Analytics code on any of my magento application. What I have double checked are: Account Number are proper (These are for the same domain nam...
stackexchange/codereview
when I build solutions in Visual Studio, that generates installer files as .exe and .msi, .exe files are useful for what?
stackexchange/codereview
I am new to Cocos2D, could any one please tell me how we can do leaves falling from top and settled down at bottom of the iPad, when ever user tilt the iPad or touches the leaves, the leaves should respond accordingly.It should be similar to alice wonderland lite application page number 13 animation. I am posting my co...
stackexchange/codereview
I want a complete server side solution, so no JS, etc. All that I can think of is three combo boxes for day/month/tear, but of course the user can then select an invalid day/month combination. What's the best way to let use select a date when I am not allowed to use any client side code?
stackexchange/codereview
I am new to Unix and not sure how to use crontab. I want to write a program that will update a file every midnight. 0 0 * * * (Midnight every day). I want the user to enter a value for in_variable(please look at the following code) only the first time when the program runs, and do the rest Every Midnight (without promp...
stackexchange/codereview
Has anyone seen any javascript implementation of a text input field besides http://www.carto.net/papers/svg/gui/textbox/ ?
stackexchange/codereview
In the Cocoa and Cocoa Touch frameworks, enums are used as constant. I understand how to use it except in one case, the case you can pass as a parameter multiple value with the | operator. Like in : pageControl.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleTopMargin); The enum is decl...
stackexchange/codereview
What do the dup() and dup2() system calls really do? How would I use them in practice?
stackexchange/codereview
I am trying to split a string which contains a sequence "Song Name - Artist Name". I've done similar string manipulations in PHP with relative ease as shown below PHP: $titledata = explode(" - ", $title); This is what I'm trying in C#: string[] titledata = title.Split(" - "); And it returns the error "Cannot convert...
stackexchange/codereview
Is it possible to enable vertical bars delimiting code blocks in eclipse ?
stackexchange/codereview
I am newbe to php. I have small problem to compare dates in php. I have 4 dates named date1, date2, start_date and end_date in the format yyyy-mm-dd. i need the functionality like this: if((date1>=start_date) && (date2<=end_date)){ } please help me to solve this.
stackexchange/codereview
In Firebug, you can search some text and it will look for it in all scripts loaded on a page. Can the same be done in Chrome Developer tools while debugging client script? I tried it, but it seems to search only in the script I have open, and not the rest that are on the page. I hope the next screenshots give a better ...
stackexchange/codereview
Can anyone tell me what I might be going wrong? I've tried a few different things. But this is what I currently have. $queryCurUser = "SELECT * FROM users INNER JOIN '$ninenumber' ON users.ninenumber = '$ninenumber'.ninenumber" ; %ninenumber is a table and I need to use that variable so I can do something really cool...
stackexchange/codereview
I can't move the .png images from the desktop to resources folder it gives an alert. Any help Please.
stackexchange/codereview
I have a Wordpress website with two versions, one full-sized and one for mobile browsers. I want to shut down the Shadowbox.JS plugin for the mobile theme. (I want images to be opened directly) I've found something in the Advanced settings of the plugin. Skip setup: true/false. Set this true to skip Shadowbox.setup() ...
stackexchange/codereview
In a ASP.net mvc 2 project is there a way to set the default MergeOption to PreserveChanges for all entity types? Currently i have a massive sub that sets all entity types mergeOption. Thanks
stackexchange/codereview
[Python 3.1] I want defaultdict(int), except I'd like the default value to be 1 rather than 0. Is there any neat way to do that? Should I do that?
stackexchange/codereview
I am using the below code in the block visibilty settings, to only show the block if the user is a member, and not the admin. What can I add to further filter it down to type of Organic Group Node. i.o.w Only display if the currnt group being viewed = Organic Group Node Type X <?php $in_og = FALSE; if (module_ex...
stackexchange/codereview
I'm creating a model called Chats. And I want to assign users to a discussion. They are either a part of the Chats or they aren't... So I create one model Chats. What's the standard Rails naming convention for the other table? ChatUsers?
stackexchange/codereview
Hey i was in a local programming competition and they asked me this question which i could not do so please help me on this one. Write a program that loads from a file the size of a maze and then the maze itself. To model the maze we use the character "S" that specifies the start cell, "." that specifies free cell, "#"...
stackexchange/codereview
I am trying to write a powershell script that will set a download directory variable based on the current directory, and download a file to that directory. The code I have is: cd downloads $DevDownloadDirectory = [IO.Directory]::GetCurrentDirectory $clnt = New-Object System.Net.WebClient # download and extract the fi...
stackexchange/codereview
Using the most recent build of imgbox, encountering the same problem I had with LightBox2; mainly, the 'title' attribute. It makes a caption, but html likes to make a hovertext over the image link. Like so: <a id="example1-1" href="./painting/everythingieverwanted/everythingieverwanted.jpg" title="Lorem <a href=''> i...
stackexchange/codereview
I created c++ dll (using mingw) from code I wrote on linux (gcc), but somehow have difficulties using it in VC++. The dll basically exposes just one class, I created pure virtual interface for it and also factory function which creates the object (the only export) which looks like this: extern "C" __declspec(dllexport)...
stackexchange/codereview
I am trying to show into the header of my UITableViewController a title and under it an image illustrating the title. The next code (written into the viewDidLoad method) shows only the image, and this image over the rest of the table sections. How I can fix it to do what I want? // Creates a header view. UIView *contai...
stackexchange/codereview
In my iphone app, the Sqlite database has 6000 entries. Is there a way to insert the data in one shot or may be in fewer number of shots. I did try pasting the insert statements in Terminal in MAC OS but at a time only 15-20 statements get executed correctly. How can we insert it at one go? What should I do? Please Su...
stackexchange/codereview
You can set table aliases in SQL typing the identifier right after the table name. SELECT * FROM table t1; You can even use the keyword AS to indicate the alias. SELECT * FROM table AS t1; What's the difference between them if any? I see old DBA people tend to write statements without AS, but most of the new tutorial...
stackexchange/codereview
I have an application that ships to the customer with a JET database including a relationship diagram which more savvy users are invited to view to gain insight into the construction of the database. I also have code in my application to update the database structure when new versions require new tables, new columns, o...
stackexchange/codereview
What would be the recommended way of testing performance on stored procedures? There is one SP that takes about 20 booleans and I would like to test some of the combinations. There is another SP with the same parameters but a different implementation and would like a way to compare. I can do this manually in .NET if...
stackexchange/codereview
int func(void) [5]; Why is above line not valid in c ? As anyone knows, function can be used as variable. But, I don't understand why compiler gives error . Why I used that line is because I have tried to create 5 function-variable. To do so, I wrote like that, shown above.
stackexchange/codereview
When I edit a text field and press Ctrl + A, then instead of selecting all text in the field, the main menu's handler for Ctrl + A is called. How to restore the default behaviour, without losing the Ctrl + A accelerator in menu?
stackexchange/codereview
I have two textviews, a listview (this is a listactivity, by the way) and a datepicker. All is supposed to be displayed in this order, vertically. The problem is that the ListView is pushing the datepicker below the screen, to the depths of the unseen world. I want the datepicker to have its own space, fixed at the bot...
stackexchange/codereview
I am programming in visual basic 2008 I would like to set up serial numebers for software im developing. I would like to prevent software theft by ensuring that each purchased copy has a unique serial number that can only be used once. How would i create this so a.) The serial numeber can only be used once b.) The sof...
stackexchange/codereview
I have a/b test (split test) running on asp.net. It shows variations, visitors and conversions. If I punch these numbers in any split test calculator, it will show me Confidence Level and if there is a winner. Wonder maybe there is a library which calculates it, so I could show these calc results on my page? or formula...
stackexchange/codereview
I have a CustomView (Expand View) in my main view, which is suppose to expand. I have a bunch of other objects at the bottom of my ExpandView. I want to move all these objects down as my ExpandView expands. Is it possible to do this in interface builder, and relate these objects to my ScrollView so that they would move...
stackexchange/codereview
I have tested my application using sandbox account in paypal using IPN method. Now I want to start live selling my products. I need you guys to help me which type of accounts is good or best. Do I need Merchant account or another type of account share me link where can i signup for seller account and also send me link...
stackexchange/codereview
This one might be a bit complicated or I am just confused I have two forms on a single page. One is a form and the other is a formset. My goal is to validate fields in the formset against fields in the form. My guess on what is currently happening is that the method that I am passing the Project forms ID to the formset...
stackexchange/codereview
Can anybody help on how to implement callback methods using annotations in java ? More detail - Basically, I have a java method that returns nothing [void] but I wanted it to return the state of the object to the caller without changing the method signature using callback function. Hope that helps. Thank you!
stackexchange/codereview
I have an application which downloads contacts periodically (using a service and asyn task), but at the same time I read the contacts which were already downloaded. My problem is, when I'm downloading the contacts, I try to read the database, the application crashes. Could someone explain to me how I can read and wri...
stackexchange/codereview
Has anybody had any hands-on experience using Devexpress ASP.NET components with Delphi Prism? At the moment I'm specifically interested in using their "Calendar and Scheduling for ASP.NET" suite. Sharing your pros/cons, successes/failures would be greatly appreciated. I'm looking leverage my knowledge of Delphi (and ...
stackexchange/codereview
I'm trying to set some keybindings to use the Shift key to highlight text. I could use pc-selection-mode, but that doesn't offer all the key bindings I want. For example, I'd like to be able to shift-mark an entire paragraph by pressing Shift-Ctrl-down which I can do in most MS text editors, but pc-selection-mode doesn...
stackexchange/codereview
I am trying to write to use the multiple serial interface on the 68HC12 but am can't get it to talk. I think I've isolated the problem to not being able to write to the SC1DRL register (SCI Data Register Low). The following is from my SCI ISR: else if (HWRegPtr->SCI.sc1sr1.bit.tdre) { /* Transmit the next byte in T...
stackexchange/codereview
I'm working with a web company that's approaching a point where it will likely need re-think the product as a V2 - due to outgrowing some of its V1 foundations and principles that have been built into virtually everything, from the data model to the user interfaces. For various reasons, this evolution might involve a m...
stackexchange/codereview
how to set three div arranged horizontally like this? The left one width:150px, the right one width:150px, the center one width are the rest of the pixels, and the center one min-width will be 800px. All the div need a position:relative. Thanks.
stackexchange/codereview
I'm trying to display a standard open file dialog that can select folders, using the IFileOpenDialog interface in C#, Visual Studio 2010. I'm trying to use the minimal code, so I've only defined the methods I need in the interfaces: using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServic...
stackexchange/codereview
I am using Enterprise Miner 6.2 and want to create a data source but my option is a SAS Table. How do I go about exporting SQL Server or Excel data into a SAS table?
stackexchange/codereview
So last week I posted a problem for the ACM ICPC South East Regionals here -> Algorithm to calculate the number of 1s for a range of numbers in binary. It was pretty well recieved and still hasn't been solved so I figured why not throw up another question my team couldn't solve. The Problem. Your friends have just ope...
stackexchange/codereview
I am trying to get PHP to search a list of files that are contained within a directory for a certain string. For example PHP would search each of these text files for the string that you specify and then echo the names of the files out: XXXX/test.txt XXXX1/test.txt XXXX3/test.txt Is there way that I would be able to g...
stackexchange/codereview
I want to connect data from any folder in my computer.After user click browse button it appear any location for access database folder.After that user click connect button and but i have facing connection problem. Under Browser Button Using ofd As New OpenFileDialog ofd.Filter = "mdb files |*.mdb" of...
stackexchange/codereview
I am working with some commercial schemas, which have a a set of similar tables, which differ only in language name e.g.: Products_en Products_fr Products_de I also have several stored procedures which I am using to access these to perform some administrative functions, and I have opted to use synonyms since there is ...
stackexchange/codereview
I am a backend Rails developer of an API. The API must accept an image upload from an iPhone client. My question is what the Content-Type for the entire POST must be to allow the upload and not get trapped by the InvalidAuthenticityToken issue. It will have to be a multipart type because there are (in one case) 3 ...
stackexchange/codereview