CyberX

mobile

Radeon software super high resolution an any video

Many people ask a question: "How to improve screen resolution to maximum?".

Few days ago I was install windows update for AMD Radeon software thats allows some new futures for any compatible video adapters. Whats new?

This update integrate new controll center in Windows 10 for activating customization some hiden vide card futures.

Radeon software for Windows 10
Radeon software for Windows 10

Most of great settings I found is enabling support of super high resolution emulation in all Windows 10 applications such as games and other software and desktop.

Resolution Controll with support of super high modes in Windows 10
Resolution Controll with support of super high modes in Windows 10

I have only Vega 11 integrated video adapter and Radeon RX 560X discrete video card. For this adapters having maximum resolution of 1920x1080 availible to high resolution of 3800+px. It's great.

Simple pagination PHP script with semantic HTML 5

This is a simple PHP pagination script for your sites writed by CyberX labs. Code below represents how to works pagination:

<?php

/**
 *	Pagination template
 */

$render_node .= '<nav class="revolver__pagination">';
$render_node .= '<ul role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement">';


/* limit pages per section */
$limit = 5;

for( $i = 1; $i <= $pages_count; $i++) {


	$link = $i === 1 ? '/' : '/?page='. $i; 


	if( $i >= 1 ) {

		$prev = (int)pager['current'] <= 1 ? '/' : '/?page='. ((int)pager['current'] - 1);

		$render_node_prev = (int)pager['current'] <= 1 ? '' : '<li><a itemprop="url" href="'. $prev .'"><span itemprop="name">&laquo;</span></a></li>';

	}

	if( $i <= ((int)$pages_count - 1) ) {

		$next = pager['current'] >= $pages_count ? '/' : '/?page='. ((int)pager['current'] + 1);

		$render_node_next = pager['current'] >= $pages_count ? '' : '<li><a itemprop="url" href="'. $next .'"><span itemprop="name">&raquo;</span></a></li>';


	}



	if( pager['current'] === $i ) {
	
		$render_node_links .= '<li><span><i>'. $i .'</i></span></li>';
	
	} 
	else {

		if( $i <= $pages_count - 1  ) {

			if( $i <= $limit ) {

				$render_node_links .= pager['current'] === 0 && $i === 1 ? '<li><span><i>'. $i .'</i></span></li>' : '<li><a itemprop="url" href="'. $link .'"><span itemprop="name">'. $i .'</span></a></li>';

				
			}

			if( $i == $pages_count - 1 ) {

				$render_node_links .= '<li><span><i>...</i></span></li>';
			
			}
		
		} 
		else if( $i == $pages_count ) {

			$render_node_links .= pager['current'] === 0 && $i === 1 ? '<li><span><i>'. $i .'</i></span></li>' : '<li><a itemprop="url" href="'. $link .'"><span itemprop="name">'. $i .'</span></a></li>';
		
		}

	}

} 


$render_node .= $render_node_prev . $render_node_links . $render_node_next;
$render_node .= '</ul>';
$render_node .= '</nav>';

?>

Few vars you need to modify: $limit - how many pages show in pages section; $pages_count - total pages and pager['current'] - current page.

RevolveR pagination includes semantic microdata HTML 5 for more flexible crawling your website pages. Script works on any PHP version that supports define variables.

RevolveR CMS v.1.4.0 update

Hi, all. Today I release RevolveR CMS version 1.4.0 update. It includes new JOIN queries ABQ support, theming updates such as new pagination and super duper JOIN queries and parametrized selects(xs and j) queries file JSON based DataBase X cache.

RevolveR CMS
RevolveR CMS

In feuture releases I have to add new Forms API and fresh module for creating custom database fields from RevolveR CMS preferences interface thats works with html forms API and GetVars helper to make our CMS more flexible.

This update installing simple: just replace files. Package allowed on GitHub.

How to avoid blocking MAC address on Win 10

Some times we have to stop using WIFI hotspot because routers blocks WIFI MAC hardware address. New Windows 10 insider preview build 19h1 represents core function to randomize WIFI MAC address.

Randomize hardware MAC address on Windows 10 for WIFI connections
Randomize hardware MAC address on Windows 10 for WIFI connections

New feature avalible for Windows 10 19h1 release and can be activated on WIFI settings in Network preferences simple. After activating we have randomized MAC address for WIFI connections at every connect to hot spots.

RevolveR DBX: ABQ JOIN support

Hi, all. Today I was integrate new DBX core into RevolveR CMS for some tests thats represent new JOIN queries syntax support. Today all RevolveR CMS DB core works under ABQ(array based queries).

Now in work cache for JOIN queries but seems all engine works fine.

For example I have to show how to perform INNER JOIN under DBX. First, we have to define DB table fields structure. For emaple I define two tables:

