Flash socket server + MiceTalk

Posted in Applications, Flash, Portfolio at 4:43 pm by Madarco

How promised, here my little perl Flash socket server.

This is a simple prototype that I've made to explore the power of non-blocking sockets.
I've tested it with a thousand connections and it should handle some more.
This can be used for a multiplayer flash game or a community chat, but since it isn't "production ready", use it at your own risk :)
It can be also useful to who want to implement his own server.

Features:

  • >=1000 connections
  • anonymous nick, free nick (free to choose you own) and registered nick with mysql/postgre/sqlite/dbo compatible
  • Can run in some web hosts like Dreamhost Update: It violates their policy

Download: Perl Flash socket server

To run:

CODE:
  1. ./creaTestDb.pl
  2. ./flashserve.pl

Here are also a bunch of AS classes to interact with the server and an example application like the "mouse chat" in my website. Update: my hosting (Dreamhost) doesn't allow FlashServe, the party is over
Sadly, since these was made 4 years ago with an italian friend, all the comments are in italian, if someone is interested, I can translate it.

Download: MiceTalk socket server example + Classes

You can use my server at dev.madarco.net:7777 but only in the Flash IDE (no crossdomain.xml)

Red Agency - ff0000.com

Posted in Flash at 12:03 pm by Madarco

Red Agency Universe

Flash buzz-site of the moment:
Red Universe is an interactive avatar chat in Flash, where you can explore the good-looking world while talking with others.

Little advertisement:
If you'd like to do something similar, look at www.madarco.net. If there aren't other users connected (likely), open it in two tabs and move the mouse to interact, type to talk.
I'll release my quick-and-dirty flash socketserver soon, it is written in perl and run on every Dreamhost hosting.

Ban Time Travel Now!

Posted in General at 12:18 am by Madarco

I've adhered to the campaign: "Ban Time Travel Now!"

Ban time travel NOWBan time travel NOW

Our mission:

To preserve the integrity of the spacetime continuum, I hereby petition the governments of the world to immediately enact laws banning the research and practice of time travel.

A better print_r: dBug

Posted in PHP at 7:38 pm by Madarco

dBug is a php library that print a nice-formatted dump of a variable:
PHP:
PLAIN TEXT

include_once("dBug.php");

 

$variable = array(

    "first"=>"1",

    "second",

    "third"=>array(

        "inner third 1",

        "inner third 2"=>"yeah"),

    "fourth");

 

new dBug($variable);

Will be formatted like this:

Variable types supported are: Arrays, Objects, Recordsets and XML Resources.

Read the rest of this entry »

Gearge Lucas in love

Posted in General at 2:53 pm by Madarco

Ok, this isn't a tech thing like the ones I usually wrote (but it is geeky):
a Star Wars remake like Shakespeare in Love, really funny!

Read the rest of this entry »

I have a website

Posted in Flash, Portfolio, Websites at 6:45 pm by Madarco

Finally!
Since I'm looking for a job I realized that I need a personal website, so I've quickly made a simple one.
Nothing special, apart that you can see the mouse of the others guests and talk with them (just write, then press enter).
Enjoy!

Read the rest of this entry »

Bruce Eckel on Flash

Posted in Flash, General, Java at 1:42 pm by Madarco

Here a great post of Bruce Eckel (author of "Thinking in..." books) on Java, Ajax and surprisingly: Flash.
So here’s my question. Allow for a moment the possibility that, after 10 years, Java is not going to take over the world of RIAs. Further allow that Ajax is just “how JavaScript was supposed to work in [...]

Read the rest of this entry »

Map of Web 2.0 startups in the world

Posted in General at 12:43 pm by Madarco

(from readwriteweb)
I've found really interesting this map of Web2.0 startups in the world:
Europe and World
Sadly nothing in Italy...

Read the rest of this entry »

CoComment

Posted in General at 12:38 pm by Madarco

CoComment is a new tool that manage all your online conversations: install the firefox plugin and it will recognize every blog/forum you visit and track the comment you post.
It will also attach a toolbar to every comments textbox:

Worth a try

Read the rest of this entry »

Plick time tracker

Posted in Applications, Flash, General, Portfolio at 7:10 pm by Madarco

Since I was looking for a way to organize my tasks, I've made:
Plick - Time tracker, a tool that help to keep track of what to do and the time spent on doing that.
The main features are the simplicity and that it help to stay in the schedule.
Using Plick is simple:
just specify a task and [...]

Read the rest of this entry »