[ del.icio.us poetry ]

http://www.stumbleupon.com/su/2JRgoe/www.smashingmagazine.com/2010/02/08/color-theory-for-designer-part-3-creating-your-own-color-palettes/
Reply:
Hide
http://perfectionkills.com/
http://www.choiceswitch.com.au/

Compare, switch and save on your bills!

Gas & Electricity

Switch energy
providers and save

Home Phone

Reduce the cost of
your phone calls

Broadband

Find the best
deals for internet
connections

6 great reasons to use our service

  • It's FREE.
  • You can save money.
  • Switching takes just 5 minutes.
  • We compare all major providers.
  • Impartial advice you can trust from CHOICE.
  • We deal with the providers so you don't have to.

All switch applications are handled using SSL technology

http://www.musee-resistance.com/
logo
actu visite historiens associations pedagogie infos

"L'armée du crime" le film de Robert Guediguian consacré aux 23 de l'Affiche rouge vient de sortir sur les écrans de cinéma.

Le Musée de la Résistance nationale a participé à l'élaboration du site internet consacré au film ainsi qu'à la rédaction de la brochure pédagogique.
Rendez-vous sur le site :

www.larmeeducrime-lefilm.com

 

5ème édition du festival
"La Résistance au cinéma"


Organisé en Seine-Saint-Denis par l'association des amis du Musée de le Résistance nationale de Seine-Saint-Denis (du 3 au 9 février 2010)

Programmation

 

18 JUIN 1940

Concours national de la Résistance et de la Déportation 2009-2010 : L'appel du 18 juin 1940 du général de Gaulle et son impact jusqu'en 1945

Les ressources en ligne du Musée de la Résistance nationale

Télécharger le bulletin pédagogique Résistance

Accéder à l’ensemble documentaire sur le site du CRDP de l’académie de Créteil

EXPOSITION
L’espérance doit-elle disparaître ?
Général de Gaulle, 18 juin 1940


Exposition temporaire au Musée de la Résistance nationale

Exposition itinérante

 

http://www.reddit.com/r/technology/comments/9eyag/nokia_n900_vs_iphone_3gs_specs_side_by_side/
http://www.verycd.com/topics/2728237/
http://www.wpacracker.com/

WPA Cracker is a cloud cracking service for penetration testers and network auditors who need to check the security of WPA-PSK protected wireless networks.

WPA-PSK networks are vulnerable to dictionary attacks, but running a respectable-sized dictionary over a WPA network handshake can take days or weeks. WPA Cracker gives you access to a 400CPU cluster that will run your network capture against a 135 million word dictionary created specifically for WPA passwords. While this job would take over 5 days on a contemporary dual-core PC, on our cluster it takes an average of 20 minutes, for only $17.

NEW :: We now offer Germany dictionary support, a 284 million word extended English dictionary option, and ZIP file cracking.

http://www.elegantthemes.com/
  • slider-1
  • slider-1
  • slider-1

what you get

Each WordPress theme comes expertly coded in valid XHTML and CSS, and all are made compatible with the latest version of WordPress. I make sure that each template performs flawlessly in each of the most widely used browsers to ensure maximum functionality. Furthermore, all sidebars are made widget ready for your convenience. cross browser Cross-browser compatibility guaranteed options Intuitive theme options page gives you control support A focus on support and community updates Frequent theme additions and upgrades

recently added wordpress themes

updates OnTheGo | Jan 6, 2010 A UNIQUE AND PLAYFUL HAND-DRAWN WORDPRESS THEME updates Deviant | Dec 28, 2009 A FUN AND IN-YOUR-FACE DESIGN updates Lumin | Dec 9, 2009 A PROFESSIONAL PORTFOLIO THEME updates Glow | Nov 1, 2009 MAKE YOUR BLOG SPARKLE
join join

from the blog

Elegant Themes Icon Pack, For Free!
I needed a few icons for a new theme I am designing, and after being unable to find any open-source/restriction free icons that suited the theme, I resorted to creating ... New Theme: OnTheGo
My newest theme, OnTheGo, has been released today. OnTheGo is a completely hand-drawn theme that was scanned in and compiled to create a fresh and interesting design. It ... New Theme: Deviant + Theme Sneak Peek
My newest theme, Deviant, has been released today. With this design I wanted to have fun and create something unique and in-your-face. I enjoy the bold titles, grungy ...

stay connected

subscribe to rss twitter page facebook page
http://www.wired.com/
http://www.readynas.com/?p=253

Making Time Machine work with the ReadyNAS

April 20, 2008 by yoh-dah  
Filed under Mac Corner

The following is a summary of how to make Time Machine work with the ReadyNAS by DavidB based on initial contribution by btaroli and refinements by sirozha and a host of others on the ReadyNAS Mac/OSX Forum. We are thankful of the Mac enthusiasts who frequent and contribute to the ReadyNAS forum.

If you are using RAIDiator 4.1.5+ on the ReadyNAS NV+, NV, Duo, 1100, X6, or 600, or RAIDiator x86 4.2.3+ for the ReadyNAS Pro or NVX, you can use the built-in Time Machine support on the ReadyNAS for a simpler of setting up your backups.  Instructions here.

Ok I’ve just converted a second machine to use the NAS for networked Time Machine backups, and this time things went straight through without any mistakes. Here’s the run-down:

This example was done using a Mac Mini with a hostname of “magpie”, running OS X 10.5.2 and connected via 802.11g to a ReadyNAS NV+ (RAIDiator 4.01c1-p1 [1.00a041] with AFP patch loaded). I’ve created separate AFP shares for each machine (“TMmagpie” in this case) and set them to be accessible just to the “owner” of the machine. I could have set up one share to contain Time Machine backups for all clients, but then it could be possible for a user to access someone else’s private data within the backups.

Do make sure to keep the hostname simple — i.e. don’t have quotes in it like “Maggie’s Mac”, or the process will fail.

With the share set up on the NAS already, everything else we do is local to the client (magpie in this case). Some of the commands I list here are run within Terminal.app, although there are alternate (GUI) ways of accessing some of the functions.

This machine had previously been doing Time Machine backups to a local Firewire disk, and part of the process outlined here is to copy the contents of that disk to the NAS so that further backups build on top of the existing ones. No need to throw away the old backups!

  1. In System Preferences, turn Time Machine off.
  2. Find the MAC address of the machine’s internal Ethernet port:
    $ ifconfig en0 | grep ether

    This should produce a single line of output, such as:

    ether 00:16:cb:af:91:d7

    Even if the network backups will be done using a different port (e.g. AirPort: usually “en1″) the system will use the address of en0 as part of the system identifier.

    In this case the identifier that Time Machine will use is “magpie_0016cbaf91d7″.

  3. Make a new “sparsebundle” on a local disk (NOT the Time Machine disk!). This sparsebundle is a virtual filesystem image which we’ll copy to the NAS, and Time Machine will then access it remotely (that way Time Machine’s not limited by the filesystem features of whatever NAS it’s using: all the funky stuff happens within the sparsebundle). By default sparsebundles can keep growing until they fill up the NAS, but in this scenario we keep other things on the NAS as well as backups, and we’re going to limit the sparsebundle size to 140 GB. We called this one “Backup of magpie” as that’s the default name created by Time Machine, but in fact you can call the volume anything you like.
    $ hdiutil create -size 140g -fs HFS+J -volname "Backup of magpie" magpie_0016cbaf91d7.sparsebundle
    created: /Users/david/magpie_0016cbaf91d7.sparsebundle $

    This Mac Mini hasn’t had things like developer tools loaded: hdiutil comes with the OS. We make the sparsebundle manually so we can impose the size limit, and we do it on a local disk because of a bug that prevents creation of a sparsebundle remotely on the NAS (although they can be used when in place). The sparsebundle doesn’t start at 140 GB: it grows as more data is put in the filesystem inside it, up to a maximum of 140 GB.

  4. If you’re not going to copy the contents of an existing Time Machine disk, skip ahead to step 9.
  5. Mount the sparsebundle:
    $ open magpie_0016cbaf91d7.sparsebundle

    You’ll see “Backup of magpie” appear as a mounted volume in Finder.

  6. Copy the old Time Machine backups to the sparsebundle. In Disk Utility:
    Click on Time Machine disk on the left panel, then select the “Restore” tab:

    1. Drag the local Time Machine volume to the Source field
    2. Drag the sparsebundle volume (“Backup of magpie”) to the Destination field
    3. Select “Erase destination” (possibly not mandatory)
    4. Restore

    This will take a while, depending on how much data is on the drive…

  7. If you selected “Erase destination” in Disk Utility, the volume name will have been copied from the local Time Machine disk. Rename the new volume back to “Backup of magpie” (or whatever name you chose).
  8. Unmount (“eject”) the sparsebundle volume.
  9. Mount the NAS share the sparsebundle will be mounted on (“TMmagpie” in this case). I mount all our shares via AFP, but you can presumably use CIFS also. Once it’s mounted, it will be accessible within Terminal.app as /Volumes/TMmagpie.
  10. Copy the sparsebundle to the share:
    $ rsync -avE /Users/david/magpie_0016cbaf91d7.sparsebundle /Volumes/TMmagpie/.

    Depending on your network (802.11g, 802.11n, 100bT, 1000bT, etc) this can take a long time!
    rsync is smart enough to only copy the new bits of a file, so you can stop and re-run that command if necessary without re-copying everything.

    In the meantime you can go ahead and use the machine. Just don’t turn Time Machine backups back on yet.

  11. If the local copy of the sparsebundle is in an area that will be backed up by Time Machine, remove it before proceeding. We don’t want to double the size of the Time Machine backup for no good reason!
  12. In the Time Machine System Preferences panel, select “Change Disk…”. It will display a list of volumes you can backup to. If the share containing the sparsebundle isn’t listed (you did mount it, right?) it’s probably because it’s not mounted from a Time Capsule or another OS X machine. To show the share in this display you’ll need to have executed the following command in Terminal:
    $ defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

    You’ll need to log out and in again for this to have effect (select “Log Out” from the Apple menu: you can Restart, but logging out will do). Now mount TMmagie again, then try Time Machine’s “Change Disk…” again.

  13. Select the share on the NAS (“TMmagpie”) as the new destination for Time Machine backups.
    Time Machine will automatically turn itself back on and schedule a backup to begin in two minutes. If you didn’t populate the sparsebundle with the contents of a local disk, this first backup will be a full backup and can take a very long time (depending on things like your network infrastructure). If you did pre-populate the sparsebundle, this backup will be an incremental backup and shouldn’t take long at all (depending on how much has changed on the machine since you turned Time Machine off in Step 1 of course). Once the backup has started, keep going with the remaining steps in this list while the backup is running.
  14. You can now eject the TMmagpie share. Time Machine will automatically mount the sparsebundle file directly (during backups you’ll see “Backup of magpie” mounted).
  15. Unfortunately Spotlight will try to index the contents on the “Backup of magpie” share, which will slow down the backups significantly. To avoid this, as soon as the share is mounted for the first time go to Spotlight’s Privacy panel in System Preferences. Use the ‘+’ button at the bottom, select the “Backup of magpie” share, and Spotlight will then ignore it. If Spotlight has already started indexing it, it should immediately stop and the backup will speed up.

