User:Romankozak/sandbox

=Web - RTC sandbox=

Hello statement
Hello, sandbox!

Web RTC
There is some info on Web RTC
 * 1) It's a standart
 * A collection of API's unified through all the platforms | site
 * 1) Main goal is to provide web developers with simple and powerful tool for audio/video/data streaming real-time communication via javascript
 * Native C++ API's for browser developers are available
 * 1) Google IO 2012 | Web RTC presentation by Justin Uberti

Other stuff

 * Wiki page for that is

Also, there is this black square image:

Math
$$f(x)=\frac{a_0}{2}+\sum_{n=1}^\infty a_n\cos(\frac{2n\pi x}{T})+b_n \sin(\frac{2n\pi x}{T})$$

$$\begin{cases} 1 & -1 \le x < 0 \\ \frac{1}{2} & x = 0 \\ x & 0 < x \le 1 \end{cases}$$

$$ \Gamma(z) = \int_0^{r}e^{-t}t^{z-1}dt $$

$$ J_p(z) = \sum_{k=0}^{\infty}\frac{(-1)^k(\frac{z}{2})^{2k+p}}{k!\Gamma(k+p+1)} $$

=Стаття=

Objective-J - це мова програмування, розроблена в складі фреймворку для веб-розробки Cappuccino. Синтаксис мови майже ідетичний з синтаксисом Objective-C та зберігає таке ж відношення до JavaScript, як Objective-C до C: that of being a strict, but small, superset; adding traditional inheritance and Smalltalk/Objective-C style dynamic dispatch. Pure JavaScript, being a prototype-based language, already has a notion of object orientation and inheritance, but Objective-J adds the use of class-based programming to JavaScript.

Programs written in Objective-J need to be preprocessed before being run by a web browser's JavaScript virtual machine. This step can occur in the web browser at runtime or by a compiler which translates Objective-J programs into pure JavaScript code. The Objective-J compiler is written in JavaScript; consequently, deploying Objective-J programs does not require a web browser plug-in. Objective-J can be compiled and run on NodeJS.

Applications
The first widely known use of Objective-J was in the Cappuccino-based web application 280 Slides, which was developed by 280 North itself. Even though Objective-J can be used (and has been designed) independently from the Cappuccino framework, Objective-J has primarily been invented to support web development in Cappuccino.

Applications designed using the Cappuccino Framework

 * Mockingbird
 * PicEngine
 * GithubIssues
 * TimeTable
 * Enstore
 * Almost At
 * Akshell - Online JavaScript Web-App IDE
 * Archipel Project - Virtual machine orchestrator
 * Spot Specific - Mobile App SDK and IDE

Syntax
Objective-J is a superset of JavaScript, which means that any valid JavaScript code is also valid Objective-J code.

The following example shows the definition and implementation in Objective-J of a class named Address; this class extends the root object CPObject, which plays a role similar to the Objective-C's NSObject. This example differs from traditional Objective-C in that the root object reflects the underlying Cappuccino framework as opposed to Cocoa, Objective-J does not use pointers and, as such, type definitions do not contain asterisk characters. Instance variables are always defined in the @implementation. @implementation Address : CPObject {  CPString name; CPString city; }

- (id)initWithName:(CPString)aName city:(CPString)aCity {   self = [super init];

name = aName; city = aCity;

return self; }

-(void)setName:(CPString)aName {     name = aName; }

-(CPString)name {     return name; }

+(id)newAddressWithName:(CPString)aName city:(CPString)aCity {     return [[self alloc] initWithName:aName city:aCity]; }

@end As with Objective-C, class method definitions and instance method definitions start with '+' (plus) and '-' (dash), respectively.

Memory management
Like Objective-C 2.0's garbage-collected mode, objects in Objective-J do not need to be manually released because they are automatically freed by JavaScript's garbage collector.