Monday, 23 July 2018

How to Change Double Spaces to Single Spaces in Microsoft Word

If you find yourself in possession of a Word document where someone has typed two spaces between every sentence and you need to change those to use just one space, Word makes it easy to do a find and replace that changes all instances with a single command. Here’s how to do it.

Hortonworks and Google Streamline Big Data in the Cloud

“Successful businesses understand how interconnected data and cloud strategies are key to a cohesive business strategy”, as Hortonworks CTO, Scott Gnau, emphasized in his recent blog, that data, cloud and business strategies are inextricably linked for businesses to stay competitive today. Organizations can extrapolate new insight, accelerate product time to market, optimize resources, and even […]

The post Hortonworks and Google Streamline Big Data in the Cloud appeared first on Hortonworks.

How to Temporarily Disable the Fingerprint Reader and Smart Lock in Android P

Starting with iOS 11, Apple included a way to quickly disable Touch ID and Face ID on iOS. With Android P, Google is introducing a feature named “Lockdown Mode” that essentially does the same thing.

The Best Controller For Steam (Isn’t What You Think)

Steam’s Big Picture Mode and Steam Link platform have their own branded Steam Controller. But it’s not the best one to use.

Click Here to Continue Reading

How to Fix “Unlock iPhone to Use Accessories”

Starting with iOS 12, you will always have to unlock your iPhone or iPad to connect a USB accessory. This is because of “USB Restricted Mode,” which protects your iPhone or iPad from hacking tools like GrayKey.

What is a Monitor’s Refresh Rate and How Do I Change It?

A refresh rate is the number of times your monitor updates with new images each second. For example, a 60 Hz refresh rate means the display updates 60 times per second. A higher refresh rate results in a smoother picture.

Remoting Kafka Plugin 1.0: A new method to connect agents

I am very excited to announce that we have recently released 1.0 version of Remoting Kafka Plugin under Jenkins Plugin. You can check the CHANGELOG to see the features included in this release.

About me

My name is Pham Vu Tuan, I am a final year undergraduate student from Singapore. This is the first time I participate in Google Summer of Code and contribute to an open-source organization.

Mentors

I have GSoC mentors who help me in this project Oleg Nenashev and Supun Wanniarachchi. Besides that, I also receive great support from developers in remoting project Devin Nusbaum and Jeff Thompson.

Overview

Current versions of Jenkins Remoting are based on the TCP protocol. If it fails, the agent connection and the build fails as well. There are also issues with traffic prioritization and multi-agent communications, which impact Jenkins stability and scalability.

This project aims to develop a plugin in order to add support of a popular message queue/bus technology (Kafka) as a fault-tolerant communication layer in Jenkins.

Benefits to the community

  • Provide a new method to connect agent to master using Kafka besides existing methods such as JNLP or ssh-slaves-plugin.

  • Help to resolve the existing issues with the TCP protocol between master and agent communication in Jenkins.

  • Help to resolve traffic prioritization and multi-agent communications issue in Jenkins.

Why Kafka?

When planning for this project, we want to use traditional message queue system such as ActiveMQ or RabbitMQ. However, after some discussion, we decided to have a try with Kafka with more suitable features with this project:

  • Kafka itself is not a queue like ActiveMQ or RabbitMQ, it is a distributed, replicated commit log. This helps to remove message delivery complexity we have in traditional queue system.

  • We need to support data streaming as a requirement, and Kafka is good at this aspect, which RabbitMQ is lack of.

  • Kafka is said to have a better scalability and good support from the development community.

Architecture Overview

The project consists of multiple components:

  • Kafka Client Library - new command transport implementation, producer and consumer client logic.

  • Remoting Kafka Plugin - plugin implementation with KafkaGlobalConfiguration, KafkaComputerLauncher and KafkaSecretManager.

  • Remoting Kafka Agent - A custom JAR agent with remoting JAR packaged together with a custom Engine implementation to setup a communication channel with Kafka. The agent is also packaged as a Docker image in DockerHub.

  • All the components are packaged together with Docker Compose.

The below diagram is the overview of the current architecture: remoting kafka architecture

With this design, master is not communicating with agent using direct TCP communication anymore, all the communication commands are transfered with Kafka.

Features

The project is now under the third coding phase and we have some features available in 1.0 release.

1. Kafka Global Configuration with support of credentials plugin to store secrets.

remoting kafka configuration

2. Launch agent with Kafka Launcher.

launch agent kafka

3. Launch agent from CLI using agent JAR with secret provided to ensure security.

agent cli

4. Run jobs, pipeline using Kafka agent.

demo jobs

5. Kafka communication between master and agent.

kafka commands

Remoting operations are being executed over Kafka. In the log you may see:

  • Command execution (SlaveInstallerFactoryImpl.isWindows())

  • Classloading (Classloader.fetch())

  • Log streaming (Pipe.chunk())

How to run demo

We have setup a ready-to-fly demo for this plugin. You can try to run a demo of the plugin by following this instruction. Features in the demo:

  • Docker Compose starts preconfigured Master and agent instance, they connect automatically using Kafka launcher.

  • Kafka is secured and encrypted with SSL.

  • There few demo jobs in the instance so that a user can launch a job on the agent.

  • Kakfa Manager supported in localhost:9000 to support monitoring of Kafka cluster.

Phase 2 Presentation Slides

Phase 2 Presentation Video

India's Rs 4500 Cr Supercomputer Mission on track, first one expected by December

The Centre for Development of Advanced Computing (C-DAC) is evaluating the technical bids by firms such as Acer, Fujitsu, IBM, HCL, TCS, Dell and Netweb and the contract is likely to be awarded soon.