$STRUCT_NODES = [
	'field_id' => [
		'type'   => 'num', // int
		'auto'   => true,  // auto increment
		'length' => 255,
		'value'  => 0
	],
	'field_title' => [
		'type'   => 'text', // varchar
		'length' => 50,
		'fill'   => true
	],
	'field_content' => [
		'type'   => 'text', // varchar
		'length' => 10000,
		'fill'   => true
	],
	'field_description' => [
		'type'   => 'text', // varchar
		'length' => 10000,
		'fill'   => true
	],
	'field_user' => [
		'type'   => 'text',
		'length' => 50,
		'fill'	 => true
	],
	'field_time' => [
		'type'   => 'text',
		'length' => 50,
		'fill'	 => true
	],
	'field_route' => [
		'type'   => 'text',
		'length' => 100,
		'fill'	 => true
	],
	'field_category' => [
		'type'   => 'num',
		'length' => 100,
		'fill'	 => true
	],
	'field_published' => [
		'type'   => 'num',
		'length' => 1,
		'fill'   => false
	]
];

$STRUCT_COMMENTS = [
	'field_id' => [
		'type'   => 'num', // int
		'auto'   => true,  // auto increment
		'length' => 255,
		'value'  => 0
	],
	'field_node_id' => [
		'type'   => 'num',
		'length' => 50,
		'fill'	 => true
	],
	'field_user_id' => [
		'type'   => 'num',
		'length' => 50,
		'fill'	 => true
	],
	'field_user_name' => [
		'type'   => 'text',
		'length' => 100,
		'fill'	 => true
	],
	'field_content' => [
		'type'   => 'text', // varchar
		'length' => 10000,
		'fill'   => true
	],
	'field_time' => [
		'type'   => 'text',
		'length' => 100,
		'fill'	 => true
	],
	'field_published' => [
		'type' 	 => 'num',
		'length' => 1,
		'fill'	 => false
	]
];

Next, we have to configure querie:

	$cFields = ['field_id', 'field_node_id', 'field_user_id', 'field_user_name', 'field_content', 'field_time', 'field_published'];
	$nFields = ['field_id', 'field_title', 'field_content', 'field_description', 'field_user', 'field_time', 'field_route', 'field_category', 'field_published'];

	$nFields['field_id']['criterion_field'] = 'field_id';
	$nFields['field_id']['linked_field'] = 'field_node_id';

	$ncFields = [
		$cFields,
		$nFields
	];

Next, we have to perform query using syntax below:

	unset( $dbx::$result['result'] ); // clean previous result


	$dbx::query('j', ['revolver__nodes', 'revolver__comments'], $ncFields);

DBX automatically configure next SQL syntax:

SELECT `revolver__nodes`.*, `revolver__comments`.* FROM `revolver__nodes` INNER JOIN `revolver__comments` ON(`revolver__nodes`.field_id=`revolver__comments`.field_node_id);

DBX version 1.1.3 avalible on GitHub.

RevolveR CMS v.1.3.8 update

I was done testing new caches released in DBX engine and fix some bugs in RevolveR CMS.

For now MySQL queries cache by default segmented into parts via chunks to improve performance and memory usage.

Added new jump to top animated button into core template, fixed AMP links issue and added some security additions in .htaccess.

RevolveR CMS
RevolveR CMS

RevolveR CMS v.1.3.8 update availible on GitHub.

How to make simple scroll top jumper via RevolveR

So. This is a small tutorial how to create simple animated scroll to top button via RevolveR frontend library. Example you can see on this site when you scroll window. When scroll position takes 40% of Y axis the jumper are shown with animation.

Code below creates this scroll to top JavaScript animated button:


// charging weapons with namespace
const revolver = new Revolver('$');

$.dom('.jumper', 'del');

// jumper
$.dom('div',"new|after|body", {
	html: '<i  style="display: block;position: relative;top: 20px;color: #fff; font-size: 25px; text-shadow: -1px -1px 2px #000">^</i>', 
	attr: { 
		style: "width:60px; height:60px; text-align:center; display:block; position: fixed;bottom: 30px;right: 30px;background: rgba(0,0,0,.5);",
	class: "jumper"
		} 
	}
);

	$.event('.jumper', 'click', function(e) {

		e.preventDefault();

		$.scroll();

	});

	window.addEventListener('scroll', function(e) {

		if( $.curOffset[1] <= $.sizes[1] * 0.4 ) {

			$.dom('.jumper', 'animate', ['opacity:0:500'], function(e) {
				$.dom('.jumper i', 'animate', ['top:-50px:300:pulse'], function(e) {
					$.dom(".jumper", "style", ['display:none']);
				});
			});


		} 
		else {

			$.dom(".jumper", "style", ['display:block']);
			$.dom('.jumper', 'animate', ['opacity:.9:500'], function(e) {
				$.dom('.jumper i', 'animate', ['top:20px:300:pulse'], function(e) {});
			});
			
		}

	});

RevolveR DBX v1.1.2:: implement cache partitions

