instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
i just added a ADBannerView to my view using interface builder. There was no errors or warnings when i tried build and run. But when i reached the page containing ad banner the application crashed. Really i cant figure out whats happening. Should i add any code to make it run?
stackexchange/codereview
Hi Friends, I have a small question, I have a paragraph of string, now I want to delete some words from that para aaaaaaaaaaaaaaaaa*bbbbbbbbb*aaaaaaaaaaaaaa. Now, suppose I want to delete the "bbbbbbbb" fromthe above para and I am using the following method mySpeechText = [[mySpeechText stringByReplacingOccurrence...
stackexchange/codereview
This is the code i got from net to get the image width. It works great. <script type="text/javascript"> function CreateDelegate(contextObject, delegateMethod) { return function() { return delegateMethod.apply(contextObject, arguments); } } function imgTesting_onload(...
stackexchange/codereview
According to Using Rich Edit Controls I use RichEdit in such way: MyControl::OnCreate() { handle = LoadLibrary(_T("Riched20.dll")); } MyControl::OnDestroy() { FreeLibrary(handle); } It works fine for win32 but recently I’ve built x64 configuration and now my control fails after the page reload. I’ve noticed ...
stackexchange/codereview
I have added master page to the project. Although I can successfully run the page, it doesn't switch to design view. It gives me errors : 1)Cannot find the master page. 2)No build providers specified for the extension (They are added in both the applications and machine's web.config). 3)Can't switch to design view. Ge...
stackexchange/codereview
I want to write a discount amount which is coming from a Database onto an image. I have taken an image like: <div style="height: 158px; width: 210px; float: left; position: relative;"> <a id="aproduct" runat="server"> <asp:image id="pimage" runat="server" width="210" height="158" border="0" /> </a> <asp:Panel...
stackexchange/codereview
I've a query like this There is a main CASE expression, if the result is 1, then I need to execute the other case statements, and else, the select statement below. This query is not working. Can anyone help me DECLARE @sportCodeID INT; SELECT @sportCodeID = sport_code_id FROM jobs dlj where dlj.id = id; (CASE WHEN...
stackexchange/codereview
I've just started using java.nio and probably used it some wrong way so I got a slight problem with it. I'm trying to write a something like a Port Forwarder that can modify the traffic that passes through it using various additional modules. Here is how I'm doing it: ConnectionManager - a thread that has it's own Sel...
stackexchange/codereview
What non-deprecated tags in html are commonly misused? How should they be used/what should they be replaced with? It would be awesome if we had some sort of guide to help people learning HTML. An answer should include: The html tag in prominent text how it is commonly misused how we can avoid misusing it Please only ...
stackexchange/codereview
Well, I have to confess I'm not good at generic type in Java I've written a JSON serialize/deserialize class in C# using JavaScriptSerializer private static JavaScriptSerializer js = new JavaScriptSerializer(); public static T LoadFromJSONString<T>(string strRequest) { return js.Deserialize<T>(strR...
stackexchange/codereview
I am making an application which implements the following structure : MainWindow |_ tabBar Controller |_ FirstView |_ SecondView |_ ThirdView |_ FourthView |_ navigation Controller |_ ViewA |_ ViewB Following a tutorial, I have...
stackexchange/codereview
I have created a app that will have a large set of data in the form of XML files inside documents folder. The data size is so large and its growing data by day so planning to move it to SQLLite DB. Also, i want it to be moved to SQLLite DB for security purposes. I have around 1000 XML files currently, it may grow in fu...
stackexchange/codereview
What is the syntax/analogue for Assembly Directive http://msdn.microsoft.com/en-us/library/a7c375wt(VS.71).aspx in MVC 3.0 Razor On MVC View i have this: <%@ Assembly Name="Web.Plugins.Authentication" %> How i may say the same in MVC 3.0 razor view ? More details and solution: I did build pluggable MVC application wher...
stackexchange/codereview
here's what i'm trying to convert to objective c from c#: public class Television { public string Name {get; set}; public bool isOn {get; set}; public int channelNum {get; set}; public string channelName {get; set}; } let's say the television fairy has been to my house, and i don't know how many te...
stackexchange/codereview
Getting error on this line in my code:- objGetAdd.UserAddlID = int.Parse(e.CommandArgument.ToString()); Button in aspx page:- <asp:Button ID="btnEditAdd" Text="Edit" CausesValidation="false" CommandName="Edit" Visible="false" runat="server" OnCommand="btnEditAdd_Click" CommandArgument='<%#Eval("UserAddID") %>/>
stackexchange/codereview
I have a Joomla component where users will be able to create lists, however, I need to display this is the front end. How do I go about displaying a back-end component in the front-end?
stackexchange/codereview
What should be the correct value for innodb-flush-log-at-trx-commit if I want to make the query faster at any cost? I do not bother about data integrity at this moment. I have set the following in my.cnf innodb_flush_method=O_DIRECT innodb-flush-log-at-trx-commit = 2 Is it correct?
stackexchange/codereview
Interoperability comes to mind (MS/Java). Also, with EJB you need to distribute EJB interface, with WS you got WSLD (I know there's EJB extension for WSDL, but I'm not sure it's used). Anything else?
stackexchange/codereview
I want to start with SQL Server SSIS. Kindly guide how to start with it and what are the areas that need to be looked in first.
stackexchange/codereview
I'm using a DataGrid, which datasource is exported to Excel. I'd like to shape the excel doc according to the current sorting of the DataGrid (which column, and which order). Anyone knows how to access this information? Thanks
stackexchange/codereview
For a simple Post-Tag @ManyToMany scenario like this one @ManyToMany inconsistent data on both side problem It seems that hibernate's 2nd level cache doesn't know the time to update the aggregation function (ex: count ) like this one : public int getPostCountByTag(Tag tag) { Session session = (Session) em.getDelegate...
stackexchange/codereview
I have a windows service project which I added to a few other projects. I added the references and I can access them. Then when I build, it says "Does not exist" Then I remove the reference and add it again and I can access it, but still fails when I build and can't access it later. Any clue what does this happen form?...
stackexchange/codereview
I am importing some static libraries to my project. It works fine but there are some compiler warnings as "... following -L not found". This is seen in every static library I import. How to resolve those error? Thank You
stackexchange/codereview
I am working on orientation work on uitabbar application. I am using 5 tabbar item in tabbar. I want only 4 tab bar item to be rotated in both Landscape and potrait. but the issue is when i put "return no" to shouldAutorotateToInterfaceOrientation in non rotating tabbar item, all tab bar are not working. can anybody pl...
stackexchange/codereview
I am creating a simple download manager in Java swing...! I have used different threads for different tasks in the download manager. Thread1-> main Thread2-> downloadSpeedTracker Thread3-> SwingUIRendrer In this application I am calculating the download speed by creating a thread in class downloadSpeedTracker and I am ...
stackexchange/codereview
dumb problem. embarrassed that i haven't found a solution. i'm tired. a red square in on the stage. mouse-down + mouse-drag-up will move the red square downward (+y), while mouse-down + mouse-drag-down will move the red square upward (-y). this opposite motion is desired. however, during a mouse drag the square mus...
stackexchange/codereview
im rendering html in a dynamic textfield.. is it possible to have scrollbars for my content that extends beyond the view. i tried googling and came up with nothing
stackexchange/codereview
I have a web app that writes data to a file every interval, say 10 minutes. I have another console app that reads the file and does something with data. The problem is: sometimes the file is staled, in use by the web app while the console app is trying to copy it. Which causes error, lock error. I have two questions, ...
stackexchange/codereview
I have an articles table and I need to add the year to the name Before Bicicleta rodado 20", freestyle Mirraco Blend Bicicleta rodado 20", freestyle Mirraco Blend (azul) Bicicleta rodado 20", freestyle Mirraco Blend (negro) Bicicleta rodado 20", freestyle Mirraco Blink Bicicleta rodado 20", freestyle Mirraco Blink (bla...
stackexchange/codereview
I've got a query that works fine when I run it in SQL Developer, but returns an empty result set when run as a prepared statement. I'm not sure if my query is formatted incorrectly, or if it's something else (which I'll leave for another question entirely). So here is my query. I've stripped stuff out in order to captu...
stackexchange/codereview
I have a C++ unsigned int which is actually storing a signed value. I want to cast this variable to a signed int, so that the unsigned and signed values have the same binary value. unsigned int lUnsigned = 0x80000001; int lSigned1 = (int)lUnsigned; // Does lSigned == 0x80000001? int lSigned2 = static_...
stackexchange/codereview
I have been trying to force images to download using PHP Headers but there have been multiple problems. So, instead, how can I use .htaccess so that when I link to an image like: <a href="wallpapers/image.jpg">Download</a> ...instead of opening that file in browser, the file is actually downloaded and saved to the use...
stackexchange/codereview
I have a TreeView Control (that should look like this) But I don't know how to populate it with my query: SELECT T.TableName, C.Column_Name FROM Information_Schema.Tables T INNER JOIN Information_Schema.Columns C ON T.TableName= C.TableName WHERE T.TableName IN('BASE_TABLE', 'BASE TABLE') ORDER BY 1, C.Ordinal_Posi...
stackexchange/codereview
On my droid phone, I get what I consider a proper pause/stop/resume/restart sequence when the home button is pressed and I then select my application. However, I'm testing on a new Samsung Galaxy tablet and when I select my application after having pressed the home button, a new activity is being launched. I do not und...
stackexchange/codereview
I am confusing and don't know why it's happen that when I get float from string. I have an array of NSString, and when I get floatValue from these string object, they are not correct, for an example: NSString object is "71.4" => floatValue is 71.4000013 NSString obtect is "71.45"=> floatValue is 71.4489839 Does anyone ...
stackexchange/codereview
I need a call back URL for registration of my app in twitter. How to get it??
stackexchange/codereview
I need to get the next sibling of an element but it should not have the class "foo". In jQuery this would be: myEl.next("div.goodClass") or myEl.next().not(".foo") Can this be done with nextSibling?
stackexchange/codereview
Does anyone have any guidelines/best practices for naming conventions for Forms and controls (e.g., events, buttons)?
stackexchange/codereview
I want to retrieve xml data from three table stored in MySQL. I used the below code it works fine but first it retrieve one record from first table than iterate to second table and print the whole table and then iterate to third table and print the whole table but I want to print first table along with relevant records...
stackexchange/codereview
I am using jQuery.autocomplete plugin. What i wants is if returned options are greater than 30 then wants to display some message like list is not complete. To handle this i did $('div').ajaxStop(function() { if ($(this).find('DIV').length >= 30) { $("<div class='autocomplete clsautocomplete' style='backgr...
stackexchange/codereview
Hi I have 2 tables Document and Project. DocumentID is an FK in the Project table. Using sql How can I delete Document Records in the Document table, and also remove their corresponding records in the Project table. Thanks
stackexchange/codereview
I have been using Vim to write Stata scripts in Windows for a while now at the university. I am learning R at the moment, and I want to switch completely to Linux as my OS (I've recently switched to Ubuntu on my laptop). R works fine with Vim in both Windows and Linux, however I still need to use Stata sometimes. In Wi...
stackexchange/codereview
I have never used namespaces for my code before. (Other than for using STL functions) Other than for avoiding name conflicts, is there any other reason to use namespaces? Do I have to enclose both declarations and definitions in namespace scope?
stackexchange/codereview
I'm making a non-garbage-collected MacFUSE Cocoa application, inside of which I want to use a GCD block as a delegate. However, my program crashes during the invocation of the block, leaving only an EXC_BAD_ACCESS in its trail. My program uses a framework built agains the Mac OS 10.5 SDK that does not support garbage c...
stackexchange/codereview
I want to scrape all of the url's out of my .json bookmark backup that firefox creates and output a .txt file. Here's a sample of one of the objects located in the file: {"index":1,"title":"Bookmarks Toolbar","id":3,"parent":1,"dateAdded":1219177758531250,"lastModified":1288873459187000,"annos":[{"name":"bookmarkProper...
stackexchange/codereview
I have a C# class that is typically executed in a thread. The caller can call a .Cancel method to stop the execution of the thread. The ".Cancel" method will set a boolean "Cancelled" property to "True". The actual cancellation comes from little blocks like this, scattered all over the place in my code: public void T...
stackexchange/codereview
How can I make a loop that can take user input every time it loops? #include <stdio.h> #define WORD "jumble" #define JUMBLED "mleujb" int main() { char string[6]; int i = 0; printf("The jumbled word is "); printf(JUMBLED); printf("\nCan you guess the original: "); while(i == 0) { s...
stackexchange/codereview
I need to develop some mouse over functionality in text field. I could get the text on click functionality by having htmlText & TextEvent. Similarly, can i get the mouseover functionality in text field ?
stackexchange/codereview
I would like to migrate my existing mysql db (ver 5) to Oracle DB (11g). The export scripts provided by phpmyadmin do not seem to work.
stackexchange/codereview
I am getting the dreaded security warning when running my GWT web app under IE8: "this webpage contains content that will not be delivered using a secure HTTPS" It of course works fine with Firefox and Chrome. I have taken a look at the requests with firebug and I see no HTTP requests. I have also used both Fiddler and...
stackexchange/codereview
In monotouch, how can I write to the console which the iPhone Configuration Utility displays. This is the console I am referring to:
stackexchange/codereview
Assume an OO design where objects call each other, and after a while the called upon objects callback the initiating objects (calls and callbacks). During normal program termination, while destructors are called, is there some kind of promise that no system timers will be called, and no object will initiate a callback?...
stackexchange/codereview
When trying to add a reference to a ASMX with WCF I get the following ewrror. Using the .NET 2.0 services option however works fine: System.NullReferenceException: Object reference not set to an instance of an object at Mono.ServiceContractTool.MoonlightChannelBaseOperationExtension.FixupAsync () [0x00000] in <filena...
stackexchange/codereview
Is it best practice to place method bodies before or after they are called ? I generally place them after; interested in what others are doing ?
stackexchange/codereview
I have created a Joomla based website and willing to upload it on live server. I have never done the hosting before. please help me how shall i make this happen successfully?
stackexchange/codereview
I have a MS DataBase project in Visual Studio. After doing a Schema Comparison, I am trying to generate a deploy script. The problem is I get hundreds of Unresolved references errors,such as the following two: Error 385 TSD03006: View: [auditing].[AuditedEntities] has an unresolved reference to object [INFORMATION_SC...
stackexchange/codereview
I just want to create a 2 select box where if a user select an option in first select box, second select box also select that option value or let's say the 2 select box must select 1 identical index value Select Box 1 selects index value 2, then select box 2 also selects index value 2 onChange and vice versa Here's my ...
stackexchange/codereview
I know there is a command to list all the clients that are connected to the same network I'm connected to and get basic information (IP, MAC...) I thought of writing it down the last time I used it but probably figured I'd remember it. Yeah, right.
stackexchange/codereview
I have nested dictionary implementation like this: Dictionary<class1, Dictionary<int, class2>> Now I am using this at many places in my project, but I feel ugly writing such a long name every time for example: Dictionary<class1, Dictionary<int, class2>> obj1=new Dictionary<class1, Dictionary<int, class2>>(); Diction...
stackexchange/codereview
If I make an SQL server database, 1) Do I need to install SQL server on client's machine too to use it in vb.net or we can use it just without it, as Access database can be used in vb.net. 2) I created a database with one table. In BindingSource's Datasource section, when I make new connectin with this database, what...
stackexchange/codereview
I'm to write an event based simulator in C#. I need a sorted container for the scheduler that has the following capabilities: Key - Value pairs are stored sorted by the key (Time, Delegate pairs) Efficient inserts and removes by key (Smallest items are removed, inserts are arbitrary) The smallest item (key value pair)...
stackexchange/codereview
i have this tabel, CREATE TABLE `forum_rank` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `rank` int(11) NOT NULL DEFAULT '0', `forum_id` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; now i ask about what perfome b...
stackexchange/codereview
Im trying to get console output from an external application in my application. When i call the externall app from my code it hangs with the message: Configuring logging... Configuring log4j from: C:\GPAT\log4j.cfg and nothing happens. I searched through internet and it seems that it might be thread issue. But i cant m...
stackexchange/codereview
There are many tables as the following: table_2010 table_2009 table_2008 table_2007 . . Using MySQL 4 + PHP5 + CakePHP 1.3 My Question is How to treat these tables in a model? I wanna treat like this Table->find('all',"2010",array("conditions"=>""));
stackexchange/codereview
I am doing load testing of my server with number of clients(200, 300, 500, ....3000). For testing I am using windows 64 bit systems and I am running server on one system and clients on another system. All the clients can do connections successfully, but after one minute or two minutes later, server through an erlang:e...
stackexchange/codereview
Look, before I get comments about how stupid I am for asking a question like this, I'd like it to be extremely clear that I understand that these two languages are vastly different. However, the way the languages are written happen to be quite similar. I'm a heavy ActionScripter who has entered a .NET environment. What...
stackexchange/codereview
I'm looking to add 1 second to a datetime so I can test date based pagination. I'm hoping get a date from our API response, convert the date string into a date, then convert that into milliseconds, add a second and then convert back into a datestring and use it in my next API request. ( sound longwinded? It sure feels ...
stackexchange/codereview
I have been trying to research this, but I can't seem to find a definite answer. Back in the early 1990s when email was rather new for the mass consumers the email addresses often had 8 character name @ something.xxx. Why was the 8 character limit chosen? I know that early email servers were running on UNIX. Are t...
stackexchange/codereview
I want to be able to take a shortened or non-shortened URL and return its un-shortened form. How can I make a python program to do this? Additional Clarification: Case 1: shortened --> unshortened Case 2: unshortened --> unshortened e.g. bit.ly/silly in the input array should be google.com in the output array e.g. g...
stackexchange/codereview
How to preg_replace() with a single line to achieve the following outputs? $string1="get rid1 [link1] get rid2 [link2] ..."; // any number of links echo "[<a href=link1>link1</a>][<a href=link2>link2</a>]"; $string2="get rid any text any text get rid"; // = no links: is a possibility echo ""; I tried the following, wh...
stackexchange/codereview
I have a problem with using the adjacency-list of the Boost Graphics Library. It seems to be a circular dependency problem: I have a typedef T of a template which uses some class A. Additionally A stores a pointer to an object of type T. Now the compiler tells me, that T does not name a type. Here are excerptions of m...
stackexchange/codereview
i'll admit i'm a powershell n00b, but need to create 12k mail-enabled contacts in ad based on ldap information from a novell edirectory. i've been trying to manipulate the following code to suit the need, but i'm stuck trying to split apart the 'mail' attribute of a user object: $gwise = "GWISE" $comma = "," $dot = "."...
stackexchange/codereview
I have a tableView which lists the contents of the document directory. It contains files(jpg, png, mp4, pdf, sql, mp3,...) and folders(they even have subfolders too). Here is my screen shot. where "SQLTutorial" in the list is a folder. Then I have a detailViewController which opens the file when selected in the tableV...
stackexchange/codereview
Does anybody knows how to develope a new language pack for Microsoft Dynamics CRM? Thanks in advance.
stackexchange/codereview
Do I need to create a application pool which supports .net framework 4.0?
stackexchange/codereview
I try to configure NHibernate in F# project by FluentNHibernate. static member GetNHibernateConfig = Fluently.Configure() .Database(MsSqlConfiguration.MsSql2008 .ConnectionString(fun c -> c.FromConnectionStringWithKey("connectionString") |> ignore) .ShowSql()) Visu...
stackexchange/codereview
In linux terminal, what is the command that'll tell me in which folder am I?
stackexchange/codereview
I have an activity (say activity A) which displays video using a mediaplayer, rendered in a surfaceview. The use case is to pause the video, start another activity (say activity B), then come back to activity A. Activity A is stopped but not destroyed when going to B, which is good. The surface view (since not visibile...
stackexchange/codereview
I've got this repeater on My .aspx page : <asp:Repeater ID="RptCart" runat="server" OnItemDataBound="RptCart_ItemDataBound" OnItemCommand="RptCart_ItemCommand"> <HeaderTemplate> <table class="style1" style="border-style: solid; border-width: 1px"> </HeaderTemplate> ...
stackexchange/codereview
I've read several discussions of passing char * in C. stackoverflow: passing-an-array-of-strings-as-parameter-to-a-function-in-c stackoverflow: how-does-an-array-of-pointers-to-pointers-work stackoverflow: whats-your-favorite-programmer-ignorance-pet-peeve drexel.edu: Character arrays Many of them include discussions o...
stackexchange/codereview
This is a somewhat unusual problem. I'm presently working on an effort to automate an Office application. Basically the issue is that my app is able to interact with the Office app correctly when I execute my app via RDP, but I am unable to send keystrokes using SendInput() if I set up the application to spawn from a w...
stackexchange/codereview
In the vein of more impossible-but-is-it-really questions: Is it possible to access the member variable of a class, where the variable's name is stored in a string? class Test { public: int test = 0; } string name = "test"; // let's assume we know test is an int. Any chance of getting the value of test, using the stri...
stackexchange/codereview
I would like to make smth like this: class MyModel < ActiveRecord::Base has_many :locations has_one :location, :class_name => 'Location', :join => "RIGHT JOIN locations ON locations.user_id=mymodels.user_id" end So MyModel can only have one location for each user though it has many location. How can I define that?...
stackexchange/codereview
Nowdays browsers have popup blockers. But still I have seen some sites succeed to show popups. I also have to create a popup which can not be blocked by browser. Is it possible? if Yes then please tell me. Thanks
stackexchange/codereview
When using WSAT with a ASP.NET webform application, it's possible to create a new role, add/remove users to/from it, and (most importantly) define rules that apply for that role; i.e. you have a folder tree that allows you to choose which folder you want to apply a particular rule regarding a certain role. So, you can ...
stackexchange/codereview
How can I add a Boolean check to a for loop? I was trying something like this: for i in range (0, someNumber) and keepGoing == True It is giving me the error 'bool' object is not iterable. Thanks for the help.
stackexchange/codereview
When I do "Add Existing Frameworks" in Xcode, I see three versions of libiconv. libiconv.dylib libiconv.2.dylib libiconv.2.4.0.dylib This link says the latest and greatest is 1.13.1. I don't think it's the same as the numbers above. Any clues?
stackexchange/codereview
i have a question that i want to get notifications from my facebook application? means that users on some other site can get notification related to my facebook application. there is send notifications option in facebooker plugin but no way i see get notification option. Thanks in advance for helping me.
stackexchange/codereview
I have 4 columns. All these columns have datepickers in top. I want to allow users to remove the column they wish and add a column again at will. for that, I just want the columns to be ordered. So if the columns are ordered like : 1 2 3 4, and say, user deletes 2, I want to rename the remaining columns as 1 2 3. ...
stackexchange/codereview
I came across this XPath in one of my studying code: count($recprv//*[local-name()='provider_email' or local-name()='provider_fax' or local-name()='provider_phone' or local-name()='provider_phone_ext' ]) I am now having a hard time figuring out what it means, I personally think it says:" in the xml file recprv, c...
stackexchange/codereview
I am working with Django. I have a HTML form which collects information from the user,wrote a function which post the value.But when I amtrying to render the value to an URL.(Example:return of the function is like:http://api.test.com?search=topic?title=USA). But it shows UnicodeEncodeError with 'charmap' codec can't e...
stackexchange/codereview
It is said, from data loading perspective its better to have small number of indexes with multiple columns than multiple indexes with small number of columns in each? Kindly tell me the reason for this.
stackexchange/codereview
I need to validate a user input of about 1,500 characters Allowed characters are a-z A-Z 0-9 Allowed symbols . , : ? ! and space Can anyone suggest a preg_match expression for this? I am using '/^[a-zA-Z0-9.,:?! ]+$/' but it gives error sometimes
stackexchange/codereview
Is it possible to put a magento site under an maintenance flag so that visitors will get a message that the site is under construction? I can't find this setting in the admin area. Another solution will also be welcome. Any help would be appreciated. Thank you.
stackexchange/codereview
This is a simplified version of my code: void calc(char *s) { int t = 0; while (*s) { if (isdigit(*s)) t += *s - '0'; else ++s; } printf("t = %d\n", t); } int main(int argc, char* argv[]) { calc("8+9-10+11"); return 0; } The problem is with the while...
stackexchange/codereview
I need to pass this value to my sql file cause I am executing then a where condition with a IN. For instance : Delete FROM table WHERE col IN ('index1','index2','index3') I have an issue when I try to call this sql file from cmd using sqlplus command set INDEXES = 'index1','index2','index3' sqlplus script %INDEXES% Wh...
stackexchange/codereview
Sorry if the question is worded wrong - I don't know the right word for what I'm asking for! :) Say, you have some simple C program like: #include <stdio.h> int main() { int a=2; printf("Hello World %d\n", a); return 0; } Typically, this would have to be saved in a file (say, hello.c); then we run gcc on...
stackexchange/codereview
I'm getting this warning: perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. How can I fix this?
stackexchange/codereview
i wrote a command line program that shall clean and reorganize our archived server logs by piping line by line to new target files. Each target file has an according regEx filter item so if the line that is red from the sourcefile gets written to this specific target file if it matches the regEx. I read the regEx strin...
stackexchange/codereview
It's an addition for previous my question about adding columns into jqGrid-based table. Here my new js-code: var col_names = ['First', 'Second', 'Third', 'Fourth', 'Fifth']; var col_model = [ {name:'invid', index:'invid', width:100}, {name:'invdate', index:'invdate', width:90}, {name:'amount', index...
stackexchange/codereview