Top Questions - NullPointer.ph most recent 30 from http://nullpointer.ph 2010-03-10T22:33:17Z http://nullpointer.ph/feeds http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://nullpointer.ph/questions/583/is-c-development-still-alive-in-the-philippines Is C++ development still alive in the Philippines? lurker 2009-12-09T12:20:22Z 2010-03-10T07:01:58Z <p>How many of you still use C++ (either professionally or as a hobby)? And to what extent? That is, are you using C++ as "C but with classes" or have you been up-to-date with the more modern techniques (generic programming, STL, Boost, etc.). </p> <p>Also, what are your thoughts about the C++ community's movement away from the object-oriented approach and into generic programming? Anybody excited about the upcoming new standard (i.e. C++0x)?</p> http://nullpointer.ph/questions/912/would-you-prefer-an-ide-or-a-classic-hardcore-scripting-for-developing-applicatio Would you prefer an IDE or a classic hardcore scripting for developing applications? JM Maranan 2010-03-07T14:03:46Z 2010-03-10T06:57:49Z <p>Nowadays, many of us had already taken hands on IBM, Sun and many other big time companies' IDEs, so do you think that the autocompletion, wizard-like tools really help vs classic build, debug and deployment strategies through scripts and a handy editor?</p> http://nullpointer.ph/questions/675/whats-your-programming-new-years-resolution What's your "programming" new year's resolution? Mangpogs 2010-01-05T03:21:11Z 2010-03-10T06:48:35Z <p>Planning to take up a new language? Learn Git? Update or create a new blog? What do you intend to do (or not to do) this year to better your programming related skills? </p> http://nullpointer.ph/questions/935/web-service-c-and-php Web Service C# and PHP beth 2010-03-10T03:25:01Z 2010-03-10T05:06:37Z <p>I am trying to use web service in incorporating my C# application to a php based web site. can anyone suggests some possible ways how to do it?.</p> <p>thanks!.</p> http://nullpointer.ph/questions/863/convincing-management-to-go-from-vb6-to-net Convincing Management to go from VB6 to .NET unknown (google) 2010-02-23T01:07:05Z 2010-03-10T01:57:39Z <p>I am working for a couple of months in a small company where the developers are limited to using Visual Studio 6.0 and Visual Basic 6.0 in doing software development. Kindly give some pointers on how I would be able to persuade management or make a case that we <em>NEED</em> to start moving and embracing the .NET framework. Coding using VB6 is so <em>PAINFUL</em> and at the same time quite hard to maintain. I would appreciate your suggestions and advice.</p> <p>On the other hand, would it be better to start migrating some VB6 apps to VB.Net or do we go to use C#? The learning curve with VB6 to VB.Net may not be as daunting as it would be in C# which is one reason why we might choose VB.Net in case the management gives in.</p> <p>Thanks a lot.</p> http://nullpointer.ph/questions/921/what-nosql-database-are-you-using-and-why What "NoSQL" database are you using, and why? cruizer 2010-03-08T05:35:10Z 2010-03-09T11:36:09Z <p>This one's related to <a href="http://nullpointer.ph/questions/700/whats-the-deal-with-document-centric-database" rel="nofollow">another question</a> but I'd like to know: what document-centric or "NoSQL" database are you using, and why? I've heard a lot about MongoDB and CouchDB, but it seems there's this other package called Cassandra that's getting popular. What are the factors that one must consider in choosing a particular database?</p> http://nullpointer.ph/questions/923/jqueryui-contentslider-question jQueryUI ContentSlider Question voidnothings 2010-03-08T06:07:34Z 2010-03-09T11:31:57Z <p>Hi,</p> <p>I'm pretty new to jQuery and jQueryUI and I'm eager to try out things. This time, I want to create a content slider than has auto play and can jump to a specific slide. I was able to sort things out for those two rules, but then <strong>I want to add a bullet indicator which also replicates the "jump to slide" functionality of #slideNav</strong>. </p> <p>I have tried repeating the same code and attaching a different id (#bullet) but I couldn't get it to work. (I know this would violate web standards- ID uniqueness).</p> <p>Here's my code:</p> <pre><code> &lt;div id="teaseContent"&gt; &lt;div id="slide-1" class="slide ui-tabs-panel"&gt;...&lt;/div&gt; &lt;div id="slide-2" class="slide ui-tabs-panel"&gt;...&lt;/div&gt; &lt;div id="slide-3" class="slide ui-tabs-panel"&gt;...&lt;/div&gt; &lt;ul id="slideNav" class="ui-tabs-nav clearFix"&gt; &lt;li id="nav-slide-1" class="alpha ui-tabs-nav-item ui-tabs-selected"&gt;&lt;a title="..." href="#slide-1"&gt;Nav 1&lt;/a&gt;&lt;/li&gt; &lt;li id="nav-slide-2" class="alpha ui-tabs-nav-item"&gt;&lt;a title="..." href="#slide-2&gt;Nav 2&lt;/a&gt;&lt;/li&gt; &lt;li id="nav-slide-3" class="alpha ui-tabs-nav-item"&gt;&lt;a title="..." href="#slide-3"&gt;Nav 3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;ul id="bullet" class="ui-tabs-nav clearFix"&gt; &lt;li id="nav-slide-1" class="alpha ui-tabs-nav-item ui-tabs-selected"&gt;&lt;a title="..." href="#slide-1"&gt;#1&lt;/a&gt;&lt;/li&gt; &lt;li id="nav-slide-2" class="alpha ui-tabs-nav-item"&gt;&lt;a title="..." href="#slide-2&gt;#2&lt;/a&gt;&lt;/li&gt; &lt;li id="nav-slide-3" class="alpha ui-tabs-nav-item"&gt;&lt;a title="..." href="#slide-3"&gt;#3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>Here's the head code: (Using jQuery 1.4.2, jQueryUI 1.7.2)</p> <pre><code> &lt;script type="text/javascript"&gt; $(document).ready(function(){ //service slide $("#teaseContent").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 3000, true); }); &lt;/script&gt; </code></pre> <p>Any ideas on how to make this work? Hope someone could lend a hand and point out some advice :) thanks!</p> http://nullpointer.ph/questions/930/is-the-composite-application-guidance-for-wpf-silverlight-overkill Is the Composite Application Guidance for WPF/Silverlight overkill? cruizer 2010-03-09T11:05:27Z 2010-03-09T11:05:27Z <p>Is the Composite Application Guidance for WPF/Silverlight (I think it used to be called Prism) overkill? I'd like to make use of it for WPF and Silverlight development but it seems quite complicated and insists on coming with other stuff like Unity (for IoC). I am looking for a lighter-weight framework for WPF/Silverlight that uses patterns like Model-View-ViewModel. (That way I can also choose a different IoC framework) What's your input on this?</p> http://nullpointer.ph/questions/884/data-transfer-objects-vs-domain-activerecord-entities-in-the-view-in-ror Data Transfer Objects VS Domain/ActiveRecord Entities in the View in RoR leypascua 2010-02-24T09:25:09Z 2010-03-09T03:48:02Z <p>I'm coming from a .NET background, where it is a practice to not bind domain/entity models directly to the view in not-so-basic CRUD-ish applications where the view does not directly project entity fields as-is.</p> <p>I'm wondering what's the practice in RoR, where the default persistence mechanism is ActiveRecord. I would assert that presentation-related info should not be leaked to the entities, not sure though if this is how real RoR heads would do it.</p> <p>If DTOs/model per view is the approach, how will you do it in Rails?</p> <p>Your thoughts?</p> <p>Some examples: - A view shows a list of invoices, with the number of unique items in one column. - A view shows a list of credit card accounts, where possibly fraudulent transactions are executed. For that, the UI needs to show accounts that have more than one transaction in red.</p> <p>For both scenarios, The lists don't show all of the fields of the entities, just a few to show in the list (like invoice #, transaction date, name of the account, the amount of the transaction)</p> <p>For the invoice example, The invoice entity doesn't have a field "No. of line items" mapped on it. The database has not been denormalized for perf reasons and it will be computed during query time using aggregate functions.</p> <p>For the credit card accounts example, surely the card transaction entity doesn't have a "Show-in-red" or "IsFraudulent" invariant. Yes it may be a business rule, but for this example, that is a presentation concern, so I would like to keep it out of my domain model.</p> <p>EDIT: A new example:</p> <pre><code> //The persistent/Domain model, can be implemented as AR in RoR public class Bus : Entity { //to represent a one-to-many association mapping public IList&lt;Person&gt; passengers {get; set;}; //to represent many-to-one association mapping public Person driver {get; set;} public LtfrbFranchise permit {get; set;}; public Location currentLocation {get; set;}; //other data fields/association mappings public void AddPassenger(Person pax){ pax.Ride(this); passengers.Add(pax); } public bool IsColorum(){ return !permit.AllowsTripOn(currentLocation); } public bool IsOverloading(){ return (passengers.Count() &gt; permit.SeatingCapacity); } } //The UI only requires the following: [Serializable] public class BusListDTO { public int BusNo {get; set;} public string DriverName {get; set;} //from Bus.driver.LastName + "," + Bus.driver.FirstName public bool ShouldBeDisciplined {get; set;} //this is TRUE when both IsColorum() and IsOverloading() of Bus are TRUE. If TRUE. a grid row should show 3 buttons. } </code></pre> <p>BusListDTO can be used to show information to the UI, or serialize it as JSON/XML should the need arises. </p> <p>Without a DTO, the entity/AR will have a lot of members that are not really persisted since the entity evaluates them for every call. Some examples: </p> <ul> <li>You can add a DriverName attribute to the Bus entity but the attribute DriverName is a presentation concern.</li> <li>You can add ShouldBeDisciplined to the Bus entity, perhaps persist it to save up on DB roundtrips. </li> </ul> <p>Should the Bus entity be involved in a lot of views that does not directly show its shape, you end up with a monolithic AR class. In a large team scenario, this is a maintenance nightmare, where you spend a lot of time communicating what attributes do in specific use-cases and you have devs who use attributes indiscriminately.</p> http://nullpointer.ph/questions/23/which-programming-language-should-i-start-first Which programming Language should I start first? kjaonline 2009-10-08T05:53:30Z 2010-03-09T00:09:58Z <p>I am a fresh graduate of Bachelor of Science in Nursing. As you can see it's very different from Programming. :D</p> <p>Anyway, I want to try my hand at programming. I have some experience with html and css because I run a few sites of mine (www.pinoyhon.com)</p> <p>Which programming language should I be learning first? I heard that python is good, ruby may also be a choice.. But, which one can you guys recommend as a complete newbie with no strong programming background?</p> <p>Edit: Added Nursing </p> http://nullpointer.ph/questions/913/a-php-dev-wanting-to-switch-to-c-as-a-career-help A PHP dev wanting to switch to C# as a career, help inarray 2010-03-07T15:17:48Z 2010-03-08T05:59:05Z <p>Hi, I've been a PHP dev for about 3 years now and it seems that being a C# programmer is more lucrative. I consider myself a capable programmer with passion for learning. I know Java Web programming (with Struts) but has no professional experience with it.</p> <p>What would you guys suggest? How do I switch on becoming a C# programmer?What companies would you recommend?</p> <p>This is possibly a life altering question (of sorts) so I'd value your advice greatly. Thank you very much in advance.</p> http://nullpointer.ph/questions/547/why-do-you-think-ruby-or-python-isnt-as-pervasive-as-php Why do you think Ruby or Python isn't as pervasive as PHP? Erol 2009-12-03T04:05:13Z 2010-03-07T13:54:44Z <p>Ruby and Python are both maturing as scripting languages, with Ruby 1.9 closing the gap with PHP in terms of performance. Why do you think these two aren't as pervasive as PHP in terms of production use, developer availability, and jobs?</p> http://nullpointer.ph/questions/582/what-3rd-party-gwt-library-extensions-will-you-recommend What 3rd Party GWT Library extensions will you recommend? Cyrus Venn 2009-12-09T08:27:42Z 2010-03-07T03:39:31Z <p>I have been trying to find an extension that I can use for Google Web toolkit since the default UI library provided by GWT is not that diverse.</p> <p>I have seen the EXT-GWT, GWT-EXT, and Smartgwt libraries but I cant decide which one of them that I'll be using.</p> <p>Thank you for the advice that you guys can share. :)</p> http://nullpointer.ph/questions/777/custom-activerecord-finder-invoking-named-scopes Custom ActiveRecord finder invoking named scopes? Erol 2010-02-03T07:09:47Z 2010-03-07T01:53:54Z <p>I have a custom finder defined below:</p> <pre><code>class ContainerGateIn &lt;&lt; ActiveRecord::Base ... def self.search(text) result = if text text.split(' ').inject(self) do |result, criteria| case criteria when /^[0-9]{4}-[0-9]{2}-[0-9]{2}$/ result.search_by_date(criteria.to_date) else result.search_by_text(criteria) end end else self end end ... end </code></pre> <p>Where search_by_date and search_by_text are named scopes, and eager is an eager-loading named scope defined as:</p> <pre><code>named_scope :eager, :include =&gt; [{:container_inventory =&gt; {:container =&gt; [:size_type, :grade]}}, :company, :truck, :hauler] </code></pre> <p>The association is setup via a HMT (has_many :through):</p> <pre><code>class ContainerDepot &lt;&lt; ActiveRecord::Base has_many :container_inventories has_many :container_gate_ins, :through =&gt; :container_inventories do end </code></pre> <p>The problem is if the finder is invoked via association nesting from ContainerDepot, it fails with an ActiveRecord::Statement::Invalid, saying that the table has been specified more than once.</p> <pre><code>ContainerDepot.first.container_gate_ins.eager.search(text) =&gt; ActiveRecord::StatementInvalid: PGError: ERROR: table name "container_inventories" specified more than once </code></pre> <p>I could correct it by copying the whole custom finder as an association extension:</p> <pre><code>class ContainerDepot &lt;&lt; ActiveRecord::Base ... has_many :container_gate_ins, :through =&gt; :container_inventories do def search(text) ... custom finder code from ContainerGateIn ... end end ... end </code></pre> <p>It is not very DRY though and introduces a very unnecessary and potentially problematic redundancy, as the custom finder will have to be changed from time to time to accomodate additional search logic.</p> <p>Any ideas on how this could be done better?</p> http://nullpointer.ph/questions/685/blogging-tool-in-python blogging tool in Python namespace 2010-01-08T10:49:58Z 2010-03-06T16:42:01Z <p>Is there a free or open source tool or website for publishing blogs like Wordpress in Python? Tnx!</p> http://nullpointer.ph/questions/788/is-there-a-way-to-do-a-fair-coin-toss-over-e-mail-using-verifiable-methods Is there a way to do a ***FAIR*** coin toss over e-mail using verifiable methods with both participants being the only parties? fzzzopenid 2010-02-05T03:00:37Z 2010-03-04T10:04:59Z <p>Is there a way to do a <strong><em>FAIR</em></strong> coin toss over e-mail using verifiable methods with both participants being the only parties?</p> http://nullpointer.ph/questions/905/shared-host-that-supports-postgresql-and-ruby-on-rails Shared host that supports PostgreSQL and Ruby on Rails? katz 2010-03-03T11:42:40Z 2010-03-03T16:25:46Z <p>Are there any shared hosts that support PostgreSQL and Ruby on Rails? Dreamhost, my current host, doesn't.</p> <p>Or maybe a VPS host. I kinda have a limited budget so prefer shared for now. </p> http://nullpointer.ph/questions/560/wordpress-mu-subdomain Wordpress-mu subdomain unknown (google) 2009-12-04T11:15:57Z 2010-03-03T06:39:22Z <p>I installed wordpress-mu on a Windows machine and set it up so that i can addresses like myblog1.blog.ph. I have confogured the DNS settings for such. blog.ph works fine, but the sub-blogs like myblog.blog.ph show the following screen:</p> <p><a href="http://yfrog.com/0jerrvxj" rel="nofollow">http://yfrog.com/0jerrvxj</a></p> <p>So what do I do now?</p> http://nullpointer.ph/questions/887/gwt-developer-anyone-working-with-this-framework GWT Developer, anyone working with this framework? mark.diesta 2010-02-25T06:06:31Z 2010-03-02T14:10:07Z <p>GWT Developer, anyone working with this framework? Or any company that currently use this framework?</p> http://nullpointer.ph/questions/655/c-determining-if-there-is-a-drawinggraphics-at-a-given-point C#: Determining if there is a drawing(graphics) at a given point cristina 2009-12-31T05:43:13Z 2010-03-02T12:19:12Z <p>I have a panel in C# with 50 (or more) small rectangles in it drawn using Graphics. Given a Point in the panel, is there a way to determine if there is a rectangle in that point? </p> <p>I can only think of looping through the rectangles[] but that might not be practical in terms of running time. Know of any method/object in C# that can help?</p> <p>Thanks!</p> <p><strong>Edit</strong>: The shapes are objects.</p> <p><strong>Edit</strong>: The real problem here is that I'll be checking for collisions between rectangles, meaning I'll be checking for intersections of two or more unknown rectangles per timer-tick.</p> <blockquote> <p>Comment by lurker: Why do you need to do that? If you only need to check if a point is contained within a rectangle, then a simple iteration should suffice. Maybe the problem needs more clarification.</p> </blockquote> <p><strong>Edit</strong>: This is the algorithm that I thought of in order to avoid collision:</p> <pre><code>moveRectangle() { do { choose target place // choose a Point in the panel } while (there is a rectangle at target place) // if there is a rectangle at chosen Point go to target place } </code></pre> http://nullpointer.ph/questions/407/which-country-would-you-go-to-to-work-as-a-programmer Which Country would you go to, to work as a Programmer? napoleon-assign 2009-10-26T04:25:04Z 2010-03-02T09:58:02Z <p>I know most people in the IT industry in the Philippines would like to migrate or just work abroad. If you were one of those who want to, which country would you pick, and why that country?</p> http://nullpointer.ph/questions/893/what-company-provides-a-good-deal-for-buying-ssl-certificates What Company Provides a Good Deal for Buying SSL Certificates? Pogz Ortile 2010-03-01T08:52:00Z 2010-03-02T09:07:30Z <p>Im finding the need to purchase SSL certificates and i was wondering if any one of you has prior experience in purchasing SSL certificates. </p> <p>And also, I would like to ask if lets say, I have an Active Directory server, web server and another IIS web server for another system, can I just use 1 certificate for all? Will all of my subdomains inherit the certificate? </p> <p>Lets say, my website is www.shalala.com and i have an AD server at ad.shalala.com and an IIS server at anothersite.shalala.com will I need 3 certificates or just one for the shalala.com ..</p> <p>Sorry ang baduy ng example ko wala akong maisip na matinong domain name. Haha.</p> http://nullpointer.ph/questions/875/on-using-interface-as-return-type On using INterface as return type rafnex 2010-02-24T01:45:55Z 2010-03-02T04:07:03Z <p>I was just wondering if there's a significant performance difference when using interface as the return type as compared to using the derived class.</p> <pre><code>public static IMessageTemplate GetTemplate(string templateId, IValidParameters parameters) {...} </code></pre> <p>vs.</p> <pre><code>public static MessageTemplateClass GetTemplate(string templateId, IValidParameters parameters) {...} </code></pre> <p>or</p> <pre><code>public static IEnumerable&lt;IMessageTemplate&gt; GetTemplates(eTemplateType ttype){...} </code></pre> <p>vs.</p> <pre><code>public static IEnumerable&lt;MessageTemplateClass&gt; GetTemplates(eTemplateType ttype){...} </code></pre> <p>My hunch is that using interface is much lightweight but I'm not sure what happens underneath. Also, when is it appropriate to use interface as return type?</p> http://nullpointer.ph/questions/750/how-to-install-php5-on-snow-leopard How to install PHP5 on Snow Leopard katz 2010-01-28T00:06:33Z 2010-03-01T07:32:02Z <p>Hello I was a happy Ubuntu Linux user until I decided to get a Mac because of a dying laptop. It turned out Snow Leopard isn't as great as it's advertised. Anyway it's ok because I found open source solutions like Adium, Open Office, Songbird as iTunes and last.fm don't play well together. </p> <p>I have this same question over Stackoverflow and they told me to use MAMP. Although MAMP would work for basic CMS development, I would prefer a better solution. </p> <p>The thing is I have MySQL, Ruby (RVM), Apache2 working except for PHP5. </p> <p>See my post: <a href="http://stackoverflow.com/questions/2146945/php5-for-snow-leopard-is-not-working-even-with-the-module-enabled" rel="nofollow">http://stackoverflow.com/questions/2146945/php5-for-snow-leopard-is-not-working-even-with-the-module-enabled</a></p> <p>So this doesn't work: LoadModule php5_module libexec/apache2/libphp5.so</p> <p>because when I browser to any php file, it reads PHP as text.</p> <p>I also tried installing Apache2 using macports and it didn't work.</p> <p><a href="http://y-draw.com/blog/articles/2009/11/30/install-apache2-and-php5-on-mac-os-x-snow-leopard/" rel="nofollow">http://y-draw.com/blog/articles/2009/11/30/install-apache2-and-php5-on-mac-os-x-snow-leopard/</a></p> <pre><code>Katherine-Pes-iMac:~ katz$ sudo port install apache2 ---&gt; Computing dependencies for apache2 Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean zlib' or specify the force option (-f). Error: The following dependencies failed to build: openssl zlib pcre bzip2 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. </code></pre> <p>I also tried this:</p> <pre><code>sh-3.2# port -d install zlib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: OS Platform: darwin DEBUG: OS Version: 10.1.2 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port zlib. DEBUG: Requested variant i386 is not provided by port zlib. DEBUG: Requested variant macosx is not provided by port zlib. Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean zlib' or specify the force option (-f). Error: Status 1 encountered during processing. To report a bug, see &lt;http://guide.macports.org/#project.tickets&gt; </code></pre> <p>Tsk tsk. Nothing working.</p> <p>If there's anyone who PHP5 working and could advice me regarding setup on Leopard, it would be a great help.</p> http://nullpointer.ph/questions/845/what-are-the-best-books-resources-for-android-development What are the best books/resources for Android development? paul_sns 2010-02-19T10:46:35Z 2010-02-26T01:27:17Z <p>I saw from Manning site that the MEAP for Unlocking Android 2nd edition + Print is on sale (today only) for 25 USD. This also includes an ebook copy of the previous version. Would you recommend that book for beginning Android devs? If not, which resources do you find most useful?</p> <p>Thanks.</p> http://nullpointer.ph/questions/302/how-do-i-show-a-sum-of-a-fields-value-in-the-display-view-in-simple-groupware How do I show a sum of a Field's value in the Display view in Simple Groupware? Nikki Erwin Ramirez 2009-10-16T03:02:54Z 2010-02-26T00:13:26Z <p>My requirement is to add a numeric field to a module, and create a view to show a summary of that new field. Is this possible?</p> <p>Specific example: I add a field "Hours Spent" to Tasks. Can I create a view with "Total Hours Spent" for all Tasks under a Project?</p> http://nullpointer.ph/questions/194/is-it-possible-to-create-a-simple-workflow-for-tasks-in-simple-groupware Is it possible to create a simple workflow for Tasks in Simple Groupware? Nikki Erwin Ramirez 2009-10-13T03:54:29Z 2010-02-26T00:09:11Z <p>Out of the box, a Task can be set to any status, regardless of the current status.</p> <p>The objective is to have a predetermined flow similar to:</p> <pre><code>New -&gt; Assigned -&gt; Fixed -&gt; Tested -&gt; Closed ^ | | | +-------------------+ </code></pre> http://nullpointer.ph/questions/743/what-is-the-maximum-file-size-a-php-upload-facility-can-handle What is the MAXIMUM file size a PHP upload facility can handle? solowarrior 2010-01-27T03:15:18Z 2010-02-25T16:15:03Z <p><strong>Background:</strong> the application (running in Apache/PHP) already has a file upload facility. However, the allowed file size is just 2MB. The user is uploading an 'important' file but the size is beyond 2MB.</p> <p>Sure the file upload facility can be increased to accommodate the need. Nevertheless,</p> <p>(1) Up to how much MB does a regular HTML/PHP file upload can handle? (2) Can it be increased further? Up to how much? (3) What are the impacts of increasing the file size to the server's performance, if there are any? if the server is on the cloud, will these impacts be still noticeable?</p> <p>Many thanks!</p> http://nullpointer.ph/questions/758/simple-php-rss-parser Simple PHP RSS Parser Pogz Ortile 2010-01-30T14:10:52Z 2010-02-25T16:14:23Z <p>Im currently doing a small module for a page which needs the latest feed from both a blogger page and a twitter page. I only want to add the latest feeds in a small area of the page and im looking at modifying the code to add 'click here to read more..' if ever the blog entries are long. </p> <p>long story short, i need an rss parser for php and im eyeing on magpie, simplepie, lastrss, rssphp. I would like to ask personal experiences in using these and what would be your recommendation. </p> http://nullpointer.ph/questions/809/how-can-i-setup-a-web-application-solution-that-sends-close-to-real-time-email How can I setup a web application solution that sends (close to) real-time email notifications? solowarrior 2010-02-10T08:02:32Z 2010-02-25T16:11:51Z <p>Objective: Real-time sending of email notifications</p> <p>Current Problem: The third party email hosting service restricts an email account to sending 5000 emails only on a daily basis. The web application hosted on a different server (running Linux) of another third party hosting service provider. Build up of notification queue outruns the 5K daily limit, i.e, the number of "to-be-emailed" exceeds the restriction.</p> <p>Any suggestions? Thanks!</p>