Yo. Today I release new version of RevolveR DBX engine thats supports for now cache segments based on static partitions in JSON format. You can configure how many chunks will be used to split static caches. If rows count are around 0-2000 per table you can adjust $sql_cache_segments value to zero. Also you can configure cache segments for 5 to default for many rows count.

DBX ABQ JSON Cache
DBX ABQ JSON Cache

Cache partitions updates automatically after every database change such as delete, insert, update, inject queries.

Now RevolveR DBX under testing and I need some time to update RevolveR CMS code.

Acer Nitro 5 AN515-42 BIOS v.1.1.2 update

Today I was check for updates windows 10 and find new firmware update from Insyde Corporation for my Acer Nitro 5. Perhaps windows now updates BIOS automatically without any third party software.

UEFI BIOS firmware device in Windows 10
UEFI BIOS firmware device in Windows 10

For installing the software need reboot and pluged in power adapter. In devices section after update we can see new device named firmware.

SQL select all distinct notes

From start of coding RevolveR CMS I have two small questions: how much memory use PHP and MySQL when we use SELECT * condition and how long it executes.

For experiment I use SELECT * MySQL query condition in geting RevolveR statistics engine. For now collected around 66611 rows in one table with browsers data thats outputs in interface by select all and plain cycle filtered statistics only for daily usage. It tooks only 1.2Mb memory and execution time is around 0.6 seconds.

Hosting parameters is unknown because I use dedicated hosting plan for 5$ per month. By hosting plan avalible only 128Mb memory for PHP accelerator and I can calculate how many monthes I can use SELECT all instruction to show SEO statistics. It's only around 10 years with attendance of 100 unicum visitors per day.

Perhaps PHP core algorithm have no bad optimization engine and I have to code collecting statistics in dedicated tables for every month or week. It's a perfect guarantee of memory overload protection.

So. In next updates will be released more flexible collecting of statistics and flush interface for cleaning stats.

Next additions I have to release is a JOIN and UNION SQL query combining algorythm for DBX engine with partitions based file cache in JSON statics. It's extends framework(yes, RevolveR CMS goes to be a framework) scalability and usability of array based querys language.

New Windows 10 light theme

Yesterday I was join into Windows Insider builds testing programm and get new Windows 10 installation 1903 thats present new light theme for Windows 10 interface.

Windows 10 desktop with Light theme
Windows 10 desktop with Light theme

It's beautifull and very elegance for me and I happy with only replacing start button menu with Classic Shell addon thats back classic Windows 7 start menu because I don't like live squares and alphabetic sorting.

To get new Windows 10 builds with light white interface theme and test new Windows 10 feutures you only need to join with you Microsoft ID into desktop, enable developer mode from updates settings and request to join in Insider testing programm. After reboot check updates for new releases and start download fresh Windows 10 build.

My new Acer Nitro 5 with APU AMD Ryzen 5

For some reasons I cant continue work under Revolver CMS and other solutions in normal mode because I have not any performance and equipted hardware for it but now I buy new notebook for gaming and development.

Acer Nitro 5 AN515-42
Acer Nitro 5 AN515-42

Ok. Now I have new Acer Nitro 5 AN515-42 with APU AMD Ryzen 5 2500U, discrete graphics Radeon RX 560X and big wish to install Mac OS again.

Fortunately most hardware are compatible to Mac OS natively instead of AMD CPU Ryzen, AMD AHCI controller and WIFI card. Radeon RX 560X is under native compability to Mac OS Mojave and High Sierra.

Yesterday I was download patched for AMD systems Mac OS High Sierra installer and boot it sucessfull on Acer Nitro 5. Fortunately all hardware instead of AHCI controller and WIFI card are detected successful. We have big problem with HDDSSD detection because we have only one way to use incompatible drive controllers - it's very old AHCI Port Injector kext that supports only Intel controllers. My system have AMD AHCI controller thats not even have a special kexts and it only remains to hope that in the future somebody will write this driver.

Now I think I have to buy USB 3.1 Type-C external SSD and install system here. It variant is faster for 100 Mbit per second for read and write than traditional HDD and maybe I get stable Mac OS working from external drive.

What about Acer Nitro 5 under Windows 10? It most be more speedy because AMD APU have no issues with spectre and meltdown but it's not true. Windows 10 is slow and ugly instead. I play DeusEx Mankind Devided on Radeon RX 560X and it have small freazes, Mafia 3 gameplay is perfect thats talks about Acer Nitro 5 is not bad choice. So, I'm pleased with the price 753,37$ and bundle of APU Ryzen 5, graphics Radeon RX560X, 8Gb memory DDR4 and 1Tb HDD with one free slot for M.2 SATA SSD.

Before I install Mac OS to external USB 3.1 Type-C Generation 1 SSD I have to write about system stability and speed of work. Works under RevolveR CMS and RevolveR frontend will continue after some time(I can't work under this fucking Windows 10 because this is peace of shit!).

Regards,
Cyber.