How Google Glass-based solutions can empower autistic people in India

According to Dr Sahin, contrary to what most of the people think, kids actually treat wearable devices as fun and are facing no problem using them.

Sunday, 22 July 2018

Geek Trivia: The First Person To Be Honored With A Hollywood Walk Of Fame Star For Live Performances Was?

Think you know the answer? Click through to see if you're right!

The Best Powerline Network Adapters

If you want high-speed network access throughout your home and Wi-Fi isn’t cutting it, you’ve probably considered running Ethernet…

Click Here to Continue Reading

The Smarthome Industry Has Reached a Plateau. Here’s What’s Holding It Back

There’s a problem with the smarthome industry—multiple problems, actually. And after experiencing a huge boom over the last few years, smarthome as a whole has reached a plateau of sorts.

IIT researchers develop homegrown TB & Malaria diagnostics solutions

A team from IIT-Delhi is among those developing homegrown solutions for easier and cheaper diagnosis of diseases such as TB and malaria

Saturday, 21 July 2018

Geek Trivia: In The 2000s, Footage From The Original Lunar Orbiters Was Digitized In A Former?

Think you know the answer? Click through to see if you're right!

Five Tips and Tricks to Set Up In-Car Entertainment for Your Kids

Are we nearly there yet? How many times do you hear this on a road trip with the kids? Too often, right?

Click Here to Continue Reading

6 Smarthome Safety Features You Should Enable Right Now

Most homeowners deck out their houses with smarthome gear for the convenience and cool features, but what you may not know is that some devices come with features that can prevent problems and even potentially be life saving.

Indian engineers build critical solutions for future of automobile technology

While it will take years before autonomous, connected and electric cars hit the road in India, thousands of engineers based in the country are contributing to developing critical solutions for the future

DevOps World-Jenkins World 2018 Agenda is Live

devops world 2018

This year the Jenkins project introduced a few exciting efforts: Configuration as Code, Jenkins X, Jenkins Essentials, Blue Ocean and Pipeline. With DevOps World-Jenkins World San Francisco and Nice only a few short months away, we’ve made sure to include plenty of sessions related to these exciting efforts on the agenda. With that said, the agenda for both cities is now live and will include workshops and deep dive sessions on these efforts and much more. Project contributors for these efforts will be present at both conferences as well, come say ‘hello’. Here’s a glimpse of what’s on the agenda:

Workshops

  • Building Continuous Delivery for Microservices with Jenkins X

  • Creating a Deployment Pipeline with Jenkins 2

  • Jenkins Administration Fundamentals

  • Jenkins Pipeline Fundamentals

  • And more

Sessions

See the full agenda for both cities here:

You can plan on this to be highly educational, wildly engaging… overall an excellent space for collaborative conversations with project maintainers, contributors, and active community members.

See you there!

If you need more persuasion, use the code JWFOSS to get 30% discount off your pass.

How to Link or Embed an Excel Worksheet in a PowerPoint Presentation

Sometimes, you want to include the data on an Excel spreadsheet in a Microsoft PowerPoint presentation. There are a couple of ways to do this, depending on whether or not you want to maintain a connection with the source Excel sheet. Let’s take a look.

Friday, 20 July 2018

Geek Trivia: Which Of These Iconic Video Games Originally Ran On HyperCard?

Think you know the answer? Click through to see if you're right!

Buying A Kindle? The 3G Models Are The Only Ones Worth Looking At

The Kindle killer feature isn’t the sharp screen on the Oasis or the free books that come with a Prime account.

Click Here to Continue Reading

How to Stop People from Following You on Instagram

Instagram continues to add deeper account management tools, and starting today you’ll be able to manually remove followers. This feature has been available for users with private accounts for a while, but now it’s available for everyone.

Mario Kart 8 Is Getting Breath of the Wild’s Link and His Motorcycle

In a batch of DLC for Breath of the Wild, Link hit full mid-life crisis and got a motorcycle.

Click Here to Continue Reading

What is a 400 Bad Request Error (and How Can I Fix It)?

A 400 Bad Request Error occurs when a request sent to the website server is incorrect or corrupt, and the server receiving the request can’t understand it. Occasionally, the problem is on the website itself, and there’s not much you can do about that. But most of the time, the problem is one you might be able to solve—maybe you typed the address wrong, or maybe your browser cache is causing problems. Here are some solutions you can try.

The Best Video Editors for Android

There’s no need to break out a computer for a quick edit on a video you just shot—with the proper tools, you can do a lot right from your phone. Here are the best video editors for Android.

The Best Dog Dishes For Healthy Eating And Digestion

A good dog dish can help dogs big and small eat healthier—whether that means slowing down or aligning th…

Click Here to Continue Reading

When and How to Rent Photography Gear

Photography and videography gear is expensive. Professional equipment starts at a few hundred dollars and goes up to hundreds of thousands. You might dream of shooting with a RED EPIC camera, but you probably don’t want to pony up the $19,000+ to own one. The thing is, there’s another option: rental.

Collaboration: The next cyber threat?

Businesses in the modern age are looking at providing the millennial workforce with cutting edge technology and solutions to share information seamlessly and securely.

Koinex debuts a P2P platform for collateralized crypto trading

Koinex has introduced collateralized trading, a form of collateral guarantee to ensure genuineness of the cryptocurrency trading activity

What Data Can a Thief Get from a Stolen Phone or Laptop?

Losing your hardware is bad enough, but what happens to your personal data? Could a thief with your phone, tablet, or laptop access your apps and files? It depends on the device you lost—unfortunately, most Windows PCs aren’t encrypted.