Sep 01

When I was presenting on Real Time Web at Adobe Flash Platform Summit in Bangalore, many people asked me whether it is possible to create P2P File Sharing (note its sharing, not transfer) in Flash Player 10.1, backed by Stratus. The answer is definitely yes. Riding on the peer-assisted networking of Adobe Stratus, it means that user can now share huge files to its connected peers, while individual peers can request and pass chunks of file to one another, just like what BitTorrent is doing.

The good thing here is that developers do not need to handle the complexity of handling their peers, transfering of data , joining of mesh themselves as all these are done by Flash Player 10.1 and Adobe Stratus 2.0 Object replication feature.

To demonstrate the P2p File Sharing capabilities , I have started an open source project that allows P2P  File Sharing named Tarts (reverse the word ‘Stratus’ to see how I get the name :)

To Play with Tarts , download the initial build at : http://tarts.googlecode.com/files/tarts.air
To facilitate testing, you can run 2 instance by installing the TartsReceiver, which is essentially the same file, but build with a different application id :  http://tarts.googlecode.com/files/tarts_rcv.air

Video Instruction:

1. Select a File you want to share, anything from 1mb to big files like 5 gig

2. Generate a .tart file, this is the same as a .torrent file. The .tart file will holds the description of the file that is being share.

3. Any client that want to download a file can now open a .tart file. It will automatically join the NetGroup, and begin to request for the files. The more peers is currently sharing the file, the faster the file transfer will be .

Note! You will need 2 instance of Tart if you want to send and receive a file yourself. You will not be able to send and request the SAME file under 1 client.

Source: The source for the entire project is available on Google Code:

http://code.google.com/p/tarts/

To contribute to the project, please drop me an email (shinchi-at-gmail). I hope to keep this simple project as a proof of concept for P2p File Sharing using Stratus, but we all know Flash Developers loves to push limits. So if you modify the code , feel free to commit it back to the trunk.

Jul 15

attending
I am pretty thrill to announce that I will be speaking in Adobe Flash Platform Summit 2010 in the coming August at Bangalore, India! The topic I will be covering will be “Real Time Web in Flash Player 10.1″ . I hope to cover a range of items in the talk including RTMFP, as well as to cover some other useful techniques that using PubSubHubbub + Socket to deliver real time information to clients built on the Flash Platform. Looking at the things I ‘hope’ to cover, 45 minutes is definitely not enough, so I will be doing some filtering and make sure that I can stuff as much goodies into the talk as possible. Friends like Alvin Zhan and Peter Elst will be there as well, so it will be an exciting conference!

About Adobe Flash Platform Summit
Adobe DevSummit was launched in 2008 as the flagship Adobe Flash Platform conference in India. With the objective of spreading the goodness of Adobe Flash Platform to the community in India, showcasing innovations, and sharing the future directions for the platform, Adobe DevSummit has established itself as the numero uno conference for product users and enthusiasts alike. Now, in its third year, Adobe is reaching out to the sub-continent’s developers and designers with a much larger Adobe Flash Platform Summit (AFPS) brand that will feature a convergence of over 2000 designers and developers.

Jul 12

This morning, I am trying to pass some key-value pairs from Java (GWT) into a piece of Javascript method but found myself hitting a wall. Hashmap does not work well but after googling a bit , it looks like using JavascriptObject will do the trick

code:

JSONObject keyvaluepair = new JSONObject();
keyvaluepair.put("firstKey", new JSONString("firstValue"));
keyvaluepair.put("secondKey", new JSONString("secondValue"));
sendThisObjectToJavascript( keyvaluepair.getJavaScriptObject());
.
.
//You can even do a for-in loop here to retrieve everything :)
public static native void sendThisObjectToJavascript(JavaScriptObject o) /*-{
 
	for( var i in o)
	{
	  $wnd.alert('value: ' + i + ' is ' + o[i]);
	  //do some black-hole worthy code here
	}
 
	}-*/;
Enhanced by Zemanta
Apr 30

no flash for iphone

Apr 13

Seesmic is currently looking for GWT Java Developer, Windows Phone 7 Developer as well as an IPhone developer to our team. As most will agree, hiring a passionate developer is real hard these days, I hope that hopefully by posting through my blog, I will get more eyeballs on these 3 three openings. Let me know if any of you my friends are interested or if you got someone in mind. Just drop me an email at shinchi[at]seesmic.com. Anyway I posted these on Jobstreet too, but unfortunately 90% of the resume I get there are absolutely irrelevant, and there are even a few case, when I contacted the candidate and they don’t even know they applied for the job! So its purely : HR Agency #dontbeevil :p

