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

Github Desktop 2.4 comes with simplified setup and proxy support

The developer tool Github Desktop 2.4 introduces support for proxy access, simplifies the creation of issues and brings support for other code editors. As Github’s Billy Griffin confirms in his release post , the innovations in desktop version 2.4 are primarily tailored to employees of large organizations who connect to the Internet via a proxy. The tool…

Read More

Two “Google searches” for open source code

If you are looking for code from an open source project, you should try Google’s code search engine. It searches thousands of projects for snippets and files. Sourcegraph, our second tool tip, can do that too. Open source projects, such as those resulting from Google’s regular summer of code events, have had…

Read More

Laravel How to pass parameter to Accessor method in model via where condition while query building?

I have a Accessor method in Collection Model getSizesAttribute, which returns array of available sizes eg: [‘S’,’L’], Now I need to get Models with have size ‘S’. like: $collections = $collections->where(‘sizes’,’S’); But sizes is array, could I manipulate this anyhow so that I could check returns only if sizes have…

Read More

List files in directory in Codeigniter a php framework

You can use directory helper of codeigniter. To load helper use $this->load->helper(‘directory’); and use directory_map() function to read the directory path specified in the first parameter and builds an array representation of it and all its contained files. Example: $map = directory_map(‘./mydirectory/’); Note: Paths are almost always relative to your…

Read More

Solved – WordPress Mixed Content Error

I have Multisite wordpress environment and also have SSL enabled for the admin section. But I get lots of “Mixed Content” errors on the admin. As a result many scripts and style sheets in the admin are broken . “https://example.com/wp-includes/js/thickbox/loadingAnimation.gif” Blocked loading mixed active content “https://example.com/wp-content/plugins/capsman/framework/styles/admin.css?ver=1.1” Blocked loading mixed active…

Read More

Flutter update: Google facilitates the transition with the first stable release

Google recently released the first stable release of Flutter. Although the cross-platform framework is still in the early stages of development , it is already used extensively for Android and iOS apps. Google continues to drive the development of its fledgling cross-platform framework, Flutter. The company plans to further simplify the development of native Android…

Read More

Javascript Frameworks: New design freedom with Vue

Vue is one of the most popular Javascript libraries for developing larger single-page applications. It offers developers special freedom in the design of the display logic. An introduction. If you want to implement larger applications, you can quickly access one of the three Javascript libraries Angular, React or Vue. Each has a fundamentally different strategy,…

Read More

This will make your mobile website so fast

This will make your mobile website so fast. (Graphics: Shutterstock / Photoraidz) The mobile optimization of your website has become indispensable in this day and age. But not only the design plays an important role. Long loading times scared users. So you can convince with good performance. In the days of the Mobile First Index, where…

Read More

GIF, JPG, SVG, PNG or maybe Webp? When to put on which image format

All important image formats compared. (Graphic: Shutterstock / Lucky clover) Which image format is best for what? Especially on the web many factors are important: file size, color spectrum, transparency and scalability. We make the comparison. With the many different picture formats the overview can be lost. Some support transparency, others have a wide…

Read More

Sans Forgetica: That’s why this hard-to-read font helps you learn

Sans Forgetica helps with learning. (Graphic: RMIT University) Hard to read fonts facilitate learning. With Sans Forgetica there is now a special font just for this purpose. Back in 2012, a Princeton University study showed that our brains can better remember texts when the typeface used is a little harder to decipher. According to the…

Read More

Desktop apps with Javascript: Electron 3.0 released

Desktop apps with the Electron framework. (Screenshot: Electron) With Electron, desktop apps can be developed with Javascript – which well-known desktop clients such as Slack put. The open source framework comes from Github and has now been released in version 3.0. We take a look at the innovations. Electron: native desktop apps based on web technologies The Electron framework allows the…

Read More

What is Lorem ipsum and where does it come from?

Where does Lorem ipsum come from? (Graphic: Shutterstock / IrenD) Everybody has already read or even used “Lorem ipsum” somewhere. But where exactly does the phrase come from and what should it mean? “Lorem ipsum dolor sit amet” are probably the most widely used words on the web. But almost no one knows…

Read More

Graphics power for your project: The 15 best sites for free icons and icon fonts

Without good icons hardly a web project comes out. If you are looking for free icons, you will definitely not miss the following icon finders and font generators. Icons are ubiquitous on the web – it’s full of iconic collections for every occasion and taste. Here at t3n we have already introduced…

Read More

Why you do not have to study to learn programming?

If you want to learn programming, you have to study computer science. A misconception that is still idespread. Why this is exactly not the case and how you really learn programming. Software has become an integral part of today’s world. No smartphone, laptop or Smart TV would work without software. Every day, we download…

