Robert Millan: ZFS v28
ZFS v28 (finally, with deduplication) is available in latest D-I daily builds when selecting kernel of FreeBSD 9 as boot option.
Testers wanted!!
ZFS v28 (finally, with deduplication) is available in latest D-I daily builds when selecting kernel of FreeBSD 9 as boot option.
Testers wanted!!
Time flies... and very fast.Last time I wrote here I mentioned about my graduation and another post to talk about that, I'll write about it as soon as I get my diploma (because of different printing problems it was delayed for almost 2 years). And I do plan to write more frequently. :-)
There are so many things I'd like to share and tell you about but that would make a long and boring post, so I'll divide it in future entries, so I can keep this diary alive, keep people informed and tell a little bit about my story. Eventually, I may split this diary into a technical and a non-technical blog, but for now, I will stick around mixing topics. :-) Last time I wrote was back in 2009 at DebConf9 in Spain and a lot of things happened that year. Not only for Debian, but also for me.
My last year studying Computer Science was 2009 and that same year I was working full time, I helped organizing a large event for Computer Students (ENECOMP 2009), we had some troubles and side effects with Influenza A (H1N1) in my city (Curitiba, PR) and towards the end of the year I got really sick (not from Influenza) and it took a while to know what was going, during this process I did hurt some people I really love and I'm truly sorry. The past, 2010 went on as busy and unstable as 2009, my laptop's hard disk broke twice (January and October) and I survived thanks to backup and recovery procedures. I took some wrong decisions but fixed it later and learned a lot from my mistakes, decisions and choices.
Then 2011 came, my laptop's hard disk broke again and I lost almost 6 months of emails, I find out that after the second crash in 2010 part of my backup got b0rk3d. Fine, I didn't die, everything seems to be fine, but I'm still catching up with a lot of work and backlog. At different times one of my parents also got really sick and I learned quite a bit on how to deal with it.
Due to the laptop and the different things going on in my life I didn't work for Debian as much as I want and I still feel guilty. :-( But that's fine, this is a kind of public apologize for my peers in Debian (i18n, mirrors, release), I still want to help all of you, but I still have quite a bit of backlog to clean and quite a few things to learn in the process. And in general, I'm really sorry if I didn't (or I couldn't) work for Debian as much as I want.
Although I'm taking the chance to apologize in this post, I still want to make clear that I'm quite happy. This last year was pretty good, I had the opportunity to attend DebConf again and also got to know Sarajevo and Zagreb. New lessons were learned, better work cycles, nicer solutions. Today I'm completing 29 years old. 29. This is quite some time, not a long ride, but for one reason or another, I have high hopes for 2012 and what awaits me. And I do plan to learn more, to help more and whenever possible, to contribute back.
Google Maps is now mapping the indoors. I saw an ad for this while passing through MSP yesterday (given how much time I spend on the Internet, it's strange and a little embarrassing to learn about new things on the Internet from airport billboards), since one of their initial targets is the infamous Mall of America.
Detailed floor plans automatically appear when you re viewing the map and zoomed in on a building where indoor map data is available. The familiar blue dot icon indicates your location within several meters, and when you move up or down a level in a building with multiple floors, the interface will automatically update to display which floor you re on. All this is achieved by using an approach similar to that of My Location for outdoor spaces, but fine tuned for indoors.Thoughts about this:
I'm happy to announce the release of wadc version 1.2.
WadC is a functional programming language for the composition of
Doom-format maps. Originally created by Wouter "Aardappel" van Oortmerssen,
I was granted permission to take over the project over a year ago, but didn't
get around to releasing anything until now.
This version adds a few functions that permit you to draw two-sided lines which
are textured and impassible: important for a lot of detailing techniques. You
can also create friendly monsters for Boom-compatible ports. There's a new
example demonstrating these features; plus a recreation of Doom 2's "entryway",
courtesy of
GreyGhost.
See WadC for a summary, or go straight to the
binaries or
source on github.
Discussions: reddit, doomworld.
FOSDEM is one of the largest gatherings of Free Software contributors in the world and happens each February in Brussels (Belgium). One of the developer rooms will be the CrossDesktop DevRoom, which will host Desktop-related talks.
Are you interested in giving a talk about open source and Qt, KDE, Enlightenment, Gnome, XFCE, Windows, Mac OS X, general desktop matters, mobile development, applications that enhance desktops and/or web?
Hurry up and submit your proposal, deadline is December 20th!
There is more information in the Call for Talks we published one month ago.
If you are interested in Qt/KDE, come visit us at the KDE booth. If you add yourself to the KDE FOSDEM 2012 wiki page, we will be able to better organize the usual dinner on Sunday and/or smaller meetings for special interest groups .
So. Recently I blogged about Network status aware apps, and some time later, I got asked by a developer How do I see if I m online if I m not using network manager? and I replied with some dbus commands and he shook his head in despair. So, I ended up writing a small plasma widget targetting developers and very powerusers that can tell you the current state of the network and offers to add yet another manual datapoint to the network status.
So. In line with another blog post of mine about getting the small utilities we all write and just let stay in a drawer (or somewhere in ~ on a local computer), I m announcing it s existance. That application became famous and even mentioned in Linux Weekly News, but I don t expect that here. But anyways, here it is: http://quickgit.kde.org/?p=scratch/sune/networkstatus.git.
And a picture of it, it is not pretty but well, it s a tool mostly for developers, not for end users.
Have fun, and I hope to see more of these small projects from various people.
Back in 2007, Harpers Magazine published The Ecstasy of
Influence: a beautiful article by Jonathan Lethem on reuse in art
and literature. Like Lewis Hyde in The Gift (quite like
Hyde, as readers discover) Lethem blurs the line between plagiarism,
remix, and influence and points to his subject at the center of
artistic production. Lethem's gimmick, which most readers only
discover at the end, is that the article is constructed entirely out
of "reused" (i.e., plagiarized) quotations and paraphrases.
A couple months ago, I suggested to my friend Andr s
Monroy-Hern ndez a very similar project: a literature review on
academic work on remixing and remixing communities constructed
entirely of text lifted from existing research.
After some searching around, Andr s pointed out that Lethem had
essentially beaten us to the punch and linked me to his article. Only
after I visited the link did I remember that I had read Lethem's
article when it was published and loved the idea then. Over time, I'd
forgotten I read ever it.
Without knowing it, I had read, loved, forgotten, and then --
influenced, if unconsciously -- copied and reproduced the idea myself
in slightly modified form.
And I suppose that was the point.
I've released version 0.24 of Obnam,
my backup application.
USER VISIBLE CHANGES
--exclude regular expression is wrong, Obnam now gives an
error message and then ignores the regexp, rather than crashing.--compress-with=gzip.--deduplicate setting can be one of never (fast, but uses more space);
verify (slow, but handles hash collisions gracefully); and
fatalist (fast, but lossy, if there is a hash collision). fatalist
is the default mode.--dry-run option. Thanks to Peter Palfreder for
the bug report.--verify-randomly allows you to check only a part of the
backup, instead of everything.We are on the map! And we are staying on the map not only in sports, but in everything.I found out through Invar Hovav that there s a regression in the Ubuntu installation doesn t believe this is true anymore, as according to lp#905754, you can t select Israel or its major cities, and instead get suggestions for Gaza and Hebron. This is a regression from past installers when you could at least choose Tel Aviv, Jerusalem and Gaza. It used to be hard to pin point each location, but was still possible. This might be part of a bigger problem of selecting close/adjacent cities, but the default behavior in the past was different. From the technical point of view, the Gaza and Hebron TZ files are weird (tzdata version 2011n-1). Both don t have info for 2012 daylight saving time (usually start in late March or early April). Hebron switches twice a year to DST, hopefully nothing critical uses this time zone.
$ zdump -v Asia/Hebron grep 2011And Gaza only have a 3 months daylight saving time, while Israel has 6 and European eastern time has 7 months (all are UTC+2 region).
Asia/Hebron Fri Apr 1 10:00:59 2011 UTC = Fri Apr 1 12:00:59 2011 EET isdst=0 gmtoff=7200
Asia/Hebron Fri Apr 1 10:01:00 2011 UTC = Fri Apr 1 13:01:00 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Sun Jul 31 20:59:59 2011 UTC = Sun Jul 31 23:59:59 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Sun Jul 31 21:00:00 2011 UTC = Sun Jul 31 23:00:00 2011 EET isdst=0 gmtoff=7200
Asia/Hebron Mon Aug 29 21:59:59 2011 UTC = Mon Aug 29 23:59:59 2011 EET isdst=0 gmtoff=7200
Asia/Hebron Mon Aug 29 22:00:00 2011 UTC = Tue Aug 30 01:00:00 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Thu Sep 29 23:59:59 2011 UTC = Fri Sep 30 02:59:59 2011 EEST isdst=1 gmtoff=10800
Asia/Hebron Fri Sep 30 00:00:00 2011 UTC = Fri Sep 30 02:00:00 2011 EET isdst=0 gmtoff=7200
$ zdump -v Asia/Gaza grep 2011p.s.
Asia/Gaza Sat Apr 2 10:00:59 2011 UTC = Sat Apr 2 12:00:59 2011 EET isdst=0 gmtoff=7200
Asia/Gaza Sat Apr 2 10:01:00 2011 UTC = Sat Apr 2 13:01:00 2011 EEST isdst=1 gmtoff=10800
Asia/Gaza Sun Jul 31 20:59:59 2011 UTC = Sun Jul 31 23:59:59 2011 EEST isdst=1 gmtoff=10800
Asia/Gaza Sun Jul 31 21:00:00 2011 UTC = Sun Jul 31 23:00:00 2011 EET isdst=0 gmtoff=7200
Damn those unshaven
yaks
I m trying to write a Nagios plugin for work that will comprehensively
monitor network interfaces and make sure they re up, passing traffic, all
those sorts of things. Of course, I m doing it all in Ruby, because that s
how I roll.
So, I need to Know Things about the interface. Everyone does that with
ethtool. Right? Sure, if your eyeballs are parsing it. But have you ever
tried to machine parse it? To put it as eloquently as
possible:
Or perhaps not. At any rate, I decided that it would be most advantageous if I went straight to the source and twiddle theParse that, bitch!# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) Link detected: yes
ioctl until it did my bidding.
And thus, about 5 hours later, was
Rethtool born.
Once I worked out a less-than-entirely-crackful way of dealing with C
structs in Ruby (after a bit of digging around, I went with the
appallingly-undocumented-but-sufficiently-featureful
CStruct), and after I finally worked out I
was passing the wrong damned struct to ioctl(SIOCETHTOOL) (speaking of
appallingly-undocumented: fuck you, ioctl, and all your twisty-passages
children), it was smooth sailing.
So, if you re one of the eight or so people on earth who will ever need to
get at the grubby internals of your network interfaces using Ruby (and can t
do it via some sysfs magic), Rethtool
is for you.
Host zimbra
Hostname localhost
User zimbra
ForwardX11 yes
Now I can start zimbra with:
ssh zimbra ./zdesktop-launch
Skype was a little harder, since the skype client has to access the audio system. With pulseaudio, though, it's a snap. I copied /etc/pulse/default.pa to ~/.pulse/ and added the line:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
Then, I added /home/skype/.pulse/client.conf with the contents:
default-server = 127.0.0.1
[Note: Jamie Rollins and dkg have pointed out that this arrangement allows any user on my laptop to send arbitrary data to pulseaudio, running as my primay account. They suggested configuring pulseaudio to listen on a unix-domain socket, and then configuring pulseaudio to only permit access to users in a particular group.]
iceweasel is the most complicated. In addition to the pulseaudio trick, I had to make two other allowances.
First, there are a lot of processes that launch a web browser in a number of different ways (sometimes asking for a new session, other times adding a tab to an existing one, sometimes passing an URL as an argument, etc).
The one that I got the most stuck on was mutt. Sometimes I want to see how an HTML message looks in iceweasel. Via mailcap, mutt creates a temp file with the html content and then launches a web browser to view the file. As can be reasonably expected, this temp file is owned by my primary user, and only read-able by the owner. That means my iceweasel user can't read it.
Eventually, I decided the easiest way to deal with these various scenarios was to write a simple bash script to launch my web browser (see below). I registered it via update-alternatives, so most reasonable programs that want to launch a web browser will use it.
The second issue is that I use the monkeysphere xul plugin to verify TLS certificates, which requires iceweasel to communicate with my monkeysphere validation agent. My agent runs as my primary user and by default only responds to queries from my primary user.
Fortunately, monkeysphere is well-designed and can handle this situation. As you can see from my web launcher script, I pass MONKEYSPHEREVALIDATIONAGENTSOCKET=$MONKEYSPHEREVALIDATIONAGENTSOCKET when calling iceweasel. In addition, I added the following before I exec monkeysphere-validation-agent:
export MSVA_ALLOWED_USERS="iceweasel jamie"
With this simple infrastructure setup, it's possible to easily isolate future programs as well.
Lastly... here's the script for launching iceweasel.
#!/bin/bash
stdin=
new_session=no
url=
for arg in "$@"; do
if <span class="createlink"> "$arg" =~ ^-- </span>; then
if [ "$arg" = "--new-session" ]; then
new_session=yes
elif [ "$arg" = "--from-stdin" ]; then
stdin=yes
fi
else
url="$1"
fi
done
if [ "$stdin" = "yes" ]; then
temp=$(mktemp)
while read line; do
echo "$line" >> "$temp"
done
# it must be readable by the iceweasel user
chmod 755 "$temp"
url="file:///$temp"
fi
args=
if [ "$new_session" = "yes" ]; then
args="--no-remote -ProfileManager"
fi
if [ -n "$url" ]; then
args="$args '$url'"
fi
ssh iceweasel "MONKEYSPHERE_VALIDATION_AGENT_SOCKET=$MONKEYSPHERE_VALIDATION_AGENT_SOCKET iceweasel $args" &
[ -f "$temp" ] && sleep 5 && rm "$temp"
Comments by email...
Hi,
http://current.workingdirectory.net/posts/2011/privilege-separation/ has good intentions but afaik it does not improve security much. X applications can sniff your passwords and inject commands to your terminal emulators.
I personally use xpra to get a similar solution without the hazards of X. I've been using it for two months now both at work and home. There are still bugs but svn version is getting better all the time.
See for example my reply to
https://grepular.com/ProtectingaLaptopfromSimpleandSophisticated_Attacks
Timo
The bug webinterface of the
Ultimate Debian Database
currently knows about the following release critical bugs:
| In Total: | 1680 |
|---|---|
| Affecting Wheezy: | 1038 |
| Wheezy only: | 139 |
| Remaining to be fixed in Wheezy: | 899 |
| Pending in Wheezy: | 56 |
|---|---|
| Patched in Wheezy: | 154 |
| Duplicates in Wheezy: | 52 |
| Can be fixed in a security Update: | 34 |
| Contrib or non-free in Wheezy: | 10 |
| Claimed in Wheezy: | 0 |
| Delayed in Wheezy: | 5 |
| Otherwise fixed in Wheezy: | 68 |
Wheezyreleased. However, with the view of the Release Managers, 929 need to be dealt with for the release to happen. Please see
Interpreting the release critical bug statisticsfor an explanation of the different numbers.
gsettings set org.gnome.desktop.session session-name 'gnome-fallback'
This is not about any real or alleged might of (private) rating
agencies you know, the ones roughening up the financial markets
these days.
Given the recent influx of news about downgrades of banks and
nations, I simply start to wonder what will happen when the
triple-A category empties out (which it will the last few nations
will be ejected as a consequence of currency explosions (CHF) and
forced bailouts of others (EU).
Will the whole circus start anew? And if so, why do we even pay
any attention??
Gosh do I wish that people started to form their own opinions
again.
NP:
Fila Brazillia: Power Clown
Etherpad is an excellent Open Source web application for collaborative text editing. Like Google Docs, it allows you to share documents with others through a secret URL or to set up private documents for which people need a login.git clone git://github.com/ether/pad.git etherpad
dpkg-buildpackage -us -uc
apt-get install --no-install-recommends dbconfig-common python-uno mysql-server
dpkg -i etherpad_1.1.deb
apt-get install --no-install-recommends -f
useHttpsUrls = true
customBrandingName = ExamplePad
customEmailAddress = etherpad@example.com
topdomains = etherpad.example.com,your.external.ip.address,127.0.0.1,localhost,localhost.localdomain
serverand then enable it and restart Nginx:
listen 443;
server_name etherpad.example.com *.etherpad.example.com;
add_header Strict-Transport-Security max-age=15768000;
ssl on;
ssl_certificate /etc/ssl/certs/etherpad.example.com.crt;
ssl_certificate_key /etc/ssl/certs/etherpad.example.com.pem;
ssl_session_timeout 5m;
ssl_session_cache shared:SSL:1m;
ssl_protocols TLSv1;
ssl_ciphers RC4-SHA:HIGH:!kEDH;
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/etherpad.access.log;
error_log /var/log/nginx/etherpad.error.log;
location /
proxy_pass http://localhost:9000/;
proxy_set_header Host $host;
/etc/init.d/nginx restart
a2enmod proxy
a2enmod proxy_http
<VirtualHost *:443>
ServerName etherpad.example.com
ServerAlias *.etherpad.example.com
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/etherpad.example.com.crt
SSLCertificateKeyFile /etc/apache2/ssl/etherpad.example.com.pem
SSLCertificateChainFile /etc/apache2/ssl/etherpad.example.com-chain.pem
SSLProtocol TLSv1
SSLHonorCipherOrder On
SSLCipherSuite RC4-SHA:HIGH:!kEDH
Header add Strict-Transport-Security: "max-age=15768000"
<Proxy>
Order deny,allow
Allow from all
</Proxy>
Alias /sitemap.xml /ep/tag/\?format=sitemap
Alias /static /usr/share/etherpad/etherpad/src/static
ProxyPreserveHost On
SetEnv proxy-sendchunked 1
ProxyRequests Off
ProxyPass / http://localhost:9000/
ProxyPassReverse / http://localhost:9000/
</VirtualHost>
a2ensite etherpad
apache2ctl configtest
apache2ctl graceful
127.0.0.1 localhost.(none) localhost.(none).fulldomain.example.comwhere fulldomain.example.com is the search base defined in /etc/resolv.conf.
Last night, the text below went out to r-sig-finance
along with updates to the R/Finance website and
its Call for Papers page;
followed by some tweeting and
Goggle+'ing
(and please do feel free to retweet and share at will...)
Call for Papers: R/Finance 2012: Applied Finance with RSo see you in Chicago in May! Update: Corrected urls to past conference thanks to heads-up by Josh. Thanks!
May 11 and 12, 2012
University of Illinois, Chicago, IL, USA
The fourth annual R/Finance conference for applied finance using R will be held on May 11 and 12, 2012 in Chicago, IL, USA on the campus of the University of Illinois at Chicago. The two-day conference will cover topics including portfolio management, time series analysis, advanced risk tools, high-performance computing, market microstructure, and econometrics. All will be discussed within the context of using R as a primary tool for financial risk management, portfolio construction, and trading. Over the past three years, R/Finance has included attendees from around the world and featured keynote presentations from prominent academics and practitioners. We anticipate another exciting line-up for 2012 --- including keynote presentations from Blair Hull, Paul Gilbert, Rob McCulloch, and Simon Urbanek. We invite you to submit complete papers or one-page abstracts (in txt or pdf format) for consideration. Academic and practitioner proposals related to R are encouraged. We welcome submissions for full talks, abbreviated "lightning talks", and for a limited number of (longer) pre-conference seminar sessions. Presenters are strongly encouraged to provide working R code to accompany the presentation/paper. Data sets should also be made public for the purposes of reproducibility (though we realize this may be limited due to contracts with data vendors). Preference may be given to presenters who have released R packages. Travel and accommodation grants may be available for selected presenters at the discretion of the committee. In addition, the conference will award prizes for best papers. To be eligible for a best paper award, a submission must be a full paper. Extended abstracts, even if a full paper by conference time, are not eligible for a best paper award. Please send submissions to: committee at RinFinance.com. The submission deadline is January 31, 2012. Submitters will be notified of acceptance via email by February 28, 2012. Notification of whether a presentation will be a long presentation or a lightning talk will also be made at that time. Additional details will be announced at this website as they become available. Information on previous year's presenters and their presentations are also at the conference website R/Finance 2009, 2010 and 2011. For the program committee:
Gib Bassett, Peter Carl, Dirk Eddelbuettel, Brian Peterson,
Dale Rosenthal, Jeffrey Ryan, Joshua Ulrich
Next.