Tag Archives: UTC

Jono Bacon: Getting Started With The First Online Ubuntu Developer Summit

Tomorrow we will be running our very first online Ubuntu Developer Summit. The event will take place over two days and span a range of different tracks: Community, Client, Cloud & Server, App Developers, and Foundations. We have never run an event like this before, but we have prepared extensively to deliver the best online UDS experience we can. When UDS is complete we will then review any rough edges and fix those up for the next event in May.

With this being a new event, I wanted to share some key tips about how to get participate.

For Everyone

UDS takes place on Tues 5th – Wed 6th March 2013 from 2pm UTC. Please note: the original time was 4pm UTC, but we brought the event forward by two hours.

The full event is taking place online and everyone is welcome to join, irrespective of whether you are an active contributor to the community, a partner, a business, an enthusiast, or anyone else. We will be using Google+ Hangouts On Air to stream video from the active participants in the session, and we also provide quick embedded access to IRC, note-taking, and more.

The event will kick off on Tuesday at 2pm UTC with a keynote session. There will then be two hours of sessions, then an hour of plenaries, and then another two hours of sessions. On the Wednesday we will kick off into sessions at 2pm, and have lightning talks in the normal plenary slot. Jorge Castro is taking care of the plenary talks and lightning talks; reach out to him if you want to run a lightning talk.

There are five tracks, with each (apart from Foundations) having two video streams. Each track has two track leads:

  • Client – Jason Warner, Sebastien Bacher
  • Server and Cloud – Antonio Rosales, Daviey Walker
  • Community – Jono Bacon, Daniel Holbach
  • App Developers – Alan Pope, David Planella
  • Foundations – Steve Langasek

You can find all sessions listed at summit.ubuntu.com. Just visit the session you are interested in at the time of the session to view it; everything is included on the session page. You don’t need anything other than a web browser to view sessions but you will need a Google+ account to actively participate in a hangout.

For Track Leads

You should have all received an email from me about how to schedule sessions and how to start and stop the video streams.

Remember to ensure your Google+ is verified (Michael Hall should have checked this with you).

You and your co-track lead should pick one of the two tracks you have for your track and take care of setting up those streams.

Five minutes before a session (e.g. 1.55pm) is due to begin you should start the video stream and update the session in summit.ubuntu.com with the hangout and broadcast URLS. Likewise, 55 minutes into a session (e.g. 2.55pm), be sure to stop the hangout. We need to start and stop the video streams to ensure the recordings are broken up into the different hour long chunks. Required participants will automatically see a …read more
Source: FULL ARTICLE at Planet Ubuntu

United Tech Wins Turkish F-16 Contract

By Rich Smith, The Motley Fool

Filed under:

On Friday, defense contractor United Technologies announced that its UTC Aerospace Systems subsidiary has won a contract of unspecified value to supply four advanced DB-110 airborne reconnaissance systems, and also three fixed/transportable Imagery Exploitation Systems, for use aboard Turkish Air Force F-16 fighter jets.

The contract, part of the ironically acronymed Turkish Airborne Reconnaissance Program, or TARP, is technically with Turkish defense contractor Aselsan Elektronic Sanayi ve Ticaret, which is ordering the recon systems on behalf of the Turkish Air Force. UTC will additionally be asked to provide training and logistics support services for the devices.

In a statement explaining the award, UTC notes: “The DB-110 digital, real-time, tactical reconnaissance system captures images day and night using electro-optical/infrared sensor technology. Images can then be transmitted in real-time to analysts on the ground as well as viewed on the cockpit video display, enabling the pilots to verify targets and retask based on opportunities revealed during the mission.”

Shares of the parent company, United Technologies, declined 0.5% in Friday trading, closing at $90.13.

The article United Tech Wins Turkish F-16 Contract originally appeared on Fool.com.

Fool contributor Rich Smith and The Motley Fool have no position in any of the stocks mentioned. Try any of our Foolish newsletter services free for 30 days. We Fools don’t all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. All rights reserved. The Motley Fool has a disclosure policy.

(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement(“script”);
b.type=”text/javascript”;b.async=!0;b.src=(“https:”===c.location.protocol?”https:”:”http:”)+
‘//cdn.mxpnl.com/libs/mixpanel-2.2.min.js’;d=c.getElementsByTagName(“script”)[0];
d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
var c=b.split(“.”);2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(
Array.prototype.slice.call(arguments,0)))}}var g=a;”undefined”!==typeof f?g=a[f]=[]:
f=”mixpanel”;g.people=g.people||[];h=[‘disable’,’track’,’track_pageview’,’track_links’,
‘track_forms’,’register’,’register_once’,’unregister’,’identify’,’alias’,’name_tag’,
‘set_config’,’people.set’,’people.increment’];for(e=0;e<h.length;e++)d(g,h[e]);
a._i.push([b,c,f])};a.__SV=1.2;})(document,window.mixpanel||[]);
mixpanel.init("9659875b92ba8fa639ba476aedbb73b9");