That’s it. Congratulations! New Time Machine backups should happen every hour, and you can access all the backup files via the usual Time Machine interface.With magpie this has allowed us to disconnect the local 200G Firewire disk previously used for Time Machine backups: this drive was significantly noisier than the Mac Mini itself!

1 Star2 Stars3 Stars4 Stars5 Stars (194 votes, average: 4.55 out of 5)
Loading ... Loading ...

Comments are closed.

http://java.sun.com/j2se/javadoc/

Core Java

Javadoc Tool

 
Documentation
FAQs
 
Community
Bug Database
Forums
 
Tutorial and Code Camps
 
 
Javadoc is a tool for generating API documentation in HTML format from doc comments in source code. It can be downloaded only as part of the Java 2 SDK. To see documentation generated by the Javadoc tool, go to J2SE 1.5.0 API Documentation.
 
Doclets

The standard doclet generates HTML and is built into the Javadoc tool. Other doclets that Java Software has developed are listed here.

  • Doclet API is an API provided by the Javadoc tool for use by doclets. See Doclet Overview for a basic description and simple examples. (These documents are for version 1.3 of Java 2 SDK, Standard Edition.)
  • Taglet API is an interface provided for custom formatting the text of Javadoc tags. Taglet Overview for a basic description and simple examples. (These documents are for version 1.5 of Java 2 SDK, Standard Edition.)
  • MIF Doclet - Want beautiful PDF? This doclet can automate the generation of API documentation in PDF by way of MIF. It also enables you to print directly to a printer. MIF is Adobe FrameMaker's interchange format.
  • DocCheck Doclet checks doc comments in source files and generates a report listing the errors and irregularities it finds. It is part of the Sun Doc Check Utilities.
  • Exclude Doclet is a simple wrapper program that enables you to exclude from the generated documentation any public or protected classes (or packages) that you specify. It takes a list of classes in a file and removes them from the RootDoc before delegating execution to the standard doclet.
  • Doclet Toolkit is an API and implementation for doclets emulating the standard doclet. We plan to release this toolkit hopefully during 2004. More information will be available here and through the Javadoc announce email listed below.
 
What's New
 
 
February 2004
Javadoc 1.5.0 New features and bug fixes in Javadoc tool in J2SE 1.5.0.
 
Javadoc Tool Forum
Join the Javadoc Tool Forum and share comments and questions with other developers.
 
javadoc-announce@java.sun.com
Receive announcements about the Javadoc tool and Sun doclets (DocCheck, MIF Doclet)
 
Javadoc tool email address
Send your questions to this address -- any comments or issues related to Javadoc tool, the standard doclet, the MIF doclet, the DocCheck doclet, and the localization doclet, among others.
 
Bug Reports and Feature Requests
Please see if your bug report or feature request is already listed in our database. If not, submit your bug by following the instructions at How Do I Submit Bugs and Feature Requests?.

Related Links
 


Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.



