Monday, July 28, 2008

P2P Telephony Explained

http://www.skype.com/help/guides/p2pexplained/

P2P Telephony Explained — For Geeks Only

See also the Skype Technical FAQ for answer to specific questions.

Peer-to-peer ("P2P") technology was first widely deployed and popularized by file-sharing applications such as Napster and KaZaA. In this context, P2P technology allows users to share, search for and download files. The P2P term has been widely used and just as often abused. Companies both large and small, self-proclaimed "pundits" and others to trying to cash in on the "P2P buzz" use this term as long as it involves some direct communication between users or nodes. This description of P2P completely misses the point.

A true P2P system, in our opinion, is one where all nodes in a network join together dynamically to participate in traffic routing-, processing- and bandwidth intensive tasks that would otherwise be handled by central servers.

A true P2P application empowers small teams with good ideas to develop software and businesses that can successfully challenge those of large companies. True P2P, when applied to ripe markets, is disruptive technology.

Decentralized P2P networks have several advantages over traditional client-server networks. These networks scale indefinitely without increasing search time and without the need for costly centralized resources. They utilize the processing and networking power of the end-users machines since these resources always grow in direct proportion to the network itself. Each new node added to the network adds potential processing power and bandwidth to the network. Thus, by decentralizing resources, second generation (2G) P2P networks have been able to virtually eliminate costs associated with a large centralized infrastructure.

P2P telephony became a natural next step where P2P could have a significant disruptive impact and Skype was founded to develop the first P2P telephony network.

Internet-based telephony – Voice-over-IP – (VoIP) has been around for years but has not reached the mainstream market. The reasons for this are quite clear to those of us who have tried VoIP software:

  • Products which have a true cost-saving advantage over standard telephones do not have comparable quality.
  • Call-completion rates are very low due to firewalls and the use of Network Address Translation (which renders over 50% of residential computers unable to communicate with traditional VoIP software).
  • The User Interface is typically bloated and requires substantial configuration and technical skills.

Centralization can overcome some of these difficulties by routing calls through firewalls or NAT's. However, this brings the cost of running the network to levels approaching that of the existing telecom networks. In addition, these costs scale proportionally with the number of users. The result is that companies operating such services typically allocate very little resources on their servers per user which seriously degrades the call quality.

The Skype team has succeeded in leveraging all of the available resources in a network. This has allowed us to raise the call completion rate and quality in the Skype network to levels exceeding that of POTS ("Plain Old Telephony System"). This is all achieved without the need for costly centralized resources. In addition, we also believe that we have created the most user friendly interface around!

The following are some of the techniques that Skype employs to deliver state-of-the-art IP-based telephony.

Firewall and NAT (Network Address Translation) traversal.

Non-firewalled clients and clients on publicly routable IP addresses are able to help NAT'ed nodes to communicate by routing calls. This allows two clients who otherwise would not be able to communicate to speak with each other. Because the calls are encrypted end-to-end, proxies limit the security or privacy risk.

Likewise, only proxies with available spare resources are chosen so that the performance for these users is not affected.

Several new techniques were also developed in order to avoid end-user configuration of gateways and firewalls, whose non-intuitive configuration settings typically prohibit the majority of users from communicating successfully. In short, Skype works behind the majority of firewalls and gateways with no special configuration.

Global decentralized user directory.

Most instant message or communication software requires some form of centralized directory for the purposes of establishing a connection between end users in order to associate a static username and identity with an IP number that is likely to change. This change can occur when a user relocates or reconnects to a network with a dynamic IP address. Most Internet-based communication tools track users with a central directory which logs each username and IP number and keeps track of whether users are online or not. Central directories are extremely costly when the user base scales into the millions. By decentralizing this resource-hungry infrastructure, Skype is able to focus all of our resources on developing cutting-edge functionality.

P2P network technologies used by file-sharing applications would be almost suitable for decentralizing this, but those networks are fragmented in nature – a search does not reach all nodes in the network. Clearly, in order to deliver high quality telephony with the lowest possible costs, a third generation of P2P technology ("3G P2P"), or Global Index (GI) was a necessary development and represents yet another paradigm shift in the notion of scaleable networks. The Global Index technology is a multi-tiered network where supernodes communicate in such a way that every node in the network has full knowledge of all available users and resources with minimal latency.

