cloud

In meteorology, a cloud is a visible mass of liquid droplets or frozen crystals made of water or various chemicals suspended in the atmosphere above the surface of a planetary body. read more at WikiPedia

  • Let's have a look at what some smart guys are developing using Google Maps...

    Google Maps is Google's latest product offering which provides a super cool mapping application for US street maps, driving directions, and local search.

    And the list go on....

    • Chating rooms: This example demonstrates bi-directional messaging between heterogeneous (Flash and AJAX) clients and WebORB Message Server. The server performs additional processing to geolocate chat users, injects necessary information in messages so users can plotted on the map.
    • Weather Bond: Weather Bonk lets you view real time weather information on a map. This can provide some very interesting information, particularly in areas with microclimates, such as San Francisco.
      The Interface do not only look great, but informations displayed as layer are really fantastics since it use also many sources: national weather services. Weather Underground, Weather Bug, Citizen Weather Observer Program, and National Weather Service. look at the About.

    It is as default displaying You the weather of Your  location (geo ip localization)
  • maven-logo-2 eclipse

    I did develop this solution at work for our internal purpose at www.innoveo.com. Going away from the paradigm “As a developer I run everything locally” isn’t easy to accept but in some rare cases, it make sense. Below I list what I consider to be the main advantages and drawbacks.

    Stability

    • Not everybody is changing the developer environment as you need admin right to be able to do changes, more stability.
    • The developer environment is standardized: convention over configuration always pays like in Apache Maven.

    Sharing

    • you can work from anywhere as long as you have an internet/VPN connection
    • You can move your working place around, show your workspace to a colleague, reduce your coupling to Windows, use Linux, use a Mac!

    Security

    • The source code stay on the server, if someone steal notebooks you don’t loose your software assets.

    Efficiency

    • Somebody maintains the developer environment and settings for you, some developers can still beta test a new eclipse version before till it is considered stable.
    • Rollout is limited to a minimum loss of time, as you will see below 
    • Setting up a new developer account is basically settings up a new account on the shared server, running 3 lines of shell.
    • The server  is not full of unwanted applications running in background, only java.exe. eclipse.exe, databases can still run on another server (MYSQL, Oracle), runtime environment (Tomcat).

    Speed, speed and speed

    • A server is cheap compare to one big notebook for every developer.
    • Server is most of the time fully 64bits, may have up to 8 cores, RAID 5 typically  output 350Mb/s read (a good notebook: 32 bits, 2 cores and 80Mb/s without SSD)

    Drawbacks

    • A shared developer environment is a Single point of failure –> you need a very good backup, and eventually hardware fallback machine in hot standby!
    • You can not work if developer have no or limited internet access, in train for example.
    • It required a bit of initial engineering, hence this article.

    Access

    Windows

    Use Windows Remote desktop connection, define a DNS entry to access the server.

    remote.desktop

    Linux

    Linux has a free remote desktop implementation of Microsoft protocol, if it not installed, run either on Debian

    # apt-get install rdesktop

    or in OpenSuSE

    # zypper install rdesktop

    or in RED HAT

    # yum install rdesktop

    Create a script .sh file to save the connection parameters:

    rdesktop -A -C -k de-ch -r PRIMARYCLIPBOARD -u username -p password -xl  ipadress

     

    Eclipse

    One install for all users

    1. Unpack the latest eclipse in any location, I recommend on c:\eclipse-3.5, but any location where you have some space will work.
    2. Start eclipse as administrator and install all required 3r party plugin: we use M2Eclipse, Subversive for example.
    3. Stop Eclipse,
    4. Remove ALL write rights to ALL users including admin if needed.
    5. When Eclipse will start under a developer account, it will copy its configuration files into C:\Users\%USERNAME%\.eclipse
    6. Every users will be able to adjust the eclipse.ini but these settings are a good start (adapt memory to your requirements)
    7. Create a shortcut for every developer on their desktop pointing to c:\eclipse\eclipse.exe

    C:\Users\cedric.walter\.eclipse\org.eclipse.platform_3.5.0_1770938306\configuration\eclipse.ini

    -startup
    plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.200.v20090519
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    -configuration
    ../Users/cedric.walter/.eclipse/org.eclipse.platform_3.5.0/configuration
    -Dfile.encoding="UTF-8"
    -vmargs
    -Xms2048m
    -Xmx2048m
    -XX:PermSize=256m
    -XX:MaxPermSize=256m
    -XX:+UseParallelGC

    Updating Eclipse

    A rollout of new Eclipse version is easy thanks to symbolic link. Download junction.exe, a small tool to create symbolic links

    Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer.

    and run as admin

    junction.exe c:\eclipse c:\eclipse-3.5

    Now thanks to symbolic links any update to a major new version of eclipse will be plain easy: just delete the symbolic link c:\eclipse and create a new one to the new version!

    Users with Multiple Eclipse workspaces

    1. Create an empty directory for hosting your new workspace, for example at
          e:\%USERNAME%\workspace\maven
    2. Create a new shortcut with this content
      C:\eclipse\eclipse.exe --launcher.ini
      "C:\Users\\%USERNAME%\.eclipse\org.eclipse.platform_3.5.0_1770938306\configuration\eclipse.ini"
      -data e:\\%USERNAME%\workspace\maven

    Apache Maven

    Maven Local repository, every user has it’s own

    It is not recommend to share the local Maven repository cache among users as Maven has no locking concept in place. The local maven repository is expected to be located at

    c:\users\%USERNAME%\.m2\repository

    If you have enough space there for all your users, you can skip that chapter, Otherwise I will show you how to locate it anywhere on the file system.

    Let’s store it at e:\%USERNAME%\repository, here I have choose another drive with more space as Maven local repository can be quite big (700Mb per user today)

    The design chosen impose me to one more time play with symbolic links, using junction.exe in c:\users\%USERNAME%\.m2\repository pointing to e:%USERNAME%\repository

    When you are logged in as a normal developer account, in a dos windows, run the following

    junction.exe c:\users\%USERNAME%\.m2\repository e:\%USERNAME%\repository

    Maven settings.xml, one for all users

    I like the idea to maintain only one settings.xml. Apache Maven recommend to have one settings.xml per user (located in c:\users\%USERNAME%\.m2\settings.xml). This is true if you have different responsibilities among all your developers. For example some may not be able to deploy in Artifactory/Nexus while other can. Luckily, this is not the case as for today in our company. That is why I will only have one Settings.xml on server, located at c:\server.xml

    I will use a hard link to c:\settings.xml. When you are logged in as a normal developer account, in a dos windows, run the following

    fsutil hardlink create c:\users\%USERNAME%\.m2\settings.xml c:\settings.xml

    This make Apache Maven think that the settings.xml is in the default location c:\users\%USERNAME%\.m2\

    Updating Maven

    I do use the same trick for having a unique version of maven binary on the server while keeping some flexibility thanks to symbolic links.

    1. Unpack Apache Maven anywhere
    2. As an admin, in a dos windows, run the following:
      junction.exe c:\maven-3.0-beta1 c:\maven

    Now you can let all your developer reference in M2Eclipse this virtual directory c:\maven. Switching all developers to a new version is done by deleting and pointing to an older/newer version of Maven.

    It is not finished

    Our shared developer environment setup also virtualizes MYSQL (multiple schema per developer ) and Tomcat (per developer port range) using –D system variables in eclipse.ini

    References

    Scenario 2 - shared install

    In this scenario, a single install area is shared by many users. The "configuration" directory under the install area is home only to the config.ini as shipped with the product (it is not initialized). Every user has their own local standalone configuration location.

    The set up for this scenario requires making the install area read-only for regular users. When users start Eclipse, this causes the configuration area to automatically default to a directory under the user home dir. If this measure is not taken, all users will end up using the same location for their configuration area, which is not supported.

  • If you want to know a bit more on the infrastructure that is used by Google...

  • dropbox

    Dropbox is arguably the best known cloud-based file sharing service. It’s available for Windows PCs, Macs, iPhones and Android smartphones. You get 2GB free of charge, but here is a tip to get 5GB more…

    With the service’s latest beta desktop software, Dropbox has added an automatic photo import feature. Plug in a camera or smartphone, and you’ll have the option to automatically import those pictures to your Dropbox account.

    During this beta period, Dropbox is also offering additional free space to test automatic uploading of photos and videos. For every 500MB of photos and videos automatically uploaded, you'll receive another 500MB space bonus, up to 4.5GB total. [Update: To clarify, you can get up to 5GB of free space with this feature, if you count the initial 500MB space for the first photo import].

    As usual, Dropbox strongly recommend making a backup of your Dropbox before upgrading to this build as we'll need a few weeks to be certain of its stability.

    Windows: http://dl-web.dropbox.com/u/17/Dropbox%201.3.13.exe
    Mac OS X: http://dl-web.dropbox.com/u/17/Dropbox%201.3.13.dmg
    Linux x86_64: http://dl-web.dropbox.com/u/17/dropbox-lnx.x86_64-1.3.13.tar.gz
    Linux x86: http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-1.3.13.tar.gz

    When you are finished, and credited , just remove your freshly uploaded pictures and keep the 5GB of additional storage!

    From http://forums.dropbox.com/topic.php?id=53104&replies=1791

  • gmaillogo hotmail_logo&160;

    Solution 1

    use GMAIL Mail fetcher to retrieve automatically all emails and tag them accordingly. All you have to do is to set up GMAIL fetcher to retrieve and tags your old email one step at a time. For example, I decide to migrate all my Joomla email away of Hotmail.

    1. I empty or move all items of my hotmail inbox&160; in another folder,
    2. I set GMAIL fetcher to retrieve and tag all my items automatically with a new tag Joomla (using “Label incoming message with”)
    3. In hotmail, I move all my old email from the folder Joomla to the inbox,
    4. After some seconds, all your email will be moved to GMAIL, and&160; the date and timestamp is preserved.
    5. Do this for all your email one category at a time till your Hotmail inbox is empty.
    6. Keep GMAIL Mail fetcher to retrieve automatically all future emails

    The only issue is that emails from the junk folder are not sent to GMAIL. A visit to Hotmail is still mandatory every months or so.

    Solution 2

    Export all your email for archiving on disk with Windows Live Mail Desktop, then use GMAIL Mail fetcher to retrieve automatically all future emails

    WindowsLiveMailDesktop

    Get multiple e-mail accounts in one program – Hotmail, Gmail, Yahoo!* and more. And now Windows Live Mail has a calendar, too. Mail combines the ease of use of Outlook Express, with the speed of Windows Live.

    Outlook won't let you connect officially, you need to pay! but Windows Live Mail Desktop allow you to connect to your free Hotmail accounts, and drag mail into IMAP mail accounts as well as "Local Folders".
    it stores local copies of your mails in a folder (which you can configure using Tools -> Advanced Options), so you’ll end up with many directories containing *.eml files. Perfect for archiving your old emails.

  • xenServer

    Citrix XenServer is a complete, managed server virtualization platform built on the powerful Xen hypervisor. Xen technology is widely acknowledged as the fastest and most secure virtualization software in the industry.

    In case you don’t have any optical drive attached to the server, this small how to will help you to install Xen Server as domain 0 (dom0) using USB flash drive.

    1. Download XEN server iso from http://www.citrix.com/English/ss/downloads/index.asp
    2. Format your USB drive using FAT32,
    3. Use an older version of UNetbootin to create a bootable disk. Download, start and follow the instruction in user interface,
    4. Just plug the USB flash drive and boot on it to complete the installation of Xen Server.

    UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It runs on Windows, Linux, and Mac OS X. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list (such as Ubuntu, Fedora, openSUSE, FreeBSD, PartedMagic)

    I used the version 393 and it worked, the latest version (549),  seems to have a bug and refuse to boot with an error message

    mboot.c32: not a COM32R image

    • BUG (discovered by CS): scanner classes were not using generic database and tablename prefix. An empty dataset of words has trigger a division by 0...the right way is to use the __ prefix when building a SQL statement....

    Version has been released in my download section, at joomla forge, and at demo.waltercedric.com (see it live running and change settings in admin panel)

    By the way, Joomla forge host now more than 943 open source projects, and has more than 22537 registered users :-)

  • I am IN! just got my invitation 2 hours ago... Visit the Getting Started Guide, the FAQ, or the Developer's Guide

    Unfortunately for me the only language supported now is Python 2.5, I would have prefer to use php or java

    &160;

    appengine.gif&160; Run your web applications on Google's infrastructure.

    Google App Engine enables developers to build web applications on the same scalable systems that power our own applications.

    No assembly required.
    Google App Engine exposes a fully-integrated development environment.

    It's easy to scale.
    Google App Engine makes it easy to design scalable applications that grow from one to millions of users without infrastructure headaches.

    It's free to get started.
    Every Google App Engine application will have enough CPU, bandwidth, and storage to serve around 5 million monthly pageviews.

    -------------------

    Hello,
    Thanks for signing up to try Google App Engine!&160; Your account has been activated, so you can begin building applications!
    To start creating applications with Google App Engine, simply follow this link (you may need to sign in with your Google Account) and verify your account with a mobile phone number:
    http://appengine.google.com/
    If you are having trouble verifying your account via SMS please fill out the following form and your account will be reviewed and enabled within seven days:
    http://appengine.google.com/waitlist/sms_issues
    Thanks!
    The Google App Engine Team

  • sony_playstation_ps3

    sony-ps3-home

    FINALLY I am IN!

    Dear PlayStation®Network member,
    Congratulations, you have been selected to help beta test PlayStation®Home!
    We appreciate your help in making the PlayStation®Home experience the best it can be! Please log in to Home this evening from 5 PM - 7 PM PST for a big celebration of
    Version 1.0 and a load test of our new features.
    How to download


    After you have signed in with your PlayStation®Network Account:
    - Go to the PlayStation®Store on the PLAYSTATION 3 system XMB™ (XrossMediaBar)
    - Select "Redeem Codes"
    - Enter the code (below)
    - Click "Continue"
    - The download will be available on the next screen

    77MB to download, 3077MB reserved on disk... I am IN :-)

    My pseudo is MagicianLord