http://omgbloglol.com/post/371893012/the-path-to-rails-3-greenfielding-new-apps-with-the
  1. The Path to Rails 3: Greenfielding new apps with the Rails 3 beta

    Upgrading applications is good sport and all, but everyone knows that greenfielding is where the real fun is. At least, I love greenfielding stuff a lot more than dealing with old ghetto cruft that has 1,900 test failures (and 300 errors), 20,000 line controllers, and code that I’m pretty sure is actually a demon-brand of PHP.

    Building a totally new app in Rails 3 is relatively simple (especially if you’ve done it in previous Rails versions), but there a few changes that can trip you up. In the interest of not missing a step someone may need, this post is a simple walkthrough of building a new app with Rails 3. I would have simply posted about the Rails 3 version of the Getting Started guide, but it’s actually a bit out of date now. I’ve committed each step in its own commit on Github so you can step through it (the repository is here: http://github.com/jm/rails3_blog)

    An aside: Installing the Rails 3 beta

    Installing the Rails 3 beta can be sort of tricky since there are dependencies, it’s a prerelease gem, and RubyGems basically poops the bed when those two scenarios collide. Hopefully that’ll be fixed soon, but the mean time, install Rails’ dependencies like so:

    gem install rails3b
    gem install arel --pre
    
    # or if that gives you hassle...
    
    gem install i18n tzinfo builder memcache-client rack \
                rack-test rack-mount erubis mail text-format thor bundler
    

    Once all those lovely gems are installed (add --no-ri and --no-rdoc if you want to skip those/speed up your install), then install the prerelease version of Rails:

    gem install rails --pre
    

    Now you’re ready to roll on with the Rails beta!

    Using the new generator

    The application generator is basically the same with two key differences:

    • The parameter that was formerly the app name is now the app path. You can still give it a “name,” and it will create the folder like normal. But you can also give it a full path (e.g., ~code/my_application rather than just my_application) and it will create the application there.
    • All parameters for the generator must go after the app path. So, previously one could do rails -d mysql test_app, but now that has to be rails test_app -d mysql. This change is largely due to the major refactoring of the Rails generators, so even though it’s somewhat of a temporary annoyance, it’s definitely worth it for the flexibility and power that the new generators bring (more on that soon).

    So, let’s generate a blog application (really original, I know, right?):

    rails rails3_blog -d mysql
    

    If you get an error like “no value provided for required arguments ‘app_path’”, then you’ve gotten your parameters out of order. If you’d like to use another database driver, you can provide postgresql or sqlite (or nothing, since sqlite is the default). You’ll see a lot of text scroll by, and now we have a nice, fresh Rails 3 application to play with [4b6b763ac9378c6cde95b0815d2a4c2619a0e403].

    Let’s crank up the server (note that it’s different now!)…

    rails server
    

    Rails went the “Merb way” and has consolidated its many script/* commands into the rails binscript. So things like generate, server, plugin, etc. are now rails generate and so on. Once the server’s booted, navigate over to http://localhost:3000 and you should see a familiar friend:

    You're on board!

    Click on “About your application’s environment” to see more information about the app you’ve generated.

    Configuring an app

    Now comes the task of configuration. Again, not a whole ton of changes from previous versions, but navigating them can trip up the novice and journey(wo)man alike. First, setup all your database settings in database.yml; it’s just like previous versions of Rails, so no surprises there (and plenty of information abounds if you’re new to it).

    Next, pop open config/application.rb. This is where much of the configuration information that once lived in config/environment.rb now lives. The portion you probably want to pay attention to most when making a new application is the block that defines your options for ORM, template engine, etc. Here’s the default:

    config.generators do |g|
      g.orm             :active_record
      g.template_engine :erb
      g.test_framework  :test_unit, :fixture => true
    end
    

    I’m going to stick with the defaults, but you could substitute in something like :datamapper or :sequel for :active_record, :haml for :erb, or :rspec for :test_unit (once they get it working with Rails 3). Doing so will set the generators for models, views, etc. to use your tool of choice (remember that whole technology agnosticism thing?); I don’t know if all these generators are available yet, but there are some available here.

    The config/application.rb file also houses some configuration for other things.

    • If you need to configure internationalization, it’s been moved to application.rb. Rails 3 comes equipped with a really powerful i18n toolkit; if you haven’t seen it, you can learn a little more about it here. The defaults that Rails sets up will work for most people (default locale is en and all translations in the default directory are automatically imported), so you may not need to touch anything, but if you need to customize, this is the place to do it.
    • You may want to set a default timezone. I usually stick with UTC since it’s easy to convert on a per-user basis to their desired timezone, but you might want to set it your timezone or the server’s timezone.
    • Your favorite old haunts from config/environment.rb such as config.plugins, config.load_paths, etc. are still there (even though config.gems is not).

    Other configuration bits like custom inflections, mime types, and so on have been moved out into their own initializers that you can find under config/initializers. [b613cef6f92ff7d3304da84dba530196ba51371d]

    The last big piece of configuration you’ll need to add is a Gemfile for bundler (get more information on Gemfiles and bundler here and here). We already have a basic Gemfile that has the following:

    # Edit this Gemfile to bundle your application's dependencies.
    source 'http://gemcutter.org'
    
    gem "rails", "3.0.0.beta"
    
    ## Bundle edge rails:
    # gem "rails", :git => "git://github.com/rails/rails.git"
    
    gem "mysql"
    
    ## Bundle the gems you use:
    # gem "bj"
    # gem "hpricot", "0.6"
    # gem "sqlite3-ruby", :require => "sqlite3"
    # gem "aws-s3", :require => "aws/s3"
    
    ## Bundle gems used only in certain environments:
    # gem "rspec", :group => :test
    # group :test do
    #   gem "webrat"
    # end
    

    Notice that it has added mysql as a dependency since that’s what we set as the database (or whatever driver you selected, for example, pg or sqlite). Since I want to write blog entries in Markdown, I’m going to add rdiscount as a dependency. To do so, I simply have to add this:

    gem "rdiscount"
    

    As I’ve said before, bundler is much more powerful than config.gem, and one of the great features it adds is the concept of a gem “group.” For example, let’s say I want to use mocha, but only when testing (obviously). You would add this to your Gemfile:

    group :test do
      gem "mocha"
    end
    

    Now this gem will only be added in when testing. This will also be useful for production only gems related to caching and what not. [598652fa49634eaa9d23ab8df652faf73dfd07f4]

    Next, run bundle pack if you want to vendor everything or bundle install to install the gems to system gems. After you’ve combed through this stuff and set whatever you need, you’re done configuring your application. Now on to actually building something.

    Building it out

    So, we’re going to build a very simple blog (and expand it later). First, let’s generate a scaffold for posts, since that’ll generate a lot of boilerplate code that we’ll go back and tweak:

    rails generate scaffold post title:string body:text
          invoke  active_record
          create    db/migrate/20100202054755_create_posts.rb
          create    app/models/post.rb
          invoke    test_unit
          create      test/unit/post_test.rb
          create      test/fixtures/posts.yml
           route  resources :posts
          invoke  scaffold_controller
          create    app/controllers/posts_controller.rb
          invoke    erb
          create      app/views/posts
          create      app/views/posts/index.html.erb
          create      app/views/posts/edit.html.erb
          create      app/views/posts/show.html.erb
          create      app/views/posts/new.html.erb
          create      app/views/posts/_form.html.erb
          create      app/views/layouts/posts.html.erb
          invoke    test_unit
          create      test/functional/posts_controller_test.rb
          invoke    helper
          create      app/helpers/posts_helper.rb
          invoke      test_unit
          create        test/unit/helpers/posts_helper_test.rb
          invoke  stylesheets
          create    public/stylesheets/scaffold.css
    

    Next, run rake db:migrate to create the database table for Post. Now if you go to http://localhost:3000/posts, you should see the standard scaffold interface. [8f27fe53282de70343afadaedd583ecc279d535d]

    Let’s a take a look at the controller code; you’ll see a lot of actions that look sort of like this:

    def show
      @post = Post.find(params[:id])
    
      respond_to do |format|
        format.html # show.html.erb
        format.xml  { render :xml => @post }
      end
    end
    

    That’s some clean code, but in Rails 3, we can compress down even further with the Responder. This class wraps very common rendering logic up into some really clean helpers. To use it, you’ll need to add what formats your actions respond with to the class:

    class PostsController < ApplicationController
      respond_to :html, :xml
    
      .
      .
      .
    end
    

    So your show action goes from the above to this:

    def show
      @post = Post.find(params[:id])
    
      respond_with(@post)
    end
    

    Now the action will automatically look at the state of the object, the format requested, and respond accordingly. So, for example, if you successfully create an object in create, it will redirect to show; if it fails, it will render new (this is assuming, of course, you’re requesting HTML). Of course, if you need custom logic, you’ll want to do something else, but these helpers make already clean, RESTful code even easier and cleaner. Make sure to rake to make sure you refactored it right! [53846f92393e10146fbf2d9b43b530a244d0137e]

    Next, open up config/routes.rb. It should look something like this (with oodles of extra commented out routes):

    Rails3Blog::Application.routes.draw do |map|
      resources :posts
    end
    

    To set PostController’s index action to the root, we need to do two things. First, remove public/index.html otherwise it’ll always overtake any root route you set. Next, add a root route to config/routes.rb like this:

    Rails3Blog::Application.routes.draw do |map|
      resources :posts
    
      root :to => "posts#index"
    end
    

    Now going to http://localhost:3000 should show the posts index page. [120c377c8ec1c138d600f9b9bc39bedf1d43afd4] OK, so now that most of the functionality is in place, let’s make it look presentable; here’s my version of the index template:

    <% @posts.each do |post| %>
      <h2><%= link_to post.title, post %></h2>
      <p>posted at <%= post.created_at.strftime('%D') %></p>
      <p><%= post.body %></p>
    <% end %>
    
    <%= link_to 'New post', new_post_path %>
    

    You can see what other design edits I made in this commit [03b2c39d65331f7dfeb4ada89cf65604f7130e2d].

    Now we need to add the Markdown functionality to the Post model. First, let’s generate a migration [2cbb0b04411ac1712a4f5039ed93bdad0cb6e76e]:

    rails generate migration AddRenderedBodyToPosts rendered_body:text
    

    Migrate your database, and now we’re ready to move on to testing. Write a simple test to make sure it renders the body after a save [af83a5a2e85a1679896e989f6828d1f5ee4aa7d3]:

    require 'test_helper'
    
    class PostTest < ActiveSupport::TestCase
      test "renders Markdown after save" do
        post = Post.create(:title => "This post rocks.", :body => "Now *this* is an awesome post.")
    
        assert_equal "<p>Now <em>this</em> is an awesome post.</p>", post.rendered_body.chomp
      end
    end
    

    If you rake now, that test should fail. So, let’s make it pass:

    class Post < ActiveRecord::Base
      before_save :render_body
    
      def render_body
        self.rendered_body = RDiscount.new(self.body).to_html
      end
    end
    

    You should be all green [4730cd4e8601c74a05b9763d307b462f76e44b26]! Now we’ll need to go back and change the instances of body to rendered_body on the index and show views.

    That’s pretty standard Rails stuff, so let’s do something Rails 3-specific now. First, let’s add some validations; we’ll want to make sure that every post has a title and a body.

    test "requires title" do
      post = Post.create(:body => "Now *this* is an awesome post.")
      assert !post.valid?
      assert post.errors[:title]
    end
    
    test "requires body" do
      post = Post.create(:title => "This post rocks.")
      assert !post.valid?
      assert post.errors[:body]
    end
    

    Note the new API for Active Record errors (i.e., [] rather then on) [930e8868b0e4d8904d6f5090f6b445b0c428f71f]. Now, of course, we have to make them pass…

    class Post < ActiveRecord::Base
      before_save :render_body
    
      validates :title, :presence => true
      validates :body, :presence => true
    
      def render_body
        self.rendered_body = RDiscount.new(self.body).to_html
      end
    end
    

    As you probably noticed, the API for Active Record validations I’ve used here is different (the validations shown are equivalent to a validates_presence_of validation, which are still around) [178bb06839bb44978f42c922c9348bfe783da8b1]. You can read a little more about the new style of validations here. So, now if you try to create a post without a title or body, it’ll reject it.

    More later…

    I realize this introduction is extremely simple, but I’ll expand on it very soon (including authentication, commenting, post drafts, an API, spam protection, feeds, caching, etc. with a separate entry after it on deployment). I’ll get to that sort of stuff very soon, but my next post is going to be a walkthrough of upgrading an app step by step (very similar to this entry). Look for it in a few days!

    Comments
  2. blog comments powered by Disqus

Powered by Tumblr; designed by Adam Lloyd.

http://rush.heroku.com/

rush is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax. Grep through files, find and kill processes, copy files - everything you do in the shell, now in Ruby. Previously if you wanted to count the number of classes in your project, you might use a bash command like:

find myproj -name \*.rb | xargs grep '^\s*class' | wc -l

In rush, this is:

myproj['**/*.rb'].search(/^\s*class/).lines.size

How about killing those pesky stray mongrels? Before:

kill `ps aux | grep mongrel_rails | grep -v grep | cut -c 10-20`

After:

processes.filter(:cmdline => /mongrel_rails/).kill

But rush is more than just an interactive shell and a library: it can also control any number of remote machines from a single location. Copy files or directories between servers as seamlessly as if it was all local. bash and ssh, we love you, but your era is past.

Example of remote access:

local = Rush::Box.new('localhost') remote = Rush::Box.new('my.remote.server.com') local_dir = local['/Users/adam/myproj/'] remote_dir = remote['/home/myproj/app/'] local_dir.copy_to remote_dir remote_dir['**/.svn/'].each { |d| d.destroy }

Clustering? Well, if you insist:

local_dir = Rush::Box.new('localhost')['/Users/adam/server_logs/'].create servers = %w(www1 www2 www3).map { |n| Rush::Box.new(n) } servers.each { |s| s['/var/log/nginx/access.log'].copy_to local_dir["#{s.host}_access.log"] }

More examples

http://www.douglasjohnston.net/templates/diyplanner2a_methods_a5.pdf
http://www.marcprensky.com/dgbl/Prensky%20-%20Selected%20URLs(web).htm
http://nufficglossary.nuffic.nl/
http://ministatus.com/
Loading Page...please wait loading page
http://www.instantshift.com/2009/02/22/140-brilliant-free-wordpress-themes-around/
http://flowplayer.org/


You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Flowplayer - flash video player for web

Download Now Version : 3.1.5
Oct 24, 2009
New features in 3.1

Show me

Email this video

demo version only. will not send any email


Embed this video

Flowplayer is an Open Source (GPL 3) video player for the Web. Use it to embed video streams into your web pages.

Built for site owners, developers, hobbyists, businesses and serious programmers.

Flash technology ensures that 98% of all Internet users can see your videos. Highly skinnable and extendable. No other software makes it easier.

Extend Flowplayer with Plugins

Every aspect of Flowplayer is a plugin. Even the controlbar is a plugin that can be removed or replaced.

JavaScript plugins work outside the player area. Think of controlbars and playlists that can be constructed and styled with standard HTML and CSS skills.

Flash plugins such as the controlbar, captions or advertising work inside the player. In fact, every Flash component can be used as a Flowplayer plugin.

For plugin developers there is a polished API available for both JavaScript and ActionScript 3.0.

This is a Flash-based content plugin. Below is a JavaScript controlbar plugin that can be skinned with "normal" HTML skills.
Flash plugins can be styled and animated with simple CSS-based syntax.

Display video data from different sources

Show me

Advanced streaming technologies such as bandwidth detection, clustering and secure streaming make Flowplayer the best player for streaming today.

Supported servers and technologies include: HTTP streaming; pseudostreaming with Apache, ASP/.NET, lighttpd and ngingx; RTMP streaming with Adobe Flash Media Server, Wowza and Red5. More are planned for the future.

Proven Content Delivery Network (CDN) networks include Akamai, Amazon, Simple CDN, Influxis and MediaMelon, and the list is growing.

Something new for the Flash world

Our JavaScript API changes the way you communicate with Flash.

The Flowplayer API is object-oriented and not just a flat list of functions. Take a look at this home page. It has four video players customized by scripting before a single Flash component has been loaded! This is how revolutionary "web 2.0" applications are built.

You can link custom functionality to every player event such as start, pause, stop and fullscreen. If you are a jQuery user you will be delighted by the seamless way in which Flowplayer and jQuery work together.

Show me

 
http://www.logodesignlove.com/

Logo Design Love

For logo designers and all who love logos.

The Philadelphia History Museum

Philadelphia History Museum logo

“We all liked this hand drawn version [of the grid], as it echoed Penn’s original map while also containing the slight imperfections that make Philadelphia so unique and interesting.”

→ Continue reading The Philadelphia History Museum

spread the love

“Logos are dead.”

tombstone

“Symbols invented to accompany brand names are a waste of time, money and effort,” said Simon Manchipp, partner at London-based SomeOne.

→ Continue reading “Logos are dead.”

spread the love

Perez-Fox on the London identity

London identity design Perez-Fox

“One of the main criticisms for the whole [tendering] effort was the fact that only a handful of design firms were allowed to bid in the first place.”

→ Continue reading Perez-Fox on the London identity

spread the love

Slow news day

white Apple logo

Apparently it’s harder than I thought to be original.

→ Continue reading Slow news day

spread the love

Another free chapter: staying motivated

Guild of Food Writers logo design

Graphics.com has offered you all the “staying motivated” chapter from Logo Design Love: A Guide to Creating Iconic Brand Identities.

→ Continue reading Another free chapter: staying motivated

spread the love

Search the site

Don't miss a thing

Get your free updates here.

From the bookstore

A few personal recommendations.

Sponsor Logo Design Love

Click here for advertising info.

Inspiration elsewhere


logo design love heart
http://developer.apple.com/mac/articles/server/subversionwithxcode3.html

Using Subversion with Xcode 3
on Mac OS X Leopard

Developers of even the easiest-to-use applications know that manually managing a project's set of source files is no simple task. Most serious developers depend instead on a source control management (SCM) system to handle the intricacies of source file versioning, collaboration, and storage. Xcode 3.1 makes SCM simple by including a well-integrated, common interface to three widely used source control systems, one of which is the popular Subversion SCM.

Subversion is a free, open source solution suitable for environments of from one developer to thousands. Best of all, Mac OS X 10.5 Leopard includes everything needed for a developer to easily create a complete Subversion server to use with any Xcode project. Not only is every Mac well-equipped to provide Subversion server capabilities right out of the box, but the free Xcode IDE is designed specifically to work with Subversion.

Subversion can run either as a standalone server process or from the Apache web server using the Subversion module. This article will demonstrate both methods, using Mac OS X Server 10.5 for the latter, and then show how to get started managing your source files with Subversion from within Xcode 3.1.

This is an update to the previous Getting Control with Subversion and Xcode article, which outlines a procedure for installing an Apache server that while appropriate for Tiger, requires software downloads and extensive use of the command line. Leopard Server eliminates the need for these steps, allowing you to get an Apache Subversion server up and running within minutes, using GUI tools almost entirely

Using SCM

Source control management systems, also known as version control or revision control systems, track and preserve the entire change history of a project's files. Using such a system, developers can easily revert files to previous versions, maintain multiple branches of a project, and work simultaneously on the same project with other developers. Typically, these systems require developers to check out files from a central repository before working with them and to commit their changes back when done. The system accurately merges any changes that multiple developers might have made to the same file, prompts developers to manually resolve any conflicts, and stores the file changes efficiently to disk.

Xcode 3.1's built-in SCM interface lets you perform these SCM procedures without leaving the program. Using the Subversion client from within Xcode, you can check out and commit your files, compare and revert changes, and move files in and out of source control. For complete details on using Xcode's SCM support see the Xcode Source Management Guide.

Subversion Server Types

Before setting up a Subversion server, you'll need to decide whether to run it using the svnserve server binary or from Apache using the mod_dav_svn module. Both servers work with clients and repositories in the same way and are indistinguishable from that perspective. The servers do differ, however, in their scalability, performance and ease of installation. While either server can be made to work for most situations, the following general recommendations will help you decide which is best for your environment.

svnserve

The svnserve server is the best choice for smaller environments, where mulit-user management, logging and access from outside the firewall are not large concerns. svnserve comes pre-installed on Leopard, and getting it up and running requires almost no additional steps nor Mac OS X Server. Also, svnserve provides better network performance of the two server types.

Run in its default configuration, however, svnserve lacks any real security; it transfers its data unencrypted across the network and stores user passwords in plaintext on the server. To mitigate these issues, you can easily run svnserve over ssh, and this article will detail that procedure. Still, ssh requires users to have shell accounts on the server, so if that is a concern, svnserve over ssh is not a good solution.

Apache (mod_dav_svn)

Running subversion from Apache, on the other hand, is the better choice for larger environments, where mulit-user management, logging, and access from outside the firewall are important factors.

As you'll see, Leopard Server gives you all the software and administration tools needed to run a large-scale Apache Subversion server. Providing access is as simple as using the Workgroup Manager application to add an account, and the Server Admin application lets you finely control access to the repository, view the access logs, and manage your SSL certificates.

The mod_dav_svn module is actually an extension to the WebDav module (mod_dav), so using it provides all the benefits of managing users and permissions with the Server Admin application's easy-to-use WebDav tools. Apache's own logging allows you to track and troubleshoot the Subversion transactions. And to ensure adequate security, you can configure Apache to run over SSL, a step which this article details as well. Also, as an added benefit, Apache provides a web interface to your source files with no additional configuration.

These capabilities, however, come at a cost of network performance and ease of installation. svnserve provides a stateful connection for its clients, therefore once a connection is established, Subversion commands get handled consecutively until you disconnect. Web connections, on the other hand, require more frequent connects and disconnects, and this overhead results in generally slower transactions.

Configuring the Apache server requires several more steps then configuring the svnserve server. While neither configuration requires any additional downloads or extensive use of the command line, setting up Apache the first time could take up to 30 minutes, while getting the svnserve server going shouldn't take more than five.

You can find a thorough comparison of the two server types on this svnbook page, which is part of the complete online Subversion documentation, Version Control with Subversion.

Creating a Subversion Repository

Regardless of which server you choose to use, the first step of setting up a repository is the same.

The repository stores the files that you want to keep under version control and also holds the change data needed to produce a copy of a file from any point in its lifetime. When you check out your project from the repository, the server makes a working copy of the project on your computer where you can work with it as you do with any project. Whenever it's time to commit your changes, the server calculates those changes and writes them back to the repository. Since only the changed information is copied, the repository can store many versions of a file using much less disk space than if it had to keep complete file copies.

You will need to create your repository and project directories using command-line tools, but once that's done, you can interact with the repository using only Xcode. To begin, open Terminal on the server (or use ssh to connect to it) and enter this command to create Subversion and Repository subdirectories in /Library (though you can put them anywhere the web server has access):

mkdir -p /Library/Subversion/Repository

Next, use the Subversion administration tool to create the project directory itself (named Project1, in this case), and populate it with the subdirectories and files it needs to work in a repository:

svnadmin create /Library/Subversion/Repository/Project1

Before you can import the project files using Xcode, you'll need to import an empty directory skeleton into the project directory using the command line. These directories compose Subversion's standard project layout: a top-level directory named for the project and its three subdirectories named trunk, branches, and tags. Create these temporary directories in /tmp with this command:

mkdir -p /tmp/Project1/trunk /tmp/Project1/branches /tmp/Project1/tags

Import the directories into the repository with this command:

svn import /tmp/Project1/ file:///Library/Subversion/Repository/Project1 -m "Initial import"

You can then delete the temporary directories:

rm -rf /tmp/Project1

Finally, restrict permissions on the repository directories to ensure that only the web server (if you'll be using the Apache server) and members of the admin group have access:

sudo chown -R www:admin /Library/Subversion/Repository
sudo chmod -R ug+rwX,o= /Library/Subversion/Repository

If you'll only be using the svnserve server, you can make the repository root-owned with these commands instead:

sudo chown -R root:admin /Library/Subversion/Repository
sudo chmod -R ug+rwX,o= /Library/Subversion/Repository

Running the svnserve Server

If you've chosen to use the svnserve server over ssh, there isn't even a step two. The svnserve binary comes pre-installed on Leopard, and the ssh server (sshd) launches svnserve on demand, so svnserve doesn't need to run as a daemon. Therefore, as long as the repository is in place, and sshd is running on the server, svnserve will already accept connections. Skip ahead to the section, Using Subversion from Xcode to get started with your first project.

Note: To start sshd on the server, open System Preferences, select the Sharing icon and select the Remote Login checkbox.

Otherwise, go on to the next section, Configuring the Apache Server.

Configuring the Apache Server

Configuring an Apache Subversion server on Mac OS X Server requires quite a few more steps, but all are fairly simple. Begin by opening Server Admin and connecting to your server. If the Web service is not yet in the list of services, select Add Service from the Server menu, click to check the Web service checkbox, and click Save (Figure 1). You don't need to start or restart the Web service until you've completely configured the Subversion server.

Turning On the Web Service

Figure 1: Turning On the Web Service

The next step is enabling the Subversion Apache module. This module, mod_dav_svn, relies on the web_dav module, which gives Apache filesharing-like capabilities. Together, these modules provide Subversion clients with read and write access to Subversion repositories using only the HTTP protocol, thereby simplifying server and network administration.

To enable the module, select Web from the services list at left, click Settings from the toolbar, and then select the Modules tab. Find the dav_svn_module in the list, click its checkbox on, and then click save (Figure 2). You don't need to enable the authz_svn_module, as you'll instead be using directory services for authentication. Also WebDAV is turned on elsewhere, so you don't need to enable its module here either.

Enabling the SVN Module

Figure 2: Enabling the SVN Module

With the Subversion module enabled, Leopard Server and Apache work with the repository much like any other WebDAV site they're serving, so configuration is largely identical. To start, create a new secure website by first clicking Sites in the toolbar, and then clicking the Add (+) button. This creates a new Apache virtual host, which defines a unique hostname or port (or both) and document root for each site. Once it's created, enable the site using the checkbox in the new site's listing.

If you're hosting only the Subversion site, the following steps will work fine. If you're already hosting other sites on your server, you might need to consult the Web Technologies Admin guide to learn how to make the new site work alongside your existing site(s). Generally, as long as the new site has a unique hostname or port that site should operate properly.

As shown in Figure 3, configure the new site by selecting the General tab and making these settings:

Domain Name: If you have a fully qualified domain name, you can enter that here. Otherwise, it's fine to keep this blank.
Description: Enter any descriptive text you would like here, or keep it blank.
IP Address: Set this to "any"
Port: Set this to 443, the default port for secure web traffic (SSL), which you will be enabling in an upcoming step.

Configuring the Site

Figure 3: Configuring the Site

Leave the remaining settings at their defaults, and select the Options tab. Enable WebDAV here, turning on the module that the SVN module depends on (Figure 4).

Enabling WebDAV

Figure 4: Enabling WebDAV

Select the Security tab and enable SSL, using the default certificate or your own if you have one (Figure 5). You'll want to use SSL for an important reason: Subversion requires authentication for access to the repository, and since Xcode uses the HTTP basic authentication method, your password would otherwise be sent across the network in an easily decoded format. With SSL enabled, the entire HTTP session is encrypted, keeping your password and all other transmitted data inaccessible to any network eavesdroppers.

Enabling SSL

Figure 5: Enabling SSL

Next, click the Realms tab to define a WebDAV realm for the repository. WebDAV uses this realm definition to determine what directories to share and with what permissions. Click the Add (+) button below the Realms list to create a new realm, and configure it with these settings, as shown in figure 6:

Realm Name: Give it a relevant name, "subversion", for example.
Authentication: Choose Basic.
Folder/Location Pop-up menu: Select Location and enter /svn/ in the field. Doing this directs an /svn/ URI (that part of the URL following the hostname) to the SVN module instead of a directory. In an upcoming step, you will configure that location with the actual repository path.

Click OK to save the definition.

Configuring the Realm

Figure 6: Configuring the Realm

Click the Add (+) button under the Users & Groups list to open the Users and Groups panel. For each account and group that you want to provide with repository access, drag its name from the panel to the Users & Group list and set its permissions in the list to Browse and Read/Write WebDAV. (If you need to add new accounts or configure groups, use the Workgroup Manager application to do so.) Ensure that the permissions for the Everyone group stay at None (Figure 7).

Adding Users to the Realm

Figure 7: Adding Users to the Realm

Finally, click Save to save the new site. Before you start (or restart) the Web service, there is one more command-line step that remains to be completed.

Leave Server Admin as it is and return to Terminal. Use a text editor to open the /etc/apache2/sites/0001_any_443_.conf file with root privileges:

sudo vi /etc/apache2/sites/0001_any_443_.conf

Note: If you did configure your site with a domain name, that name will appear in the filename just before .conf, as in 0001_any_443_tosxserver.west.lan.com.conf, for example.

Find the /svn/ location block near the end of the file and add these two lines just below the <Location "/svn/"> line, as shown in Figure 8:

DAV svn
SVNParentPath /Library/Subversion/Repository

The first line, then, directs that the Subversion module receives the /svn/ URIs (by way of the WebDAV module), and the second passes the repository path to the module.

Note: Some configuration changes you subsequently make to this site with Server Admin can cause the first line to revert to DAV no. If you do experience problems accessing the repository, check for this reversion, and if needed, correct the file and restart the web service.

Editing the Site's Apache Configuration File

Figure 8: Editing the Site's Apache Configuration File

With the edits complete and the file saved, return to Server Admin, select Web in the services list, and click Start Web. (If the web service was already running, click Restart in the prompt, or select Web in the services list and from the Server menu select Restart Service.)

The Subversion server configuration is now complete and ready to test in a web browser with this URL:

https://your.hostname/svn/Project1

Once authenticated to the repository, you should be able to browse the three empty directories you created there, as shown in Figure 9.

Browsing the Repository

Figure 9: Browsing the Repository

You're now ready to use Xcode to import a project directory.

Using Subversion from Xcode

The procedure for connecting from Xcode to either type of Subversion server is mostly the same; you'll see the slight differences included in the following steps. To begin, open Xcode and create a new project as usual, saving it to the desktop as Project1. In this example, the project is for a Cocoa application.

Typically, you wouldn't need to keep your build directory under version control, so confirm that this project has a separate location for it. From the Project menu, select Edit Project Settings, and set the build directory to a location outside of your project directory, as shown in Figure 10.

Relocating the Builds Directory

Figure 10: Relocating the Builds Directory

Next, create the Xcode repository settings for the project. From the SCM menu, select Configure SCM Repositories, and the SCM pane of the Xcode preferences panel will appear. Click the Add Repository (+) button and in the sheet that appears, name the Repository Project1, set the SCM System pop-up menu to Subversion, and click OK.

If you are connecting to an svnserve server, complete the repository settings as shown in Figure 11, using a URL in the form of:

svn+ssh://accountname@hostname/Library/Subversion/Repository/Project1

If you are instead connecting to an Apache server, complete the repository settings as shown in Figure 12, using a URL in the form of:

https://accountname@hostname/svn/Project1

Note: The URL for an svnserve server connection requires the absolute path to the project directory in the repository, while the Apache connection requires only the URI to that directory.

In either case, except for the password, the remaining fields should properly auto-fill with data from the URL. Enter the password and click Apply. When the status indicator shows "Authenticated", click OK to close the Preferences window.

Connecting to the Repository Using svnserve

Figure 11: Connecting to the Repository Using svnserve

Connecting to the Repository Using Apache

Figure 12: Connecting to the Repository Using Apache

You're now ready to import the project directory into the repository following these steps, as illustrated in Figure 13:

  1. From the SCM menu, select Repositories.
  2. Using the Repository browser that appears, select the trunk directory of the new Project1 repository.
  3. From the browser's toolbar, click the Import icon.
  4. Navigate to the Desktop and select the Project1 directory.
  5. Add a comment to log with the import and click Import.
  6. From the sheet that appears confirming the import, click OK.

Importing a Project to the Repository

Figure 13: Importing a Project to the Repository

If you're connecting to an Apache server, you can confirm the import with a web browser by re-loading the repository URL and browsing to the project directory, as shown in Figure 14.

Browsing the Imported Project

Figure 14: Browsing the Imported Project

Once the project directory is in the repository, you will no longer need the copy that's on the desktop. Instead, you will check out the project from the repository, a process that puts the actual working copy of that directory on your computer. Before you check out the project, then, quit Xcode and delete the Project1 directory from you desktop.

When you're ready to check out the project directory, re-launch Xcode and follow these steps, as shown in Figure 15:

  1. Return to the Repository browser using the SCM > Repositories Menu command.
  2. Using the browser, navigate to the Project1 > trunk > Project1 directory and select it.
  3. From the browser's toolbar, click the Checkout icon.
  4. Navigate to your normal location for keeping project directories and click Checkout.
  5. Once the checkout is complete, click to open the Xcode project file when prompted.

Checking Out the Project

Figure 15: Checking Out the Project

At this point, nothing in the project itself yet indicates that it's under version control, so the final step is turning on SCM for the project:

  1. From the Project menu, select Edit Project Settings.
  2. On the Project Info palette that appears, find the SCM settings pop-up menu.
  3. Select the Project1 (Subversion) repository from the menu, as shown in Figure 16, and close the palette.

Configuring SCM for the Project

Figure 16: Configuring SCM for the Project

Testing SCM

You should now be able to make changes to your project, see what files have changes, and then commit those changes back to the repository. Practice by making a change to one of your project files and saving it. To see what files have changes, enable the SCM column in either of the project window's list areas by right clicking in a header area and selecting SCM from the menu. The SCM columns will show an M for the file that was modified, as shown in Figure 17 (If the status doesn't show, from the SCM menu, select Refresh Entire Project.)

Enabling the SCM Columns

Figure 17: Enabling the SCM Columns

You can also compare the changes side-by-side by right-clicking the changed file's name and selecting Compare from the menu (see Figure 18). A window will appear with the changed lines highlighted, as shown in Figure 19.

Opening the Compare Window

Figure 18: Opening the Compare Window

Comparing the Changed Versions

Figure 19: Comparing the Changed Version

Once you've made your changes, commit them back to the repository by right-clicking the filename and selecting Commit Changes. Add a comment for the log and click Commit (Figure 20). Or you can commit several files at once using the SCM > Commit Entire Project command.

Committing the Changes

Figure 20: Committing the Changes

When you're finished using Xcode, close the project normally; when you're ready to work with it again, open it normally as well. The project continues to stay checked out, and you can continue committing your changes.

This is only the beginning of what you can do with Xcode's SCM system, now that you have a working Subversion server. To go further, refer to the Source Management Overview.

Updated: 2009-02-17

http://www.theiet.org/

From the Knowledge Network

Read the latest news and features and network with your peers.

IET Knowledgebase

  • Inspec new window
    Search journal and conference papers and more - over 10 million abstracts

  • Knowledgebase new window
    See all the research resources from the IET, including e-books and online journals.

  • IET Discover new window
    Social bookmarking - share your links with the science, engineering and technology community

  • IET.tv new window
    Webcasts of IET and other technical presentations

  • IET Digital Library new window
    Over 95,000 technical papers from IET publications

  • IET Archives new window
    Historical material including biographies, articles, online exhibitions and IET records

Artist's impression of keypad touch-sensor

Samsung takes licence for touch-sensor technology

Published on 8 February 2010

Peratech has licensed its pressure-sensitive touch sensor technology to Samsung for use in a new series of navigation keypads for mobile phones.

Transformer equipment

ACDC 2010 - AC and DC Power Transmission

20-21 October 2010, London, UK
Call for Papers: submit your abstract by 23 April for the chance to have your paper published and indexed on INSPEC and IEEE Xplore.

Knovel e-books

E-books aplenty

Almost 50 new full-text books can now be read online by members by accessing Knovel.

Courses switches

New training course for 2010

Periodic reporting of existing electrical installations – domestic

Event

Engineering Minds - New directions in Artificial Intelligence
Wednesday 10th February - University of Hertfordshire, Hatfield

Orange chess piece

Professional Registration

A course for those working towards registration using UK-SPEC

Red Chess

In-company training

Bring the game to you – in-house professional development training

Previously on the IET homepage...

Did you miss?

Find items recently listed on this page, and comment on our new design.




http://topwpthemes.com/
http://www.peliculasid.com/
Te Invitamos a visitar nuestra web de Series Online: SeriesID.com
En SeriesID encontrarás series como Dexter, House MD, Lost, The Big Bang Theory, Prison Break y otras más, ¡Visitanos y recomiendanos!. ×
  • Avatar Pelicula
  • eclipse twilight
  • Toy Story 3
  • Prince of Persia Pelicula
  • Kick-Ass 2010

Ultimas peliculas SUBIDAS

    American Pie 7
    Meet the Spartans
    The Incredible Hulk
    Motherhood
    Invictus
    Taking Chances
    Assassination of a High School President
    Half Baked
    BlackOut
    Coco Avant Chanel
    P.S. I Love You
    Star Wars 1
    Star Wars 2
    Star Wars 3
    Star Wars 4
    Star Wars 5
    Star Wars 6
    New Moon
    Law Abiding Citizen
    I Hope They Serve Beer In Hell
    Paranormal Activity
    The Uninvited
    The Fourth Kind
    The Book of Eli
    Hada por Accidente
    Case 39
    Sherlock Holmes
    The Stepfather
    Inglourious Basterds
    Up in the Air
    World’s Greatest Dad
    The Steam Experiment
    Alvin y Las Ardillas 2
    Love Happens
    American Virgin
    [Rec] 2
    The Invention of Lying
    Dorian Gray
    Cloudy With Chance Of Meatballs
    Avatar
Bienvenido a PeliculasID, esperamos que la estes pasando bien... te invitamos a ver el capitulo de naruto shippuden 147 que se estrenará el dia 21 de enero, recuerda que puedes ver mas series actualizadas a la fecha, como Fairy Tail, Bleach, One Piece y más.
Mensajes sms de amor gratis, Postales Tarjetas de amor para San Valentín

Anime Online - Animes - Anime Gratis - Naruto Shippuden
naruto shippuden 147 Sub Español Estreno: 07 de enero

http://educalia.educared.net/edujsp/idioma.jsp

Educàlia

http://handbrake.fr/

HandBrake 0.9.4: Released! or: Not Dead, Just Pining for the Fjords.

Monday, Nov 23, 2009

"Creation comes out of imperfection."

There's an old proverb in the video encoding world: "Speed, size, quality: pick two." It means that you always have to make a trade-off between the time it takes to encode a video, the amount of compression used, and the picture quality. Well, this release of HandBrake refuses to compromise. It picks all three.

Download it now.

x264

A large portion of these speed, size, and quality improvements come to us for free, from the x264 project. The past year, like every year, has seen some massive improvements for that video encoding engine. As always, it has been further hand-optimized for better performance. But it has also gained new features like macroblock tree rate control and weighted P-Frame prediction. The end result? Better picture quality, at a smaller size, faster.

So, if x264 alone gives us smaller, better, faster encodes...what have HandBrake's developers been doing over the past year?

Oh, all sorts of things :-)

