instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Everyone projects once in a while: var c = dc.Products.Select( p => new {p.id, p.name}); // results in c having properties of .id and .name What if I want to refactor that in to a method. How would I pass the Select parameter? var c = myFunction( p => new {p.id, p.name}); Product myFunction( ??? myLambda) { va...
stackexchange/codereview
I have a Visual Studio 2008 project that is proving difficult to debug. I need to attach to IIS 7 to debug it. At least 50% of the time I get the following error shortly after attaching to w3wp.exe: --------------------------- Microsoft Visual Studio --------------------------- A fatal error has occurred and debugging...
stackexchange/codereview
This is a design question. Background: We get a web request into our system from many different websites (for a widget that we give out), from which we grab the referrer string (if it exists). We use the referrer to decide on some things within the application. The problem arises in that I need to look at a list of "si...
stackexchange/codereview
I'm learning RSpec 2 with Rails 3. In order to set the contents of the tag in the layout for each page, I have a helper that can be used to set the title and then return it: def page_title(subtitle=nil) if @title.nil? @title = ["Site Name"] end unless subtitle.nil? @title << subtitle end @title.rev...
stackexchange/codereview
I looked up articles about using LWP however I am still lost! On this site we find a list of many schools; see the overview-page and follow some of the links and get some result pages: I want to parse the sites using LWP::UserAgent and for the parsing : want to use either HTML::TreeBuilder::XPath or HTML::TokeParser At...
stackexchange/codereview
We are getting the "java.io.IOException: Server returned HTTP response code: 500 for URL" error for the following code which is for applet-servlet communication. The same code has been working for long and now suddenly we see this error. Could something be wrong with tomcat setup? Tomcat logs do not show any error. The...
stackexchange/codereview
do you know why afterCreate methods are not invoked after creating the object? Look at this code: val c = Company.create println(">>> After create") c.save Which produces: c: com.subeli.officebook.model.Company = 0 >>> After create create packages create packages save packages The Company model looks like this: objec...
stackexchange/codereview
I published an app to the market one month ago but in English only. I called it Version 1.0 (after the recommendation). I have since added four more locales to this exact same app (no other changes!). So it is avail now in 5 languages: 1) English 2) French 3) Italian 4) Japanese 5) German So, exact same app but localiz...
stackexchange/codereview
Are there any plugins for Visual Studio 2010 that allow to work with Youtrack directly from the IDE?
stackexchange/codereview
As it stands right now, I have a literal control on my page. In my code-behind, I'm using StringBuilder to generate some JavaScript. Also on that page I have a item collection. What I want to do is for each item in my item collection, generate my literal which will in essence generate my JavaScript. Here is an example ...
stackexchange/codereview
I have a program with a function that retrieves a relatively short text string from one SQL database table ("html"), runs a number of regular expression queries on it, and then stores the output in another database table ("profiles"). "Html" has about 8 million records and "profiles" stores only the results. It is cu...
stackexchange/codereview
does jquery fancy box support mp3s? if not is there a a stable plugin?
stackexchange/codereview
I'm currently writing a Java Client Server Application. So i want to implement two Libraries, one for the Client and one for the Server. The Client Server Communication has a very strict protocol, that I wan't to test with JUnit. As build tool im using Maven and a Husdon Server for continues Integration. Actually I do...
stackexchange/codereview
I have a ComboBox hosted in a TabItem. When I select an item from the ComboBox, an appropriate ListView is populated. When I navigate away from the TabItem and then return, the SelectedItem in the ComboBox is empty, but the ListView remains populated correctly. The SelectedItemChanged event has not been raised. Why is ...
stackexchange/codereview
I want to create an auto-tunneler for Garena. What basically has to be done is iterate through all the items in the list box (in the right - I think that is what it is.), right click and click tunnel on each of them. I only have a C compiler with me atm. Any ideas on how to do this? What API calls and so on? EDIT: Few...
stackexchange/codereview
Is it good idea to use WCF to connect to SQL server in my silverlight application? This communication layer deals only with the database (SQL Server) and will return a large dataset most of the time. I am trying to speed up my silverlight application. I was using aspx pages and the client wants something flashier and f...
stackexchange/codereview
What's the best settings for the recorder for recording voice? What should i replace with '?' in below code? recordSetting = [[NSMutableDictionary alloc] init]; [recordSetting setValue :[NSNumber numberWithInt:?] forKey:AVFormatIDKey]; [recordSetting setValue:[NSNumber numberWithFloat:?] forKey:AVSampleRateKey]; [rec...
stackexchange/codereview
I am working on a Fountain Code based file transfer system. In this system blocks of data are downloaded, combined with an xor function. I want to verify the blocks as they arrive. What I need is a cryptographically secure hash function which has the property: Hash(A) ^ Hash(B) == Hash(A ^ B) does such a thing exist? N...
stackexchange/codereview
I am trying to query data from a list using client object model. Everything is working except mysteriously one particular field is not. They are all being pulled the same way (mostly) and I can go and look at the list and see that clearly there is data in the field but it is just not being returned. Is there somethi...
stackexchange/codereview
I was wondering how can I create a sitemap using PHP & MySQL and is there any sitemap design examples you know of?
stackexchange/codereview
I'm trying to check a presentation for the fonts that exist in it. This can be done with ActivePresentation.Fonts. I also want to check if the font is normal, bold and/or italic. Bold and Italic are easy, but Normal is not. For example, say I have two text boxes, one of them has "Hello World" in Arial Italic and anothe...
stackexchange/codereview
I have a repository where I have branched and merged back in some changes in to trunk. However I need to now revert trunk back to a revision on my branch. I imagine the solution is to use svn merge however I have not succesfully been able to use this accross branches. Any suggestions would be very useful.
stackexchange/codereview
(I'm using PHP 5.2.6 and phpinfo says it has libxml 2.6.32 loaded) I'm also using wordpress and whenever xml_parse() function is called I get &lt; and &gt; stripped out from the result, instead of being converted to "<" and ">". I found people talking this is a bug which hits newer versions of libxml but I have the old...
stackexchange/codereview
I have the algorithm for void leveltraversal(ostream& out); but i am not sure how to call it in main () . In my Assignment we are not allowed to change the header file. Is there a way to call it without overloading it? Update: void BST::levelTraversal(ostream& out){ queue<BST::BinNode*> q; BinNode* cur = myRoot; B...
stackexchange/codereview
Below program prints the Currency symbol given the ISO 4217 currency code. import java.util.*; public class Currency{ public static void main(String args[]) { Currency myInstance = Currency.getInstance(args[0]); System.out.println(myInstance.getSymbol()); } } Problem: Works fine when the stri...
stackexchange/codereview
Im new to python and regular expressions. Im searching a file line by line for the occurrence of ##random_string##, and i want to be able to capture the random_string in-between the ##s. Ive tried both patterns but no luck =/ pattern1=r'[##]()[##]' pattern2=r'\#{2}()\#{2}' prog=re.compile(pattern1) result=prog1.search...
stackexchange/codereview
I'm working on a drawing app. I want the user to be able to "drop" a shape on the screen and then move, resize or rotate it as desired. The problem is with the rotation. I have the moving and resizing working fine. I did this before with a rather complex and memory/processor-intensive process, which I am now trying to...
stackexchange/codereview
I have implemented a custom UITableViewCell which includes a UITextView that auto-resizes as the user types, similar to the "Notes" field in the Contacts app. It is working properly on my iPhone, but when I am testing it in the iPad, I am getting some very strange behavior: When you get to the end of a line, the keyboa...
stackexchange/codereview
I think it's a best practice to embed replies to a specific message inside that message and I'm trying to implement it using mongoid. here is what I have class Message include Mongoid::Document include Mongoid::Timestamps include Mongoid::Paranoia field :subject field :body field :sender_deleted, :type =...
stackexchange/codereview
Well i want to input a python function as an input in run time and execute that part of code 'n' no of times. For example using tkinter i create a textbox where the user writes the function and submits it , also mentioning how many times it wants to be executed. My program should be able to run that function as many t...
stackexchange/codereview
I have a java google app engine servlet that writes to the datastore amongst other things. It runs really fast locally. However, on app engine server each request nears 2 seconds (event after ramp up). How can I go about profiling my servlet to identify which pieces of my code are taking long? So far the only way I can...
stackexchange/codereview
i've included a directX player in c# .net 4.0 app that is included here ( answer2 ) . The problem is that when i try to initialize the object ( i.e. Player mPlayer=new Player()) this error occurs : Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without ad...
stackexchange/codereview
I need to set a property in maven pom.xml file which should be a UUID. Can anybody tell me what is the best possible way to set a property to UUID? I am using a profile which launch the gigaspaces and gigaspaces requires group name which I want to be unique(uuid). So, in my profile I want to set a groupName property ...
stackexchange/codereview
private void kartyafeleanim(String idx1, String idx2) { Animation anim1=AnimationUtils.loadAnimation(mycontext, R.anim.scalable_anim); Animation anim2=AnimationUtils.loadAnimation(mycontext, R.anim.scalable_anim); try { for (int i=0; i<6; i++) { LinearLayout LL = (LinearLayout) myLi...
stackexchange/codereview
EDIT: Bah, finally found a discussion on the Runtime Error, although it focuses on using PythonWin, which I did not have installed at the time. After installing PythonWin and setting up GTK (as per an earlier question), I was still encountering the error. The solution from the discussion board here was to append plt....
stackexchange/codereview
When I do a commit from subversive it populates a list of (and selects by default) any new files in my project directory. I want only those files which I have explicitly added to version control to show up in the commit dialog. This seems to be the same basic question as this StackOverflow question, but I really want ...
stackexchange/codereview
Greetings all, I load set of images and generate volume data.I save this volume data in a unsigned char *volume array. Now I want to save this array in a file and retrieve.But before saving I want to compress the byte array since the volume data is huge. Any tips on this? Thanks in advance.
stackexchange/codereview
Possible Duplicate: How to discover a File's creation time with Java? Using the java.io.File class to open a file, I am able to get the last modified date with lastModified(). Is there a way to find the creation time of the file?
stackexchange/codereview
I'm getting an error: "The non-generic type `System.Collections.Stack' cannot be used with the type arguments" // For use in BONUS section of lab: class LossyStack<T> : Stack<T> { private const int getAway=1; // Starts out at 1 (out of 20 random numbers - 5%) public Stack<string> escsaped; public Los...
stackexchange/codereview
I've just implemented iAds in an app with several distinct UIViewControllers. I have the delegate methods in each one for - (void)bannerViewDidLoadAd:(ADBannerView *)banner and - (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error that show and hide the banner, along with a setup metho...
stackexchange/codereview
I am developing a PHP application which will handling many company articles. Now I am creating a page which should order articles BY DATE ie all articles created in a certain day are shown with the appropriate heading and so on for all the articles. I have used Unix timestamps to save the dates in the MySql db but I c...
stackexchange/codereview
I need to extend several class in my c++ application without changing any code in application. (Product extend as a solution). Is there a specific design pattern to do that?
stackexchange/codereview
i am spending a lot for my time for a simple things i think.I want to hide and show a sprite in scene. myS = [CCSprite spriteWithFile:@"Background_Pause_pad.png"]; [myS setPosition:ccp(384,470)]; myS.opacity = 0; [self addChild:myS z:1]; and when i need to appear it.. [myS runAction:[CCFadeIn actionWith...
stackexchange/codereview
I want to create an event to change what my image button looks like, but only when it is being pushed down. So far I have been using an onTouch listener, but that just changes it permanently. I can't find anything like an onKyeUpListener() type of thing for the button. Does anything like this exist? SOLVED final Im...
stackexchange/codereview
How to store/cache a List within a Controller in Spring 3.0 Thanks Gauls
stackexchange/codereview
EDIT: I found out that the keys aren't the problem like I said in the comments. I can use them without any issues to encrypt and decrypt data on OpenSSL. But I need to decrypt a string on OpenSSL that was previously encrypted via Crypto++ and that's not working. I'll post additional details later. Hi, I have encrypted ...
stackexchange/codereview
Is there any equivalent middleware for c like rmi for java or .net for c#?
stackexchange/codereview
I have made a mistake when designing my application database several years ago and collation settings of my tables and table fields are mixed. Some of them are utf8_general_ci and some of them are utf8_unicode_ci. This causes problems when joining tables with different collations. Now, I am planning to change collation...
stackexchange/codereview
I'm currently writing a plugin for our integration server that uses libxml2's xmllint command line tool to validate XML files. According to the manual, xmllint has a --nowarning option that suppresses warnings. Now, my question is rather simple, and I'm probably just missing something blatantly obvious, but what causes...
stackexchange/codereview
public ActionResult Index() { var pr = db.products; return View(pr); } Firstly - I want to pass to the view more data - something like: public ActionResult Index() { var pr = db.products; var lr = db.linksforproducts(2) return View(pr,lr); } How do I read the lr data in the view? Secondly - on...
stackexchange/codereview
I made a very simple interactive console that I'd like to use in a complicated scraping application. It looks like this: #!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys, codecs, code sys.__stdout__ = codecs.getwriter('utf8')(sys.__stdout__) sys.__stderr__ = codecs.getwriter('utf8')(sys.__stderr__) if 'DE...
stackexchange/codereview
I have a set of software library modules which are developed in c++. So, I use g++ to compile my software. This has to be used by various existing applications which are written in C and compiled with gcc. When the other teams used g++ to compile their code, they started getting lot of compiler errors due to strict ty...
stackexchange/codereview
Possible Duplicate: What does !! mean in ruby? Hi, I'm new to Ruby and can't find anywhere description of what "!!" means. Here's an example: def signed_in? !!current_user end If this is a double negative, why not to say: def signed_in? current_user end Please help.
stackexchange/codereview
I also want to know whether glibc malloc() does this.
stackexchange/codereview
This is probably going to be tough to explain. Basically I have the following structure to my project: I have an object (graph) which controls other objects (nodes) and (arcs). Everything is working fine and dandy but I've found the need to add buttons to my node objects. This is working fine too, I have an NSLog outpu...
stackexchange/codereview
I have an ASP.NET Web Forms application. There is a page with TextBoxes and users enter search terms into these which are used to query the database. I know that I need to prevent JavaScript injection attacks. How do I do this? In MVC I would use Html.Encode. It doesn't seem to be recognized in Web Forms. Thanks!
stackexchange/codereview
I am using the Zend Framework and using Zend_Http_Client to make a POST request to a third party API. $client = new Zend_Http_Client('http://api.com'); $client->setParameterPost(array( 'param1' => 'value' )); $response = $client->request('POST'); echo $response->getBody(); This API returns an XML document as its ...
stackexchange/codereview
I've tried running valgrind (memcheck and massif) on an app I wrote, but all I get back are addresses for the functions that executed. --------------------------------- Context accounted for 0.6% of measured spacetime 0x805F29A: (within prog_name) 0x8141740: (within prog_name) Called from: 0.6% : 0x812E077: (w...
stackexchange/codereview
I am building a simple performance logger that hooks in to Application_EndRequest / Application_BeginRequest I would like to send my logger the name of the action and controller as some sort of key. How can I access this information? (Don't mind if I have to intercept it earlier on and keep it around in the context) ...
stackexchange/codereview
What are the most important limitations of the ADO.NET Entity Framework 4.0 that business application developers should be aware of? I have used it in some pet projects of mine and it seems very efficient, but I am concerned about the problems I will face when I am building large, more complex data-driven business app...
stackexchange/codereview
I'm wondering if it is possible to use VBA to store, delete and recreate relationships on tables in Access VBA? The deletion part is easy, but how to store it in such a way as to be able to restore it after it's been deleted is where I get stuck. I originally wanted to know so that I could bulk copy certain tables from...
stackexchange/codereview
Folks, My first time on Stack Overflow. Hope y'all can help ... I'm trying to use Selenium to click on the 'Buy Now' button on an html page. Here's the HTML snippet: </div> <a href="javascript:void(0)" class="buttonCheckout">Buy Now</a> <a href="#" class="buttonSoldout">Sold Out</a> </div> I used the Selenium ...
stackexchange/codereview
If I try to execCommand("justifycenter"... a paragraph on my page in Firefox, it doesn't work; it's giving me this crazy error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS f...
stackexchange/codereview
def by_this(self): return super(MyModelManager, self).get_query_set().filter(this=True) def by_that(self): return super(MyModelManager, self).get_query_set().filter(that=True) If i do MyModel.objects.by_this() or by_that() it works. But i want to do: MyModel.objects.by_this().by_that()
stackexchange/codereview
printf conversion specifications are % followed by flags, width, precision, length modifier and conversion specifier. Is there practical limit to size of a conversion specification? I.e. %s is 2 chars long, while %08.2f is 6 chars long. My question is, what is the length of the maximal single specification in a format ...
stackexchange/codereview
In VS 2010 I have created a test method in partial class stored in Default.Partial.aspx.cs within the same directory as Default.aspx.cs but it isn't recognized by the Default.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Summary description for Default ...
stackexchange/codereview
Is there any reason an asp CompareValidator validates after postback. ie everything runs when i click the button, and the error of the validator shows on the screen after postback. i have a compare validator on 2 dates (datefrom and dateto). if the dates are in gregorian format the validator works fine, but if the date...
stackexchange/codereview
I would like to retrieve data from my WCF service as the user is scrolling over a datagrid. What are some options for accomplishing this, particularly those that would favour following the mvvm pattern.
stackexchange/codereview
I have xml file with TAG like this: <Question>dzia&amp;#322;owa</Question> I'm reading this file using XmlTextReader and for this TAG I get something like this: dzia&#322;owa How to replace html entity numbers inside my xml to get something like this: "działowa"?
stackexchange/codereview
I have an application running perfectly on windows azure since april. Unfortunetly, about 2 weeks ago it suddenly stopped. It would not run again until we upgraded the Azure Guest OS to the newest Version(1.7). Over the last two weeks we're noticing that session data transferred between pages (eg. http://program-url/ca...
stackexchange/codereview
Does TweetDeck or Seesmic have a custom URL scheme that can be used within an iPhone application? If so, what are the structures of these URL schemes?
stackexchange/codereview
Apache's StringUtils.isNumeric() method specification says: Checks if the String contains only unicode digits. A decimal point is not a unicode digit and returns false. Null will return false. An empty String ("") will return true. Is this logically right? Why do they see empty string as numeric?
stackexchange/codereview
I need to wrap a group of WPF controls to that I can toggle their visibility at the same time. How can I do that?
stackexchange/codereview
I am using Rails and I want to use contraint in route to exclude that route if keyword "incident" is anywhere in the url. I am using rails3. Here is my existing routes. match ':arg', :to => "devices#show", :constraints => {:arg => /???/} I need to put something in constraints so that it does not match if word "incid...
stackexchange/codereview
I need some thoughts in this :) I think i might be trying to do the impossible. I’ve got a website with a lot of company profiles (300+). I want to place a stream on every profile page, and allow the owner of that profile page to enter some keywords in the backend with the keywords they want the stream to display. 1 th...
stackexchange/codereview
I have this block of code executed when pressing a number: NSString *currentValue = [@"" stringByAppendingFormat:@"%.02f", [[[[[textField text] stringByReplacingOccurrencesOfString:@"." withString:@""] stringByReplacingOccurrencesOfString:@"," withString:@""] stringByReplacingOccurrencesOfString:@" " withString:@""...
stackexchange/codereview
I'm trying to convert this adaptive bayesian rating formula into PHP code: see here. Here are the details of the various parts of the formula.. nvotes : total number of votes so far nlinks : total number of links nvotes(k) : number of votes cast to rth link. deltarank(k, m) : rank increment caused by kth vote that is ...
stackexchange/codereview
I'm using C# and WinForms. When using a button with a BackgroundImage property, when I enable/disable the button, the image doesn't get gray... Result : The user is unable to tell if the button is enabled or disabled without trying to click it. When using a button with a Image property, the image's behavior is correct ...
stackexchange/codereview
I have a simple table: <table cellpadding="0" cellspacing="0" style="width:600px"> <tr> <td style="width:100px; padding:5px; border:1px solid #444">E-mail</td> <td style="width:500px; padding:5px; border:1px solid #444">ex@ex.com</td> </tr> <tr> <td style="width:100px; padding:5px; border:1px solid #4...
stackexchange/codereview
I have a DLL of a VB 6 Project that has one class and a form. The form is called from that class when its constructor is called. I made a DLL from the project, add that DLL is in my .NET project references. Now when I call that class DLL it gives the following error: Creating an instance of the COM component with CLSID...
stackexchange/codereview
The disadvantage would be in comparison to a technique that was specialized to work on threads that are running within the same process. For example, does wait/post cause the whole process to yield, rather than just the executing thread, even though anyone waiting for a post would be within the same process? The semaph...
stackexchange/codereview
I'm using mySQL InnoDB tables. The query is simple but it just takes too long to run. Its bound to run even slower once I upload it to a server (not to mention that these two tables will keep growing in size). The 'author' table size is 3,045 records. The 'book' table size is 5,278 records. SELECT author.*, count( auth...
stackexchange/codereview
How to open One jsp from another through Struts? For example, I have 2 JSPs, Page1.jsp & Page2.jsp. Page1.jsp does not contain any Form. Page2.jsp contains a Form. I need a link on Page1.jsp which when clicked takes me to Page2.jsp. What are the Actionmappings needed to be added to struts-config.xml? Update: I trie...
stackexchange/codereview
I play a sound in viewDidLoad now when user push home button sound paused.when user run app again sound play from place that paused before.how can i stop it(no pause) when user push home button?
stackexchange/codereview
Hello I am using cakePHP 1.3 and I am unable to retreive the last inserted row's id. I actually am using $this->Model->id to retreive the last inserted id but I am unable to get the id. When tried to check what is return type, it says as bool(false), which means nothing is returned. Here I am loading a different model ...
stackexchange/codereview
Is there a simple way how to launch a process in .NET and redirect its output(s) to a file? I know that in Win API I can pass a file handle to the CreateProcess function. In .NET I can do something like startInfo.RedirectStandardOutput = true; and then use BeginOutputReadLine and StandardOutput to get the data and sa...
stackexchange/codereview
I print to the standard output some characters from a wide UTF-8 range in a Java application. My console is configured for UTF-8 support. My problem is that sometimes, when I decide to print 10 characters for example, I see a number of character which is less then 10. I think this is due to the console which interprets...
stackexchange/codereview
Working with cascading choices in the new(er) FMP seems to be a little weird. My intention is to create a bunch of drop-down lists / pop ups that rely on the previous choice. If a user clicks on a Customer drop-down, the next drop-down (address field) will ONLY have related data for that customer street address. Once...
stackexchange/codereview
I want to learn how to read other processes memory and have my program call the other processes functions and what not with my own parameters and stuff. I've googled it and it seems like you need to use things like ReadProcessMemory but I haven't been able to find any good tutorials explaining how to use them. Could an...
stackexchange/codereview
Since I need to create a dynamically updated navigation menu, css requires me to structure the data this way: <li>Projects (Menu Level 1) <ul> <li>Project 1 (Menu Level 2)</li> <li>Project 2 (Menu Level 2)</li> <li>Project 3 (Menu Level 2)</li> </ul> </li> <li>News (Menu Level 1)</li> <l...
stackexchange/codereview
I'd like to be able to parse a string of JSON representing an object into a property bag (like a Dictionary) which I can use in C#. Given this string: { "id":1, "name":"some name", "some parameter":2 } I want to end up with a Dictionary which contains "id", "name", and "some parameter" as keys and 1, "some name", and...
stackexchange/codereview
Can anyone tell me how to implement Binary tree using C++ STL set. I have implemented binary tree using structures in C and class in C++ struct binary { int node; struct binary *left; struct binary *right; }; I am not sure about how to implement it using STL set. Actually I don't know how to to represent l...
stackexchange/codereview
i want to try to find out all the fieldValue based on fieldName MNC.java: private Map <String, String>formFields = new HashMap<String, String>(); public void setFieldValue(String fieldName, String fieldValue) { if (formFields == null) { formFields = new HashMap<String, String>(); } ...
stackexchange/codereview
I created a package and a package body as below: Create or replace Package pkg_1 as procedure main(param1 varchar2, param2 varchar2, param3 int); procedure one(param1 varchar2, param2 varchar2); procedure two(param1 varchar2, param2 varchar2); end pkg_1; / create or replace package body pkg_1 as procedure main (param1...
stackexchange/codereview
I am just getting started with on a project and hope to use Oracle streams. I am looking for a straight-forward, hello-world type of example using Oracle Streams. Can you point me to a tutorial or show me an example? Thanks
stackexchange/codereview
I've a widget which I would like to delete programmatically if the user gives the command by clicking on some button or so. But as per my knowledge the app programme and the widget programme will be running in different processes. So how is it possible to get the control of another process remote view and delete the sa...
stackexchange/codereview
I'm having a problem with SIMPLE XML. I seem to have an array with dumping the whole object. However, when I try to access the array, I get a single element of the array back. Here is the full dump: SimpleXMLElement Object ( [@attributes] => Array ( [type] => array ) [person] => A...
stackexchange/codereview
We are having an SSRS server configured over a live IP. Before I can start building reports, I want to know What are best practice for developing reports that are easy to deploy How can I maintain SVN copies of my reports I was suggested to create shared data sources, what are they and what are benifits? What are secu...
stackexchange/codereview
now we are working in one project.in that project we choosed HTML5 and CSS3 designed. but still we have confuse on server side scripting, whether php,ruby,python,scala,and more and more..our requirements is nothing but SERVER SCRIPTING LANGUAGE:our server side scripting language is secure and more helpfull(ease of de...
stackexchange/codereview
I record audio in .caf format and later need to convert it to .wav in order to send the file as a email attachment. How can I convert the file to wav format in iOS 3.1.x? The format of the audio: [NSNumber numberWithInt:kAudioFormatLinearPCM], AVFormatIDKey, [NSNumber numberWithFloat:11025.0f], AVSampleRate...
stackexchange/codereview