instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
The dump of the following C program: int main() { int i,j; for(i=0; i<2; i++) { j++; } return 0; } is producing: 08048394 <main>: int main() { 8048394: 8d 4c 24 04 lea 0x4(%esp),%ecx 8048398: 83 e4 f0 and $0xfffffff0,%esp 804839b: ff 71 fc ...
stackexchange/codereview
Is it possible to add something to the list of items that shows up when a user long presses on any Edit Text? (Cut, copy paste, select text, select all, input method) I want to add an option to this that will scan a QR code and paste the result into the Edit Text. I think this would not be very hard to get this behavio...
stackexchange/codereview
How can I get Caliburn.Micro to map a key gesture to an action method on my ViewModel? For example, I want to implement a tabbed interface, and I want my ShellViewModel to have a NewTab method, which the user should to be able to invoke by pressing Ctrl+T on the keyboard. I know that the full Caliburn framework has sup...
stackexchange/codereview
Is it possible when a table view is set to grouped mode to have a special kind of cell that covers the entire table view width?
stackexchange/codereview
I want to convert array of between 2 to 1000 latitude/longitude points (such as all postal codes in a city) into either: an array of lat/long values that represents the perimeter defined by the points an array of lat/long values that represents high concentration of points I want to plot values on google maps, but wa...
stackexchange/codereview
What's the best alternative to read data of any kind in my iphone app ? I want my client to be able to pass me the data for me to include in the app and read it easily. What's best ?, XML ?, plist ?, other format ?, I'm not very informed in the matter. Thanks.
stackexchange/codereview
Is there a way to get the anchor part of a URL in a controller? Example: if I type http://www.foo.com/bar#anchor123 can I get the string anchor123 in my controller?
stackexchange/codereview
We've been working on implementing timezone support for our Web app. This great SO post has helped us a bunch: Daylight saving time and time zone best practices We've implelmented the OLSON TZ database in MYSQL and are using that for TZ conversions. We're building a scheduling app so: We are storing all our bookings w...
stackexchange/codereview
I'm making good progress with my first Rails app (using Rails 3). The MVC interaction is all going fine, but I'm having difficulty with a form that doesn't relate directly to a model. I'm using form_tag, and in the case of success, everything behaves fine. However, the handling of errors is somewhat unfriendly. The act...
stackexchange/codereview
In the book Javascript the good parts, on the opening page of Ch3 on objects, it states: An object is a container of properties, where a property has a name and a value. A property name can be any string, including the empty string. A property value can be any Javascript value except for undefined. Note: undefined is...
stackexchange/codereview
I want to create chart using Google Chart Interactive with ASP.NET and C# I was found this example http://code.google.com/apis/visualization/documentation/using_overview.html but i find problem how to i Integrated this with c# and how to integrate data from c# to javascript.. can someone hint me what I should do?
stackexchange/codereview
Sometimes (the changes are 75%) connections are abort while uploading big files (100MB or so). Files are uploaded via ajax. Have the code below already and safe mode is disabled. Webserver is XAMPP for Linux (CentOS 5.5). ini_set('upload_max_filesize', '512M'); ini_set('post_max_size', '512M'); ini_set('memory_li...
stackexchange/codereview
I asked this question a bit earlier and have only been able to gain a little ground. What I have is still not working as expected. What I want to do is to share a number pad with 3 different forms. If the user clicks on box 'a', all of the numbers (from the anchor tag) as well as the focus should go into that input box...
stackexchange/codereview
I am new to the area of web development and currently interviewing companies, the most favorite questions among what people ask is: How do you scale your webserver if it starts hitting a million queries? What would you do if you have just one database instance running at that time? how do you manage that? These quest...
stackexchange/codereview
I am a newbie to Mobile application development, i got stucked with a query like... Is it possible to use cookies & sessions in mobile browser/Mobile Application ?. if so please provide some resource... if anybody aware of it, please let me know Thanks in Advance.
stackexchange/codereview
I think I found a way to get around not knowing a phone's carrier when sending an sms message via email. It is: just send the text to every single major email (there's 5 or 6). Is there anything wrong with this? Would the carrier's block me eventually?
stackexchange/codereview
I am setting the UILabel text as below myLabel.text = name; What I would like to ask is if the text goes longer I want to show like below stackoverflowuserhere......... How can I done it... Thanks for any help
stackexchange/codereview
I have a directory with 90K files in it. This is such a preposterously huge number of files that bash functions like ls fail. So of course, does os.listdir() from my python (Mac Python, version 2.5) script; it fails with OSError: [Errno 12] Cannot allocate memory: '.' People will say "Don't put that many files in a sin...
stackexchange/codereview
I am creating a server to monitor the online presence of clients on a webpage. There will be 80-100 000 (eighty thousand) simultaneous clients to monitor. I’m using .Net to write this. Clients will contact a (separate) server using JavaScript (on the HTML-page) to tell the server that they are alive/online. I’m consi...
stackexchange/codereview
I get the error: System.InvalidCastException : Unable to cast object of type 'System.Dynamic.ExpandoObject' to type 'System.Collections.IDictionary'. Normally, I'd derive ExpandoObject and then put an attribute on the derived class to indicate the custom TypeConverter that I write. I don't know how else to register ...
stackexchange/codereview
I never noticed the character ` (the one in the same key as tilde ~). There is another single quote character ' in the same key as ". I see that the characters ` and ' aren't interchangeable whereas ' and " are. I spent a lot of time due to that when compiling GTK programs. It gave error (file not found), and finally ...
stackexchange/codereview
I'm trying to create a thumbnail using MVC3's WebImage helper. The original image is a .png with a transparent background. When I try and resize it with the following: var image = blob.DownloadByteArray(); new WebImage(image) .Resize(50, 50) .Write(); The resulting thumbnail replaces the original transp...
stackexchange/codereview
I'm trying to insert some content in a defined function, something like this: var f = function(){ alert("Hello"); }; var e = function(){ alert('Hey'); }; f = f + e; f(); the output will be: "Hello", and then another alert with "Hey". Is it possible to do something like this? Please help.
stackexchange/codereview
I have to copy some file from server to another, I thought to use File.Copy but how I specify there the location of a file ? and also there can be a password identification on from and to. Any ideas ?
stackexchange/codereview
I have a text box which have initial value written in, i wanna that box to be clear when it is clicked(active). Ex: //wanna it to be clear when clicked to enter a value from user
stackexchange/codereview
I am having problems changing the 'from' email header in the following script. Everthing else works ok but the from line in the email received is the server name and not admin@mywebsite.com: ini_set("sendmail_from", " admin@mywebsite.com "); $adminSendTo = "admin@mywebsite.com"; $adminSubject = "Contact Form"...
stackexchange/codereview
One of the property of my class is mapped to a function. My mapping looks like this: mapping.Map(x => x.FormulaField, "FormulaField") .Formula("FUNCTION_NAME") .LazyLoad(); NOTE: mapping is an instance of AutoMapping When I checked the SQL generated the "FormulaField" column is being sel...
stackexchange/codereview
I'm building a site (in CakePHP) which allows vistors to comment on posts and also upload an image (jpg, png, gif) along with their comment. I want to keep the threshold as low as possible, so in order to comment visitors have to fill out a Captcha instead of registering. Right after uploading I resample the image ( im...
stackexchange/codereview
My app requires the ability to add several views on one line in a user selected order. I found this tutorial which seems to accomplish what I want with a bit of modification. http://www.androidpeople.com/android-custom-listview-tutorial-example/ Having followed the tutorial and made the required changes, the code work...
stackexchange/codereview
I have the following form: <input name="q" value="" class="qa-search-field"> <input type="submit" value="Search" class="qa-search-button"> I am trying to get the submit button's class to change when the qa-search-field is active by adding the class .qa-search-button-active, and then removing it if the search form is n...
stackexchange/codereview
I have a DIV in my page, it's situated around the middle of the page. It's not the header... I want to know how to use jQuery to set the height of the div so it goes all the way down to the end of the browser window. Ideas? So far I have: $(window).bind('resize', function() { refreshWindowDimentions(); }); function...
stackexchange/codereview
void main() int a,b,c; c=(a,b) This gives c=b while c=a,b gives c=a. What is the reason for the above two?
stackexchange/codereview
hi guys i am uploading the images using the @PhP file upload Method @ If i upload 10 Images at a time (Each Images is 2000 /3000 dimension). then the on click save function is not working. if i upload 5 images or less than five images then its working fine wats wrong with my coding i just include my php code with thi...
stackexchange/codereview
I've (essentially) come across the following in the wild x = x = 5; which apparently compiles cleanly under earlier version of gcc (generates a warning under gcc 4.5.1). As far as I can tell the warning is generated by -Wsequence-point. So my question is does this violate the wording in the standard about manipulati...
stackexchange/codereview
I have a polygon and a line segment which has its endpoints on two sides of the polygon. What is the easiest way to split the polygon into two polygons. (I am using the jts package). I have tried using polygonizer but I don't think that I am using it correctly because it doesn't seem to be working. Thanks,
stackexchange/codereview
So, I am trying to see how functions that can accept any number of arguments work? I tried this (define (plus x . xs) (if (null? xs) x (plus (+ x (car xs)) . (cdr xs)))) (plus 1 2 3 4) But is seemed that it wasn't actually applying cdr to xs, but passing ( (2 3 4)) in when I stepped through it in the debugger...
stackexchange/codereview
Can someone point me to basic file I/O operations examples in Scheme? I just want to try basic read/write/update operations on a file. Finding it difficult as not having appropriate resources to learn from.
stackexchange/codereview
I'm writing a simple blog-like application for Django and am trying to get the effect of having a front page with posts limited to 5, with a comprehensive archive that lists something like 100 posts at a time. (100 is not realistic, just throwing a number out there) Since the blog post blocks will look exactly the same...
stackexchange/codereview
i built an upload page that lets me upload images and i came onto this error when uploaded a file with an extension of jpg. Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG after playing with it i noticed that not even photoshop can open it. th...
stackexchange/codereview
I am really confused by looking at so many approaches the way JQuery and AJAX are used with MVC and there is no proper documentation I found. I have a very common scenario in my applications where I have a Form which is a partial view user will submit which will be stored to database if its valid and if not than show u...
stackexchange/codereview
I'm trying to implement AvalonDock into my application, but I'm having trouble figuring out some of the styling techniques. If someone could please help with the following couple of questions, I would be very grateful: 1) Is there a way to remove the main "Close" button from a DocumentPane and instead place individual ...
stackexchange/codereview
if I have a mainthread that sets up a GLUT window and then create a working thread to do calculations and during the calculations upon some events in the working thread i want to update my GLUT window. How can I do that? Apparently I can't call the glut functions directly from the working thread. I thoght of setting so...
stackexchange/codereview
I'm working on a 2-phase RoR project where in the first phase we are going to have alot of static data and in the second phase this will be dynamic. I'm fairly new to RoR and thought that for the first phase rather than have hard-coded arrays I could leverage fixtures for the first phase and then in the second we coul...
stackexchange/codereview
I have a process that is converting dates from GMT to Australian Eastern Standard Time. To do this, I need to select the records from the database, process them and then save them back. To select the records, I have the following query: SELECT id, user_id, event_date, event, resource_id, resource_name FROM ...
stackexchange/codereview
I'm coding a report page. In this page, there are two date fields for user to filter the date and the GridView is filled depending on these dates in the CodeBehind (When user click the button view). Now I want to implement a paging/sorting feature for this GridView. I've researched and see there are default paging for ...
stackexchange/codereview
Using Automapper, what is the best way to setup a global convention such that all System.Uri properties are converted to a string that represents the AbsoluteUri property? Ideally, I'd like to have a null System.Uri resolve to a value of String.Empty rather than null.
stackexchange/codereview
Is it possible to divide a "multi time replied" message to it's containing messages? For Example: I send and email to my friend and he/she replies me. When I receive it, I need to display only the the new part in my program. I currently use C#Mail in my program. Is there any other library out there that has this functi...
stackexchange/codereview
I have a dict with following structure: {5:"djdj", 6:"8899", 7:"998kdj"} The key is int typed and it's not sorted. Now I want all the elements whose key is >= 6. Is there easy way to do that?
stackexchange/codereview
Given that there appears to be no hard and fast rule as to what a good level of code coverage for unit tests is, what then are the benefits of using a code coverage tool such as NCover?
stackexchange/codereview
I want to find and match strings that contain no HTML tags but <br/> and all other normal characters ([^<>]+). So basically, this match dismisses any string that contains '<' or '>' but not '<br/>'. This is what I can come up with: preg_match('@[(?:<br/>).]+@sU', $str, $match); Obviously it doesn't work cause' I don't...
stackexchange/codereview
I'm writing a small command-line program that asks the user for polynomials in the form ax^2+bx^1+cx^0. I'm going to parse the data later but for now I'm just trying to see if I can match the polynomial with the regular expression(\+|-|^)(\d*)x\^([0-9*]*)My problem is, it doesn't match multiple terms in the user-entere...
stackexchange/codereview
Just for fun, learning, aesthetics, etc. I've been using Ajax to modify my Tumblr theme. What I'm trying to do is loading content from the next page into a div on the current page. So that people can browse through different pages while staying on the main page. The main page of the blog is http://diaryofthedead.co.cc/...
stackexchange/codereview
I have a flex application that uses PHP to access a database (MySQL, stored on an external server). The application compiles fine on my local machine (mac) using flash builder 4, and it can connect to the database using PHP. (I'm using MAMP to run this.) It has to install the ZendFramework into my web root to success...
stackexchange/codereview
I developed a website and published it on a LAN computer running IIS 6.0 all through my testing phase to make sure it looked correct and worked with all browsers. I heavily used CSS for my layout, a small amount of javascript and ASP only for Server Side Includes. The layout was tested in Chrome, Firefox, Opera, IE8 an...
stackexchange/codereview
How can I check IE compatibility when I'm developing a website on MacOSX, primarily using Chrome.
stackexchange/codereview
Today I am going to attend a seminar on basic java script. Can anyone give me some good question /answers which I can ask in query session ? Seminar will cover : intro to java script,History ,Validation, browser compatibility, events,DOM.
stackexchange/codereview
On clicking a certain MenuItem in a Options Menu in Android, I need to change the title of a different MenuItem in the same Menu. What is the way to do this? When a MenuItem in an options menu is clicked, onOptionsItemSelected(MenuItem menuitem) is called. You can change the title of the MenuItem which is passed as a p...
stackexchange/codereview
Let me describe this as best I can, this is regarding SQL Server. There is a main table with one record per participant, there is a sub table with at MOST 5 records per participant. I need to be able to return ALL the records within the main table along with the sub table records per participant within the same record...
stackexchange/codereview
I have spent the last few months gradually tweaking my multi-monitor layout and shortcuts etc. for VS 2010. I'm really happy with it now. I use dropbox to share the .settings file between my office and home machines. It all works really nicely until I go mobile with my laptop and have only a single screen. Then all...
stackexchange/codereview
is it possible to count how many data points i have ?
stackexchange/codereview
i have created this class for mesh loading it works but i added this new function to help speed up the loading. when i call the function my program breaks/stops. here is my function bool CXFileEntity::LoadXFile(const std::string &filename, int startAnimation, CXFileEntity *entity, LPDIRECT3DDEVICE9 d3ddev) { // We...
stackexchange/codereview
What is a Good/Best Terminal setting? I had my terminal (Mac OSX) set on Homebrew but it's kind of boring! What setting do you guys use out there? Are there any i can import? Any that you would recommend? Love to know what colors, fonts, font size you use out there that are easy on the eyes? Thanks in advance ;-)
stackexchange/codereview
When I install a virtual desktop manager on Windows 7, and I switch to a different virtual desktop, all the current windows disappear, also disappearing from the Start Menu. I want to hide some of a particular application's windows, but not all of them, in a similar manner. How can I hide a window like this? In particu...
stackexchange/codereview
I just downloaded Microsoft Visual C++ and am trying to run a simple hello world. However, when I go to debug, I get the error "Unable to start program 'C:\Users\Sterling\Documents\Visual Studio2010\Projects\test\Debug\test.dll'" And thats it. It doesn't say WHY it can't start it...it just says it can't. Has anyone exp...
stackexchange/codereview
Basically its loading of xml data but it has following 3 properties to be satisfied repetitive (key value pair can repeat) multivalued (single key have multiple value) In both cases I need to preserve the order of data.
stackexchange/codereview
How to check whether a system is big endian or little endian?
stackexchange/codereview
can we declare a template function in a normal class with out a template class or is it should be always inside a template class ?
stackexchange/codereview
HI, I need to display date as "15th November 2010" in iPhone SDK. How do I do that? Thanks!
stackexchange/codereview
I have a widget and I want it to make a phonecall to a particular number when the user clicks on the widget. How do i do this? Please help.
stackexchange/codereview
I am trying to use Boost to generate random numbers according to the beta distribution using C++. I have seen many examples online for generating random numbers according to distributions in random.hpp (e.g. this book). However, I cannot seen to translate them to use the beta distribution found in beta.hpp. Thanks.
stackexchange/codereview
I have setup a private website that needs to be accessible by only a few people via the internet. I'd like to setup a combination of basic authentication and https. So far I have everything works ok if I directly type in https://blah.com/location1. However what I need is to have apache redirect http://blah.com/location...
stackexchange/codereview
I am using following TextView to display some data in it: <TextView android:id="@+id/notificationText" android:layout_height="wrap_content" android:layout_width="fill_parent" android:textSize="18sp" android:inputType="textMultiLine" android:maxLines="2" android:layout_pa...
stackexchange/codereview
Am going to begin my work in article extraction. The task that I will be doing is to extract the hotel reviews that is posted in different web pages(eg. 1. http://www.tripadvisor.ca/Hotel_Review-g32643-d1097955-Reviews-San_Mateo_County_Memorial_Park_Campground-Loma_Mar_California.html, 2. http://www.travelpod.com...
stackexchange/codereview
I am using the new .Net 4.0 RouterService and have a requirement for the router to log the messages going back and forth. I need to do this by accessing the actual message being routed. How do I implement a MessageInspector on the Router programatically? Or is there some alternative to using a MessageInspector?
stackexchange/codereview
is there a way to get human readable string (@"drwxr-xr-x" for example) from an NSFilePosixPermissions integer ?
stackexchange/codereview
Having recently worked with a bunch of people (from two different companies) right out of school or with 1-2 years experience, I was initially quite impressed with their knowledge of the various industry buzz words and design patterns etc. Furthermore they each had a good understanding on OO design principle and use of...
stackexchange/codereview
I am starting my first ruby on rails project using RSpec and BDD. When I try to run my rake spec task, I get the following error: Access denied for user 'root'@'localhost' (using password: NO) Clearly rspec is trying to use a default configuration from somewhere and is ignoring the database.yml file in my rails config...
stackexchange/codereview
using the guide at http://developers.facebook.com/docs/reference/plugins/like I am trying to put a like button on my web page. How can i change the color of text [Be the first of your friends to like this.]
stackexchange/codereview
How do I implement a One-to-One relationship with Mapper? From Lift wiki: If you’re looking to model a one-to-one relationship, just use a one-to-many relationship. The only potential hassle is that you’ll have a List[B] instead of a Box[B]. Isn't there a more idiomatic way?
stackexchange/codereview
I want to bind the background color of a button to an enum. I wonder if there is an enum object that can hold multiple values, for example the state and the color. I want to avoid two enums that could be out of sync. Here are two enums that I would like to integrate with each other. enum StateValue { Player, Wall, Box ...
stackexchange/codereview
I want to save many files, almost 200. When i'm saving only a few i'm doing it this way: dialog.Filter = "Bmp files (*.bmp)|*.bmp"; dialog.FileName = name + "_copy"; dialog.ShowDialog(); bitmap1.Save(dialog.FileName); How can i do the same...
stackexchange/codereview
I know there are other issues involved in any decission when beginning a large project, but my experience in the past has been with SL web based apps (w/ entity framework) where I have found wcf ria services such a time saver, I am wondering what people think about the reasons one might remain with wpf for desktop apps...
stackexchange/codereview
When I rake my db in emacs, it fails– although it works fine in terminal. The error is related specifically to an environment variable that emacs doesn't seem to be picking up on. What is the best way to resolve this in .emacs? Do I need to source my profile every time I start emacs?
stackexchange/codereview
I want to add a css class statement like below: <%: Html.TextBoxFor(model => model.Comments, new { @class = "lookandfeel_1" })%> to this line: <%: Html.TextBoxFor(model => model.Money, String.Format("{0:F}", Model.Money)) %> How do I do it ?
stackexchange/codereview
Is it necessary to test the rendering of my website in both Chrome and Safari despite the fact that both browsers implement the Webkit rendering engine underneath? Is this a cop out by developers or a valid assumption to make? I am specifically asking about whether the pages of my website will render the same in both...
stackexchange/codereview
The final result should display the user the time span between the start hour and the end hour.(e.g. start work at 06:30 AM and finished at 18:30 PM, the result to display should be 12 hours). Now, I have to DateTime parameters; fromTime and toTime Each DateTime parameter have an hour in 24 hour format, and also might ...
stackexchange/codereview
I have class called Employee with 3 property called ID,Name,Dept. I need to implement the Copy and Clone method? When I am using Copy or Clone method I need to avoid Casting? how will I do that?. example: same as DataTable which is having DataTable.Copy() and DataTable.Clone().
stackexchange/codereview
I am currently working on a homework assignment to generate what is known as Pascal's triangle in Python. So far, this is what I have: def mytri(myrange): trianglevar = [[1]] for i in range(1, myrange): tempvar = [1] for n in range(0, i-1): tempvar.append(trianglevar[i-1][n]+triangle...
stackexchange/codereview
I'm currently trying to learn game programming, so I'm starting with a simple application for the iPhone so that I can sort of learn the flow and organization of game programming. Right now, I have a class for the player's ship called PlayerShip and the PlayerShip can come in different levels (i.e. when the player upgr...
stackexchange/codereview
I have following Drools rule to which I send map filled with element , but when it gets executed I have element . Why do I get null when it should be "Y" for the value? When I put breakpoint in ACDebug.debug() method and inspect map after $map.put() was executed it looks good, it has "Y" for the value, but after my rul...
stackexchange/codereview
I am trying to get log4j working using xml configuration. I have log4j.xml added to classpath but while running I am getting : log4j:WARN No appenders could be found for logger (test.DateFormatter). log4j:WARN Please initialize the log4j system properly. If I place a log4j.properties instead it seems to pick up the con...
stackexchange/codereview
I have a tab control with different pages. When starting up the form with this tab control the tabs get lost and the inner page gets all the screen focus. The tab control is used for navigation so the user will get lost this way. Is there any way to let the tabs be visible on the screen without just resizing the screen...
stackexchange/codereview
One one hand, in Haskell Vector a seems to be the preferred type to use as an array of numbers. There is even an (incomplete) Vector Tutorial. On the other hand, Control.Parallel.Strategies are defined mostly in terms of Traversable. Vector library doesn't provide these instances. The minimal complete definition of Tra...
stackexchange/codereview
I am sharing some memory between C++ and PHP At the PHP end I have: $inputshm_id = shmop_open($shid, "w", 0777, 1024); Where shid is an identifier I created with ftok. This all works fine when I run this PHP script logged in as root on the server but when I try to run it remotely over the web I get: Warning: shmop_...
stackexchange/codereview
i currently have a Java Observer/Observable setup in which i switch on some field within the Object parameter of Observer.update (e.g. event id) to determine how to handle an Observable notification. this creates verbose code like: public void update (Observable o, Object arg) { if (arg instanceof Event) { ...
stackexchange/codereview
Without getting into the details of why (its for school) I'm trying to use a custom preloader I've created to load a Flash video. I've created the animations, and the loader functions, but on the Event.COMPLETE event, how do I pass the data I've loaded into myUrlLoader to an FLVPlayback component? Or should I even be u...
stackexchange/codereview
I have the following in my code. Having the option legend: {show:true} messes up the chart badly. The legend section is so long and there is no chart. I have pasted the image here of how the chart looks : http://tinypic.com/view.php?pic=2eqgbgy&s=7 It shows fine without the legend option though, but chart is o...
stackexchange/codereview
I am running GHCI 6.4 in Windows 7. I do not know what sub directory of the .\ghc\ directory to add .hs files to. Every time I try using :l it tells me that the file cannot be found. Has Anybody else run into this problem? EDIT: Thank you for your answers. Both of those look like they will work, but I ended up using t...
stackexchange/codereview
The following example from A Tour of Scala shows how implicit can be used to provide the appropriate missing members (add and unit) based on the type. The compiler will pick the right implicit object in scope. The library also uses that with List.sortBy and Ordering or List.sum and Numeric for instance. However is the ...
stackexchange/codereview
Is there a library that I can use for solving a set of linear equations using Gaussian Elimination?
stackexchange/codereview