instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I use TEmbeddedWB (internet explorer activex) in my projects. I want to prevent people from uploading files: ex: goto gmail.com and then attch a file: Internet explorer opens the upload file windows that allows people to access local disk. Is there a simple way to prevent this windows from being displayed ? Regards
stackexchange/codereview
I have the following situation (outline): Authorization Webservice This service gets called and verifies (by executing the given business logic) whether a user is valid or not. Custom Business Webservice This is some webservice created for a business app, that internally calls the "Authorization Webservice" in order to...
stackexchange/codereview
I currently have a SLA in a .rtf format, which is to be integrated into .dmg using the intermediary .r mac resource format, which is used by the Rez utility. I had already done it by hand once, but updates made to the .rtf file are overwhelming to propagate to the disk image, and error-prone. I would like to automate t...
stackexchange/codereview
Can someone help me to understand what makes left panel on the blog post autoscroll? With social links http://www.sohtanaka.com/web-design/nomination-judge-the-net-magazine-awards/ maybe plugin? if not tutorial link will be helpfull.. want this effect sooo much.
stackexchange/codereview
I'm trying to create a Word 2010/2007 VSTO add-in and have run into a couple of questions: If I use the Backstage View and other 2010 features in the Ribbon, how will Word 2007 handle them? (i.e. do I need to do some kind of conditional checking for version? If so, how?) The whole Primary Interop thing. Does setting a...
stackexchange/codereview
I am looping through an array, and for each value, I need to insert another array containing a few items. The below code inserts the array fine: foreach($events as $Key => $val): $schedule[$Key] = array( array('event_id' => 'test', 'start_date_time' => '...
stackexchange/codereview
That's Pretty much it. I took a set of Active Directory classes we'd had in our webservices for years, and seperated & migrated it into our Libraries so I could also use them in a winform app I'm whipping up. Migration worked fine. Running it via the original webservice, works normally, I can debug into the Classes jus...
stackexchange/codereview
I'm trying to use the scale effect from the jQuery UI library on a wrapper element that contains a Flash object. The problem I'm encountering is that the content of my wrapper is automatically moved into another wrapper (.ui-effects-wrapper), and when this happens the Flash object reloads. Of course, the specific probl...
stackexchange/codereview
On a quest to expand my programming prowess, I've delved ever-so-slightly into The Standard PHP Library. This led to my discovery of the SplDoublyLinkedList class. From there I read the descriptions of Linked Lists and Doubly Linked Lists on Wikipedia. I understand how they work... But I cannot conceive of a reason ...
stackexchange/codereview
queryParms.add(new Long(empRec)); I am using JDK 1.5 and using wrapped longs to a list. My Boss was yelling at me seeing this. Is it a good approach? Does it impact in terms of performance. What should be alternative?
stackexchange/codereview
Is there any way to specify an ws endpoint address on glassfish server using annotations only?
stackexchange/codereview
Is there a way to display song title on the multitasking bar, and multimedia section of the lock screen in a background audio app, like the iPod/Music/Video apps? So far my app works in background, responds to media playback controls (on the multitasking bar, lock screen, headphones, external accessory, etc.) and hand...
stackexchange/codereview
I am accessing nearly 30,000 words and showing in a table. The words are in a sqlite file. So it takes long time (15 seconds) to run the query and load the word in a table. Apparently the app wait 15 seconds in startup. How can I get around this ? NSLog(@"Query start"); CFTimeInterval startTime = CFAbsoluteTimeGe...
stackexchange/codereview
I am trying to float text over an image in the 3rd column of the first row within a table. This cell has an <img> within it (processed by psd slicing) and I want to put text over it. I have tried float: left and position: absolute but nothing seems to work. Any ideas?
stackexchange/codereview
Does jQuery have any tools I can use for request-throttling? Something similar to how auto complete works. More specifically this is the kind of thing I'm trying to do: **Customer entry:** First Name: J Last Name: Smi **Search results:** Joe Shmoe -edit button- John Smith -edit button...
stackexchange/codereview
This isn't a crucial piece of knowledge for me, but I would still like to know what exactly is happening here. This is a .NET 3.5 Web Forms application. One of the pages has 3 server-side inputs with type 'submit'. Each one of these inputs has the following JavaScript handlers assigned to them with jQuery: $('.butt...
stackexchange/codereview
I have a table with thousands of records, Now the problem is I want to get last record from the table. I don't know how to get, Can you please help us
stackexchange/codereview
Is operator overloading for classes and structs always resolved at compile-time?
stackexchange/codereview
I'm looking for an example on how to create a RadGrid NestedView template that loads the data when expanded. All the examples I see use a SqlDataSource, but I would prefer to avoid that since I'm not using it on the parent grid (using the NeedsDataSource event). This can't be that hard... I just can't get the databind...
stackexchange/codereview
I have an unusual problem. In the company where I work we have a lot of source code in our codebase, plus we use a lot of 3rd-party libraries. We're using MSVC 2005. The problem is that linking our executable is very time-consuming (several minutes). Plus the memory usage of the linker reaches 1.7 GB, whereas the final...
stackexchange/codereview
On http://simplepie.org/demo/, if you insert mashable.com it automatically fetches the Feed URL. How is it done?
stackexchange/codereview
I'm having issues getting fancybox to run - I am running a few other jquery's too. Below are the scripts that are running. <!-- latest jQuery direct from google's CDN --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> <!-- the mousewheel plugin - opt...
stackexchange/codereview
Our site is using PHP Version 5.2.14 Lately our hoster probably changed magic-quote defenition, and I came up with the suggested solution [code bellow] Is this solution OK for PHP Version 5.2.14 ? What should I change when we upgrade to PHP version 6 ? // Code: function fHandleQuotes($s) { if (get_magic_quotes_gp...
stackexchange/codereview
dataset = dataset.where(:headline.like("%" + headline + "%")) if headline.present? I have a search form where i can search for headlines. But the headline search is case sensitive :S. This is the comparison oh the headline and the headline in the dataset. Thought like wasnt case sensitive :S Is ther somethin else that...
stackexchange/codereview
Are table aliases faster than just using the tablename instead? Or doesn't this make any difference? And do you guys have some good tips to use table aliases? Or recommends/non-recommendations? Thanks, Bruno
stackexchange/codereview
I have a fairly large number of rows where a datetime field is stored such as: 0010-01-03 00:00:00 But, I need it to be: 2010-01-03 00:00:00 Any suggestions on how to mass change rows from 0010 to 2010?
stackexchange/codereview
How can I set the default value of my slider to 100 ? self.slider = tk.Scale(self.leftFrame, from_=0, to=256, orient=tk.HORIZONTAL, command=updateValue)
stackexchange/codereview
Within a WP7 project, I need to data-bind controls within DataTemplates (a Pivot TitleTemplate, for example) to top-level items on the MainViewModel. How can this be done? Thanks.
stackexchange/codereview
I'm calling rtmpdump via subprocess and trying to redirect its output to a file. The problem is that I simply can't redirect it. I tried first setting up the sys.stdout to the opened file. This works for, say, ls, but not for rtmpdump. I also tried setting the sys.stderr just to make sure and it also didn't work. I tri...
stackexchange/codereview
After trying several options of having a decent mechanism which allows to use ObservableCollections with the option to dynmically having them updated using an Edit window and binding, without having the global collections updated while making changes on the bound controls, so far the best solution seems to be : Clone t...
stackexchange/codereview
private void jButtonStiahniActionPerformed(java.awt.event.ActionEvent evt) { //start the Rengine (JRI) String src,symbol1,symbol2 = null,title; REXP exp2; Rengine re = new Rengine(null, false, null); re.eval("library('quantmod')"); if(!boolOanda){ ...
stackexchange/codereview
I have problem with this query, complexity of this query is not good, i use this query from long time and now this database have many rows to get selecting by this method. All index'es is added propertly. I searching some other method to optimize this query by date comparsion because this is bottleneck in this solution...
stackexchange/codereview
I need to check if an authenticated user is authorized to access a directory. I have done this before with a base class library method, I just cannot remember what class it's part of or what it's name was. I think the method was a static method and the class may have had the word Utility in it's name, but I just can't...
stackexchange/codereview
I have to print a file (plain text) using javax.print api's. I am able to lookup the printer and submit a print job. But i am able to only print one copy of the file. Below is the code i have been using. None of the options/attributes i specified using the PrintRequestAttributeSet is recognized by the printer. Though i...
stackexchange/codereview
In the code below: interface I1 { } class CI1: I1 { } List<CI1> listOfCI1 = new List<CI1>(); IEnumerable<I1> enumerableOfI1 = listOfCI1; //this works IList<I1> listofI1 = listOfCI1; //this does not I am able to assign my "listOfCI1" to an IEnumerable<I1> (due to covariance) But why am I not able to assign it to an ...
stackexchange/codereview
I am trying to use the Windows performance counters to get the virtual bytes usage of a specific process. It seemed simpler to read the % CPU usage, so I thought I would try to get that to work first. At the top of the file, I have this: #include <pdh.h> #include <pdhmsg.h> Then in a function, I have this: PDH_STATUS...
stackexchange/codereview
I got a ADO.NET Entity Data Model that I want to use on several databases (on the same server), how would you solve it? // This results in a exception, "Specified method is not supported". private MyEntities _db = new MyEntities(); public IQueryable<MyObject> GetMyObjects(string database) { _db.Connection.ChangeDa...
stackexchange/codereview
Is it considered a bad design if a function uses the value of a parameter only if another parameter has a certain value? Here's an example function: validate_input($field_name, $validation_rule, $validation_value); Here's the function in use: validate_input("username", "required"); validate_input("username", "min_leng...
stackexchange/codereview
I have a bunch of events with values (how many people went through a doorway). Each event is associated with a Date. There is no fixed period to the events .If no one comes through the door, no event is generated, but often multiple people can go through at once, so the value can be greater than one. Sometimes events a...
stackexchange/codereview
i have the structure of the website all pages in folders --- home [directory] ------------------------- home.aspx ------------------------- anything.aspx ------------------------- another.aspx --- content [directory] --- users [directory] . . . etc so if i make the default document for this site home/home.aspx any cod...
stackexchange/codereview
I want to show picasa album in a grid view in my android app. I have the username/password + album id of the album from which i want to load the album. i tried implementing this via gdata library but eclipse is giving an error on line2 in following syntax: PicasawebService myService = new PicasawebService("exampleCo-ex...
stackexchange/codereview
i recently updated from GWT 2.0.4 to 2.1.0. Since then I cannot compile my GWT application anymore. When I click on the GWT compile button of the GWT eclipse plugin I get the following error: java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Com...
stackexchange/codereview
TSQL Function to calculate 30 WORKING days Date from a Specified Date (SQL Server 2005)? Input parameters would be Date and Number of Working Days. Output would be the Calculated Date. This would exclude Saturday, Sunday, Holidays and Day Holiday was observered. i.e. If the Holiday falls on a weekend but it is observ...
stackexchange/codereview
I need to execute some commands via "/bin/sh" from a daemon. Some times these commands takes too long to execute, and I need to somehow interrupt them. The daemon is written in C++, and the commands are executed with std::system(). I need the stack cleaned up so that destructors are called when the thread dies. (Catchi...
stackexchange/codereview
I am trying to get a validation process to work using Javascript, my form has four radio buttons and one submit button, and I wanted to make it so if the user clicks submit and no radio buttons are selected then it pops up an alert and doesn't submit the form. Here's what my form looks like: <form method="post" name="i...
stackexchange/codereview
How does one dynamically create table cells based on a dataset? Is Javascript/ajax required for this? Is it possible to use a template div for the cells? Just looking for some direction.
stackexchange/codereview
I'm learning/practicing Regex. I've written this to test for url's...I want it to catch url's in these formats: www.site.com www.site.co.uk etc site.com play.site.com So I've written this: (http:\/\/)*(www)*\.*(\w{2,})(\.{1})(\w{2,3})(\.*)(\w{2,3})* (match http:// 0 or more times, followed by some more characters 0 o...
stackexchange/codereview
I've got a table with three columns, obj1, obj2 (both varchars) and the distance between the objects. Unfortunately the way the data was constructed, I've double the number of entries, for example, obj1 obj2 distance c1 c2 10.5 c2 c1 10.5 Want I want is to be able to delete one...
stackexchange/codereview
I've recently started using boost. So far most things have been pretty straight forward. But one thing that is driving me nuts is the proliferation of shared_ptr throughout boost. Even in trivial examples, shared_ptr is used. So my question is, if I am using boost for accepting tcp connections and then handling them. A...
stackexchange/codereview
Say I have a templated class: template <typename T> class foo { void do_someting(T obj) { // do something generic... } }; and I want to specialize do_something, but within it I want to call the "normal" do_something function: template<> void foo<MyObj>::do_something(MyObj obj) { // do something specific... ...
stackexchange/codereview
I'm making a skin previewer for my site; I need to rotate parts of an image to create a representation of this for my users to see. The skin is a PNG file, and all parts of it may have transparency or even none at all. I need to be able to rotate this image while keeping any transparency inside the image transparent, w...
stackexchange/codereview
I'm trying to figure out how I can insert a NULL value into a column of newly inserted row. I'm working on "post icons" which will display a small icon for the thread on the thread list. The icons use RADIO buttons in the form. By default it is set to No Icon. I was wondering what to do for the value of that radio butt...
stackexchange/codereview
I know there is most probably something seriously wrong here because I only started on iOS yesterday but I can't seem to get this to update the screen properly, the count works fine and it's incrementing and checking the conditions correctly just that the screen doesn't get displayed, can anybody point me in the right ...
stackexchange/codereview
I'm currently working on a console application that will pass a vcxproj file and compile it using GCC. Unfortunately, I've come up against a whole load of problems pretty much instantly. I notice a bunch of directory shortcuts such as: VCTargetsPath VCInstallDir SolutionDir ProjectDir UserRootDir and so on. Where d...
stackexchange/codereview
why i always get userDetailDao exception null when executed : package com.springweb.service; import com.springweb.dao.UserDetailDao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.springframework.dao.DataAccessException; impor...
stackexchange/codereview
Visit this URL using Safari or Chrome browser: http://aspspider.net/sunlight1000/two_col_div_layout_w3valid.htm Set the width of the browser’s window to make sure the height of the Green box is greater than the height of the Red box. Then grab the lower edge of the browser’s window and drag it to the lower edge of the ...
stackexchange/codereview
I am New to android, My task is to playing a small audio file when we touch an image?
stackexchange/codereview
Excuse the simplicity of this request - but is there a way for me to link onClick commands for buttons through the Layout rather than code. I am trying to create a simple app and I want to be able to make buttons and have clicks go from one "page" to the other. Is there a site that might overview how to use the UI to c...
stackexchange/codereview
I'm running into an issue with getting the right cookies for the current subdomain. I have two different instances of the same application, one running at the www subdomain and the other running at the test subdomain, but it seems like the test app is pulling in cookies from the www instead, even if there are explicit ...
stackexchange/codereview
I would like to add a method to send a String of message to client, it was hard to find a good example on the web. Does it use write for sending message to port 8090, do I need to add flush as well? try { InetAddress addr = InetAddress.getByName("127.0.0.1"); int port = 8090; Socket socket = new Socket(add...
stackexchange/codereview
I have search Android docs and for some insane reason I am not able to find the list of all available intent filters. I am finding an intent filter, which would do something like notifying me through Broadcast Receiver that a particular Activity (example browser, or email) has been started or in the foreground. Can any...
stackexchange/codereview
I have a legacy database I'm trying to redesign into the 21st century. One of the existing data structures involves a particular class which contains a 2-dimensional matrix of values. If I were to reverse-engineer this class from the database, I'd end up with a series of attributes like: private BigDecimal NODE_1_MAT...
stackexchange/codereview
I'm working on a personal project involving Javascript, and as part of that project, I want to grab the current date (including time) and display it accordingly. No big deal right? Well, the deal is that I want to return the time & date in Eastern Daylight TIme, no matter where in the world the IP is. If this is not po...
stackexchange/codereview
I have a char * that is actually 10 digit string. I basically take that in my function and spit out a code. Now i have made a static lib that i will share with someone else...the question is ( i am using c++) for the definition of that api that i will provide in my header do i just put const char * const or not. I am ...
stackexchange/codereview
you know send a ajax you can use javascript lib like: jquery $.ajax or $.post .. but this need to open the webpage but how to send a ajax and get the ajax return value not using open the webpage on google app engine thanks( i use python) updated class CounterHandler(BaseRequestHandler): def get(self): self...
stackexchange/codereview
This is IEEE 754 standard question. I don't completely understand the mechanics behind it. public class Gray { public static void main(String[] args){ System.out.println( (float) (2000000000) == (float) (2000000000 + 50)); } }
stackexchange/codereview
Asp.Net MVC 2 Futures doesn't seem to handle JSON DateTime well (including double and decimal values). As such, I setup all inputs as string, used Data Validation, and things worked pretty well. However, I have this JSON2.js date from Firefox 3.6: "/Date(1288296203190)/" How do I turn this in to a valid date in C#? v...
stackexchange/codereview
I keep seeing reference to both the C++ standard Library and the C++ Standard Template Library (STL). What is the difference between them? Wikipedia mentions that they share some headers but that's about it.
stackexchange/codereview
What I had done is: I have one IBOutlet for UIImageVIew and [self.imgPView setImage:[UIImage imageWithContentsOfFile:imagePath]]; and on somewhere, I had show AlertView UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Warning" message:@"Problem is already submitted, Do you want to submit again?" delegate:self...
stackexchange/codereview
How to rotate video in VideoView for 90 degree ? Thanks for advices
stackexchange/codereview
I've got a fork of the rails repo on github, in which I've got a branch, based on the rails-2-3-stable branch. I want to develop some changes based on rails 2.3.10 together with my app. We're using bundler, and the app is versioned with SVN. What is the cleanest way to use my branch in the github fork of rails and shar...
stackexchange/codereview
I have exported the following C function to be invoked in a DLL file. uint8_t* _stdcall GetCurrentImage(); Now I want to call this function in C# to get a bitmap Image. How can I do this? Thanks in advance!
stackexchange/codereview
I finally had success compiling a "blank" Apache module, but now I've hit a rather annoying snag. I want to communicate with a MongoDB server and I opted for the only lib around for FreePascal/Lazarus, pebongo. Dependency for pebongo is synapse. Somehow I'm getting "/usr/lib/apache2/modules/mod_visius.so: undefined sym...
stackexchange/codereview
I've encountered a strange problem - application is rapidly slowing down as it runs. Only thing that springs to mind is a memory leak, but how to detect it in javascript? Are there any tools? Anyway, here's the code: function draw_ship(){ //Body var sbpaint = ctx.createLinearGradient(shipx+20,shipy,shipx+20,shi...
stackexchange/codereview
I have an excel stored in project folder. i want to show whole excel,when user click on button showexcel. once excel open, the user should have write,edit and save options also.
stackexchange/codereview
this sounds like something you could just google, but been looking for hours. basically have this string i am ajaxing from another site 'function onclick(event) { toFacebook("http://www.domain.com.au/deal/url-test?2049361208?226781981"); }' it comes out like that because im extracting the onclick. i just want to extra...
stackexchange/codereview
How do you break out of a foreach loop while within a switch block? Normally, you use break but if you use a break within a switch block it will just get you out of a switch block and the foreach loop will continue execution: foreach (var v in myCollection) { switch (v.id) { case 1: if (tru...
stackexchange/codereview
I'm trying to use URLLIB2 to open a URL and read back the contents into an array. The issue seems to be that you cannot use string interpolation in a URL that has formatting characters such as %20 for space, %3C for '<'. The URL in question has spaces and a bit of xml in it. My code is pretty simple, looks something li...
stackexchange/codereview
I am allocating memory in the class method initialize: UIColor * customBlue; UIColor * customRed; @implementation UIColorConstants + (void)initialize{ if ( self == [UIColorConstants class] ) { customBlue = [[UIColor alloc]initWithRed:0 green:0.137 blue:0.584 alpha:1]; customRed = [[UIColor alloc]initWithRed:.91...
stackexchange/codereview
Greetings all. I have 2 actions: "Find" and "Run". They can be invoked in 3 ways: Find only; Run only; and Find and Run. I want to put both actions in Jobs. For the case of "Find and Run", what is the best way in Eclipse to have the "Run" job wait for the "Find" job to complete. Importantly, the "Run" job depends on th...
stackexchange/codereview
For a small timer app I want to write a GTK interface where I can set the desired time. Here is a picture of the interface: However, I am having trouble reading out the fields of the spin buttons. My envisaged procedure for this is the following: Read out the buttons using methods for each button Here is one of the...
stackexchange/codereview
I am creating multiple select element like this and it is showed successfully on form: $element = new Zend_Form_Element_Multiselect('clinics'); $element->setLabel("Clinics"); $element->setAttrib( 'style','width: 240px' ); $element->setMultiOptions( array( '1'=>'clinic1', '2'=>'clinic2' ) ); After rendering above eleme...
stackexchange/codereview
I have an application which runs on mobile devices such as android, and I have some third party traffic tracking js code to track the usage of my application. So everytime a user opens up my application the js code sends a ping to the 3rd party tracking server. However I'm not sure if there's an easy way to embed the j...
stackexchange/codereview
Any opinions on best way to organize members of a class (esp. when there are many) in C++. In particular, a class has lots of user parameters, e.g. a class that optimizes some function and has number of parameters such as # of iterations, size of optimization step, specific method to use, optimization function weights ...
stackexchange/codereview
I'm trying to extract some common code into a gem. I'm thinking that acts_as_somethingis a good strategy for simple re-use. Is there a good tutorial that discusses this for rails3 gems? I've found several that discuss rails2 (such as http://guides.rubyonrails.org/plugins.html) but that is specific to rails2 here are ...
stackexchange/codereview
What I have is this: $SQL = "SELECT * FROM users"; $query = mysql_query($SQL) OR die(mysql_error()); $row = mysql_fetch_array($query); $implodeEmail = implode(", ", $row['paypal']); $mailTo = "noreply@" . $_SERVER['HTTP_HOST']; $mailSubject = $bootTitle; ...
stackexchange/codereview
I found myself using a lot of individual bindings to my App class for storage of properties and this led me to a untracable stackoverflow exception. I've now decided I would move those properties to a separate singleton ApplicationInfo class but I am having some issues with the binding. If I bind directly to a member ...
stackexchange/codereview
I have a grails app configured with spring-security-core and I need to allow Facebook / Twitter logins. I'm using the facebook plugin for grails and I'm using twitter4j for twitter authentication. Currently, I am successfully authenticating against Twitter and Facebook. I'm wondering how I am to integrate those login...
stackexchange/codereview
Why am I given three choices when merging between my code and someone else's? Shouldn't there just be my code, the other person's code, and the output below? The documentation for KDIFF doesn't help me understand.
stackexchange/codereview
I have one text box immediately after that one button. If i click on that button dynamically i get one more text box, but the focus is not coming to new text box. Can any one suggest something. Thanks in advance Venkat
stackexchange/codereview
I am in need of a method to convert GregorianCalendar Object to Unix Time (i.e. a long). Also need a method to convert Unix Time (long) back to GregorianCalendar Object. Are there any methods out there that does this? If not, then how can I do it? Any help would be highly appreciated. Link to GregorianCalendar Class --...
stackexchange/codereview
I just threw together a custom AutoMapper ValueResolver to try to map a condition from my domain object to a boolean property on an MVC view model, and it's so simple that I have a feeling there has to be a built-in way to do what I'm trying to do without a custom resolver. The logic that I'm trying to implement is tha...
stackexchange/codereview
I often want to tell some comments inside of the text, which aren't so closely related to the discussed topic. Usually for this purpose I use the quotation environment, because of its large indent on the left. The comment can be large, it can include formulas, code listings, nested quotations, and so on. How can I make...
stackexchange/codereview
I'm writing a review system for items in Ruby on Rails. I want the process to be as follow: users to start entering their review/ratings when they hit submit, if they're not logged in, users are redirected to the signup or login page, they create and account or signup they're redirected to the post where they wrote ...
stackexchange/codereview
I want to select some objects from an array. Therefore I'm using begin and end indexes of my selection. NSLog(@"start:%d\nend:%d", startIndex, endIndex); NSIndexSet *myIndexes = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(startIndex, endIndex)]; NSLog(@"%d", [myIndexes lastIndex]); The first NSLog gives me st...
stackexchange/codereview
I'm quite new to C++ but have some basic C knowledge. In my past C (university) projects, I used Valgrind to check for memleaks. Now, with C++, is Valgrind a valid tool? Does C++ suffer the same problems concerning memleaks like C? Or are there even better tools to use in conjunction with C++?
stackexchange/codereview
I have a CGI script that will convert a given string to a date/time using the unix date command. I'm looking for a format that can easily be embedded to a URL without the need for escaping with a %20. The client that is building the date/time into the URL does not have a conversion to unix time (seconds since epoch) ...
stackexchange/codereview
I want to add several functions from a single .m file. Is this possible without actually having to create an individual m file for each function?
stackexchange/codereview
I have an app in Android Market which is a standalone app that's essentially a full conduit to an SQLite Database(add, change, delete, inquiry). Some of my potential clients have asked to see a sample of my work, but they don't have an Android device. Other than just showing them screenshots etc., is there a way I coul...
stackexchange/codereview
I'm researching solutions for a potential client. They're requesting the ability to download a large amount of MP3's (1000+) from their online catalog. I've researched/tested building a zip containing all MP3s using ZipArchive but ran into obvious memory leak issues that have ruled that solution out. I'm now trying to...
stackexchange/codereview