The book of inspiration

January 27, 2010

24 – The Lost Episode

Filed under: video — Tags: — zproxy @ 9:42 am

PS. Video parameters “&w=800&h=500&fmt=18″

Thanks Captain Cursor!

January 26, 2010

Hi Volta, Hi Ripley, Hi Stratus

Filed under: jsc — Tags: , , — zproxy @ 11:22 am

There has been a while I’ve heard about volta project. Mind you jsc.meta (frontend) is now stronger than ever and taking on IL-to-IL translation and jsc (backend) is not anymore just about IL-to-javascript.

Seems like they have yet another project cooking – ripley project.

We propose Ripley, a system that uses replicated execution to automatically preserve the integrity of a distributed computation. Ripley replicates a copy of the client-side computation on the trusted server tier. Every client-side event is transferred to the replica of the client for execution.

Ripley prevents a malicious user or remote hacker from altering the behavior of code running inside a Web browser by creating an exact copy of the computational environment and running that copy on the server. Ripley then sends all of the user’s actions, including mouse clicks, keystrokes, and any other inputs, in a compressed “event stream” from the client to the server. This stream is run through the cloned client application on the server, and the behavior of that virtual doppelganger is compared to that of the application running on the user’s browser at home. If there are any discrepancies, Ripley disconnects the client.

It is very important to carefully analyze available tools and to place one self in the market. At the moment jsc is not in the business of replicating client side business logic in the server side. Yet jsc is capable of that. I will revisit this idea in the future.

If jsc solution were to implement the idea then:

  • Server side business logic could run on PHP
  • Server side business logic could run on Google App Engine Java
  • Server side business logic could run on ASP.NET
  • Client side business logic could run on javascript
  • Client side business logic could run on flash
  • Client side business logic could run on java

Update: Come to think about it jsc solution could pursue another goal of automatic synchronization of client applications via stratus which just recently got multicast support.

More by Stefan.

Nice?

  1. Source
  2. Read the interview with the author here.

Update:

Social Gaming 2010

Filed under: games — Tags: , — zproxy @ 8:39 am

[...] If nothing else then monetization efficiency will improve…

Source

January 25, 2010

Windows 3.11

Filed under: tech — zproxy @ 10:56 pm

Should jsc javascript have an example for windows forms which would look this?

Update: Discussed at Ajaxian.

win31

Update: Mentioned at CrunchGear.

January 20, 2010

The 20th Birthday Portfolio

Filed under: life — Tags: — zproxy @ 5:29 pm

Arnold Schwarzenegger (Photo: Robert Gallagher)

January 19, 2010

jsc solution

Filed under: jsc — Tags: — zproxy @ 3:18 pm

What if you could write all your components within C# in Visual Studio? Soon you will!

codename: jsc solution

What does jsc do? It will tear part your .net assembly and convert components to the target language and form. Neccesary proxy glue code will be generated and injected.

Future features:

  1. javascript application generation
  2. java applet object
  3. flash object with p2p stratus and alchemy
  4. java servlet for google app engine
  5. php code generation
  6. web services
  7. ORM
  8. Avalon
  9. Windows Forms

Update: The client side must be built first. Any compiled objects like javascript, assets, flash and java objects need to be embedded to server side code even just for asp.net. The second phase would then rewrite the asp.net assembly for php or java.

Source view mockup:

January 15, 2010

ReferenceWebSource

Filed under: jsc — Tags: — zproxy @ 4:13 pm

Good news! Your java application can now be compiled from source code on a web site. I am so excited:D

Disclaimer: This is a quick and dirty post.

by mxgraph

The new Pre-build event looks like this:

C:\util\jsc\bin\jsc.meta.exe ReferenceWebSource /ProjectFileName:”$(ProjectPath)”

Seriously, the other day I saw a blog post about how to make T4 download source code for you. At first I thought, thats just insane. It is a serious security liability. You will compile source code which you may have not written.

Update: I added the link. How long until the computer will automatically link to the posts by description? :D 5 years?

jsc.meta now supports this new command ReferenceWebSource, which basically scans your project and downloads references source files from the internet, compiles them, merges them, adds some attributes and adds the new assembly to your project as a reference. This opens up a whole new group of possibilites.

The upper projects are supposed to be external projects written by other developers. Your project is the ReferencingWebSource project. As you can see there are multiple folders in that project suffixed with WebSource. Each of those which has a references.txt file is basically a list of source codes on the web. They can point either to .vb or .cs.

