CorePy problems and solutions

Paul Crowley wrote “In an earlier post I mentioned that I was using CorePy for my cryptographic fiddlings. Rather than writing the code in assember in the traditional way, I took advantage of CorePy to program directly against the x86 ISA in Python. In CorePy, machine instructions, registers and suchlike are first-class objects which can be composed to…”

“Cube attack” less effective against Trivium than we thought?

Paul Crowley wrote “It looks like there are errors in the tables at the back of the “cube attack” paper which show how to apply the attack to Trivium: some of the entries don’t work. This could mean simply that there are typos in the table, or it could mean that the attack is somewhat less effective against…”

Trivium, SSE2, CorePy, and the “cube attack”

Paul Crowley wrote “I present a new implementation of the stream cipher Trivium designed for cryptanalysts, in particular those interested in applying the "cube attack" to Trivium. It generates 128 simultaneous output streams using SSE2 intrinsics, and achieves under 1 cycle/byte, over four times faster than standard implementations. The entire program is in Python; SSE2 machine instructions are generated and called using the tool CorePy, an approach I am happy to recommend to others with similar needs. The code is under the MIT licence and may be found in this Mercurial repository.”

Final electoral chart now online

Paul Crowley wrote “I’d anticipated making this post within days of the election, but while the winner was known as soon as they called California, the result in Missouri has only been called in the last couple of days following a tight recount. In the end the state went to John McCain, a blow to the pride of…”

Electoral diagrams will be updated live

Paul Crowley wrote “These diagrams are based on the latest projections from fivethirtyeight.com and have more detailed explanations; there’s also a cartogram and two scattergrams to show how accurate polling is and how things have changed since 2004. I’ll be updating them during the night as states are called. If you’re watching the election, do check the diagram…”

Who’s winning on election night?

Paul Crowley wrote “I find the maps and charts that the TV networks provide nearly useless for understanding the state of play during an election night, so I’ve taken to designing my own diagrams. For tomorrow’s Presidential elections, I’ve turned the projections on fivethirtyeight.com into a graph which illustrates the likely outcome of the election and the paths…”

Google Protocol Buffers

Paul Crowley wrote “Google’s latest open-source initiative: Protocol Buffers. Like XML, this is a generic language-neutral hierarchical container format, but unlike XML it is a binary format designed for low size overhead and fast reading and writing; in this it resembles some other initiatives to that end, including Facebook’s Thrift. I am keen to see a good binary…”

Intrade.com and that S-shape

Paul Crowley wrote “In my last post about this I observed an S-shape in the results of the polling data, and speculated that it might show psychological bias on the part of the Intraders. I’m not so sure now. This graph shows all polls in the last 30 days; recent polls are dark colours and older ones lighter,…”

Polling vs Intrade.com

Paul Crowley wrote “ ”

Last word on Clinton v Obama: I think it’s illusory

Paul Crowley wrote “Clinton will probably drop out of the race in the next few days, so let’s give the diagram showing both of them one last airing. This looks at a month’s worth of polling data to give a picture of how their relative chance of victory has changed over time – it’s an animated GIF, so…”

Does Clinton beat Obama?

Paul Crowley wrote “”

Monte Carlo model for Presidential elections

Paul Crowley wrote “”

Visualising Clinton v Obama

Paul Crowley wrote “”

Choosing a new version control system

Paul Crowley wrote “(Continued from Moving away from CVS) The wealth of options for a replacement for CVS presents us with a problem. We can't choose a version control system by comparing feature lists: what seems perverse when presented in the manual may become natural in real use (which is the reaction many have to CVS's "merge-don't-lock" way of working at first), and contrarily what seems attractive on paper may prove problematic in real use (the system may claim sophisticated merging, but will it actually do what you want given your version history?). Equally, however, trying to use every system in anger would impose a very serious cost: unless we write the infrastructure for every system we test, some live project will have to do without it while they try out the shiny new system, and for every system someone will have to undergo the considerable expense of really learning how to use it and make it behave well. So we have to find ways to at least thin the candidate list. ”

Moving away from CVS

Paul Crowley wrote “When LShift first started off in 2000, the only real option for mature, open source version control was CVS. We've used CVS for most of our projects since then, and gone on to develop a strong infrastructure for managing CVS-backed projects, including a web interface for viewing versions, a web-based searchable database for related CVS commits ("CVSzilla") which infers transactions from multiple simultaneous commits, and integration with the Bugzilla bug tracker. Today, there are many other options, and I'll discuss six major alternatives here: Subversion, Monotone, darcs, Git, Bazaar, and Mercurial. ”

Paul’s Pictorial Parliament Predictor

Paul Crowley wrote “ ”