instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am attempting to utilize Moq for my unit tests. I added the library to the project and I created the mock object Mock _mock = new Mock<DocumentService>(); I am able to get intellisense for most methods off of the Mock object, such as Mock.Object, Mock.ShouldBe<>, etc... However it does NOT show Mock.Setup(...
stackexchange/codereview
Our internal repository (Artifactory) now contains both the stable builds as well as SNAPSHOT versions of our internal libraries. For stable builds there has never been a problem of downloading anything from the repository. However, when I add a -SNAPSHOT, Maven claims to be unable to find the dependency, even though i...
stackexchange/codereview
I'd like to include code from another source file. Does anyone know how to do that?
stackexchange/codereview
random rails/ruby questions for a nooby, much appreciated. Confused as to what the second '?' means in the line: @page ||= params[:page].blank? ? 1 : params[:page].to_i In init.rb files, what does FILE do really? require File.join(File.dirname(__FILE__), "rails", "init")
stackexchange/codereview
I'm trying to have Hudson compile a Java project of mine, but it keeps failing. I've started a new job, with "build a free-style software project" I've set the SCM to Mercurial, added a build step "mvn compile" and had it publish Junit and JDepend results. JUnit test report simple named "*.xml" The cloning of the repo ...
stackexchange/codereview
So i would like to convert string like this: "Bloke %s drank %5.2f litres of booze and ate %d bananas" with a C# equivalent for .Format or .AppendFormat methods "Bloke {0} drank {1,5:f2} litres of booze and ate {2} bananas" sorry but i'm not sure if the C# version was correct but u got the idea. The solution does not...
stackexchange/codereview
How do I go about getting my app to play an mp3 (in my res) on startup? Or how how about if I wanted this to happen when a button is clicked?
stackexchange/codereview
I tried trace(playBtn.text); but only got a undefined,anyone knows?
stackexchange/codereview
How can I actually print out the ValueError's message after I catch it? If I type except ValueError, err: into my code instead of except ValueError as err:, I get the error SyntaxError: invalid syntax.
stackexchange/codereview
I'm trying to set up a project using Maven and am a bit stuck with how to include some third party dependencies that need to be included unpacked in the resultant war file. My project contains some custom ColdFusion code and includes Java dependencies, including ColdFusion packaged as a war file. I then am attempting ...
stackexchange/codereview
Possible Duplicate: What do people find difficult about C pointers? New to c programming (Actually new to programming in general). Well, I just can't get familiar with c pointers. maybe, I can use them in some situations, but really am stuck to understand it. Anyone been in such a situation? Any suggestions?
stackexchange/codereview
How is a NSArray implemented, is it similar to std::vector.
stackexchange/codereview
I have an Excel spreadsheet of some product data, (just a simple table) that I want to put on the web (this isn't serious, I'm just keen on creating my first database on the web). I want to turn this spreadsheet into database table in MySQL. The columns are: ID, Name, Price and Quantity. Then create the search page, li...
stackexchange/codereview
I am using java (Struts 1.2). My first page is a login page. After a successful login, the second page is displayed The second page contains a form in which one of the fields is a combo box. I want this combo box should be filled so that the user can select the option. I have tried many methods, like using html:option ...
stackexchange/codereview
In a ListView I have a GridView where the row background is colored depending on a property of the item in the data context of the row. Currently I set the color using a trigger in the ItemContainerStyle of the ListView: <DataTrigger Binding="{Binding Path=State}" Value="Active"> <Setter Property="B...
stackexchange/codereview
I have two pages on two different domains example1.blogspot.com (a Blogspot blog) and example2.com (my own domain, static page). Both pages contain an iframe which loads the same document from a third domain, example.org. The iframe's document contains a small JS web app which calls example.org via AJAX, one of the cal...
stackexchange/codereview
Consider a link table with the following columns: PersonID int NOT NULL LocationID int NOT NULL Active bit NOT NULL ... The system allows each Person and Location to be configured independently. Once configured, each Person can be linked to at most one Location. If a Person moves to a new Location, the link is to be...
stackexchange/codereview
I am trying to generate regular expressions based on some known texts. I assumed I could load the text into a tree structure and see what kind of a tree is generated but I have 1 issue which I can't seem to figure out: I want cousins to be joined together. For Example: ZABCDEF ZBCCEFG would result in: A-B- D-...
stackexchange/codereview
This can be done with methods as follows: myStub.Stub(x => x.SomeMethod()).WhenCalled(x => do something); Is there any way the same thing can be done when a property setter is called?
stackexchange/codereview
Just like editing C source files, I can press % to get the closing } for the current cursor's {. How can I do this when editing HTML files? Are there any shortcuts? To be clear, I want: <html> </html> When the cursor moves to <html>, I want to press a key so that the cursor will jump to </html>.
stackexchange/codereview
How do I prevent extra space between two fields: VerticalFieldManager _fieldManagerMiddle = new VerticalFieldManager(Manager.VERTICAL_SCROLL); LabelField field = new LabelField("Title"); CustomFieldList list = new CustomFieldList (); _fieldManagerMiddle.add(field); _fieldManagerMiddle.add(list);
stackexchange/codereview
I have finally created a very simple "Hello World" style PHP Extension dll on windows, after immeasurable hassle. However, although I have successfully created a DLL, and put it in the extensions folder, and told php.ini about it, now I get this: PHP Warning: PHP Startup: \x81\xc2\xc0\x03L&\xc0\x03: Unable to initial...
stackexchange/codereview
Not sure what I'm doing wrong here. I have a struct that is used heavily through my program. typedef struct _MyStruct { // ... handful of non-trivial fields ... } MyStruct; I expect (read, intend) for lots of parts of the program to return one of these structs, but many of them should be able to return a "null" str...
stackexchange/codereview
I have a column on a table [SampleTable] called [MyColumn] and i would like the number of time this character appears on the column. The character is ; Excel has a simple solution for this =LEN()-LEN(SUBSTITUTE(,";",""))
stackexchange/codereview
I'm programming a website in PHP 5 and for convenience I've elected to use includes for the header and footer on each page. My html and head setup looks like this atm, and had been unchanged since I started <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition...
stackexchange/codereview
In asp.net there is something called Request.Items that I can add an object to, and then I can check to see if an object is present in the .Items collection from another part of my code (like in another class). Does Rails have something like this?
stackexchange/codereview
I would like to migrate one of the sphinx index into real time. However, rt index doesn't take a source and its initialization is kinda messy. Is there a way to migrate existing index into real time without a lot of scripting?
stackexchange/codereview
I try to reset the height of my form in its Loaded event but the position of the form is not centered screen anymore. private void Window_Loaded(object sender, RoutedEventArgs e) { var manualHeight = 0 + this.MessageRow.ActualHeight + this.ButtonsRow.ActualHeight ; this.Height = manualHeight...
stackexchange/codereview
I have a problem to decrypt a message usgin X.509 Certificate. I generate my certificate with makecert with this options: makecert -r -pe -n "CN=MyCertificate" -ss CA -sr CurrentUser -a sha1 -sky signature -cy authority -sv CA.pvk CA.cer And the PrivateKey was "mypassword". My problem is when I want to decrypt a messa...
stackexchange/codereview
I think the question says it all. I want to send signals to a child after the child executes another program, but I am unsure if the child and parent still share signals after the image is destroyed and overlayed. I believe the parent and child still share signals and files, is this true?
stackexchange/codereview
I want to add a "drop" area to the existing WPF DataGrid, above the column headers. In that area I want to allow the user to drop column headers that represent the columns to be grouped and to ungroup those columns by removing them from this area. Xceed, SyncFusion, and other commercial grids provide this functionali...
stackexchange/codereview
Let's say I have a class called 'foo' in namespace "abc"... namespace abc { class foo { int a; int b; }; } ...and then say I have another class called "abc" in a different namespace #include "foo.h" namespace foo { class abc { abc::a = 10; }; } abc::a would not be a define...
stackexchange/codereview
What would be the proper way to unit test an abstract class which takes generic type parameter where the type is also an abstract class? E.g) public abstract class BaseClass<T> where T : BaseT { ... } I'll have to create a test class which extends BaseT, right?? and what happen if the BaseClass support method chainin...
stackexchange/codereview
Dear all, this is a simple question, I think. How do I find the instruction set for my processor? proc/cpu gives me (a vanilla cpu): processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz stepping : 10 cpu MHz ...
stackexchange/codereview
Basically I'm trying to do this $className = 'myClass'; $className::myMethod($aParameter); but I'm getting a unexpected T_PAAMAYIM_NEKUDOTAYIM, however I read that I could replycate $className::myMethod(); with call_user_func(array($className, 'myMethod')); the only problem now is that I really need to pass that pa...
stackexchange/codereview
I am the author of an application that before opening an Excel workbook, deletes and recreates some worksheets, like, for example "Sheet1" in the example below. Other worksheets (say Sheet2) in the same workbook may have formulas that refer to the replaced worksheet, like this: =IF('Sheet1'!A9="","",'Sheet1'!A9) Unfor...
stackexchange/codereview
What is the difference between starting TOMCAT6 on an Ubuntu system using the following methods: /usr/share/tomcat6/bin/startup.sh sudo /etc/init.d/tomcat6 start
stackexchange/codereview
Trying to enumerate all open files on a Windows system in C#. I cannot find a native way to do it, is there any other way other than using the NtQuerySystemInformation API? Thank you.
stackexchange/codereview
Delphi 1 16-bit (yeah it's old, but it works well) Some sample code: procedure TForm1.Button1Click(Sender: TObject); var SL: TStringList; begin SL := TStringList.Create; SL.Sorted := True; SL.Duplicates := dupIgnore; SL.AddObject('A', TObject(100)); SL.AddObject('A', TObject(999)); ShowMessage(IntToStr(...
stackexchange/codereview
I need a lightweight javascript library to create a stacked line graph (a bit like what is used in financial graphs). The X axis will be dates and the Y axis will be ordinary float values. There will be two sections of the graph: Top graph which is a line graph. I want to be able to specify the color of a line segment...
stackexchange/codereview
As part of a huge refactoring I removed some duplicate classes and enums. I moved namespaces and restructured everything to be easier to maintain in the future. All changes has been scripted already except for one thing. I need to insert a data contract namespace in every file that uses another namespace if the data co...
stackexchange/codereview
I have a mailto link in an anchor tag <a href="mailto:?subject=Subject&body=Body">Email This</a> The issue is that the Body parameter is a huge article, and there appears to be a character limit on the url. Is there a way to get around the limit?
stackexchange/codereview
Does it make sense that IIS will become extremely slow and unresponsive when using IIS Advanced Logging to log all incoming requests? I have some rules that divide the incoming requests into 5 files according to their prefix. I found out that a simple stress test of 100 users sending requests nonstop for half an hour. ...
stackexchange/codereview
(Disclaimer: I don't know what the C++ standard might say about this..I know, I'm horrible) while operating on very large strings I noticed that std::string is using copy-on-write. I managed to write the smallest loop that would reproduce the observed behaviour and the following one, for instance, runs suspiciously fas...
stackexchange/codereview
Given a set of selected faces (triangular only) from single mesh, how can we detect following: a) edge loops that selected faces create. b) fast grouping of faces based on edge loop they are contained in. This method is required for doing face extrusion when more than one face is selected and you want to extrude multip...
stackexchange/codereview
Possible Duplicate: What is a singleton in C#? could some body please explain me singleton pattern? in c# please and what is it use for
stackexchange/codereview
My question might sound a bit naive but I'm pretty new with multi-threaded programming. I'm writing an application which processes incoming external data. For each data that arrives a new task is created in the following way: System.Threading.Tasks.Task.Factory.StartNew(() => methodToActivate(data)); The items of data...
stackexchange/codereview
I'm trying to write an app where the left side of the app window is a tree menu, and the right side is a user control depending on the menu selection. I've drawn a border around the right side, and when the user selects an item in the menu, I set the Child property of the border to be the user control corresponding to ...
stackexchange/codereview
I'm attempting to use jqgrid. Unfortunately, I can't compute a resultset size because I'm using a very large database and computing the size of the resultsets I'm providing is very slow. I can get data reasonably quickly, but getting a count of the resultset for my queries just isn't possible. Is there a way to get ar...
stackexchange/codereview
I often see large functions consisting of multiple #region tags. Is #region/#endregion quickly evolving evolving as means to avoid refactoring into smaller functions? In most of the cases code defined in #region block could be moved to a separate function. What is the original intent of #region?
stackexchange/codereview
A homework project I'm working on uses static and dynamic arrays. However, I'm not implementing the dynamic arrays yet and this is a weird discrepancy trying to get the length of my static arrays. I used a series of cout statements to try and find out what was giving me a segmentation fault, since the process seemed st...
stackexchange/codereview
I've been pushing my source to a Mercurial repository. Today I needed to delete my local copy and re-clone. I did this by simply moving my local copy somewhere else (just in case) and typing "hg clone url". This part has worked just fine. However, when I try to pull the newly cloned local copy into Eclipse, I get the...
stackexchange/codereview
I want to know how long does it take from posting a notification to getting the notification. The reason is that I want to find out if the observer pattern is suitable for me. I don't want that another view controller can change the value before the notification has been sent and processed. I'm afraid that another proc...
stackexchange/codereview
I want to use the new Rails3 feature that allows you to embed a Sinatra app inside rails. In my routes file, I have: # app names changed to protect the (not so) innocent MyApp::Application.routes.draw do match "/service", :to => MyService ... end And in /lib/my_service.rb I have class MyService < Sinatra::Base g...
stackexchange/codereview
Has anybody managed to get the release of GWT 2.1 to work with the Codehaus Maven plugin? http://mojo.codehaus.org/gwt-maven-plugin/ The 1.2 stable release does not seem to work. I found a version called 1.3.2 here in the SVN maven repo from GWT http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven/org/codehaus...
stackexchange/codereview
Using VisualStudio 2010 to create a SharePoint2010 solution, I want to deploy my solution to selected WebApplications (not to all). I can do this, by switching Assembly Deployment Target (Project Property) to WebApplication. But then, the assembly will not be deployed to the GAC. Is there a setting which allows deploym...
stackexchange/codereview
how can i close or minimize my app from code like when i push home button?
stackexchange/codereview
I have the following code in my .html.erb file that work just as expected: <% if !current_user %> <%= link_to "Sign in (or up)", '/login', :class => "login_button round" %> <% else %> <%= link_to "Sign out", '/logout', :class => "login_button round" %> <% end if %> But I thought it would be nice to stick the condi...
stackexchange/codereview
I have been planning since Summer to build a new hobby site over Christmas break in which I will use Silverlight to make some super-awesome navigation menu. I was crushed to read that Microsoft is de-emphasizing Silverlight (to throw all their weight into HTML 5 I guess). I have never used Silverlight, but I am trying...
stackexchange/codereview
is any simple docs about api? i looked on site dev.twitter.com but there nothing clear for me
stackexchange/codereview
how do I get the domain of an address to the asp? Suppose we have the following addresses: example.com example.com/my example.com/news/nacional example.com/news/naciona/nada-como-um-dia.html I'd like to get just the domain, in this case o. .. "example.com" I take the field as an address to the asp? Thanks!
stackexchange/codereview
What is equivalent of Linux's 'free' command on FreeBSD v8.1? I am calling 'free' from my application and reporting the results in my application's log file. What would be the replacement when porting to FreeBSD v8.1? Here is a sample run of 'free' on Linux: [centos4x32 ~] free total used free...
stackexchange/codereview
I am tryng to say onClick of the link with class "myLink" show the div with the class "myDiv". And on focusOut hide the "myDiv" div. But my problem is with the focusOut part. Right now my code looks like this: <div class="myDiv"></div> <a href="#" class="myLink">Click Me</a> $('.myDiv').hide(); $('.myLink').click(func...
stackexchange/codereview
In docs for various ORMs they always provide a way to create indexes, etc. They always mention to be sure to create the appropriate indexes for efficiency, as if that is inherent knowledge to a non-hand-written-SQLer who needs to use an ORM. My understanding of indexes (outside of PK) is basically: If you plan to do LI...
stackexchange/codereview
I have several user profile models inherited from one base class like this: class BaseProfile(models.Model): user = models.ForeignKey(User) name = models.CharField(max_length=100) ... class Meta: abstract = True class DoctorProfile(BaseProfile): license_no = models.CharField(max_length=10) ...
stackexchange/codereview
What are the ways to get and render an input value using jQuery? Here is one: $(document).ready(function() { $("#txt_name").keyup(function() { alert($(this).val()); }); }) <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> <input type="text" id="txt_name" />
stackexchange/codereview
The xml has a number of NEWRECORDS that has some normal elements, followed by elements with elements in them. The elements that have subelements can occur anywhere from 0 to infinity and need to receive an attribute called count which has the occurences within the NEWRECORD. now i found out you can do a count on an ele...
stackexchange/codereview
I would like make a script for Greasemonkey (GM),that find and navigate in a link embed in a flash element. I think that is possible to make it to work with function .click() ,but won't work :( Here's the source code of the page that contains flash elements.. Source code Is possible to make that to work? Thanks in adva...
stackexchange/codereview
How do I remove all of the subviews from a UIScrollview?
stackexchange/codereview
say I have the following: class Foo { public: void destroy(); ~Foo() { destroy(); } }; class Bar : public Foo { public: ~Bar() {} }; If I have a Bar object, will Foo's destructor be called when the Bar objected is deleted? Thanks
stackexchange/codereview
I have been using Zend Framework for a while now. I am having an issue since de beginning an after reading a lot of documentation i was wondering why all exemples dont mention it. If I am right, the MVC design pattern favorise a single entry point to interract with the application. With Zend its the index.php file in t...
stackexchange/codereview
I have a dictionary in the view layer, that I am passing to my templates. The dictionary values are (mostly) lists, although a few scalars also reside in the dictionary. The lists if present are initialized to None. The None values are being printed as 'None' in the template, so I wrote this little function to clean ou...
stackexchange/codereview
We are currently developing an application based on NHibernate and ASP.NET MVC and a SQL Server backend. Since I'm fairly new to NHibernate, I'm tryig to understand best practices. Our application requires every user to have it's own SQL Server database. These databases all have an identical structure. Our customers ar...
stackexchange/codereview
I'm trying to convert special characters into html to have them display properly. Anybody can help me? how can I apply htmlspecialchars() at below php line <?php echo $xcityid>0?$upperCase=strtoupper(str_replace("-", " ", "$xcityname")):"testing"; ?>
stackexchange/codereview
def PortScanWin(): win2 = Toplevel() win2.title("PortScan") win2.wm_maxsize(width='190',height='370') win2.wm_minsize(width='190',height='370') def go(): global app result.delete(1.0,END) app=scan() app.start() def stop(): app.flag='stop' def clear(): host_e.delete(0,END) start_port_e.d...
stackexchange/codereview
Anyone know how to achieve a 1:1 display of box2d data? I'm dividing all my values by a Physics.Scale value (30) but boxes I create like this: polyDef.SetAsBox(640 / Physics.scale, 32 / Physics.scale); Are still showing up much larger than 640 pixels wide and 32 pixels high. Weirdly, my AABB for the world is showing u...
stackexchange/codereview
I have a mutable array of CCLabels. When I create the array of labels, I set the color of the label to black using: label.color = ccc3(0,0,0); At various points I want to change the color of a given label. I've tried the following method, without success. -(void)updateLabel:(CCLabel*)l{ [l setColor: ccc...
stackexchange/codereview
I am learning how to work with vectors in my C++ college class. I have ran into an issue that has been keeping me from using iterators with vectors. This is my source code: template <class T> void HuffMan<T>::search_freq(T temp) { //checks for frequency if(objects.empty()){ objects.push_back(temp); return; ...
stackexchange/codereview
What/where are the practical uses of the partial_sum algorithm in STL? What are some other interesting/non-trivial examples or use-cases?
stackexchange/codereview
I treat each MVP triad as a isolated component. With the View implements a IView interface for example, the Presenter only know the View thru IView of course. That what I can make the component as reusable as possible. Now I have to combine those MVP components to form an application. I am wondering what the good pract...
stackexchange/codereview
This is from a homework assignment: Assume that each page (disk block) has 16K bytes and each KVP has 8 bytes. Thus we decide to use a B-tree of minsize (16000/8)/2 = 1000. Let T be such a B-tree and suppose that height of T is 3. What is the minimum and maximum number of keys that can be stored in T? Briefy jus...
stackexchange/codereview
I would like share with you how I am doing my Ajax stuff with Django for the moment. I would like have your advices/comments to see if I am doing it right. I will of course oversimplified the code, just to show the process. Here is my template code: <!-- I store the full url to access object details so I can use url fe...
stackexchange/codereview
it's weird, but sometime I got SESSION.SessionName doesn't exist. any suggestion for fix this problem? Thank you
stackexchange/codereview
I'm using Simple_Form with Rails 3 and it's great. I have a simple question. I can create a check box using f.input if the type is boolean behind the scenes. However, I would like it to be preselected as true. Is there a way to do this via the view?
stackexchange/codereview
I have SQL Server table structure like below: ID Name ParentID ----------------------- 1 Root NULL 2 Business 1 3 Finance 1 4 Stock 3 I want to display the details in my web page like ID Name ParentName ------------------------- 1 Root - 2 Business Root 3 ...
stackexchange/codereview
I'm storing a list of items in a serialized array within a field in my database (I'm using PHP/MySQL). I want to have a query that will select all the records that contain a specific one of these items that is in the array. Something like this: select * from table WHERE (an item in my array) = '$n' Hopefully that make...
stackexchange/codereview
I am having some trouble using the redirected input/output of a process. Originally, I had two applications communicating over tcp/ip. The server tells the client to open up cmd.exe and then gives commands to the client that the client has to redirect to the cmd.exe process. Then the client reads the output and sends i...
stackexchange/codereview
How do I edit an xml file that is stored online through an iphone application?
stackexchange/codereview
How can I fix this issue? Code: EditText edit = (EditText)findViewById(R.id.edit); BackgroundColorSpan span = new BackgroundColorSpan(0xFFAABBCC); edit.getText().setSpan(span, 0, edit.getText().length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
stackexchange/codereview
I have a mainViewController and inside its nib file I added an info button, in which action is to flip between two subviews, subview A and subview B. From mainViewController, under viewDidLoad, I'm inserting subview A. Here I notice that the info button is in front of the subview A, which is fine. The problem comes t...
stackexchange/codereview
I installed the grails currency plugin. I want to use the Money type in my grails domain class as such: class FOO{ ... Money lunchCost = new Money(amount:0.00, currency:'USD') Money dinnerCost = new Money(amount:0.00, currency:'USD') ... } I get an error when I compile saying "unable to resolve class Money". I...
stackexchange/codereview
I got a NSMutableArray which I want to add strings to. I need to check if that string already exists on the array before adding ths string to it. Does anyway know a good way to do it? Thanks!
stackexchange/codereview
In the below code, values are inserted manually: 13 and Aman. But what I am doing is reading a file and then till the completion of the file, I am inserting values from it into mysql database tables. public class Main { public static void main(String[] argv) throws Exception { String driver = "com.mysql.jdbc.Driv...
stackexchange/codereview
I am relatively new to jQuery so this may be a beginners mistake, but for some reason I can't get the .delay() function to work. The code I am working with is: $(document).ready(function() { $("div#main").css("opacity","0"); $("div#main").animate({opacity: 1}.delay(1000), 'slow'); }); ...
stackexchange/codereview
Im working on a Browser Helper Object, and I am trying to access the IWebBrowser2 that fires an event. With NavigateComplete2 and other events I can easly do it because I get the pointer on the parameters of Invoke. But I was reading this on msdn and it says the only parameter for TitleChange event is the title, so how...
stackexchange/codereview
I have lists generated from php that are varying lengths. How could I have the list at a certain height break and start filling a new column rather than remain in one long column? If lists are no good I would be fine doing it with divs but I can not figure out how to do that either.
stackexchange/codereview
Let an svn repository be shared among many users. let the svn repository be used to store versions of a database creation script and some other non-code objects. is there a way to display a custom message (ie:that can be read from a file) upon update? example: i am working on $project i change the class encapsulating d...
stackexchange/codereview
I've tried "Refresh Status" from the context menu, but this doesn't work for me. When I have deleted or added files in the tree display directory, it doesn't display them in the directory tree until I close Komodo Edit, and restart it. This is too bad. Is there something I'm missing? I hope someone could give me a hand...
stackexchange/codereview
following code searches for one zero point of a polynomial function. It uses recursion technique: private static double funktion(int[] koef, double x){ return koef[0] * Math.pow(x,4) + koef[1] * Math.pow(x,3) + koef[2] * Math.pow(x,2) + koef[3]*x + koef[4]; } private static double ...
stackexchange/codereview
I'm currently developing a small application in WPF for us at work though I'm not a professional software engineer, so this might be obvious. However, I cannot find an answer to my question (maybe I used the wrong keywords) Anyway, our computers are setup so that we need to log on through Novell Client for Windows. The...
stackexchange/codereview