New build system

HandBrake has a new, much improved compilation system, which allows easy 64-bit and parallel builds, as well as providing easy extendability for future improvements to the application. 64-bit builds tend to perform approximately 10% better than their 32-bit brethren. There is no Snow Leopard magic here: the performance gains can also be realized on Intel Macs running 10.5, as well as Linux systems.

Soft subtitles

HandBrake can now include subtitle tracks that can be turned on and off, instead of rendering them onto the video track permanently (which also reduces video compression). This means you can include Closed Captioning data from DVDs and TV broadcasts, or find SRT text subtitle files on the 'net and include them. When using the Matroska container, you can also store the graphical subtitle images (VobSubs) from a DVD as a separate track. An added benefit is that multiple subtitle tracks can be included in the same output video.

Live preview

Ever wished you could test HandBrake settings before spending hours on a full encode? Now, you can.

The picture settings and preview sheet has been broken out into a filters and picture settings inspector, and a preview window. The preview window can show you still frames from your source, like always. But it also lets you start to encode a short clip from the current preview with the currently selected settings, and view the results right there inside of HandBrake.

Better input support, for DVD and non-DVD sources alike

HandBrake now uses a better DVD reading library called libdvdnav. This means it can now read some DVDs it had trouble with before, and it can also select different angles on a DVD. As well, some bugs in underlying libraries have been patched.

