instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Will How to use flash.filesystem.FileStream ? FileStream.as file Where?
stackexchange/codereview
When sending passwords via UTF-8 encoded socket transfer, is it considered to be secure if I hash the password using either MD5 or SHA-1 prior to sending out the data? Keep in mind that I plan to compare the hashed password in a SQL database. I am worried that someone could be able to sniff the hashed password in UTF-8...
stackexchange/codereview
Sample String : a.txt Reading:RG1:+ /user/reading/Monday:12 Reading:RG1:- /user/**/Friday:12 Reading:RG1:- /user/**/*.txt:12 Reading:RG1:- /user/tet/**/*.txt:12 I am looking to extract the string after + or - what ever the string i want it using : cat a.txt | grep RG1|grep '+'| cut -d':' -f3| cut -d'+' -f2 |sed -...
stackexchange/codereview
I am implementing a MKMapView based application. In that I need to get all the annotations from the mapview. Is it possible to get all the MKAnnotationViews added to the mainMapView ?
stackexchange/codereview
I get the following error message when I'm trying to use std::string with boost::asio::buffer: boost/asio/detail/consuming_buffers.hpp: In constructor 'boost::asio::detail::consuming_buffers< boost::asio::mutable_buffer, boost::asio::const_buffers_1 >::consuming_buffers(const boost::asio::const_buffers_1 &)...
stackexchange/codereview
You are developing a new version of an existing website locally. Along with that you are making some changes to the database schema for that website - again locally (through phpMyAdmin). The new version is ready and you want to upload it to the remote server. You upload the files through FTP (that's easy) and now the f...
stackexchange/codereview
I would like to create a time table like layout which has a dynamically adjustable lengths as shown in the picture Please provide some pointers on how to implement this. Thanks & Regards, Sen
stackexchange/codereview
I cant really find my answer after browsing (not a lot of topics on cocos2d with game center) I currently have my sandbox game center set up and I am able to authenticate, but when I create the leaderboard it is launched sideways in portrait I assume. Tried rotating the view but nothing. My game runs only in landscape ...
stackexchange/codereview
In flex I have an air app using a local database called mydb.db. In the app I have an option to open a new database. When the user clicks open they then browse and select the db file they wish to open. The app then copies the selected database file to its local directory and I want it to overwrite the database file it...
stackexchange/codereview
There is a product-feature matrix. It has thousands rows (products) and hundreds features. It has binary values that show if the product has this feature or not. So it could be a table of 40 000 rows and 900 columns. Product-feature matrix pr f1 f2 f3 fn ... 01 0 1 1 1 02 0 0 0 0 03 1 0 1 0 04 1 0 ...
stackexchange/codereview
Im having such a problem, I have a menu that has some hidden sub content. That when the user clicks the nav button some hidden content will appear. That part is fine and all working. What I need to know is when I have one nav item showing it's hidden content. If the user clicks on the next nav item. I would like the ot...
stackexchange/codereview
I upgraded a project I did in Visual Studio 2008 to VS 2010 and now the following line won't compile using (TextWriter textWriter = new StreamWriter(_viewContext.HttpContext.Response.OutputStream)) { textWriter.Write(_tag.ToString(TagRenderMode.EndTag)); } The error message I'm getting is: OutputStream is not ava...
stackexchange/codereview
I am having a problem renaming a FTP file using the following code: Dim Request As FtpWebRequest = DirectCast(WebRequest.Create(New Uri("ftp://sftp.mycompany.com/myfile.txt")), FtpWebRequest) 'Set that we will be renaming a file Request.Method = WebRequestMethods.Ftp.Rename 'Provide the new filename ...
stackexchange/codereview
I am looking the hyphenation aglorithm downloaded from the OpenOffice site, but I couldn't understand what the parameter rep, pos, and cut are for after looking at the comment. Could someone with the knowledge tell me what these parameters do? Here are the comments. From the example, it seems like it's saying ff can be...
stackexchange/codereview
How can I verify if the user is root?
stackexchange/codereview
I am trying to perform a drag and drop operation from a QTreeWidget to QGraphicsView. dragStart() works, and dragEnterEvent() works, but dropEvent() is never being called. Also the pixmap is not showing up until the cursor enters the QGraphicsView, which isn't a problem, but I just thought it would appear as soon as ...
stackexchange/codereview
I am trying to parse a rather large XML file - 1MB+, but I am having some difficulties. I first tried to add the xml file to the res/xml and parse it with the XmlResourceParser, but I got an exception saying "Data exceeds UNCOMPRESS_DATA_MAX". After a bit of research I found out that the compressed files have to be unc...
stackexchange/codereview
We have a product which is being slightly customized for each client. The exact customization is unpredictable - we assume that any point in the code can become needing change. However, we want to keep one code base, as 90+% of the code will be identical, so we don't have to merge every update or new feature to each ...
stackexchange/codereview
I'm looking for something similar to C++'s boost::bind but in C. What I want is to be able to: bound_function = bind(my_function, some_param); and have: bound_function(something); execute myfunction(some_param, something); So basically, whatever is bound to the function pointer will always be passed as the first par...
stackexchange/codereview
Assume we have three classes A, B and C. B is derived from A and C is derived from B. Now we have a pointer that points to an object of class A. Due to Polymorphism it can actually point to instances of all three classes. With typeid() i can check what type the pointer actually refers to. But I'm trying to determine if...
stackexchange/codereview
I am working on an ASP.Net MVC 3 RC project. I have one area named Drivers. I have a LoadPartial() action in a controller in the Drivers area that returns a PartialView(string, object); When this is returned I get an error on my webpage that says "The partial view 'PublicAttendanceCode' was not found." It searched th...
stackexchange/codereview
Greetings, I get the difference between pass by value and pass by reference. But pass reference (such as array) by ref and pass array by value is something i can't seem to comprehend. How can you pass a reference by reference? int[] myArray = {1,2,3}; PassByVal(myArray); PassByRef(ref myArray); Pas...
stackexchange/codereview
for example i have this: static int callFunction(lua_State* L) { int p = lua_gettop(L); if (p == 1 && lua_isfunction(L, -1)) { /* * now i need something like "get the function thats in the first parametre */ } return 0; } now i need to get the function thats in the first parametre of the function in this C...
stackexchange/codereview
I want to run single test class from command line using Maven and TestNG Things that doesn't work: mvn -Dtest=ClassName test I have defined groups in pom.xml, and this class isn't in one of those groups. So it got excluded on those grounds. mvn -Dgroups=skipped-group test mvn -Dsurefire.groups=skipped-group test when...
stackexchange/codereview
I'm writing this in PHP, but, generally speaking, what methods and properties would a user (registration?) class have? I know I can use MDB2 from PEAR for database abstraction, and one feature I can think of is making sure the username is valid. $user->validateUserName($username, $regex); Can anybody think of any more...
stackexchange/codereview
I have 4 popups, defined like this: <Popup x:Name="MyPopup1" IsOpen="True" Margin="0,10,0,0" Grid.Row="0" > <Popup.Child> <Thumb x:Name="thumb1" DragDelta="Thumb_DragDelta" Width="0" Height="0" Template="{StaticResource thumbDisplay}" /> </Popup.Child> </Popup> ...
stackexchange/codereview
we want to evaluate Cruisecontrol 2.8.4 for our build process. It comes with a nice dashboard with symbols on the frontpage representing a project and the status. What is missing is the name of the project, only if one hovers over the rectangle it shows the project name in a tooltip. Is there any way to display the na...
stackexchange/codereview
I have a piece of code which creates a std::vector<T> with a known size: std::vector<T> vectorOfTs(n); Does calling push_back increase the size to n+1? vectorOfTs.push_back(T());
stackexchange/codereview
This is related to Tomcat 6 with JAASRealm and a custom JAAS module for security. Other Application Servers seem to support the mapping of application role names (in web.xml) to actual groups of the underlying security realm by using with server specific deployment descriptors - as mentioned in the Java EE 5 Tutorial. ...
stackexchange/codereview
Why some applications base 64 encode HMACs even if it's not for mail purposes? Is it a vestige from older implementations or practices? If you do a little research in google with the words 'HMAC', 'base' and '64' you will see many people do it, and i don't know why. I'm pretty sure that it has nothing to do neither wit...
stackexchange/codereview
I'd like to use the wonderful Appirater code to encourage users to rate my app, which I have yet to submit. In order for this to work, you need to have the software id supplied by Apple. As I haven't yet submitted my app, I don't have this id number. I do of course have my Bundle Seed ID and Bundle Identifier but my un...
stackexchange/codereview
I know it can be anything, but what in general does the following kernel message might indicate: <2>kernel BUG at page_alloc.c:116! This architecture does not implement dump_stack() Kernel panic: Kernel Bug In interrupt handler - not syncing <0>Rebooting in 5 seconds.. This happens on a 2.4.20 uclinux-based system (...
stackexchange/codereview
So. I'm designing a CMS which is built upon the wonderful Codeigniter framework. The core of the CMS contains: a pages and content editor interface a media library some options and settings a users and permissions area I'd like users to be able to extend the system with plugins which they can design. Ideally these wo...
stackexchange/codereview
declare @myDoc xml set @myDoc = '<Form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.mydomain.org/MySchema.xsd" SectionId="ABCD" Description="Some stuff"> <ProductDescription ProductID="1" ProductName="Road Bike"> <Features> <Warranty>1 year parts...
stackexchange/codereview
If we give set up to the user then there is a possibility of coming changes in the code for the set up we had given to the user then we have to make set up again and then we will have to give the set up to the user, then it is not problem but user has to uninstall that set up and has to install new set up again, that ...
stackexchange/codereview
Okay, I am having a hard time with this. I've searched for the past hour on it and I don't get what I am doing wrong. I'm trying to take the currentTitle of a sender, then convert it to an integer so I can use it in a call to list. NSString *str = [sender currentTitle]; NSInteger *nt = [str integerValue]; // this is...
stackexchange/codereview
I'm trying to get the day name in javascript. Every time I search for usage of the function getDay(), it is explained that this method returns the day of the week, for example: 0 is sunday, 1 is monday etc. So the 1st janauary 2010 was a friday, can someone explain why i'm getting 1 instead of 5? The same for 2nd janau...
stackexchange/codereview
I'm trying to make a simple alphabetical list to order items in my database. The thing I can't figure out is how to actually list it. I would like it to be the same format as you have on miniclip.com Here's an image I looked around, but couldnt find an answer really. (I would like it to finish even at the end of each...
stackexchange/codereview
I'm trying to work around a problem with using ^@ (i.e., <ctrl-@>) characters in Vim scripts. I can insert them into a script, but when the script runs it seems the line is truncated at the point where a ^@ was located. My kludgy solution so far is to have a ^@ stored in a variable, then reference the variable in th...
stackexchange/codereview
I have an xml file which contains the name of another xml file: within my stylesheet, I detect @href and open the document via the document() function document(@href) should call my URIResolver.resolve(fname,base) with base of the "Base URI of the node from which the the string of the first argument is calculated" doc...
stackexchange/codereview
I am looking for an open source, Windows, .NET based, CMS. I have a few simple requirements: Must run in or be built on the .NET 4 framework Users must be able to automatically authenticate via IIS / integrated windows authentication Must be able to utilize custom pre-built (existing) user controls presented as widget...
stackexchange/codereview
I am tyring to figure out the best way to go about calling a WCF service and handeling an error or timeout when it occurs. Here is what I am doing: I have a data service interface like this: public interface IDataService { void GetUserId(string userName, string password, Action getUserIdComplete); } I implement it...
stackexchange/codereview
I have all the jars in the Spring 3 framework on my classpath and I wanted to add Spring 3 mvc to my app config. Originally, I had the following XML. <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml...
stackexchange/codereview
I have some image data (jpeg) I want to send from my iPhone app to my webservice. In order to do this, I'm using the NSData from the image and converting it into a string which will be placed in my JSON. Currently, I'm doing this: NSString *secondString = [[NSString alloc] initWithBytes:[result bytes] ...
stackexchange/codereview
I want to send an image of a view to external storage so that it can be printed. The view is a grid made up of a tablelayout, tablerows and textviews. I write the view to the sdcard, then copy it to my HD using the DDMS file-explorer screen. But when I look at it in MS Paint, the image is only partially there. I ha...
stackexchange/codereview
I have tried yyyy/MM/dd but this returns 1980/1/1, which will fail the check against cultureinfo format in .NET
stackexchange/codereview
So I have a class. .h file with some variables like: struct AudioSample { const unsigned char * buffer; int len; }; //... const unsigned char * VideoFrameBuffer; int VideoFrameLen; std::queue<AudioSample> AudioSamples; bool sampleSendingFinished; bool frameSendingFinished;...
stackexchange/codereview
I am create media player. Its display songs in listview but when I click the song. The log cat show this error: mp.reset(); mp.setDataSource(songPath); mp.prepare(); mp.start(); logcat error: 11-15 19:12:32.250: INFO/StagefrightPlayer(34): setDataSource('/sdcardparatha.mp3') 11-15 19:12:32.289: ERROR/MediaPlayer(2515)...
stackexchange/codereview
It's possibile to add an mkannotation in a uiview. I don't have (and I don't want) a mkmapview, but I want the annotation with the callout in a uiview. How can I add this point (with callout) on screen? Something like: MKAnnotationPosition newPos; newPos.center.x = 200; newPos.center.y = 250; to positioning the annota...
stackexchange/codereview
Ok so after an AJAX Get request 'success' is called and the string 'data' is passed, which contains the html of the site requested. Now I want to extract everything in the <body> tag of the current site and replace it with everything in the <body> tag that's stored in the data string. How is this done? I tried var b = ...
stackexchange/codereview
Please have a look at this example posted by Johannes Schaub to sort a vector of pairs: How do I sort a vector of pairs based on the second element of the pair? std::sort(a.begin(), a.end(), boost::bind(&std::pair<int, int>::second, _1) < boost::bind(&std::pair<int, int>::second, _2)); I thought I...
stackexchange/codereview
Well i have a long string in double quotes var Variable = "Really Long ...... String" I would want to do this var Variable = "Really Long ...... String" Currently I do this var Variable = "Really\n\ Long\n\ ......\n\ Str...
stackexchange/codereview
I'm a young iPhone developer and I'm trying to write an iPhone app that syncs data from a server side app on my mac, basically text data. I'm having trouble reading data on the iPhone side with the following: ` (void)connectionReceived:(NSNotification *)aNotification { NSFileHandle *incomingConnection = [[aNotific...
stackexchange/codereview
I've been having problems with a database repeatedly having crashed tables. Luckily it's easy enough to fix by repairing the crashed table, but it's hardly good practice to have to watch for the table to crash (or have the client tell me) and then fix it. The crashes tend to occur after a change has been made to the da...
stackexchange/codereview
Given a commit with the message "foo", i.e. with only a summary part, I do git cherry-pick -x the_commit. The result is a new commit with message foo(cherry picked from commit eb42a6475d2c2e4fff7a1b626ce6e27eec21e886) Now that's not good, because it is a two-line summary, which seems like a bug in git. But how can I ma...
stackexchange/codereview
I'm developing an application which allows user to edit an image and save that edited image as new image on sd card I want to get the current state of the canvas object. please help me with this.
stackexchange/codereview
My script attempts to log into a website via a form. After being redirected several times during authentication, it crashes with an sslv3 alert illegal parameter. I was wondering if something weird was going on with the cookies so I checked the HTML headers with the DEBUG output. The two outputs are pasted below. So...
stackexchange/codereview
there can be two productions from which we can do the reduction. After giving precedence and associations as required there will be one handle only.so is this statement true??
stackexchange/codereview
Please bear with me, this isn't a programming question per se but a question about releasing for the App Store. I have an App on the store that is a universal binary, with a separate UI for the iPad. I've been creating some new features and working exclusively in the iPhone version. I've been rethinking my iPad UI be...
stackexchange/codereview
I'm using a MPMoviePlayerViewController to show a movie. I have set the MPMoviePlayerController to fullscreen. Now I want to hide the status bar as soon as the fullscreen controls start to fade out and show the status bar if the controls are visible. If I'm using a UIWebView all this happens automatically. The status b...
stackexchange/codereview
When you create a LiveWallpaper in Android 2.2+ you get a canvas (or whatever the 3D equivalent is) to draw on. I'd like to draw some elements using the built-in Android UI tools rather than building everything from scratch using canvas commands or a loading a pre-rendered UI bitmap. Converting a single View to a Bitma...
stackexchange/codereview
i wrote a delphi Numeric for a C Enum can you answer me , where can i may had a mistake? is there anything wrong? C: typedef enum { AttributeStandardInformation = 0x10, AttributeAttributeList = 0x20, AttributeFileName = 0x30, AttributeObjectId = 0x40, AttributeSecurityDescriptor = 0x50, AttributeVol...
stackexchange/codereview
For example: def f(foo, bar): return foo + bar answer = f(3,4) What I'm looking for is some way to highlight the function call in pydev and have it automatically refactored so that it reads: answer = f(foo=3, bar=4)
stackexchange/codereview
I'm using acts_as_taggable_on v.2.0.3 in Rails 3 to add tags to posts. I add a tag cloud as described here: https://github.com/mbleigh/acts-as-taggable-on, but I'm encountered an error: ActionController::RoutingError in Posts#index: No route matches {:action=>"tag", :id=>"politics", :controller=>"posts"}. My code is be...
stackexchange/codereview
Boost jam creates fancy static library names such as boost_system-mgw45-mt-d-1_44, which contain compiler and library version. Let's assume that I want to distribute application in sources buildable with standard makefile, and user should install The Boost library himself. Is there any well known ways to determine ins...
stackexchange/codereview
setting is the following: I have a homepage where I display a diagram that has been constructed using comma seperated values from within the page. I'd like to give users the possibility to download the data as cvs-file without contacting the server again. (as the data is already there) Is this somehow possible? I'd pre...
stackexchange/codereview
I have a project directory and a sub directory set up as such: /proj_dir /proj_dir/audio app.yaml: handlers: - url: /.* script: main.py - url: /audio static_dir: audio main.py is a simple Python program that, on a GET request, outputs the "index.html" file also in the proj_dir directory. The index.html file conta...
stackexchange/codereview
I want to display a "FULL JOIN" of two tables, but using an intermediary with foreign keys to create the matches. This should show a list of all employees with the projects they are working on, and show any employees without projects, or projects without employees. The problem with this query is that the second, "RIGHT...
stackexchange/codereview
Hi I am using ACTION_IMAGE_CAPTURE for capturing image using Intent as follows: Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); cameraIntent.putExtra( MediaStore.EXTRA_OUTPUT, (new File(Environment.getExternalStorageDirectory(), String.valueOf(System.currentTimeMillis()) + ".jpg")) ); startActivityFo...
stackexchange/codereview
Im trying to learn glib/gtk. I wrote little code which prints files in directory and assigns "f" if they are normal files or "d" if they are directory. Problem is with if. It always gets false value and appends "f" to file name. #include <glib.h> #include <glib/gstdio.h> #include <glib/gprintf.h> int main() { GDir...
stackexchange/codereview
i need to scrape the text of blog posts to build a summary description of the blog posts similar to what techmeme.com does. not a problem when it's one or a handful of blog posts. however, the possible blogs from which to scrape the text is variable and unlimited. how would you go about doing this? i've used the html a...
stackexchange/codereview
Is there any Queue data structure implementation that "comes" with C or will I have to develop my own (this is for a school project, thus I must use something that either exists in the standard gcc installation or have to implement one by myself!) What about other general data structures like Linked Lists, Stacks, etc?...
stackexchange/codereview
I have a listbox in XAML as per the code shown below. <ListBox name="myListBox"> <ListBox.ItemTemplate> <DataTemplate> <Image Source="{Binding Path=Image}" Width="175" Height="175" VerticalAlignment="Center" HorizontalAlignment="Center"/> </DataTemplate> </ListBox.ItemTemplate> </ListBox> At runti...
stackexchange/codereview
I did the following after installing Postgres locally: gem install postgres-pr I changed the database.yml: development: adapter: postgresql encoding: unicode database: typhoon_development pool: 5 Then, when I did a rake db:create got: uninitialized constant PostgresPR::Connection::UNIXSocket Couldn't crea...
stackexchange/codereview
Hi I noticed that in the Linux file system we have 4 folders Libraries /usr/local/lib /usr/lib Include files /usr/local/include /usr/include Now I know that while writing a C program the compiler checks these standard folders for libraries and include files in the order mentioned above. I wanted to know why have two...
stackexchange/codereview
How can I give commands to Linux console (Ubuntu) from my c++ program, and assign a value, which my command tells, to string variable? Please, give me an example, in which program gives simple command "uname -a" to console and writes result. Sorry for my bad English, I know it very little. I would be very happy, if som...
stackexchange/codereview
Consider this simple example code: <form name="text" id="frm1" method="post"> <input type="checkbox" name="name[]" value="1000"> Chk1<br> <input type="checkbox" name="name[]" value="1001"> Chk2<br> <input type="checkbox" name="name[]" value="1002"> Chk3<br> <input type="checkbox" name="name[]" value="1003"> Chk...
stackexchange/codereview
I would like to enumerate all processes, which have an open handle for any of the soundcards in the system. Ideally I would like a "process - sound card - action" relation, where action might be playback or record. Is there a Win32 API for getting this information on Windows XP? Does this API work also on newer version...
stackexchange/codereview
I've been at this for a little while and my mind has gone to mush. I'm wondering if anyone can help me out here. I'm trying to make a Java Web Service (using its own HTTP server and not something like tomcat), that supports Metro and Jersey. This way a client can connect to the web service anyway they want whether it i...
stackexchange/codereview
I have this code inside my asynctask: @Override protected void onPreExecute() { waitDialog = new ProgressDialog(context); waitDialog.setTitle(R.string.wait_title); waitDialog.setMessage(context.getString(R.string.wait_body)); waitDialog.setIndeterminate(true); waitDialog.show()...
stackexchange/codereview
I am working with a textbox in ASP.NET and I added a JavaScript that pop up Calendar control on "OnClick" event (I am using window.open() to open the popup). Is there any way I could show the popup right under the textbox? Thanks.
stackexchange/codereview
I'm reading some material about function pointer in C++, and come across one function definition which I do not understand. Standard function definition have the form: type name (param...) But the following definition seems a little strange to me. Can anyone explain it to me ? Thanks. float (*GetPtr1(const char opCode...
stackexchange/codereview
Please help me figure this out. I've tried so many combinations but nothing seems to work. I'm trying to implement hibernate mapping using annotations but during the saving of my parent object and its children i noticed that an update statement is being called instead of an insert statement. I have two classes which ha...
stackexchange/codereview
I am making a GUI Program in Tkinter and am running into problems.What I want to do is draw 2 checkboxes and a button. According to the user input next steps should take place. A part of my code has been shown below :- CheckVar1 = IntVar() CheckVar2 = IntVar() self.C1 = Checkbutton(root, text = "C Classifier", variabl...
stackexchange/codereview
I just installed Eclipse 3.6 Helios, which is supposed to offer integrated Git support, but I just can't find any related view or perspective. I installed Eclipse for JavaEE for Linux 32 bits.
stackexchange/codereview
I want to override jQuery's fadein and fadeout effects when page loads. How it is possible? thanks.
stackexchange/codereview
We are building a J2EE web application on Oracle database. The underlying Oracle database is continuously hit by small but numerous online transactions in a day from the browser. At the same time, there are also ETL loads which hit the same database occasionally (once a day) to load large volumes of records (~1 to 2 mi...
stackexchange/codereview
I am a self-taught computer programming enthusiast. I have learn C, quite a bit of Java and am currently learning Python. At my college there is an internal LAN within the campus and recently I was struck with the idea of making a chess game than can be played by users within the campus through the LAN. The game would ...
stackexchange/codereview
In my MySQL installation I have one InnoDB database that I know will grow very large so I have decided to move it to its own disk. I was hoping to do this by moving the files to the other disk and then create a symlink but I run into errors! This is what I have done: 1) In my.cnf I have set [mysqld] innodb_file_per_t...
stackexchange/codereview
i have installed many third party plugin add-ins in my visual studio. now i want to run a instance of visual studio without all plugin addons and third party feature just like mozilla firefox how i can run visual studio without all plugin or add-ons. are their any method exist like other application
stackexchange/codereview
Greetings to all of you... Thanks for stopping by... Here me having one clarification regarding "Managing In App Purchases" in iTunes Connect Portal. I have iOs Developer Program membership for which i paid $99. when i log in to the iTunes Connect Portal, there is no "Manage In App Purchases" module. It is not being sh...
stackexchange/codereview
I have a div for displaying images placed at the center of a page, and below that div i've added slider displaying image thumbnails using jcarousel, clicking on thumbnail images from the slider displays the bigger image inside a div positioned just above the slider, and this is done using ajax, i mean i'm just changing...
stackexchange/codereview
I have a linear layout which consists of imageview and textview , one below another in a linear layout. <LinearLayout android:orientation="horizontal" ... > <ImageView android:id="@+id/thumbnail" android:layout_weight="0.8" android:layout_width="0dip" android:layout_height="fill_parent"> </I...
stackexchange/codereview
is there any way when to go to URL when user click in <td>.
stackexchange/codereview
I have a thread that executes the following code: public void run() { try { int n = 0; byte[] buffer = new byte[4096]; while ((n = in.read(buffer)) != -1) { out.write(buffer, 0, n); out.flush(); } } catch (IOException e) { System.out.println(e); ...
stackexchange/codereview
We have a requirement to draw a number line much similar to what is shown over here. The scope is as follows. Draw lines as specified in the above page (with a range of numbers) Ability to ask for user input (say a number at a certain point or a number which is either before or after a certain number) Provide differen...
stackexchange/codereview
I have javascript dropdown menus using jquery css and ul li. When they drop down over form fields,the fields show up on top of the menus in IE. Is there any way to fix this? <ul id="Navigation"> <li> <a title='Home' href='/'>Home</a><span class='home'></span></li> <li><a title='Article' href='/Article/'>Article</a> <ul...
stackexchange/codereview
I has installed my tomcat version 6 on centos 5.5 using jsvc as the daemon process. After some hours or some days running, the tomcat jsvc process is sleeping there and uses %100 of the CPU resources, which is shown in the top command output screen. The following is the detail of the output screen. PID USER PR NI VIRT...
stackexchange/codereview
I need to store the following data; Clampls = {"23e23e", "ff333g", "fhgswq"," h65h3", "ffwwf", "34rf3"} KJAS3.2 = {"f34f4f", "43rf2d", "3rfas1"," 1122d", "fff42", "ff33f"} ... I was thinking of storing it something like this Name Tokens . -> ... , ... , ... , ... . -> ... , ... , ... , ... Clam...
stackexchange/codereview
I've being messing with the debug options and now all my exceptions are like System.NullReferenceException crossed a native/managed boundary. Sometimes, when an exception occurs VS asks me to open some .net .cs file as if I have the source code. I wish there is some "Restore Defaults" button. Any idea what do I need...
stackexchange/codereview