Search Results: "edd"

8 October 2009

Eddy Petrișor: This makes the hair on my back raise

I want the ones reading this and watching this to understand I respect peaceful people and people respecting secularism. This is not hate speech.

On the other hand, I personally checked the quotes and I invite you to check yourselves, don't take my word for it:

http://www.liveleak.com/view?i=216_1207467783



This has the potential and explains a lot of what we're seeing today.

6 October 2009

Matt Zimmerman: Problems expand to fill available space


At any given moment, I have a set of open problems in my life. On my good days, I m working on the most important one, aiming to solve it as quickly as possible. Otherwise, my most important problem is that I m not working on my most important problem! From time to time, I manage to solve a problem, and can remove it from the list. As a side effect, my #2 problem gets a promotion and becomes #1 (thanks to Jerry Weinberg for this analogy). The problem at the top of the list, by virtue of being a focal point, can easily seem bigger than it is. As humans, we normalize our point of view based on what is happening to us. If we apply conventional productivity wisdom and focus exclusively on our most important task, that task consumes all of our attention. Being constantly in this state can be very productive, but also create a problem orientation. I experience this as a feeling that I am constantly surrounded by problems and never catch up . At times like this (if I m aware and realize that it s happening), these are some of the things that help me recenter myself:
  • Devote some attention to reviewing what I ve accomplished recently, to remind myself of progress
  • Ask myself if my #1 problem is actually urgent, or if I m just on a roll. If it s not urgent, consider taking a break from problem-solving and work on something else important for a while
  • Give away some problems that I m holding onto but don t need to own
  • Remind myself that this feeling as a side effect of where I focus my attention, and I can therefore influence it
  • Laugh

4 October 2009

Matt Zimmerman: Free software is so easy you don t even need a keyboard!


For some time now, I ve been using a LinkSys NSLU2 as a file server for my home network. It s very small, has no moving parts, and uses relatively little electricity. Combined with a large USB-attached hard disk, it has worked very nicely overall. My only issue has been that it is somewhat underpowered: with a 266MHz CPU and only 32M of RAM, it just wasn t as responsive as I would like. This weekend, I finally got around to replacing it with a newer unit based on the Babbage 2 design, with an 800MHz CPU and 512M of RAM. This should be much faster, and let me run more services than just Samba and rsync. The only trouble was, the console interface on the new system is VGA and USB. I have a VGA monitor at home, but I don t have a keyboard. I used to be the sort of person who had cabinets full of spare computer parts at home. Before my transatlantic relocation, I lightened my load substantially, and have only one small box now. This box did not contain a USB keyboard, and our only computers at home are laptops and netbooks. Fortunately, the unit had a build of Ubuntu installed on its internal flash, configured to log in automatically to a graphical desktop. Using a dust-covered USB mouse I found in the bottom of the parts box, I copied and pasted letters from the gnome-terminal help files to install openssh-server, so that I could login over the network and finish setting it up. It has now replaced the NSLU2 and is much snappier.

3 October 2009

Tiago Bortoletto Vaz: Big Jay McNeely playing on his back, Los Angeles, 1951





Big Jay McNeely playing on his back, Los Angeles, 1951

Upload feito originalmente por Bob Willoughby
Great moments should be shared.
Posted in english

Robert Collins: Subunit-0.0.3


Subunit 0.0.3 should be a great little release. Its not ready yet, but some key things have been done. Firstly, its been relicensed under BSD/Apache version 2. This makes using Subunit with other test frameworks much easier, as those frameworks tend to be permissive licenses such as the LGPL, BSD or Apache. Thanks go out to the contributors to Subunit who made this process very painless. Secondly, the C client code is getting a few small touch ups, probably not enough to reach complete feature parity with the Python reporter. Thirdly, the CPPUnit patch that Subunit has carried for ages has been turned into a small library built by Subunit, so you ll be able to just install that into an existing CPPUnit environment without rebuilding CPPUnit. Lastly, but most importantly it will have hopefully the last major protocol change (still backwards compatible!) needed for 1.0 the ability to attach fairly arbitrary debug data in an outcome (things like stdout , stderr , a log file X and so forth). This will be used via an experimental object protocol the one I proposed on the Testing In Python list. I should get the protocol changes done on the flight to Montreal tomorrow, which would be a great way for me to get my mind fully focused on testing for the sprint next week.

