Robot bullying, Kotlin 1.1.2, and Chaincode for Java developers on this episode of Java News and Code.

In this video:


Visit the developerWorks Java Hub

Robot Bullying

Robots are becoming more of a presence in our daily lives.

From delivery robots to self-driving cars, we see them more and more.

And like anything new, have become a taget for vandalism and bullying.

Last week, according to this CNN article, a drunken man allegedly tipped over a 300 pound security robot in Mountain View, California.

The company that makes the robot, Knightscope, said there have been three bullying incidents in the past three years.

In one incident, vandals attempted to spray paint one of the robots. The robot armed with sensors, detected the paint, sounded an alarm, and alerted authorities.

Upon hearing the alarm, the would-be vandals ran off.

One company, Boston Dynamics, makes a robot that just sort of takes it all in stride, as you can see in this YouTube video.

The robot is repeatedly harassed, but stays cool and just keeps doing its job.

In 2014 a team of Canadian researchers sent a robot off on a hitchhiking trek as part of a social experiment.

Hitchbot went all over the world without incident.

In 2015, a new Hitchbot was built for an American adventure. The robot did fine until it reached Philadelphia, where it was later found badly mangled.

Kotlin 1.1.2 Released

On April 25th, Kotlin 1.1.2 was released. The announcement was made on the Kotlin blog.

The release includes a number of bug fixes, and enhancements. Details can be found in the Changelog.

If you’re not familiar with Kotlin, it’s statically typed language that can run on the JVM or as JavaScript
code.

You can even configure Android studio to use Kotlin to develop Android apps.

The site is full of great resources, tutorials, and lots more.

You can even learn Kotlin interactively. Just click on the Try Kotlin link.

Oh, Java Platform, is there anything you can’t do and/or make possible?

Hyperledger Fabric v0.6 Chaincode for Java Developers

And finally….

In today’s code talkthrough, I’ll walk you through creating a Hyperledger Fabric v0.6 Java Chaincode Smart Contract.

The code you’ll see can be downloaded from Github

https://github.com/makotogo/ChaincodeTutorial

This will be a quick overview of Java chaincode. More details are in the Chaincode for Java Developers Tutorial I wrote for IBM developerWorks.

The tutorial provides an over of Hyperledger Fabric, and basic Blockchain concepts.

In the video I’ll show you how to:

  • Setup your development environment
  • Define and run a local blockchain network
  • Build the Java shim client JAR
  • Build and run the Java chain code

Much more detailed instructions are in the tutorial that will let you follow along and write code yourself.

Credits

Music:

Slay Well by Gunnar Olsen, YouTube Audio Library (Free to use for commercial purposes, no attribution required), see YouTube Terms of Service and this YouTube support article for details.

Java News and Code

View more episodes of Java News and Code

Subscribe

Get email notifications for new episodes of Java News and Code

Join The Discussion

Your email address will not be published. Required fields are marked *