Read More

Even among hackers, Python is the most popular programming language

No programming language has been as appealing to authors of hacker tools and malicious programs as Python . The hackers are thus following a general industry trend. Python is currently the most popular programming language among hackers. This is the result of an analysis by the cyber security company Imperva. According to their analysis, more than 20…

Read More

Kotlin: A new era for multiplatform projects

Multiplatform projects with Kotlin. (Graphic: Shutterstock.com/Bella Melo) Do not repeat yourself: After the paradigm Jetbrains wants to take multi-platform projects to a new level – without losing sight of the native development . This is behind the new Kotlin feature. Crossplatform frameworks are nothing new. Especially in mobile development there are some approaches, as for Android and…

Read More

Why complicated, if it is easy: The best Android libraries

There are numerous libraries for Android development. But not every small library makes sense. A collection of the most exciting Android libraries that really gets your project moving. Anyone who programs an Android app, encounters a problem and does a bit of research, often finds solutions through suitable libraries. But not for every…

Read More

What Is Hadoop? – Distributed File System, Resource Manager and Scheduler and Distributed Data Processing Frameworks

Apache Hadoop is an open-source, Java-based, distributed computing platform, built out of the necessity to scale search indices. While the original tasks that Hadoop was created for revolved around building search indices, it was quickly apparent that Hadoop’s core abstraction was more generic and broadly applicable. After years of use…

Read More

What Is Data Science?

If you search for the term “data science” on Google or Bing, you will find quite a few definitions or explanations of what it is supposed to be. There does not seem to be clear consensus around one definition, and there is even less agreement about when this term originated.…

Read More

Answers you must know before Javascript Interview

What is JavaScript? JavaScript (JS) is a lightweight, interpreted or JIT compiled and cross-platform programming language with first-class functions. Most well-known as the scripting language for Web pages, many non-browser environments also use it, such as node.js and Apache CouchDB. JS is a prototype-based, multi-paradigm, dynamic scripting language, supporting object-oriented, imperative,…

Read More

Are PDO prepared statements sufficient to prevent SQL injection?

The short answer is NO, PDO prepares will not defend you from all possible SQL-Injection attacks. For certain obscure edge-cases. I’m adapting this answer to talk about PDO… The long answer isn’t so easy. It’s based off an attack demonstrated here. The Attack So, let’s start off by showing the…

Read More

How can you prevent SQL injection in PHP?

By Using prepared statements and parameterized queries. These are SQL statements that are sent to and parsed by the database server separately from any parameters. This way it is impossible for an attacker to inject malicious SQL. You basically have two options to achieve this: Using PDO (for any supported…

Read More

How to change your Laravel site favicon

Remember that Laravel is serving files from the /public directory as root, not the project directory. Setting up the favicon is a two step process: Add this code to your layout page: < link rel=”shortcut icon” href=”{{ asset(‘favicon.ico’) }}” > Then put your favicon in the sites subdirectory \public It…

Read More

How to install Laravel 5.6 + PHP 7.1 with Apache on Ubuntu 16.04

Laravel is a powerful MVC-PHP framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Laravel was created by Taylor Otwell. In this guide, we will install Laravel 5.6 on Ubuntu 16.04 and as you might already know Laravel 5.6 depends on PHP 7.1+…

Read More

MongoDB for PHP Developers – A Beginner’s Guide

Introduction If you want to create a website using MongoDB and PHP, this article will help you to: Connect to a MongoDB database Save documents in a collection Query documents in a collection Perform range queries Sort documents, update a document, delete one or more documents from a collection What…

Read More

How to pass data from PHP to JavaScript ?

There are actually several approaches to do this. They are as following : Use AJAX to get the data you need from the PHP server. Echo out the data inside the page , and use JavaScript to get the data from DOM. Echo out the data directly to JavaScript inside…

Read More

Things you must know before MySQL Interview

What are the HEAP tables in MySQL ? HEAP tables also known as  Memory tables are tables taht present in the memory. When creating a HEAP table in MySql, we needs to specify the TYPE of table as HEAP. These memory tables  have values without data type like “BLOB” or…

Read More

How to make a Good website with a video background ?

Last year came up with some interesting website design ideas which were focused to attract audiences with videos and moving animations. The inspiration might be the popularity and the entrainment factor of the online videos or movies. This is the reason why video backgrounds were welcomed with both arms wide…

Read More

Installing a LAMP Web Server on Amazon Linux Web Server

To install and start the LAMP web server on Amazon Linux Connect to your instance. To ensure that all of your software packages are up to date, perform a quick software update on your instance. This process may take a few minutes, but it is important to make sure you…

Read More