Eddy Petrișor: Remus Cernea invited at Doru Braia's Talk oc

Tuesday, on the 29th of September Remus Cernea participated at Doru Braia's Talk oc.

They discussed about Romania's current situation, the need for an alternative to the current political class, Remus' book Manifest mpotriva becaliz rii Rom niei - (roughly traslated: Manifest against Romania's "becalisation" - Becali is a very controversal figure in Romania, an ex-shepard that got rich after speculating on the real estate market), Catedrala M ntuirii Neamului (roughly translated: People's Salvation Cathedral), free thinking, religious freedom and tolerance, the posibility of prostition becoming legal in Romania, drug consumption, education, the young generation

You can see the recording here.

2 October 2009

Aigars Mahinovs: Test post with an embedded wave

Hello all, the latest craze is the Google Wave preview. I am in, so I am testing how a Google Wave will look when primitively embedded into a blog post using Wavr plugin for Wordpress. And here it is:
<script type="text/javascript"> add_wave("waveframe-1", bgcolor:"#dddddd", color:"#000000", font:"", font_size:"1em", width:"", height:"", id:"googlewave.com!w+Vc58PZQwA" ); </script> Update: to make it work replace in the Wavr source the URL to the WavePanel to https://wave.google.com/wave/ and to determine your wave url, go to your wave interface, click on a wave and look on you address bar for something like googlewave.com!w+Vc58PZQwA . If you have %252B in the URL, replace it with + . You might have to un-urlescape something else as well, so remember that %25 is a url escape for % .

1 October 2009

Eddy Petri&#537;or: Some Debian work in a long time

I finally managed to do some Debian work in a long time, I managed to package Wormux 0.8.5 for Debian Sid (aka Unstable).

This new version delivers one new binary package, wormux-servers, which contains the stand alone (aka headless) game server and the index server. Unfortunately, the information on setting these up resumes to have a couple of configuration files which are placed in /usr/share/wormux/examples/ .

Also, there's a bug that affects network games when using the construction tool, but fortunately, upstream already has some fixes, including one for this bug, and as soon as 1:0.8.5-1 enters squeeze, I'll prepare a patched version (including some other fixes present in upstream).

Until then, please enjoy Wormux.

30 September 2009

Dirk Eddelbuettel: RInside release 0.1.1, and a fresh example

