instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm writing a side scrolling game with physics. Before get my hands dirty i started concentrating on physics and rendering graphics. Initially i thought of keeping every thing static (non scrolling). For physics after referring to many tutorial finally i ended up here http://www.tonypa.pri.ee/vectors/tut08.html. This s...
stackexchange/codereview
I have a uibutton to trigger an iphone's camera to grab an image, and I have a uiimageView in same view to show captured image, but it not showing anything after capturing. Any solution?
stackexchange/codereview
Can you help-me with that database : I´m using Fluent NHibernate, but XML helps too... My problem is with ProductPrice table... Thanks Paul
stackexchange/codereview
My current code is this: $select = $this->select() ->from(array('r' => 'recipes'), $this->getAdapter() ->quoteInto("r.*, MATCH(title, directions) AGAINST(?) AS score", $searchText)) ->where('MATCH(title, directions) AGAINST(?)', $searchTe...
stackexchange/codereview
SQL Server 2008. Morning, If someone could offer their advice it would be very much appreciated. Currently I’m looking to import two XML files, Donation amount and Donation Maker. The Donation Amount file would comprise of an Amount field and a DonationMakerID, and the Donation Maker file would comprise of a Name fie...
stackexchange/codereview
I have a rails app and i wanna to parse the xml response from API using Javascript (ajax). I tried: $(document).ready(function() { $.ajax({ type: "GET", url: "http://localhost:3000/users/mike.xml", dataType: "xml", success: parseXml }); }); function parseXml(xml) { ...
stackexchange/codereview
I have a bash script that I want to be executed before apache starts or restarts. I want my bash script to be executed when apache starts during the bootup process and when I manually run "/etc/init.d/apache2 restart/start". There is an init.d script "/etc/init.d/apache2" but I rather not touch that file. Google is not...
stackexchange/codereview
Just brainstorming some ideas for a Web App I'm building soon. One of the cornerstones of the Web is Session Handling: Have the user log in, send a cookie with magic binary encoded pixie dust, trust the user blindly afterwards. I just wonder if it's feasible to completely eliminate 'traditional' sessions for a web app ...
stackexchange/codereview
I'm developing an GWT + AppEngine app. All works well except when I run it in dev mode the app is not visible to machine on local network. Even on local machine http://localhost:8080/app is working, while http://192.168.x.x:8080/app is not available. Any thoughts how to fix this?
stackexchange/codereview
HI all, I am trying to script some actions on a web based application by using simple SendKeys in a .VBS script. The only problem i have come accross is the fact that i have to put Sleeps in the script to wait for pages loading. I was wondering if there was a was i could monitor an IT window and wait for it to finish l...
stackexchange/codereview
Executing the following NHibernate.Linq statement raises a "could not instantiate: Reservation001.Services.ReservationDto" NHibernate.QueryException containing an inner InvalidCast exception ("Object must implement IConvertible."): var inOneStep = (from r in session.Linq<Models.ReservationHeader>() select new Reser...
stackexchange/codereview
I need to post some xml info to a restful api can anyone give me a clue of how to do this? I'm using rails.
stackexchange/codereview
I want to speedup some matlab code involving a loop. A common solution is to code the loop in C and call it from matlab. However, I was wondering if I can get similar benefits from implementing the loop in Java instead - perhaps the just-in-time compilation makes it faster?
stackexchange/codereview
I Dragged a DataRepeater into my form. Added a TextBox to the DataRepeaterItem. Added A button to the form. Wrote these 2 Lines of Code : Private Sub Button1_Click(..) Handles Button1.Click DataRepeater1.VirtualMode = True DataRepeater1.AddNew() End Sub Run Project Press Add Button in the textBox Write "1" Pr...
stackexchange/codereview
I attached this style attribute to body tag: style="background: -moz-radial-gradient(center center , circle , rgb(223, 224, 228), rgb(189, 193, 200)) no-repeat fixed 0% 0% #fff;" And scrolling the page became very hard - it was lagging and scrolling slowly. Is it supposed to be so? Edit: Not only scrolling, all other ...
stackexchange/codereview
Hello I have a test table with name mytable and with following data id name surname ================== 1 sotos val 2 john rik 3 peter ask How can id export for example the second row in mysql using php knowing the id?
stackexchange/codereview
What is the 'best' server-side technology on Linux to use with Google Web Toolkit & why? I'd like opinions about: JSF and other Java based server technologies Rails Django PHP
stackexchange/codereview
I am using grails, and I am getting the following when trying to create a new EducationType in my controller 2010-10-26 17:14:49,405 [http-8080-1] ERROR util.JDBCExceptionReporter - Violation of UNIQUE KEY constraint 'UQ__educat ion_type__0519C6AF'. Cannot insert duplicate key in object 'dbo.education_type'. 2010-10-2...
stackexchange/codereview
I recogn that I can use an options_from_collection_for_select inside a select box to display a list of options inside it. If I add (first.id), it will select the first option as default preselection. Example : options_from_collection_for_select(@hauses, 'id', 'timebuild', @hauses.first.id) However, if in the index.rht...
stackexchange/codereview
I met a really strange problem while using UITextView, I try to use "GrowStyle" of UITextView, wire up the frame with contentSize, turn off the .scrollEnabled, Build & Run: but when click the bottom of the screen, the keyboard showing up, the UITextView moves up a short distance, and its Top lines disappear, here is t...
stackexchange/codereview
I have an array of tags taken from a MySQL database. Obviously, these tags are strings and are stored in an array, with one element in the array storing each tag. TO build my tag cloud, I want to be able to count the occurrences of each tag to find the most common tag. For example, if I have the table below... tag1 ta...
stackexchange/codereview
I have successfully built an Android App using the SDK. A number of users are asking for a widget to also be made available with the same data. What's the easiest method of implementing this? Can I leverage of my current code project?
stackexchange/codereview
imagine i have one textbox (with autocomplete 1.1, not the latest UI version) and a checkbox. The textbox triggers an asp.net .ashx page that will execute a stored procedure at the sql-server and return the results. It's all working, but i want to add another feature. When the checkbox is checked i want stored_procedur...
stackexchange/codereview
I have the following data model class defined: @PersistenceCapable public class TestSerializableModelObj { @Persistent(serialized="true", defaultFetchGroup="true") private MyPOJO myField; @Persistent(serialized="true", defaultFetchGroup="true") private Collection<MyPOJO> myCollection; // getter/se...
stackexchange/codereview
On sign-up (i.e. when accessing the app), we need to get user's permission to invite their friends to use the app. When a user has finished using the app and the picture displays on their wall, we need to share the post with all of their friends automatically Can this be done in FB application running from iframe? What...
stackexchange/codereview
I have a list of cities, each of them obviously has a longitude and latitude. Now selecting one of these cities, i want to obtain all the other cities that have a longitude / latitude in a range of 50 km from the selected city. What formula should I use? I am only interested in the mathematical formula to convert km t...
stackexchange/codereview
I have the following small svg file hosted at: http://dl.dropbox.com/u/7393/hmap.svg and I am trying to make it look like this: http://dl.dropbox.com/u/7393/final.png The docs where I got this from mentions that this change can be easily obtained by changing a couple of tags on the svg file. However I have tried changi...
stackexchange/codereview
I am currently writing a Perl script that will convert CruiseControl config.xml files to a Hudson config.xml for each project. However I am stuck at one key part: How do I make it so the sub modules of a project also get the goals from there CC config? I can do the root module fine, and set up the configurations fine a...
stackexchange/codereview
I'm looking for either a web-based or Windows-based way to point to a relational data source using automated schema exploration (or, even better, a reflection-based approach that would work on any IQueryable in-memory data source) and allow easy exploration of data, traversing between records in related tables, etc. B...
stackexchange/codereview
My xml looks like <details> <addr> <streetAddressLine>90822 abc lane</streetAddressLine> <streetAddressLine>apt b</streetAddressLine> <!-- streetAddressLine element is repeatable --> <state>xyz</state> </addr> </details> I am looking for xpath expression which can give me the length of stri...
stackexchange/codereview
I am trying to open a Magento store link from an external site. While opening the store link I need to send some information using the query string parameters. So I open a link (through php code) such as: http://magentostore.com/myproduct.html?id=3434&user=445 However the Magento store link ignores the query string p...
stackexchange/codereview
I know the program name is passed as the first argument, and next simple example will print it to the standard output : #include <iostream> int main ( int argc, char *argv[] ) { std::cout<<argv[0]<<std::endl; } Is there a function to get the program name? EDIT I am starting the program from the shell, and the above ...
stackexchange/codereview
I can not add button to this jquery ui dialog. if possible please give me an example . thanks. <script type="text/javascript"> $(document).ready(function () { //setup new person dialog $('#dialog2').dialog({ autoResize: true, show: "clip", hide: "clip", ...
stackexchange/codereview
Does a System.Environment.FailFast http://msdn.microsoft.com/en-us/library/ms131100.aspx usage has any sens in a web applications ? It kills a process and I can't figure out how it could be applied in the web context. Thanks for your response.
stackexchange/codereview
Can any one give example how to work with soap[Simple Object Access Protocol] and wsdl [Web Services Description Language] for iphone...... Thanks in advance.
stackexchange/codereview
I would like to send a message, or something can be an advise from a pc to an another pc (only one, or at the most 2), the latter is powered off. The pc which should send the message is a windows server 2003 os, instead the pc which should receive the message is a windows xp os. The two machines are in the same domain ...
stackexchange/codereview
I run PHP on IIS6. I have some PHP that successfully sends a 1KB image as an attachment on an email. When I try and attach a 500KB PDF however (having changed the Content-Type), it hangs and after a few minutes I get "FastCGI process exceeded configured request timeout" (Error Number 258 (0x80070102)). Any thoughts o...
stackexchange/codereview
I have a game running on android. basically, it's structure is like lunarlander I started my activity , using the layout to start the class running. <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height=...
stackexchange/codereview
I'm building a scheduling system for my work, and it's set up to be a two column page - one column for the nav bar, and the next column for the data. I'm using some jQuery to have it automatically format the column widths depending on the size of the user's screen. For some reason the size of the columns in my header...
stackexchange/codereview
I'm having a problem with my ListView (using CursorAdapter). When I call getListView().getLastVisiblePosition() I am receiving -1. This is a problem since my list is populated with items. Additionally, getListView().getFirstVisiblePosition() always returns 0, no matter where I am scrolled on the list. Any ideas? It...
stackexchange/codereview
I am currently exporting data from an excel import using excel interop. I've been fiddling with this for a few hours now, but can't get the export as I desire. I'm taking a range of 2 columns and about 1k rows from an excel doc, and simply want to add a comma to the end of each column, but because of the way that I'm l...
stackexchange/codereview
I am certain two branches of my Git repo should only ever be different in a single file. The simplest way to ensure this is to do all work in branch1, and merge it into branch2 whenever I switch to it (wrapped into a shell script, so I only need one command per switch). However, is there a way to do this with even less...
stackexchange/codereview
I have a localhost setup(i use apache's virtualhost setup) for a site I am working on with codeigniter. I use SVN for the site. I decided to change the localhost-domain name and the root-folder name(this is the folder from within which I check out SVN) to which the localhost-domain points. To show a better picture, I ...
stackexchange/codereview
I have a SQL Server 2008 database (call it productionDB) that contains data and will be used in a production environment. I have another SQL Server 2008 database (call it stagingDB) that is used in a staging environment. The application that I am working on continues to evolve such that I am often making changes to the...
stackexchange/codereview
I just started using Maven with eclipse and deployed my application to WebLogic. When I do a clean install for the first time, my Maven project builds and deploys successfully. After that, when I make any change to the source code or jsps, I do a pre-clean install to update the project. Now, everytime I do pre-clean in...
stackexchange/codereview
I am writing code that needs to compile and run without error on both Unix/Mac (with GCC) and on Win32 (with mingw). The code has to run in a wide variety of different environments and it has loadable modules that I can't control, so I typically protect each module with a setjmp() and signal(). I see that WIN32 has bo...
stackexchange/codereview
Possible Duplicate: Custom attributes - Yay or nay? Hello, it might be a very basic question but I wonder if are there any implications to set custom attributes to HTML tags... in terms browsers compatibility, SEO, complainants etc. thanks
stackexchange/codereview
I have this condition in a query: WHERE fielddate> = '2010-10-01 'AND fielddate <= '2010-10-18' to migrate the database to another server (2008) with the same engine database (sqlserver-2005 Express), returned error: The conversion of a char data type to a datetime data type resulting in an out-of-range datetime ...
stackexchange/codereview
Where can I find a list of country-specific IP ranges for Mexico? I know there are services I can query to determine if a specific address is based in Mexico, but doing that each time a new user loads a page seems like overkill. I'd like to create an XML file with IP ranges that I can check against. The best I've been ...
stackexchange/codereview
What are the analogies between the objects found in JDBC and the ones found in ADO.Net? I know the object model in JDBC and ADO.Net are not exactly the same, but I think some analogies can be found among them (and key differences worth stating). That would be useful for those who knows one API and wants to learn the ot...
stackexchange/codereview
Is it possible to instantiate generic objects in Java as does in the following code fragment? I know that it is possible in C#. But, I haven not seen a similar mechanism yet in Java. // Let T be a generic type. T t = new T();
stackexchange/codereview
I have to set up continous integration for php. My CI server should be able to build the project, run the unit tests and create a report with the result. What would be the best continuos integration tool for a symfony project? I can't decide between phpUnderControl + CruiseCotrol, Xinc, or Hudson.
stackexchange/codereview
Does MIDP 2.0 say that this phone has at least GPRS capability? I need to come up with a list of phones which has MIDP 2.0, and GPRS capability.
stackexchange/codereview
greetings all I have a post method in a controller, which redirects to a new page I a way such like: @RequestMapping(method = RequestMethod.POST) public String post(HttpServletRequest request) { return "redirect:http://www.x.appName.com/myPage"; } suppose that the user already has a session before t...
stackexchange/codereview
I have a classifieds website, and when posting a new ad, users may chose to upload pictures. Currently, the form on the page submits to itself whenever a file is chosen, and then PHP uploads the actual file, which is then lastly displayed to the user. I use javascript to set some hidden-inputs on the page, and then sub...
stackexchange/codereview
I defined the following DataTemplate for a LibraryContainer: <DataTemplate x:Key="ContainerItemTemplate"> <Grid> <Border BorderThickness="1" BorderBrush="White" Margin="3"> <s:SurfaceTextBox IsReadOnly="True" Width="120" Text="{Binding Path=name}" Padding="3"/> ...
stackexchange/codereview
I'm messing with HTML5 and audio tags for a little project I've been working on. Basically, I have an anchor tag that activates a jquery slideToggle. I want to add sound effects to it so that clicking the anchor plays one sound effect when it opens and a different sound effect when it closes. I've spent hours trying...
stackexchange/codereview
When sending data using UDP, a destination port is needed to be specified. If sending by TCP, a source port should also be specified. Are there different ports for input and output? E.g., if I specify port 1234, can I use it for both input and output or should I use different ports for output and input? EDIT: To clarif...
stackexchange/codereview
All, Is there some setting that I can tell hbm2ddl to run a view creation statement instead of create a table when generating the database schema? I'm creating my database schema using the wonderful hbm2ddl tool, but I have one issue. I need to flatten some of the tables into views to aid searching the database, and ...
stackexchange/codereview
I've tried everything I can find on every website out there, and I can not get this to build. $ ruby --version ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] Full error: http://gist.github.com/651945 Entire build: http://gist.github.com/651952
stackexchange/codereview
I use the block base API for my animations on iOS. One animation has a completion block and that block is called at the end of the animation, nice. However, that animation can be fired multiple times when the user scrolls (the animation is on a UITableViewCell). When that happens the the completion block is called mul...
stackexchange/codereview
I don't want to install a single thing. There must be a web based viewer somewhere! I'm having a hard time finding such a thing in google. There must be somewhere online where I can simply paste "svn://nex-3.com/gtk-themes" and it will let me browse the contents of the repository (assuming the repo exists and is public...
stackexchange/codereview
I am having a problem with facebook. I have registered an application with facebook, written the code for updating status via application. But when the status is posted facebook does not shows the application's icon on the wall. It only shows the small logo and not the big icon. I have re-verified that the application ...
stackexchange/codereview
I override the function getView(), but when debug I found it never be invoked, really weird... public class EntriesActivity extends ListActivity { private static final String TAG = "EntriesActivity"; private EntriesAdapter mArrayAdapter; private List<Entry> mEntries = new ArrayList<Entry>(); String mGoalId; @Ov...
stackexchange/codereview
How to add data to UITableView ? I need array of data inserted in this view UITableView *tableView = [[UITableView alloc] initWithFrame:tableFrame style:UITableViewStylePlain]; [table numberOfRowsInSection:20]; table.backgroundColor = [UIColor clearColor];
stackexchange/codereview
We send out a confirmation email on completed registration. User need to click a link to confirm the registration, this link opens up a new window. Bog standard procedure... How can I get the new window to open up in the existing window (or close the old window)? [Update, not sure if I was clear enough.] When I click ...
stackexchange/codereview
I want to make a java program that must run for a specific number of times only. e.g 2,5,10 etc. after that it must throw an Exception. It is not allowed to use any FILE or Database for this. Someone gave me a hint of REGISTRY! But i don't know how to use it for this. Please help me is this regard...
stackexchange/codereview
Running JBoss 4.2.3.GA and trying to deploy a WAR that is using Spring/Hibernate/JPA. I'm getting ClassCastExceptions (quite a lot of different ones) so I'm trying to setup a Classloader Repository for my WAR. This is my catalog.war/WEB-INF/jboss-web.xml file <jboss-web> <loader-repository> com.moo.catalog...
stackexchange/codereview
A service we have is occasionally crashing on a test PC. We are getting some information in the Event Log, a ".NET Runtime 2.0 Error" with some details. I've determined that P1 is the executable, P2 is the version, P5 is the .NET Runtime, but what are the rest of the fields (P1-P10)?
stackexchange/codereview
I have dynamic page which hides and shows a lot of stuff, div's, depending of what the user is clicking. It works great however the default.aspx gets a bit messy with all that html so I wounder if it is possible to split up the html into smaller parts and still keeping the structure of the page? Thanks M
stackexchange/codereview
On Android 2.1, just as on most graphical computer OSes, pressing the mouse while in a button, then dragging away, then dragging back, then releasing (while within the button rectangle) would result in a button press. It would also highlight while the mouse pointer was within (or actually near) the button, going off a...
stackexchange/codereview
How to avoid getting empty fields in a databound combo box?
stackexchange/codereview
I've got the script below <script type="text/javascript"> $(document).ready(function () { var ChildMenusFound = $(".menu_Child").hover(function () { //Mouse Over alert('ok'); $(this).toggleClass("menu_hover"); }, function () { //Mouse O...
stackexchange/codereview
i download a java app webstart.JNLP . After i opened in notepad, i found it listed some resource as below, i think, for the app to be able to load, those *.jar must be locate some where in my pc. Where can i find the path to *.jar ? does any one help ideas ? <jar href="sax2.jar"/> <jar href="soap.jar"/> <ja...
stackexchange/codereview
I have made an app and need to implement Bank of America account usage in it. I have heard that Bank Of America provide API for iPhone........ Where to get it and how to use it? Please help....
stackexchange/codereview
I'm looking for oracle admin tool like SQL Buddy (here). I just want to use the browser to test my querys.
stackexchange/codereview
hi how can i send a dhcp request/discovery packet using c# to locate dhcp server any idea or snippet
stackexchange/codereview
How can i export from MySQL to MS ACCESS 2007 in c#? Any tutorials? Regards, Alexandru Badescu
stackexchange/codereview
I would like to know how to remove duplicate nsoperations, i.e is there a way to check the nsoperation queue and see if I am making a duplicate request? Basically, I am requesting images depending on the iphone screen rotation. When the view is loaded the shouldautorate is called twice. If(rotation==portrait){ requ...
stackexchange/codereview
I have heard that it was suboptimal for C to automatically collect garbage — is there any truth to this? Was there a specific reason garbage collection was not implemented for C?
stackexchange/codereview
Hey guys. I have some difficulty in creating a filename. okay, here is what I want to do: a matlab function called file_save(filename,input_data) is to save data into a xml file. so in a for loop, I want to create xml file with sequential filename eg. output1.xml output2.xml output3.xml I guess there are some way of co...
stackexchange/codereview
Django, Python: How do I know if users have closed their browser without click logout? Really seriously question, because I need to analyse the user activities.
stackexchange/codereview
I'm trying to keep model logic within my model, but I can't get it to perform modifications on itself and have them persist in the database. In my controller: @article.perform_some_calulcations! In my model: def perform_some_calculations! self.foo.gsub!(/regexp/, 'string') self.save end If I drop debugger stateme...
stackexchange/codereview
Which operating systems support LSP (Layered Service Provider)? Interesting operating systems (Windows XP 32/64bit,Windows Vista 32/64bit, Windows 7 32/64bit, Windows Server 2008 32/64bit, Windows Server 2008 R2 32/64bit)
stackexchange/codereview
I have a page on my site where a user can upload a Photoshop, Illustrator, or InDesign file. It's for a print shop, and they need to do things like see which fonts are used in the file, check if the file contains spot colors, and other information like the dimensions, resolution, color space, etc. Is there an SDK out t...
stackexchange/codereview
I have got a table named student. I have written this query: select * From student where sname in ('rajesh','rohit','rajesh') In the above query it's returning me two records; one matching 'rajesh' and another matching: 'rohit'. But i want there to be 3 records: 2 for 'rajesh' and 1 for 'rohit'. Please provide me som...
stackexchange/codereview
I need to do the following modifications to a varchar(20) field: substitute accents with normal letters (like è to e) after (1) remove all the chars not in a..z for example 'aèàç=.32s df' must become 'aeacsdf' are there special stored functions to achieve this easily? UPDATE: please provide a T-SQL not CLR soluti...
stackexchange/codereview
In my SL Application I have multiple DomainService Classes which deals with the specific entities. Now I need to call upon a method from DomainService Class 1 in Class 2. How do I do that? e.g Product entity is handled in Class2 whereas the Workflow entities are handled by Class 1. I have created a custom class which h...
stackexchange/codereview
I have an intranet site for change control management system. Approval workflow is associated with the list. On new request creation or editing any item, approval workflow task is created and mail notifications are sending to the concerned person. Now approving manager login to the portal and approve the task. Now they...
stackexchange/codereview
Normal lazy load plug in: $(function() { $("img").lazyload({ placeholder : "img/grey.gif", effect : "fadeIn" }); }); Can I control the speed of the fadeIn aspect say 0.9 or 1 second? Is that possible?
stackexchange/codereview
How can I insert some text into an existing string? For example, suppose I have a string "Name Age Group Class Profession". How can I insert the third word three more times before the fourth, to get "Name Age Group Group Group Group Class Profession"? I know how to split the string into words using .split(), but then w...
stackexchange/codereview
I have 2 activities named FirstActivity.java and SecondActivity.java. When I click a button in FirstActivity, I call SecondActivity. When I return back from SecondActivity, based on the result, I need to skip some steps in FirstActivity which are performed in its onCreate() method. Coming back from SecondActivity I use...
stackexchange/codereview
I'm doing a MySQL query similar to following: UPDATE my_articles a LEFT JOIN categorylinks cl ON a.pageid = cl.cl_from SET a.importance = 'High' WHERE cl.cl_to = 'High' The problem is, I don't have a UPDATE right for the categorylinks table (I do have that right for my_articles), so the query fails with ...
stackexchange/codereview
So, I only realised today that __new__ is deprecated for receiving arguments, as of python 2.6 (it isn't mentioned in the documentation, which is also not true in terms of the behavior of __new__ calling __init__ as far as I can see). This means my functional code has started raising warnings, and I want to rid myself ...
stackexchange/codereview
Ipad converts listboxes to dropdowns. The problem is that when the list pops up, items longer than about 25 characters are truncated at 25. Is there anyway to force the popup to display the complete text?
stackexchange/codereview
I made a flash file with a textbox in it, strangely on Chrome on windows altGR is not working, so it is impossible to make @ symbol. Does anyone know how to solve this issue? Thanks Giuseppe
stackexchange/codereview
I want to be able to plot a route in Google Maps, modify that route by dragging it, save the changes and reload it at some later time and edit it further. In the same manner as Google's MyMap. Simply saving the origin and destination locations wont work as it wont reload the same route. I can save all of the points i...
stackexchange/codereview
I am currently looking for git clients for Mac OSX, I have tried the following: GitX (Didn't like it.. doesn't seem functional enough) Git Gui / GitK.. (Butt Ugly! i mean yuuuuuck! and not user friendly) Source Tree (By far the best but still lacking somewhat) Is there a functionally equivalent nice looking "versions...
stackexchange/codereview
I've looked all over and haven't been able to find a clear answer to a seemingly common question: How can I do two-way databinding over a many-to-many relationship in ASP.net? I have the following database structure: I am currently writing a page for editing or adding a User record. Databinding things such as name and...
stackexchange/codereview
There is something like status changes check logic in our app. Currently checking is being handled by ugly if statement I want to replace it by transition matrix: my %allowed_status_changes = ( 1 => (2,5), 2 => (1,2,3,4,5), 3 => (4,2), 4 => (3,2), 5 => (), ); my $is_allowed_t...
stackexchange/codereview