function addEvent(obj, evType, fn, useCapture){
if (obj.addEventListener){
obj.addEventListener(evType, fn, useCapture);
return true;
} else if (obj.attachEvent){
var r = obj.attachEvent("on"+evType, fn);
return r;
}
}

addEvent(window, "load", function(){new FoolVisualSciences();})
addEvent(window, "load", function(){new PickAd();})

var themeName = 'dailyfinance.com';
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24928199-1']);
_gaq.push(['_trackPageview']);

(function () {

var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();

<p style="clear: both;padding: 8px 0 0 0;height: 2px;font-size: 1px;border: 0;margin: …read more
Source: FULL ARTICLE at DailyFinance

Marcin Juszkiewicz: AArch64 port of Debian/Ubuntu is alive!

That day had to come. It was just a matter of time. Debian bootstrapped new architecture port using just own tools and packages…

It was long trip. During last few years we saw bigger amount of work spent in Debian/Ubuntu on cross building packages. Then were Google Summer of Code projects on bootstrapping Debian and one for multiarch cross toolchains. And we had Wookey with his ideas, knowledge and abilities to get one thing to work on for months in a way that managers were agreeding that it needs another month and another 😉

And today I found an email from Wookey about AArch64 port. I suggest you to read it as it has a lot of information. You can find ready to use rootfs there which (connected with kernel from OpenEmbedded) boots to fresh Ubuntu 13.04:

Ubuntu Raring Ringtail (development branch) localhost ttyAMA0

localhost login: root
Last login: Thu Jan  1 00:07:37 UTC 1970 on ttyAMA0
Welcome to Ubuntu Raring Ringtail (development branch) (GNU/Linux 3.8.0 aarch64)

 * Documentation:  https://help.ubuntu.com/
root@localhost:~# uname -a
Linux localhost 3.8.0 #1 SMP Wed Feb 20 14:31:07 CET 2013 aarch64 aarch64 aarch64 GNU/Linux

You need to have patience as Upstart needs to run lot of stuff before it gives login prompt.

Still lot of work required as there are many patches to packaging waiting for being merged but I think that it is a big day for Debian and all distributions derived from it.


All rights reserved © Marcin Juszkiewicz
AArch64 port of Debian/Ubuntu is alive! was originally posted on Marcin Juszkiewicz website

…read more
Source: FULL ARTICLE at Planet Ubuntu

Adam Stokes: Mental Note: Django 1.4.x and Storm .19

Some notes on getting Storm used as a database backend for Django. Props to James Henstridge for doing the heavy lifting.

Setup virtualenv and install dependencies:

console
$ virtualenv --prompt=stormy venv
$ source venv/bin/activate
$ pip install django storm psycopg2 pytz python-dateutil
$ pip freeze > requirements.txt

Setup django skeleton

console
$ django-admin.py startproject myproject
$ cd myproject
$ python manage.py startapp common

Edit settings.py to include the proper middleware and STORM_STORES

“` python settings.py
MIDDLEWARE_CLASSES = (

'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'storm.django.middleware.ZopeTransactionMiddleware',       # Added this line
# Uncomment the next line for simple clickjacking pro

)

STORM_STORES = { ‘default’ : “postgres://adam@localhost/testdb” }
“`

Next in my app add some models

“` python common/models.py
from django.db import models
from storm.sqlobject import StringCol, UtcDateTimeCol, BoolCol, IntCol
from storm.locals import Int
from storm.expr import SQL
from datetime import datetime
from pytz import UTC
import dateutil.parser

class Bug(models.Model):

__storm_table__ = "bug"
id = Int(primary=True,)
date_created = UtcDateTimeCol(notNull=True,)
date_last_message = UtcDateTimeCol()
date_last_updated = UtcDateTimeCol()
date_made_private = UtcDateTimeCol()
description = StringCol(notNull=True,)
duplicate_of = IntCol()
heat = IntCol()
gravity = IntCol()
information_type = StringCol()
latest_patch_uploaded = UtcDateTimeCol()
message_count = IntCol(notNull=True,)
number_of_duplicates = IntCol()
other_users_affected_count_with_dupes = IntCol()
owner = IntCol(notNull=True,)
private = BoolCol(notNull=True, default=False,)
security_related = BoolCol(notNull=True, default=True,)
tags = StringCol()
title = StringCol(notNull=True,)
users_affected_count = IntCol()
users_affected_count_with_dupes = IntCol()
web_link = StringCol()
who_made_private = IntCol()

“`

Pull the data into the view

“` python common/views.py
from django.core.context_processors import csrf
from django.shortcuts import render_to_response, HttpResponseRedirect
from storm.django.stores import *
from myproject.common.models import *

def index(request):

store = get_store('default')
bug = store.find(Bug)
return render_to_response("common/index.html", { 'bug' : bug })

“`

Finally, edit the template to display the data

“` html templates/common/index.html

{% extends ‘layout.html’ %}

{% block page_name %}Home{% endblock %}

{% block content %}

    {% for b in bug %}

  • {{ b.id }} : {{ b.title }}
  • {% endfor %}

{% endblock content %}

“`

Things to do:

  • Have get_store persisted when the application starts
  • Integrate migrations with South
  • Integrate with something like celery for running some background jobs

I haven’t done anything major other than a few queries so time will tell how well this does when this project really gets into making use of Storm.

…read more
Source: FULL ARTICLE at Planet Ubuntu

Ruby: "Can't convert nil into String" error

By Elvirnith

Hi there,

I’m relatively new to ruby and I’m trying to put together this script to process cron jobs on a server. It’s almost working, except I can’t figure out what exactly is wrong and how to fix it. Can anyone point me in the right direction?

Here’s what I have so far:


require ‘rubygems’
require ‘crontab-parser’

start_time = Time.parse(ARGV[0])
end_time = Time.parse(ARGV[1])

File.open(‘/root/flagged_cron_jobs.log’, ‘w+’) do |f2|

crontab_data = File.readlines(ARGV[2]).select {|line| line =~ /^[0-9*]/}
cron = CrontabParser.new(crontab_data.join(“n”))
(start_time..end_time).each do |timestamp|
next unless timestamp.sec.to_i == 0
cron.each do |cron_entry|
Dir[“/var/spool/cron/*”].each do |file|
username = file.split(“/”).last
crontab = CrontabParser.new(File.read(file))
puts “User: #{username}”
if cron_entry.should_run?(timestamp)
f2.puts “#{timestamp}t#{cron_entry.cmd}”

end
end
end
end
end

Here’s the error:

Code:

cron_parse.rb:9:in `readlines': can't convert nil into String (TypeError)
from cron_parse.rb:9
from cron_parse.rb:7:in `open'
from cron_parse.rb:7


Command being executed is like so:

Code:

ruby cron_parse.rb "Thurs Feb 7 01:00 UTC 2013" "Thurs Feb 7 01:14 UTC 2013"


I suspect it’s because of the addition of

Code:

crontab = CrontabParser.new(File.read(file))


in relation to

Code:

cron = CrontabParser.new(crontab_data.join("n"))


but I’m not really sure of how to deal with this.

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Asteroid 2012 DA14 – Earth Flyby Reality Check

By Breaking News

724124main1 2012da14rp36 673 Asteroid 2012 DA14 – Earth Flyby Reality Check

Small near-Earth asteroid 2012 DA14 will pass very close to Earth on February 15, so close that it will pass inside the ring of geosynchronous weather and communications satellites. NASA’s Near-Earth Object Program Office can accurately predict the asteroid’s path with the observations obtained, and it is therefore known that there is no chance that the asteroid might be on a collision course with Earth. Nevertheless, the flyby will provide a unique opportunity for researchers to study a near-Earth object up close. Here are the facts about the safe flyby of Earth of asteroid 2012 DA14 — a record close approach for a known object of this size.

The Flyby of Asteroid 2012 DA14 – A Discussion with Don Yeomans of NASA’s Near-Earth Object Program Office at the Jet Propulsion Laboratory in Pasadena, Calif.
› Download video
An animation depicting the trajectory of asteroid 2012 DA14 as it travels within the Earth-moon system on Feb. 15, 2013.
› Download video

An overview of near-Earth objects with emphasis on the upcoming close approach of asteroid 2012 DA14.
› Download video

Graphic depicts the trajectory of asteroid 2012 DA14 on Feb 15, 2013. In this view, we are looking down from above Earth’s north pole. Image credit: NASA/JPL-Caltech
› Larger viewGraphic depicts the trajectory of asteroid 2012 DA14 during its close approach, as seen edge-on to Earth’s equatorial plane. The graphic demonstrates why the asteroid is invisible to northern hemisphere observers until just before close approach: it is approaching from “underneath” our planet. On the other hand, after close approach it will be favorably placed for observers in the northern hemisphere. Image credit: NASA/JPL-Caltech
› Larger view

Q: What is asteroid DA14

 A: Asteroid 2012 DA14 is a small near-Earth object – approximately 150 feet (45 meters) in diameter. On Feb. 15, 2013, the asteroid will pass by our planet at a remarkably close distance, but the asteroid’s path is understood well enough that there is no chance of a collision with the Earth.

Q: What date and what time will the asteroid be closest to Earth?

 A: Asteroid 2012 DA14 will be closest to Earth on Feb. 15 at approximately 19:24 UTC (2:24 p.m. EST/11:24 a.m. PST). This time may change by a minute or two as the asteroid is tracked on its approach and predictions are refined.

At the time of closest approach, the asteroid will be over the eastern Indian Ocean, off Sumatra — approx. latitude: -6 deg South. / longitude: 97.5 deg East.

Q: How far away will asteroid 2012 DA14 be at time of closest approach?

 A: Asteroid 2012 DA14 will be only about 17,200 miles (27,700 kilometers) above Earth’s surface at the time of closest approach on Feb 15, 2013. This distance is well outside Earth’s atmosphere, but it is inside the belt of satellites in geostationary orbit, which is located 22,200 miles (35,800 kilometers) above Earth’s surface. The close-approach distance is only about …read more
Source: FULL ARTICLE at Western Journalism

Jono Bacon: Ubuntu Video Q&A This Week

This week’s live video Q&A is back to the normal time slot of every Wednesday at 7pm UTC (click here for the time in your location this week). The day is different this week as I need to join a sprint later this week.

This week I will be running the usual hour long Q&A session as well as talking about some upcoming community projects.

To join, head over to Ubuntu On Air at 7pm UTC on Wednesday and you can ask your questions in the embedded chat box.

Look forward to seeing you all there!

Source: FULL ARTICLE at Planet Ubuntu

The Fridge: Application Review Board restaffing results

Hello everyone,

The Application Review Board has been seeking new members for the past month and closed the nomination period on the 14th of January.

Only a single nominee, Jonathan Carter, came out of this for the 3 seats that were available on the board.

The usual procedure is for the Technical Board to setup a CIVS poll for such restaffing, though in this particular case, we do not feel it’d serve any real purpose and so decided to simply confirm Jonathan’s membership on the Application Review Board.

Please join me on welcoming Jonathan back on the ARB!

PS: Note that the ARB is still understaffed by 2 members so if anyone would like to join, please get in touch with them.

Originally posted to the ubuntu-devel mailing list on Fri Jan 18 15:40:12 UTC 2013 by Stéphane Graber

Source: FULL ARTICLE at Planet Ubuntu

Installation of older version of rsyslog

By prash358

Hi,

I am trying to downgrade the version of rsyslog to the older version (i.e)

Quote:

1.19.12-1


and when i issue the below command to check the packages i dont see the required package (i.e)

Quote:

1.19.12-1


Quote:

sudo apt-cache showpkg rsyslog
Package: rsyslog
Versions:
4.2.0-2ubuntu8.1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-i386_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-i386_Packages
MD5: d94b58ff2be5888c5b465281d17e5d27

4.2.0-2ubuntu8 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_main_binary-i386_Packages
MD5: d94b58ff2be5888c5b465281d17e5d27

Reverse Depends:
rsyslog-relp,rsyslog 4.2.0-2ubuntu8.1
rsyslog-pgsql,rsyslog 4.2.0-2ubuntu8.1
rsyslog-mysql,rsyslog 4.2.0-2ubuntu8.1
rsyslog-gssapi,rsyslog 4.2.0-2ubuntu8.1
rsyslog-gnutls,rsyslog 4.2.0-2ubuntu8.1
request-tracker3.8,rsyslog
ldirectord,rsyslog
rsyslog-doc,rsyslog 2.0.1-2
rsyslog-doc,rsyslog 2.0.1-2
logcheck,rsyslog
initscripts,rsyslog 4.2.0-2ubuntu3~boot1
zoneminder,rsyslog
xwatch,rsyslog
snort-pgsql,rsyslog
snort-mysql,rsyslog
snort,rsyslog
rsyslog-relp,rsyslog 4.2.0-2ubuntu8
rsyslog-pgsql,rsyslog 4.2.0-2ubuntu8
rsyslog-mysql,rsyslog 4.2.0-2ubuntu8
rsyslog-gssapi,rsyslog 4.2.0-2ubuntu8
rsyslog-gnutls,rsyslog 4.2.0-2ubuntu8
request-tracker3.8,rsyslog
psad,rsyslog
ldirectord,rsyslog
heartbeat,rsyslog
fwlogwatch,rsyslog
auth2db,rsyslog
ufw,rsyslog
ubuntu-minimal,rsyslog
rsyslog-doc,rsyslog 2.0.1-2
rsyslog-doc,rsyslog 2.0.1-2
logcheck,rsyslog
initscripts,rsyslog 4.2.0-2ubuntu3~boot1
Dependencies:
4.2.0-2ubuntu8.1 – libc6 (2 2.4) zlib1g (2 1:1.1.4) upstart-job (0 (null)) lsb-base (2 3.2-14) adduser (0 (null)) ucf (2 0.8) rsyslog-mysql (16 (null)) rsyslog-pgsql (0 (null)) rsyslog-doc (0 (null)) rsyslog-gnutls (0 (null)) rsyslog-gssapi (0 (null)) rsyslog-relp (0 (null)) logrotate (0 (null)) linux-kernel-log-daemon (0 (null)) system-log-daemon (0 (null))
4.2.0-2ubuntu8 – libc6 (2 2.4) zlib1g (2 1:1.1.4) upstart-job (0 (null)) lsb-base (2 3.2-14) adduser (0 (null)) ucf (2 0.8) rsyslog-mysql (16 (null)) rsyslog-pgsql (0 (null)) rsyslog-doc (0 (null)) rsyslog-gnutls (0 (null)) rsyslog-gssapi (0 (null)) rsyslog-relp (0 (null)) logrotate (0 (null)) linux-kernel-log-daemon (0 (null)) system-log-daemon (0 (null))
Provides:
4.2.0-2ubuntu8.1 – system-log-daemon linux-kernel-log-daemon
4.2.0-2ubuntu8 – system-log-daemon linux-kernel-log-daemon
Reverse Provides:


and when i try to install it is complaining about package not found.

Quote:

apt-get install rsyslog=1.19.12-1


Please advise on how to install the required older version.

Below is the uname output

Quote:

uname -a
Linux myserver01 2.6.32-38-generic-pae #83-Ubuntu SMP Wed Jan 4 12:11:13 UTC 2012 i686 GNU/Linux


Source: FULL ARTICLE at The UNIX and Linux Forums

The Fridge: Vacant Developer Membership Board seat: Call for nominations

We will soon have four vacant Developer Membership Board seats. Benjamin Drung, Stéphane Graber, Iain Lane and Cody Somerville will reach the end of their terms on 2013-02-13. This mail is a call for nominations.

The DMB is responsible for reviewing and approving new Ubuntu developers, meeting for about an hour once a fortnight. Candidates should be Ubuntu developers themselves, and should be well qualified to evaluate prospective Ubuntu developers and decide when to entrust them with developer privileges or to grant them Ubuntu membership status.

The new member will be chosen using Condorcet voting. Members of the ubuntu-dev team in Launchpad will be eligible to vote. To ensure that you receive a ballot in the initial mail, please add a visible email address to your Launchpad profile (although there will be an opportunity to receive a ballot after the vote has started if you do not wish to do this).

The term of the new board member will be 2 years. Providing at least five nominations are received, voting will commence on Monday 28th January 2013 and will last for 2 weeks, ending on Monday 11th February
2012. The DMB will confirm the appointments in its next meeting thereafter.

Please send nominations to developer-membership-board at lists.ubuntu.com (which is a private mailing list accessible only by DMB members) by midnight UTC on 28 January 2013.

If nominating a developer other than yourself, please confirm that the nominee is happy to sit on the board before emailing the DMB.

Please consider writing a short statement on your wiki page if nominating so that others get a better idea of who they are voting for.

If you include a link to this in your nomination mail or a followup, the DMB will share it when the call for votes begins.

Originally posted to the ubuntu-devel-announce mailing list on Tue Jan 15 18:05:45 UTC 2013 by Iain Lane

Source: FULL ARTICLE at Planet Ubuntu

Jono Bacon: This Week’s Video Q&A

After missing my weekly live Ubuntu and Community Management video Q&A last week due to exhibiting at CES, I will be doing this week’s live video Q&A on Monday 14th January 2013 (tomorrow) at 7pm UTC (click here for the time in your location). The day is different this week as I need to join a sprint later this week.

I will be kicking off the session with a summary of Ubuntu at CES and a summary of the response to Ubuntu on phones in general as well next steps. We will then get into the Q&A, and as ever, you are welcome to ask me absolutely anything on the show.

To join, head over to Ubuntu On Air at 7pm UTC on Monday 14th January 2013 and you can ask your questions in the embedded chat box.

Look forward to seeing you all there!

Source: FULL ARTICLE at Planet Ubuntu