Intelligent routing.

By using every possible resource, Skype is able to intelligently route encrypted calls through the most effective path possible. Skype even keeps multiple connection paths open and dynamically chooses the one that is best suited at the time. This has the noticeable effect of reducing latency and increasing call quality throughout the network.

Security.

Skype encrypts all calls and instant messages end-to-end for unrivaled privacy. Encryption was necessary since all calls are routed through the public Internet.

Super-simple UI.

We believe that software should work for you and not against you and so we have designed Skype to be dead-simple to use – people who can use Windows and telephones will feel at home with Skype immediately, and the software works equally well and is simple to use also on other platforms where Skype runs (Pocket PC, Linux, Mac OS X).


Wednesday, December 05, 2007

Fwd: [nbannounce] NetBeans IDE 6.0 Available



---------- Forwarded message ----------
From: NetBeans Webmaster <webmaster@netbeans.org>
Date: Dec 5, 2007 7:52 AM
Subject: [nbannounce] NetBeans IDE 6.0 Available
To: nbannounce@netbeans.org


Download NetBeans IDE 6.0
NetBeans.org is proud to announce the availability of NetBeans IDE 6.0.

 
The focus of NetBeans IDE 6.0 is superior developer productivity with a smarter, faster editor, and the integration of all
NetBeans products into one IDE. NetBeans IDE 6.0 features Ruby/JRuby/Ruby on Rails support, enhancements for
improved Swing development, a new Visual Game Designer, updated Data Binding support, integrated Profiling, and more.
The new installer lets you customize your download preferences--use it to choose the features and runtimes you need.
Highlights of NetBeans IDE 6.0 are:


Download NetBeans IDE 6.0
Learn More
Get a free NetBeans Starter Kit DVD
Documentation, Support, and Training


Java

* Swing GUI Builder
* Intelligent Editor
* Profiler
* Debugger
* Updated Platform APIs

C/C++
* C/C++ Projects and Templates
* Source Code Editor
* Multiple Configurations
* Class Hierarchy Browser
* File Navigation

Ruby
* Ruby on Rails Support
* JRuby Runtime
* Code Completion
* Debugger
* Refactoring

Mobility
* Game Builder
* Device Fragmentation
* SVG Graphics
* Web Services
* Handheld Device / Set Top Box

Web & Java EE
* Visual JSF Design
* Enhanced JavaScript
* AJAX Enabled Components
* CSS Editor
* Web Services & SOA

SOA
* XML Schema Editor, XSLT Designer
* WSDL Designer
* BPEL Designer
* Service Assembly Editor
* Deploy to JBI compliant runtime


NetBeans Magazine NetBeans TV Planet NetBeans my.netbeans Community Download Now

You have received this email because you are subscribed to the nbannounce mailing list from NetBeans.org. If you do not wish to receive this newsletter, you can unsubscribe here.



--
Zhipeng Zhang (Alan)   BCompSc  MInfoTech MACS(Prov)

"You must be the change you wish to see in the world."

"Begin at the beginning and go on till you come to the end; then stop."
                                                                                      -- Lewis Carroll, Alice in Wonderland

Friday, September 28, 2007

My Photo Albums on zhipeng-zhang.com

zhipeng-zhang.com/plogger/             (most adorable)
 

What's New in Version 3.0?

  • Build your Own Themes — Use Plogger's simple template based theme system to create your own custom skins. If you are saavy, you can even integrate your own Javascript effects. Switch themes with the click of a button! Three themes are included in the package.
  • Plogger XML Service — Each Plogger gallery now has a full XML generator built-in. Create your own widgets in any language you choose, whether it be a native desktop widget or a Javascript snippet.
  • Better International Support — Plogger now supports internationalization of the admin area through the GetText framework and will be available in many languages. Plogger also now supports better usage of the UTF-8 Character set in the storage engine.
  • AJAX inline-editing — You can now edit descriptions and captions for any picture on-the-fly with our slick AJAX inline editors.
  • Include from Anywhere — Now you can include Plogger from any directory or page on your website
  • Upload Zip Files — Upload a zip file full of pictures and Plogger will automatically unpack and import them to your gallery
  • Description fields for pictures — All your images can now have captions and descriptions if you'd like
  • Tons of Bug Fixes — Version 3.0 is a complete rewrite of version 2.0. We now have definable sort orders, SEO friendly page titles, better large file support, a brand new user interface, and tons of bug fixes!
 