For non-DVD sources, HandBrake now offers improved transport stream support, especially for high definition sources. A number of decoding bugs have been resolved as well, so Windows users will no longer need fear AAC audio, nor Mac users fear VC-1 video.

Constant quality encoding

No more looking for the perfect bitrate for a source--HandBrake is migrating to quality-based encoding. This means that instead of telling encoders to use a specific size and vary quality to meet it, we tell the encoder to vary size to meet a given quality level. Overall quality improves, since bits are spent only when they are needed, and are saved when they are not. While this means output size is somewhat unpredictable, the results in picture quality speak for themselves.

As part of this change, the quality slider has been made more prominent, and now works off the quality values used by the video encoders, instead of a confusing, custom, percentage scale.

Another result is that 2-pass encoding is not needed. A single pass at a constant quality provides just as much compression efficiency as two passes at an average bitrate.

Presets

There are no more presets for the PSP, PS3, or Xbox 360. Quite frankly, they didn't work well. None of the development team members own the devices, so testing was minimal and support was nonexistent. Keeping up with the firmware vagaries and ambiguous specifications of these devices was not fun--we get enough of that from Apple's kit, and those we all have around to test on. The new "Normal" preset should work perfectly fine on any device that supports standard Main Profile H.264 with AAC-LC audio in an MP4 file, which the PS3 and 360 ostensibly do.

