The second update to the Rblpapi package (since the initial CRAN upload in August) is now available. Rblpapi connects R to the Bloomberg system, giving access to a truly vast array of time series data and custom calculations.
This release brings a new subscribe() function for real-time data, written by Whit. Don't get too excited because R's single-threadedness places some limits of the usefulness of this--but it is still tremendously valuable for checking other data sources etc pp. Also included in this release are a ton of bug fixes, many contributed by Rademeyer -- see below for more details.
Changes in Rblpapi version 0.3.2 (2015-12-07)Courtesy of CRANberries, there is also a diffstat report for the this release. As always, more detailed information is on the Rblpapi page. Questions, comments etc should go to the issue tickets system at the GitHub repo.
- A new
subscribe()function supports live data subscription for a set of tickers and fields (#88).- In the
beqs()example the correct date format is used (PR #85 by Rademeyer).- Both
getTicks()andgetBars()now check the start and end times for properDatetimeclass.- The
getBars()function now also return the value traded (request of #89).- An error in the documentation for
bdhwas corrected (PR #93 by Rademeyer closing #85).- The
beqs()function is now more robust with respect to empty return columns (PR #100 by Rademeyer fixing ticket #99).- The
getBars()function now uses a single (named) vectoroptionsto pass optional values to the underlying function (PR #105 updating PR #48 and fixing #47).- When R is built with libcurl support, it used to download the build-time library and headers; otherwise
curlis used. This avoids an issue on OS X wherecurlis insufficient.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Debian LTS
November was the seventh month I contributed to Debian LTS under the
Freexian umbrella. In total I spent ten hours working on:
My flight from Athens where I had the pleasure to attend the first
reproducible world
summit
landed at the scheduled time in Paris (CDG). While people were getting
their bags and putting their coats on, one member of the cabin crew
announced that a police control will take place outside the plane and
that we should have ready identity documents. My seat was in the back of the
plane, so I had time to wait in the cold of the
jetway while all passengers
were controlled one after the other.
Three cops were set up right at the entrance of the terminal. One was taking
cards or passports and looking at people's face. He then passed it to another
cop in front of a suitcase that seemed to contain a scanner and a computer. The
third one was just standing against the wall watching. When it was my turn,
after scanning my passport, the cop had this nice gesture where she started to
move her hand holding the passport toward me just like she had just did a
hundred times before pulling it backward when the result appeared on the
screen.
I had the confirmation that I was registered as a dangerous political
activist in 2012 when David Dufresne published
Magasin G n ral. One
report from the interior intelligence service from
2008
was leaked to promote the book. My name had not been properly redacted
from the very first version that went online and was associated with a
political self-organized space in Dijon. Some Debian Developers had the
pleasure to visit that space in
2005,
2006, or 2007.
The report was full of mistakes, like almost all police
files,
so I don't want to comment on it.
The good news is that since then, I have stopped being paranoid. I knew,
and thus could take appropriate precautions. Just like every time I have
to approach an airport, all my (encrypted) electronic devices were
turned off. I had shaved a couple hours before. I know a lawyer ready
to represent me. I am fully aware that it's best to say as little as
possible.
Although it has been a while since I had such a blatant confirmation
that I was still a registered anarchist. It should not be a surprise
though. Once you are in, there's no way
out.
I was then asked to step aside while they proceeded with the rest of the
queue. I put my backpack down and leaned against the wall. Once they
were over, one of the cops asked me to follow him. We walked through the
corridors to reach the office of the border police. While we were
walking, they asked me a series of questions. I'm not mentioning the
pauses in between, but here's what I can remember:
Do you have a connection?The cop also commented that they had to do some simple checks and that they would then let me go as I was coming back. I did not trust this but said nothing. When then passed through a door where the cop had to use their badge to unlock it. I was asked to sit on a chair in the corridor between two offices (as far as I could see). I could hear one cop explaining the situation to the next: Il a une fiche. Ah, une fiche. They seemed quite puzzled that I was not controlled when I flew out on Monday. After some minutes, another cop came back asking me for my boarding pass. Some more minutes later, he came back asking me if the address on my passport was still valid. I replied no . They gave me a piece of paper asking me for my current address, a phone number and an email address. As these information are all easy to find, I thought it was easier to comply. I gave my
No.
Are you going to Paris?
To my parents' in the suburbs.
How long have you been staying in Greece?
5 days.
flipping the pages of my passport And you come back from the U.S. in Feb. 2015?
No, that was the maximum stay. I was there in August 2014.
Why were you in Greece? Vacations?
Work. I was at a meeting.
What do you do?
Free software.
What is that?
I am a developper.
Oh, computers.
Yes.
Is that why you also were in the US?
Yes, it was another conference.
And so you travel because of that. That's nice.
Are you a freelancer?
I work with a coop, but yes.
@irq7.fr address that I use for all public
administrations. When the cop saw it, he asked:
What is it?He gave me my passport back and showed me the way out. (I will spare you details on the discussion I had to listen while waiting between two cops about how one loved to build models of military weapons used in wars against communism because of his origins. And that he was pissed off because fucking Europe disallowed some (toxic) paints he was used to.) To the best of my understanding, what happened is that they made a phone call and were just asked to update my personal details by the intelligence service. I don't know, but I'm left to wonder if all these people might just have been controlled because I was on the flight. All-in-all this didn't take too long: one hour after leaving the plane I was on the platform for the regional trains. The cops stayed polite the whole time. I am privileged: French citizen, white, able to speak French with a teacher accent. I am pretty sure it would have not been that good if I had been displaying a long beard or a djellaba. I took the time to document this because I know too many people who think that what the French government is doing doesn't concern them. It does. It's been a couple of years now that antiterrorism is how governments keep people in check. But we are reaching a whole new level now. We are talking about cops keeping their guns while off duties, house searches at any hours without judge oversight, and the government wants to change the constitution to make the state of emergency permanent. We've seen so many abuses in just two weeks. It will not go well. Meanwhile, instead of asking themselves why young people are killing others and themselves, state officials prefer dropping bombs. Which will surely prevent people ready to die from using suicidal tactics, right? We are at the dawn of an environmental crisis that will end humanity. Every human on this planet is concerned. People get beaten up when they march to pressure governments to do something about it. We need to unite and resist. And yes, we are going to get hurt but freedom is not free.
I don't understand.
Is it your company?
It is a non-profit.
During the last few days, I found several references to a beautiful just-published paper, which I hope everybody reads: The Moral Character of Cryptographic Work, by Phillip Rogaway; Cryptology ePrint Report 2015/1162, published on December 1st this year. It is more an academic essay than most crypto-related papers, and a long one at that (46 pages, packed with references and anecdotal notes).
But it is surprisingly easy to read. I am sitting in front of my computer while my students work on their final exam, and I have got over half way through the text; earlier today I looked at the quick presentation (as this work was presented by Rogaway at the Asiacrypt 2015 as an invited talk), and just loved it.
Now, I know most of the people reading my blog have a moral stand on their work (after all, I expect most of you to be committed to Free Software just as I am, and that is a tremendous political statement). We are also more a practice community than an academic/scientific one. But many of us dwell on several projects and hold more than one hats in life through which we are defined.
This paper/essay is really clicking with me, and it deeply resonates with the justification I presented when I joined the Masters on Security Engineering and Information Technologies program which I'm halfway through. Computer security does not exist in a void, and does not exist just for itself. As professionals, we have a mission to fulfill in society, and that will then shape how society evolves.
So, I invite everybody to at least take a casual look at this paper. I hope you enjoy it as much as I did, and I hope it changes people's hearts and career decisions.
Today I had the honour to hold my first invited talk: I was the keynote speaker at the tenth Haskell in Leipzig workshop. I chose to present how I used the MonadFix type class to conveniently and by-construction-correctly calculate offsets while serialising to a binary data format in the implementation of tttool. Johannes Waldmann could not resist to point out that MonadFix was already a topic at the very first HaL meeting nine years ago, but nevertheless I think that my live-coded slide-less talk was quite suitable for the given audience of roughly 55 attendees.
I have uploaded a transcript of this talk.
Last summer, Innuendo Studios made a
series of 6 short
videos
trying to understand why would anyone get involved in a coordinated harrasment
campaign.
The recent articles making straw man
arguments and gross
mischaracterization of the actions of people trying to grow the pool of free
software contributors reminded me of these videos, especially the fifth
episode which describes why some
people get so angry when others point out that maybe the general homogeneity of
backgrounds is also related to how we treat people. Guess we can transpose one
of the explanation in the video to free software communities:
Bad People do bad things; a sexist is a wife-beater or sexual assailant; I am neither; therefore I am a Good Person and the things I do are good; I work on free software where people report sexist biases; therefore they say I am a wife-beater or sexual assailant; this is a false and ridiculous claim; therefore they are bad.This slightly helps to better understand why some people would attack efforts that don't concern them so strongly. Sadly, it doesn't help much with what we could do about it. Perhaps we can help them understand that they might be just as biased as everyone else living in an institutionally sexist and racist society. This does not make them bad people. It's just something we all need to keep in mind to improve the situation. (Also, be sure to read the follow-up post if you watch the series until the last episode.) Thanks to Nicolas Dandrimont for his comments and suggestions.
The regular monthly upstream Armadillo update gave us the second update in the 6.* series: version 6.300.2. This was rolled into RcppArmadillo 0.6.300.2 which was once again tested against all reverse-dependencies before being sent to CRAN and Debian where the new packages arrived yesterday.
Besides the changes by Conrad, this version of RcppArmadillo also contains a really nice pull request by Nathan Russell which adds input conversion support for Armadillo Cube types, templated to all common inputs, and along with proper unit tests. Thanks!
Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab.
This release brings the following changes:
Changes in RcppArmadillo version 0.6.300.2.0 (2015-12-03)Courtesy of CRANberries, there is also a diffstat report for the most recent CRAN release. As always, more detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
- Upgraded to Armadillo 6.300.2 ("Flying Spaghetti Monster")
- expanded
solve()to find approximate solutions for rank-deficient systems- faster handling of non-contiguous submatrix views in compound expressions
- added
.for_each()to Mat, Row, Col, Cube and field classes- added
rcond()for estimating the reciprocal condition number- fixes for
spsolve(),eigs_sym(),eigs_gen(),svds()- Added support for
Cubetypes viaas<>converters (PR #64 by Nathan Russell, fixing #63 and #42)
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A new minor release of RQuantLib was released onto CRAN and into Debian. It takes advantages of some changes from last week's QuantLib release 1.7.
Particularly noteworthy is the addition of support for intra-daily times in QuantLib based on work by Klaus Spanderen. If QuantLib was configured with the -enable-intraday option, we use the higher granularity of the time representation in all option pricers and implied volatility calculations. The impact of this feature is illustrated in the graph below.
The graph shows the valuation of a Call option, European expiry, struck at the money with sensible short rate, dividend yield and volatility. We vary the time to expiry from five days to zero in steps of a quarter day. In darker blue is the correct valuation declining in parabolic shape. In lighter blue is what we get with QuantLib up to release 1.6, or newer releases configured without intra-day time support: an ugly step function that is off, and increasingly so we approach the expiration.
Which leads to an appeal: a volunteer is needed to update the QuantLib 1.7 build for Windows. Jeroen tried, but ran into a snag and out of time. If you can help, please get in touch to Jeroen and myself. We suspect that the largest part of RQuantLib users relies on the prebuilt binaries from CRAN, and it would nice to have these updated to the current version of QuantLib.
The full changes are detailed below.
Changes in RQuantLib version 0.4.2 (2015-12-03)Courtesy of CRANberries, there is also a diffstat report for the this release. As always, more detailed information is on the RQuantLib page. Questions, comments etc should go to the rquantlib-devel mailing list off the R-Forge page. Issue tickets can be filed at the GitHub repo.
- Changes in RQuantLib code:
- Intra-day times are now available if QuantLib 1.7 or later is used, and has been configured with
--enable-intraday- New helper functions
getQuantLibVersion()andgetQuantLibCapabilties()- New package startup code detects and warns about outdated QuantLib versions, or missing intra-day capability, unless not interactive.
- The missing
Monthlyparameter has been added tomatchFrequency(fixing issue ticket #19)
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
"Software Freedom Conservancy helps
promote, improve, develop, and defend Free, Libre, and Open Source
Software (FLOSS) projects. Conservancy provides a non-profit home and
infrastructure for FLOSS projects.", that is how Software Freedom
Conservancy defines itself. Organizations like Conservancy allow free
software developers to focus on what they do the best by doing
copyleft enforcement, taking care of legal aspects and provide many
services to its project
members.
Last August, Debian and Conservancy
announced a
partnership and formed the Copyright Aggregation Project where, among
other things, Conservancy will be able to hold copyrights for some
Debian works and ensure compliance with copyleft so that those works
remain in free software.
Recently, Conservancy launched a major fundraising campaign and needs
more individual supporters to gain more sustainable and independent
funding. This will allow the Conservancy to continue its efforts
towards convincing more companies to comply with free software
licenses such as the GPL and take legal actions when dialogue turns
out to be unsuccessful. Conservancy needs your support now, more than
ever!
Many Debian Developers and Contributors have already become
Conservancy
supporters. Please
consider signing up as a supporter on
https://sfconservancy.org/supporter/!
Following on yesterday's announcement of RcppCCTZ, what is the only thing better than another date, time, or timezones library package? One that works on Solaris too :)
Bradley White from CCTZ upstream spotted the failed compilation on the machine in Oxford and suggested a quick fix. Jeroen quickly tested what I had put into a branch, and there we have it: version 0.0.2 which now builds everywhere.
Changes (for both releases) are summarized here:
Changes in version 0.0.2 (2015-12-02)We now also have a diff to the previous version thanks to CRANberries. More details, issue tickets etc at the GitHub repository.Changes in version 0.0.1 (2015-12-01)
- Additional
#ifdefstatements suggested by Bradley White in CCTZ ticket #5 permitting compilation on Solaris with thanks to Jeroen for testing our branch.
- Initial CRAN upload.
- Package is functional and provides examples.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
Launchpad operates a few SSH endpoints: bazaar.launchpad.net and
git.launchpad.net for code hosting, and upload.ubuntu.com and
ppa.launchpad.net for uploading packages. None of these are
straightforward OpenSSH servers, because they don t give ordinary shell
access and they authenticate against users SSH keys recorded in Launchpad;
both of these are much easier to do with SSH server code that we can use in
library form as part of another service. We use
Twisted for several other tasks
where we need event-based networking code, and its
conch package is a good
fit for this.
Of course, this means that it s important that conch keeps up to date with
the cryptographic state of the art in other SSH implementations, and this
hasn t always been the case. OpenSSH 7.0 dropped support for some old
algorithms, including disabling the
1024-bit diffie-hellman-group1-sha1 key exchange method at run-time.
Unfortunately, this also happened to be the only key exchange method that
Launchpad s SSH endpoints supported (conch supported the slightly better
diffie-hellman-group-exchange-sha1 method as well, but that was disabled
in Launchpad due to a missing piece of configuration). SHA-2
support was clearly called for,
and the fact that we had to get this sorted out in conch first meant that
everything took a bit longer than we d hoped.
In Twisted
15.5,
we contributed support for several conch improvements:
It s been a while since my last what s been happening behind the scenes e-mail so I m here to report on what has been happening within the GNOME Infrastructure, its future plans and my personal sensations about a challenge that started around three (3) years ago when Sriram Ramkrishna and Jeff Schroeder proposed my name as a possible candidate for coordinating the team that runs the systems behind the GNOME Project. All this followed by the official hiring achieved by Karen Sandler back in February 2013.
The GNOME Infrastructure has finally reached stability both in terms of reliability and uptime, we didn t have any service disruption this and the past year and services have been running smoothly as they were expected to in a project like the one we are managing.
As many of you know service disruptions and a total lack of maintenance were very common before I joined back in 2013, I m so glad the situation has dramatically changed and developers, users, passionates are now able to reach our websites, code repositories, build machines without experiencing slowness, downtimes or$ cd /git/GNOME/puppet && git shortlog -ns 3520 Andrea Veri 506 Olav Vitters 338 Owen W. Taylor 239 Patrick Uiterwijk 112 Jeff Schroeder 71 Christer Edwards 4 Daniel Mustieles 4 Matanya Moses 3 Tobias Mueller 2 John Carr 2 Ray Wang 1 Daniel Mustieles Garc a 1 Peter Baumgartenand from the Request Tracker database (52388 being my assigned ID):
mysql> select count(*) from Tickets where LastUpdatedBy = '52388'; +----------+ count(*) +----------+ 3613 +----------+ 1 row in set (0.01 sec) mysql> select count(*) from Tickets where LastUpdatedBy = '52388' and Status = 'Resolved'; +----------+ count(*) +----------+ 1596 +----------+ 1 row in set (0.03 sec)It s been a long run which made me proud, for the things I learnt, for the tasks I ve been able to accomplish, for the great support the GNOME community gave me all the time and most of all for the same fact of being part of the team responsible of the systems hosting the GNOME Project. Thank you GNOME community for your continued and never ending backing, we daily work to improve how the services we host are delivered to you and the support we receive back is fundamental for our passion and enthusiasm to remain high!
A new package! A couple of weeks ago folks at Google released CCTZ: a C++ library for translating between absolute and civil times using the rules of a time zone. It requires only a proper C++11 compiler and the standard IANA time zone data base which standard Unix, Linux, OS X, ... computers tend to have in /usr/share/zoneinfo.
And as the world needs nothing more than additional date, time, or timezones libraries, I started to quickly create a basic R wrapper package. This stalled as the original version of CCTZ used an __int128 for extended precision. That is not only not portable, but also prohibits compilation on baby computers still running a 32 OS (such as my trusted X1 laptop merrily plugging along with 4 gb of ram under Linux). Hence I filed an issue ticket which, lo and behold, got resolved two days ago.
And so now we have a shiny new RcppCCTZ package on CRAN in a very basic version 0.0.1. It happily runs all the original examples from CCTZ as e.g. this one:
// from examples/hello.cc
//
// [[Rcpp::export]]
int helloMoon()
cctz::TimeZone syd;
if (!cctz::LoadTimeZone("Australia/Sydney", &syd)) return -1;
// Neil Armstrong first walks on the moon
const auto tp1 = cctz::MakeTime(1969, 7, 21, 12, 56, 0, syd);
const std::string s = cctz::Format("%F %T %z", tp1, syd);
Rcpp::Rcout << s << "\n";
cctz::TimeZone nyc;
cctz::LoadTimeZone("America/New_York", &nyc);
const auto tp2 = cctz::MakeTime(1969, 7, 20, 22, 56, 0, nyc);
return tp2 == tp1 ? 0 : 1;
which results in
R> library(RcppCCTZ)
R> helloMoon()
1969-07-21 12:56:00 +1000
[1] 0
R>
indicating that the two civil times in fact correspond to the same absolute times when Armstrong walked on the moon.
If you want to learn more about CCTZ, there was a corresponding talk CppCon (Youtube, Slides).
I hope this provides a starting point for some new interesting computation on time from R. Collaboration welcome via the RcppCCTZ GitHub repo.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
I think it s important that organizations as Software Freedom Conservancy exist.Next.