<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux and Open Source Blog</title>
	<atom:link href="http://linewbie.com/feed" rel="self" type="application/rss+xml" />
	<link>http://linewbie.com</link>
	<description>News, Reviews, Thoughts and Trends in Linux and Open Source World.</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:49:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WebSockets in HTML5 scaling with connections</title>
		<link>http://linewbie.com/2012/01/websockets-in-html5-scaling-with-connections.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=websockets-in-html5-scaling-with-connections</link>
		<comments>http://linewbie.com/2012/01/websockets-in-html5-scaling-with-connections.html#comments</comments>
		<pubDate>Fri, 06 Jan 2012 19:41:17 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=547</guid>
		<description><![CDATA[Generally in most ways WebSockets will likely scale a lot better than AJAX/HTML asks for. However, it doesn&#8217;t mean WebSockets can be a replacement for many uses regarding AJAX/HTML. Each TCP connection alone consumes almost no in phrases server sources. &#8230; <a href="http://linewbie.com/2012/01/websockets-in-html5-scaling-with-connections.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Generally in most ways WebSockets will likely scale a lot better than AJAX/HTML asks for. However, it doesn&#8217;t mean WebSockets can be a replacement for many uses regarding AJAX/HTML.</p>
<p>Each TCP connection alone consumes almost no in phrases server sources. Often creating the connection may be expensive yet maintaining a great idle connection it really is almost totally free. The limitation is the maximum amount ports which can be open simultaneously which can be often be restricted to 64512 (65536 : 1024). Ever experimented with configuring any web server to guide 64000 simultaneous AJAX consumers? Change people clients directly into WebSockets clients plus it just could be feasible.<br />
<span id="more-547"></span><br />
HTTP contacts, while they don&#8217;t really consume slot numbers for long periods, are higher priced in almost every other approach:</p>
<p>Each HTTP relationship carries plenty of baggage that is not used usually: cookies, articles type, conetent size, user-agent, server identification, date, last-modified, and so forth. Once any WebSockets connection is established, only the info required from the application has to be sent forward and backward.</p>
<p>Typically, HTTP computers are designed to log the commencement and completion of each HTTP request taking on disk and also CPU moment. It can be standard to be able to log the commencement and achievement of WebSockets info, but even though the WebSockets relationship doing duplex exchange there will not be any further logging expense (except from the application/service when it is designed to take action).</p>
<p>Generally, interactive software that utilize AJAX both continuously poll or perhaps use some type of long-poll device. WebSockets can be a much clean (and also lower useful resource) means of doing an even more event&#8217;d model the location where the server and also client notify the other person when they&#8217;ve got something to be able to report on the existing relationship.</p>
<p>Most with the popular net servers inside production use a pool regarding processes (or perhaps threads) regarding handling HTTP asks for. As strain increases how big is the pool will probably be increased due to the fact each process/thread addresses one HTTP request at the same time. Each further process/thread makes use of more memory space and producing new processes/threads is a lot more pricey than producing new plug connections (which usually those process/threads still want to do). A lot of the popular WebSockets server frameworks are getting the event&#8217;d course which will scale and also perform far better.</p>
<p>The primary good thing about WebSockets will probably be lower latency contacts for interactive net applications. It&#8217;s going to scale far better and take in less server sources than HTTP AJAX/long-poll (supposing the application/server is made properly), but IMO reduced latency could be the primary good thing about WebSockets as it will permit new lessons of net applications which can be not possible with all the current expense and latency regarding AJAX/long-poll.</p>
<p>After the WebSockets common becomes a lot more finalized and contains broader help, it is likely to make sense to utilize it for some new interactive net applications that want to talk frequently with all the server. For present interactive net applications it&#8217;s going to really be determined by how well the existing AJAX/long-poll product is functioning. The energy to convert will probably be non-trivial so most of the time the expense just will not be worth the power.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2012/01/websockets-in-html5-scaling-with-connections.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows vs Linux VPS Hosting cost and benefit analysis</title>
		<link>http://linewbie.com/2011/12/windows-vs-linux-vps-hosting-cost-and-benefit-analysis.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-vs-linux-vps-hosting-cost-and-benefit-analysis</link>
		<comments>http://linewbie.com/2011/12/windows-vs-linux-vps-hosting-cost-and-benefit-analysis.html#comments</comments>
		<pubDate>Tue, 20 Dec 2011 19:50:43 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[general topics]]></category>
		<category><![CDATA[internet/web]]></category>
		<category><![CDATA[quotes & thoughts]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=540</guid>
		<description><![CDATA[This must be just about the most famous inquiries in VPS (Electronic Private Server) internet hosting sector. It is almost always inevitably questioned by individuals who have only recently encounter the expression VPS. It will be justified from the various &#8230; <a href="http://linewbie.com/2011/12/windows-vs-linux-vps-hosting-cost-and-benefit-analysis.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This must be just about the most famous inquiries in VPS (Electronic Private Server) internet hosting sector. It is almost always inevitably questioned by individuals who have only recently encounter the expression VPS. It will be justified from the various sites which display the many types regarding OS program based bundles but attention little concerning providing information about what that really results in from any customer’s viewpoint. To start out with, from ab muscles outset, the key change in those two platforms could be the kernel form of which occurs in the particular Linux methods.</p>
<p>Linux is simply an elaboration with the UNIX kernel with additional added characteristics and applications constructed into it. Linux provides various distributions inside of it which can be built simply by modifying certain areas of the foundation version regarding Linux. One other advantage is the file system employed by Linux will not run files with all the extension “. exe”. This makes the job of trojan protection very easy as many viruses are with the. exe file format. Also the device is robust and in addition offers any Command Series Interface which can be very user-friendly and successful. And to be able to top all of it “CPanel “the world’s most user-friendly hosting handle panel operates only inside Linux.<br />
<span id="more-540"></span><br />
Unlike the particular Free option of Linux centered applications, windows applets as well as the main OPERATING-SYSTEM itself are usually proprietary thus the expense of operation is normally higher. Also the many modules which can make it an easy task to grab everything in any database (just about the most necessary equipment in hosting) for instance MSSQL and also Access are typical proprietary. But Windows is most beneficial used together with other house windows based application that offers user friendliness. Another main good thing about the House windows Os is which it offers almost all tasks and also applets in a complete toolkit. But ultimately the decision of the particular Os foundation dpends around the user’s best decision.</p>
<p>Microsoft windows VPS hosting space and Linux VPS hosting space are both which is available from many web hosting service providers who would like to provide shoppers with choice on the subject of considering VPS server web host as they may require either a Windows structured hosting alternative or Linux structured hosting solution with regards to requirements for being met correctly; Windows VPS hosting space and Linux VPS hosting space are both aimed towards different audiences for the reason that audience requesting Windows web hosting service services are going to be very much different to the audience pots Linux web hosting service services. As Microsoft windows and Linux usually are both distinctive operating programs with Linux as a possible open source computer that is unengaged to use in addition to Windows some sort of commercial computer, the charges and works by using of Microsoft windows and Linux VPS hosting space are both distinctive; Windows VPS hosting space are focused specifically on users exactly who require Windows web hosting service services like Windows web developers, whilst Linux VPS servers are definitely more appropriate intended for users exactly who don’t include demanding prerequisites or employ a low provide VPS server hosting to be a Linux VPS server is usually going for being cheaper compared to a Windows VPS server on the same specification style and color . situation.</p>
<p>Windows VPS servers are while using Hyper-V VPS web host platform as a general rule web web host providers have at the moment moved to the site offering Microsoft windows Server 08 VPS Server web host services and because of this they will guarantee trusted Windows VPS server web host services to individuals who require them by far the most; Linux VPS servers are typically hosted with nodes managing the Virtuozzo VPS software as this can be the most favorite option for web hosting service providers who would like to offer trusted Linux VPS hosting space, and the highlights of the Virtuozzo VPS daemon include helped for making it loved by both consumers together with web web host providers. As having most web hosting service services it is vital for someone to compare the various different Microsoft windows VPS server web host services in addition to Linux VPS server web host services that you can get so as to make a thought out decision on what web web host package you&#8217;ll use, but likewise so guess what happens is which is available from other web hosting service providers; many web hosting service providers will likely be offering unique VPS server web host packages having different learning resource assignments on different selling price points, and and so by doing all of your research you must be able to find some sort of VPS server web host service which often meets your needs are and is within your budget very simply.</p>
<p>What can certainly a Microsoft windows VPS server deliver me spanning a Linux VPS server?</p>
<p>Windows VPS server web host services are seen as a form connected with specialist web hosting service for some it&#8217;s the same important that you be sure that a Microsoft windows VPS server would be the right sort of VPS server hosting available for you before paying for one, mainly as a Windows VPS server might cost regarding green Linux VPS server so that you don’t would like to purchase some sort of Windows VPS server and find that some sort of Linux VPS server of any similar specification are often more than enough for you as this Linux variant might cost people less. Substantially less than using some sort of Windows VPS server spanning a Linux VPS server would be the support intended for classic ASP and ASP. NET internet pages and scripts that is certainly offered, and this can be incredibly important for many people as the websites would possibly not function the right way on another platform if they&#8217;ve been created in addition to developed applying either typical ASP or maybe ASP. ONLINE; although some web hosting service providers will probably advertise of which their Linux VPS server web host services can be employed for this hosting connected with classic ASP and ASP. NET based internet pages, the support which is available from the applications used to do so can be quite limited in addition to won’t provide you the similar functionality that your Windows web hosting service environment typically offer you. Remote Computer access is usually another element that Microsoft windows VPS servers typically offer over Linux VPS servers which enables it to give Microsoft windows VPS directors a head commence to managing the VPS hosting space over Linux VPS server administrators concerning some having a GUI rather then a get line structured interface it doesn’t assist you to interface while using the server approximately command brand based interfaces like SSH complete; all Microsoft windows VPS servers are offered with Out of the way Desktop admittance as this can be a feature that is certainly standard having Windows dedicated web hosting service services, although it is advisable to be sure that you know what your are performing before coping with your server by using Remote Computer. A Microsoft windows VPS server are likewise able to present you service for Microsoft SQL Server in addition to Microsoft Admittance databases and this can be of benefit to your account for anyone who is looking to help host a classic ASP or maybe ASP. NET structured website as the likelihood is that the site itself works by using a data bank backend that&#8217;s either going as a Microsoft SQL Server database or maybe a Microsoft Admittance database; including classic ASP and ASP. NET, both data bank systems are developed by means of Microsoft so databases intended using either will function the right way in Windows web hosting service environments. Summing up, a Microsoft windows VPS server typically offer you the subsequent over some sort of Linux VPS server:</p>
<p>Service for typical ASP in addition to ASP. NET – this can be the one main factor which leads some people to thinking of Windows web hosting service services almost like they employ a website that was developed applying classic ASP or ASP. NET in addition to require hosting for doing this then the only decision for web hosting service are going to be a Windows web hosting service service, and because of this if they need a VPS web host server they&#8217;ll likely can only think about a Windows VPS server – seeing that both scripting frameworks are developed by means of Microsoft they&#8217;re going to only functionality correctly with Windows web hosting service servers, and even though some web hosting service providers claim that their Linux hosting space can service scripts made out of either you&#8217;ll discover that this support which is available from the software used to do so isn’t seeing that effective as having a proper Windows web hosting service environment<br />
Remote Computer Access – it is one factor that is certainly seen by means of many for advantage for freshies over Linux VPS server web host as Out of the way Desktop provide you with direct GUI having access to your Microsoft windows VPS server which will make server managing easier for most, and seeing that Remote Computer access is usually a standard element with many Windows specific hosting services you&#8217;ll discover it readily available with almost any Windows VPS server you purchase – a number of people see Linux VPS hosting space as hard to regulate since the one way for you to really take care of a Linux VPS server adequately is by using SSH which often a word based interface therefore you obviously need to learn the important commands if you want to keep ones Linux VPS server with good obtain, but whenever you can manage ones Windows VPS server by using Remote Desktop you may be sure what your are performing<br />
Support intended for Microsoft SQL Server in addition to Microsoft Admittance – Windows web hosting service services are classified as the only web host services to use if your blog works by using either some sort of Microsoft SQL Server database or maybe a Micrososft Admittance database seeing that like typical ASP in addition to ASP. ONLINE, these data bank systems of which been put together by Microsoft so databases dependant on them will function the right way in Windows web hosting service environments – within a VPS web host environment you will probably find some cons to applying Microsoft SQL Server due to the fact unless you need to pay for your Standard or maybe Enterprise version license, that you are stuck when using the free Exhibit version that&#8217;s offered by means of Microsoft, or alternatively your could employ Microsoft Admittance although it is nowhere next to as scalable seeing that Microsoft SQL Server.</p>
<p>A Microsoft windows VPS server is able to offer people many attributes that Linux VPS server web host can’t provide you, and it truly is generally most of these features which often bring quite a few users to help using Microsoft windows VPS server hosting to be a Linux VPS server isn’t competent to fulfill the requirements adequately. Windows VPS hosting space cost considerably more than Linux VPS servers so you have to check that your Linux VPS server won’t have the capacity to fulfill your family needs before choosing a Windows VPS server.</p>
<p>So what can a Linux VPS server deliver me spanning a Windows VPS server?</p>
<p>For some sort of user having basic desires but exactly who still provides the need for just a basic VPS server a Linux VPS server are going to be more in comparison with sufficient with regards to needs, but for many of us a Linux VPS server are going to be more beneficial compared to a Windows VPS server regardless as it may be more cost-effective in both the short period and extended and normally a Microsoft windows VPS server won’t have the capacity to meet some sort of user’s desires anyway. The key thing that your Linux VPS server is able to offer you spanning a Windows VPS server is gloomier web web host costs and for most the money necessary for Windows web hosting service are often very off-putting, but is it doesn&#8217;t same having any sort of web web host as you&#8217;ll discover that you have got to pay reasonably limited if you want to go for just a Windows type of a variety of web hosting rather then a Linux type; Windows web hosting service services are usually expensive in comparison with their Linux equivalent normally because that web hosting service providers ought to factor the money necessary for the Windows computer into their web hosting service packages. A Linux VPS server will also be able to present you superior reliability compared to a Windows VPS server because that Linux servers is usually optimized considerably more than Microsoft windows servers so they can potentially be meant to be far more reliable in comparison with Windows VPS hosting space, and when buying a dedicated web hosting service service you&#8217;ll see reliability as being very significant; from practical knowledge anyone must be able to tell people that Linux web hosting service services are definitely more reliable in comparison with Windows web hosting service services, but right at the end of manufactured it is usually ultimately because of personal judgment. A Linux VPS server will offer people direct SSH having access to your own web hosting service environment and this can be beneficial into a users due to the fact unlike Out of the way Desktop, SSH access can provide proper interaction with your own VPS server and will let you accomplish a number of tasks much faster which boosts your production; although you ought to be aware on the various commands if you want to manage ones Linux VPS server by using SSH, upon having mastered this you&#8217;ll discover SSH as a very effective strategy for managing ones server when compared with web web host control systems. In summation, you can get that some sort of Linux VPS server typically offer you the subsequent over some sort of Windows VPS server:</p>
<p>Lower prices – seeing that Linux is usually a free managing sysem given it is start source you might often know that a Linux VPS server might cost you far less than some sort of Windows VPS server of any similar specification and this also makes Linux VPS server hosting suited to users exactly who require the facility of VPS server web host services although who would possibly not have an incredible budget and if you think that almost all Linux VPS servers is usually picked in place fairly quickly and cheaply they complete offer good good value – VPS server hosting is usually going as a more expensive sort of web web host, but for anyone who is looking just to save money available as one area you may cut back within the operating system that you&#8217;ll be using in addition to consider Linux rather then Windows since you won’t ought to pay almost any licensing expenses, and you&#8217;ll discover that almost all applications intended for Linux can also be available widely<br />
Reliability &#8212; Linux web hosting service services are located by many as being more trusted than Windows web hosting service services along with the same is pertinent for Linux VPS hosting space over Microsoft windows VPS hosting space since on account of the best way the Windows computer handles messages a Microsoft windows server is usually never going so that you can offer people 100% uptime spanning a prolonged timeframe whereas some sort of Linux VPS server needs no problem accomplishing this – Linux servers is usually heavily optimized seeing that can this applications installed about them to work with less process resources, and if you may make it so that your server is usually using fewer system methods overall you may be sure that you&#8217;ve got something to help fall returning on but if your VPS server transpires to suffer a load spike<br />
SSH admittance – many argue of which SSH access means that you can interact with all your server in excess of Remote Desktop having access to a Microsoft windows VPS server does in order to an extent and also since that you are only having a text structured interface so it is a lot easier to obtain certain tasks once you know what your are performing, but for most using SSH are often very confusing in the event it isn’t defined – SSH admittance is an issue that is typical with almost all Linux VPS server web host services and the point that it relies on a text structured interface means that you should be mindful of the a variety of commands, but as soon as used the right way SSH are often very effective.</p>
<p>A Linux VPS server is almost certainly going to be made for someone that has a tight provide web web host services but naturally it is significant for you to be sure that you pick the best form of web hosting service back, and if you find of which Linux web hosting service isn’t available for you then you have to make sure that you don’t skimp with your requirements and purchase a Microsoft windows VPS server if you locate that this can be the only way in which VPS server hosting is able to meet your needs are.</p>
<p>In realization, Windows VPS hosting space and Linux VPS hosting space both employ a lot to present their own audiences and you have to remember of which both are aimed towards different promotes since individuals who require Windows web hosting service services will have requirements that are often majorly different to those exactly who require Linux web hosting service services. When thinking of dedicated web hosting service back it is usually recommended that you at least look at VPS server hosting because you might find some sort of Windows VPS server or maybe Linux VPS server can satisfy your desires more effectively compared to a dedicated server, and may of course help you some dollars.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/windows-vs-linux-vps-hosting-cost-and-benefit-analysis.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Puppy Linux Review for 2012</title>
		<link>http://linewbie.com/2011/12/puppy-linux-review-for-2012.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=puppy-linux-review-for-2012</link>
		<comments>http://linewbie.com/2011/12/puppy-linux-review-for-2012.html#comments</comments>
		<pubDate>Mon, 19 Dec 2011 15:14:58 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[linux/unix/os distros]]></category>
		<category><![CDATA[other distros]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=534</guid>
		<description><![CDATA[Puppy Linux is usually a tiny distribution that is certainly geared towards more aged PCs and providing them with a second lifetime. Puppy Linux is usually run from some sort of Live CD or maybe USB (intended for faster performance) &#8230; <a href="http://linewbie.com/2011/12/puppy-linux-review-for-2012.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Puppy Linux is usually a tiny distribution that is certainly geared towards more aged PCs and providing them with a second lifetime. Puppy Linux is usually run from some sort of Live CD or maybe USB (intended for faster performance) or merely install it onto your system.</p>
<p>The software programs which come part of Puppy Linux are people that are specifically picked out to make certain resources are definitely not wasted while giving a productive unit. The programs which might be part of Puppy you won&#8217;t need to usually find using a distribution such seeing that Linux Mint or Ubuntu which might be geared towards more sophisticated systems but it does not mean they usually are any less practical.<br />
<span id="more-534"></span><br />
There is programs in Puppy to manufacture a fully functional process, SeaMonkey which is usually a browser and email client and even more, which is centric by Mozilla (this makers of Safari and Thunderbird), for office productivity you could have AbiWord that is a light weight doc creater, GNUmeric on your spreadsheet software. Pburn is the best software for trimming, burning and copying media which enables it to also burn to help BluRay discs that&#8217;s not often you should see a program built into a lightweight supply.</p>
<p>You can mount and remove other programs with your system that you find that you do not use to regain space. Puppy Package Administrator (PPM) is usually a pretty straight-forward application giving you options looking for programs you would like to install on your digestive system. Users who utilized to more current desktops might complain a tad about lacking eye-candy when some sort of package is downloading the way it is opening some sort of terminal screen while using the download progress. The moment installed, PPM will you should definitely have all dependencies in order that the program running. Installing Opera cell phone browser was easy in addition to PPM even added it towards correct category, World-wide-web, for this event.</p>
<p><strong>Conclusion</strong></p>
<p>Overall Puppy is usually a quite responsive supply that tasks per se with being lean and as well specializes in a space which can turn an existing PC which is usually too slow running the latest type of Windows in a machine which might be easily used to browse the Internet, write emails and many more.</p>
<p>The looks might take some those who find themselves used to flamboyant desktops aback, but Puppy’s esthetics are excellent overall, even if it doesn’t appear like Linux Mint, bear in mind Puppy is designed for low resource programs.</p>
<p>I think Puppy Linux is excellent overall, my slight complaint would be the PPM which needs somewhat more polishing, the whole terminal window to indicate that the method is downloading is a small amount dated and just which has a simple pop in place progress bar could well be nicer and far more aesthetically pleasing.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/puppy-linux-review-for-2012.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Password Protect Redmine using mod_perl, Apache and Redmine.pm &#8211; HOWTO</title>
		<link>http://linewbie.com/2011/12/how-to-password-protect-redmine-with-apache-mod_perl-and-redmine-pm.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-password-protect-redmine-with-apache-mod_perl-and-redmine-pm</link>
		<comments>http://linewbie.com/2011/12/how-to-password-protect-redmine-with-apache-mod_perl-and-redmine-pm.html#comments</comments>
		<pubDate>Sun, 18 Dec 2011 16:36:35 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=527</guid>
		<description><![CDATA[Currently I was required to password-protect some sort of Redmine setting up. I’ve commonly used mod_auth_mysql intended for similar initiatives, but Redmine relies on a salted code format that’s incompatible having mod_auth_mysql. And so, I taken on Apache/Perl authentication, a &#8230; <a href="http://linewbie.com/2011/12/how-to-password-protect-redmine-with-apache-mod_perl-and-redmine-pm.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Currently I was required to password-protect some sort of Redmine setting up. I’ve commonly used mod_auth_mysql intended for similar initiatives, but Redmine relies on a salted code format that’s incompatible having mod_auth_mysql. And so, I taken on Apache/Perl authentication, a first in my opinion (When i rarely hint Perl) and could make the item work.<br />
<span id="more-527"></span></p>
<p>1.Install mod_perl, and the DBI, MySQL, and Digest (SHA1) Perl modules.</p>
<pre class="brush: bash; title: ; notranslate">$ apt-get install libapache-dbi-perl libapache2-mod-perl2 libdbd-</pre>
<p>2. Copy Redmine.pm to the relevant Perl location. </p>
<pre class="brush: bash; title: ; notranslate">$ cd /path/to/redmine
$ mkdir -p /usr/lib/perl5/Apache/Authn
$ cp extra/svn/Redmine.pm /usr/lib/perl5/Apache/Authn/</pre>
<p>3. Maybe I’m not using Redmine’s projects/members/permissions right, but I had to patch Redmine.pm to get it to function for me. I simplified the SQL statement used to auth a user. There’s no sense of permissions; it’s pretty much a yes/no for authed users. </p>
<pre class="brush: bash; title: ; notranslate">
--- Redmine.pm  2011-11-12 17:33:10.000000000 -0700
+++ Redmine.richardkmiller.pm   2011-11-12 17:37:26.000000000 -0700
@@ -148,16 +148,11 @@
   my ($self, $parms, $arg) = @_;
   $self-&gt;{RedmineDSN} = $arg;
   my $query = &quot;SELECT
-                 hashed_password, salt, auth_source_id, permissions
-              FROM members, projects, users, roles, member_roles
+                 hashed_password, salt
+              FROM users
               WHERE
-                projects.id=members.project_id
-                AND member_roles.member_id=members.id
-                AND users.id=members.user_id
-                AND roles.id=member_roles.role_id
-                AND users.status=1
-                AND login=?
-                AND identifier=? &quot;;
+                    users.status=1
+                AND login=?&quot;;
   $self-&gt;{RedmineQuery} = trim($query);
 }

@@ -336,11 +331,12 @@
   }
   my $query = $cfg-&gt;{RedmineQuery};
   my $sth = $dbh-&gt;prepare($query);
-  $sth-&gt;execute($redmine_user, $project_id);
+  $sth-&gt;execute($redmine_user);

   my $ret;
-  while (my ($hashed_password, $salt, $auth_source_id, $permissions) = $sth-&gt;fetchrow_array) {
-
+  while (my ($hashed_password, $salt) = $sth-&gt;fetchrow_array) {
+      my $permissions = &quot;:commit_access&quot;;
+      my $auth_source_id = 0;
       unless ($auth_source_id) {
                my $method = $r-&gt;method;
           my $salted_password = Digest::SHA1::sha1_hex($salt.$pass_digest);
</pre>
<p>4. Configure and restart Apache. </p>
<pre class="brush: bash; title: ; notranslate">
&lt;virtualhost *:80&gt;
    ServerName example.com
    DocumentRoot &quot;/var/www/sites/example.com/public&quot;
    RailsEnv production

    PerlLoadModule Apache::Authn::Redmine

    &lt;directory &quot;/var/www/sites/example.com/public&quot;&gt;
        AuthType basic
        AuthName &quot;Private Area&quot;
        Require valid-user
        PerlAccessHandler Apache::Authn::Redmine::access_handler
        PerlAuthenHandler Apache::Authn::Redmine::authen_handler
        RedmineDSN &quot;DBI:mysql:database=my_database;host=localhost&quot;
        RedmineDbUser my_db_user
        RedmineDbPass my_db_password
    &lt;/directory&gt;
&lt;/virtualhost&gt;
</pre>
<p>Also note that, I’m running Ubuntu 11.10 (oneiric), Apache 2.2, MySQL 5.1, and Redmine 1.2.2.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/how-to-password-protect-redmine-with-apache-mod_perl-and-redmine-pm.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Dual Boot Windows 8 and Linux Mint on the Same PC &#8211; Howto</title>
		<link>http://linewbie.com/2011/12/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc-howto.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc-howto</link>
		<comments>http://linewbie.com/2011/12/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc-howto.html#comments</comments>
		<pubDate>Sat, 17 Dec 2011 17:17:51 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=525</guid>
		<description><![CDATA[In the event you’re an serious operating process geek, you may need to test available both Microsoft windows 8 in addition to Linux Mint. Here’s learn to get the very best of both equally by dual-booting Linux Mint with all &#8230; <a href="http://linewbie.com/2011/12/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc-howto.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the event you’re an serious operating process geek, you may need to test available both Microsoft windows 8 in addition to Linux Mint. Here’s learn to get the very best of both equally by dual-booting Linux Mint with all your Windows 8 setting up.</p>
<p>Before most of us start there may be a few things that you&#8217;ll need:</p>
<p>10GB connected with free space with your drive<br />
This Linux Mint DISC, from in this article (x86) or maybe here (x64), burnt into a DVD.<br />
About half-hour of time to yourself<br />
<span id="more-525"></span><br />
Note: There are a variety of ways to make this happen, and since there is no just one correct strategy to dual booting Microsoft windows and Linux, we&#8217;re going to take simplest way to help those fresh to Linux, whilst getting the full experience of installing some sort of Linux OS IN THIS HANDSET.</p>
<p>So why don&#8217;t we get started–since i am dual-booting Mint together your witout a doubt existing Microsoft windows 8 setting up, the first thing we should do is usually boot in place Windows in addition to create an empty partition with the Mint setting up. The simplest way to make this happen is to help press this Windows + 3rd r key combo and form diskmgmt. msc into your run pack and attack enter, and you could try to find Disk Management from the Start Menu likewise.</p>
<p>When this Disk Managing MMC unit opens in place right simply click your get containing Microsoft windows 8 and select Shrink Volume… on the context food list.</p>
<p>You will probably now ought to enter the quantity of megabytes you wish to shrink this partition by means of, we recommend at least 10GB. Remember there is 1024MB within a gigabyte, so multiply the volume of gigabytes that you&#8217;d like your completely new partition for being by 1024.</p>
<p>Now embed your Mint DISC and boot your computer or laptop from this DVD get, this will probably normally call for a pushing of any key for the POST screen–every motherboard takes a different approach but it will eventually normally possibly be F11 or maybe F12.</p>
<p>This DVD really should automatically footwear into it is Live manner, however when you bump an essential and usually are prompted simply want to start the item.</p>
<p>Once booted, you&#8217;ll be ready the setting up by double simply clicking on the Mount Linux Mint shortcut within the desktop.</p>
<p>You can certainly click go on until you&#8217;re free to the setting up type portion, here you have got to change radio stations button towards something more option.</p>
<p>Upon having clicked within the continue button you might now should pick the place to mount Mint, scroll down soon you see some sort of partition termed “free space”.</p>
<p>Double simply click it to bring up this format food list, here accept each of the defaults except the bracket point, where it is best to enter 1 forward decrease, then press ok.</p>
<p>It&#8217;s simple to click within the install at this point button.</p>
<p>A comfortable touch towards installation practice is so it starts asking only a few configuration settings while OS is usually busy the installation of.</p>
<p>You must reboot your computer or laptop when this installation is finished, as you will observe we are now able to easily opt for our OS IN THIS HANDSET at start-up.</p>
<p>Note: Grub picks up our Microsoft windows 8 setting up, the entry in the bottoom, as Microsoft windows Recovery Setting, this will be your Microsoft windows 8 installation along with the display name can potentially be modified by picking out it on the menu in addition to hitting this “e” critical, this is for state-of-the-art users.</p>
<p>Ones default OS IN THIS HANDSET will at this point be Linux Mint, but you have the number of switching here we are at Windows 8 on the Grub footwear menu whenever they want.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc-howto.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Install Native Spotify Linux Client In Ubuntu &#8211; HOWTO</title>
		<link>http://linewbie.com/2011/12/how-to-install-native-spotify-linux-client-in-ubuntu-howto.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-native-spotify-linux-client-in-ubuntu-howto</link>
		<comments>http://linewbie.com/2011/12/how-to-install-native-spotify-linux-client-in-ubuntu-howto.html#comments</comments>
		<pubDate>Thu, 15 Dec 2011 20:12:57 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[multimedia]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=523</guid>
		<description><![CDATA[Spotify is a music streaming service that provide a client which in turn supports Microsoft Glass windows, Mac OS A, Linux as well as cellular phones such as iOS, Android mobile phone, BlackBerry, Windows Portable, Windows Phone, S60 (Symbian), webOS &#8230; <a href="http://linewbie.com/2011/12/how-to-install-native-spotify-linux-client-in-ubuntu-howto.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Spotify is a music streaming service that provide a client which in turn supports Microsoft Glass windows, Mac OS A, Linux as well as cellular phones such as iOS, Android mobile phone, BlackBerry, Windows Portable, Windows Phone, S60 (Symbian), webOS plus much more. The service is merely available in a number of countries for currently, such as US, UK, Spain, Sweden and more &#8211; investigate Spotify website have a look at.</p>
<p>The (standard) native Spotify Linux buyer got support totally free accounts recently. This is one way to install the idea on Ubuntu along with fix some bugs including not having the capacity to play local tunes in Ubuntu 11. 10 Oneiric Ocelot.</p>
<p>You should be aware that Spotify for Linux is often a preview release and is also currently unsupported therefore you may encounter troubles!<br />
<span id="more-523"></span></p>
<p>Install the ancient Linux Spotify buyer under Ubuntu</p>
<p>1. Add the Spotify repository (are going to be used to deploy Spotify and stay up-to-date with the most up-to-date Spotify versions).</p>
<p>Launch Software Sources with all the following command:</p>
<p>gksu &#8211;desktop /usr/share/applications/software-properties-gtk.desktop /usr/bin/software-properties-gtk</p>
<p>2. Under Software Sources, switch to the &#8220;Other Software&#8221; tab, click &#8220;Add&#8221; and paste the following line:</p>
<p>deb http://repository.spotify.com stable non-free</p>
<p>As soon as you do this, two repository lines are in reality added and the next one (regarding source code) will display one when running &#8220;sudo apt-get update&#8221;, thus remove this series:</p>
<p>http://repository.spotify.com stable non-free (Source Code)</p>
<p>from the same &#8220;Other Software&#8221; tab in Software Sources. Once you&#8217;re done, close the Software Sources window.</p>
<p>3. Import the Spotify repository key and install Spotify for Linux:</p>
<p>sudo apt-key adv &#8211;keyserver keyserver.ubuntu.com &#8211;recv-keys 4E9CFF4E<br />
sudo apt-get update<br />
sudo apt-get install spotify-client-qt</p>
<p>Spotify fixes for Ubuntu</p>
<p>Spotify has been installed, but if you are using Ubuntu 11.10 Oneiric Ocelot (or newer), you can&#8217;t play local music, or at least some file types don&#8217;t work and you&#8217;ll get a sound decoder error:</p>
<p>    &#8220;There is a problem with the sound decoder. Spotify can&#8217;t play music&#8221;</p>
<p>This may even occur for some Spotify tracks.</p>
<p>To fix this, you need to install libavutil50, libavcodec52 and libavformat52 from the Ubuntu 11.04 Natty Narwhal repository. To make it easier (thanks to yugnip!), you can get all 3 from here:</p>
<p>    32bit<br />
    64bit</p>
<p>Download the .debs above in a new folder, then use the terminal to navigate to it (&#8220;cd /path/to/folder&#8221;) and run:</p>
<p>sudo dpkg -i *.deb</p>
<p>Another problem is that Spotify for Linux doesn&#8217;t show any artwork in the Ubuntu Sound Menu, at least in Ubuntu 11.10. To fix this, use the command below:</p>
<p>mkdir -p ~/.cache/indicators/sound/album-art-cache</p>
<p>Unfortunately I didn&#8217;t found a fix for the out of place &#8220;Upgrade&#8221; button.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/how-to-install-native-spotify-linux-client-in-ubuntu-howto.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source Software Cost of Ownership</title>
		<link>http://linewbie.com/2011/12/open-source-software-cost-of-ownership.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=open-source-software-cost-of-ownership</link>
		<comments>http://linewbie.com/2011/12/open-source-software-cost-of-ownership.html#comments</comments>
		<pubDate>Wed, 14 Dec 2011 15:37:13 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[quotes & thoughts]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=520</guid>
		<description><![CDATA[Last 2006, I wrote a chunk for LXer named &#8220;A Brief Record of Microsoft FUD&#8221;. This ran by way of successive attempts by simply Microsoft to dismiss GNU/Linux in numerous ways. One of your better-known was a few &#8220;Total Cost &#8230; <a href="http://linewbie.com/2011/12/open-source-software-cost-of-ownership.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last 2006, I wrote a chunk for LXer named &#8220;A Brief Record of Microsoft FUD&#8221;. This ran by way of successive attempts by simply Microsoft to dismiss GNU/Linux in numerous ways. One of your better-known was a few &#8220;Total Cost involving Ownership&#8221; (TCO) reports. By an remarkable coincidence, these most showed that &#8216;microsoft&#8217; Windows was more affordable than that purportedly cheap GNU/Linux.</p>
<p>The good news is, people soon cottoned onto the fact that these kind of studies, paid pertaining to by Microsoft, ended up pretty worthless (below, for example, is an excellent debunking of the level of FUD that had been put out throughout 2005. )#) On the other hand, one knock-on consequence of these episode is that will TCO studies alternatively fell from give preference to.<br />
<span id="more-520"></span><br />
So it&#8217;s interesting to view this new report prepared to the Cabinet Office while using title &#8220;Total Charge of Ownership involving Open Source Software&#8221;, containing been released within the liberal Open Govt Licence for general public sector information. Here&#8217;s the background:</p>
<p>This report is supposed to provide a new balanced assessment in the potential of wide open source software from the public sector determined by evidence collected from individuals who have taken this course and from members in the community of businesses offering support solutions to such general public bodies. The audience were addressing includes politicians and senior determination makers across central and city, senior IT managers plus the supplier communities.</p>
<p>And here&#8217;s what sort of information was accumulated:</p>
<p>This study ended up being structured in a pair of phases. Phase 1 ended up being based around a new pro-forma data collection instrument that&#8217;s completed and went back by 32 men and women (see Appendix H). The pro-forma was build for access just as one electronic and printable document (accessible in odt, pdf along with doc formats) along with an online variation in SurveyMonkey. The pro-forma was online for the period of 8 weeks. We received twenty-five answers online plus eight returned by electronic mail. Phase 2 was interested in in-depth interviews using 20 people throughout 14 organisations. In both phases combining public sector along with private sector enterprises were included, while using in-depth studies (cycle 2) regarding a preponderance involving public bodies.</p>
<p>Naturally, a critical issue is what on earth is meant by &#8220;TCO&#8221; within this context:</p>
<p>Our designed definition is as a result, “TCO reflects a measure of all the so-called costs of figuring out and acquiring software package, away from it. TCO reflects not simply the direct qualities of an software product (price tag, functionality, reliability) and also the relationship in the software to your organization?s broader list of technology platforms, mounted systems, skills along with strategic goals, and also available market along with community based solutions. ”</p>
<p>On that will subject, the report makes this important point:</p>
<p>In numerous relevant respects wide open source software is unique to proprietary software package (both parties would possibly agree on that will). It spots different demands in, and offers distinct benefits to, the host organisation in fact it is embedded in to some degree different software ecosystems and is also served by distinct supply chains. The question involving TCO thus becomes less devoted to what software costs by itself to purchase or higher its lifetime. TCO has got to consider questions involving how software fits in the organisation and pertains to the other means including legacy devices, technology platforms along with infrastructures, skill pieces and management fashion, as well while business strategy.</p>
<p>This shows the amount more nuanced the very idea of TCO has turn into since those &#8216;microsoft&#8217; studies, which tended to focus on more obvious troubles.</p>
<p>One of the things which emerges from the report is surely an appreciation amongst consumers of free software that this benefits go effectively beyond simple personal savings:</p>
<p>early adopters involving open source applications inside public sector quote benefits including reduced vendor lock-in jointly of their essential arguments alongside decrease costs.</p>
<p>That&#8217;s something that will I&#8217;ve always talked about when people get asked me to the key benefit involving using open origin &#8211; the freedom from now you should and to be able to take control of your respective computing destiny. It&#8217;s good to view that coming out and about here.</p>
<p>I was also very happy to see the next point raised:</p>
<p>Many interviewees spelled out that open source personal savings materialize mid to long lasting rather than inside short-term. Thus, that they report, it is imperative that you manage expectations in order that a project that will chooses open source software is just not considered a malfunction prematurely if very easy deliver excellent assistance at substantially lower cost on day one particular.</p>
<p>That&#8217;s crucially important if were to avoid testimonies of open origin migration &#8220;failures&#8221;: the projects have to be given enough time for it to prove themselves.</p>
<p>The following is another:</p>
<p>When migrating involving open source products it can be understood that costs could possibly be lower because adherence for you to open standards makes it possible for greater interoperability. The organizations leading to this study who had a long term view with their open source software package adoption gave comments on the effect that your migration costs (quit costs) ended up more favourable pertaining to open source so this had for the children become one of several deciding factors to be replaced by OSS.</p>
<p>Those migration/exit costs are seldom considered &#8211; not in the first TCO studies forced by Microsoft &#8211; but it&#8217;s actually a really important facet that companies need to make note of.</p>
<p>But in many ways essentially the most interesting and exciting give you emerge from this specific new study will be the following:</p>
<p>A facet that may be seen as beneficial but rather unexpected is what sort of culture of innovation plus much more risk taking behaviour might be promoted as open source is utilized. Open source use has, for case in point, forced local authorities for being more accepting of &#8220;mistakes&#8221; that could be identified and rectified speedily by hands-on entry to code and options. Experience of this sort of agility and empowerment could spur the change to be replaced by open source.</p>
<p>I&#8217;ve noted ahead of how deadening this nervous about failure has been in business and general public sector computing, and why uptake of open source have been so slow within this country therefore. The fascinating issue this new analyze suggests is that will once that nervous about failure is defeat enough to permit the application of free software, abdominal muscles act of deploying it may help engender a traditions that accepts faults and problems while natural.</p>
<p>Unfortunately, what stops people coming to this happy situation is a bad feedback loop that will keeps them based into both little-known software and an exaggerated nervous about failure. All greater reason for britain government to support push open origin into its office buildings to break that will vicious circle. Let&#8217;s hope this enlightening new report encourages them for doing that.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/open-source-software-cost-of-ownership.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 5 fastest boot Linux Distros for 2012</title>
		<link>http://linewbie.com/2011/12/top-5-fastest-boot-linux-distros-for-2012.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=top-5-fastest-boot-linux-distros-for-2012</link>
		<comments>http://linewbie.com/2011/12/top-5-fastest-boot-linux-distros-for-2012.html#comments</comments>
		<pubDate>Tue, 13 Dec 2011 15:32:30 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[linux/unix/os distros]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=516</guid>
		<description><![CDATA[You might not exactly have to reboot Linux usually. But when one does, these peppy distributions can have you working in just seconds. Reboots usually are rare with Linux. Normally, they’re due to your kernel update as well as an &#8230; <a href="http://linewbie.com/2011/12/top-5-fastest-boot-linux-distros-for-2012.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You might not exactly have to reboot Linux usually. But when one does, these peppy distributions can have you working in just seconds.</p>
<p>Reboots usually are rare with Linux. Normally, they’re due to your kernel update as well as an environmental matter. But regardless in the reason, it’s crucial it revisit life quickly. One issue surrounding Linux of late is boot occasion. Some distributions have got a key attribute to attract consumers. Some have perhaps succeeded in hitting that magic 10-second variety. But which distributions start fastest? Let’s look.</p>
<p>NOTE: Console logins tend not to count.</p>
<p><span id="more-516"></span></p>
<p>1: Puppy Linux</p>
<p>Puppy Linux is just not the fastest-booting distribution within this crowd, but it’s one of several fastest. And what’s unique about it distribution is who&#8217;s will boot more rapidly than your normal OS, even when it’s booting through the Live CD. Naturally, some may assert, “It’s not a new full-blown OS”. Nevertheless it is. Although many watch Puppy more as being a rescue distribution, it’s a full-blown distribution which offers nearly every tool you want to do what you want to do.</p>
<p>average boot time: 26 seconds.</p>
<p>2: Linpus Lite desktop Edition</p>
<p>Linpus Lite Desktop Edition is surely an alternative desktop COMPUTER ITSELF featuring the GNOME desktop which has a few minor changes. Linpus is not a distribution you can use and try and tweak into any kind server OS — this can be desktop only. And although Linpus is equipped with everything you may use a desktop, you can definitely find some of your applications a little expired (such while Firefox 6. 0).</p>
<p>average boot time: 21 seconds.</p>
<p>3: Arch Linux</p>
<p>Arch Linux can be another lightweight submitting that aims to experience a lightning-fast boot occasion. This distribution concentrates on simplicity, minimalism, and elegant rule — so naturally it’s gonna boast quick start times. Although out of your box, Arch isn’t your fastest booting Linux around, it can always be tweaked enough to best the top. This distribution will depend on the pacman package manager and will be easy enough for the majority of users (not the newest newbies) to deal with.</p>
<p>average boot time: 18 seconds.</p>
<p>4: Slax</p>
<p>Slax is unique in that one could fully customize your distribution you acquire. Because of this specific, you can develop one seriously low fat desktop distribution that could boot nearly as quickly because you like. I managed to generate a distribution with Slax (paying attention only on distinct desktop needs pertaining to writing and artwork design) that not simply could serve us well, but could accomplish that quickly. To build your specific Slax download, visit the Slax Builder to start with. Believe it as well as not, it’s not that will difficult to create your individual Linux with Slax.</p>
<p>average boot time: 07 seconds.</p>
<p>5: Ubuntu 11.10</p>
<p>Ubuntu 11.10 will be the king of rapid boots. It was the 1st fully loaded desktop distribution that can claim the 10-second start time. And We&#8217;ve witnessed that start time firsthand. Your 10-second boot doesn’t call for seriously overpowered computer hardware, either. This magic number might be reached, without changes, on average hardware may buy off the tray. Even with your less-than-desired Ubuntu Oneness, you can get your desktop working, from cold start, in around 10 a few moments.</p>
<p>average boot time: 10 seconds.</p>
<p>On the mark…</p>
<p>Yes you might also make a case for one of the Google Chrome-like as well as Splashtop OSes which could have you working in three for you to five seconds, but that&#8217;s not the objective here. I wanted to focus on distributions that may be considered full a desktop. And although you possibly will not get the same results I did on your start times, there are always a good amount of tweaks to be generated to further improve your Linux computer&#8217;s desktop boot.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/top-5-fastest-boot-linux-distros-for-2012.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebOS will live on through open source firmware and software</title>
		<link>http://linewbie.com/2011/12/webos-will-live-on-through-open-source-firmware-and-software.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=webos-will-live-on-through-open-source-firmware-and-software</link>
		<comments>http://linewbie.com/2011/12/webos-will-live-on-through-open-source-firmware-and-software.html#comments</comments>
		<pubDate>Mon, 12 Dec 2011 20:35:01 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[gadgets & mobiles]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=505</guid>
		<description><![CDATA[As soon as HP abruptly announced it had been discontinuing the TouchPad and ceasing work towards any future equipment running webOS, we took of which to mean the underdog computer had died some sort of premature death. But in the &#8230; <a href="http://linewbie.com/2011/12/webos-will-live-on-through-open-source-firmware-and-software.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As soon as HP abruptly announced it had been discontinuing the TouchPad and ceasing work towards any future equipment running webOS, we took of which to mean the underdog computer had died some sort of premature death. But in the event the company ousted bumbling PRESIDENT Leo Apotheker in addition to replaced him having Meg Whitman, we to wonder if webOS will often have some life from it yet. Well, HP just went back with a remaining verdict: the company will keep develop webOS, seeing that promised, but through the open supplier community. In different words, webOS to be a platform will reside on, and developers both equally inside HP in addition to out will fix up the OS intended for interested OEMs (whoever they usually are), along with people that already own webOS equipment. Says Sam Greenblatt, CTO on the outfit&#8217;s advanced technological know-how division: &#8220;We looked at all the various options we have revealed. We think this option is best for the support industry and HP &#8221;<br />
<span id="more-505"></span><br />
Nonetheless, when you were hoping Whitman could resurrect the TouchPad in addition to Pre 3 beyond yet another fire sale, we hate for being the bearer connected with disappointing news. The end line: HP&#8217;s webOS hardware lineup is dead &#8212; for the moment, at least. Greenblatt emphasized of which HP might later want to build devices managing webOS, the same way any other OEM would evaluate another operating system. Within the interview, company representatives were being also quick to mention that through developers outside HP, webOS could be a more attractive decision for devices in addition to phones and drugs (printers, everyone? )#). Still, though Greenblatt says there have been a &#8220;great deal&#8221; connected with interest from companies eyeing the software program, it remains ambiguous which manufactures, in the event any, will attempt to give the OS an increasingly immediate home.</p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/webos-will-live-on-through-open-source-firmware-and-software.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: PHP Output Buffering Example</title>
		<link>http://linewbie.com/2011/12/howto-php-output-buffering-example.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-php-output-buffering-example</link>
		<comments>http://linewbie.com/2011/12/howto-php-output-buffering-example.html#comments</comments>
		<pubDate>Mon, 12 Dec 2011 20:32:22 +0000</pubDate>
		<dc:creator>Linewbie.com</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.linewbie.com/?p=503</guid>
		<description><![CDATA[Though profiling our application I found a a quite strange memory usage because of the ob_start()#) functionality. We do work with ob_start()#) a reasonable amount to defer production of data, that is a common thing in most applications. What seemed &#8230; <a href="http://linewbie.com/2011/12/howto-php-output-buffering-example.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Though profiling our application I found a a quite strange memory usage because of the ob_start()#) functionality. We do work with ob_start()#) a reasonable amount to defer production of data, that is a common thing in most applications. What seemed to be unusual is of which 16 calls to help ob_start()#) in place chewing through pretty much 700kb of ram, given that the results being buffered not often exceeds 1-2kb, i thought this was quite unusual.<br />
<span id="more-503"></span><br />
I started thinking about the C code on the ob_start()#) functionality and found this interesting chunk of code inside php_start_ob_buffer()</p>
<p>initial_size = 40*1024;<br />
block_size = 10*1024;</p>
<p>Which directs PHP to help pre-allocate 40kb of data for every single ob_start()#) call and once this proves for being insufficient, increase by 10kb everytime. Ouch!</p>
<p>PHP does assist you to say how considerably memory ob_start()#) incorporate the use of, via 2nd parameter towards function. However, when you exceed that measurement, PHP will instantly flush the seized data to tv screen, which means that if you are really effective in predicting your buffer sizes or widely overestimate, there is a risk which the data will possibly be dumped to tv screen by PHP begin using this option.</p>
<p>Since i am not fabulous at guessing, I&#8217;ve decided to manufacture a small, backwards works tweak to PHP&#8217;s value that allow options of custom buffer sizes, but encourage the buffer size for being increased if the 1st buffer size proves for being insufficient, ensuring which the data can possibly be safely buffered. This functionality is implemented by using a change (view patch below) towards 1st parameter on the ob_start()#) functionality, which normally is needed to provide this callback function. While using the patch in area the parameter, generally is a number, which defines the required buffer size. While using the patch, ob_start(1024) shows that the 1kb buffer need to be used and only when it&#8217;s exceed keep allocating 1kb each time to allow intended for additional data for being stored. This solution does mean you should not use custom, resizable buffer sizes that has a callback function, but it surely does provider some sort of backwards (PHP API prudent) compatible strategy for implementing the efficiency in PHP 5. 3 and 5. 3.</p>
<p>Here is a simple before &#038; after code sample:<br />
PHP:</p>
<p><code><?php</p>
<p>     ob_start(null, 1024);<br />
     echo str_repeat("a", 1500);<br />
     var_dump(strlen(ob_get_clean()));</p>
<p>?></code></p>
<p>will print out 0, since buffer is over the limit and is flushed to output</p>
<p>PHP:</p>
<p><code><?php</p>
<p>     ob_start(1024);<br />
     echo str_repeat("a", 1500);<br />
     var_dump(strlen(ob_get_clean()));</p>
<p>?></code></p>
<p>will print 1500, buffer was exceeded and then increased, making it possible for data to remain in the buffer</p>
<p>CODE:<br />
<code>Index: main/output.c<br />
===================================================================<br />
--- main/output.c (revision 320624)<br />
+++ main/output.c (working copy)<br />
@@ -155,10 +155,14 @@<br />
  initial_size = (chunk_size*3/2);<br />
  block_size = chunk_size/2;<br />
  } else {<br />
- initial_size = 40*1024;<br />
- block_size = 10*1024;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linewbie.com/2011/12/howto-php-output-buffering-example.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

