instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Let's have an extremely simple composite component: <cc:implementation> #{testBean.someField} </cc:implementation> Bean for it: public class TestBean { private boolean someField = false; public boolean getSomeField() { return someField; } @PostConstruct public void init() { System.out.pri...
stackexchange/codereview
I'm confused why is my activity still lagging, I use remote service that has few methods and each has its own work like download stuff, process data, compare stuff, etc... It will run in background and update data at selected intervals and notify user of changes over notify system. The reason why remote service, becaus...
stackexchange/codereview
I have a DataTable with data loaded from an external source, one of the column is an int. I'd like to add a column to the DataTable, containing a description of that int. I have a Dictionary, or in some cases something like: Pair<int,string> mapping_values[] = { new Pair<String, int>("start", 3), new Pair<String...
stackexchange/codereview
I have a Silverlight application. I'm trying to make calls to RESTful web service. The internet seems to say I need to make WCF proxy, and put the Silverlight client access policy file in the root of that WCF proxy. My question is -- Can I just put a client access policy file on the root of the RESTful (non-WCF) webse...
stackexchange/codereview
I have an application which has some memory leaks due to events not being detached before an object reference is set to null. The applicaiton is quite big and its difficult to find the memory leaks by looking at the code. I want to use sos.dll to find the names of the methods that are the source of leaks but I'm gettin...
stackexchange/codereview
I have simple textbox example as below: private void Form1_Load(object sender, EventArgs e) { textBox1.Text = "Apple"; } private void textBox1_TextChanged(object sender, EventArgs e) { if (textBox1.Text.Length == 1) { if (textBox1.Text == "B" || textBox1.Text == "b") ...
stackexchange/codereview
I want to use normal HTML Button to call Controller in ASP.NET MVC2, instead of ActionLink, is that possible?
stackexchange/codereview
I want to add/remove dynamically forms. I'm using forms that are stored in a table, each row has form. I have 2 tables: - the one being displayed - the one surrounded by with the temporary row that I want to clone and insert into the displayed table. Everything works fine in IE but the cloned row with its form in Fi...
stackexchange/codereview
I would like to create a debugging helper function which I can use within an MVC partial view that will show what the rendering call hierarchy is. For example if I place <%=Html.ShowRenderPath() %> in my partial called endpoint.ascx and it is called from another view (midpoint.ascx) using <% Html.RenderPartial("end...
stackexchange/codereview
I've been searching google for recommendations on conventions or best practices when it comes to the 'case' and naming of files on folders within a Web Application. Most of the time I work within Visual Studio, developing ASP.NET web applications. In the past I've always used PascalCase for all of my files and folders,...
stackexchange/codereview
I have a class in codeigniter which deals solely with ajax. I have created a function within this class which checks if the refferal is an ajax refferal, I want to be able to call this function every time that any function from this class is used. As such I've implemented the __call magic method class Ajax_content exte...
stackexchange/codereview
In case somebody doesn't know: A cartogram is a type of map where some country/region-dependent numeric property scales the respective regions so that that property's density is (close to) constant. An example is from worldmapper.org. In this example, countries are scaled according to their population, resulting in ne...
stackexchange/codereview
I'm new to C# and am trying to learn MVVM by building a simple Crud app. In my App I want to have a series of buttons that when the user clicks on it will load that user control. So when you click on the "Add Item" it will replace the existing control with the AddItemView. I was wondering how I go about this? A lot of ...
stackexchange/codereview
Grails uses Java Properties files too. I can use Google translate to do an initial translation of my message.properties file, even into languages like Chinese. I can see the actual Chinese characters in my new messages_zh_CN.properties file, when I view it in Netbeans or notepad++. But once the file goes into svn, when...
stackexchange/codereview
I have used jquery for javascript in my project I need to create autocomplete with php ajax I am using below code $("input#txtaddkey").autocomplete({ source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"] }); And I have taken some code as below $("input#txtaddkey").autocomplete({ url: 'keywo...
stackexchange/codereview
I have a file with many rows of this kind 2010-01-12 19:40 1021.00000 0.00001 1.00 2010-01-12 19:50 1031.00000 0.00000 -1.00 In order to read it as zoo I use tmp <- read.table("myfile") GOEMD <- zoo(tmp[,3], as.chron(paste(tmp[,1],tmp[,2]), format="%Y-%m-%d %H:%M")) that works properly But I'd like to...
stackexchange/codereview
I have a form which is protected with CSRF token. I don't know all the details of CSRF tokens but I hear they're good to have for form security. When the form is submitted too late, the form gives an error so the CSRF token appears to be working as intended. On the other hand, when I submit the form with ajax, how can ...
stackexchange/codereview
<select id="selTest"> <option custom="123" value="abc">111</option> <option custom="456" value="def">222</option> <select> ...using jQuery, how do I get option.custom where option.value=selTest.val() in other words: if selTest.val = def, then $x=456 (I'm trying to get the value of custom into $x)
stackexchange/codereview
i've a csv file (very huge) with following format. key1,val1,val2,val3... ,valn key2,val2,val5,val1....,valn ... ... keyn,val7,val9,val11....,valn key1,val2,val4,val8.....,valn key2,val10,val12,val14..., valn ... ... keyn,val2,val4,val8.....,valn key1,val3,val5,val7... ,valn key2,val0,val9,val3....,valn key1 to keyn (...
stackexchange/codereview
We have a Perl script which runs a SQL and puts data in the table. Now instead of supplying a single SQL statement, we want to pass bunch of them putting them together in a .sql file. We know that our program will fail because it expects a single SQL statement, not s bunch of them (that too from a .sql file). How do we...
stackexchange/codereview
I need to make a PHP a color based search, where user will click on a color on a palette and the search will retrieve all images with predominant similar colors. Restults will be sorted in descending order from images with the most similar colors. Can anyone point out some guidelines or existing classes, examples, et...
stackexchange/codereview
CSS wonderland. My dream is to understand at least the 100% layout with sticky footer and header. I've been browsing the web and found five+ different ways to do that. http://ryanfait.com/sticky-footer/ http://www.visibilityinherit.com/code/height-stickyfooter-centered.php http://www.cssstickyfooter.com/using-sticky-fo...
stackexchange/codereview
I'm using the Django 1.3 alpha to create a project with two applications. I use 1.3 because of the class-based views. For these two applications I have a set of common base view-classes, that are inherited by the actual views in the applications. In the base class, is there a way to find out what application the view i...
stackexchange/codereview
How to make Django execute something automatically at a particular time.? For example, my django application has to ftp upload to remote servers at pre defined times. The ftp server addresses, usernames, passwords, time, day and frequency has been defined in a django model. I want to run a file upload automatically bas...
stackexchange/codereview
I have an action in a controller which could take a long time to complete. I want to prevent two users from running it at the same time. So far, I insert a record in the database when I start, and delete it when I'm done. What is a better way to do this?
stackexchange/codereview
I'm building an iPhone app for a mobile film festival. The app will make it possible for the users to watch the submitted short films over wi-fi, 3g, and edge (really?) The movies will have a duration between 30sec to 2minutes max. (ste Would you recommend using .3gp format above .mp4 ? Any reason/advantage to prefer ...
stackexchange/codereview
we have a costume calendar system based on oracle database our Oracle Gurus created a web-service that we can use to add/edit/read from our calendar system to make it more clear: it should be like if an event was added to Exchange then it will be sent to our calendar and if it was add to our calendar then it will be se...
stackexchange/codereview
The problem comes as follows. I have M images and extract N features for each image, and the dimensionality of each feature is L. Thus, I have M*N features (2,000,000 for my case) and each feature has L dimensionality (100 for my case). I need to cluster these M*N features into K clusters. How can I do it? Thanks.
stackexchange/codereview
I asked a previous question about event bubbling in .NET What's equivalent to javascript bubbling events in .NET? which doesn't exist like in Javascript. Someone said it would be due to performance reason though I'm not sure because DOM has no performance problem why would Winform. But let's say it's true, then I'd li...
stackexchange/codereview
I´m new to C++ programing. I am compiling a Windows Application which compiles ok with just a few warnings, but when I launch it, it doesn´t even seem to start and returns an Access Violation 3 seconds into the run. When I try to debug it doesn´t even seem to get into the code, so I don´t know where to start looking fo...
stackexchange/codereview
I have a class: class Technician < ActiveRecord::Base scope :named, lambda {|name| where(["first_name LIKE ?", "%#{name}%"])} end In rails console, when I do the following query: technician = Technician.named("john") technician.class => ActiveRecord::Relation and not Technician this matters because I ...
stackexchange/codereview
I have configured the mail in SQL Server but when I am sending mail from SQL Server it is showing mail queue message but I am not getting the mail. I also grant the permission to msdb.dbo.sp_send_dbmail sp for public. my mail sending code as follows. EXEC msdb.dbo.sp_send_dbmail @recipients='test@bba-reman.com', ...
stackexchange/codereview
The error message below i get when I"m trying to create a new user in a project management system we use for a client. I type in all the corresponding information then when I click create it throws this error. The following message may help in diagnosing the problem: Exception has been thrown by the target of an invoca...
stackexchange/codereview
i have the following function when i try and return the vaule its only shows 1 folder but when i echo the function it show the correct informaion. PHP Code: $FolderList = ""; function ListFolder($path) { $path = str_replace("//","/",$path); //using the opendir function $dir_handle = @opendir($path) or die...
stackexchange/codereview
I want to display contact information in a custom layout. My app lets the user select a contact, then I retrieve key pieces of info on that contact (phone #'s, email addy's, etc). I want to display them to the user so they look grouped logically. Sort of like a series of tables, so phone numbers, then email addys, t...
stackexchange/codereview
We're trying to write a couple of applications. One ASP.NET site uses the .NET Assembly xxx.Elements.dll, which provides utility functions. The other, a Classic ASP site, should also use the same DLL in order to use the same utility functions. (It will be used for encrypting data between the two sites). Despite many at...
stackexchange/codereview
Simple. When a HTML page contains a lot of small images it will take some time to have it completely rendered, especially since each file needs to be requested separately. For example, if you have 500 32x32 avatar images which you want to display, then the browser needs to do 500 requests with 500 headers resulting in ...
stackexchange/codereview
Where can I see the total size of ViewState out of the total size of the Response (value in bytes in the Body column) in Fiddler 2? Thanks!
stackexchange/codereview
My java webApp (struts2 and jQuery) has a jsp with a form: <s:form id="theForm" action="stampaPosizioneFinanziaria" target="_new"> and a jQuery button: <a id="stampaPerCliente">Stampa standard</a> // rendere by $('#tampaPerCliente').button(); On button click: $('#stampaPerCliente').click(function(){ avviaStampa(0); }...
stackexchange/codereview
Mojarra Implementation of JSF 2 has the following context params: com.sun.faces.numberOfViewsInSession (default is 15) com.sun.faces.numberOfLogicalViews (default is 15) What is the difference between them? The documentation doesn't speak much about these. My app was having trouble with ViewExpiredException for some ...
stackexchange/codereview
I am using a query called $sqlStr4v that has three results, sorted by a value called totalScore2. Then I am trying to use an if/else statement to display something if a variable called $uv is included in one of the three results returned by the query. The problem I'm having is that the if/else statement only works w...
stackexchange/codereview
Has anyone used mod_pagespeed in a magento store? Does it break anything (like custom optimizations etc?) Very Interested of using it, but suffering from luck of resources...
stackexchange/codereview
I can see why it chooses to stop after it's found a given number of errors. But why stop at 102? Why not 99, 100 or 128?
stackexchange/codereview
I would like to get some help with finding a particular item that shows in my website's homepage. I'm trying to edit the page source code by using Bluehost online File Manager. The thing is I couldn't find the specific page where I can find the relevant code to edit. I bought this website source code from a company tha...
stackexchange/codereview
I am returning an anonymous class: var clients = from c in this.ClientRepository.SearchClientByTerm(term, 10) select new { id = c.Id, line1 = c.Address.Line1 ?? "Unknown Information ..." }; The problem is Address is nullable which means if it is null it explodes into a million pieces. The mo...
stackexchange/codereview
I really hate when I want to store/fetch something from the database, I have to issue a SQL command and wait for the response, and before that I need to create the table and think carefully about the data types. The code is replicates all over the source, every time I need to talk to SQL I am very tired. I am thinking ...
stackexchange/codereview
If I compile a C++ program on my machine, and run it on another one (with older software) I get: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found. In fact on my system glibc is newer (I got gcc-libs 4.5.1: libstdc++.so.6.0.14) and strings /usr/lib/libstdc++.so.6 | grep GLIBCXX prints from GLIBCXX_3.4 to GLIBC...
stackexchange/codereview
I have a complicated issue with creating a single SQL statement to work. I have three tables, active, inactive and history. They are identical, except that only field pointid in active is marked as primary key. Struct: -pointid int -income_time timestamp -outcome_time timestamp -receipted_time timestamp -type int -isac...
stackexchange/codereview
Why images of asp.net toggle button created with checkbox doesn't show inside updatepanel in webusercontrol ?
stackexchange/codereview
How do one use assets? I have this code: AssetManager assets = getAssets(); InputStream stream = assets.open( "test.txt" ); It seams like it can only by used in an Activity class. If I try to use the above code in another class I get an error about getAssets() is not a type for my class. So how do one use assets in ...
stackexchange/codereview
In a Django request I have the following: POST:<QueryDict: {u'section': [u'39'], u'MAINS': [u'137']}> How do I get the values of section and MAINS? if request.method == 'GET': qd = request.GET elif request.method == 'POST': qd = request.POST section_id = qd.__getitem__('section') or getlist....
stackexchange/codereview
There is a validate specifier that can be directly used on the association (see 4.1.2.12 at this Rails Guide and also a validates_associated (see 3.2 at that Rails Guide). Where do both differ?
stackexchange/codereview
Hello I am trying to automate my history tracking procedure in MySQL. The procedure should update a table and create another using uid as a name. CREATE PROCEDURE `InsertQueryStore`( u VARCHAR(128), ID INT, q VARCHAR(1024) ) BEGIN INSERT INTO querystore(`qID`, `qstring`, `user`) VALUES(ID, q, u); # this works # D...
stackexchange/codereview
Can anybody tell me is a PHP desktop application possible? Like software we install on our computer system?
stackexchange/codereview
Given this snippet of code: // Get first key // int? keyEDISecurity = this.WorkQueue.GetNextWorkItem(); // Done? // while (keyEDISecurity != null) { try { ... // Write changes // List<ISNLEditableObject> changedRows = this.WorkQueue.GetChangedRows((int)keyEDISecurity); this.Wr...
stackexchange/codereview
I have a PHP uploader script which handle multiple uploads. The script works well but I get this error below: Notice: Undefined index: uploadedFile in C:\wamp\www\setapro\rmc_manager.php on line 52 The above error occurs on this line below: $inFilesArray = ($_FILES['uploadedFile']['name']); I have tried to do somethi...
stackexchange/codereview
I'm currently connecting to a remote host in PHP CLI and sending some headers. My script then waits for the response. I can have it all print out, but then it returns the HTML. I only want the headers. How can I do this?
stackexchange/codereview
Have the following tables (Oracle 10g): catalog ( id NUMBER PRIMARY KEY, name VARCHAR2(255), owner NUMBER, root NUMBER REFERENCES catalog(id) ... ) university ( id NUMBER PRIMARY KEY, ... ) securitygroup ( id NUMBER PRIMARY KEY ... ) catalog_securitygroup ( catalog REFERENCES catalog(id), security...
stackexchange/codereview
I am currently reorganizing a Play! project where there is a lot of JS code in the HTML template files. This code should be moved to external JS files for better readability and faster page loading times. However, when I just create a JS file in the public folder, all the @{Controller.method} link replacements are no l...
stackexchange/codereview
I am following the instruction from "Using the BlackBerry Smartphone Simulator programmatically" to load a .cod file from the command line using fledgecontroller commands. I am calling LoadCod(D:\Sample.cod) and nothing happens; the application does not install on the simulator. However if I manually browse and load t...
stackexchange/codereview
I am creating an MFC application which will be launched on click on Explorer Context (Rightclick) menu. But I need to launch only single instance of the application. For that I have to use FindWindow and AfxRegisterClass I tried to register the class in my MFC app as below: BOOL CNDSClientDlg::InitInstance() { //R...
stackexchange/codereview
Ruby already has several built-in callbacks. Is there a callback for such case? Kinda like method_added, but for classes (or constants) inside a module, instead of instance methods inside a class.
stackexchange/codereview
I am struggling to retrieve content as plain text from the AJAX HtmlEditor. I am using editor.get_content() to retrieve the content and I am needing it to be in plain text so that I can compare to the initial value of the content. This needs to be done client side in Javascript. For example the plain text I require is ...
stackexchange/codereview
I know I can remove the extra stuff from each element individually like so $button ->removeDecorator('DtDdWrapper') ->removeDecorator('HtmlTag') ->removeDecorator('Label'); I was wondering if I can achieve the same for all my elements in a zend form? And how does one remove the dl wrapping the form?
stackexchange/codereview
I have an instance of the Microsoft Ribbon within my application, and I am trying to bind the content of a RibbonGroup to a collection of images within my ViewModel in such a way that (a) the image is displayed as the large image of a RibbonButton and (b) when the user clicks one of the RibbonButton controls, the corre...
stackexchange/codereview
I'm trying to use PayPal WPS with my Ubercart, and I'd like for the user to not have to create an account on my site before placing an order. However, if I enable "anonymous checkout", then go through the process of a PayPal transaction, when PayPal redirects back to my site, it never creates a new user account. It suc...
stackexchange/codereview
I have this ... <li style="padding: 50px;"> <a href="blabla" style="background:red;">Click Me</a> </li> ... As you all may know that the <a> tag will be smaller in size. I want to use jquery as so... $('li').click(function (){ $(this).find('a').trigger('click');//does not work :( alert($(this).find('a').attr(...
stackexchange/codereview
I have some markup which I need to crawl for images, and check if the images exists in the paths they have specified. If an image does not exists in location A, the path should be replaced with location B. I'm wondering what would be the most efficient way of achieving this?
stackexchange/codereview
I have the code below: List<string> aa = (from char c in source select new { Data = c.ToString() }).ToList(); But what about List<string> aa = (from char c1 in source from char c2 in source select new { Data = string.Concat(c1, ".", c2)).ToList<string>(); Whil...
stackexchange/codereview
I have this database of 100+ images (of country flags) in my drawable folder. Now I want to display the flag of the country you're currently in, in an ImageView. I get the country with String country_variable = address.getCountryCode(); And I set the image with flag.setImageDrawable(getResources().getDrawable(R.drawabl...
stackexchange/codereview
HI guys ~ this is how I download a plist from URL NSURLRequest *theRequest=[NSURLRequest requestWithURL:setDefaultPwdAndSnURL cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0]; NSData *returnData = [NSURLConnection sendSynchrono...
stackexchange/codereview
is there an Android control for getting the user to slide something on the screen? Here's a mockup of the kind of widget I am looking for, in two states:
stackexchange/codereview
I am developing an application where i need to send message from client to server and notify server if there are changes in files on client. I am using QTcpServer and QTcpSocket class in Qt ..I am writing on socket and reading from socket on server side but my read fails. Can i know how to post a message to server. I ...
stackexchange/codereview
I'm certain that I'm missing some fundamental understanding of iOS memory management and, despite lots of reading and searching, I'm still not getting it. I use a singleton in my app that has info about the user currently signed into it, info accessed from multiple view controllers, etc. It has multiple ivars that are ...
stackexchange/codereview
Can any one tell why it is not preferable to use continue; statement in php coding?
stackexchange/codereview
I'm constructing my JsonResult in Controller by adding some extra information to an already existing JsonResult (returned from a different method). In order to add more properties, I converted the initial JsonResult into a Dictionary: IDictionary<string, object> wrapper = (IDictionary<string, object>)new System.W...
stackexchange/codereview
I have an application (C# program that uses SharpSSH), and if I try to run it with the credentials of a user that is currently not logged in, I get a CryptographicException error saying "keyset does not exist". If I run the application with the credentials of a user that is currently logged in, everything works fine. A...
stackexchange/codereview
Background: I've got some code that checks to see if a user has a valid session before processing the php page that I would like to set as the auto_prepend_file. However, I need to exclude the page where the user attempts to login from requiring a valid session. I would like to be able to set the auto_prepend_file va...
stackexchange/codereview
I am experimenting with the layer of a UIImageView, in particular adding rounded corners. My question is, What is the impact on performance (if any) by doing the following : [self.imgView.layer setCornerRadius:10.0f]; [self.imgView.layer setMasksToBounds:YES]; [self.imgView.layer setBorderWidth:2.0f]; [self.imgView...
stackexchange/codereview
I would like to easily create asynchronous methods for my WCF service. I know the way to do this is to use the Begin/End async pattern, and labeling my Begin method with AsyncPattern=true. I'm wondering if I really need to make my own AsyncResult object to handle (which I'm a bit nervous about doing) or if I can use an...
stackexchange/codereview
Im making my own application by using GWT framework. I say that many Class are not supported (like Calendar, Connection, Statement, DriverManager, ResultSet, etc etc) but i can use it (they works). Is it normal? :) And should they be replaced? EXAMPLE : when application start, it loads some FlowPanel with some buttons....
stackexchange/codereview
I recently upgraded a server from Ubuntu 8.04 to 10.04, and it seems to have broken RMagick, with this error: libWand.so.10: cannot open shared object file: No such file or directory - /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rmagick-2.12.2/lib/RMagick2.so Poking around the web for ideas, I decided to ...
stackexchange/codereview
I'm getting a Javascript error on the homepage of a site I've developed. On the homepage there is a jCarousel scroller to scroll between profiles. The error is as follows: this.clip[0] is undefined On line 844 of jquery.jcarousel.js. And the URL is http://www.professionalgirlfriends.co.uk - Excuse the subject matter, ...
stackexchange/codereview
I have recently discovered an annoying problem in some large program i am developing; i would like to understand how to fix it in a best way. I cut the code down to the following minimal example. #include <iostream> using std::cin; using std::cout; class MagicNumbers { public: static const int BIG = 100; static co...
stackexchange/codereview
I'm trying to loop over ALL elements on a page, so I want to check every element that exists on this page for a special class. So, how do I say that I want to check EVERY element?
stackexchange/codereview
I want to view a post ID which I posted on facebook page's wall so I could observe its activity . Because facebook doesn't notify me when another one comment on that post.
stackexchange/codereview
I have come across a situation I have not encountered before using the IF control structure, with a further nested IF. Normally the nested IF would break down what I am checking in more fine grained detail, but in this instance it actually conflicts with the outer conditional - I am checking for a mouse click. Here is ...
stackexchange/codereview
Possibly showing Javascript Test Support package htmlunitpoc; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlForm; import com.gargoylesoftware.htmlunit.html.HtmlPage; import com.gargoylesoftware.htmlunit.html.HtmlSubmitInput; /** * * @author */ public class HtmlPoc...
stackexchange/codereview
I am following example from MVC book. I was asked to create three projects in one solution ( C# Library, MVC 2 and Test). I did it by right clicking on solution name and choose 'add > new project'. Project names are: MVCSample.Domain MVCSample.WebUI MVCSample.Test It looks fine but I can not add Domain namespace into ...
stackexchange/codereview
I'm querying a table which essentially a bunch of dates. FRECDCUST DTRECDCUST DTINSPECTED DTRECDCUSTPO DTADDEDSO DTSHIPPEDSUP DTQUOTEDCUST 1/1/1900 12:00:00 AM 7/27/2010 12:00:00 AM 7/30/2010 12:00:00 AM 7/26/2010 12:00:00 AM 8/6...
stackexchange/codereview
I have a collection which is filtered at the mapping level to enable soft deletion using an "isDeleted" column in the database. The mapping looks like this: HasMany(x => x.UploadedFiles).Where("IsDeleted = 0") When I set the isDeleted property for some items the collection does not automatically refresh to reflect the...
stackexchange/codereview
Running this: class DontList(object): def __getitem__(self, key): print 'Getting item %s' % key if key == 10: raise KeyError("You get the idea.") return None def __getattr__(self, name): print 'Getting attr %s' % name return None list(DontList()) Produces this: Getting...
stackexchange/codereview
I want to be able to grab the main UIView for the application. So far, I have been calling [[[self.view superview] superview] superview] to traverse up the chain (or down, depending on how you look at it). The problem with this is that it is possible that I can't be absolutely sure the number of levels up I need to g...
stackexchange/codereview
I want to have unrestricted access to one of my controller in CakePHP. Below is the config I'm using, unfortunately, when trying myhost.com/my_controller/my_action it still requires credentials. Shouldn't /my_controller/my_action match location ^~ /my_controller/my_action instead of location ~ .php$? From what I unders...
stackexchange/codereview
I have a DVB-T Stick and i can draw the live capture on the form with the DirectShow.NET-Framework and C#, but how I can record this to an AVI-File by click on a start button?
stackexchange/codereview
I am trying to develop a Customize TabControl in which I'll divide the Whole TabControl into three Parts: 1)Tab Header 2)Common Region(for all Tab) and 3)Tab Content region for specific Tab Update: Please provide your best answers or samples if you have then, any type of help will be appreciated. Thanks in Advance
stackexchange/codereview
The MySQL documents state in section 11.5.3 that, despite what the SQL standard may say, it's just fine to use columns in the SELECT clause that aren't in the GROUP BY clause, so long as they are functionally dependent on the grouped key. MySQL extends the use of GROUP BY so that you can use nonaggregated columns ...
stackexchange/codereview
I have HTML code parsed to org.w3c.dom.Document. I need check all tag style attributes, parse them, change some CSS properties and put modified style definition back to attribute. Is there any standard ways to parse style attribute? How can I use classes and interfaces from org.w3c.dom.css package? I need a Java soluti...
stackexchange/codereview
I am going to develop my mobile application and i am new in it and i want To knew which programming language is good is it Symbian C++ or QT ? Tip.. You should know that i use Nokia N95 or in general mobiles with Symbian OS. and my app.contains OCR(object character recognition) and TTS( Text To Speech).
stackexchange/codereview
I really, really hope someone will help me with this! Thank you sooo much if you do! :) I have two pages... one named index.php and one named portfolio.php. My header (same on every page) contains some anchors rederecting them to the portfolio.php page (portfolio.php#blogg). I also have a javascript code for smooth scr...
stackexchange/codereview