There are no more Film, Animation, or Television presets. Instead of a confusing series of content-targeted presets, there is now a single, constant quality, High Profile preset with automated filtering and all the H.264 bells and whistles. This preset should work on the PS3 and 360 too, although we make no promises.

It is now possible to import individual presets in all the graphical interfaces, and to export them as well, in the Mac and Linux GUIs.

Focus on what we do best

As we've had on our roadmap for quite awhile now, one of our goals for version 0.9.4 was to refocus on HandBrake's key strengths and to remove dead weight. As part of this process, several containers and a codec have been removed from HandBrake.

AVI: AVI is a rough beast. It is obsolete. It does not support modern container features like chapters, muxed-in subtitles, variable framerate video, or out of order frame display. Furthermore, HandBrake's AVI muxer is vanilla AVI 1.0 that doesn't even support large files. The code has not been actively maintained since 2005. Keeping it in the library while implementing new features means a very convoluted data pipeline, full of conditionals that make the code more difficult to read and maintain, and make output harder to predict. As such, it is now gone. It is not coming back, and good riddance.

OGG/OGM: HandBrake's OGM muxer is just as out of date. It hasn't been actively maintained in years either, and it too lacks support for HandBrake's best features. It requires conditionals to work around missing functionality too...only this one gets tested so infrequently the conditionals were never even put in the code, so it just fails when you try to do anything advanced. This one is not coming back either. And yes, we're aware of HTML 5. For patent-free muxing, HandBrake still has Matroska, which is a much better container anyway.

