Corona Crisis: Sars CoV-2 Research Exceeds 1 Exaflops

Thanks to corona virus, the Folding @ Home distributed computing project has almost as much computing capacity as upcoming supercomputers. With almost 800 petaflops of distributed computing power, Folding @ Home has set a new record for the time being – just a few days ago, the capacity was less than 500 teraflops. The distributed computing…

Read More

PHP’s references slows web applications

What sounds for many first totally wrong but seems to be true. I myself have to this day variables, where ever large arrays stored for floating passed as if I knew that the content is not altered. Just out of the idea that one thereby saving memory and can optimize…

Read More

Use Facebook Places under Firefox (without phone)

Almost by chance, I have just found out that you indeed can use without a GPS mobile Facebook Places to tell his friends, where you are just. Many are still skeptical about this feature and fear for their privacy – not entirely wrong, because by default allows Facebook that people…

Read More

Methods of Fetching contents of a URL in PHP

If you want to retrieve the contents of a URL. For example, you want to include part of one site in another site’s content. PHP provides function file_get_contents() to get the contents through GET method from URL. $page = file_get_contents(‘http://www.example.com/robots.txt’); Or you can use the cURL extension: $c = curl_init(‘http://www.example.com/robots.txt’);…

Read More

What are Streams and how it works in PHP Programming ?

Streams are the way that PHP handles access to and from files and network services. Whenever you use file wrappers – whenever you are accessing a file – PHP automatically creates a stream for you in the background. Streams are made up from a number of smaller components. Each stream…

Read More

What are File wrappers and how it works in PHP Programming ?

File wrappers are pieces of code that PHP uses to read from and write to different types of files. They are part of PHP’s Streams architecture. File wrappers allow you to use PHP’s built-in filesystem functions on things that aren’t normal files. When your PHP script needs to work with…

Read More

“Click to Run” your PHP script in linux

On most Linux systems, specifically those that support the freedesktop.org “Desktop Entry Specification” standard, you can create a clickable “launcher” icon by simply creating a text file. Most main-stream Linux distributions and their window managers follow at least the basics of this standard. To create a launcher for your PHP…

Read More

Profiling Codeigniter website to get database queries count and optimize website speed

Clients often complains that their website speed is slow. One of the most common reason was a large number of database queries that get executed for every single page, sometimes more than thousand queries for a single page. In this article, I will explain how to figure out whether the…

Read More

How to modify author base from URL in WordPress blog

Post authors in WordPress blog have a URL like http://example.com/author/authorname, where all their articles are listed. And many of us who think it doesn’t look good to have ‘author’ as author_base and want to change that URL format. The author_base of URL can be change by using some rewrite rules…

Read More