Last week's 0.1.0 release of RInside, and the first to have been published on CRAN, still had some issues with builds and use on OS X. Thanks to testing and fixes by Jan de Leeuw, Jeff Horner and particularly Simon Urbanked, things are said to be better now with the new release 0.1.1 which went onto CRAN yesterday. So no new features, but fixes to the main Makefile as well as the Makefile for the examples directory, some minor fixes and editing for the examples. I also added a file THANKS to show some appreciation for the various patches and fixes I have been receiving -- they are appreciated! However, today I committed a new example to SVN archive at R-Forge. It is based on this thread on r-devel. Abhijit Bera tries to do this in C, but to me his questions provide rather clear motivation for showing how much simpler things can be via C++ and the Rcpp classes along with RInside. Using a small example, the task was to pass a weight vector to a portfolio solver from the Rmetrics package fPortfolio and to then access the computed solution. The original poster struggled with access from C to the S4 classes used by fPortfolio and could not set the weights. But when using RInside, we simply pass a C++ vector of weights down to R, solve the problem and pass a solution vector back using the handy evaluation of R expressions:
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4;  tab-width: 8; -*-
//
// Another simple example inspired by an r-devel mail by Abhijit Bera
//
// Copyright (C) 2009 Dirk Eddelbuettel and GPL'ed
#include "RInside.h"                    // for the embedded R via RInside
#include "Rcpp.h"                       // for the R / Cpp interface used for transfer
#include <iomanip>
int main(int argc, char *argv[])  
    try  
        RInside R(argc, argv);          // create an embedded R instance
        SEXP ans;
        std::string txt = "suppressMessages(library(fPortfolio))";
        if (R.parseEvalQ(txt))          // load library, no return value
            throw std::runtime_error("R cannot evaluate '" + txt + "'");
        txt = "lppData <- 100 * LPP2005.RET[, 1:6]; "
	  "ewSpec <- portfolioSpec(); "
	  "nAssets <- ncol(lppData); ";
        if (R.parseEval(txt, ans))      // prepare problem
            throw std::runtime_error("R cannot evaluate '" + txt + "'");
	const double dvec[6] =   0.1, 0.1, 0.1, 0.1, 0.3, 0.3  ; // choose any weights you want
	const std::vector<double> w(dvec, &dvec[6]);
	R.assign( w, "weightsvec");	// assign STL vector to R's 'weightsvec' variable
	txt = "setWeights(ewSpec) <- weightsvec";
        if (R.parseEvalQ(txt))		// evaluate assignment
            throw std::runtime_error("R cannot evaluate '" + txt + "'");
	txt = "ewPortfolio <- feasiblePortfolio(data = lppData, spec = ewSpec, constraints = \"LongOnly\"); "
	  "print(ewPortfolio); "
	  "vec <- getCovRiskBudgets(ewPortfolio@portfolio)";
        if (R.parseEval(txt, ans))      // assign covRiskBudget weights to ans
            throw std::runtime_error("R cannot evaluate '" + txt + "'");
	RcppVector<double> V(ans);      // convert SEXP variable to an RcppMatrix
	R.parseEval("names(vec)", ans);	// assign columns names to ans
	RcppStringVector names(ans);
	for (int i=0; i<names.size(); i++)  
	  std::cout << std::setw(16) << names(i) << "\t"
		    << std::setw(11) << V(i) << "\n";
         
      catch(std::exception& ex)  
        std::cerr << "Exception caught: " << ex.what() << std::endl;
      catch(...)  
        std::cerr << "Unknown exception caught" << std::endl;
     
    exit(0);
 

29 September 2009

Julian Andres Klode: upgrade failures


Today I wanted to upgrade my sid system again (like I do 1-3 times per day, especially when I have nothing else to do). First of all, I was hit by a bug in APT Could not perform immediate configuration (2) on perl . I worked around it by running the latest git commit of cupt, which then started to upgrade my system. At some stage however, after upgrading parts of perl it seems, the progress stopped and perl complained that it could not find English.pm anymore. I tried to manually install the perl packages using dpkg -i, but this did not work. Then I just thought I should just try to unpack it and run dpkg -x <package> / on the perl packages. Now dpkg -i was working again and I could run dpkg -i on the packages again and continue my upgrade using apt-get. Posted in Debian

Kartik Mistry: 3 years!


