» Join Speeple | People | Groups | Blogs | News
Published: Mon, 22 September 2008, 09:39, also tagged: business, technology, internet, microsoft, programming, wine, windows, software, search, google, linux, open source, goog, computers and software, operating systems, web browser, google gears, google android, google chrome, gacl
There’s a article on Linux Journal promoting the (bogus) “browser operating system” concept with the acronym GACL – Google Chrome web browser, Google Android development framework, Google Gears offline web browsing toolkit and Linux. Strange isn’t it that Linux, a true operating system is required to run the “browser operating system”. That’s a logical rebuttal against labelling web applications within a browser an OS. The terminology and trend to define web based applications within a browser an operating system is totally flawed. Pseudo programmers and techies make the claim for the simple fact web based applications can adequately emulate the standard features of applications available on real operating systems: word processing, email, presentations, spreadsheets etc.
But anyway, forget that rant. My real issue with this article is the way a Linux publication is so positive about Google’s Linux software.
“You can't play with Chrome on Linux yet, but when Google promises a product on multiple platforms, it generally delivers soon enough. Android phones haven't hit the beach in waves yet either, but count on that too.” – Emphasis mine
Published: Sun, 10 August 2008, 12:25, also tagged: performance, c, programming, software, php, linux, intel, optimization, gnu, gcc, compilers, intel c compiler, programming optimization
PHP like any other scripting or programming language can be optimized to improve performance. In this series of blog posts I hope to highlight the areas where PHP can be optimized. I won’t go into details of PHP output caching (which can of course lead to massive performance improvements) – mainly because after the initial cache PHP plays only a minor role. This series of posts will target dynamic PHP scripts where output caching (e.g. due to constantly changing data etc.) isn’t an option.
The performance of PHP is ultimately determined by the PHP interpreter itself. PHP is open source software written in the C programming language. Taking steps to make sure a fast binary is compiled is the first step to improving overall PHP performance.
Published: Mon, 28 July 2008, 15:04, also tagged: technology, news, internet, search, statistics, graphs, speeple, speeple news, historical data
A graph is now displayed for certain searches which are grouped by day or month. The graphs display the activity over a time period of 100 days or 100 months.
The Speeple News graphs help outline when keywords were popular in the index, normally by showing a spike. This is most visible during sporting and seasonal events along with major world issues.
Published: Wed, 16 July 2008, 04:40, also tagged: programming, php, functions, mysql, func num args, func get args
MySQL provides functionality for checking if a column or value is in a set, for example:
-- x IN(set) Example:
SELECT * FROM documents WHERE id IN(1, 20, 7, 18)
-- x NOT IN(set) Example:
SELECT * FROM documents WHERE id NOT IN(21, 5, 4, 13)
Using PHP’s function overloading we can easily emulate this method in PHP:
<?php
function in() {
if (func_num_args() < 2) return false; // Nothing to compare
$args = array_flip(array_slice(func_get_args(), 1)); // Remove first array item, flip the array so fast key lookup can be used – bypasses slow loops
return isset($args[func_get_arg(0)]); // Look up using array key – faster than using loops & less code
}
?>
Usage Examples:
Published: Tue, 1 July 2008, 16:43, also tagged: technology, rss, news, internet, programming, statistics, syndication, speeple, speeple news
I’ve put together a source for Speeple News Statistics. The page provides overall statistics of the Speeple News service, including health statistics such as crawl rate and top sources grouped by domain and individual feeds.
The stats cover news item totals, feed count, feed types and type version and content languages. The page is updated every 30 minutes.