instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'd like to list all files from a remote folder (let's say www.mysite.com/folder, and this folder is already configured through .htaccess for directory listing). After listing, i'll need to copy the remote files to a local folder. For listing/copying only local files, I was using NSFileManager, but this doesn't work fo...
stackexchange/codereview
i m inserting one video in sdcard to show the video in emulator.. but showing error: [2010-11-24 19:21:22] Failed to push sample.mov on emulator-5554: Read-only file system pls help me how can i do that?
stackexchange/codereview
In my android app development, I have one button, the button text is not a single color text, it is two lines text, with each line uses different color for line text. How to implement this? "Two lines" can be simply implemented by adding "\n" in the text, I don know how to set different colors for each line text on the...
stackexchange/codereview
Here is my issue. I have a class called AguiFont. It internally has a pointer to whatever type of font the font loader is set to. I overloaded the = operator so that users wouldn't ever have to manage its memory. It works great except for one circumstance. When I set the font for a widget in its constructor, for some r...
stackexchange/codereview
I remember seeing a recipe to take an expression and evaluate every Head that matches pattern x, while leaving subexpressions with non-matching heads unevaluated. I can't find this recipe anymore, does anyone know the right way to do this?
stackexchange/codereview
I am working on a WinForms app that uses the ReportViewer control to show a few Reporting Services reports. On these screens, we allow the user to print the report by calling the PrintDialog() method on the ReportViewer like so: _reportViewer.PrintDialog(); This works fine in most cases, it brings up the standard win...
stackexchange/codereview
I'm working on a Java Web Start distributor application. It uses a configuration XML which defines how to serve resources to clients. There are some resources which are generated during the requests. I'm processing the main configuration file with a custom SAXParser handler. In the configuration file i would like to ad...
stackexchange/codereview
Is is a bad practice to show database values in get method for security point of view? for example:- 'http://example.com/user/id/10' where 10 takes value from database. Please can anyone suggest me a standard encoding and decoding algorithms that takes two parameter (both for encoding and decoding) so that one can be ...
stackexchange/codereview
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* ./index.php I think it means if the url doesn't match a file or directory on the server go to /index.php? Can anybody confirm?
stackexchange/codereview
I have never before created a REST based service. I am about to create a simple apps for the iPhone which needs to store data and I want to consume the data by using a REST API. Do you think this is worthed or should I as well do a query to the DB? What sort of DB/language do usually iPhone developers use for their app...
stackexchange/codereview
Let's say I have the enum public enum Test : int { TestValue1 = 0, TestValue2, TestValue3 } Why can't I use statements like Int32 IntTest = Test.TestValue1 without a cast to mean IntTest = 0? It would be useful if I decided later to add more items to the enumeration? I think I am forced to use Int32 IntT...
stackexchange/codereview
How do I do this? Something that begins with if(file."something?"
stackexchange/codereview
greetings all i am using spring security 3.0.2 and i am using apache,tomcat i was discovering the sessions on my web app and found out too many sessions with used time=0 and the description of one of them was something like: Attribute name : SPRING_SECURITY_SAVED_REQUEST_KEY Attribute value : DefaultSavedRequest[http...
stackexchange/codereview
Starting from FW 4.0, the IntPtr structure has the Add method: public static IntPtr Add( IntPtr pointer, int offset ) Which is great, as it's supposed to address all those questions on IntPtr math we have had (1, 2, probably more). But why is the offset int? Must it not be IntPtr? I can easily imagine offsetti...
stackexchange/codereview
Dumb question, but somehow interesting. Is it just thr $_GET-limit or do they have some other techniques ?
stackexchange/codereview
I have a Scala project based on the "a simple scala project (1.2)" archetype that I've imported into Netbeans 6.9.1 as a maven project wtih existing pom. I can successfully run this project from inside Netbeans, but can't figure out how to run it from the command line. I saw a couple similar questions, but wasn't abl...
stackexchange/codereview
I'm having problems with the IDE since it keeps opening when I tried to closed it. Do you have the same problem and solution for that? Edit I recently install hotfixes: [crashes on shutdown] VS10-KB2275326-x86 [insufficient memory bug when copy-paste] VS10-KB2251084-x86 [search box increased size bug] VS10-KB226808...
stackexchange/codereview
So, I'm trying to pull together a collection of excellent datastructure implementations, partly for my personal collection, partly to try and build a larger set of highly optimized structures for somewhat specialized purposes. Part of this stems from the agony that deque and set inflicted with unexpected overheads and...
stackexchange/codereview
I'm using GWT 2.1. I have a TextArea that I'm using to preview a document, and I don't want lines that are too long to fit to wrap - I want a horizontal scrollbar to appear. There's no setWrap method I can find in TextArea - how can I achieve this?
stackexchange/codereview
I have several <asp:TextBox TextMode="MultiLine"> elements on a page. On load, I populate them (through the VB code behind), and then turn them into TinyMCE editors (through the jQuery TinyMCE plugin). Each text box also has a button associated with it, with the purpose of submitting the text back to the code behind fo...
stackexchange/codereview
Consider a webpage having lot of XHR calls to server and A iframe which again contains lot of XHR calls to server. Many of this calls are same (Redundant). I do have single communication interface (i.e. set of methods in a javascript object). How to optimize server calls? Can we cache responses? (I can invalidate s...
stackexchange/codereview
I can't get adb to recognising my HTC Desire on my new upgrade of Ubuntu 10.10 Maverick Meerkat. adb devices shows List of devices attached ???????????? no permissions Now, there are plenty of tutorials for changing rule files under /etc/udev/rules.d/. However, I cannot find one specific for 10.10. Can anyone tell...
stackexchange/codereview
I have an HTTPHandler that returns some XML. I am trying to figure out how to get this to cache in the browser, as if it were a static XML file. I've tried this along with a few other variations and other Cache options, but nothing I do seems to make it cache (according to Fiddler). Any ideas on how I can cache the ou...
stackexchange/codereview
I have a WPF application where i open a popup mennu (popup control) using the escape key. In that popup menu I open a file dialog when pushing a button, and the when pushing the button closes the popup. When i next time pushes the esc button it doesnt pop up, not until i have focused another program, eg. reset focus. D...
stackexchange/codereview
server: sql 2008 R2; dataset: between 50-100 million records I have a table full of speed instances for vehicles from which I need to determine the average speed of all the cars (ie one number not a number for each car). The trick is the records span a great period of time and there is no consistency to the time when t...
stackexchange/codereview
I am facing problem in big decimal no. Following code snippet will explain my problem: BigDecimal parsedValue = (BigDecimal) decimalFormat.parse(input); Here input is a string type. Now suppose value of input is 135abc24 in this case value of parsedValue is 135 but i want to check for such inputs and give an error in...
stackexchange/codereview
I am trying to send this string: Server code: char bash[256] = "grep 'usernama' data/*.txt | awk -F':' '{print $1}' | uniq"; char result[1000] = system(bash); send(connected, result,strlen(result), 0); fflush(stdout); Error message: error: array must be initialized with a brace-enclosed initializer Issit possiible ...
stackexchange/codereview
How to access a USB port in C#, send a data stream and receive other data?
stackexchange/codereview
How do I write a selector that has two condtional selectors, eg $("#version option:selected **AND** option:contains('some text')")
stackexchange/codereview
I have a messages table which has an id of the user that sent it in each row. But I cannot edit the database, and there are no foreign keys. Is it possible to join without any relationships? var msgs = (from m in dbContext.messages join a in dbContext.users on m.userid equals a.id into sender wher...
stackexchange/codereview
Im unsure of how to approach this, should I have the html to be loaded hidden or load it from somewhere? I want to load a form in one page, and dynamic content on other pages. The form can be saved to mongo db, and when the page loads should load the data into that form from mongo db. Where does the html live for all t...
stackexchange/codereview
I'm coding my personal website in CodeIgniter, and I wish to integrate a blogging engine as well. Where can I find a WYSIWYG/custom input area which can render markup/HTML, like this one in StackExchange, or even something like the one in Wordpress. Are there any open source WYSIWYG input areas that don't destroy marku...
stackexchange/codereview
I am having problems in setting a up a latest news panel on my website. Currently public System.Data.SqlClient.SqlConnection Admin_conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectString"].ToString()); protected void Page_Load(object sender, EventArgs e) { DataTable dt = News(); if (dt.Ro...
stackexchange/codereview
I've got a postgres table where the ID is defined as bigserial. How can I use @Insert and get back the id of the inserted entity? I am expecting the mapper method to either return the id or populate the id field inside the entity object. Any ideas?
stackexchange/codereview
I am very newbie to Perl. I wrote a very simple Perl program (script): print "hello"; When I execute it on command prompt (with command - perl first.pl), it works. However, when I use the same Perl code in "filter" of apache it doesn't work. To provide more details, I am invoking a filter for a URL in Apache Http Serv...
stackexchange/codereview
Following my previous question in Creating FacesMessage in action method outside JSF conversion/validation mechanism? , i'm trying to handle the exceptions thrown from the business layer outside my managed beans. The strategy is to search and convert business exceptions to faces messages in the a PhaseListener,. It is ...
stackexchange/codereview
create table Son ( ID int primary key identity(1,1), DateOfBirth datetime, constraint Age check (datediff(year,DateOfBirth,GetDate())>= 0), Name nvarchar(50) not null check (len(Name) >= 8) default('Sergio') ) Right now I'm just checking it he Age column is bigger than 0, how can I declare the table if...
stackexchange/codereview
I have loaded a Java class into Oracle using the loadjava utility. This class has some system.out.println messages. When I execute a method from this class I want to see the the sysout messages. Where can I find these messages?
stackexchange/codereview
I want a very simple periodic timer to call my code every 50ms. I could make a thread that sleeps for 50ms all the time (but that's a pain)... I could start looking into Linux API's for making timers (but it's not portable)... I'd like to use boost.. I'm just not sure it's possible. Does boost provide this functionali...
stackexchange/codereview
I have the following models in my app (only showing the related scopes): class Audition < ActiveRecord::Base def self.with_new_applications columns = self.column_names.map{|c| "auditions.#{c}" }.join(', ') select(columns).joins(:applications).merge(Application.unreplied).group(columns) end end class Appli...
stackexchange/codereview
I've been trying to fix a google reader client for the iphone I wrote more than half a year ago, which broke after Google changed its authentication scheme for google reader in June. I've currently hit a roadblock with edit/delete functionality for items, feeds and folders... www.google.com/reader/api/0/subscription/...
stackexchange/codereview
I simply want to load a form/div more than once using a loop. Tried this - for (i=1; i<=4; i++) { //document.write(i); showObj('poidiv','block'); } // here poidiv is the name of a html div defined earlier function showObj(objname,visibility){ document.getElementById(objname).sty...
stackexchange/codereview
I am currently making a web crawler to crawl all the possible characters on a video game site (Final Fantasy XIV Lodestone). My interface for doing this is using the site's search. http://lodestone.finalfantasyxiv.com/rc/search/characterForm If the search finds more than 1000 characters it only returns the first 1000. ...
stackexchange/codereview
I am developing in rails and have some programming background. I'm looking for help with Action Script 3, but most of my googling turns up "copy-paste" style answers from designers who don't understand code, and the solutions rarely work. Where do I go to find Action Script programmers, rather than designers? To give y...
stackexchange/codereview
I have a website with a form which allows a visitor to submit their name, phone, email etc. This website is hosted at a website hosting company. I also have a CRM system for managing leads. This resides locally in my office. I programmed this CRM system. When a visitor enters their name, phone etc on the public web...
stackexchange/codereview
What are the parameters that I should pass? The Ghostscript version I'm using is 8.71.
stackexchange/codereview
I have a function like this public bool CheckMentorAccess() { bool blnAllow = false; try { string strSelectMentorQuery = "SELECT COUNT(DISTINCT MLL.LED_ID) FROM M_USER_DETAILS MUD INNER JOIN M_LEADERLED MLL " + "ON MLL.LED_ID = MUD.PK_ID WHERE MLL.LEADER_ID = '" + Session["UserID"].ToString() + "' A...
stackexchange/codereview
I have html table populated from XML. It looks like (simplified): <table datascr=#xmlData> <tr> <td><span DATAFLD="ID"></span></td> <td><span DATAFLD="NAME"></span></td> [...] <tr></table> I have a JavaScript function that creates a new XML with values dependent on the user's choice. The question is: how can...
stackexchange/codereview
Working with the PayPal API and using the Name-Value Pair Interface PHP source codes from SDKs and Downloads: Simplify Integrations with Downloads and SDKs. My question is similar to "Removing (or prefilling) the address details for PayPal Express Checkout" but I don't want shipping cost/address or anything related abo...
stackexchange/codereview
I'd like to save a list of stores into the database using NHibernate. However, there is a unique constraint on each store, causing the save to stop when a store triggers the constraint. try { _storeRepository.Save(stores); } catch (Exception e) { } finally { session.Commit(); } In accordance with to the code a...
stackexchange/codereview
When I call other action in one action, it also display itself template, in Play 1.1 RC and when I Redirect("...url") but it does not work, is there someone that can help me?
stackexchange/codereview
I'm trying to figure out if this is possible or not within a facebook tab on a page. My page url looks like this: http://www.facebook.com/pages/appname/342342342?v=app_1234234 I simply want to pass it another param like this: http://www.facebook.com/pages/appname/342342342?v=app_1234234&donated=1 I can do in within the...
stackexchange/codereview
I'm looking for a regex that matches strings with a given length (parameterized) that start with "+" or a lowercase letter. It additionally must contain at least one uppercase letter followed by a digit and it must not end with a digit. In between there can be lower and uppercase letters as well as digits [a-zA-Z0-9]....
stackexchange/codereview
I posted this a week or so ago: Position simplemodal modal on top of an existing div and thought that I had solved my problem, but when the window is scrolled, the modal container moves. I think I need to change it from fixed to absolute positioning, but when I change it in the script, the right side of the container l...
stackexchange/codereview
I find myself writing this quite frequently. Hashtable h = new Hashtable(); string key = "hahahahaahaha"; string value = "this value"; if (!h.Contains(key)) { h.Add(key, value); } Is there a native method (perhaps something like AddIf() ??) that checks to see if it exists in the collection and if it does not, adds...
stackexchange/codereview
I need to change the context of my site by using parameter sended by client. For example, if I call http://localhost:8084/JSF/ I load the usual index.xhtml with the "Homepage" page on the content template (as default). But, if I call http://localhost:8084/JSF/index.xhtml?page=profile, I need a sort of switch in the i...
stackexchange/codereview
I'm on a shared host running Apache. Apparently mod_expires is not installed. Is there another way to add expires headers to css-files, images etc. on that environment?
stackexchange/codereview
I have a folder hierarchy represented by the following class: public class Folder { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual Folder ParentFolder { get; set; } public virtual ICollection<Folder> SubFolders { get; set; } } In other words, each Folder can...
stackexchange/codereview
I am trying to create a timesheet application in MVC 2, but I feel like I am still struggling to grasp the model/view relationships and all that. The problem I have is, I want to let the user report a new time segment in a create view. But I want to have dropdownlists populated with Projects, Tasks, and Consultants fro...
stackexchange/codereview
I have a Database storing details of products which are taken from many sites, and gathered through the individual sites API's. When I call the feed, the details are stored in a database table. The problem I'm having is that because the exact same product is listed on many sites by the seller I end up having duplicate...
stackexchange/codereview
I am using djgpp 2.03 version and 32-bit windows 7 OS with 3 GB RAM, but while compiling the c source code, I am getting the error "cc1.exe: out of memory allocating 65536 bytes after a total of 52828808 bytes" same source code is getting correctly compiled with the windows xp system with same utility(djgpp 2.03).I tri...
stackexchange/codereview
Using JTS, how to find the nearest point on a polygon's boundary from an outside point?
stackexchange/codereview
In FLEX 4 Layout, how can one display a sequence of images, text, other object types INLINE wrt each other. For example: TEXT1 IMAGE1 OBJECT1 (END OF LINE) (NEW LINE) ABCTEXT3 (END OF LINE) (NEW LINE) XOBJECT2 (END OF LINE) The horizontal span is not fixed for any element. Vertical span is not a constraint. Just...
stackexchange/codereview
What should be done with a Thread after its run() method finishes executing? Is there any cleanup needed for a Thread in Java?
stackexchange/codereview
For example, I want to download this page after inserting username and password: http://forum.ubuntu-it.org/ I have tryed with wget but doesn't work. Is there a solution with python ? You can test with these username and password: username: johnconnor password: hellohello
stackexchange/codereview
I have a registration system which requests a users name. Some people have an apostrophe in their surname and it's preventing the data from being written to the MySQL database table (e.g. O'Hare). I am using mysql_real_escape_string which is removing the apostrophe from the string. This would be fine except I need to...
stackexchange/codereview
Is this possible? So I need to have an array with a dynamic name and content what can be extended and accessed. object = {}; var two = ['thing', 'thing2']; for(one in two){ object[two[one]] = []; } If yes but not in this way, then how?
stackexchange/codereview
I have my GUI files published on a server... this server is where the IIS is running.. Now i access my GUI from a remote machine. how can i get this machines IP address or username. I get the server name of the machine using this code: string svrName = System.Net.Dns.GetHostName(); please help thanks... maybe i was no...
stackexchange/codereview
i want to replace \\ with \ in PHP i tried this code but it doesn't work any idea ? $var= preg_replace('/\\\\/', "\\", $var); thanks a lot
stackexchange/codereview
Is there a way to persist the cache of a WebBrowser control in between runs of a WinForms application. The WinForm application is basically a simplified browser that goes to a page depending on command line arguments. It seems to cache pages while running so I can quickly go forward and back, but I would also like to ...
stackexchange/codereview
Here I need to check the windows focus constantly, I want to check whether the user is existing on my site or else he focus some where else. This has to be done for some particular time, after they called an event. I have used self.focus() and `window.focus() there is not use, its always return the "native code". What ...
stackexchange/codereview
What is the command to test a smtp host that whether reachable from my unix machine through port 25 using valid authentication details? Lets say: host: smtp.gmail.com port: 25 username: someusername password: somepassword how to test this is reachable from my machine? Thanks :)
stackexchange/codereview
How can i symbolicate an iphone crash with symbolicate crash pearl script? Help me with setting up pearl script on mac and corresponding commands.
stackexchange/codereview
In my application i m using webservices to get the the image to load in UITableView. the images loaded in the cell and i scroll down to see other datas, if i again scroll up to see already loaded data, there the loaded images are again loading. Why this happens. can anyone tell that how to display images in LazyTableIm...
stackexchange/codereview
I'm using WCF services ensuring that UserName/Password must be provided for each request. I need use same service from many clients, but I need impersonate the call to access the appropriate resources for each client. When I call the service directly from the client there is no problem, because I use for each client a ...
stackexchange/codereview
I want to sort an array in particular order given in another array. EX: consider an array a=["one", "two", "three"] b=["two", "one", "three"] Now I want to sort array 'a' in the order of 'b', i.e a.each do |t| # It should be in the order of 'b' puts t end So the output should be two one three Any suggestion...
stackexchange/codereview
How can I change state for dozen issues in "few clicks" in TFS? I know it is possible to export them all into Excel, do batch operation and "import" them back... (or something like this, didn't try actually). But I am wondering if there is any quicker way to do that? For example, I would like to: - launch some query; ...
stackexchange/codereview
How can I change the arrow image of GTK+'s GtkComboBox widget?
stackexchange/codereview
I need some quick help on selecting items with jQuery. It might be a very simple solution, but... I can't see one right one besides cloning and duplicating elements. So, here we go. I have this kind of structure on a page: http://content.screencast.com/users/iamntz/folders/Jing/media/2fa05c60-f4fc-4178-b9b6-187831e1ca3...
stackexchange/codereview
We have crystal reports 2008 full version. We want to embed crystal reports designer in windows application. The goal is to limit functionality and make it part of existing application just for appearance. This application is meant for end user and they should be able to change/edit report design. e.g. cosmetic changes...
stackexchange/codereview
i am using quartz with spring and i want to inject/use another class in the job class and i don't know how to do it correctly the xml: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://w...
stackexchange/codereview
im currently working in a simple program that implements plugins whith dll libraries (using the TJvPluginManager from the JVCL Framework). So far I figure out how to use this component to handle commands but what if i want to have a return value from a custom function inside the library?. It is posible to call a certai...
stackexchange/codereview
I need to display decimal money value as string, where dollars and cents are separate with text in between. 123.45 => "123 Lt 45 ct" I came up with the following solution: (value*100).ToString("#0 Lt 00 ct"); However, this solution has two drawbacks: Upon showing this solution to a fellow programmer, it appears to b...
stackexchange/codereview
I am having trouble with the new 4.1 for iPad. I want to still compile against 3.2. Do I set the base version in the project settings? If so, why is it marked as missing? How do I get it and where do I put it? Sorry a lot of questions there but they have changed the way drawing works and I don't want to change my whole...
stackexchange/codereview
Given hundreds of database tables in multiple schemas, when creating stored procedures and views, would you recommend using aliases/synonyms or fully qualified name? Given a few schema.table like so, Orders.OrderHeader, Production.LineThroughput, Sales.Opportunities I expect a slight gain in performance with using qua...
stackexchange/codereview
I can find the median with 12 comparisons. But I want to know the minimum number of comparisons and how to do it.
stackexchange/codereview
i'm trying to POST a file to a webservice using CURL (that's what I need to use so I can't take twisted or something else). The problem is that when using pyCurl the webservice doesn't receive the file i'm sending, as in the case commented at the bottom of the file. What am I doing wrong in my pyCurl script? Any ideeas...
stackexchange/codereview
i do have a question about layouting with a listview inside of a scrollviewer. Once a listview is inside a scrollviewer it does use it's maximum size and doesn't scroll itself cause the scrollviewer offers unlimited amount of space to the controls inside of it. The problem is, that controls that are below a long list a...
stackexchange/codereview
I am debugging (looking for memory leaks) using Xcode for my small application. I use Leaks from Instruments. If there is a leak, I can click on a method name and I see source with marked place where the leak is. It is ok. However I have two questions about the source view: What does the color of a marked line mean? S...
stackexchange/codereview
Trying to generate map_blue_1.png, map_blue_2.png, etc. with the following code but some coding error on the {i+1}. What is the proper way? <% content_for :in_script do %> $("#map").gMap({ markers: [ <% @spots.each_with_index do |spot, i| %> <% if spot.geocoded? %> ...
stackexchange/codereview
I am trying to read a java file and modify it simultaneously. This is what I need to do : My file is of the format : aaa bbb aaa ccc ddd ddd I need to read through the file and get the count of the # of occurrences and modify the duplicates to get the following file: aaa - 2 bbb - 1 ccc - 1 ddd - 2 I tried using ...
stackexchange/codereview
How can we set Separator style at cell level. i.e. each cell will be having different separator style?
stackexchange/codereview
I have spent literally hours searching for how to do this and unfortunatly being a C# novice cannot work out how to do this although im sure its pretty simple. I am trying to grab the data I have stored in XML and bind it to a list. I was currently using the foreach method and just adding items to the listbox using the...
stackexchange/codereview
I have a search page: (please excuse the bad syntax, just for demo purposes) <form action="" method="post" name="form"> //form elements and such with a hidden input name="action" value="search" </form> <?php if(isset($_POST['action']) and $_POST['action'] == 'search'): ?> <?php include results.php ?> //takes form data,...
stackexchange/codereview
I am new to iPhone development and I use Phonegap since I know web development. I followed instruction in below sites: http://wiki.phonegap.com/w/page/16494778/Getting-Started-with-PhoneGap-%28iOS%29 https://github.com/phonegap/phonegap-iphone/blob/master/README.md But I got this error No architectures to compile for (...
stackexchange/codereview
I have a list of objects : film_hc = [{'count': 2, 'pk': '33'}, {'count': 1, 'pk': '37'}, {'count': 1, 'pk': '49'}] The 'pk' value is the primary key for a record in a model. I would like to add the name field of that record to this list of objects. To get one name, I can use: record = Film.obj...
stackexchange/codereview
i am very new to assembly programming language. i have a little experience with MASM which works on windows. i want to know how to deal with GUI in Linux.(i have done simple programs in assembly on Linux using gcc) i would like if some one can give me any resources particularly coding samples. Thanks !!
stackexchange/codereview
Possible Duplicate: jQuery + RGBA color animations hey, i want to change the opacity of an rgba value on hover, but the opacity stays at .07.. maybe ou can help me find the mistake. CSS (IE hacks are in seperate file - no need to mention them here) .boxcaption{ float: left; position: absolute; height: 100px...
stackexchange/codereview
I recently wrote some code to use Predicates from the Guava library to compose complex predicates as filters for a result set. I constructed a class called PredicateFamily which represents a collection of predicates for a specific domain within the result set. The Predicate family also tracks which of the predicates ar...
stackexchange/codereview
I would like to save several records for one model. This would have been done pretty easily with saveAll() if it hadn't been for a problem: I have a notification form, where I select multiple users from a <select> and two fields, for subject and content respectively. Now, when I output what $this->data contains, I have...
stackexchange/codereview