* It has been just 3 years since I uploaded my first package, Xosview!
xosview (1.8.2-10) unstable; urgency=low * New Maintainer (Closes: #390066)
* standards-version to 3.7.2 Kartik Mistry Fri, 29 Sep 2006 10:16:09 +0530

Matt Zimmerman: Explaining to girls


There has been some discussion recently about Mark Shuttleworth s keynote at LinuxCon, in particular a comment he made in passing about the need to explain to girls about free software. I haven t had much time for writing since then, but a few people have asked me what I thought about it, so I thought I should say something. First, a few things to note:
  • Yes, I was there, in person, at the event, in the audience, during the keynote
  • Mark is my direct manager at Canonical, and occupies various positions of authority in the Ubuntu community
  • I am speaking mainly for myself, and in part on behalf of the Ubuntu community (not Canonical)
  • I briefly spoke to Mark in private about what he had said, shortly after his talk, before saying anything publicly
The remark in question was sexist, and although it may seem small in itself, it is representative of an attitude which is harmful to the community. I think that Mark cares about the health of the free software community, and the Ubuntu community in particular. I don t think that he set out to exclude and alienate women, but he did so without meaning to. It was a mistake. It was a mistake which very likely had deep, unconscious roots. I make such mistakes myself, more often than I would like. My own mistakes are the most difficult to see and grapple with, so I can identify with his situation. I, too, care about the health of the community, which is why I m speaking up. Mark probably didn t realize that he was othering, or invoking a pattern of men explaining things to women. His intent was to make his (overwhelmingly male) audience laugh, and they did laugh. Now, it s clear that some people didn t find it funny, and were made uncomfortable by it, some to the extent that they want nothing to do with Ubuntu because of this attitude. The fact that it was only a joke doesn t change that. They know it was intended as a joke, and they still feel this way. This sort of mistake is very common, common enough that there is handy reference material which explains how to handle it without making it worse. There have been much more severe incidents in the free software community this year, with more lasting effect than passing comments. This one is pretty easy to correct, and I hope that Mark does so. It would send the message that we mean it when we say that a community where people feel uncomfortable or threatened is not a productive one.

28 September 2009

Matt Zimmerman: Quick quote: population growth


This is too long for identi.ca and Twitter, but too good to pass up:
It s no coincidence that most of those who are obsessed with population
growth are post-reproductive wealthy white men: it s about the only
environmental issue for which they can t be blamed.
Quote from Stop blaming the poor. It s the wally yachters who are burning the planet in the Guardian. (via Kevin Smith)

27 September 2009

Carl Chenet: Python-keyring in Debian


I have been introducing the Python Keyring library in this previous post. At that time I was looking for a sponsor and thanks to Piotr O arowski, python-keyring is now available in Sid. What for ?
  • You can access the keyring you use on your system (Gnome-keyring, KWallet) to store your app s passwords.
  • It s a unified access to keyrings that the Python Keyring library provides, meaning you can easely write your own backend for your keyring software.
  • You can create your own keyring, crypted on a file, still with the same library.
  • Keyrings are cool and this library provides a great way to play with them, from your Python applications.
  • When mature, the Keyring library will be integrated in the official Python module getpass, which means you re not learning yet-another-soon-unmaintained library.
How ? The source package provides three binary packages :
  • python-keyring : the Keyring library without the support of both Gnome-keyring and KWallet.
  • python-keyring-gnome : the support for Gnome-keyring.
  • python-keyring-kwallet : the support for KWallet.
If you use passwords in your Python apps, it s worth to give python-keyring a try.

Eddy Petri&#537;or: Remus Cernea - how media blocks information

I wrote in my last post about my decision to support Remus Cernea's candidacy to he Romanian Presidency.

The fact is that main stream media ignored for a whole month his candidacy and the fact that Radio Rom nia Actualit i (Radio News Romania) removed an internet poll (true, not a social poll, but one of the percepted image of the Internet users) from the site www.politicaromaneasca.ro which credited him with 30% of the preferences of the visitors.




Here (Romanian) is the article on Remus' blog in which he talks about this. And no, he did not set himslef on fire, he set on fire a picture of himself as a symbolic gesture against the media blockade.


As a proof that the poll was not doctored, the first article mentioning Remus Cernea in a search for "presedintia romaniei alegeri" is the 5th unsponsored hit on google.ro. There is an obvious correlation between the position of other candidates in the results and the hits on Google.


If you want to support Remus' candidacy, please sign the support list(ro) or even collect signatures (ro) for him. He needs 200 000 signatures to be able to candidate, a task which is even harder for a candidate without a big party behind him.

You can contact me at eddy.petrisor+remuscernea _at_ gmail.com, for more details or you can contact Remus directly.

26 September 2009

Julian Andres Klode: Results of the APT2 config parser testing


Thanks to those who have tested it (and/or will test it). The results where helpful and resulted in Bug#548443 filed against localepurge and GNOME Bug #596429 against glib. The first one is a case where quotes where used inside a value, although this has never been defined to work, and the second one is a problem with GLib s GScanner not ignoring multi-line C-style comments although it was configured to do so. I also fixed some bugs in APT2, like the missing build-depends on libgee-dev and the configuration parser now accepts . , _ , + in the option name. I also talked with Eugene about some differences in the way cupt and APT2 handle quotes and about some other parts of the configuration format. Seems this was a good day. Posted in APT2

25 September 2009

Julian Andres Klode: cupt and how to write package managers


cupt is a new package manager written in Perl by Eugene V. Lyubimkin, who previously contributed to APT. And more than all, the project makes no sense at all. First of all, there is a language issue. Implementing a package manager in Perl has some major drawbacks. One of the features of APT was it being written in a lower-level language (i.e. C++ which really is below Perl), making it possible to write applications like synaptic and python bindings which in turn lead to applications like gnome-app-install or Ubuntu s new Software Store. Furthermore, writing a package manager in Perl means that Distributions such as Emdebian might not be able to use it since they have excluded Perl due to its space requirements. This becomes even more important considering that cupt depends on even more perl libraries. This means that cupt will never be able to replace APT. Secondly, a package manager should not be designed specifically for one distribution. This is another major drawback of cupt and other package managers such as yum or zypper. The smart package manager, written in Python and funded by Canonical Ltd. is an example for a distribution-neutral package manager. Now let s take a look at package management in modern distributions. Usually we have two levels of package managers, the first being tools like dpkg and rpm which take care of installing and removing the packages and level-2 package managers implementing dependency resolvers and package retrieval from remote locations. Recently, distributions started to add a third layer named PackageKit, which shall provide distribution-independent package management user interfaces. The project was well-received by RPM-based distributions, but failed in Debian-based distributions due to not supporting debconf. Furthermore, adding a third layer just increases the possibility of problems. The right way to do package management is a distribution-independent level-2 package manager written in C. The smart project shows us that this is possible although itself fails to meet the lower-level language (C) requirement. That s why I decided to write a package manager in Vala, a GObject-based language which gets converted to C and then compiled. If successful, this project will be able to replace most of the current level-2 package managers and will also provide the same distribution-independence as provided by a level-3 package manager such as PackageKit. It is also easy to create binding for other programming language such as Python or Perl thus enabling application developers to choose the language they like most. The core of this project is a vendor-neutral library, temporarily called libapt (as the project is called APT2 for now). This library contains all the code which is not specific to a vendor i.e. file retrieval, dependency resolver, caches, etc and is then enhanced by several vendor-specific plugins, each implementing a PackageManager (interface to the distribution s level-1 package manager) and a Repository (well, repositories from which you can download packages) interface. We could even enhance the vendor-independent interface to include more details of a repository. Most repositories nowadays consist of 4 components: A meta index (Release files for Debian, repomd.xml for Fedora/openSUSE/etc.), a package index (e.g. Packages files for Debian, *primary.xml.gz on Fedora, etc. ), a source index (e.g Sources files in Debian) and a files index (e.g. Contents-*.gz for Debian). I took a look at the repository formats of Slackware, openSUSE and Fedora and it seems that this concept can be applied to all of them. So maybe all we need are distribution dependent parsers for those files. One of the most important issues with APT is its use of mmap() for the cache. Using mmap() makes it hard to grow the cache, which is sometimes needed. We see a lot of bug reports from people with too small cache sizes. We can circumvent this problem by utilizing an embedded database like SQLite for this, but we would probably loose some speed and it may be harder to maintain a flexible API. We should see what the best option is here, both ways are possible since Vala 0.7.6 includes my patches for adding mmap(), ftruncate(), mremap() and some other functions. An idea to circumvent the mmap() issue is gathering statistics about the relation between the number of repositories and the size of the cache and then using a value which is slightly above the average statistical value. The project is not very mature yet, it only includes basic library functions for downloading files and parsing configuration files, etc. You can find the (MIT licensed) code at http://git.debian.org/?p=users/jak/apt2.git. I also have some local code for repository management and multi-threaded file fetching, but it s just not ready to be merged yet. Posted in APT2, Debian

Julian Andres Klode: The APT2 project


I just started working on a replacement for APT written in Vala and called APT2 (I know, the name could be better). The main idea behind the project is to create a library for working with Debian repositories and packages, and on top of this library a few applications. This is different from APT because the project focuses on the library part, whereas APT is primarily focused on the application part. I chose Vala for this task because it has an easy syntax and allows me to use the features provided by GLib and Co. really easily. GLib provides many functions needed for APT like file access, unicode handling, hashsums creation. It also provides us with signals which are useful for implementing progress reporting. Another project, called cupt tries to provide an APT replacement in Perl. Apart from the fact that I don t like Perl, it also has the disadvantage of being too big to ship on embedded devices and is not useable from other languages such as Python or C/C++. Yet another project, smart provides a different package manager written in Python. While I like Python, it can t be used from languages such as Perl or C/C++ and is too large. APT2 will only require GLib, Gee and libarchive, which require about 2MB of space; about 1/10 of Perl s size. The core of APT2 is a library called libapt . At the moment, this library provides classes for reading tag files (TagFile&TagSection) and an incomplete configuration class based on libgee s HashMap (to ease coding, it will probably be changed to a special data structure like those in apt-pkg). The next step will be implementing a parser for configuration files (currently we only support in-memory objects) and writing the Acquire system. The planned Acquire system uses GModule to modularize the support for different URI schemes. Each module provides a worker class which implements one or more URI schemes. The first of these modules will provide a worker using GIO, which deals with local file access, samba shares, FTP, SFTP, WebDAV and various other protocols, including HTTP until a replacement has been written (since we don t want to force gvfs-backends). The workers communicate with the parent Acquire object using signals and can cause the whole acquisition to be aborted by emiting an abort signal (or similar). The whole project has just been started and may take some months until it becomes useful (if it becomes useful at all). The code can be found at http://git.debian.org/?p=users/jak/apt2.git and is licensed under the MIT license (see http://www.opensource.org/licenses/mit-license.php). It is a secondary project and will not affect my work on apt (not much yet) and python-apt (0.8 series). Posted in APT2, Debian

Julian Andres Klode: APT2: config parser testing


If you have an amd64 system, install the apt2 package from deb http://people.debian.org/~jak/debian/ unstable/ and run the apt2-config command. Make sure that the parser reports no errors, otherwise send me an email or leave a comment here. One known exception is that all values must be quoted in the configuration file, I have no plans to fix this (probably just deprecate unquoted strings in APT instead). The parser is not as strict as cupt s parser, but it gives you more help if something wents wrong. We also ignore most semicolons for now (they will be turned into warnings or errors later on). It is using GScanner from GLib for parsing the files. apt2-config replicates the functionality of apt-config. It currently do not read the configuration files in the correct order, so don t expect apt2-config dump to produce exactly the same output as apt-config dump . To build APT2 yourself, you need a patch for waf from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548329. Posted in APT2

Tiago Bortoletto Vaz: Irony


almost sleeping during a pathetic Microsoft s talk, so an email arrives: New Debian developer Tiago Bortoletto Vaz . Oh god! Couldn t this ticket be closed in a better moment? Of course not! :) ) Posted in english

Next.

Previous.