instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
As we know there are several methodology for http connection. My social network application will start a lot of uploading, downloading and synchronization's task. So I need stable and more efficiency connection. How many methods for http connection in Android? Which one is more efficiency? Exception HttpURLConnection, ...
stackexchange/codereview
I have a databound dropdown list (ASP.net). I want the page to load with a certain item as the selected item. I am not adding a blank first row (thats not what i need) I find that I can get this to work with "AppendDataBoundItems" to true, but the side-effect is that I have all the items listed twice. thanks for your h...
stackexchange/codereview
This image manipulation is done with Flash, how can I do this with Html5/JQuery. Drag the bar up or down to see the change. http://tmagazine.blogs.nytimes.com/2009/09/15/model-morphosis-marc-jacobs-beauty-2/
stackexchange/codereview
Regarding the AsyncFileUpload control in .net, the control will execute the file upload once i select a file. In my concern is, is it possible to disable the upload once i select a file so that i could process the upload asynchronously with a submit button.
stackexchange/codereview
in the spirit of graphics.stanford.edu/~seander/bithacks.html I need to solve the following problem: int x; int pow2; // always a positive power of 2 int sgn; // always either 0 or 1 // ... // ... if(sgn == 0) x -= pow2; else x += pow2; Of course I need to avoid the conditional. So far the best I came up wit...
stackexchange/codereview
how can i get the rotation of the device in the four main orientations? and is there a corresponding event that i can capture? also, is it possible to disable this rotation for my app? thanks!
stackexchange/codereview
I'm trying to use this module on opencms: http://www.codedroids.com/en/opencms/downloads/com.codedroids.oc.forms.html I am following the documentation: http://www.codedroids.com/export/download/pub/forms-guide.pdf It says "add those properties to the page: MailSubject, Form, MailTo, MailFrom, etc" but how do I exactly ...
stackexchange/codereview
I was wondering how I could set the color for the popup overlay (which is now white). And I was wondering if it's possible to set the popup to autoresize to popups content. Additional question Is it possible to resize the popup if the content changes? Thanks in advance!
stackexchange/codereview
I have a Silverlight page that loads an iFrame. Within that iFrame is Javascript code that is generated by the pega tool from http://pdn.pega.com/ The generated Javascript code basically creates a form with a textbox and a few buttons. so in the end when the Silverlight application loads I have a list box on the left s...
stackexchange/codereview
I am playing around with implementing a REST service on the Google AppEngine. I would prefer using GAE Java and JSON for communication between the service and clients. What is everyone's favorite libraries for doing this? What type of security do you prefer to implement using REST? Basic authentication or something els...
stackexchange/codereview
I know that we can retrieve text from a text box or text area and then insert the data into a table. How can we do the opposite? That is, how to place all the data back into specific text fields or areas from a database based on some condition? Update: I have to do a mini-project. Its a HR Information System project. ...
stackexchange/codereview
I am currently using the ansi-wl-pprint library. The width function is undocumented, but I need to set it so that the width of the page is 80 characters instead of the default 100. How do I do this? Function width accepts a Doc as its first argument and then a function from Int -> Doc as the second argument. There are...
stackexchange/codereview
I have ajax requests (multiple) coming to my servlet. Each Request is created on the onBlur of the text box. I have a total of 3 such text boxes. I have a requirement that when the response of the firt result comes, then only should the next request be fired. Please let me know if any one has worked on anything like...
stackexchange/codereview
First of all I want to say big thanks to Doctrine developers, guys you are rock! My problem is the following: I have three tables: person (id, name, isActive) email (id, address, isActive) personEmailRel(id, personId, emaiId, isActive) And I want to get list of emails by person: /** * Unidirectional - Many persons ha...
stackexchange/codereview
As the title says, are there limits (if any) for session variables or they're considered as usual variables and can store equal amount of data? I'm looking if there are any other limits aside from variable type ones like max length, max values and so on. P.S. If the question is unclear, please let me know. Thanks in ad...
stackexchange/codereview
Is there any idea how to implement a java programm that captures video/audio from a webcam /microphone and stream it to multiple clients. I know about JMF but it is quite old and not well document or supported.
stackexchange/codereview
I have this: double result = 60 / 23; In my program, the result is 2, but correct is 2,608695652173913. Where is problem?
stackexchange/codereview
I created a app with the iOS 4.1 SDK. In this app I did the following: I add two UIView's as subview to the Window of the Application. One view is a navigationcontrollerview and the other is a view that displays advertisement. The user can then navigate trough the app will the ads are displayed uninterrupted. Now com...
stackexchange/codereview
I want to clear everything from my url and just leave www.mydomain.com/... no profiles no controller no action no ids no vars in the url... is that posible?
stackexchange/codereview
When you use your safari on iphone, you can see the page control on the right bottom corner. If you press this button, all pages will show, also they can be edited too. I try to do the similar thing like this. I want to press my edit button on the toolbar, then all the subview will appear a delete control on the left t...
stackexchange/codereview
I asked someone to code up a loop for me, although I asked for the loop to run constantly as it should be doing checks. Say I wanted it to run for 2 hours in a loop. They created this; $result = select_query ('tbltest', 'id,userid,test'); while ($data = mysql_fetch_array ($result)) { $userid = $data['userid']; ...
stackexchange/codereview
When I execute getDefault() on a java.util.TimeZone object created from ColdFusion 9 I am getting "Pakistan Time". We are in the eastern timezone and our server (Windows 2003) is reporting proper timezone. Where would ColdFusions JVM be getting this timezone? TimeZone: Pakistan Time (Asia/Karachi)
stackexchange/codereview
Is there any way to integrate PythonTidy-like functionality directly in Coda?
stackexchange/codereview
In T-SQL a cursor can be declared in two ways (that I know of): declare CursorName cursor for ... declare @CursorName cursor I was running some tests and I notice that the creation of a cursor variable will not add an entry to the result of sp_cursor_list. Is there any advantage/disadvantage on using the second appro...
stackexchange/codereview
In C# what is the performance cost of using the new keyword? I ask specifically in relation to games development, I know in C++ it is a definite no-no to be newing things every update cycle. Does the same apply to C#? I'm using XNA and developing for mobile. Just asking as an optimization question really.
stackexchange/codereview
I want to read the docs from the database & store into to my local machine.. Can you provide any sample code snippet for this? Regards, Krishna Thanks for providing suggestions... based on your suggestions I have written the code & I am completed... Please look into my blog.. I posted the code over here... http://mural...
stackexchange/codereview
When I call the view-controller, I have the following options : Cancel - To cancel the SMS sending functionality Send - To send the SMS Edit the message When I try any of the above options, my view is reset, in short, the navigation bar id shifted by some pixels upwards on all the screens. In order to get that back, ...
stackexchange/codereview
I have to call a function on a button click event like this private void btnConnect_Click(object sender, EventArgs e) { string localHost = "192.168.10.3"; string logInDetails = "gp"; //SqlConnection sConnection = new //SqlConnection(ConfigurationSettings.AppSettings["ConnectionString"]); try {...
stackexchange/codereview
I have a listview and a button next to it that uses the selected item to do an action. If the user doesn't make a selection, but clicks on the button they are told to make a selection first. What I have below works, but is there a way where the calling method doesn't have to have the "if(not selected)" return statemen...
stackexchange/codereview
What is meant by a hardware thread. Is it always double the number of processor cores available? How to determine the number of hardware threads in an Intel Core2 Duo processor? Can it be determined through Java code?
stackexchange/codereview
I'm just curious if it actually loads the asset into memory every time it's called or if it looks it up, finds if it's loaded and if it isn't loaded it loads it once and just keeps references so the second time it's called it just grabs a reference to it?
stackexchange/codereview
I am new to iOS programming and I have read some useful articles on the release and allocation of memory and thought that i understand the concept. But during the actual coding, I can't seem to really apply the theory. I am really confuse over the fundamentals of iOS programming and hope that someone can help out. Than...
stackexchange/codereview
I have an application made with Delphi 2006 and Firebird 2.5. For connection a use Interbase components from Delphi. I setting up in design time a TIBDatabase with username, password tc, and work ok, but when i want to run application in another pc (first i install Firebird 2.5 on it), i received this error: Statement ...
stackexchange/codereview
I just wandering if I can generate a SOAP message from a object. The class of the object was generated from an xml schema .xsd file by xsd.exe. The problem is that I want to avoid to use soap attribute to markup the object field to soap element mapping. If this is not the smart way, please shed some light how can I ma...
stackexchange/codereview
I want to write a application in C# using WMI that can get and change Windows credential stored in the Windows Credential Manager, as you see in the picture below:
stackexchange/codereview
I'm very new to Android and I have the following layout xml code: <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="1" android:background="#CCC"> <TableRow ...
stackexchange/codereview
I have several classes that are derived from SPPersistedObject. One of them is my top level class that then contains a collection of other derived SPPersistedObjects. Here is a rough outline of my code: [System.Runtime.InteropServices.GuidAttribute("9BEDC353-F0AC-40FA-A28B-E18FB22EA9CA") internal class FolderSettings :...
stackexchange/codereview
How do I pass an Environment.NewLine (or a < br />) inside a ViewData["msg"] that renders as a real <br /> inside the View itself? I'm using C# ...
stackexchange/codereview
I've created a many to many relationship using default conventions in EF CTP4 by defining an ICollection on both image and project entities. The mapping table is created as below: create table [dbo].[Images_Project] ( [Images_Id] [uniqueidentifier] not null, [Project_Id] [uniqueidentifier] not null, primary key ([Image...
stackexchange/codereview
I'm working on a wordpress theme and I'm trying to call the parent category's name to pull the appropriate page template. I can get the call function to echo the correct name, but when I try to nest it the function doesn't run. I saw that I needed to use { } since I was already inside php but it still isn't working rig...
stackexchange/codereview
I was curious if there is a shared hosting platform for asp.net web sites that would allow me to setup a service that would do something at predetermined intervals. Dedicated hosting is not an option due to budget constraints. So far, it looks like my solution will have to be to set an object in the cache and use the e...
stackexchange/codereview
I want to retrieve the XML data from SQL Server database and bound it to the DropDownList using LINQ query on C#. XML field in clients table: <root> <clientname>andrew</clientname> -- dropdownlist text field <clientid>1</clientid> -- dropdownlist value field <clientname>jim</clientname> <clientid>2...
stackexchange/codereview
I have made a program that draws on a image on a picturebox and now i want to print and print preview this, but don't know how. Please Help, Thanks EDIT I have tried using print and print preview dialogs but don't know how to work them properly to print and show the contents of a picturebox and its image
stackexchange/codereview
this is a ffmpeg issue. I've got this error saying it could not find the hq preset file, then I read in the documentation that it looks for the preset files at 'PREFIX/share/ffmpeg' and also at '$HOME/.ffmpeg'. The thing is I'm calling ffmpeg from whithin a php file that calls a python script that finally executes the ...
stackexchange/codereview
I tried to change the padding of a TextView which is placed on a widget. Direct via 'findViewById' it isn't possible because the class extends from AppWidgetProvider. Therefore I tried to use remoteViews.setBundle with the following code. But this is not a solution. Bundle b = new Bundle(4); b.putInt("left", 5);b.putIn...
stackexchange/codereview
I'm currently using some configuration files from several project modules inside batch script(scriptx.sh) which tests the whole process. scriptx.sh uses 3 configuration, one is from project xx(SVN location - project_name/xx/config), other from project xy(SVN location - project_name/xy/config) and last one from project...
stackexchange/codereview
I have migrated my project from .NET 3.5 to 4.0 and hence I am using MSBuild.exe of C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 instead of C:\WINDOWS\Microsoft.NET\Framework\v3.5. This is causing ExecuteDDL task failure. Please help. Cheers, Nabin
stackexchange/codereview
Say I have a dataset, and I change a value in a datarow, but the value is identical to the old value: dataRow["someField"] = 2; // but it already had value 2! Does this cause an update statement to be executed on the database, or does it recognize that nothing actually changed and perform no update?
stackexchange/codereview
I know how to set the permissions for a folder: <DirectoryRef Id="ProgramFilesFolder"> <Directory Id="PHPFolder" Name="PHP"> <Component Id="PHP_comp" DiskId="1" Guid="*"> <CreateFolder> <Permission User="Everyone" GenericAll="yes" /> </CreateFolder> However I need the permissions to be applie...
stackexchange/codereview
I am considering to do an in-app purchase model within a paid app that releases or adds video content if the user opts in via a google check out method. Does anyone know how to do this from a coding standpoint? and does anyone know if this is possible? thank you ahead of time...
stackexchange/codereview
Is there any way to convert JSON to XML in Ruby?
stackexchange/codereview
Is it possible to mix iOS code and interface elements with Unity generated iOS code? For example if I am working with a game developer who is developing a game in Unity, could I take his xCode project (generated by Unity), and add interface elements which I code myself using Objective-C & Interface Builder etc? From w...
stackexchange/codereview
My workplace uses a closed network, so all software tools have to be manually transferred. I've installed Subversive (version 0.7.9) successfully, and brought in the latest archive for the connectors from here: Polarion SVN Connector download site. I was able to install the connectors in Helios Eclipse by going to Help...
stackexchange/codereview
The using the user agent function of PHP is there an easy way to serve up custom style-sheets and Smarty Templates based on what device their using: eg a mobile device vs laptop/desktop.
stackexchange/codereview
I have a hopefully simple problem. I want to change the information in a row group header of a DataGrid. The item source is a PagedDataCollection with a GroupDescription. I already changed the style like this: <Controls:DataGrid.RowGroupHeaderStyles> <Style TargetType="Controls:DataGridRowGroupHeader"> ...
stackexchange/codereview
From a full screen application, I need to launch another program (Skype in this case). I managed to minimize the full screen application and show Skype, but once finalized, the app does not return to full screen. Is there a way to launch Skype embedded in my WPF form or something? The application is running on a publi...
stackexchange/codereview
Is it a good practise to use negative margins to remove padding of wrapper element? For example, which of the following code pieces is better to use? <div style="padding: 5px;"> Shortened width string <div style="margin: 0 -5px;">Full width string</div> Shortened width string </div> or <div> <div style="padding: 5...
stackexchange/codereview
Hey all, I've been checking out the Facebook BB SDK, find it to be a little bit complicated and not being able to debug it for some reason doesn't really help my comprehension of it. The use I need of this is quite limited since I only wanna be able to post to FB as status update and besides that just require the permi...
stackexchange/codereview
We are using jQuery(1.2.3) ajax post and we are getting 12031/501 error message sporadically. What could be the reason of this error? Sample code jQuery.post('${pageContext.request.contextPath}/sample/someAction.do', jQuery("#form_name").serialize(), function(status){ //Some other code for checking the status....
stackexchange/codereview
I've been trying to write a function in C that detects palindromes. The program currently looks like the following: #include <stdio.h> #include <string.h> int main() { char palindrome[24]; int palength; int halflength; gets(palindrome); palength = strlen(palindrome); halflength = palength / 2; pri...
stackexchange/codereview
I am trying to get an image to move to certain x and y withing this application.I have tried with layoutParams via searching but it is not working here is my full application code. main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" andro...
stackexchange/codereview
I try to convert pdf file (5 pages) with imagemagick. I can convert it but i get a weird extension. Example: fax.png.0, fax.png.1, fax.png.2, fax.png.3, fax.png.4 This is the command that i use: convert -density 140 /var/www/html/ok/fax.pdf -resize 25% -quality 100 -colors 256 /var/www/html/ok/fax.png How to fix it s...
stackexchange/codereview
I have a running instance of eshell in one buffer and I am writing c++ source in another one. I had bound compile to <F5> and I am wondering if it is possible to run the output file (of the compilation) in an eshell instance running in another buffer? If not, then maybe there is a way to open eshell in new frame and a...
stackexchange/codereview
I am using MPMusicPlayerController and AVAudioPlayer simultaneously. For audio balancing, I have two volume sliders for MPMusicPlayerController and AVAudioPlayer each. If I mute the MPMusicPlayer volume and increases AVAudioPlayer volume, the overall device volume mutes and I'm not able to hear the AVAudioPlayer sound....
stackexchange/codereview
I have a little problem with my phpmyadmin, in fact I accidentally delete multiple user accounts. Since it is impossible to connect without the error: # 1045 - Access denied for user 'root' @ 'localhost' (using password: NO) I have search a little on the net before, and even the technic: UPDATE mysql.user SET Password...
stackexchange/codereview
Normally when you open a dialog using ShowModal, execution of the current thread halts until the dialog is closed. I want to display a Modal dialog, but continue execution on the current thread while the dialog is still open. By "Modal" I simply mean that the user can not interact with any of the other forms of the app...
stackexchange/codereview
I am learning ML. Can some one please help me out with basic input/output functions in ML?? I just want to read input from console and store it in a variable and use it in my ML program. Please help. If you can point me towards some example for this also it would be super great!!! Thank you.
stackexchange/codereview
hey can someone tell me how to embed a file like this http://circa-med.org/circa-med.swf and play it in android. I m a beginner. So dont even know how to play video files. It will help if u are android specific.
stackexchange/codereview
my basic xml structure: <?xml version="1.0" encoding="utf-8"?> <users> <user userId="1" userName="nameHere" userAge="34"></user> </users> and then: How can I get the special attribute's value by its name? Just like : variable value = user.attr('userAge') Thank you very much!!
stackexchange/codereview
I got this following scenario, There are four tables COUNTRY, STATE, CITY, STREET And I have the excel file with the records of the above..possibly 2000 rows as of now. I used SqlBulkCopy to import the data to a temp table, lets name the table IMPORT. And i wrote one trigger for insert on the IMPORT table which gets th...
stackexchange/codereview
I'm writing my first iPad app that plays a video on a portion of the screen. My problem is that if the user changes to another view while the video is playing, the audio keeps playing in the background. I assume I have to add something to the "viewDidUnload" method but I'm not sure what to do. Any ideas? Thanks for any...
stackexchange/codereview
I have a grid which loads some data from DB at the page load. the id column is a hyperlink column, on clicking the column it should navigate to the next page with the id which should be in an encrypted format.
stackexchange/codereview
I have some following set of data from where I want to select Top 1 row for each PK_PatientId based on the current order PK_PatientId PK_PatientVisitId PK_VisitProcedureId DateSort ------------ ----------------- ------------------- ----------------------- 1 4 4 2009-06-22 0...
stackexchange/codereview
I'm using MS Enterprise Library 5.0. I'm having trouble getting started. Looking for a example to insert one row into a table with 15 columns? All i can find are complicated examples using dataset. Is there a simple sample code to insert one row into a table using enterprise library?
stackexchange/codereview
I have an element that contains (surprise!) an article. There is a list of tags at the top of the page that are found in the article. When a user clicks a tag it any matching words in the article are highlighted. What I am having trouble with is then automatically scrolling to the highlighted word. Is there any way to...
stackexchange/codereview
I'm new to boost and i am trying to build up a distributed random graph generated by the erdos algorithm. All goes well since i specialize the internal_vertex_name template to work with named vertices as suggested in the doc. You can find the code here. I get a lot of compilation errors like: boost/graph/distributed/s...
stackexchange/codereview
Possible Duplicate: How to check the machine type? laptop or desktop? How do I know if the computer is desktop or laptop? by c# code
stackexchange/codereview
I would like to know which one of the following is the best choice for O/R mapping in PHP: Axon CakePHP Doctrine Kohana PHP lworm PdoMap Propel Rocks Qcodo Redbean Sphorm Torpor We are going to use PHP only for Web Service implementation. We have a Java background so a framework which is inspired by Hibernate would be...
stackexchange/codereview
G'day All This is a small detail but it does affect the professional finish of my app. My app follows the pattern of a tab bar with a navigation bar on each tab with more than 5 tabs hence a "More" item. I have a custom tint applied to the navigation bar but I haven't been able to find a way to access the navigation ba...
stackexchange/codereview
I want to divide my screen in two parts,I have a LinearLayout and it contains two LinearLayouts again. How to divide these two LinearLayouts into two equal parts?
stackexchange/codereview
I want to use the getJSON() method for cross domain check i am using the following <script> jQuery.getJSON("http://localhost:3003/home/unique_email/1?email=example@gmail.cmo&callback=result", { format: "jsonp" }, function(result) { alert(result.text) }); </script> in the controller def unique_email co...
stackexchange/codereview
The goal: There are two tables, a table of alumni and a table of contributions - each contribution is related by the alumni's ID Get a list of alumni who have contributed 2-3000 within the date range of 2002-10-10 and 2003-10-10. Result needs to show alumni's name, ID, each alumni's total given for all-time, and each...
stackexchange/codereview
I use Python 2.5. and have a problem with shutil.move print(srcFile) print(dstFile) shutil.move(srcFile, dstFile) Output: c:\docume~1\aaa\locals~1\temp\3\tmpnw-sgp D:\dirtest\d\c\test.txt ... WindowsError: [Error32] The process cannot access the file because it is being used by another process: 'c:\\docume~1\\aaa\\...
stackexchange/codereview
The camel book suggests that V-strings can be used for representing IPv4 addresses: $ipaddr = 204.148.40.9; # the IPv4 address of oreilly.com But perldata on the topic of Version Strings states: Note that using the v-strings for IPv4 addresses is not portable unless you also use the inet_aton()/inet_ntoa() ro...
stackexchange/codereview
I am currently working on a project with the final aim of converting a legacy system to a true N-Layer architecture. The initial part of the project involves converting the underlying database to a true relational design. The underlying database is currently running on the IBM iSeries. The tables are defined using DDS ...
stackexchange/codereview
Im currently using base64_encode for some $_GET params that i don't want regular user to mess with. I was wondering that base64 is not looking too strong or is it ? I also don't want to make some sort of mega encoding it's not so much of important information, but i would not like that user with average knowledge would...
stackexchange/codereview
Emulator --- Device Hey people. I'm not very experienced in Android development, so I would like to know what I have to expect. I wrote an app of about 1000 lines of code, which is running perfectly fine in the emulator. So what will it be like when I install it on a physical device? Ain't got one here at the moment, b...
stackexchange/codereview
I want to know any software which can compare zip files
stackexchange/codereview
Can we write a select query in an aggregate function parameter? For example, is it possible to write a SQL query like the following? SELECT SUM (SELECT EMP.SAL FROM EMPLOYEE EMP) FROM EMPLOYEE E;
stackexchange/codereview
Is there an easy way to develop UI in android?
stackexchange/codereview
I have a dictionary of keys like A1-A15, B1-B15 etc. Running dictionary.keys().sort() results in A1, A10, A11 ... def sort_keys(dictionary): keys = dictionary.keys() keys.sort() return map(dictionary.get, keys) How do I sort it so that they get in the right order, ie A1, A2, A3 ... ?
stackexchange/codereview
I want to run simple applet in my web application using html applet tag but it gives error like java.lang.ClassNotFoundException: MyApplet please, give me sample application if possible .....
stackexchange/codereview
I have used [anArray retainCount] to get the retain count of array..(i know this should not be used but i am using just for learning retain concept) Following is my code. NSString *str = [[NSString alloc] initWithFormat:@"a,b,c,d"]; NSArray *anArray =[[NSArray alloc]init]; NSLog(@"Retain count: %i", [anArray retai...
stackexchange/codereview
Here's another question I met when reading < Windows via C/C++ 5th Edition >. First, let's see some quotation. LPVOID WINAPI VirtualAlloc( __in_opt LPVOID lpAddress, __in SIZE_T dwSize, __in DWORD fdwAllocationType, __in DWORD fdwProtect ); The last parameter, fdwProtect, indicates the prote...
stackexchange/codereview
I've a simple applications that lets you create groups of people form persons in your AddressBook... So Groups and Persons are in a one-to-many relationships, since a Group can have multiple persons. That's not a many-to-many since I create my own model of Person. Adding data works without problems. Deleting data doesn...
stackexchange/codereview
I have a simple tabbar app. Built directly from the tabbar template. As I test the app, I notice that the app sometimes crash. After pinpointing the right sequence, I found out that the app will crash if I do this: Run app. Open the view that has a UIPickerView on it. Open another view. Tap home button (this will send...
stackexchange/codereview
In my dumy rails project, I use devise to provide the login/out and authentication function. But I need provide the virtual user more functionalities. for example upload his avatar picture. Then problems comes. It seems that devise is confilict with the "mvc" principle, because I can't the expected user_controlle.rb , ...
stackexchange/codereview
Hi I have populated uiscrollview with images (code is bellow) but I don't know how to add some event to images inside. I want to double tap on image inside scrollview and get some event. Any direction how to achieve this? arrayOfImages = [[NSMutableArray alloc] init]; NSString *img; for (img in imgArray) { ...
stackexchange/codereview
Good night, I was trying to make a simple dll in C++/CLI to use in my c# library using something like the following code: // This is the main DLL file. #include "stdafx.h" namespace Something { public class Tools { public : int Test (...) { (...) } } } I can compile th...
stackexchange/codereview
Hay I have a model like this def Photo(models.Model): # Photo object fields... def PhotoThread(models.Model): photo = models.ForeignKey(Photo) message = models.TextField(blank=True) reply_to = models.ForeignKey('self', related_name='replies', null=True, blank=True) votes = models.IntegerField() As...
stackexchange/codereview