instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am designing my first website. I have designed a button image in gimp and saved it as a jpg. I want to use this button for my navigation buttons on the site. Should I make a separate image(jpeg) for each button or is it possible to just use one image and then overlay text on top of the images on the page using HTML? ...
stackexchange/codereview
Hi all I have a webservice with a webmethod that accepts an XML from a client via POST (don't know if this really matters), validates XML and the data inside, and then processes the XML and returns an answer to the client. At moment, I have a problem with large XMLs; it takes too long for the XML preprocessing to finis...
stackexchange/codereview
I have a function, that gets a large XML file, then parses it, and then uses the details, to get some more xml files, that are again parsed ( A webshop). The problem is, that the processing takes about 15-20mins, but the script timeout's before that, and sends me a 500 error message. Is there a way around this? I rea...
stackexchange/codereview
I'm looking for a data structure same as ArrayList in Java that saves items on disk instead of memory. Does java have such a data structure? Thanks I want to have a dynamic structure that saves items on memory and when its size exceeds some value, save new items on disk until the size goes below the value.
stackexchange/codereview
As I am well aware that PHPDom can solve half of my problem, I'm in need of a way (not necessarily regex) to be able to find a certain DOM element based on a given innerHTML. say for example i got this code: <tr> <td class="ranking_rank" style="vertical-align:middle;">48697</td> <td class="ranking_ign" style="verti...
stackexchange/codereview
I try the following 2 methods of appending UIImages pixelbuffer to ASSETWriterInput. Everything looks good except there's No data in the video file. What's wrong? 1 Adaptor class AVAssetWriterInputPixelBufferAdaptor * avAdaptor = [AVAssetWriterInputPixelBufferAdaptor assetWriterInputPixelBufferAdaptorWithAssetWriterIn...
stackexchange/codereview
I'm currently trying to create a view in asp.net MVC2 which includes a checkbox in each row. This will be a "mark" box, and there will be a button on the view which can then be used for multiple deletion. I have a model which contains a list of the objects being listed, so I have some code which reads as:- <% foreach (...
stackexchange/codereview
I am tryingto do a generic function in pl/pgsql. I am facing a problem that I can't figure out. See in the declare block I assigned value to some parameters. I would like to know how to use them as component of a query. (example : the BEGIN/END block, groupby_join_field) CREATE OR REPLACE FUNCTION drillThrough(wher...
stackexchange/codereview
i followed the ApiDemo to create a gallery. but i don't need the background of each item , so i marked these code: public ImageAdapter(Context c) { mContext = c; // See res/values/attrs.xml for the <declare-styleable> that defines // Gallery1. **// TypedArray a = obtainSt...
stackexchange/codereview
i am a metatrader developer. it has it's own script language which is similar to C in syntax. one of it's most advantages is that it let you include some dll and use it's functions. now, i want to send and receive HTTP requests. which DLL should i use and how? in PHP context i always use cURL library. does it have any ...
stackexchange/codereview
I use crontab to invoke rake task at some time for example: every 3 hour I want to ensure that when crontab ready to execute the rake task it can check the rake task is running. if it is so don't execute. how to do this. thanks.
stackexchange/codereview
I have a popup that is shown after successfully saving in the database. It shows "Password is successfully saved" and also has a "Ok" button. I want the popup to be closed when Ok is clicked and should be redirected to login page. With my code here, it saves, shows the popup, when OK is clicked,it stays on the same pag...
stackexchange/codereview
I have a <select> field on my HTML page that is populated with a few options. With the help of AJAX, I replace those options in the select field with more appropriate options. How can I store the options of my select field into a variable and then load it into the select again? It would be helpful to be able to get bac...
stackexchange/codereview
I'd like to know how I can serialize an XML document in python specifically using the xml.dom library.
stackexchange/codereview
All my rails paper_clip images are being uploaded to Rails as "application/octet-stream" Which is casuing issues. How in Rails do I set the content/type to the right type? Image/png etc, based on the actual image being uploaded? Thanks
stackexchange/codereview
I don't know from where should I start solving this problem. It seems that the Math department at UGA once again dropped the ball , and forgot the value of pi. You are to write a function called mypi which consumes a number that specifies the required accuracy and approximates the value of pi to that accuracy. You are...
stackexchange/codereview
In String source it looks like the hash code value (private int hashCode) is set only if the method public int hashCode() was called at least once. That means a different state. But will the hashCode be set in the following example: String s = "ABC"; ? Will String s = "ABC"; s.hashCode(); help with subsequent com...
stackexchange/codereview
I have a gridview where I bind a datasource, and I had to add sorting for this gridview; I added the code below to that, but it didn't work well. private string ConvertSortDirectionToSql(SortDirection sortDireciton) { string m_SortDirection = String.Empty; switch (sortDireciton) { case SortDirectio...
stackexchange/codereview
Suppose I have the following type definition which relies on constants to indicate vector length of the record members: type point_t is record x: std_logic_vector(X_WIDTH-1 downto 0); y: std_logic_vector(Y_WIDTH-1 downto 0); end record; I would like to convert these kind of records into std_logic_vectors to p...
stackexchange/codereview
How do I integrate Silverlight video player and show video at MVC view page?
stackexchange/codereview
I have the following xaml. <ScrollViewer HorizontalAlignment="Stretch" Margin="107,0,0,0" Name="scrollViewer1" VerticalAlignment="Stretch" HorizontalScrollBarVisibility="Visible"> <Image Name="image1" Stretch="None" MouseWheel="image1_MouseWheel" RenderTransformOrigin="0,0"> </Image> </ScrollViewer> An the fol...
stackexchange/codereview
i am using fastscroll with indexer, but i want to implement a alphabetic scroll view just similar to Iphone. any idea? i hope u can take a look at this image
stackexchange/codereview
How do you generate xml from non string data types using minidom? I have a feeling someone is going to tell me to generate strings before hand, but this is not what I'm after. from datetime import datetime from xml.dom.minidom import Document num = "1109" bool = "false" time = "2010-06-24T14:44:46.000" doc = Document...
stackexchange/codereview
I have the TPLancer component for Joomla installed on my site and I am trying to add some more information to the profile page of both the Freelancer and the Buyer. I am no genius with PHP or mySQL but can kind of bluff my way thru usually. The information currently displayed on the profile pages is just data pulled fr...
stackexchange/codereview
Lets me ask a very specific question: What is the difference (in memory usage) when you have a large array, or large list of the same size (implemented with pointers). e.g var a:array[1..1000000] of integer; and type po=^p1; p1=record v:integer; next:po; end; var p:po; and you create list with 100000...
stackexchange/codereview
I have a .CSV file and was wondering if there is any process on visual studio or visual web developer to convert it into an XML file and then send it to a Web Service? Thanks for your time.
stackexchange/codereview
In a text file like this: First Name last name # secone name Address Line 1 Address Line 2 Work Phone: Home Phone: Status: First Name last name # ....same as above... I need to match string 'Work Phone:' then go two lines up and insert character '|' in the begining of line. so pseudo code would be: if "Work Phone:" i...
stackexchange/codereview
I am playing around creating a demo prism application. The application I have has a shell project and another module that has a prism service and a view (and a view-model). (mostly based off of Mike Taulty's videos, but in WPF rather than silverlight). I setup the prism-service to call my web service. It seemed all ...
stackexchange/codereview
What preference in Eclipse controls how much is deleted when you press control-delete/backspace? This is the delete whole word command as defined by the operating system (but I imagine expanded on in Eclipse). In CDT, it's great. If you press control-delete in some white space it will delete all the way up to the fir...
stackexchange/codereview
Now the case, I want to develop a iPhone apps/web apps using Phonegap. Ok, imagine the app can do all sort of thing include data processing, transaction, login, video streaming, display data from the web services, so to do this I need use JavaScript (Ajax) to call the web services, then only put it into the HTML? HTML5...
stackexchange/codereview
I have two types of accounts (customer and provider), I chose the single-table strategy for persistence. Customer creates Orders (one2many) and provider bids on the orders in auction style (many2many relationship, because he can bid on many orders as well as other providers). My question is, is it possible to have thes...
stackexchange/codereview
Using VBScript, how can I list all WMI classes that represent events? Thanks in advance.
stackexchange/codereview
Instruments leaks says that this code leaks: NSString *name = [file substringToIndex:i]; Layer *actualLayer = nil; for (Layer *lay in layers) { if ([lay.layerName isEqual:name]) { actualLayer = lay; } } name is the leaking object. There are some strange things: it only leaks sometimes, not always (this...
stackexchange/codereview
I have an android app with a lot of media files. The files have to be user-updatable, so I can't put them in the resources. I have been having to use a bash script to use adb and push out my test files every time I recompile. Is there any way to package the media so that it is installed to the applications file dire...
stackexchange/codereview
I know that is a beginner's question. I'm new to java and and also to programming in general. Say I got a class that has only static data, example: class Foo { private static int x; } I want to use the class without instantiating any object. So I want to be able to do: Foo.setX(5); Foo.getX(); What is the best way t...
stackexchange/codereview
I'm trying to save the Production environment log to the database on other server.. What I mean that when some errors shown I want to open ssh and check the end of production.log.. What I want is to go to the other database (on other server maybe) ant check it out. I want the logged information to be the same as I see ...
stackexchange/codereview
I'm trying to delete a file on the server. Below is the code I use. function ServerDel($file){ $file = realpath($file); echo ($file); $fh = fopen($file, 'w') or die("can't open file"); fclose($fh); if(unlink($file)) echo"Delete the file successfully."; else ...
stackexchange/codereview
I am trying to learn Python lists. In this code I am trying to add a string s coming from a form to table row as long as the string is the same. When the string is different; the new string is written to the next column. I could write the string from column 0 to column 1 but I had problems adding the same string on col...
stackexchange/codereview
thank you all so very much for helping. It's seemingly such an easy task, and I feel I just hit a brick wall and not knowing how to fix it. I'll try to explain what I am doing a bit more and hope it makes sense. I used a database to populate my dropdown box, dropdown box is something like: echo "<form action='process_f...
stackexchange/codereview
I think the title is clear.
stackexchange/codereview
I have list of items like this: <ItemGroup> <ToCompile Include="clojure\core.clj;clojure\set.clj;clojure\zip.clj;clojure\test\junit.clj;"/> </ItemGroup> And I want to transform that to a list of items like this: clojure.core clojure.set clojure.zip clojure.test.junit Is there a way to do this with MSBuild transf...
stackexchange/codereview
In my application on the iPhone and iPod Touch I want to be able to retrieve the country a person is in without accessing the internet. I know how to do this with internet, so I know how to retrieve the longitudes and latitudes, I've read something about a file with the world borders included, but I don't know how to u...
stackexchange/codereview
Hello I am using Android 1.5. I am using database to save the user details.My requirement is like if two users want something to share between then the data in the database should be converted to XML file and sent to the server. Is there any way that i can achieve this in android. Is there anything like plist in iphone...
stackexchange/codereview
How do I use OAuth within my Java GWT application? In particular, I want to get a list of users in my Google Aps domain, using this API: http://code.google.com/googleapps/domain/profiles/developers_guide_protocol.html I know this sounds like a question, that probably has been asked many times before, but I couldn't fin...
stackexchange/codereview
Ok I have the following array: Array ( [0] => Array ( [id] => 6 [name] => This Course [time] => 1288082700 [description] => blah blah . [link] => http://this.com/?g=5 [course] => 22 ) [1] => Array ( [id] => 2 [name] => Workshop [ti...
stackexchange/codereview
My requirement is to show a page with multiple filters to apply to grid data. Suppose we are talking about Orders and an order has the following attributes public class Order { public int OrderID public DateTime OrderDate public DateTime ShipmentDate public int OrderTotal public int OrderStatus } I...
stackexchange/codereview
I created an MKAnnotation name PushPin which has a title and subtitle. I want to be able to dynamically change the title at a later time. I'm close so I'd rather not have to make a whole new AnnotationView, but if I have to I guess that's ok too. My problem is that, once I change the text for the title, the window d...
stackexchange/codereview
I have an app that needs to send data (using POST) to a server. This function has to be on one of the NavigationController sub-controllers and user should be able to navigate away from this controller and/or close the app (only iPhone4/iOS4 will be supported). Should I use threads/NSOperations or/and send data using ex...
stackexchange/codereview
I want to have a transparent view, above my application. I want to do this just knowing the current activity. I found a way of doing this by adding a new framelayout via the windowManager I m doing this : public static void AddViewAbove(Activity activity) { FrameLayout newLayout = new FrameLayout(activity); Wi...
stackexchange/codereview
I'm currently coding a game that makes use of Google Maps' Static API - http://code.google.com/apis/maps/documentation/staticmaps/ However, a limitation of the API means that I can only get a maximum of 640x640 images from it and I need much larger images for my game. As such I'm just wondering if it's possible to stit...
stackexchange/codereview
I am doing this lab out of a book on my own, and I made an application in which sharks are racing. There is a radio button that should update a label on the right dynamically, as well as a button that actually starts the race. Everything used to work and then I renamed a few things, and now nothing works. Screenshot of...
stackexchange/codereview
I've created a tabbar application using the template in Xcode, and have setup a working tab bar application. I want to know how I can change the view currently on the screen using a UIButton, so the result is the same as if the user just clicked one of the tabs.
stackexchange/codereview
I'm using what looks to be a real nice API for streaming sockets found here: http://www.pcs.cnu.edu/~dgame/sockets/socketsC++/sockets.html. I'm having trouble accessing the IP of the connected user because its a private member of a class "Socket" that is used within another class "ServerSocket". My program looks exactl...
stackexchange/codereview
I have two drop down menus, one of which I am trying to replace with radio buttons using jquery. The second box is updated via AJAX with new options any time the user makes a selection in the first drop down. I have successfully generated radio buttons that change the values for the first drop down but when the user up...
stackexchange/codereview
Is there a way to get the width, in pixels, that a gtk.TreeViewColumn would want to be if the sizing mode was set as gtk.TREE_VIEW_COLUMN_AUTOSIZE, even if it's currently gtk.TREE_VIEW_COLUMN_FIXED?
stackexchange/codereview
I am trying to implement a python script which writes and reads to a database to track changes within a 3d game (Minecraft) These changes are done by various clients and can be represented by player name, coordinates (x,y,z), and a description. I am storing a high volume of changes and would like to know what would be ...
stackexchange/codereview
Many years ago I build a simple system for handling languageversioning of texts in ASP.classic sites. Since then I have not converted or maintained it, and have been using various sub-optimal solutions (and lets face it, the system was probably not as great as I remember it ;-) What do you use for language versioning t...
stackexchange/codereview
I'm having trouble getting an externally loaded SVG to do what I want it to with Keith Wood's SVG library. I can load an external SVG fine with: $(document).ready ( function () { $("#some_id").svg({ loadURL: 'my_file.svg', onLoad: my_function, settings: {} }...
stackexchange/codereview
While debugging, the Debug view in Eclipse shows the call stack. Which is great. But I'd love to be able to filter out all the call that I definitely don't care about, such as Spring and the JUnit runner. Here's an example of my call stack right now. I'd like to keep the entries in bold, while hiding all the rest. Is i...
stackexchange/codereview
I am attempting to install software onto my Debian Lenny server. Specifically, Capture-HPC. I have setup VMWare server, along with all the prerequisites. When I go to run ant in the directory, i get the following error: [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could...
stackexchange/codereview
Option 1: class B{//}; class A { public: void Funcs(); private: std::vector<A> vecA; }; Option2: class B{//}; class A { public: void Funcs(); private: std::vector<A*> vecpA; }; Which one is better, is there any guidelines?
stackexchange/codereview
I am learning log4net and currently testing out how to use App.Config for XMLConfiguration. The problem is that I do not have a .NET IDE such as Visual Studio 2008 or Express Edition at office (don't get me started on why/how :-)) I need to compile and run my code where log4net reads the configuration settings from Ap...
stackexchange/codereview
Using the following model, I expect that when the Submit button is hit, the Edit Method to Fire, and the model parameter to have the adjusted values. But it keeps returning an instance of the class with all null values. It is as if no model binding ever happens. class Trait { string Name { get; set; } // other proper...
stackexchange/codereview
In a bunch of rspec rails unit specifications I do something like: describe Foo do [:bar, :baz].each do |a| it "should have many #{a}" do Foo.should have_many(a) end end end For cleaner code I'd rather do something like: describe Foo do spec_has_many Foo, :bar, :baz end So how do I write a helper ...
stackexchange/codereview
I'm trying to use timeIntervalSinceReferenceDate and I'm not quite sure if I understand it correctly. I basically have a button to calculate the difference in time between when the start and stop button is pressed. - (IBAction)startButtonPressed { startButtonFlag = !startButtonFlag; // first time through, startBut...
stackexchange/codereview
I have made a search engine and I am comparing a search string against a list of words. However I want to omit words like "How,do,i". So if the user search for "How do I find my IP?". If I have 3 other items beginning with How do I it wouldn't really be able to return a good relevancy. right now its setup (a-z0-9)+user...
stackexchange/codereview
The fils containing these control work fine in another project and they work fine on visual studio so I guess it is safe to assume that the problem is not in the files or with the server but has something to do with the project? What could be causing this?
stackexchange/codereview
I have a setup a PageHolder class (based on MovieCLip) that displays a doted area with a (page) number in the middle. Now attempting to populate my LayoutPane, I create new instances of of PageHolder whose constructor is tasked to set the text value of its only Texfield to the value specified in the new PageHolder para...
stackexchange/codereview
I've just came over this article, that suggest various techniques with generics. Author decided to use following: public class BinarySearchTree<T extends Comparable<? super T>> { And I don't get it. Why did author decide to use private Entry<T> root; and not just private Comparable root ? What particular advantage c...
stackexchange/codereview
How does one go about adding image filters in an iPhone application? (similar to what Instagram and picplz have)
stackexchange/codereview
I have 2 servers. One is production and testing servers. Now, I have a WPF application which sitting in both production and testing servers. How can i install the WPF app in my local machine with both from production and testing servers? I keep getting an error the same signature has been installed. thanks
stackexchange/codereview
I have an object on my main.xml layout file called thefact that is TextView. I also have a string called sharefact. I want to save what text is in the TextView into the sharefact string. I can't do: sharefact = thefact Or anything similar to that because it would want me to convert sharefact into a textview. Thanks!
stackexchange/codereview
Possible Duplicate: Formatting of dynamically generated HTML - does no one care? I have very little experience in web development, so this may be a very basic question. It's just, from the limited experience I do have (a little PHP, and a little Ruby on Rails), it seems that the way dynamically generated HTML is for...
stackexchange/codereview
I've got an anchor tag with a specific URL to which I want to add a class. I'm currently doing this as follows: $('a[href=http://this.ismyurl.com/folder/file.html]').addClass('red'); The problem I have is that this URL is not consistent. The filename, file.html is always the same, so if I could manipulate this strin...
stackexchange/codereview
I have written a small perl application for deployment on a few servers. It consists of some scripts, some modules and some data files. It will be used by multiple users. I'd like to keep all these files together in one directory rather than moving the app modules to the site_perl directory. For example, lets say the a...
stackexchange/codereview
The question is simple, I couldn't find any solution though. If it is possible, how do I repeat a field that's in the Footer on a new page if it doesn't fit the container? For example: I have a column that can store up to 5000 characters, and I must display it in the Footer. So if it reachs a certain number of characte...
stackexchange/codereview
I am trying to figure out how you design data storage in a document storage system like CouchDB or MongoDB. I don't use JOIN's anymore in my queries and just stick to searches for rows with certain indexes that meet my criterion. For example, I might look for recent comments (ORDER BY date) or all active users (WHERE ...
stackexchange/codereview
I have created four tabs using tabhost, and placed four listviews in each like below: public class prem extends ListActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); String[] names = new String[] { "Pr"}; this.setListAdap...
stackexchange/codereview
On my screen I have a list view and a button. my list has like 8 item. I would like my screen to scroll if both these items does not fit in. I don't want my list to have scroll but the complete layout including both list & button. If I use the below layout it only shows on item inside the list and I have to scroll with...
stackexchange/codereview
I am trying to populate city, country and statelist using ajax, and servlets. Now I know how to get the XMLhttpRequest object. There is a standard mechanism to do that and depending on the cross browser compatibility, you do get a ActiveX or a xml object.. Then you send a request to the actionservlet, using xmlhttprequ...
stackexchange/codereview
My scenario (running Rails 2.3.5): On a department's products page (index.js.rjs), there is a table showing the products with their id, name, category. The view of this table is specified by a partial file called _index.html.erb. I'm going to add in a selection/option drop down menu above the table to show all the pr...
stackexchange/codereview
We are looking for a solution to generate documents in PDF/A format for sharing and also archiving purpose. I checked the description of ExportFormatType.PortableDocFormat, however it just say PDF file. Can the Crystal Reports generate PDF/A compatible files?
stackexchange/codereview
i'm using the default way to call the contact picker. public void showContactPicker(View view) { Intent newIntent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); startActivityForResult(newIntent, 1); } but i need to select multiple contacts using checkboxes. how can i put checkboxes in the contacts li...
stackexchange/codereview
I want retrieve contacts from the address book on a BlackBerry. I can get the contacts using the following code: AddressBookArguments abArg = new AddressBookArguments(); Invoke.invokeApplication(Invoke.APP_TYPE_ADDRESSBOOK, abArg); However I cannot access the selected contact in my application. How can I display t...
stackexchange/codereview
I have ListBox and DataTemplate I need Set GroupBox Heigth = 300 How to do it? <DataTemplate x:Key="data_template"> <GroupBox Header="Категория" Width="300" HorizontalAlignment="Stretch" x:Name="GroupBox"> <DockPanel Tag="{Binding id}"> <Button Click="Button_Click" DockPanel.Dock="Top" > <Butto...
stackexchange/codereview
I Working on desktop application where i am get struck. I have a method through I am doing HTTP Post And Get. I am managing this object through ref in entire application. This object fetching category from website and i am using same ref for posting as well. This category Fetcher method return datatable of categories. ...
stackexchange/codereview
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { if ([indexPath section] == 0) { switch ([indexPath row]) { case 0: [self renameExercise]; [[self tableView] deselectRowAtIndexPath:indexPath animated:YES]; break; case 1: EditRootNoteVi...
stackexchange/codereview
any idea why foreach ($groups as &$group) $group = trim(str_replace(',', '', $group)); echo '<pre>'; print_r($groups); echo '</pre>'; $groupsq = $groups; foreach ($groupsq as &$group) $group = '\'' . $group . '\''; echo '<pre>'; print_r($groups); echo '</pre>'; Yields Array ( [0] => Fake group [1] => an...
stackexchange/codereview
Ok first off yes I have searched google and stackoverflow and done some reading (over 4 hours JUST in this sitting) have not found what I need for these reasons: Many of them suggest just launching an exe like gpg.exe (http://stackoverflow.com/questions/1020320) Some suggested using PyCrypto or other libraries and loo...
stackexchange/codereview
Does anyone know how PHP maps session IDs to $_SESSION arrays? In other words, given session ID x, where does PHP pull the values from to populate the $_SESSION array? And given a session ID and the url it came from, is there any possibility of someone being able to gain access to the values in the $_SESSION array?
stackexchange/codereview
I have a messageDialog set up so that its default response is gtk.RESPONSE_OK so the okay button is clicked when the user hits enter even if the okay button does not have focus. I would like to also have the space bar trigget the default_response. What is the best way to do this? This is with python 2.4 in a linux envi...
stackexchange/codereview
I have a <textarea> that appears at different heights with all the browsers. Is there a css hack for Chrome?
stackexchange/codereview
I was given an HTA that I think was created by the HTA_Helpomatic. They want it converted into a classic ASP page. So I made a few basic changes, and I think I almost have it working. But I'm running into a problem - the ole 'VBScript Object Required' bit. It's doing this on the line Set objlst_groupnames = document.ge...
stackexchange/codereview
I was talking with one of my programmers earlier and he showed me a piece of code he was considering: foreach($_REQUEST as $var=>$val) { $$var = addslashes($val); } He wanted to be able to use $varName instead of having to write $_REQUEST['varName'] I advised him to use the mysql_real_escape_string instead of addS...
stackexchange/codereview
I need to be able to set the tab settings for the following file types: .rb: 2 soft spaces .css, .html.erb: 4 space tabs I have tried the following, but none of it seems to alter my default tab settings for each of the file types. ;; js-mode-hook has also been tried (add-hook 'javascript-mode-hook '(lambda() ...
stackexchange/codereview
The session files are saved at session_save_path().'/sess_'.session_id(). Is 'sess_' hard-coded? If it can be specified, how do I do that?
stackexchange/codereview
i have an application project that both managed and unmanaged code runs and i need to use the same algorithm for hashing double values in both systems. so either i will override System.Double.GetHashCode() or use its algorithm in c++ code. i could not find the double.gethashcode algorithm and decided to override the fu...
stackexchange/codereview
I have written a program with C#, that creates a logfile and fills this by using log4net. This program starts powershell-scripts. The scripts should use log4net, too. I want to monitor what the scripts log to log4net while they are running and write this information in my logfile. Have you an idea how I do this or wher...
stackexchange/codereview
Just out of curiousity I'm deploying AnkhSVN with Visual Studio 2010 in our development office, and have had much success with Redmine in managing projects. However, one issue is integrating AnkhSVN with Redmine in regard to Issues. So I can submit a commit against for a particular bug fix. Is this possible?
stackexchange/codereview
I want to unit test a swipe left/right action on the screen in Android but I haven't been able to find any documentation on it. Can anyone lend a hand? Can it even be done?
stackexchange/codereview