instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Using the PHP5 SOAP extension I have been unable to connect to a web service having an https endpoint, with client certificate and using WS-Security, although I can connect using soapUI with the exact same wsdl and client certificate, and obtain the normal response to the request. There is no HTTP authentication and no...
stackexchange/codereview
When making homepage, we use <meta> tag. I have a question; I uploaded an image, PictureA to my website and linked it to SiteABC by using an image map. Then when I click a specific part of PictureA, the browser will load the site I linked. I would like it to behave in this way: After 10 seconds, I want SiteABC to redi...
stackexchange/codereview
I have a simple User class with the following validation of name uniqueness: class User < ActiveRecord::Base validates :name, :uniqueness => true, It works great when a new user is created. However, when I check the login form, the user enters his name, and the system says it's already taken which doesn't make any ...
stackexchange/codereview
I have a transparent floating iFrame with a lot of empty area. It floats on top of my site (position:fixed). The problem is that if anyone click on the empty area, it does not click below on the real page. Is there a way to perform this? Like a click through in someway.
stackexchange/codereview
i want to pass my php variable in one javascript function. i know it seems simple but i don't know where am i missing something? <?php while($gg=mysql_fetch_array($lg)) { ?> <td id="add_td"> <?php $id = $gg['p_id']; echo "<a onclick=cnf('Are you sure you want to ...
stackexchange/codereview
I am finding a line in a PHP file using PHP and writing to it by changing a variable at a particular line. Please see function below. This works fine when I test it on its own. However, when I run it within my main script it doesn't work properly. I find the following sort of thing on = "Version_3_18110"; in the PHP fi...
stackexchange/codereview
I have a MS Visual C++ project where I have a CDialog based dialog box with several edit controls. I want to highlight the control with the current focus for the user. I implemented this by getting a pointer to the window that has the current focus with GetFocus() and then obtaining the ID for the focused control wit...
stackexchange/codereview
i am fairly new to xcode, i have to create many same identical projects in xcode. Meaning i have already set up my template with files needed in and related frameworks. So instead of everytime creating a new project and choose the template , is it possible to do it by command line ie i run an apple script what i heard ...
stackexchange/codereview
Fairly straightforward question: How can I tell a VB6 application to remember what display it was closed on, and then when the application is launched again, to display the main form on that monitor?
stackexchange/codereview
For some reason there is a pause after the program below starts. I believe that WebClient().DownloadStringTaskAsync() is the cause. class Program { static void Main(string[] args) { AsyncReturnTask(); for (int i = 0; i < 15; i++) { Console.WriteLine(i); Thread.Sl...
stackexchange/codereview
I am trying to display text in a javascript tooltip I keep getting unterminated string literals even though: a) the quotes are being slashed, b) there are no line breaks The text I am trying to display is: "No, we can't. This is going to be terrible." (its a quotation from an individual and I want those quotes to disp...
stackexchange/codereview
I've a Date column in 'dd/mm/yyyy' format and Time column in 'HH:MM AM/PM' format in Google App spreadsheet. In app script, I want to join these 2 values as a datetime. How can I do this? Example- date : 13/12/2010, time : 4:30 PM Then I want to get a combined value like '13/12/2010 4:30 PM' as a datetime object. I tri...
stackexchange/codereview
i've 2 android applications. The first one "A" will be signed with 2 certificates: C_1 C_2 "A" have broadcastreceiver with the permission setted to android:protectionLevel="signature" and it has a shared User id with a system process which has been signed with C_1. The second Application "B" wants to use this broa...
stackexchange/codereview
I have a number of columns that only need to store a few values (e.g. 0, 1, 2, 3). What datatype should I pick for such a case? I feel like I should pick something like ENUM('0', '1', '2'). Would int be better (despite it being less restrictive)? Should I consider something else (like tinyint)? EDIT: Actually, what gen...
stackexchange/codereview
Helllo all, in my app there is a story 1 hour i want to know if the user exit the app in the half (time) of the story or any time then when he return i want to continue from where he left any idea will be great thanks
stackexchange/codereview
i have some vcl.net apps(delphi 2006 , .net 1.1 ) and i like to port them to delphi.net 2007 . but i like to port it to delphi prism as it has mono support so i can port it on liux and support to latest .net framework(but i know mono supports full .net 1.1),as prism is completely new and vcl is deprecated how to upgrad...
stackexchange/codereview
Sorry about the mishmash of words in the title, but that's how confused I am. I can't even summarize the error I'm getting in a simple sentence. This flex/amfphp application works fine on my computer, even though it accesses an Oracle database on another server. However, when I try to access it from another computer, t...
stackexchange/codereview
I've been trying to find exact words and my research isn't helping me. Solutions I've found: $query .= "WHERE text REGEXP '[[:<:]]($word)[[:>:]]'"; // OR $query .= "WHERE MATCH(text) AGAINST('$word') "; but neither are returning my matches. I'm searching for stock symbols in my db (eg $aapl). And using LIKE '%$word%' ...
stackexchange/codereview
Possible Duplicate: Regular Expression to escape double quotes inside single quotes I need a regex (no other language!!, best would be perl syntax REGEX or PCRE syntax REGEX) to replace all double quotes " with a \" that are inside a single quoted string. This is an example string (part of a file): var baseUrl = $("...
stackexchange/codereview
I know there are questions on here asking exactly the same thing, but despite me reading them I'm still missing something and hopefully you can help! It's very simple, using the WCF template that is added by VS! Interface: [OperationContract] [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, R...
stackexchange/codereview
5-6 years ago when i was in school, I had C as my programming language. And at that time, I read about struct and little bit about Classes. At that time I had a concept that under struct we cannot declare functions and other such things. Structure only allows value types and themself are also value types. And I was li...
stackexchange/codereview
Ok, so in topological sorting depending on the input data, there's usually multiple correct solutions for which order the graph can be "processed" so that all dependencies come before nodes that are "dependent" on them. However, I'm looking for a slightly different answer: Suppose the following data: a -> b and c -> d...
stackexchange/codereview
I need to insert a column called "practice" into table "cred_insurances" that is a FK referencing table "practices" PK "id"
stackexchange/codereview
My flash swf generated in Flex4 has a strange behaviour: When it is runs in the Flash Player Debugger, it hangs the flash player : Flash player is then taking 25% of CPU and I have to CTRL ACT SUP kill it. When it runs in the Flash Player, it works normally. This only happens with 1 of my devlopment which is a kind of ...
stackexchange/codereview
I'm using firebug and making lots of console.log, .info, .dir calls, etc. When the app runs on a machine with firebug turned off, it can cause errors. What's the best technique to avoid that? This seems to work: // global scope if (typeof(console) == 'undefined') { console = { info : function() {}, ...
stackexchange/codereview
I have a console application that requires me to send out e-mails. Right now I use a string builder to create the e-mails, but I'd like to get more fancy. Then it dawned on me: it would be nice to send my object to an ASP.NET MVC style view, where I'd have the HTML markup, and then return it to mail out. Right now, I h...
stackexchange/codereview
I am trying to come up with a testing methodology for our django-celery project. I have read the notes in the documentation, but it didn't give me a good idea of what to actually do. I am not worried about testing the tasks in the actual daemons, just the functionality of my code. Mainly I am wondering: How can we ...
stackexchange/codereview
I have a multi-module maven project, and I'm trying to create an assembly for the project. The assembly should be a zip file, including all of the jars from the dependent projects as well as all of the resources from those projects (this is for legacy support reasons - I know this isn't a good practice, but in this cas...
stackexchange/codereview
I am working with libraries for the first time. The libraries in question are large, and there are a lot of them. Even after reading all the relevant material I could find on SO, I keep running into linker errors. Sometimes I manage to resolve them, but in the end I don't really feel like I understand what is going ...
stackexchange/codereview
I've got a question considering Zend_Controller_Router. I'm using a a modular-structure in my application. The application is built upon Zend-Framework. The normal Routes are like this: /modulename/actionname/ Since I always use an IndexController within my modules, it's not necessary to provide it in the url. Now I am...
stackexchange/codereview
I am querying a soap based service and wish to analyze the XML returned however when I try to load the XML into an XDoc in order to query the data. am getting an 'illegal characters in path' error message? This (below) is the XML returned from the service. I simply want to get the list of competitions and put them into...
stackexchange/codereview
I'm trying to include my plugin stylesheet on my WP website (frontend), but for some reason it's not working. function init_gallery_scripts() { if (is_admin() ) { // This works! wp_enqueue_script('gallery', plugins_url('js/gallery.js',__FILE__),array('wp-filebrowser')); wp_enqueue_style('gallery-...
stackexchange/codereview
I have used NSOperationQueue in my iPhone app before in iPhone OS 3.0, but now in iOS 4.0 the code is not working properly. It runs properly only once and on all subsequent calls, it doesnt work. Have there been changes in NSOperationQueue in iOS 4.0? The relevant code is as follows: - (void) starteffectFunction {...
stackexchange/codereview
I have added sublayers to my UIView's layer. However, the root layer(UIView's layer) is visible at background as white rectangle. How can I effeciently hide superlayer so there will be no resourses spent on compositing with sublayers?
stackexchange/codereview
I have a base Class akin to the code below. I'm attempting to overload << to use with cout. However, g++ is saying: base.h:24: warning: friend declaration ‘std::ostream& operator<<(std::ostream&, Base<T>*)’ declares a non-template function base.h:24: warning: (if this is not what you intended, make sure the function t...
stackexchange/codereview
(\d+(?:\.\d+)?)\D*$ - this regex extracts price from any string with decimal point, but I want to extract decimal point only when there is something but not zero like when there is 300.50 or 300.25 then decimal point should be extracted but if there is 300.00 then the decimal point should not be extracted, what to do ?...
stackexchange/codereview
I have this code from my professor and it's about finding abundant and defective numbers. A number x is effective if the sum of all integer divisors, except for x itself, is less than x. If it's greater than x, then it's abundant. There are no compile errors and it seems all fine, but it just doesn't print anything, i...
stackexchange/codereview
A lot of examples demonstrate multiple source tags nested in the audio tag, as a method to overcome codec compatibility across different browsers. Something like this - <audio controls="controls"> <source src="song.ogg" type="audio/ogg" /> <source src="song.mp3" type="audio/mpeg" /> Your browser does not support ...
stackexchange/codereview
I have several launch configurations in Eclipse each launching the same Java program but with different parameters. Now is it possible to run all of these at once (with one mouse click) instead of selecting each of it separately and launching it?
stackexchange/codereview
I'm starting a new project in .NET which will require some geometry algorithms, such as: checking if a point is inside a polygon bezier curves line intersections, etc. I've found some libraries, however, they are paid/expensive, these include: G# - http://www.ceometric.com/store.html DigitalRune Geometry - http://ww...
stackexchange/codereview
I don't understand how to fix this problem, what am I suppose to change 'Game' too? namespace Game { public class Help : Microsoft.Xna.Framework.GameComponent { public Help(Game game): base(game) { // TODO: Construct any child components here } public override void ...
stackexchange/codereview
After Google pioneered map-reduce the community came out with Hadoop, is there a OSS Google AppEngine project? Or, put another way: What is the best off the shelf python or java cloud software? Specifically I'm looking for something that I could host on my own and have some sort of auto-scale feature (more frequently u...
stackexchange/codereview
I am attempting to debug a problem with a ctypes wrapper of a windows DLL and have noticed differences when I run tests via an interactive shell (python or ipython) and when I run the scripts non-interactively. I was wondering if there is any explanation for the differences I am seeing here? Specifically, when I intera...
stackexchange/codereview
has any app engine already do this ? thanks
stackexchange/codereview
I am looking for advice on how to go about writing a small and simple application that will receive http GET and http PUT request, process the data (simple text files) and respond. I have all ready done this using threads and sockets but there must be a simpler and more efficient way. Also when I run my application u...
stackexchange/codereview
My web app includes an ActiveX control. However, when I run the app, I got error "object expected" error intermittently. It seems sometimes the control is not ready when I call its properties/methods. Is there a way that I can detect whether an object is ready using JS? Thanks a lot.
stackexchange/codereview
I have a weird date format in some files I'm parsing. Here are some examples: 1954203 2012320 2010270 The first four digits are the year and the next three digits are day of year. For example, the first date is the 203rd day of 1954, or 7/22/1954. My questions are: What's this date format called? Is there a pre-canne...
stackexchange/codereview
I am searching for info regarding the technical limitations of the PDF vis a vis DXF for programming purposes. I need to know whether there are operations or data embedded within the DXF that cannot be accessed via the PDF standard. Any guidance is appreciated.
stackexchange/codereview
I have some large floating point numbers such as 1243564832.75 in MATLAB. MATLAB changes the format to 1.2435e09 or if I use long format: 1.2435648e09 or something like that. Is there any way I can display the numbers in their non-engineering format (1243564832.75)?
stackexchange/codereview
I have a website where an admin can login and upload photos. All the images are placed in a directory and then on another page, i am cycling through the images and displaying them. The client has asked if there is a way to move the images around and place them in any order they want. Now looking at the site, i'm not su...
stackexchange/codereview
I currently have about 4 different database tables which output to html tables. Each of these tables uses a count query to calculate data from a 5th table. That's no problem, but what about when I want to sort and order the data, and paginate etc (like with zend). If it were a one page table, I could probably sort an a...
stackexchange/codereview
I'm trying to install the BlackBerry tablet SDK 0.9.0 for Windows but the installer gives the following error: Win64 not supported. The author of the package you are installing did not include support for this platform Is there a way to trick the installer to think I have a 32-bit OS instead of a 64-bit one?
stackexchange/codereview
I am trying to record the time it takes to load my website on an average (say 10 runs) from various locations in the world. For this, I was thinking of using a list of proxies to achieve this and am not sure this is the perfect way of doing this. Is there a Firefox add-on that lets me time this perhaps using Firebug ...
stackexchange/codereview
Trying to settle a debate with a client. I didnt localize the strings and images in the application and it didnt come up during the 3 week define and discover. They seem to think its a basic best practice and that it should have been done by default. I disagree, especially if there are no planned languages otw. Seems l...
stackexchange/codereview
I'm executing a curl command from php in background, that uses curl_exec to retrieve some data and something is wrong... when i try to pass post data to curl_exec script: exec('curl --data "'.$post_string.'" '.$post_url); all fine, i get a 200 response, script finishes successfully same command, but with "> /dev/null...
stackexchange/codereview
What am I doing wrong here? How can I execute my action? var recurse = new Action<IItem, Int32>((item, depth) => { if (item.Items.Count() > 0) recurse(item, depth + 1); // red squiggly here // ... }); I'm getting a red squiggly when calling recurse saying "method, delegate or event expected". Update I've acc...
stackexchange/codereview
The client will choose an item from a dropDown list, this newly selected value will then be used to find assets linked to that selected item, these assets will then be loaded into the listBox. This sounds simple enough, and I'm aware I could use a partial View but it seems overkill for just updating one component on a...
stackexchange/codereview
In this code I'm creating a new window when I click the button. In the new window are TextInput and DropDownList components. When the new window opens, clicking the DropDownList does nothing - you have to click it a second time round to get it to open. However, click into the TextInput field first and then try opening ...
stackexchange/codereview
So I'm trying to create a comment system in which you can reply to comments that are already replies (allowing you to create theoretically infinite threads of replies). I want them to display in chronological order (newest on top), but of course the replies should be directly underneath the original comment. If there...
stackexchange/codereview
class C { public: C() : arr({1,2,3}) //doesn't compile {} /* C() : arr{1,2,3} //doesn't compile either {} */ private: int arr[3]; }; I believe the reason is that arrays can be initialized only with = syntax, that is: int arr[3] = {1,3,4}; Questions How can I do what I want to do (that is, initialize a...
stackexchange/codereview
I need to change my SVN password. I am using TortoiseSVN client. I am not able to find the password change or add user option. Is it possible? Is there any work around or command line syntax to create an SVN user or edit users?
stackexchange/codereview
I'm trying to find the difference between two NSDates. This worked once and printed the difference, but has never worked again. I don't remember changing any thing after the one time it worked. Any ideas? Oh, and it doesn't throw an error, and if I comment out this snippet everything works. //----------- Touche...
stackexchange/codereview
How can I get getTimezoneOffset(); value from the client side in codebehind(aspx.cs file) on Page_load event?
stackexchange/codereview
It would help if I could do a search log analysis for my research. Is it possible to use a search API (Google, Yahoo, Bing) to create a log of web search queries over a specified time span, or is it available on request?
stackexchange/codereview
New to databasing, so please let me know if I'm going about this entirely wrong. I want to use databases to store large datasets (I use R to analyze data, which cannot load datasets larger than available RAM) and and I'm using SQLite-Manager in FireFox to import .csv files. 99% of the time I use reals, but would like...
stackexchange/codereview
I have an MS-Access 2007 front end. I will have multiple users on it. They are all going to be on the network company domain. Should I be using Windows authentication or SQL Server authentication to be connecting to SQL Server 2008 via ODBC?
stackexchange/codereview
I have my own domain and ftp information, and I was wondering if there is a way to pull something off an ftp server (maybe a simple text file) and display it on my iPhone. What kind of objective C code is needed for this? I have developed a couple apps but have never dealt with networking, and now that I have a site, I...
stackexchange/codereview
I am using the Dojo ProgressBar to show a long running process in Struts2 using the execAndWait interceptor. The execAndWait interceptor puts the action on the value stack for each call that returns the wait result. However, when the result type is JSON, the action only has the default values of the action. Here is...
stackexchange/codereview
I want to provide a user the ability to select a month\year I was going to just use 2 listboxes but I say that the Silverlight calendar had a year mode, which displays the months of a year (not the months with all the days). But when you click on a month it switches to displaying the days in the month selected (month ...
stackexchange/codereview
i have an innodb mysql table with a varchar(100) field called 'word'. i created a btree index on an that field. if i do a query like select * from table where word = 'non-linear', i get all variations of that word. so results would include (Non-linear, Non-Linear, non-Linear, etc...). it seems to me that that index do...
stackexchange/codereview
I'm working with the Gnuradio framework. I handle flowgraphs I generate to send/receive signals. These flowgraphs initialize and start, but they don't return the control flow to my application: I imported time while time.time() < endtime: # invoke GRC flowgraph for 1st sequence if not seq1_sent: ...
stackexchange/codereview
I'm wrapping C++ code into Python and .NET code by using SWIG 2.0.0. I'm able to wrap a (myClass*, std::string) by introducing the following sentence in the "interface.i" file: %template(Dictionary_myClass_String) std::map<myClass*, std::string>; But I'm getting several errors if i try this: %template(Dictionary_myCla...
stackexchange/codereview
I am looking for an RTP lirbary for Android. So far I could not find any. Is there any such library? Alternatively, I think I can use any RTP library for JSE for which I can get the source code. I can compile the code in Android. I will be writing a proprietary application so the license has to permit that. Can anyone ...
stackexchange/codereview
I want to edit an user. I dispay the corresponding data(username, email,..etc..password, confirmation pass) The problem is that those password fields are empty. Q: When i display data in the form the two password fields are empty. How can i make them contain data? Thanks. I am using asp.net-mvc 2 ...
stackexchange/codereview
I think I have done this before, but it could also be a function of PHP. What I would like is to do a MySQL query (in a MySQL client, not PHP) and get for example Foo A B C Bar B D E Instead of Foo A Foo B Foo C Bar B Bar D Bar E This would of course only make senc...
stackexchange/codereview
if i want to crop an image within the limits of 900px by 1000px what is a good formula to use to crop an image by its aspect ratio within the given limits and preferably using a percentage crop so that the image doesn't get distorted.
stackexchange/codereview
i'm used to write templates like this: template<typename T> void someFunction(SomeClass<T> argument); however - now I encountered templates in another thread written like this: template<U> void someFunction(SomeClass<U> argument); as far as i know one can use "typename" and "class" interchangably (except for some det...
stackexchange/codereview
self.player = [[AVPlayer playerWithURL:[NSURL URLWithString:@"http://myurl.com/track.mp3"]] retain]; I am trying make a UIProgressView for the above track. How do I obtain the file size and current file size from that URL? Please help, thanks!
stackexchange/codereview
JTable cells by default are in append mode when the cell is double clicked on. Is there a way to make the cell default to overwrite mode instead, IOW, select the contents of the cell so that if the user started typing the old text would be replaced by the new text without having to manually erase it?
stackexchange/codereview
So I am working with some jquery code to do a simple hide of a p and a show of a p. I am simple adding a class called showp and showing it while making sure the others are not shown by hiding them first. But I keep getting an error missing : after property ID. Any help would be greatly appreciated. $(document).read...
stackexchange/codereview
I have 2 tables of identical schemea. I need to move rows older than 90 days (based on a dataTime column present in the table) from table A to table B. Here is the pseudo code for what I want to do SET @Criteria = getdate()-90 Select * from table A Where column X<@Criteria Into table B --now clean up the records we j...
stackexchange/codereview
Trying to get a basic understanding of T-SQL here in SQL Server 2008. Suppose I have a table named "Issues" with columns such as: Priority User 1 Foo 1 Foo 2 Foo 5 Foo 4 Bar 5 Bar 1 Bar 1 Fuz and I wish to display a count of the Priority for each User, along with...
stackexchange/codereview
I have a number crunching C/C++ application. It is basically a main loop for different data sets. We got access to a 100 node cluster with openmp and mpi available. I would like to speedup the application but I am an absolut newbie for both mpi and openmp. I just wonder what is the easiest one to learn and to debug eve...
stackexchange/codereview
I happen to have several functions which access different arguments of the program through the argv[] array. Right now, those functions are nested inside the main() function because of a language extension the compiler provides to allow such structures. I would like to get rid of the nested functions so that interopera...
stackexchange/codereview
I need to validate a textbox to ensure the submit date is older than Today. I wanted to use a CompareValidator to do that, but unfortunately the following code doesn't work: <asp:CompareValidator ID="cvtbDateExpiration" ControlToValidate="tbDateExpiration" Operator="GreaterThan" Type="Date" ValueToCompare="<%= Date...
stackexchange/codereview
I've got a require file that I use to display random products. On the home page it gets used twice, once in the main content section and then again in the sidebar. The problem I'm having is the second require doesn't overwrite the first sql results, it adds to them? The results I'm actually getting for the 2nd set of r...
stackexchange/codereview
Considering the following Scala snippet: case class Foo(v1: String, v2: Int, v3: Any) def inspect(p: Product) = (0 until p.productArity).foreach(i => println(p.productElement(i))) inspect(Foo("Moin", 77, null)) Does the invocation of inspect() here means that reflection is used (in whatever way)? I'd like to someh...
stackexchange/codereview
I have folder img and inside of the folder I have 200 pictures. Do I have any possibility to insert all the images in a html pages to be shown, without writing this line of code 200 times? <img src="img/ladybug.jpg" alt="Ladybug" title="Ut rutrum, lectus eu pulvinar elementum, lacus urna vestibulum ipsum"></li>
stackexchange/codereview
What value should I place into <jta-data-source> of my persistence.xml? In glassfish admin panel I created a datasource name "abcDS". In my jndi.properties (inside src/test/resources) I defined it like this: [...] abcDS=new://Resource?type=DataSource abcDS.JdbcDriver=org.hsqldb.jdbcDriver abcDS.JdbcUrl=jdbc:hsqldb:mem:...
stackexchange/codereview
I am trying to create a script using FLEXIGRID as a method to display the information from a database, but I want the users to able to input info into the database as well. I would like to be able to launch a modal window where the user can input the information and submit it. The way the buttons on the FLEXIGRID are c...
stackexchange/codereview
I'd like to incorporate an existing project (hosted on GitHub) as a part of my project (into a subdirectory) while maintaining the history and the ability to update that project. I've found that there can be about three approaches: Fork the original project, move the original contents into a subdirectory and push it t...
stackexchange/codereview
I'm trying to invoke the below but the EventHander is not compatible with the RasConnectionEventArgs from my calling event, how would I invoke SetOverlayIcon and my notification icon on the UI thread? Public Sub watcher_Connected(ByVal sender As Object, ByVal e As RasConnectionEventArgs) If InvokeRequired Then ...
stackexchange/codereview
I have some NotesDocument where some RichText fields have both text and inline images. I can get text part of that items but can't retrieve inline images using lotusscript. Could any one please suggest me a way to retrieve inline images from that documents. LotusScript code: Sub Click(Source As Button) Dim session...
stackexchange/codereview
Is there a way to list down from command line the complete dependency list of kernel modules loaded in the kernel at runtime? Let me clarify my question a little bit. What I am trying to do: I get a list of all loaded modules using lsmod Then remove/unload currently loaded kernel modules by running a loop. I am usin...
stackexchange/codereview
Today, the focus of a cell phone's capabilities is drifting away from plain making a phone call. And somehow, this shows in the API's too. Therefor I'm wondering: if I want to write an app that e.g. pitches up, records, scrambles... an incoming call - you know, the voice on the other side -, what aspect of the API sho...
stackexchange/codereview
What can I do to stop ActiveX on IE from blocking scripts on my HTML5 layout?
stackexchange/codereview
Bear with me while I try to explain (over-explain?) my question. I have two objects like this: [XmlRoot("person")] public class Person { [XmlElement("name")] public string Name { get; set; } [XmlElement("ssn")] public string Ssn { get; set; } } [XmlRoot("professional")] public class Professional : Per...
stackexchange/codereview
I have a php login page with session control. It routes a normal user to info.php and an admin user to info_admin.php. If I login with a "normal" user it goes to info.php, however, in the address bar, I can go to info_admin.php and it doesn't kick me out, gives me access. How can I control this or prevent the user from...
stackexchange/codereview
Which framework has the most mature, flexible, intergrated, centralized and easy-to-use plugins/extension system. My main requirements are: a centralized system/repository where i could find a extension i need no need to make changes in the source code, the plugin should be easily enabled and disabled large plugin/e...
stackexchange/codereview
I have a collection of Root Entities (IList<RootEntity>) that is returned from an NHibernate call using the ICriteria API. RootEntity has a collection of child entities, lets call that IList<Child1Entity>. Child1Entity has a collection of child entities (IList<Child2Entity>), which, being the third layer, causes the Ch...
stackexchange/codereview