ACME.X.WebSource.references.txt:

http://jsc.svn.sourceforge.net/viewvc/jsc/examples/java/ReferencingWebSource/MySnippetProject/ACME/Class1.cs

http://jsc.svn.sourceforge.net/viewvc/jsc/examples/java/ReferencingWebSource/MySnippetProjectVB/Class1.vb

The source code could be generated by the web server on the fly. Talk about WSDL in C# :) And after the downloaded code is compiled jsc.meta could apply any additional IL translation it wants to on it. It could go ahead and infer new types from existing code…

After you load your project you should do a build. This will invoke the pre build event and update the dynamic reference.

Here is an example of how I can use it in my project. Remember those Class1 types are downloaded via HTTP GET.

This feature is new and not fault tolerant. Oh and this windows forms project is also compiled to java.

Update: Future extension points:

  1. Reference source code in a zip or tar file.
  2. Reference assets within flash files
  3. Reference 3D objects within google warehouse.
  4. Reference HTML design documents
  5. Reference online wave files and compile them as inline components
  6. Reference windows forms textual design
  7. Reference game maker games for their assets
  8. Cache downloaded files for offline scenarios
  9. Check for forbidden API usage to increase security
  10. Reference HTML file with links to images and have them converted to embedded assets
  11. Reference UML diagrams and create components with (network) events?
  12. Reference XSD, XML, JSON to create serializeable DOM’s.
  13. Reference native classes. BCL assembly should be merged with the reference.
  14. Reference HTML DOM as IDL
  15. Reference static HTML file to inject dynamic code
  16. Merge current and sattelite assemblies and dump unused sattelite types to reduce code size.
  17. Reference open source .net projects and simplify by recompiling  them to be used with jsc

January 14, 2010

First Person Tetris

Filed under: games — Tags: , — zproxy @ 1:24 pm

Who comes up with the multiplayer version the fastest? Profit??:D

Motivation:

[...] We experience such pressure in casual games like Tetris

[...] For example the particular actions within a scene might have climbing tension: will I be quick enough to placethis falling block into that slot?

Update: A story.

Update: The music.

Flash runtime written in pure JavaScript

Filed under: tech — Tags: , — zproxy @ 9:46 am

Someone like Tobey has been ceazy enough to actually go and implement Flash Player in javascript. How crazy is that? It’s awesome for multitude of reasons!

Code:

  <body onload="new Gordon.Movie('trip.swf', {id: 'stage', width: 500, height: 400})">
    <div id="stage"></div>
  </body>

Example:

Gordon

Via Ajaxian

See also:

January 12, 2010

7 Ways to Get Past Tough Situations

Filed under: life — Tags: — zproxy @ 1:46 am

“Life is 10% what happens to you and 90% how you respond to it.” -Charles Swindoll

  1. Make acceptance an immediate priority.
  2. Remove fair from your vocabulary.
  3. Focus on the life lesson.
  4. Question whether it’s as big a problem as it seems.
  5. Make “Get strong” your mantra.
  6. Remember you can continue from this new place.
  7. Ask yourself how someone you respect would handle the situation.

by Lori Deschene

January 11, 2010

The Power of Youtube Marketing

Filed under: video — Tags: , , — zproxy @ 8:24 am

PS. Video parameters “&w=800&h=500&fmt=18″

Via Adrian

January 8, 2010

disk2vhd

Filed under: tech — Tags: — zproxy @ 10:41 am

It’s time to virtualize and back up your current envrionment. How do you do that?

  1. run “bcdedit /set detecthal on”
  2. connect external storage device
  3. rund disk2vhd to convert C: to a vhd file and save it at the external storage device
  4. create new virtual pc machine from the vhd
    1. boot into safe mode
    2. remove invalid display adapters (BB Capture Driver, MaxiVista Virtual Video ExtA)
    3. check for new hardware
    4. reboot

Update:

After a few months I did not actually know how to boot into Safe mode.

The first boot was ugly. I deleted the drivers mentioned in 4.2.

The second boot had color :)

Error:

Standard VGA Graphics Adapter

This device cannot find enough resources that it can use (Code 12)

Am I supposed to right click on my computer in the device manager and select this?

Scan for hardware changes

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 29 other followers