MJ Ray: Seize the Media! @theBoyler @coopsutd

1 Angel Square

1 Angel Square
| Week | Squeeze | Wheezy | Diff |
|---|---|---|---|
| 43 | 284 (213+71) | 468 (332+136) | +184 (+119 ; +65) |
| 44 | 261 (201+60) | ||
| 45 | 261 (205+56) | ||
| 46 | 271 (200+71) | ||
| 47 | 283 (209+74) | ||
| 48 | 256 (177+79) | ||
| 49 | 256 (180+76) | ||
| 50 | 204 (148+56) | ||
| 51 | 124 (124+54) | ||
| 52 | 115 (78+37) | ||
| 1 | 93 (60+33) | ||
| 2 | 82 (46+36) | ||
| 3 | 25 (15+10) | ||
| 4 | 14 (8+6) | ||
| 5 | 2 (0+2) | ||
| 6 | release! |
pyBit - cross-platform package building using AMQP
Since October 2011 my flatmate and I where quite busy realizing a little pet project of ours called The Art of Asking. The ultimate goal is to visualize the world s opinion in an intuitive fashion and make it easy for everyone to play around with the data.
The idea behind The Art of Asking is that users submit interesting questions which are answered by users around the world. But instead of showing only the boring result, we want to provide interesting insights and statistics about the answers given.
For now the users can see the results of the question visualized by geographical regions. For example on the page for the question How are you today? you can see the interactive map with the pie chart. The map shows the average/dominating answer for each continent encoded by color, and the pie chart the distribution of the different answers for that region. If you move the mouse over a continent the pie chart updates and shows the distribution of answers for that continent. You can also click to zoom into the map to see the same for countries and regions. This allows you to investigate how the answers are distributed around the world.
This is already quite nice and fancy to play around with, but of course we want much more. Right now we re working on a feature which will users allow to combine two arbitrary questions and see how the answers are related. This doesn t sound like much, but it is very addictive to crawl through the list of questions and find interesting correlations. Here is a little plot how it could look like (the data is from the actual data base of answers).
For each possible combination of answers it shows the percentage of people who answered in that combination. Of course those plots only make sense when enough users answered for both questions you want to compare which is right now not very often the case, so I guess we ll roll out that feature sometime later when we have more data. But we have lots of ideas and are working on further ways to investigate the answers. Obviously one low hanging fruit for example would be the distribution of the answers over time.
We ve been working for over a year now on this project in our spare time and we built it more or less from scratch. I wrote a small WSGI framework in Python and on top of that the WSGI application which runs the site. We use MongoDB for the storage of the data, uWSGI and nginx for the server, Jinja2 and Bootstrap for the HTML and D3.js for the visualization of the data, where Maci did a wonderful job realizing the interactive map and charts.
We re running this site since July 2012 now and are already quite satisfied with the number of users, and the quality of the questions. But of course we could always use more (especially more answers). So if you want to try it out, go to theartofasking.com and fill out the blank spots on the map! We re happy about every answer and question we can get and are eager to hear your suggestions.
RUN at the end and really hope that you didn't make a typo. You could also read and write data off audio tape with an external tape drive, which was really amazing.
To put things into perspective, the Vic-20 would plug into your television for a display, and the computer was "in the keyboard". Old school shit. The language was BASIC, which was awful.
Later, we got luxurious and had the privilege of a Macintosh Plus computer. 3000$ plus the printer, that was quite something. Still, that modern system could run Word, had games, and a 9" black and white screen. But the best part, and where I really started to learn to program, is with Hypercard, the crazy software written by Bill Atkinson that became the inspiration for wikis, the Myst computer game and, to a certain extent, popularized the concept of hyperlinking, which is the basic principle of the World Wide Web.
(This post contains some discussion of rape and sexual assault but does not go into any specifics)This one does a pretty good job of taking apart the Koss / Ms. Magazine study, which is the source for the "1 in 4" number. For example, it points out that over half of those cases were ones where undergraduates were plied with alcohol, and did not otherwise involve using physical force or other forms of coercionis difficult to read in any way other than "Half of the people you're counting as having been raped haven't really been raped", and favourably referring to an article that asserts that the rate of false rape reports is probably close to 50% is pretty strong support for the idea that many rape victims are liars.
the rate of false reports is at least 9 percent and probably closer to 50 percent
Also found in the Koss study, although not widely reported, was the statistic that of the women whom she classified as being raped (although 73% refused to self-classify the event as rape), 46% of them had subsequent sex with the reported assailant. Ted disagrees with a statistic because some rape victims subsequently have sex with the reported assailant. This means that Ted believes that this indicates that they were not really raped. Ted is a rape apologist.)
I am looking for a replacement for IlohaMail, since I just
noticed it stopped working reliably:
[Mon Oct 29 18:57:18 2012] [error] [client 195.144.91.202] PHP Warning: strcasecmp() expects parameter 1 to be string, array given in /usr/share/IlohaMail/include/mime.inc on line 87, referer: [...]This happens when trying to view an email. When that happens, the headers are parsed correctly, but the body isn't shown, and one has to instead click on the "view source" link to see anything at all. There's actually a patch for this bug gathering dust in the BTS; that, plus the fact that it has not seen any upstream activity since 2005, and that the last maintainer upload into Debian was in 2008, makes me conclude that IlohaMail is probably dead. Therefore, I'm looking for a replacement. Specifically, I'm looking for:
[1] Class diagram of the SO framework.
| Publisher: | Plume |
| Copyright: | 1999 |
| Printing: | June 2000 |
| ISBN: | 0-452-28180-6 |
| Format: | Trade paperback |
| Pages: | 349 |
Subject: Exchange 2003 Cluster Issues
Severity: Critical (Unplanned)
Start: Monday, May 7, 2012, 11:58
End: Monday, May 7, 2012, 12:38
Duration: 40 minutes
Scope: Exchange 2003
Description: The HTTPS service on the Exchange cluster crashed, triggering
a cluster failover.
User Impact: During this period, all Exchange users were unable to
access e-mail. Zimbra users were unaffected.
Technician: [xxx]
Next the planned outage:
Subject: H Building Switch Upgrades
Severity: Major (Planned)
Start: Saturday, June 16, 2012, 06:00
End: Saturday, June 16, 2012, 16:00
Duration: 10 hours
Scope: H2 Transport
Description: Currently, Catalyst 4006s provide 10/100 Ethernet to end-
stations. We will replace these with newer Catalyst
4510s.
User Impact: All users on H2 will be isolated from the network during
this work. Afterward, they will have gigabit
connectivity.
Technician: [xxx]
He notes in his article that the date formats and other fields have
been a bit too free form to make it easy to automatically process them
into a database for further analysis, and I would have used ISO 8601
dates myself to make it easier to process (in other words I would ask
people to write '2012-06-16 06:00 +0000' instead of the start time
format listed above). There are also other issues with the format
that could be improved, read the article for the details.
I find the idea of standardising outage messages seem to be such a
good idea that I would like to get it implemented here at the
university too. We do register
planned
changes and outages in a calendar, and report the to a mailing
list, but we do not do so in a structured format and there is not a
report to the same location for unplanned outages. Perhaps something
for other sites to consider too?
I've just finished deploying automatic installability checking for Ubuntu's development release, which is more or less equivalent to the way that uploads are promoted from Debian unstable to testing. See my ubuntu-devel post and my ubuntu-devel-announce post for details. This now means that we'll be opening the archive for general development once glibc 2.16 packages are ready.
I'm very excited about this because it's something I've wanted to do for a long, long time. In fact, back in 2004 when I had my very first telephone conversation with a certain spaceman about this crazy Debian-based project he wanted me to work on, I remember talking about Debian's testing migration system and some ways I thought it could be improved. I don't remember the details of that conversation any more and what I just deployed may well bear very little resemblance to it, but it should transform the extent to which our development release is continuously usable.
The next step is to hook in autopkgtest results. This will allow us to do a degree of automatic testing of reverse-dependencies when we upgrade low-level libraries.
This week s issue of c't, one of Germany s largest and most influential computer magazine, has a six page introductory article about Haskell (c't 2012, Issue 23, pages 182-187). The author Harad B geholz demonstrates its features and strength by implementing a Slitherlink puzzle solver. As I have helped him a bit by checking the code and article for untypical Haskell code and general advice, I happen to be named at the end of the article nice.
I've had a few weeks with very little time spent on Debian. I did set aside
some time to try to find and fix an RC bug, to help the release. Steven C
commented to let me know about the UDD Developer's
Dashboard
which is a great way to find RC bugs relevant to a team. I sat down to try and
fix #648272 in 'Abuse' but sadly I didn't
manage, instead finding another possible RC bug
#689457 on the way.
I was curious as to how long the version 1 web services API for musicbrainz
will be kept around, in case there was a strong likelyhood it would be turned
off during the lifetime of wheezy. If that were the case, then it might have
been worth requesting freeze exceptions to patch the last few WS1 clients to
use WS2 instead. However, the musicbrainz developers have no plans to turn off
WS1 as long as there are people still using it. This is a bit of a chicken and
egg situation for wheezy, but probably not strong enough grounds to persue it
any further.
So last night was my first "Debian Day" in a while, and by chance I've had a
number of enquiries for software and packages which I haven't touched in a
while.
For the prboom package, we rebuild the upstream tarball to remove some
material we don't have the right to distribute. The code that does the
repackaging lives in a script called debian/fix_upstream.sh. Prboom upstream
release very infrequently, so the script hasn't been run in a while. Fabian
Greffrath noticed some bashisms which meant it would not work reliably with a
non-bash /bin/sh. He also noticed that we couldn't build the binary lump
data/prboom.wad using only free software since some changes that were made to
freedoom. One possible fix was to expand the deutex package to recognise
freedoom.wad, which I've now applied.
Fabian has fixed the bashism issue, but I suspect a more robust solution
long-term would be to always rebuild data/prboom.wad during package build, so
that code gets exercised more often.
The prboom changes are in the Git repository but I haven't release them yet. I
need to decide whether it's worth requesting a freeze exception for the orig
tarball build issue. It's not an FTBFS but it's similar: you could not rebuild
a binary distributed in the source tarball using software only in Debian, at
least not without some workarounds.
We've had another
request to package
Prboom+. I've never been particularly
interested in doing this myself, but it would probably be very little work, you
could more-or-less take the prboom packaging as it stands. One thing I thought
would be interesting to try would be to set up a git repository for the
packaging and import the upstream Subversion repository in its entirety via
git svn, rather than just import the released tarballs. Sadly their repository
layout is not quite ideal for this.
game-data-packager continues to grow. Following hot on the heels of Hexen 2
support, Markus Koschany has written preliminary support for LGeneral, a game
which has been in Debian, at least in part, on and off. Hopefully we'll have
that merged soon, and finish of Hexen 2 support whilst we're at it. On that note,
here's a lazyweb question: what's the most convenient way to determine the length
(at microsecond resolution) of a PCM WAV file from the command-line?
Finally, we've been building Debian-based virtual machines at work, which meant
dusting off some old preseed files and tweaking them to have unattended installs.
This took a lot longer than I thought. It's certainly a lot more painful than
kickstart and Redhat-based systems, and it's very unlikely that a preseed file
that worked for one version of Debian would fully work for another. I'm not
certain but I think even different releases of d-i targetting the same release
"break" assumptions you might make, particularly about which questions you need
to answer via the kernel command line, rather than in the preseed file. That's
one thing we really need to sort. It's crazy having to specify keyboard layouts
in the command line for VMs which won't ever have a keyboard. The disparity
between what the user is asked, what value is written to the debconf database at
that point in the install process, and what ends up in the debconf database at
the end of the process is also a real pain: answering a question about keyboard
layout sets half a dozen different debconf values in a cascade that is probably
sensitive to other things like priority or whether d-i is in expert mode, too.
So working backwards from the debconf database of an installed machine is an
exercise in frustration, and figuring out which questions are asked prior to
the preseed file being read for any given d-i or Debian release is a slow trial
and error process.
I'm going to get in touch with the d-i folks and see what kind of continuous
integration systems they have in place. It would be great to have commit-level
notification that you've broken preseed builds. If not for the d-i folks, then
certainly at work.
$ gsettings set \ org.gnome.desktop.interface gtk-color-scheme ' os_chrome_fg_color:black; os_chrome_bg_color:#FED; os_chrome_selected_fg_color:black; os_chrome_selected_bg_color:#f5a089; selected_fg_color:white; selected_bg_color:#c50039; theme_selected_fg_color:black; theme_selected_bg_color:#c50039; tooltip_fg_color:black; tooltip_bg_color:#FFC; '
A few days ago, Samsung released the source code
of Synaps, an implementation of the
Amazon Web Service CloudWatch API for
OpenStack.
Being a developer on the Ceilometer
project, I've been curious to look on this project and how it could overlap
with Ceilometer or other projects like Heat.
What is CloudWatch?
CloudWatch is a monitoring system provided by Amazon on its Web Services
platform to monitor services. This allows you get notifications and trigger
an action on certain threshold.
For example, this can be used to scale your architecture by monitoring the
number of requests you get on it and its general load by starting new
servers.
Synaps
Synaps is written in around 7k lines of Python (with 28 % of which are
comments), reuses at least one common module of OpenStack
(openstack.common.cfg) and copy some modules from Nova. One thing that
strikes me, is that there seems to be only a few unit tests compared to most
OpenStack projects. Also, many parts of the code and documentation contains
text written in korean, which won't be very helpful for most people! :-)
It uses some external technologies, like Storm,
Cassandra to store its persistent data and
Pandas to do data analysis.
The API server provides an EC2 compatible API only: no OpenStack specific
API. This is probably not a bad thing for now, since I am not aware of any
work in this direction. The API access directly the Cassandra back-end for
read operation, but relies on RPC to do writes. This way, a set of daemon
handles the write using the Storm part of Synaps and do data aggregation.
The authentication only supports LDAP, but it should still be possible to
add a driver for Keystone.
A Java and a Python SDK are provided to record metrics into Synaps, but
there's not enough documentation for it to be useful.
Overlap with Heat
For now, there's not a lot of overlap with Heat, because Heat does not
implement completely the CloudWatch API. Heat actually still misses a lot of
the CloudWatch functions. But as soon as it will implement the CloudWatch
API completely, the overlap will be complete with Synaps in this regard.
One divergence point however, is that Heat uses RPC to access data from the
storage back-end via its engine (the central daemon), whereas Synaps
directly connects to Cassandra. Also, Heat relies on SQLAlchemy, like most
OpenStack projects needing a database.
Overlap with Ceilometer
One of the goal of Ceilometer is to provide data probes and pollsters for
all OpenStack components (Nova, Swift, Quantum ) whereas Synaps let the
OpenStack users to put any kind of metric inside it, and therefore doesn't
provide anything for now.
But the storage of metrics is the main common point between Synaps and
Ceilometer. Synaps chose only one technology, Cassandra, to store its
metrics, whereas Ceilometer took care of building an abstraction layer for
the storage engine. Ceilometer currently allows an operator to use SQL or
MongoDB, but Cassandra could likely be added.
Data metric consolidation is done by Synaps. This makes sense, since Synaps
don't need to have the full data history to trigger alarms. On the opposite,
Ceilometer needs to have a full history to allow things like billing, and
don't do any aggregation on data.
Also, in Synaps, the data analysis is done using Pandas. This means the data
used are retrieved from the Cassandra back-end, and then transformed by
Pandas inside Synaps in something else. It's likely that in such a case,
Synaps should use CQL to achieve that. Ceilometer manipulates the data near
their storage: it means that the computation are done by back-end to be
efficient (SQL, mapreduce ).
Conclusion
Considering Samsung open-sourced Synaps late in the development process, I
don't feel like they aimed to have it becoming a core component. This is
always sad, because the effort put into this implementation are big and it
would have probably little to add some abstraction layers to follow what
other OpenStack projects do. But this takes time and energy, and it's
understandable that Samsung didn't want to achieve this in a short time
frame.
There's a part of the code and architecture that overlaps with Ceilometer
and Heat. Ceilometer is becoming a specialized point to store data metrics
from any source: so it's sad, but understandable, that Synaps did not tried
to reuse it. Fortunately, Heat is working with Ceilometer to achieve exactly
that. This means OpenStack would have only one metrics storage point, used
for billing, for monitoring and alarming.
Therefore, I think Synaps is an implementation of CloudWatch that should be
looked at as an inspiration for Heat and Ceilometer to build a better and
more integrated solution!
Christopher complained that in android, you need a user account to install software. That is not true, there is F-droid which is a catalog of Free/Open Source Software, no user account needed. Lack of multitasking is yes annoying sometimes, yes, but that is really a poweruser problem. Most users don't load web pages in background while playing. Most users will simply not bother with web pages that take too long to load. Given the choice, most users will prefer a snappy UI over a UI that allows proper multitasking. N900 was never snappy, stutters were common, and it would often hang for long times if you had too many apps or browser windows open at the same time. Even for Android there are way more complaints about non-fluid UI than lack of proper multitasking. It is thus only logical for the Android developers to concentrate in developing a snappier UI over improving multitasking. The fact that Android has given 400+ million Linux computers out in the hands of consumers is one of the MOST AMAZING THINGS ever. But it seems others on FOSS community seem to consider Android a rather unfortunate event, because it's not "Real Linux" or "100% free software" or "because it's not bug free". Err, like Maemo or MeeGo ever is any of those... It is fair to complain about usability quirks Android as enduser. But if you believe Free Software, you should also see the opportunity the open source parts of Android provides to you fix it to your needs. After all, the point of Free Software is that you don't need to depend on the upstream to fix you everything? Christoph complains that the stock email app is lacking. Android Email app is Open Source (Maemo and N9 email apps are not). Android email has been forked as K-9 Mail. The app lifecycle is fixable allowing you to return from browser to the mail you were at - at least a plenty of other apps manage to do that. The question is, are we consumers or creators. If we are just sitting waiting to Google provide us a perfect shrinkwrapped Android, we could just as well use iPhone or Windows phone. We should instead see Android as an opportunity - when it's 90% open source, fix the remaining closed source bits like open source 3D drivers and open source replacements for proprietary interfaces.
That was not my target in today's marathon (my second one in the
year). The target was breaking my 3h38'45" record, set on June 10th in
Caen.
And, well, I did it. By more than 5 minutes \o/. Of course, the
Seine-Eure marathon
is the perfect place for this:
Next.