Home Home > 2009 > 05 > 14
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for May 14th, 2009

openSUSE-GNOME BugDay: “Community Effort”

May 14th, 2009 by

PSA sent to opensuse-gnome@opensuse.org, opensuse-project@opensuse.org, opensuse-announce@opensuse.org


Please join us for the openSUSE-GNOME BugDay code named “Community Effort” tomorrow
(Friday 14 MAY 2009) at 1100EDT/1500UTC.

We’ll be squashing blocker, critical, and major bugs in 11.1 related to GNOME.

More information can be found on the wiki:

A Gobby session will be announced at the beginning of the meeting to assign/close
bugs. Should you have any questions, feel free to ask in #openSUSE-GNOME on Freenode,
or email me directly.

We hope to see you there!

Christopher M. Hobbs [chobbs@siloamsprings.com]
Network Administrator, City of Siloam Springs

Ruby on rails, Ajax and memory watching

May 14th, 2009 by

As work on webinterface for YaST is in progress we must learn new technologies suitable for web development. WebYast will be written in ruby and ruby on rails framework. Also because WebYast is new interface it could contain AJAX features for better user comfort. Today I found that ajax support in RoR is on good level and with documentation it takes few minutes to create first example which show current used memory on server. It is not connected anyhow to YaST because I want to focus on AJAX.
And here is a code. It update page every fifth second (but not refresh only update div, on bigger page it is really significant):
<%= javascript_include_tag :defaults %>
<h1>Hello world!</h1>
<%= periodically_call_remote(:url => { :action => 'get_averages' }, :update => 'avg',:frequency => '5') %>
<div id="avg">
Memory usage is X MB </div>
class HomeController < ApplicationController
   def index
   def get_averages
     output = `free -m` # bash solution - | sed 's/Mem:[^0-9]+[0-9]+[^0-9]+([0-9]+).*$/1/;2q;1d'`
     output = $1 if (output =~ /.*n(.*)n.*n.*n/) #let live second line
     output = $1 if (output =~ /.*:s+S+s+(S+)s+/) #second field
     render :text => "Usage mem is "+output+"MB RAM."

And thats all to watch your server usage.

New look openSUSE-Education

May 14th, 2009 by

This community week we got a couple of new contributors to openSUSE-Education project, we got artists to come up with new looks for live images.

One of the first theme is called Li-f-e(Linux for Education).

Education Desktop

Li-f-e theme consists of elements representing knowledge. Green background is selected to identify it with openSUSE colors. Pi is on the welcome screen. Two neon lines represent “strokes of brilliance”. openSUSE-Edu logo is rendered luminescent: spreading light of knowledege or acting as a beacon of learning. This theme is created by Samyak Bhuta. This theme is in openSUSE-Edu-KIWI-LTSP-live-unstable iso, get it to see it in action.

Complete screenshot set of the theme and more ideas are here: http://en.opensuse.org/Education/Live/Screenshots

On the side note, this is my first post on “lizards“, this would be my new blog, so update your feed bookmarks if you would like to keep updated about what I am sharing here.

Join us translating the special edition !

May 14th, 2009 by

Today, the openSUSE Weekly Newsletter team will have the translation sessions for the special edition created yesterday.

Join us from 12:00 UTC to 15:00 UTC in #opensuse-newsletter on freenode. (Schedule)