instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
If I assign a new value too previously declared string using operator= , is it freed automatically or I have to free it manually? std::string s("value_old"); s = "value_new"; what happens with "value_old" where I can find or where are you always watching to find answer to similar questions? Thanks in advance.
stackexchange/codereview
In a movies DB project I'm working on, each user have an activity feed. I want to group similar activities, like how Facebook does it but little different. For example if an user writes a review for a movie, and one minute later he also votes for that movie and 5 minutes later he upload a trailer for that movie, I want...
stackexchange/codereview
As far as I know, I can't build multiple configs at once within a visual studio express edition, but I have tried with msbuild and a vbproj file, with limited success: <Target Name="Build"> <MSBuild Projects="solution1.sln" Properties="Configuration=Debug;Platform=Any CPU" /> <MSBuild Projects="solution1.sln" Prope...
stackexchange/codereview
Little question: With the following code... <?php $statement = "SELECT * FROM TABLE"; $query_unfetched = mysql_query($statement); $query_num = mysql_num_rows($query_unfetched); if ($query_num !== 1) { exit; } $query_fetched = mysql_fetch_object($query_unfetched); $fielname = "ID"; echo $query_fetched->$fiedname; ?...
stackexchange/codereview
I plan to use ORM in my project. How should I approach DDL creation? Is this all handled by ORM and i should use ORM CREATE objects for this? Traditionally - I would create DDL scipt in plain SQL standard on hands, and move to another DB easily. But today there are many tools to create DB from Java classes or vice ver...
stackexchange/codereview
How to unregister django-evolution from admin? admin.site.unregister( something )
stackexchange/codereview
Rather than repeat a long javascript for playing audio, here is the link: webpages.charter.net/jolove/Includes/play_song.js:. This plays for any desktop browser (Mac or Windows), but not for my iPad. Here is the calling website: webpages.charter.net/jolove/Escort_Folder/Dedication_Poem_iOS.html This is really bugging m...
stackexchange/codereview
Write a function spaced(s) that outputs spaces and a dashdot border around a string s. The sample code, which calls spaced("Hello") would output: --.-.-.-.- . . - Hello - . . -.-.-.-.-. Please help me out with this :D. Im new to programming and im trying to learn this stuff. I dont have ...
stackexchange/codereview
I'm reading up on recent advances in databases and came across many references to a White paper by IBM entitled "Nested Relational Database". However the links seem to be broken, and I have not been able to find a copy on IBM's website. Does anyone know where I can find a copy of this paper?
stackexchange/codereview
I'm new to JavaScript as well as jQuery. This is the only code I have on an otherwise blank page: <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { document.write('Hello World'); }); </script> When I load t...
stackexchange/codereview
How would I do this using Objective C and cocoa using Xcode? I am trying to insert a string at the cursor or user selection on the click of a button.
stackexchange/codereview
I am quite new to Spring MVC, and trying to figure out how to render a partial view without refreshing the whole page. I thought: if I can post a request to the backend, in this case, a Spring controller method And if this method fills in model attribute, and then return ModelAndView object with specified view name ma...
stackexchange/codereview
I am facing problem in sending mail using perl. When I put following command: my $smtp = Net::SMTP->new($ServerName, Debug => 0); where $ServerName="localhost" . the $smtp is not set. It is null. Can anybody tell me the reason why it is not set appropriately . Since the same script is running on my other linux server. ...
stackexchange/codereview
I just want some tricks for increase ASP.Net application. This question is a little wide, but if you can give me some general tips I will appreciate.
stackexchange/codereview
I'm trying to get this rock paper scissors game to either return a Boolean value, as in set player_wins to True or False, depending on if the player wins, or to refactor this code entirely so that it doesn't use a while loop. I'm coming from the sysadmin side of the world, so please be gentle if this is written in the...
stackexchange/codereview
I've just begun learning about TDD, and I'm developing a program using a Tkinter GUI. The only problem is that once the .mainloop() method is called, the test suite hangs until the window is closed. Here is an example of my code: # server.py import Tkinter as tk class Server(tk.Tk): def __init__(self): tk....
stackexchange/codereview
I think is probably the wrong place so if you would like to point me to the right place that would be great. But my question is: How do I slow down RAM play playback to about 25% with audio so i can get the timing right on some things.
stackexchange/codereview
Which is best practice, which results in better performance? UPDATE: jsperf.com reports that (a) is faster @ http://jsperf.com/closure-vs-global-variable a) using a closure var obj = { init: function() { var self = this; $('#element').click(function() { self.clickEvent(); }); ...
stackexchange/codereview
I built two flash uploaders using actionscript 3 & actionscript 2 that sends files to a java servlet. The java servlet successfully receives that file, but the flash uploader fires an IOerror #2038 instead of a complete event. There was another question is my exact same problem, but the answer "clear the cache" was ver...
stackexchange/codereview
Im using a command line prebuild task in the ccnet.config file to delete the contents of thw working directory before i do a clean build. <prebuild> <exec> <executable>%SYSTEM32%\cmd.exe</executable> <buildArgs>/c "if exist "C:\CruiseControl\Working" rd /s /q "C:\CruiseControl\Wo...
stackexchange/codereview
When a user is looking at a user profile page, if the current user == the user profile I want to show an edit button... So I have the following in the view: <% if can? :update, @user %> <%= link_to 'Edit', edit_user_registration_path %> <% end %> And then in CanCan I have the following: def initialize...
stackexchange/codereview
Right now the results indicate X rows in set (0.00 sec). So I am wondering if there's a way I can get the time in more than 2 decimal places.
stackexchange/codereview
I am working on a small javascript library that will need some ajax functionality, json, jsonp and maybe some xml. I really like the way the jQuery ajax methods work, but don't have a need for all the other jQuery tools. Does anyone know of a small cross browser ajax script that implements most or all of the jquery f...
stackexchange/codereview
For example, if I'm at the end of the input and I'm shifting left, how would I know I'm at the very beginning of the tape? If there are more |_| before the input, then it would be easy for me to tell I'm at the beginning again, but I don't know if there are any. This isn't a homework question, I am sure the answer is o...
stackexchange/codereview
Does OpenSSL have any support for operations in the quadratic extension field (or, alternatively, operations with complex numbers) using the BN API? If not, are there any other open source libraries that do?
stackexchange/codereview
I wrote code that simply generates a table gridview. The last column provides a print button option for each record. if the user clicks the print button a pop up window is displayed with background image and three pieces of data. it looks great on the screen but when you print the form, everything will print (data) but...
stackexchange/codereview
This is the data file: ID YR MO DA YrM MoM DaM 100 2010 2 20 2010 8 30 110 2010 4 30 2010 9 12 112 2010 8 20 2010 10 28 I should be able to access each element in this file, i tried to use this function in creating record in Mathematica but i am getting a error ReadList["testA.txt",...
stackexchange/codereview
Is there a way to select an element following another one? For example if I have : <table> <tr> <th></th> <td></td> </tr> <tr> ... </tr> </table> and I want to select the first th I can do : Elements select = Jsoup.parse(HTML_PAGE).select("th"); Element element = select.get(0);...
stackexchange/codereview
If i have a,b,c point with x,y in form of vectors than how can I find collinear points.. fabs((b.x_-a.x_)*(c.y_-a.y_)-(c.x_-a.x_)*(b.y_-a.y_) its used like this.. how its like this?
stackexchange/codereview
I'm having trouble using the Email:MIME module in perl. It's probably because I'm using it wrong, but finding examples for using it is difficult. I'm pretty sure I'm supposed to be using a scalar of the full message as an input, but it's not working. Here is my code and my output Code: #!/usr/bin/perl use Net::POP3; u...
stackexchange/codereview
Possible Duplicate: Stop recursion after a certain amount of steps What would be wrong with this method here for counting the number of grandchildren in a tree, but not great grandchildren? (child1 is left child and child2 is right child) Also, this method should not take any parameters. If you offer an alternative ...
stackexchange/codereview
I am developing an appwidget for android. It works fine when installing and running, but whenever the device is rebooted, the program can no longer use that widget. The activity is still selectable in the launcher, but there is no way to add the widget to the home screen without reinstalling the program. Have you hear ...
stackexchange/codereview
App Engine provides a way to set the current "namespace". Is this a way to be able to easily reference variables, and thus not always have to insert database lookups in one's code?
stackexchange/codereview
i have div with 500px width which contains multiple anchors... problem anchors not wrapping in to multiple lines.... i tried using table as well same problem.... <div style="width:500px;"> <a href="#procrit">procrit</a>&nbsp; <a href="#doxil">doxil</a>&nbsp; <a href="#prezista">prezista</a>&nbsp; <a hr...
stackexchange/codereview
I have a system that's similar to the Q&A feature of stackoverflow. The main difference is hat each question has an expiration datetime: CREATE TABLE questions ( id INT NOT NULL AUTO_INCREMENT, title CHAR(100) NOT NULL, details TEXT PRIMARY KEY (id) ) CREATE TABLE answers ( id INT NOT NULL AU...
stackexchange/codereview
I'd like to be able to redirect the traces, and even more then traces the flash error reports to a text-box inside my flash app, so I can see the bug report in a computer that doesn't have flash-player debugger version or flashbug installed. Any error message that comes on in my app should show in this textbox. How can...
stackexchange/codereview
When you use OmniAuth to login to a web app through Facebook, these are the permissions the webapp has: Access my basic information Includes name, profile picture, gender, networks, user ID, list of friends, and any other information I've shared with everyone. Send me email WebApp may email me directly at email@email...
stackexchange/codereview
I have a problem with css. I have (parent) div and inside, another (child) div. I want align inner (child) div to the TOP-RIGHT corner of the (parent) div. <div id="parent"> <div id="child"> </div> </div> I need something like: #child{ position: absolute; top: 0; right 0; } but this css code puts m...
stackexchange/codereview
I've got a class with a number of attributes, and I need to find a way to get a count of the number of attributes it has. I want to do this because the class reads a CSV file, and if the number of attributes (csvcolumns) is less than the number of columns in the file, special things will need to happen. Here is a sampl...
stackexchange/codereview
This one is making my head spin. Just when I think I got it, I realize something's not right. I have to use recursion for this assignment. Any hints? /** * Uses recursion to find index of the shortest string. * Null strings are treated as infinitely long. * Implementation notes: * The base case if lo == hi. * Use...
stackexchange/codereview
I'm implementing a DNS server and I wonder if there's any tool, preferably online, that I can use to test that I've implemented various features right. A tool that I could use to make various requests to the DNS server and test that it follows the rfc 1035 specification. Are there any "reference test cases" or someth...
stackexchange/codereview
I am using many text boxes in a form. How do i validate them, In certain text boxes I have to use only text and in some I have to use only numbers. Is using ASCII is a right method or is there any easier method to do this. If so please let me know the coding.
stackexchange/codereview
Is there a Wikipedia API library for PHP, especially for the CodeIgniter framework? The Wikipedia API documentation is long and difficult to understand.
stackexchange/codereview
We have a j2ee web environment. The server is configured to share session and possibly classloaders across multiple webapps. Basically, one classloader could server multiple web apps. This seems to cause issues with log4j. Different webapps could have different log4j configurations but the logging will move to the s...
stackexchange/codereview
Once in a while I have to fuddle around with mod_rewrite or rather Apache's redirect. Now I have a simple task, that drives me nuts, cause I can't get it working: Everything that was under /journal/(.*) is now under /blog/(.*). This is what I have now: RewriteEngine on RewriteBase / RewriteRule ^/journal/([^/]+)$ /blo...
stackexchange/codereview
Is there a way to pass dynamic parameters into a custom jquery validate method? Specifically, I was looking for a way to compare 2 controls and would like to pass one to the other's validate method for comparison. Here is what I currently have: //Add method $.validator.addMethod("lowerInt", function(value, element, p...
stackexchange/codereview
I have question: If I have a working folder that points to the head revision. If I have made some changes to the working folder, what is the easiest way to move those changes to another working folder that points to the same revision number. That is to say, how can I create an exact copy of the working folder includin...
stackexchange/codereview
How does webservice maintain session when client is windows/Console app?
stackexchange/codereview
I'm using Glassfish 3.0.1. I sometimes get this error when attempting to call a local EJB: [#|2010-11-10T19:17:25.014+0000|INFO|glassfish3.0.1|javax.enterprise.system.core.security| _ThreadID=26;_ThreadName=Thread-1;|JACC Policy Provider: Failed Permission Check, context(myApplication/myWarModule-1_0-SNAPSHOT_war_inter...
stackexchange/codereview
I was reading a blog post the other day about code-first fluent mappings feature in entity framework ctp4. Just wonder what version of EF comes with Visual Studio 2010?
stackexchange/codereview
I am creating a site which will make lots of searches and I need to log data about every search that is made for later analysis. I anticipate ultimately having load distributed between a number of servers, then each month I will download and import all logs into a single mysql database at my end for analysis. At the mo...
stackexchange/codereview
Say I have a list of 10,000 lines of string that needs to be processed by 100 worker scripts. I would like as many of the 100 scripts to run synchronously as possible. Once a worker script is finished with one line, it should process the next available line that is not currently being processed by another worker script...
stackexchange/codereview
I like the idea of being able to automate my computer with shell scripts but I'm at a loss for what I could actually do. Do you use or have you seen shell scripts used in a novel way, either on a server, personal computer, netbook, etc.? Some examples I was thinking of: Optimize battery life: shutting down services, m...
stackexchange/codereview
I'm having some troble compiling this method: #changes the names of the associations for $agentConf #where the key value pairs in %associationsToChangeDict are the old and new values respectively sub UpdateConfObjectAssociations{ my($agentConf, %associationsToChangeDict) = @_; foreach my $association ($agentCo...
stackexchange/codereview
Wanted to implement this code into one of the class, not main class, it will need try and catch for IOException, how do I place it? when call sendUPD(valueData); it will send string to the function. private boolean Notconnected = true; private void sendUDP(String s){ if(Notconnected){ DatagramSocket datgramSocket ...
stackexchange/codereview
If I create base class A and A is a friend of class B, can a class derived from A access B to its liking, or else what is it allowed? Thanks
stackexchange/codereview
What is the equivalent of Linux's /proc/cpuinfo on FreeBSD v8.1? My application reads /proc/cpuinfo and saves the information in the log file, what could I do to get similar information logged on FreeBSD? A sample /proc/cpuinfo looks like this: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23...
stackexchange/codereview
I'm trying to use C++ abstract base class in the way similar with Java interface. Supposed that we have following interface classes with only pure virtual functions: class Shape { virtual double area()=0; }; class Square : public Shape { virtual void setLength(double length)=0; }; class Rectangle : public Square { virt...
stackexchange/codereview
I've created a module in the /lib folder: Module CookieHelper $str = cookies["shoppingcart"] def get_all_cookie_info() end end But this isn't working. If I move the code into a controller it works fine. Also, I'm trying to invoke the method within this module. I've tried: require CookieHelper CookieHel...
stackexchange/codereview
I received a request from my users that they want is a common "portal" for any web applications from my development group. Currently, if we have X number of web apps, the user needs to know each web app links, and these web apps may look different from one another (no consistencies). Further, if the users move from one...
stackexchange/codereview
I have some problems with memory leaks on iPhone (imagine that), and I have a custom object with a retain count of 10. Is there any way I can know what code triggered the retain count increased for a specific object instance? I am using GHUnit if that matters.
stackexchange/codereview
.sample{ height:15px; width:15px; margin:10px; padding:10px; float:left: /* this one apply in ie only */ border:1px solid #fff; /* this one apply in ie only */ }
stackexchange/codereview
I have a video in avi format and I would like to represent every frame of the video as a matrix using Java. How can I do it?
stackexchange/codereview
I have the following class: /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="ur...
stackexchange/codereview
by the default with <%: Html.EditorFor(m => m.ConfirmationHeadline) %> the output is: <input type="text" value="" name="ConfirmationHeadline" id="ConfirmationHeadline" class="text-box single-line"> As you can see, the input appends already a class attribute. Well, this should not be a problem, jus...
stackexchange/codereview
I've got a complex XML file, and I want to extract a content of a specific tag from it. I use a ruby script with XmlSimple gem. I retrieve an XML file with HTTP request, then strip all the unnecessary tags and pull out necessary info. That's the script itself: data = XmlSimple.xml_in(response.body) hash_1 = Hash[*data[...
stackexchange/codereview
I've been going through some C source code and I noticed the following: void some_func (char *foo, struct bar *baz) { (void)foo; (void)baz; } Why is void used here? I know (void) before an expression explicitly indicates that the value is thrown away; but can someone please explain me the rationale for such an...
stackexchange/codereview
This is what I've been doing instead: my_array.reject { |elem| elem =~ /regex/ }.each { ... } I feel like this is a little unwieldy, but I haven't found anything built in that would let me change it to my_array.grepv /regex/ { ... } Is there such a function?
stackexchange/codereview
can you folks share the plugins that you have used for basic forms. Some of them I have used are validation masked input tooltips rounded corners themeroller
stackexchange/codereview
What are covert channels and what are side channels? What is the difference between the two? I would really appreciate it if you provided examples of each along with your answer.
stackexchange/codereview
I'd like to generate a thumbnail UIImage from an MKMapView I create. Unfortunately map tiles are not loaded until the MKMapView is actually in view on the screen. This means any delegate methods related to loading the map will not fire until the map was shown. Once the view which has the map on it is showing, the deleg...
stackexchange/codereview
Scenario: I am creating collapsible panels in the sidebar and displaying ALL categories as DIVs and all Posts links in those category DIVs. Simple enough. I got all categories by get_categories('orderby=name&order=ASC') and now looping through every category to get ALL posts in each category. Problem: The code get_post...
stackexchange/codereview
I am trying to replicate, with my own code, the history-sniffing demo seen on http://wtikay.com/ and various other places. (It's a long story.) I have something that works reliably in most older browsers (latest Safari and Chrome releases and Firefox 4 betas have a defense) -- but it doesn't work in IE7 or 8 (haven't ...
stackexchange/codereview
I am trying to set up a mono asp.net 4.0 test website that uses memcached providers (http://memcachedproviders.codeplex.com/) using Enyim.Memcached to access memcached. The website and memcachedproviders work fine on a windows server. I ported over the working asp.net website to mono (Ubuntu 10.10, Mono 2.8), and it ru...
stackexchange/codereview
No matter what I try, when I add addListener(Events.KeyPress, new Listener() { public void handleEvent(FieldEvent e) { changed = true; } }); OR addKeyListener(new KeyListener() { public void componentKeyDown(ComponentEvent event) { changed...
stackexchange/codereview
Is there any way i can update 4 activity UI from a background service? I have 4 activity with 4 image view, i want to update the image every 30 seconds. All the activity should be update together. Anyone can show me how to do that?
stackexchange/codereview
I have a 3d, 3x3x3 array of integers. Numpy will print these as a block of the first 3x3, then below it the 2nd 3x3, then below that the 3rd 3x3. If I wanted to print these 3 3x3 blocks BESIDE each other, rather than underneath each other, how would I tell numpy to print differently?
stackexchange/codereview
I was keen on knowing how can I receive calls on a web server using a GSM Modem? I'm a newbie to it, wanted to explore the space. Would be glad if someone can help me on this, probably with some tutorial links etc. Thanks
stackexchange/codereview
In php i get the variable $date_time in this format -- 11-01-2010 20:48:25 . This time is GMT time. I have a 2 hour flexibility and if it exceeds 2 hours then i have to reject it. I am set in EST, but i want to do the check based on GMT only so that there is no errors in the time difference. How can i set to GMT in my ...
stackexchange/codereview
I'm writing a program that uses java.net.URLDecoder.decode(String value, String encoding). Apparently, this method might throw an UnsupportedEncodingException, which I get. But I'm just passing "UTF-8" as the encoding. It won't throw that exception. I could just surround the darn thing with a catch block that does n...
stackexchange/codereview
I'm developing web application that uses AJAX a lot. It sends several AJAX requests to server per second and update page's content based on the request result. Is there a way I can save all responses sent from server to browser using AJAX to disc in order to analyze it later? It is not good to make 'alert' after each ...
stackexchange/codereview
I have a ExtJS page that is outputting the following DOM. I want to select a specific element so that I can respond to a click on it. However, the following code never selected the elements that are built with the extJS library. JQuery can't seem to select them either. ExtJS can't even find an element that is defined i...
stackexchange/codereview
Currently I'm using moodle to create a site. I want to create a function if user not login they will redirect to the login page. How can I do that in moodle?
stackexchange/codereview
I need to load different documents in a popup. I'm using this: chrome.browserAction.setPopup({popup:"newpage.html"}); It works, except that the new page is not displayed until I click the extension button again. Opera has a similar API, but the popup content is actually replaced even if the popup is already opened. So...
stackexchange/codereview
I have this (simplified) markup: <ul id="topnav"> <li>one</li> <li>two</li> <li id="last-nav">last</li> </ul> and these CSS rules: #topnav li { list-style-type: none; float: left; } #last-nav { float: right; } To my surprise, the second rule is overruled by the first one. If I change the selector...
stackexchange/codereview
In order to replace default product image in Magento, we have to replace images in this folder: skin\frontend\mytheme\default\images\catalog\product\placeholder There are 3 files: image.jpg small_image.jpg thumbnail.jpg I need to replace those files with PNG. Where is the code that I can change the .jpg part?
stackexchange/codereview
So * by itself means repeat the previous item zero or more times. The output of * is nothing. What about **? This gives an output, but how does matching zero or more times of nothing give something? Could you also explain that please? Same for ?*: Nothing precedes ?, so that is nothing right? How does matching zero or ...
stackexchange/codereview
I have a set of xyz coordinates for points distributed on a arbitrary 3D surface.(about 50000) I need to group these points in to 10 domains each containing approximately 1/10th of data points according to spatial proximity. Basically 10 surface patches on the surface. Thanks.
stackexchange/codereview
This post is actually divided in two questions: Which kinds of associations classes/interfaces usually have? I'd say there are at least 3 kinds of dependencies: Inheritance : I think we all know this one) Dependency : with this I mean that if class A depends on class B, I can only instantiate class A if I pass it clas...
stackexchange/codereview
Hey guys I've been struggling with autocompletion and readline, if I have an array of options like this: ["@lorem", "@ipsum", "#bla", "#meh"] and I'm in the prompt an put the @ (at sign) and press TAB it shows all the options: what do you want? > @[TAB] @lorem @ipsum #bla #meh but if I use any other sign it works: w...
stackexchange/codereview
We all know and love the NSDateFormatter. Is there anything similar to format time intervals, like the number of seconds, minutes, hours, days, or months between two dates?
stackexchange/codereview
I'd like to know how a Direct3D Device or OpenGL context will know in which portion of the window to render its contents. In the case of Direct3D, if I create a viewport midscreen, leaving borders outside, will the rendering interfere with the rest of the widgets around it? How does it work with OpenGL? As a bonus, why...
stackexchange/codereview
I am developing a client/server application for which I am evaluating a few options for the communications layer. As part of this communication framework, I am contemplating using google's protocol buffer (PB) for representation of the transport data instead of re-inventing my own binary structure. Now coming on to the...
stackexchange/codereview
I'm using sendmail to send a bunch of e-mails (I really have to send this e-mails, unfortunately) through php. The e-mail began to get into gmail and yahoo's SPAM boxes as soon as I stopped using my domain SMTP server, and started using the server's sendmail facility (I separated my domain name provider from my host, w...
stackexchange/codereview
I am using this ajax file upload script, and all works well in firefox http://valums.com/ajax-upload/ But it does not work in IE8. EDIT: Ok, i've narrowed down the problem. In my php ajax response I do this $result['table_1']='<b>text</b>'; echo json_encode($result); The result I see in the IE developer tools looks...
stackexchange/codereview
I'm using NSOpenPanel this way: NSOpenPanel *op=[NSOpenPanel openPanel]; [op setDelegate:self]; [op setCanChooseFiles:YES]; [op setCanChooseDirectories:YES]; [op setAllowsMultipleSelection:YES]; [op setPrompt:NSLocalizedString(@"Scan this",@"button of 'scan folder' open panel")]; [op setAcce...
stackexchange/codereview
For learning purposes I have installed Joomla on my local host using XAMPP for Apache/PHP/MySQL. I have it up and running and I have done some basic things with it. Now I would like to install Drupal which can also be installed on top of XAMPP. I'd like to run both systems on my one windows laptop for learning purposes...
stackexchange/codereview
In git, I've been making commits onto the master branch, when really I should have been working on a feature branch. I want to change this so that master is back to where it started, and what was on master is now on a new branch. Basically, my commit history looks like this: A -- B -- C -- D -- E | | ...
stackexchange/codereview
I have a problem loading two pages at the same time in one window. Here's the scenario. I have a MainWindow.xaml and I have two page files which are LeftPage.xaml and RightPage.xaml. I used frame controls of VS 2010 into my MainWindow.xaml in order to separate the two pages in one Window. Assume when we have a code in...
stackexchange/codereview
Are there frequent processes which the programmer will go through? Or does everyone have different coding habits?
stackexchange/codereview