Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- STREAM



  Stream API in Java 8

Overview In this lesson on Stream API in Java, we will study how we can put Streams to use to write efficient and much more maintainable code. We will also write code with and without Streams so that we are able to compare the two versions. Before doing all this, we must know how to create a Stream and process it and that is what we will get started with. Introduction to Streams We will be starting with creating Streams. Let us get started with the Stream<T> API which enables us to play w...

   STREAM API,JAVA 8,DEVELOPMENT,TEAM     2018-01-30 00:14:46

  Capture video stream with WebRTC

WebRTC(Web Real-Time Communication) is an API supporting real time audio and video communication through a browser. It is now a recommended W3C standard. This post is to show you how to capture video stream and screenshot with WebRTC. Capture video stream To play video stream from the video camera, we first need to put a video tag in our code: <video id="video"></video> The main function to get the video stream is the navigator.getUserMedia, as of now only few of the browsers support...

   WebRTC,Video,Screenshot     2013-10-24 21:04:41

  The video Twitter is coming

 Last October, Vine was acquired by Twitter before it released. Now Twitter launched this app. Vine only supports 6 seconds video recording, when you tap on the screen, the video recording starts, when you finger leaves the screen, the video recording stops. It can contain a few frames in 6 seconds. You can share the video on Twitter and Facebook. Vine seems like a video version of Instagram because it allows user to record video and share it. It has the same features as Instagram such as L...

   Twitter,Vine,Video Twitter     2013-01-25 05:10:29

  Alibaba IPO Live

Alibaba is going to launch its IPO at NYSE on 19th September. This will be the largest IPO in the history of US stock exchange. The opening price of Alibaba share will be $68 and its trade code is "BABA", in Chinese it means father. Alibaba is expected to get around $22 billion investment in its IPO. Want to witness this historic moment? Please join us for the live video from NYSE. Note this live stream is broadcasted with Chinese. We don't find the English source yet. We believe something is ...

   Alibaba,IPO,NYSE,Live     2014-09-19 06:51:25

  Introduction to OAuth (in Plain English)

Last week we talked about giving away your passwords and how you should never do it.  When a website wants to use the services of another—such as Bitly posting to your Twitter stream—instead of asking you to share your password, they should use OAuth instead. OAuth is an authentication protocol that allows you to approve one application interacting with another on your behalf without giving away your password. This is a quick guide to illustrate, as simply as possibl...

   Security,OAuth,Permission,Partial access     2012-04-05 11:39:54

  Understanding abstract interface in Java

Have you read about an interface declaration as public abstract interface InterfaceName in Java? At the first glance, is it a weird declaration? Why should we declare an interface as abstract? For example, we may see below code in some projects: public abstract interface MyInterface { public void check(); public abstract boolean check(boolean really); } Actually here abstract is redundant, an interface is implicitly abstract, we no need to put an abstract in front of interface. But it do...

   Java,abstract interface     2014-08-18 23:07:27

  HTML5 photo taking and uploading app implementation

Underthe support of HTML5 standard, Building Web App to take photos is now possible.I will elaborate on how to take photos using Web App, display them on the pageand upload them to the server. 1.     Videostream HTML5 TheMedia Capture API provides the programmable  access to video camera on phones, users canuse the getUserMedia() method to get the video stream provided by video camera.What we need to do is to add a HTML <video> tag and make the videostrea...

   HTML5,Photo taking,Media Capture API ,Implementation     2012-03-15 07:19:49

  Google Nexus Event Live

Google is going to have new Nexus product release at 12 o'clock 30th September(Beijing time). This new Nexus will ship with the latest Android 6.0 Marshmallow system from Google.  Here is the live stream from YouTube. Two Nexus phones are expected to be unveiled tonight. They are from LG and Huawei respectively.. The Nexus 6P is Huawei's first Nexus device and will be available for pre-order on Tuesday in the U.S., U.K., Ireland, Canada and Japan starting at $499.99 and the devic...

   LIVE,ANDROID 6.0,NEXUS,GOOGLE     2015-09-29 10:57:04

  NIO vs IO in Java

Java 1.4 provides a new API for handling IO -- NIO. This is a non-blocking and buffer oriented IO API. Below are main differences between the NIO and IO in Java. IO NIO Stream oriented Buffer oriented Blocking IO Non-blocking IO N/A Using selector Stream oriented vs Buffer oriented The main difference is that IO is stream oriented where the data is read byte by byte and the data will not be buffered normally.This means there is no pointer to move forward and backward in the stream. I...

   JAVA,IO,NIO     2016-01-10 01:40:02

  Building a Modern Web Stack for the Real-time Web

The web is evolving. After a few years of iteration the WebSockets spec is finally here (RFC 6455), and as of late 2011 both Chrome and Firefox are SPDY capable. These additions are much more than just "enhancing AJAX", as we now have true real-time communication in the browser: stream multiplexing, flow control, framing, and significant latency and performance improvements. Now, we just need to drag our "back office" - our web frontends, app servers, and everything in between into this cen...

   Web design,Real-time web,web stack     2012-02-15 05:54:41