XviD: HandBrake, these days, is almost entirely about H.264 video, aka MPEG-4 Part 10. This makes it rather...superfluous to include two different encoders for an older codec, MPEG-4 Part 2. When choosing between FFmpeg's and XviD's, it came down to a matter of necessity. We need to include libavcodec (FFmpeg) for a bunch of other parts of its API, like decoding. Meanwhile, XviD's build system causes grief (it's the most common support query we get about compiling, after x264's requirement of yasm). Since we mainly use MPEG-4 Part 2 for testing/debugging, and recommend only H.264 for high quality encodes, Xvid's undisputed quality edge over FFmpeg's encoder is inconsequential, while FFmpeg's speed edge over XviD is important to us.

But wait, there's more!

Audio-video synchronization has been further improved.

HandBrake can now pass-through DTS audio from a source when encoding to the Matroska container, just like it has previously for AC3 audio.

Mac users can now encode AAC audio using OS X's Core Audio, rather than using the open source libfaac. Core Audio offers far superior audio quality.

A new custom anamorphic mode allows precise control of all parameters, for power users.

Decomb now offers an optional, slower, better quality deinterlacing method called EEDI2.

Library updates for (besides x264) FFmpeg, libtheora (1.1), libmp4v2, libfaac/faad, libvorbis, and libmkv.

Of course, there have also been countless improvements to the user interfaces, and many technical changes under the hood to improve things like sample interleaving and framerate shaping.

For a more technical summary of the changes since 0.9.3, please see the NEWS file in the SVN repository. A complete list of the more than one thousand changes since 0.9.3 is also available.


HandBrake 0.9.3: Released!

Sunday, Nov 23, 2008

"The trick is to combine your waking rational abilities with the infinite possibilities of your dreams. Because, if you can do that, you can do anything."

Download it now.

Sorry it's been so long, but we think you'll all agree this release of HandBrake was worth the wait. Where to begin?

Universal input

HandBrake is no longer limited to DVDs: it will now accept practically any type of video as a source. This massive enhancement was achieved by tapping into the power of libavcodec and libavformat from the FFmpeg project.

Linux GUI

There is now an official GTK graphical interface for Linux, available as a binary for Ubuntu. This is the real deal, interacting directly with HandBrake's core library instead of just putting a pretty face on a command line interface. It has full feature parity with the Mac interface.

Video quality

The x264 project has really come into its own this year, and HandBrake 0.9.3 integrates the latest improvements to the H.264 encoding library. Picture quality has enhanced dramatically through the use of psychovisual rate distortion and adaptive quantization, and there have been significant speed optimizations.

Audio flexibility

HandBrake now offers total control over multiple audio tracks.

No more internal DVD decryption

Yeah, we know, no one reading this is going "Oh wow, no more DVD decryption--what a great new feature!" but...deal.

HandBrake will dynamically load VLC's copy of libdvdcss if you have it in your Applications folder in Mac OS X, and if you're on Linux, and you want to live on the wild side, you can install libdvdcss on your system and get the same effect.

Translation of the last paragraph from nerdese:

We're not about to stop you from choosing to decrypt DVDs. If you're on a Mac, and you have VLC 0.9.x installed, you won't even notice the internal capability's gone. If you're on Linux, all you have to do is install a library.

Persistent queues

When queueing up a bunch of videos to encode, you need no longer fear a crash in HandBrake's graphical interfaces. Queued jobs are cached to disk for safekeeping between sessions.

New, better organized presets (Be sure to run "Update Built-In Presets" from the Presets menu!)

The presets are now "nested" in folders and have evolved. Notably, there is a new Apple "Universal" preset, designed to play and look good doing so on anything from an iPod Nano to an AppleTV.

There have been many changes to most of them. Please be aware that most presets now use different settings. This means most of them are not suited for benchmarking 0.9.3 against 0.9.2. For example, the AppleTV preset is slower because it is now quality based, and produces much more efficient output. The Normal preset uses psychovisual rate distortion. The High Profile presets use psychovisual trellising. All of these setting changes can influence encoding time and output file size.