Anyway the below is the Job Description:

IPhone Developer

What are we looking for?
We’re looking for an iPhone OS (iPhone, iPod touch, iPad) engineer to join our team and help us bring our apps to the next level. We will only consider someone who has experience with and is passionate about the iPhone OS, creative, able to work independently, and handle several high priority projects at once in a fast-paced team environment. Your ability to be creative and resourceful in problem solving while working effectively with a range of technical backgrounds is important in this position.

Job requirements?
Strong experience with the iPhone SDK, including the use of tools such as XCode, Interface Builder and Instruments.
Excellent knowledge and experience with Objective C, 
XML, Cocoa, MVC, and OOP design patterns
Ability to work in collaboration with the design team to bring their user experience designs to life
Experience in working with a hybrid onshore/offshore team is a plus.
User of Twitter, Facebook and social networks we don’t even know yet is a must

GWT Java Web Developer

Who are we looking for?
We are currently looking for a Java Web Developer that is experienced in Google Web Toolkit development to join the team to bring Seesmic Web application to the next level. Candidate should have good knowledge of how AJAX applications works, as well as working knowledge in consuming 3rd party API (via REST, JSOP, etc) and its mechanism. This job will be based in our Singapore office.

Job requirements:
Strong experience with Java and Google Web Toolkit
Knowledge in building User Interface with GWT Components and CSS
Knowledge and experience with MVC, OOP Design patterns, Javascript and JSNI
Experience in working with a hybrid onshore/offshore team is a plus
User of Twitter, Facebook and social networks we don’t even know yet is a must
Able to communicate comfortably English to communicate with offshore team.

Windows Phone 7 Developer

We recently demo’ed our Windows Phone 7 application and we’re looking for a Silverlight engineer to join our team and help us bring the application to the next level. Selected Candidate will be based in the Singapore Office.

We are looking for someone who:
has professional experience and abilities in working with Silverlight Platform or Windows Presentation Foundation,
is creative and highly motivated,
is able to work independently,
will handle several high priority projects at once in a fast-paced team environment.

Job requirements
Experience in .Net C# (2 years minimum)
Experience in Silverlight or/and WPF (1 year minimum)
Experience in Microsoft Blend
Experience in UI and Business Logic development
Experience in working with a hybrid onshore/offshore team is a plus.
Experience in developing for Windows Mobile Phones is a plus.
Fluency in English is a must to communicate with offshore team

Responsibility
Developing Windows Phone 7. The app benefits from the technical investment that Seesmic has made into Silverlight for its desktop platform.

Mar 27

This coming April, join the Singapore Flex Usergroup for the Flex 4 SDK and Flash Builder 4 Community Launch at the Singapore Arts Musuem!

We will be inviting Harish Sivaramakrisan, Adobe Platform Evangelist, to show you the what are the new features for Flash Builder 4 since beta. Harish will also demonstrate the new designer-developer workflow with Adobe Flash Catalyst. While many of us already have seen what Flash Catalyst can do for us in beta, Harish will show us what’s new since then.

We will also do a run through of the Spark Architecture and demonstrate how it will change the way you develop in Flex!

Registration is FREE thanks to Adobe and light refreshments will provide. One lucky winner will also stand a chance to walk away with a copy of Flash Builder 4 premium. Seats are limited, so register now!

1.30 pm Registration
2.00 pm Welcome Note
2.05 pm What’s new in Flash Builder 4
by Harish Sivaramakrishnan,
Computer Scientist & Evangelist for Adobe Flash Platform
2.50 pm Customer Showcase
3.20 pm Coffee Break
3.40 pm Adobe Flash Catalyst
by Harish Sivaramakrishnan,
Computer Scientist & Evangelist for Adobe Flash Platform
4.25 pm Spark Architecture and what it means to you
by Hu Shunjie, Flex Usergroup
5.00 pm Q&A Session
5.20 pm Lucky Draw & Closing
5.30 pm End
EVENT DETAILS
Date: 15 April 2010, Thursday
Time: 2.00pm to 5.30pm
(Registration starts at 1.30pm)
Venue: Singapore Art Museum,
The Glass Hall
,
8 Queen Street,
Singapore 188535

For more information or assistance, please email seamc@adobe.com


Video title:

Description: