instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Is there a decent OSS URI manipulation class for .NET? Please dont suggest the BCL Uri class, or all other manner of manual hacks I could do around that almost useless thing. I'm looking for a robust library to handle taking uris of all different forms (relative, absolute, with/without query string etc) that lets me ac...
stackexchange/codereview
I wrote a server that is listening for incomming TCP connections and clients connecting to it. When I shut down the server and restart it on the same port, I sometimes get the error message EADDRINUSE when calling bind(...) (error code: 98 on Linux). This happens even though I am setting the option to reuse the socket....
stackexchange/codereview
I wanted to how to use Win32_PerfRawData_Tcpip_NetworkInterface class to get the current bandwidth. I want to know from the begining. i'm using xp,Microsoft Visual C++ 2005 Express Edition.I'm not getting how to.
stackexchange/codereview
I am trying to profile a single unit test (the test itself passes) using dotTrace 4.0. It seems that dotTrace profiles Resharper's test runner instead of profiling the test itself. I could find an answer from JetBrains dev team regarding this issue with dotTrace 3.1: it seems that MSTest creates a new process for runni...
stackexchange/codereview
I am a product owner and I am helping setup a themed sprint. To be clear, by themed I mean all the users stories are related or cluster around a common goal. I still have other stories that don't work well in the theme that I want to include. The problem is that when I fragment the vision of a sprint we don't work a...
stackexchange/codereview
I've created a number of controllers & views under an 'admin' namespace, but they are still pulling from the application layout. how can I make a layout that applies to all the views in the namespaced routes, and still use the current layout for the other pages?
stackexchange/codereview
I am a beginner in Android programming. I was going through the official tutorial on Android developer site. When I copied the codes for the Grid View tutorial to Eclipse, many red wave underlines appeared which are not allowing me to compile. Every time I click the run button, it says "Your project contains error(s), ...
stackexchange/codereview
I have code written in C# and need to convert to PL/SQL code. Code C#: long n1=563272302, n2=369098752; n1 ^= 0x000000004892011bL ^ n2; Result after operation is: n1=2130762613
stackexchange/codereview
My app uses Codeigniter validation successfully in multiple controller for various input fields. But when it comes to uploading and validating an uploaded image the validation complains. I have the following form: require_once('head.php'); echo 'Update Avatar'; if(validation_errors()) echo ''.valid...
stackexchange/codereview
Hello I am trying to simulate the fade method provided in mootools 1.2 in 1.1. Due to development restrictions I have to use 1.1. I basically update my div after an ajax response and I want this div to get cleared after some time var resp = Json.evaluate( response ); $(elem).setHTML('Thanks!'); //Show the message fo...
stackexchange/codereview
i want int from string in javascript how i can get them from test1 , stsfdf233, fdfk323, are anyone show me the method to get the integer from this string. it is a rule that int is always in the back of the string. how i can get the int who was at last in my string
stackexchange/codereview
Where is the command/button/dialog to add a project to an existing mono touch solution? e.g. I have a MonoTouch App and I want to add a class library to the solution.
stackexchange/codereview
I'm sure this is a pretty easy fix, but I'm not sure why my pushes to GitHub are failing. Right now it looks like: $ git push origin master To git@github.com:user_name/project_name.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'git@github.com:user_name/project_name.git'...
stackexchange/codereview
I would like to do some calculations on a value in a string and finally replace them. Oracles regexp seemes to be good but the \1 gets evaluated at the end of all calcualtions. So I am wondering if I could fore the evaluation before passing it to the function? set serveroutput on declare l_foo varchar2(4000); fun...
stackexchange/codereview
Here's the code from sys import argv script,from_file, to_file = argv open(to_file,'w').write(open(from_file).read()) I'm new to python, and I'm Learning Python the Hard Way, on the extra credit for one problem, it says the writer of the book was able to make the code one line long, so I managed to get it down to 3 li...
stackexchange/codereview
I'm having an issue within rails where, I have a basic many to many relationship between two models (order and status). These models look like the following: class Order < ActiveRecord::Base has_many :products, :through => :lines has_and_belongs_to_many :statuses default_scope order("#{table_name}.created_at des...
stackexchange/codereview
I am trying to create a 'sort by status' function that shows, for example .. all projects with the status = 'quote'. I am having a bit of trouble figuring out how I should go about this. Here is my models.py (simplified) class Project(models.Model): client = models.ForeignKey(Clients, related_name='projects') created_...
stackexchange/codereview
I've noticed that a lot of the time when i search something on Google, Google automatically uses the search function of relevant websites and return the result of the website search as if it was just another URL. How do i let Google and other search engines know what is the search box on my own website and does Open S...
stackexchange/codereview
I am looking to implement a SIP VoIP client using any of the scripting languages - either perl, python or ruby or others. I have knowledge of SIP but have not tried anything with scripting languages. I did have a look at perl module Net::SIP for the same and found it to be interesting. I am looking for something that p...
stackexchange/codereview
Hey everyone! i am making a small twitter client using mono i just whant to know if there good librarys i could use. Currently i am using twitterizer http://www.twitterizer.net but mono isn't officialy supported. I am new in this so any comments and links are welcome.
stackexchange/codereview
I'd like to render a very simple 3D scene in a java applet. I could do all the math myself and render that to a bitmap, but as I'm sure I'm not the first person in history to have to draw a few cubes to the screen, I was wondering how this is usually done. Every place I've read has said either Java3D or LWJGL, but as ...
stackexchange/codereview
I have the following class: class Point2D { protected: double x; double y; public: double getX() const {return this->x;} double getY() const {return this->y;} ... }; Sometimes I need to return x coordinate, sometimes y coordinate, so I am using pointer to th...
stackexchange/codereview
What is the "correct" way to add all elements from one std::list to another one? void Node::addChilds(const NodeList *list) { for(NodeList::const_iterator i = list->begin(); i != list->end(); ++i) { this->m_childs.push_back(*i); } } I thought about std::copy, but afaik f...
stackexchange/codereview
I have an insertUpdate.php which insert table rows into MYSQL database, <?php $userid=$_POST["userid"]; $timestamp=$_POST["timestamp"]; $addALine="INSERT INTO myDatabase (userid,timestamp) VALUES ('$userid','$timestamp')"; $intoDatabase=mysql_query($addALine); ?> and a showUpdate.php which show the table as a web pag...
stackexchange/codereview
I have a database table that contains "commands" and "states". Each command can have several states, and the user is able to configure this when search. For example, the command could be "Run" and it could have two states: "Fast" and "Slow". I want to search my table for all commands called "Run" with "Fast" or "Slow"....
stackexchange/codereview
Good day! I'm planning to upgrade WebForms application and I have two possible choices: Write it in ASP.NET MVC 2.0 with WebForms view engine and upgrade it to 3.0 when it will be out Write it using ASP.NET MVC 3.0 RC with Razor as view engine It seems that Razor is the only 3.0 feature I really can take advantage of...
stackexchange/codereview
So I'd like to be able to allow other applications residing on the same machine to call into my Java application. The call would either launch the app if not running and invoke the method or just invoke the method. Ideally the communication should be language independent as calling application could be written in any ...
stackexchange/codereview
i have several problem: if i modify Email app ,if i can use cygwin to compile.if yes how to compile,if no if i can compile in VMware Workstation with Ubuntu. if i modify framework resources,if i can use cygwin to compile.if yes how to compile,if no if i can compile in VMware Workstation with Ubuntu. how to combil...
stackexchange/codereview
I have to create a table that can be sorted by clicking on the table header AND by reordering single and multiple rows by hand. I made some buttons to move selected rows in the table model up, down, to the top or bottom. Those buttons alter the table model and afterwards update the JTable. This alone works fine. But wh...
stackexchange/codereview
I have got an assignment in which I have to implement a AS3 wrapper for any FLV player and I have to expose actionscript functions (External Interfaces?) so that other can be used in other different applications via CallFunction API. I have few questions regarding this - Are the tools for this are freely available? I ...
stackexchange/codereview
there is a simple way to get all files inside a specifically dir (dir that is in a tar file) one after another as a same file-like object? TNX
stackexchange/codereview
I have two entities, Account and Subscription with a many-to-many association between them. I can't seem to find in the tutorials anywhere how to do the following: I want to find all the Accounts with a Subscription of type x. If I wasn't using the Entity framework I could join to the AccountSubscription table, but tha...
stackexchange/codereview
Please show me the best/fast methods for: 1) Loading very small binary files into memory. For example icons; 2) Loading/reading very big binary files of size 512Mb+. 3) Your common choice when you do not want to think about size/speed but must do only thing: read all bytes into memory? Thank you!!! P.S. Sorry for maybe...
stackexchange/codereview
Getting the information from the HTTP User-Agent header using navigator.userAgent in JavaScript we get things like this (using different OS and browsers): "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHT...
stackexchange/codereview
I'm trying to convert a small mvc2 application to the mvc3 razor syntax. In my mvc2 application I'm using the aspx view engine with a master page. Following the example from Steven Sanderson's Pro MVC2 book 2nd edition, in the masterpage I call a controller action that renders a partial view for each entity. This is ...
stackexchange/codereview
I'm trying to load a remote content of my site with jquery, but I constantly get an error: XMLHttpRequest cannot load 'anylink_here' Origin null is not allowed by Access-Control-Allow-Origin. Here is my code: jQuery(function(){ $('#checkout').submit(function(e){ //prevent default behavior and hide ...
stackexchange/codereview
how can i create an application which support korean as well as english language?
stackexchange/codereview
let csvList startDelim endDelim lst memF = let listIter (listStr: string) item = if listStr.Length > 0 then listStr + "," + (memF item) else memF item startDelim + (List.fold listIter "" lst) + endDelim let listIntoJson...
stackexchange/codereview
Going through classic data structures and have stopped on linked lists.Just implemented a circular singly-linked list, but I'm under overwhelming impression that this list could be expressed in a more elegant manner, remove_node function in particular. Keeping in mind efficiency and code readability, could anybody pres...
stackexchange/codereview
Im studying up on .NET multifile assemblies. In the context of multifile assemblies, the book states: *.netmodules [not the primary module] are loaded on demand by the CLR when used by the calling code Set me on the right track if I'm wrong, but when calling an executable file, all referenced assemblies, including t...
stackexchange/codereview
I've got a simple html-list which contains elements like this: <li> <a href="http://somecool url.com/">some link</a> <span class="sc-track-duration">24.27</span> </li> On the hover-state I change the text-color to white: li:hover { background-color: #d21600; color: #fff; } The span's text-color changes bu...
stackexchange/codereview
I'm trying to implement this method of making a nice form upload: www.kavoir.com/2009/02/styling-file-upload-select-input-control-input-typefile.html/ which is amazing and simple, but my only issue is that every time I select a file it's showing up as "C:\fakepath\filename". I'm on a mac and I cannot for the life of ...
stackexchange/codereview
I am having a bit of a problem using reflection and accessing collections: XmlElement xmlObject = Scene.CreateElement("Object"); Type Target = obj.GetType(); ... xml code here PropertyInfo[] props = Target.GetProperties(BindingFlags.Public|BindingFlags.NonPublic|BindingFlags.Instance|BindingFlags.Static); foreach (P...
stackexchange/codereview
I am load testing a web application and wondering if there is a way I can get the health of the my oracle database during the load test. Any idea or links to articles is appreciated. Thanks in advance
stackexchange/codereview
I guess all everybody else would like the opposite but i need to hide the "directory" structure of an ASP.NET website. For this reason i am thinking of Use the robots.txt as follows... User-agent: * Disallow: / Use Url rewriting, to make ghost paths Disable directory browsing. (Directory listing denied...) Use .ashx ...
stackexchange/codereview
I need to capture the name of an anchor html tag with regex and php so from text I will get "hello" (the name of the anchor) Tried that: $regex = '/(?<=name\=")#([^]+?)#(?=")/i'; preg_match_all($regex, $content, $data); print_r($data); I've tailed the apache error log to find out that: PHP Warning: preg_match_al...
stackexchange/codereview
String f = DropDownList1.SelectedItem.Value; String s = DropDownList3.SelectedItem.Value.PadLeft(3,'0'); String q = DropDownList2.SelectedItem.Value; String w = TextBox2.Text.ToString(); String o = TextBox3.Text.ToString(); I want to combine it to a single string i.e String u= f+s+q+w+o How to do i...
stackexchange/codereview
I've recently started learning Antlr and downloading AntlrWorks 1.4 which supposedly includes Antlr 3.2. Now, 3.2 is supposed to support the rewrite rules grammars like '->' but I've not been able to get even the simplest case I could construct to work either based on Lexer or Parser rules: grammar TestRewrite; ab :...
stackexchange/codereview
I am using orbeon and I am trying to read child element defined in XBL. Here is how my xform definition looks like <fr:foobar ref="mynode" constraint="unique"> <fr:foo from="abc" to="def"> <fr:bar key="id" name="primary" /> </fr:foo> </fr:foobar> In XBL I can't seem to find an easy way to read the child elemen...
stackexchange/codereview
I know Google does A LOT of user interface/experience testing and I'm looking for any type of scientific research on User Experience when it comes to typefaces used on a monitor display. As such, I'm going to use Google as an example. Why doesn't Google use the typeface of Verdana or Tahoma (instead of helvetica/arial)...
stackexchange/codereview
I need a way to create a collide effect, without the actual collision between the two images. Let me explain in more detail... If I have one fixed image and one image that is moving both images are on the same x coordinate at different positions. Basically I want the images appear to be colliding.I would want to run a ...
stackexchange/codereview
Here's a tough one for you. I am working on a class project where I create a peer-to-peer chat program and I have this problem: When I open up a chat window, no problems. When I open up a second window and try and login to the chat, I get this error: **[Fatal Error] :1:120: The processing instruction target matching "...
stackexchange/codereview
I am seeing weird characters in the datastore when reading them in BlobstoreUploadHandler. The problem is only on Google servers, everything works great on the development server. This usually works: item = models.Item() item.description = self.request.get("description") item.put() However, if this is within a Blobsto...
stackexchange/codereview
I want to make an animation that is exactly the same as the Flipboard's one. I have tested Leaves and EPGLTransitionView on github, however, Leaves gives me the hand gesture but doesn't implement the page turn animation (its animation is like the iBook's one), and EPGLTransitionView doesn't implement the hand gestures...
stackexchange/codereview
I just want to ask on how to print script 'javascript' at the footer using simple plugin. I'm using WordPress 3.0 any ideas?
stackexchange/codereview
When I want to print the content of an Array, I always get the string "Array" instead of the content. I've also tried: implode(",", $myArray); but still I get "Array" rather than the content itself
stackexchange/codereview
Can I use VB.Net's generics to simply Wpf notifiable bound controls?
stackexchange/codereview
What can I use to call the OS to open a URL in whatever browser the user has as default? Not worried about cross-OS compatibility; if it works in linux thats enough for me!
stackexchange/codereview
I have table named usertable and structure is id Name Year ========================== 1 a 2010 ____________________________ 2 b 2008 ____________________________ 3 c 2010 ____________________________ 4 d 2007 ____...
stackexchange/codereview
I have this requirement to send my application background and then bring it to foreground on some key capture intents (not from application launcher offcourse) So How can I send the current tasks to background and bring the same to foreground ?
stackexchange/codereview
Would anyone know how I can view what a cursor has in it during debugging so that I can determine the functionality of my database helper? It keeps acting like it's returning data, but then when I attempt to use the cursor.isNull(0) method, I keep getting NullPointerException thrown and not being able to see what the c...
stackexchange/codereview
I want to change the XMLHttpRequest send function so that a function is called before the request is made and after the request is complete. Here is what I have so far: var oldSend = XMLHttpRequest.prototype.send; XMLHttpRequest.prototype.send = function() { //this never gets called oldOnReady = this.onreadysta...
stackexchange/codereview
I have an NSTextView backed by a text system I put together myself, along the lines of the "Assembling the Text System by Hand" section in the Text System Overview in the Cocoa documentation. It successfully displays the contents of the NSTextStorage on the screen. But when I type into it, nothing seems to happen—the ...
stackexchange/codereview
I was asked to set up HTTPS with a self-signed cert on Apache on localhost, but how do I actually do that? I have no idea at all.
stackexchange/codereview
I have a system "fsimage.so" that requires mkdirp, which just happens to live in libgen.so. But fsimage.so does not know this. For example: # ldd /usr/lib/python2.4/vendor-packages/fsimage.so libfsimage.so.1.0 => /usr/lib/libfsimage.so.1.0 libxml2.so.2 => /lib/libxml2.so.2 libgcc_s.so.1 => /usr...
stackexchange/codereview
I have an array that i want to make global, and i want to initialize in a function call. I want to first declare it without knowing it's size: char str[]; and later initialize it: str = char[size]; How can i do this? I'm very new to c and perhaps I'm going completely the wrong way here, any help would be greatly appr...
stackexchange/codereview
I am trying to generate a tourist application for my final year project, which is a tourist application for the Olympic Games in London. the thing which is very confusing for me is that , I really dont know if I have to generate it in Android as a standalone application or should I generate it in Spring+HTML5 as Mobile...
stackexchange/codereview
I want to index all my music files and store them in a database. I have this function that i call recusively, starting from the root of my music drive. i.e. start > ReadFiles(C:\music\); ReadFiles(path){ foreach(file) save to index; foreach(directory) ReadFiles(directory); } This works fine, but...
stackexchange/codereview
but trying to operate jquery validate plugin 1.6 but im getting this error in Chrome inspector: Uncaught ReferenceError: jQuery is not defined. ------ jquery.validate.min.js:15 I'm loading jquery 1.4.4 in my page. Any idea? Regards Javi
stackexchange/codereview
I need to create an audit log like feature where most of one table's fields are copied to another when they are modified. Normally, I would create a SQL trigger to do this. Is there an Entity Framework 4 equivalent, where upon modifying Entity X I could modify Entity Y?
stackexchange/codereview
Some have the habit of adding header file imports/includes to the header file. Some on the other hand, write a forward declaration in the header file and write the actual #include or #import lines in the implementation file. Is there a standard practice for this? Which is better and why?
stackexchange/codereview
I'm using jquery ajax to send values to my .net web service which in turn sends those values to a stored procedure. The problem i'm having is that no matter what values I send to the web service, they get inserted into my DB as one char. e.g. "test" becomes "t". None of my receiving tables columns have a max value set ...
stackexchange/codereview
Quick easy question, why is 640x480 always the standard window width/height when getting a webcam stream? is this because most webcams have a viewable area of this size in pixels?
stackexchange/codereview
I am trying to get the bounds of my mapview but I had the problem that the latitude is always set to 0 and longtitude is always set to 360*1E6. According to this link, that is because it will only offer the right coordinates when the map is fully loaded: Mapview getLatitudeSpan and getLongitudeSpan not working Now, I a...
stackexchange/codereview
I have a production server that refuses to start up in the 'production' environment. it recently ran Rails 2.x and Passenger 1 (or 2 can't remember) just fine. Upgraded Rails & Passenger and now it starts up in the development environment even though Passenger docs say it should default to production. We haven't change...
stackexchange/codereview
Greetings, I have written a directshow source filter that takes the AVC/AAC video frames/AAC access units from the ATSC-153 broadcast, written on WinCE/ARM video processor. The output pins (2 of them, one for video, one for audio) are connected to the appropriate decoders and renderers. Currently, I am taking the PTS...
stackexchange/codereview
I'm in the process of developing some load tests for an internal web application. The problem appears to be related to our use of Windows authentication. I can access the web application if I launch the browser and nevigate to our app. I can't, however, access the application via webrequest in my load test. It throws ...
stackexchange/codereview
I have worked out the oauth authentication etc. Don't quite know how to access it. Searched the Zend documentation but couldn't find it..
stackexchange/codereview
what is the best way to store some variable local to each thread?
stackexchange/codereview
I am trying to execute the following PHP script (called test1.php, say) on a web server running Apache. The script tries to connect to a MySQL server: =============================================== $myHost = "localhost"; $myUser = "anyone"; $myPwd = "1234"; $link = mysql_connect($myHost,$myUser,$myPwd); if (!$link...
stackexchange/codereview
Not quite sure why I can't get this file to delete. I'm logged in as Admin, tried "Run as Admin", tried running in the same folder, tried setting permissions on the file, tried creating a test 1.txt file to delete and no luck. It is acting like the file isn't there. I can see it in Windows Explorer. Please any help is ...
stackexchange/codereview
This answer explains that when calling a .asmx web service there's no need to specify which authentication type to use: WebServiceProxy proxy = new WebServiceProxy(); // Derived from SoapHttpClientProtocol proxy.Credentials = CredentialCache.DefaultCredentials; This method works for both NTLM and Kerberos authentica...
stackexchange/codereview
Assume I have a table with a column of integers in Oracle. There are a good amount of rows; somewhere in the millions. I want to write a query that gives me back an integer that is larger than 80% of all of the numbers in table. What is the best way to approach this? If it matters, this is Oracle 10g r1.
stackexchange/codereview
I am using system daemon inside a class, I am wondering if the following code for setting a handler is ok or not System_Daemon::setSigHandler(SIGTERM, array($this, myShutdownHandler) ); in the documentation they don't mention how to pass an object method as a "handler" here: array($this, shutdownHandler) the qiven exa...
stackexchange/codereview
I am porting an iPhone app to WP7 which contains a map with several markers/pushpins that I get from a webservice (location, icon and title). I have setup the XAML required to display the map as well as some code for the pushpin: <phone:PhoneApplicationPage.Resources> <ControlTemplate x:Key="customPushpin" TargetTy...
stackexchange/codereview
I'm having a bit trouble deducing what is const, when applied to pointers to pointers, etc. i.e., what is const when you have const Foo **foo; Can I here change something in **foo ? as in foo[0]->bar = 12; What about: const Foo ***foo; Foo **const foo;
stackexchange/codereview
I'm using PHP & PotgreSQL to make an interface for a DB, using this Active Record implementation for PHP -> http://www.phpactiverecord.org It's quite useful, but there is a small trouble: when you define a timestamp field in a table with "now()" as default value - this engine does not get it :-( SQL used to query infor...
stackexchange/codereview
That title is a mouthful and a bit confusing, but you are still reading this so I guess there's hope. I have a workflow interface that has several different types of steps that can be added. I am creating each step type independently in its own PHP file. When a step needs to be loaded, I call $.post, passing some JSON...
stackexchange/codereview
How can Spring 3 MVC receive the JSON data posted by jQuery load()? It seams to revive it. Can anyone help me? When I use @Responseboy, it works.
stackexchange/codereview
I am using adaptive api to make a chained payment. The code looks ChainedPay chainedPay = new ChainedPay(numberOfReceivers); //set values (such as return url, cancel url, ipn url etc for the chainedPay object .... Receiver primaryReceiver = new Receiver(); // set the receiver's value such as amount etc. ... chainedPay...
stackexchange/codereview
[Python 3.1] I am trying to create a hash for a container that may have nested containers in it, with unknown depth. At all levels of the hierarchy, there are only built-in types. What's a good way to do that? Why I need it: I am caching the result of some calculations in a pickle object (on disk). I would need to inv...
stackexchange/codereview
I am using SQL Server 2008 and making a function that selects some records i need to filter these records and return some records CREATE PROCEDURE getPlayerLeft @minDate datetime ,@maxDate datetime ,@minLevel integer, @MaxLevel integer AS declare @acc_id integer declare @lv integer DECLARE db_cursor CURSOR FOR S...
stackexchange/codereview
#include<stdio.h> int main () { printf("%#04x",50); } Some one showed me above code and I could not understand it since I do have used printf in C programs but above sort of use I saw in my life for the first time. Why did above code prints output as 0x32 Can some one give me a link or reference to some thing so that...
stackexchange/codereview
I need a concrete sample of code with doctrine 2 that uses "polymorphic associations". Let me clarify myself. I have a Entity called Contract and a contract can have many price rules and these price rules can be different kind of classes and presisted in different tables. I suppose this is what's polymorphic associatio...
stackexchange/codereview
I've got a sqlite database with few tables and one view. How to get access to a data from this view at iPhone (i use sqlit3 framework)
stackexchange/codereview
No offence intended, but let's not discuss that licensing schemes can be cracked (I know that) and that recourse to the law is usually a better deterrent (maybe in your country, but no in all). Not my choice - I have been told to implement licensing, just good enough to keep casual hackers away. However, it is also ac...
stackexchange/codereview
Mono is throwing the warning: warning CS0414: The private field 'Convergence.Core.Services.PermissionService.userService' is assigned but its value is never used Which is strange, since it is most certainly used: For instance: var systemRoles = ( from e in systemRoleRepository.Entities where e.User.Userna...
stackexchange/codereview
Recently started using Disqus on a site & was wondering if there was any way possible to have it so the actual html code will show up in the source page? I noticed this site is doing it.. http://adamkaras.com/blog/2009/06/24/disqus-custom-css-styling-in-3-easy-steps/ But I'm not sure how?
stackexchange/codereview
We want to work together on one project, checking out/in files. Some devs recommend git, others prefer Mercurial. Does anyone have experience with both and can tell why I should spent time on Mercurial which doesn't integrate with Xcode rather than just using git which does integrate? What are the benefits when I would...
stackexchange/codereview
I have a library of custom MSBuild tasks which I edit quite regularly, refactoring code, adding new tasks and removing old, defunct ones. It's become a pain to edit the .Targets file to sync with what is actually in the library, so I was wondering, what would be the best way to automate this? I would like a solution th...
stackexchange/codereview