For comparison purposes, there are several presets in the Apple->Legacy folder (the old iPod High-Rez, the old AppleTV, and the old iPhone presets) which remain unchanged since 0.9.2.

Audio-video synchronization

HandBrake should now keep lip-synch as well as a DVD player can.

Decomb filter

HandBrake now offers a decomb filter, in the style of AviSynth's. It is a deinterlacer that can be left on all the time without degrading picture quality, because it only deinterlaces video when it visibly needs to be.

Multi-threaded deinterlacing

The "Slow" and "Slower" filters, as well as the new decomb filter, will now take advantage of as many processors as you can throw at them.

"Same as source framerate" really is the same as the source framerate

HandBrake now, by default, passes through the exact video framerate of the source instead of smoothing to a constant rate, which could lead to frames being duplicated or dropped.

Theora video encoding

HandBrake now can encode video using the Theora codec.

Updated libraries

Besides x264, updated libraries include libsamplerate, libogg, xvidcore, libmpeg2, lame, faac, and ffmpeg's libavcodec, libavformat, and libswscale.

Massive improvements to all interfaces

As hard as it might be to believe, the changes listed above are only the tip of the iceberg. A much longer list is available, but even that is only a brief summary. There have been well over 600 changes to HandBrake's code base since 0.9.2, including hundreds of bug fixes, and a thorough log can be found on the Trac.

Feeds

Search

Links


http://woorkup.com/2010/01/03/awesome-examples-of-creative-infographic-illustrations/
Popular now Anatomy of The Perfect Sidebar
14
comments

Awesome Examples of Creative Infographic Illustrations

Antonio Lupettiby Antonio Lupetti / January 3, 2010 / Posted in: Inspiration

Information graphics are visual representations of data that help to explain complex information quickly. Here is a collection of 16 awesome examples of creative infographic illustrations for your daily inspiration.

Original image hereBank Robbery

info7

Original image hereHigh Velocity Train

Original image hereChina Export

Original image hereThe Fish Farm

Original image here2009 Cycling Statistics

Original image hereCustomer’s Mailstream

info15

Original image hereTrafalgar, The Nelson’s Battle

Original image hereNLMK Company Structure

Original image hereSprint Nextel

Original image hereMartin Luther King Assassination

Original image hereFangio VS Schumacher

Original image hereAIAN Heritage Month

Original image hereDevelopmental Aid Flows Around The Globe

Original image here3 Month Crocheting

Original image hereGrowth Comparison

Original image hereIndian Economy

Author

Antonio Lupetti Antonio Lupetti is an italian engineer, pro blogger, Mac user, founder of woorkup.com. He lives in Rome, Italy. Follow Antonio on Twitter or take a look at his Facebook Profile.

Related Posts

14

Comments

  1. Evan

    Truly amazing…. Those creative ideas giving us more space to work with even better spirit… thanks to share.

  2. Anol

    Great examples. I’ve written a whitepaper on Infographics for Marketing & Communication. Please take a look. (sorry for the shameless self promotion) http://www.getitcomms.com/pdf/Whitepaper_Infographics.pdf

  3. Yigit Ozdamar

    Nice post! Customer’s Mailstream is the best one i think…

  4. Connie

    very awesome, the assasination of Martin Luther King beside Schumacher versus another car racer…

    you guys have no sense for decency

  5. Lun

    nice one, really!

  6. Mike

    These are terrific! I think its funny when people say design is not art. These infographics are used to visually display data, but I would definitely hang one in my office as art!

  7. Vaskar

    I definately liked it. Those pictures definately say lot of things. Most elated with the infographic depicting the train…..wow!

  8. Giacomo

    I would point out the infographics of Francesco Franchi, an Italian graphic designer: http://www.flickr.com/photos/ffranchi/4169684981/sizes/l/

  9. visualhaze

    Bella raccolta, bravo Antò!

  10. Marfi

    Great infographs, thanks for the inspiration, feel free to check and this nice collection: http://favit.com/infographs – updated daily for even more inspirations and ideas :)

  11. ajeshks

    Very inspirational and great ideas…. :) thank you very much

  12. Alex Lee

    Thanks for including my cycling stats. But I feel a little outclassed in such illustrious surroundings!

  13. MB

    This is awesome! Thanks for the post. :)

  14. Frank Matuse

    Gosh. Awesome collection. I really enjoy to “read” the visualizations. Thank you Antiono.

Leave a comment

http://www.pmi.org/Pages/default.aspx
http://www.smashingmagazine.com/2009/05/18/100-amazing-free-wordpress-themes-for-2009/
http://www.martinfowler.com/articles/continuousIntegration.html
http://flowchart.com/

What is Flowchart.com?

Flowchart.com is an online multi-user, real-time collaboration flowchart software. It's Flowcharting made easy.

Work together

You can collaborate with your colleagues in real-time. All collaborating parties can chat and design a flowchart at the same time.

Flowchart.com does not require any software download, it works with your favorite browser such as: Firefox, Microsoft Internet Explorer, Opera, Safari, Konqueror, Google Chrome.

Flowchart.com works on any Operating System.

blog.flowchart.com posts

Here is a short demo of how you can Zoom your chart. You can pick a Zoom percent level or enter a arbitrary zoom percentage number in the drop down list.

When you are editing a flowchart in the Flowchart.com editor and want to use keyboard short cuts, press and hold the CTRL(Control) Key ...

Flowchart.com has been updated since your last visit.
Please refresh your browser cache by pressing CTRL+F5 on your keyboard to experience all the new features. Happy Flowcharting!
http://www.porticolegal.com/portada.html
http://www.8ballclub.com/
The World’s N1 Billiards Online Game Play pool for free: 8-ball, snooker, 9-ball
Support
Play for fun and win a prize!
Several awards are open for nominations.
How to Win»
We invite you to put your photo into the Champions Gallery
on our website.
Go To Gallery»
GAME INFO
We offer you not only the modern 3D Billiards with excellent graphics and most realistic physics simulation. We want to create the real feeling of billiard competition and enable you to hold the cue in your hand.

The 8BallClub Online Billiards game allows you to enjoy playing pool and snooker with opponents from around the world.
More details News and Events
FREE DOWNLOAD
Free download from 8ballClub.com the most realistic billiards game.

Have a fun!
Download and play now
Need Help? Quick links:
Getting Started
Billiard Rules
User Guide
GAME FEATURES
You can play all of the world's most popular billiard games:
● 8-ball pool
● 9-ball pool
● Snooker
● Rotation pool (61)
Also you can train your billiard skills by choosing a practice game.

All games in accordance with the Billiard Official Rules.
20+ Games Collection: board, cards, action, logical
For more detailed information please click here
8BallClub.com offers new collection of 20 high-quality 3D games to play everyday! Here you will find all your favorite and most popular games including chess, checkers, card solitaires, backgammon, mahjong and others.
http://vandelaydesign.com/blog/galleries/creative-ecommerce/

Vandelay Design

25 Creative E-Commerce Website Designs

Published February 8th, 2010 in Galleries

E-Commerce sites are often considered to be boring and unattractive, however, that is not always the case. This post showcases 25 e-commerce sites that demonstrate creativity in the design. It may be the layout, graphics, design style or site structure, but all of them break the mould of the typical e-commerce site. For more inspiration from e-commerce sites, see our gallery CartFrenzy.

Ride Four Ever

Ride Four Ever

Mom & Popcorn

Mom & Popcorn

The Affair

The Affair

Hipstery

Hipstery

Benestar

Benestar

Green Label Organics

Green Label Organics

RedVelvetArt

RedVelvetArt

CellarThief

CellarThief

Shirt Fight

Shirt Fight

K2 Snowboarding

K2 Snowboarding

Storenvy

Storenvy

Edge of Urge

Edge of Urge

‘47

'47

Levi’s

Levi's

McMenamins

McMenamins

Giraffe

Giraffe

Saddleback Leather Company

Saddleback Leather Company

Kate Spade

Kate Spade

Yellow Bird Project

Yellow Bird Project

Clever Craft

Clever Craft

Free People

Free People

Pally Giraffe

Pally Giraffe

Mouse to Minx

Mouse to Minx

Cinnia Edua

Cinnia Edua

Duchy of Cornwall Nursery

Duchy of Cornwall Nursery

For more design inspiration please see:

6 Responses to “25 Creative E-Commerce Website Designs”

Jana Schweiss February 9th, 2010

Great picks! I love Green Label Organics – So simple, effective & creative!

aledesign.it February 9th, 2010

Is really amazing this post! There so many ideas! i’m so confused! I’m happy for this examples..Really good! Green Label Organics, mom & popcorn and benestar re my preferite!

alfiks February 9th, 2010

The affair looks quit interesting, not the best solution for e commerce, but however very creative.

Trackbacks

Leave a Reply

http://daytum.com/
http://search.twitter.com/
See what's happening — right now.