(excellent, same as plogger, but with community functions, users can have, upload their own album)
 

.:: Entry

01: Welcome to Coppermine Photo Gallery's homepage!

Coppermine is a multi-purpose fully-featured and integrated web picture gallery script written in PHP using GD or ImageMagick as image library with a MySQL backend.

Coppermine is free software which you can download and install on your webspace. If you came here from a "Powered by Coppermine" link on a photo gallery, please read these Frequently-Asked Questions.


The default CPG theme's front page.

.:: Requirements

02: Web Server + PHP + MySQL + IM/GD = CPG!

Coppermine Photo Gallery has been tested working well on IIS, Apache 1.3.24 onwards to the latest Apache 2, on Linux, UNIX, OSX, and Win32 systems. The following settings are required:

  • Good webserver (Apache recommended);
  • PHP (4.1.0 or better);
  • MySQL (3.23.23 or better; 4.x recommended);
  • either GD or ImageMagick (any version);

.:: Current features

03: Endless Features!

CPG is so fully featured it's not enough to fully list them here. Feel free to have a go with the demo - change the themes, add some comments, see it in Hungarian!

  • arrangement of pictures in categories and albums;
  • picture information stored in database;
  • users can upload pictures with web interface of ftp (and admin can batch-add to database);
  • full multimedia support
  • creation of thumbnails and intermediate size pics;
  • search feature;
  • last added;
  • random picture;
  • user management (private galleries, groups);
  • integration of user management with various bbs (like phpBB, YaBB SE, SMF, Invisionboard, vbulletin);
  • caption, title, description and user defined fields for each picture (searchable);
  • easy install (installer provided);
  • multi-lingual: Arabian, Brazilian Portuguese, Bulgarian, Catalan, Chinese (both Big-5 and GB), Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German (both "Du" and "Sie"), Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Latvian, Malay, Norwegian, Polish, Romanian (both with and without diacritics), Russian, Slovenian, Spanish, Swedish, Uighur, Vietnamese; if your language is not on the list, you can easily create a translation for your own language;
  • user comments;
  • e-card feature;
  • slideshow viewer;
  • all features customizable with web interface (admin section);
  • template system;
  • user membership in multiple groups;
  • upload approval notice for admin;
  • EXIF/IPTC support;
  • language selection option in template;
  • image rotation;
  • multi-pic upload;
  • separation of the breadcrumb block so that it can be placed independently of category in the template;
  • option to choose max height or width for thumbnails will help in creating nicer looking thumbnail rows and cols;
  • option to display a clickable flimstrip of thumbnails below the image display;
  • option to show first level albums of a category instead of just statistics of the category;
  • option of turning on OR off the showing of "Private" Icon to unlogged / unprivileged user;
  • title option to sort in albums;
  • online help feature for the admin pages;
  • plugin-API;
  • English as a fallback language for un-translated entries in language files;
  • password-protected albums;
  • more admin-settable user profile fields;
  • picture-resize on upload;
  • bbs integration settable with a wizard-like user interface;
  • advanced search (boolean operators);

Customise your frontpage through CSS, PHP or plain HTML!
 

Unlimited multiple albums and categories using MySQL.
 

Film strip for that easy access.

.:: Future plans

04: What does the near future hold?

The developers are excited about releasing a new version which may include the following features (check out the forum):

  • integration of various hacks/user contributions into the release package;
  • advanced e-card feature (plain-text mails);
  • template-building tutorial;
  • optional dhtml navigation;
  • Permanent URLs for search engine friendliness (using PID instead of POS)
  • Rating on thumbnails page
  • Registration disclaimer optional
  • From thumbnail to Pop-Up option
  • Coppermine API
  • Comment approval
  • Comment and registration captcha class
  • Global password for registration
  • Watermarking
  • Thumb cropping and sharpening
  • Movie download option
  • Ecard flash support
  • Random album thumbnail
  • Tag cloud for keywords
  • Moderator for album pictures
 
 
zhipeng-zhang.com/phpalbum/     (simple and powerful, allow comments, ecard)
 
 
Very userful and handy. E-Card on pictures.

PHP Photo Album / Gallery

