Paul Tagliamonte: My #dplgame 4
In no particular order, here are my 4 picks for the DPL thunderdome:
- algernon
- gregoa
- rra
- KiBi
In no particular order, here are my 4 picks for the DPL thunderdome:
For some reason that is not very important, I was looking for a better
solution for GPSes with maps.
Side-note: if you ask why Android is not good enough , here's the
story: last year, knowing that Google Maps supports caching (finally),
I upgraded Maps, preloaded London, and went on a trip. Only to exit
the Victoria underground station and to stare ~20 minutes in light
rain at my phone, wondering why it doesn't get a fix. I gave up in the
end, and used the cached maps for getting around. Later I learned the
reason: Maps was not broken, but without data, Android can't get a
lock easily; and more-over, the recent Maps update without GPS active
even once afterwards, to do whatever it needed, meant I couldn't get a
lock until back in Switzerland.
Or, alternatively: while on a trip to Japan, it turns out that Google
Maps caching is not supported there, probably because of rights over
mapping data. So I had location, but only temporary cached maps (from
the wifi in the hotels).
Due to this kind of problems makes I consider Android maps a toy, so I
wanted a GPS device with proper maps (on the device, not in the
cloud), and with good GPS capabilities (no fancy A-GPS or anything,
just plain good standalone GPS).
Having had good experiences with the sport line of Garmin (but which
doesn't have maps, so it's out of the question), I looked at
Garmin. Many people complained about some things (same all over the
place):