Submitted by patrik on Wed, 2005-12-21 10:19.
phpAlbum.net is an Open Source PHP script which allows you to create your personal Photo Album / Gallery in just a seconds. All you need is a web space with FTP access. No database is needed. After a few clicks with our phpAlubm.net Installer you are ready to upload your photos, create new directories /galleries, and use your photo album.

These are the features which phpAlbum.net offers you:

  • Automatic generation of thumbnails and resized
  • Commenting of pictures with antispam security code
  • NEW! IPTC Support, import of keywords and picture description, showing other IPTC-tags
  • NEW! E-Card - you can now send e-cards to your friends and family
  • Screenshots for files to be downloaded, movie, audio, exe or whatever
  • Password protection for your private galleries
  • Admin section for creating new directories, uploading photos (works even with PHP safe_mode=on),Uploading ZIP Files preserving directory structure
  • Short and long description of galleries/directories and photos
  • Highly customizable layout, separated layout(HTML) from functional code, this allows easy creation of new themes
  • Caching of all generated thumbnails and resized photos
  • Transparent logo and icon processing with any background color, including IE6
  • Access logging, with exclude strings
  • And last but not least, you can help us with your suggestions to create usable, easy to install, php photo album script.

 

 

 
zhipeng-zhang.com/TinyWebGallery/    (customisable album, mp3, avi, flv, etc could be displayed in the built in program)

 TinyWebGallery Overview

The TinyWebGallery is a free php based gallery that is very easy to install, extremely user friendly, does not need a database (uses xml files) but still has all the features you should expect and much more.
Besides the features you find in most other galleries TWG has e.g.
  • AJAX navigation with sliding thumbnails
  • xml based comments/captions/view counter/Top X/Rating
    with security image ...
  • TWG Admin to upload/manage images, manage users,
    Color Manager, Configuration of TWG ...
  • Keyboard navigation (arrow keys)
  • 3 different slideshow types
  • Protected galleries,
  • Text and image watermarks
  • Embeded video support (new 1.5)
  • TWG Flash uploader (new 1.5)
  • Tag support (new 1.6)
  • Frontend is available in 23, backend in 4 languages! (new 1.6)
  • Supports all file formats like avi, mpg, mp3 for download
  • Fullscreen mode
  • Remote picture support
  • Low bandwith mode for slow connections
  • Can be integrated or integrates existing html e.g. as footer, header or
    inside the page
  • All features can be enabled/disabled/configured
  • And a lot of small things that makes this gallery unique right now.

TWG can be configured very fast for a professional gallery like a model agency but also for the pictures from the last ski holiday! Just check out the demos and the list of all functions. Maybe TWG is the image gallery you where looking for so long!

 
zhipeng-zhang.com/psipuss/    (simple photo album, allow users to upload pics, good for friends who need album space)
 
front end users can upload iamges and manage their own downloaed images.
 

psi-labs.com FREE Photo Uploader Share Script

A Photo / Images upload script created in php mysql, it allows members to upload images, photos to your website.

psi-labs.com photo upload share script

psipuss version 1.0 Released 14.04.07

To login to admin

http://www.hotscreenplay.com/photo/admin/
username: admin
password: 123

To login as a user

http://www.hotscreenplay.com/photo/

psipuss is free under the gnu license

Download Now in rar
Download Now in zip

php mysql script to share images

To remove our powered buy link at the bottom of the script: its only $10 per domain so please paypal $10 per domain name to sales at psi-labs.com include the domain name in the paypal payment. or email us for other payment options.

 

Join the mailing list for the cool new updates and scripts.

 

Photo gallery, Images upload script, upload images, pics, jpg, gif, bpm, photos.

psi photo upload share script

Allows members to upload images to your website

 

zhipeng-zhang.com/weatimages/

much alike the Plogger, less functionality. simple and good.

 

 
lightbox driven gallery. ECard.
 
 
 
 
only two progam files needed. The images on the home directory and display straight away. Not powerful. Good for small amount of pic demo.
 
 
 
 
 

--
Zhipeng Zhang (Alan)   BCompSc  MInfoTech MACS(Prov)

"You must be the change you wish to see in the world."

"Begin at the beginning and go on till you come to the end; then stop."
                                                                                       -- Lewis Carroll, Alice in Wonderland