Summary
So, sorry again for sounding like an ad (I don't have any relation
with Garmin the company), but I find this device awesome - powerful,
rugged, and working (so far) very well. I'm glad that there still
exist companies who don't believe they know better than their
customers, and instead offer you with a tool that you can make it work
just like you want. Or almost
Garmin's tag line: Big and Tough Goes anywhere, everywhere . I tend
to agree
N 66 15.958
E 24 59.981
look it up.
We haven't had power for the last 60 minutes, the electrical
heaters are out and we are trying to keep the main room warm with a
wood stove while the wood-burning sauna above is ready to receive
us the minute I hI push this post. The cabbin has become noticiably
colder already, supply of logs small enough to actually burn is
limited, we don't have an axe, but we have a car so we can leave if
need be. The next house is about six kilometers away, no idea if
they have power or not; the woods are dark all round other than for
snowshine.
Yet, I am sitting here, LED lamp lighting the room, GPS telling
me what location to write into this post, laptop running on
battery, cell phone with EGPRS supplying me with bugstats plus
picture (even though I had to do most of it by hand as LWP::Simple
barfs on the timeout) and allowing me to push to ikiwiki.
As I said, technology is... weird.
Bugology
The UDD bugs
interface currently knows about the following release critical
bugs:
| Week | Squeeze | Wheezy | Diff |
|---|---|---|---|
| 43 | 284 (213+71) | 468 (332+136) | +184 (+119/+65) |
| 44 | 261 (201+60) | 408 (265+143) | +147 (+64/+83) |
| 45 | 261 (205+56) | 425 (291+134) | +164 (+86/+78) |
| 46 | 271 (200+71) | 401 (258+143) | +130 (+58/+72) |
| 47 | 283 (209+74) | 366 (221+145) | +83 (+12/+71) |
| 48 | 256 (177+79) | 378 (230+148) | +122 (+53/+69) |
| 49 | 256 (180+76) | 360 (216+155) | +104 (+36/+79) |
| 50 | 204 (148+56) | 339 (195+144) | +135 (+47/+90) |
| 51 | 178 (124+54) | 323 (190+133) | +145 (+66/+79) |
| 52 | 115 (78+37) | 289 (190+99) | +174 (+112/+62) |
| 1 | 93 (60+33) | 287 (171+116) | +194 (+111/+83) |
| 2 | 82 (46+36) | 271 (162+109) | +189 (+116/+73) |
| 3 | 25 (15+10) | 249 (165+84) | +224 (+150/+74) |
| 4 | 14 (8+6) | 244 (176+68) | +230 (+168/+62) |
| 5 | 2 (0+2) | 224 (132+92) | +222 (+132/+90) |
| 6 | release! | 212 (129+83) | +212 (+129/+83) |
| 7 | release+1 | 194 (128+66) | +194 (+128/+66) |
Silly question: when you use diff(1) to produce a file to be applied with patch(1), do you call the result a
diff or a patch? Do you name it foo.diff or foo.patch?
* Inspired by DPL Game post.
Not in order,That s a great tool, but don t you fear it makes unjustified overrides too easy ?In my experience, people sometimes have issues writing overrides (justified or not). In fact it sometimes leaves them really frustrated with Lintian. If that frustration eventually leads to them reject Lintian, then we are doing the project a disservice. I will quote Russ Allbery as I believe he covered when he wrote:
I care most about all of the regular Debian developers [...] continuing to use Lintian, so that Lintian can stay as effective as it is now at getting people to make archive-wide changes. [...] This only works if we can get nearly everyone uploading packages to run Lintian all the time.If a handful of people adds overrides for tags they should not have, then we can fix that (e.g. by filing a bug against their packages). But it is unlikely that we will ever make them run Lintian again once they have boycott it.
I'd like to respond (also) here to inquiries I'm receiving these days: I will not run again as DPL. So you have about 20 days to mob\^Wconvince other DDs to run, or decide to run yourself. Do not to wait for the vary last minute, as that makes for lousy campaigns.Ladies and gentlemen, I am pleased to present you... THE DPL GAME GOALS:
As you have probably already noticed, Google Summer of Code 2013 has been officially announced. As usual, we want to participate with phpMyAdmin.
We really want good students to participate, so our selection process will be again slightly stricter than in last years. So if you want to participate as a student on phpMyAdmin, please check our applicant guide. The most important thing is that we expect you to show knowledge of the code before being accepted and fixing some bug for upcoming 4.0 release is great opportunity to start with that!
Also student themselves usually don't bring new ideas, so it's pretty much on the organization to come with projects it would like to see. We are currently collecting these on our wiki. We will most likely add some new ones to the list as well, so feel free to get in touch if you have some brilliant idea. Also voting on feature requests might help us to choose what users see as most important improvements.
Filed under: English Phpmyadmin 0 comments Flattr this!
class TestInfo(object):
id = unicode
status = ('exists', 'inprogress', 'xfail', 'xsuccess', 'success', 'fail', 'error', 'skip')
runnable = boolean
class StreamingResult(object):
def startTestRun(self):
pass
def stopTestRun(self):
passs
def estimate(self, count, route_code=None, timestamp=None):
pass
def file(self, name, bytes, eof=False, mime=None, test_info=None, route_code=None, timestamp=None):
"""Inform the result about the contents of an attachment."""
def status(self, test_info, route_code=None, timestamp=None):
"""Inform the result about a test status with no attached data."""
This would permit the full semantics of a subunit stream to be represented I think, while being a narrow interface that should be easy to implement.
Please provide feedback! I ll probably start implementing this soon.
I wrote that I would double-check how secure the module selection and
downloading is in Puppet.
Well, puppet module resolves, fetches and downloads unsigned tarballs
from a HTTP source and unpacks them without any verification whatsoever.
Related: I've been looking at rpm/yum GPG behaviour. rpm supports
checking the signature of RPMs as a separate operation from installing
them. You can't ask it to not install a package if the signature is
absent or not correct.
yum is better when dealing with repositories. It can be told to check
the GPG signature on all RPMs both globally (the [main] section of
yum.conf) and on a per-repository basis. GPG signature checking can
be disabled on the command line with --nogpgcheck. It cannot be
selectively enabled on the command line.
However, yum install can install local RPMs and RPMs on web servers
as well as from repositories. In both of these cases, it will not check
the GPG signature at all, no matter what you've put in your yum.conf.
Finally, even if all the above worked properly, the GPG keys published by
Fedora have almost no public signatures (none
at all for EPEL), so neither you nor I could establish a trust path to them.
Luckily I can establish a trust path to the RH security
key.
revno: 1 committer: Robert Collins <robertc@robertcollins.net> timestamp: Sat 2005-08-27 15:01:20 +1000 message: design up a protocol with kfishIt has proved remarkably resilient as a protocol the basic nature hasn t changed at all, even though we ve added tags, timestamps, support for attachments of arbitrary size. However a growing number of irritations have been building up with it. I think it is time to design another iteration of the protocol, one that will retain the positive qualities of the current protocol, while helping it become suitable for the next 7 years. Ideally we can keep compatibility and make it possible for a single stream to be represented in any format. Existing design The existing design is a mostly human readable line orientated protocol that can be sniffed out from the regular output of make or other build systems. Binary attachments are done using HTTP chunking, and the parser has to maintain state about the current test, tags, timing data and test progression [a simple stack of progress counters]. How to arrange subunit output is undefined, how to select tests to run is undefined. This makes writing a parser quite easy, and the tagging and timestamp facility allow multiplexing streams from two or more concurrent test runs into one with good fidelity but also requires that state be buffered until the end of a test, as two tests cannot be executing at once. Dealing with debuggers The initial protocol was intended to support dropping into a debugger just pass each line read through to stdout, and connect stdin to the test process, and voila, you have a working debugger connection. This works, but the current line based parsers make using it tedious the line buffered nature of it makes feedback on what has been typed fiddly, and stdout tends to be buffered, leading to an inability to see print statements and the like. All in-principle fixable, right ? When running two or more test processes, which test process should stdin be connected to? What if two or more drop into a debugger at once? What is being typed to which process is more luck than anything else. We ve added some idioms in testrepository that control test execution by a similar but different format one test per line to list tests, and have runners permit listing and selecting by a list. This works well, but the inconsistency with subunit itself is a little annoying you need two parsers, and two output formats. Good points The current protocol is extremely easy to implement for emitters, and the arbitrary attachments and tagging features have worked extremely well. There is a comprehensive Python parser which maps everything into Python unittest API calls (an extended version of the standard, with good backwards compatibility). Pain points The debugging support was a total failure, and the way the parser depraminates it s toys when a test process corrupts an outcome line is extremely frustrating. (other tests execute but the parser sees them as non-subunit chatter and passes the lines on through stdout). Dealing with concurrency The original design didn t cater for concurrency. There are three concurrency issues the corruption issue (see below for more detail) and multiplexing. Consider two levels of nested concurrency: A supervisor process such as testrepository starts 2 (or more but 2 is sufficient to reason about the issue) subsidiary worker processes (I1 and I2), each of which starts 2 subsidiary processes of their own (W1, W2, W3, W4). Each of the 4 leaf processes is outputting subunit which gets multiplexed in the 2 intermediary processes, and then again in the supervisor. Why would there be two layers? A concrete example is using testrepository to coordinate test runs on multiple machines at once, with each machine running a local testrepository to broker tests amongst the local CPUs. This could be done with 4 separate ssh sessions and no intermediaries, but that only removes a fraction of the issues. What issues? Well, consider some stdout chatter that W1 outputs. That will get passed to I1 and from there to the supervisor and captured. But there is nothing marking the chatter as belonging to W1: there is no way to tell where it came from. If W1 happened to fail, and there was a diagnostic message printed, we ve lost information. Or at best muddled it all up. Secondly, buffering imagine that a test on W1 hangs. I1 will know that W1 is running a test, but has no way to tell the supervisor (and thus the user) that this is the case, without writing to stdout [and causing a *lot* of noise if that happens a lot]. We could have I1 write to stdout only if W1 s test is taking more than 5 seconds or something but this is a workaround for a limitation of the protocol. Adding to the confusion, the clock on W1 and W3 may be very skewed, so timestamps for everything have to be carefully synchronised by the multiplexer. Thirdly, scheduling if W1/W2 are on a faster machine than W3/W4 then a partition of equal-timed tests onto each machine will lead one idle before the other finishes. It would be nice to be able to pass tests to run to the faster machine when it goes idle, rather than having to start a new runner each time. Lastly, what to do when W1 and W2 both wait for user input on stdin (e.g. passphrases, debugger input, $other). Naively connecting stdin to all processes doesn t work well. A GUI supervisor could connect a separate fd to each of I1 and I2, but that doesn t help when it is W1 and W2 reading from stdin. So additional requirement over baseline subunit:
test: foo starting serversuccess:fooThis is a classic example of corruption: the test foo started a server and helpfully wrote to stdout explaining that it did that, but missed the newline. As a result the success message for the test wasn t printed on a line of its own, and the subunit parser will believe that foo never completed. Every subsequent test is then ignored. This is usually easy to identify and fix, but its a head-scratcher when it happens. Another way it can happen is when a build tool like make runs tests in parallel, and they output subunit onto the same stdout file handle. A third way is when a build tool like make runs two separate test scripts serially, and the first one starts a test but errors hard and doesn t finish it. That looks like:
test: foo test: bar success: barOne way that this sort of corruption can be mitigated is to put subunit on it s own file descriptor, but this has several caveats: it is harder to tunnel through things like ssh and it doesn t solve the failing test script case. I think it is unreasonable to require a protocol where arbitrary interleaving of bytes between different test runner streams will work so the make -j2 case can be ignored at the wire level though we should create a simple way to safely mux the output from such tests when the execute. The root of the issue is that a dropped update leaves bad state in the parser and it never recovers. So some way to recover, or less state to carry in the parser, would neatly solve things. I favour reducing parser state as that should shift stateful complexity onto end nodes / complex processors, rather than being carried by every node in the transmission path. Dependencies Various suggestions have been made JSON, Protobufs, etc A key design goal of the first subunit was a low barrier to entry. We keep that by being backward compatible, but being easy to work with for the new revision is also a worthy goal. High level proposal A packetised length prefixed binary protocol, with each packet containing a small signature, length, routing code, a binary timestamp in UTC, a set of UTF8 tags (active only, no negative tags), a content tag one of (estimate + number, stdin, stdout, stderr, test- + test id), test status (one of exists/inprogress/xfail/xsuccess/success/fail/skip), an attachment name, mime type, a last-block marker and a block of bytes. The content tags:
class StreamingResult(object):
def startTestRun(self):
pass
def stopTestRun(self):
pass
def estimate(self, count, route_code=None):
pass
def stdin(self, bytes, route_code=None):
pass
def stdout(self, bytes, route_code=None):
pass
def test(self, test_id, status, attachment_name=None, attachment_mime=None, attachment_eof=None, attachment_bytes=None):
pass
This would support just-in-time debugging by wiring up pdb to the stdin/stdout handlers of the result object, rather than actual stdin/stdout of the process a simple matter once written. Alternatively, the test runner could replace sys.stdin/stdout etc with thunk file-like objects, which might be a good idea anyway to capture spurious output happening during a test run. That would permit pdb to Just Work (even if the test process is internally running concurrent tests.. until it has two pdb objects running concurrently
Over the last few days I've done quite a lot of work to try and get our
puppet configuration up to modern best practises. The Puppet Labs folks
strongly encourage you to make as much use of puppet modules as possible. A
puppet module gathers together puppet manifests, facter facts and other bits
and pieces into a reusable component that you could potentially share with
others. Many modules (of very mixed quality) are available on the web, in
particular at github and via Puppet Lab's own
Forge.
Since version 2.7.14, the puppet command-line tool has built-in support for
managing modules:
# puppet module list
/etc/puppet/modules
auth (???)
interfaces (???)
# puppet module install puppetlabs-apt
However, they have not provided support for managing modules in puppet
manifests themselves. This strikes me as a bit odd: the whole point of using
puppet to manage your machines is to capture the configuration in one place. If
your configuration depends on a collection of modules and module versions,
you'd ideally record that in the puppet configuration itself. Otherwise
building a new puppet master is a mixture of manually installing modules and
setting it up as a client of your existing master.
Other people to the rescue: Ryan Coleman (and Pieter van de Bruggen)
have written puppet_module_provider
which does exactly this. (Note that they both work for Puppet Labs).
Now I can define which modules and what versions are necessary:
class puppetmaster
module 'rcoleman/puppet_module': ensure => '0.0.3',
module 'puppetlabs/firewall': ensure => '0.0.4',
module 'puppetlabs/lvm': ensure => '0.1.1',
module 'puppetlabs/ntp': ensure => '0.2.0',
I've decided to pin specific versions given the highly variable nature of
module quality. There's no guarantee of backwards compatibility except by
reputation of the publisher. The puppetlabs modules are likely to be of higher
quality than average, so over time I'll probably gain confidence to change the
specific versioning to 'latest' or similar. I also want to double-check how
secure the module selection and downloading is (whether it's over HTTPS or
cryptographic signatures are checked etc.)
Next round of phpMyAdmin 4.0 translation status report is coming.
So let's look at which translations are at 100% right now (some changes this week due to new strings to translate):
There are also several languages which need just few strings to be complete:
As you can see, there is still lot of languages missing, this might be your opportunity to contribute to phpMyAdmin. Also you are welcome to translate phpMyAdmin 4.0 using translation server.
If your language is already fully translated and you want to help as well, you can translate our documentation as well.
Filed under: English Phpmyadmin 0 comments Flattr this!
Brett points at a Guardian article on Terry Deary
and his opinion that libraries are no longer relevant. In fact, Mr. Deary
goes further: he thinks libraries are destroying the book business by
preventing authors, publishers, and bookshops from getting paid.
From the article:
As one of the most popular library authors his books were borrowed more than 500,000 times during 2011/12 Deary will have received the maximum amount possible for a writer from the Public Lending Right scheme, which gives authors 6.2p every time one of their books is borrowed, up to a cap of 6,600. "If I sold the book I'd get 30p per book. I get six grand, and I should be getting 180,000. But never mind my selfish author perception what about the bookshops? The libraries are doing nothing for the book industry. They give nothing back, whereas bookshops are selling the book, and the author and the publisher get paid, which is as it should be. What other entertainment do we expect to get for free?" he asked.He's making several of the same false claims that people in the media business always make whenever they see people enjoying any kind of cultural products without paying for them.
Next.