| Publisher: | The New Press |
| Copyright: | 2019 |
| ISBN: | 1-62097-437-1 |
| Format: | Kindle |
| Pages: | 247 |
What many black women were angry about was how I located myself in what I'd written. I said, blithely as a matter of observable fact, that I am unattractive. Because I am unattractive, the argument went, I have a particular kind of experience of beauty, race, racism, and interacting with what we might call the white gaze. I thought nothing of it at the time I was writing it, which is unusual. I can usually pinpoint what I have said, written, or done that will piss people off and which people will be pissed off. I missed this one entirely.What follows is one of the best essays on the social construction of beauty I've ever read. It barely pauses at the typical discussion of unrealistic beauty standards as a feminist issue, instead diving directly into beauty as whiteness, distinguishing between beauty standards that change with generations and the more lasting rules that instead police the bounds between white and not white. McMillan Cottom then goes on to explain how beauty is a form of capital, a poor and problematic one but nonetheless one of the few forms of capital women have access to, and therefore why black women have fought to be included in beauty despite all of the problems with judging people by beauty standards. And the essay deepens from there into a trenchant critique of both capitalism and white feminism that is both precise and illuminating.
When I say that I am unattractive or ugly, I am not internalizing the dominant culture's assessment of me. I am naming what has been done to me. And signaling who did it. I am glad that doing so unsettles folks, including the many white women who wrote to me with impassioned cases for how beautiful I am. They offered me neoliberal self-help nonsense that borders on the religious. They need me to believe beauty is both achievable and individual, because the alternative makes them vulnerable.I could go on. Every essay in this book deserves similar attention. I want to quote from all of them. These essays are about racism, feminism, capitalism, and economics, all at the same time. They're about power, and how it functions in society, and what it does to people. There is an essay about Obama that contains the most concise explanation for his appeal to white voters that I've read. There is a fascinating essay about the difference between ethnic black and black-black in U.S. culture. There is so much more.
We do not share much in the U.S. culture of individualism except our delusions about meritocracy. God help my people, but I can talk to hundreds of black folks who have been systematically separated from their money, citizenship, and personhood and hear at least eighty stories about how no one is to blame but themselves. That is not about black people being black but about people being American. That is what we do. If my work is about anything it is about making plain precisely how prestige, money, and power structure our so-called democratic institutions so that most of us will always fail.I, like many other people in my profession, was always more comfortable with the technical and scientific classes in college. I liked math and equations and rules, dreaded essay courses, and struggled to engage with the mandatory humanities courses. Something that I'm still learning, two decades later, is the extent to which this was because the humanities are harder work than the sciences and I wasn't yet up to the challenge of learning them properly. The problems are messier and more fluid. The context required is broader. It's harder to be clear and precise. And disciplines like sociology deal with our everyday lived experience, which means that we all think we're entitled to an opinion. Books like this, which can offer me a hand up and a grounding in the intellectual rigor while simultaneously being engaging and easy to read, are a treasure. They help me fill in the gaps in my education and help me recognize and appreciate the depth of thought in disciplines that don't come as naturally to me. This book was homework, but the good kind, the kind that exposes gaps in my understanding, introduces topics I hadn't considered, and makes the time fly until I come up for air, awed and thinking hard. Highly recommended. Rating: 9 out of 10
Some of you might have noticed that I m into keyboards since a few
years ago into mechanical keyboards to be precise.
Preface
It basically started with the Swiss Mechanical Keyboard Meetup (whose website I
started later on) was held in the hackerspace of the CCCZH.
I mostly used TKL keyboards (i.e. keyboards with just the for
me useless number block missing) and tried to get my hands on
more keyboards with Trackpoints (but failed so far).
At some point a year or two ago, I looking into smaller keyboards for
having a mechanical keyboard with me when travelling. I first bought a
Vortex Core at Candykeys. The size was nice and especially having all
layers labelled on the keys was helpful, but nevertheless I soon
noticed that the smaller the keyboards get, the more important is,
that they re properly programmable. The Vortex Core is programmable,
but not the keys in the bottom right corner which are exactly
the keys I wanted to change to get a cursor block down there. (Later I
found out that there are possibilities to get this done, either with
an alternative firmware and a hack of it or
desoldering all switches and mounting an alternative PCB
called Atom47.)
40% Keyboards
So at some point I ordered a MiniVan keyboard from The Van Keyboards (MiniVan keyboards will soon be available again at The Key
Dot Company), here shown with GMK
Paperwork (also bought from and designed by The Van Keyboards):


:',./, etc.-=[]\, etc.)| Publisher: | Basic |
| Copyright: | June 2018 |
| ISBN: | 0-465-09426-0 |
| Format: | Kindle |
| Pages: | 248 |
Do you recall the temple of science, in which the foundations of physics are the bottommost level, and we try to break through to deeper understanding? As I've come to the end of my travels, I worry that the cracks we're seeing in the floor aren't really cracks at all but merely intricate patterns. We're digging in the wrong places.Lost in Math will teach you a bit less about physics than Smolin's book, although there is some of that here. Smolin's book was about two-thirds physics and one-third sociology of science. Lost in Math is about two-thirds sociology and one-third physics. But that sociology is engrossing. It's obvious in retrospect, but I hadn't thought before about the practical effects of running out of unexplained data on a theoretical field, or about the transition from more data than we can explain to having to spend billions of dollars to acquire new data. And Hossenfelder takes direct aim at the human tendency to find aesthetically appealing patterns and unified explanations, and scores some palpable hits.
I went into physics because I don't understand human behavior. I went into physics because math tells it how it is. I liked the cleanliness, the unambiguous machinery, the command math has over nature. Two decades later, what prevents me from understanding physics is that I still don't understand human behavior. "We cannot give exact mathematical rules that define if a theory is attractive or not," says Gian Francesco Giudice. "However, it is surprising how the beauty and elegance of a theory are universally recognized by people from different cultures. When I tell you, 'Look, I have a new paper and my theory is beautiful,' I don't have to tell you the details of my theory; you will get why I'm excited. Right?" I don't get it. That's why I am talking to him. Why should the laws of nature care what I find beautiful? Such a connection between me and the universe seems very mystical, very romantic, very not me. But then Gian doesn't think that nature cares what I find beautiful, but what he finds beautiful.The structure of this book is half tour of how physics judges which theories are worthy of investigation and half personal quest to decide whether physics has lost contact with reality. Hossenfelder approaches this second thread with multiple interviews of famous scientists in the field. She probes at their bases for preferring one theory over another, at how objective those preferences can or should be, and what it means for physics if they're wrong (as increasingly appears to be the case for supersymmetry). In so doing, she humanizes theory development in a way that I found fascinating. The drawback to reading about ongoing arguments is the lack of a conclusion. Lost in Math, unsurprisingly, does not provide an epiphany about the future direction of high-energy particle physics. Its conclusion, to the extent that it has one, is a plea to find a way to put particle physics back on firmer experimental footing and to avoid cognitive biases in theory development. Given the cost of experiments and the nature of humans, this is challenging. But I enjoyed reading this questioning, contrarian take, and I think it's valuable for understanding the limits, biases, and distortions at the edge of new theory development. Rating: 7 out of 10
| Series: | Francesca #2 |
| Publisher: | Candlewick Press |
| Copyright: | 2010 |
| Printing: | 2011 |
| ISBN: | 0-7636-5458-2 |
| Format: | Kindle |
| Pages: | 330 |
domain_host variation.--print-sudoers feature.
![]() |
| Photo by Youngbin Han (Ubuntu Korea Loco), thanks! |
I'm currently trying to make sense of some still image coding
(more details to come at a much later stage!), and for a variety
of reasons, I've chosen to use rANS as the entropy coder. However,
there's an interesting little detail that I haven't actually seen
covered anywhere; maybe it's just because I've missed something,
or maybe because it's too blindingly obvious, but I thought I would
document what I ended up with anyway. (I had hoped for something
even more elegant, but I guess the obvious would have to do.)
For those that don't know rANS coding, let me try to handwave it
as much as possible. Your state is typically a single word
(in my case, a 32-bit word), which is refilled from the input stream
as needed. The encoder and decoder works in reverse order;
let's just talk about the decoder. Basically it works by looking
at the lowest 12 (or whatever) bits of the decoder state, mapping
each of those 2^12 slots to a decoded symbol. More common symbols
are given more slots, proportionally to the frequency. Let me just
write a tiny, tiny example with 2 bits and three symbols instead,
giving four slots:
| Lowest bits | Symbol |
|---|---|
| 00 | 0 |
| 01 | 0 |
| 10 | 1 |
| 11 | 2 |
| Lowest bits | Symbol |
|---|---|
| 000 | 1 |
| 001 | 2 |
| 010 | 0 |
| 011 | 0 |
| 100 | 0 |
| 101 | 0 |
| 110 | -1 |
| 111 | -2 |
In this, our next exciting installment of STM32 and Rust for USB device
drivers, we're going to look at what the STM32 calls the 'packet memory area'.
If you've been reading along with the course, including reading up on the
datasheet content then you'll be aware that as well as the STM32's normal
SRAM, there's a 512 byte SRAM dedicated to the USB peripheral. This SRAM is
called the 'packet memory area' and is shared between the main bus and the USB
peripheral core. Its purpose is, simply, to store packets in transit. Both
those IN to the host (so stored queued for transmission) or OUT from the host
(so stored, queued for the application to extract and consume).
It's time to actually put hand to keyboard on some Rust code, and the PMA is
the perfect starting point, since it involves two basic structures. Packets
are the obvious first structure, and they are contiguous sets of bytes which
for the purpose of our work we shall assume are one to sixty-four bytes long.
The second is what the STM32 datasheet refers to as the BTABLE or Buffer
Descriptor Table. Let's consider the BTABLE first.
BTABLE is arranged in quads of 16bit words. For "normal" endpoints this
is a pair of descriptors, each consisting of two words, one for transmission,
and one for reception. The STM32 also has a concept of double buffered
endpoints, but we're not going to consider those in our proof-of-concept work.
The STM32 allows for up to eight endpoints (EP0 through EP7) in internal
register naming, though they support endpoints numbered from zero to fifteen in
the sense of the endpoint address numbering. As such there're eight
descriptors each four 16bit words long (eight bytes) making for a buffer
descriptor table which is 64 bytes in size at most.
| Byte offset in PMA | Field name | Description |
|---|---|---|
(EPn * 8) + 0 |
USB_ADDRn_TX |
The address (inside the PMA) of the TX buffer for EPn |
(EPn * 8) + 2 |
USB_COUNTn_TX |
The number of bytes present in the TX buffer for EPn |
(EPn * 8) + 4 |
USB_ADDRn_RX |
The address (inside the PMA) of the RX buffer for EPn |
(EPn * 8) + 6 |
USB_COUNTn_RX |
The number of bytes of space available for the RX buffer for EPn (and once received, the number of bytes received) |
USB_ADDRn_TX entry, and the length into the corresponding
USB_COUNTn_TX entry, before marking the endpoint as ready to transmit.
To receive a packet though is slightly more complex. The application must
allocate some space in the PMA, setting the address into the USB_ADDRn_RX
entry of the BTABLE before filling out the top half of the USB_COUNTn_RX
entry. For ease of bit sizing, the STM32 only supports space allocations of
two to sixty-two bytes in steps of two bytes at a time, or thirty-two to
five-hundred-twelve bytes in steps of thirty-two bytes at a time. Once the
packet is received, the USB peripheral will fill out the lower bits of the
USB_COUNTn_RX entry with the actual number of bytes filled out in the buffer.
BTABLE can be
anywhere within the PMA, as can the packets, the application will have to do
some memory management (either statically, or dynamically) to manage the
packets in the PMA.
0x4000_6000. Secondly we need to know what address in the PMA we
wish to access, so we can determine which 16bit word that is, and thus what the
address is as far as the CPU is concerned. If we assume we only ever want to
access 16bit entries, we can just multiply the PMA offset by two before adding
it to the PMA base address. So, to access the 16bit word at byte-offset 8 in
the PMA, we'd look for the 16bit word at 0x4000_6000 + (0x08 * 2) =>
0x4000_6010.
// Thanks to the work by Jorge Aparicio, we have a convenient wrapper
// for peripherals which means we can declare a PMA peripheral:
pub const PMA: Peripheral<PMA> = unsafe Peripheral::new(0x4000_6000) ;
// The PMA struct type which the peripheral will return a ref to
pub struct PMA
pma_area: PMA_Area,
// And the way we turn that ref into something we can put a useful impl on
impl Deref for PMA
type Target = PMA_Area;
fn deref(&self) -> &PMA_Area
&self.pma_area
// This is the actual representation of the peripheral, we use the C repr
// in order to ensure it ends up packed nicely together
#[repr(C)]
pub struct PMA_Area
// The PMA consists of 256 u16 words separated by u16 gaps, so lets
// represent that as 512 u16 words which we'll only use every other of.
words: [VolatileCell<u16>; 512],
impl PMA_Area
pub fn get_u16(&self, offset: usize) -> u16
assert!((offset & 0x01) == 0);
self.words[offset].get()
pub fn set_u16(&self, offset: usize, val: u16)
assert!((offset & 0x01) == 0);
self.words[offset].set(val);
unsafe stuff for now):
unsafe (&*usb::pma::PMA.get()).set_u16(4, 64);
80001e4: f246 0008 movw r0, #24584 ; 0x6008
80001e8: 2140 movs r1, #64 ; 0x40
80001ea: f2c4 0000 movt r0, #16384 ; 0x4000
80001ee: 8001 strh r1, [r0, #0]
This boils down to a u16 write of 0x0040 (64) to the address 0x4006008
which is the third 32 bit word in the CPU's view of the PMA memory space (where
offset 4 is the third 16bit word) which is exactly what we'd expect to see.
We can, from here, build up some functions for manipulating a BTABLE, though
the most useful ones for us to take a look at are the RX counter functions:
pub fn get_rxcount(&self, ep: usize) -> u16
self.get_u16(BTABLE + (ep * 8) + 6) & 0x3ff
pub fn set_rxcount(&self, ep: usize, val: u16)
assert!(val <= 1024);
let rval: u16 =
if val > 62
assert!((val & 0x1f) == 0);
(((val >> 5) - 1) << 10) 0x8000
else
assert!((val & 1) == 0);
(val >> 1) << 10
;
self.set_u16(BTABLE + (ep * 8) + 6, rval)
BTABLE base in the PMA,
add the address of the USB_COUNTn_RX entry to that, retrieve the u16 and
then mask off the bottom ten bits since that's the size of the relevant field.
The setter is a little more complex, since it has to deal with the two possible
cases, this isn't pretty and we might be able to write some better peripheral
structs in the future, but for now, if the length we're setting is 62 or less,
and is divisible by two, then we put a zero in the top bit, and the number of
2-byte lumps in at bits 14:10, and if it's 64 or more, we mask off the bottom
to check it's divisible by 32, and then put the count (minus one) of those
blocks in, instead, and set the top bit to mark it as such.
Fortunately, when we set constants, Rust's compiler manages to optimise all
this very quickly. For a BTABLE at the bottom of the PMA, and an
initialisation statement of:
unsafe (&*usb::pma::PMA.get()).set_rxcount(1, 64);
80001e4: f246 001c movw r0, #24604 ; 0x601c
80001e8: f44f 4104 mov.w r1, #33792 ; 0x8400
80001ec: f2c4 0000 movt r0, #16384 ; 0x4000
80001f0: 8001 strh r1, [r0, #0]
We can decompose that into a C like *((u16*)0x4000601c) = 0x8400 and from
there we can see that it's writing to the u16 at 0x1c bytes into the CPU's view
of the PMA, which is 14 bytes into the PMA itself. Since we know we set the
BTABLE at the start of the PMA, it's 14 bytes into the BTABLE which is firmly
in the EP1 entries. Specifically it's USB_COUNT1_RX which is what we were
hoping for. To confirm this, check out page 651 of the datasheet. The
value set was 0x8400 which we can decompose into 0x8000 and 0x0400. The
first is the top bit and tells us that BL_SIZE is one, and thus the blocks
are 32 bytes long. Next the 0x4000 if we shift it right ten places, we get
the value 2 for the field NUM_BLOCK and multiplying 2 by 32 we get the 64
bytes we asked it to set as the size of the RX buffer. It has done exactly
what we hoped it would, but the compiler managed to optimise it into a single
16 bit store of a constant value to a constant location. Nice and efficient.
Finally, let's look at what happens if we want to write a packet into the PMA.
For now, let's assume packets come as slices of u16s because that'll make our
life a little simpler:
pub fn write_buffer(&self, base: usize, buf: &[u16])
for (ofs, v) in buf.iter().enumerate()
self.set_u16(base + (ofs * 2), *v);
no_std territory, we can still get an iterator
over the slice, and enumerate it, getting a nice iterator of (index, value)
though in this case, the value is a ref to the content of the slice, so we end
up with *v to deref it. I am sure I could get that automatically happening
but for now it's there.
Amazingly, despite using iterators, enumerators, high level for loops, function
calls, etc, if we pop:
unsafe (&*usb::pma::PMA.get()).write_buffer(0, &[0x1000, 0x2000, 0x3000]);
80001e4: f246 0000 movw r0, #24576 ; 0x6000
80001e8: f44f 5180 mov.w r1, #4096 ; 0x1000
80001ec: f2c4 0000 movt r0, #16384 ; 0x4000
80001f0: 8001 strh r1, [r0, #0]
80001f2: f44f 5100 mov.w r1, #8192 ; 0x2000
80001f6: 8081 strh r1, [r0, #4]
80001f8: f44f 5140 mov.w r1, #12288 ; 0x3000
80001fc: 8101 strh r1, [r0, #8]
which, as you can see, ends up being three sequential halfword stores directly
to the right locations in the CPU's view of the PMA. You have to love
seriously aggressive compile-time optimisation
Hopefully, by next time, we'll have layered some more pleasant routines on our
PMA code, and begun a foray into the setup necessary before we can begin
handling interrupts and start turning up on a USB port.

| Title / language | Quantity | ||
|---|---|---|---|
| 2016 jan-jun | 2016 jul-dec | 2017 jan-may | |
| Culture Libre / French | 3 | 6 | 15 |
| Fri kultur / Norwegian | 7 | 1 | 0 |
| Free Culture / English | 14 | 27 | 16 |
| Total | 24 | 34 | 31 |
Last week, we presented a new paper that describes how children are thinking through some of the implications of new forms of data collection and analysis. The presentation was given at the ACM CHI conference in Denver last week and the paper is open access and online.
Over the last couple years, we ve worked on a large project to support children in doing and not just learning about data science. We built a system, Scratch Community Blocks, that allows the 18 million users of the Scratch online community to write their own computer programs in Scratch of course to analyze data about their own learning and social interactions. An example of one of those programs to find how many of one s follower in Scratch are not from the United States is shown below.
Last year, we deployed Scratch Community Blocks to 2,500 active Scratch users who, over a period of several months, used the system to create more than 1,600 projects.
As children used the system, Samantha Hautea, a student in UW s Communication Leadership program, led a group of us in an online ethnography. We visited the projects children were creating and sharing. We followed the forums where users discussed the blocks. We read comment threads left on projects. We combined Samantha s detailed field notes with the text of comments and forum posts, with ethnographic interviews of several users, and with notes from two in-person workshops. We used a technique called grounded theory to analyze these data.
What we found surprised us. We expected children to reflect on being challenged by and hopefully overcoming the technical parts of doing data science. Although we certainly saw this happen, what emerged much more strongly from our analysis was detailed discussion among children about the social implications of data collection and analysis.
In our analysis, we grouped children s comments into five major themes that represented what we called critical data literacies. These literacies reflect things that children felt were important implications of social media data collection and analysis.
First, children reflected on the way that programmatic access to data even data that was technically public introduced privacy concerns. One user described the ability to analyze data as, creepy , but at the same time, very cool. Children expressed concern that programmatic access to data could lead to stalking and suggested that the system should ask for permission.
Second, children recognized that data analysis requires skepticism and interpretation. For example, Scratch Community Blocks introduced a bug where the block that returned data about followers included users with disabled accounts. One user, in an interview described to us how he managed to figure out the inconsistency:
At one point the follower blocks, it said I have slightly more followers than I do. And, that was kind of confusing when I was trying to make the project. [ ] I pulled up a second [browser] tab and compared the [data from Scratch Community Blocks and the data in my profile]. Third, children discussed the hidden assumptions and decisions that drive the construction of metrics. For example, the number of views received for each project in Scratch is counted using an algorithm that tries to minimize the impact of gaming the system (similar to, for example, Youtube). As children started to build programs with data, they started to uncover and speculate about the decisions behind metrics. For example, they guessed that the view count might only include unique views and that view counts may include users who do not have accounts on the website. Fourth, children building projects with Scratch Community Blocks realized that an algorithm driven by social data may cause certain users to be excluded. For example, a 13-year-old expressed concern that the system could be used to exclude users with few social connections saying:
I think this was a great idea! I am just a bit worried that people will make these projects and take it the wrong way, saying that followers are the most important thing in on Scratch. Kids conversations around Scratch Community Blocks are good news for educators who are starting to think about how to engage young learners in thinking critically about the implications of data. Although no kid using Scratch Community Blocks discussed each of the five literacies described above, the themes reflect starting points for educators designing ways to engage kids in thinking critically about data. Our work shows that if children are given opportunities to actively engage and build with social and behavioral data, they might not only learn how to do data analysis, but also reflect on its implications.
After the workshop on Saturday, members of the OSCAL team successfully reconstructed the SDR and antenna at the Debian info booth on Sunday and a wide range of shortwave and ham signals were detected:
Here is a close-up look at the laptop, RTL-SDR dongle (above laptop), Ham-It-Up converter (above water bottle) and MFJ-971 ATU (on right):
Buying the parts
| Component | Purpose, Notes | Price/link to source |
|---|---|---|
| RTL-SDR dongle | Converts radio signals (RF) into digital signals for reception through the USB port. It is essential to buy the dongles for SDR with TCXO, the generic RTL dongles for TV reception are not stable enough for anything other than TV. | ~ 25 |
| Enamelled copper wire, 25 meters or more | Loop antenna. Thicker wire provides better reception and is more suitable for transmitting (if you have a license) but it is heavier. The antenna I've demonstrated at recent events uses 1mm thick wire. | ~ 10 |
| 4 (or more) ceramic egg insulators | Attach the antenna to string or rope. Smaller insulators are better as they are lighter and less expensive. | ~ 10 |
| 4:1 balun | The actual ratio of the balun depends on the shape of the loop (square, rectangle or triangle) and the point where you attach the balun (middle, corner, etc). You may want to buy more than one balun, for example, a 4:1 balun and also a 1:1 balun to try alternative configurations. Make sure it is waterproof, has hooks for attaching a string or rope and an SO-239 socket. | from 20 |
| 5 meter RG-58 coaxial cable with male PL-259 plugs on both ends | If using more than 5 meters or if you want to use higher frequencies above 30MHz, use thicker, heavier and more expensive cables like RG-213. The cable must be 50 ohm. | ~ 10 |
| Antenna Tuning Unit (ATU) | I've been using the MFJ-971 for portable use and demos because of the weight. There are even lighter and cheaper alternatives if you only need to receive. | ~ 20 for receive only or second hand |
| PL-259 to SMA male pigtail, up to 50cm, RG58 | Joins the ATU to the upconverter. Cable must be RG58 or another 50 ohm cable | ~ 5 |
| Ham It Up v1.3 up-converter | Mixes the HF signal with a signal from a local oscillator to create a new signal in the spectrum covered by the RTL-SDR dongle | ~ 40 |
| SMA (male) to SMA (male) pigtail | Join the up-converter to the RTL-SDR dongle | ~ 2 |
| USB charger and USB type B cable | Used for power to the up-converter. A spare USB mobile phone charge plug may be suitable. | ~ 5 |
| String or rope | For mounting the antenna. A ligher and cheaper string is better for portable use while a stronger and weather-resistent rope is better for a fixed installation. | 5 |
Configuring gqrx for the up-converter and shortwave signals
Inspect the up-converter carefully. Look for the crystal and find the frequency written on the side of it. The frequency written on the specification sheet or web site may be wrong so looking at the crystal itself is the best way to be certain. On my Ham It Up, I found a crystal with 125.000 written on it, this is 125 MHz.
Launch gqrx, go to the File menu and select I/O devices. Change the LNB LO value to match the crystal frequency on the up-converter, with a minus sign. For my Ham It Up, I use the LNB LO value -125.000000 MHz.
Click OK to close the I/O devices window.
On the Input Controls tab, make sure Hardware AGC is enabled.
On the Receiver options tab, change the Mode value. Commercial shortwave broadcasts use AM and amateur transmission use single sideband: by convention, LSB is used for signals below 10MHz and USB is used for signals above 10MHz. To start exploring the 20 meter amateur band around 14.2 MHz, for example, use USB.
In the top of the window, enter the frequency, for example, 14.200 000 MHz.
Now choose the FFT Settings tab and adjust the Freq zoom slider. Zoom until the width of the display is about 100 kHZ, for example, from 14.15 on the left to 14.25 on the right.
Click the Play icon at the top left to start receiving. You may hear white noise. If you hear nothing, check the computer's volume controls, move the Gain slider (bottom right) to the maximum position and then lower the Squelch value on the Receiver options tab until you hear the white noise or a transmission.
Adjust the Antenna Tuner knobs
Now that gqrx is running, it is time to adjust the knobs on the antenna tuner (ATU). Reception improves dramatically when it is tuned correctly. Exact instructions depend on the type of ATU you have purchased, here I present instructions for the MFJ-971 that I have been using.
Turn the TRANSMITTER and ANTENNA knobs to the 12 o'clock position and leave them like that. Turn the INDUCTANCE knob while looking at the signals in the gqrx window. When you find the best position, the signal strength displayed on the screen will appear to increase (the animated white line should appear to move upwards and maybe some peaks will appear in the line).
When you feel you have found the best position for the INDUCTANCE knob, leave it in that position and begin turning the ANTENNA knob clockwise looking for any increase in signal strength on the chart. When you feel that is correct, begin turning the TRANSMITTER knob.
Listening to a transmission
At this point, if you are lucky, some transmissions may be visible on the gqrx screen. They will appear as darker colours in the waterfall chart. Try clicking on one of them, the vertical red line will jump to that position. For a USB transmission, try to place the vertical red line at the left hand side of the signal. Try dragging the vertical red line or changing the frequency value at the top of the screen by 100 Hz at a time until the station is tuned as well as possible.
Try and listen to the transmission and identify the station. Commercial shortwave broadcasts will usually identify themselves from time to time. Amateur transmissions will usually include a callsign spoken in the phonetic alphabet. For example, if you hear "CQ, this is Victor Kilo 3 Tango Quebec Romeo" then the station is VK3TQR. You may want to note down the callsign, time, frequency and mode in your log book. You may also find information about the callsign in a search engine.
The video demonstrates reception of a transmission from another country, can you identify the station's callsign and find his location?
If you have questions about this topic, please come and ask on the Debian Hams mailing list. The gqrx package is also available in Fedora and Ubuntu but it is known to crash on startup in Ubuntu 17.04. Users of other distributions may also want to try the Debian Ham Blend bootable ISO live image as a quick and easy way to get started.
SUCCESS.pdf.SUCCESS.pdf.SUCCESS.pdf.cats in your user directory.to do in your user directory.cats folder to the to do folder.cats folder.unicorns in your personal directory.unicorns in order to
find it again in a few weeks.vlc package.vlc package.
Alternatively, here is the spreadsheet that was
used to create this picture, with added text to avoid relying on
colors only.
Most tasks were accomplished with little or no difficulty so we will
now focus on the problematic parts.
What were the challenges?
The heat map shows several "hot" rows, that we will now be looking at
in more details.
Mission A.3 Create a bookmark in Nautilus
Most testers right-clicked the folder first, and eventually found they
could simply drag'n'drop to the bookmarks location in the sidebar.
One tester thought that he could select a folder, click the hamburger
icon, and from there use the "Bookmark this folder" menu item.
However, this menu action only works on the folder one has entered,
not on the selected one.
Mission B.1 Install and remove a package
Here we faced a number of issues caused by the fact that Debian Live
images don't include package indices (with good reason), so no package
manager can list available software.
Everyone managed to start a graphical package manager via the Overview
(or via the CLI or Alt-F2 for a couple power users).
Some testers tried to use GNOME Software, which listed only already
installed packages (Debian bug #862560) and provided no way we could
find to refresh the package indices. That's arguably a bug in Debian
Live, but still: GNOME Software might display some useful information
when it detects this unusual situation.
We won't list here all the obstacles that were met in Synaptic:
it's no news its usability is rather sub-optimal and better
alternatives (such as GNOME Software) are in the works.
Mission C.2 Tweak temporary files management
The mission was poorly phrased: some observers had to clarify that it
was specifically about GNOME, and not generic Linux system
administration: some power-users were already searching the web for
command-line tools to address the task at hand.
Even with this clarification, no tester would have succeeded without
being told they were allowed to use the web with a search query
including the word "GNOME", or use the GNOME help or the Overview.
Yet eventually all testers succeeded.
It's interesting to note that regular GNOME users had the same problem
as others: they did not try searching "temporary" in the Overview and did
not look-up the GNOME Help until they were suggested to do so.
Mission C.3 Change the default video player
One tester configured one single video file format to be opened by
default with VLC, via right-click in Nautilus Open with etc.
He believed this would be enough to make VLC the default video
player, missing the subtle difference between "default video player"
and "default player for one single video format".
One tester tried to complete this task inside VLC itself and then
needed some help to succeed. It might be that the way web browsers ask
"Do you want ThisBrowser to become the default web browser?" gave a hint
an application GUI is the right place to do it.
Two testers searched "default" in the Overview (perhaps the previous
mission dealing with temporary files was enough to put them in this
direction). At least one tester was confused since the only search
result (Details View information about your system), which is the
correct one to get there, includes the word View, which suggests
that one cannot modify settings there, but only view them.
One long-term GNOME user looked in Tweak Tool first, and then used
the Overview.
Here again, GNOME users experienced essentially the same issues
as others.
Mission C.4 Add and remove world clocks
One tester tried to look for the clock on the top right corner of the
screen, then realized it was in the middle. Other than this, all
testers easily found a way to add world clocks.
However, removing a world clock was rather difficult; although most
testers managed to do it, it took them a number of attempts to
succeed:

.rdb database format that contains the package's
definitions, plus a .rdx index file for easy lookup in the .rdb file.
Usually, there is a main rdb with the package contents, plus another rdb that
stores the help data. There is also a paths.rds (same format as .rdx) that
contains some more stuff.
One can actually read these files by hand using Rscript, see the diffoscope
code in
rdata.py.
If you run that, you can see that path.rds contains some obvious paths, but
the other files contain less obvious stuff, and in fact these scripts give
identical output for the .rdb files, even though they are bitwise different.
To get to the bottom of this, we'll have to use the R debugger.
Attached to this post is a script that
smooths this process. I ran this against Debian's R packages, but it probably
also works with other distros' R packages - try it and see.
You run it like ./r-mini-repro-test.sh $pkgdir $builddir and it will output
some hashes for you; make sure to install the build dependencies first. You
should manually vary both $pkgdir and $builddir to introduce the build-path
variations; $builddir can be an arbitrary string but $pkgdir should point
to the actual R package's source directory, so I just copy that to two
locations and point the script at each of them in turn.
Now, we can begin debugging. Before I did this, we had 478 unreproducible R
packages so the biggest problem was likely with R itself. I downloaded the
source code of both R and a small example package (r-cran-tensor), then figured
out how the R packages were actually being built. This resulted in me writing
the script above, to speed up debugging. You can read about R's debugger here
(no HTTPS), it's
a bit primitive but it supports the basic stuff (step, continue, where,
print/eval) and that was adequate for me.
Debugging R core
So let's take a small example with Debian R 3.4.0-1:
$ ../r-mini-repro-test.sh r-cran-tensor-1.5 123
[..]
* installing *source* package tensor ...
** package tensor successfully unpacked and MD5 sums checked
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (tensor)
[..]
c71a766429151a13e46039f3c37a14edc704004f410c34f8f37a2f098506421d ./debian/123/usr/lib/R/site-library/tensor/R/tensor.rdx
736b5b4a885db71fb3fe2a538faeefe43c500c4080dbf2c75b97135b98401acd ./debian/123/usr/lib/R/site-library/tensor/R/tensor.rdb
8a3f9616de7ee78a83b07395dd6ec43c5259d3f1b1b653d397808fc9fc5d96c2 ./debian/123/usr/lib/R/site-library/tensor/help/tensor.rdx
d1ac634987b24606a5da627ec073f45edce2bddf071391dd17c246a0a01eba63 ./debian/123/usr/lib/R/site-library/tensor/help/tensor.rdb
80796cc1a2cfcac40c394153f67617d575e103a405430b8483c2261a903db046 ./debian/123/usr/lib/R/site-library/tensor/help/paths.rds
$ ../r-mini-repro-test.sh r-cran-tensor-1.5 1234
[..]
5f081f4d6f9da1fbe06e374067e6636d926de4cdf09886058b15c5928c636c0d ./debian/1234/usr/lib/R/site-library/tensor/R/tensor.rdx
7145669891e1b766ca0d8d89fa9c317af716e61a62650abe3a11a848240f1d57 ./debian/1234/usr/lib/R/site-library/tensor/R/tensor.rdb
8a3f9616de7ee78a83b07395dd6ec43c5259d3f1b1b653d397808fc9fc5d96c2 ./debian/1234/usr/lib/R/site-library/tensor/help/tensor.rdx
d1ac634987b24606a5da627ec073f45edce2bddf071391dd17c246a0a01eba63 ./debian/1234/usr/lib/R/site-library/tensor/help/tensor.rdb
80796cc1a2cfcac40c394153f67617d575e103a405430b8483c2261a903db046 ./debian/1234/usr/lib/R/site-library/tensor/help/paths.rds
The files are created by the ** preparing package for lazy loading and **
help steps. In retrospect this seems somewhat obvious from the output, but I
had never done R before so I spent a while using strace to be sure; one can
see that those files are indeed written to after those strings are printed.
Then we can grep the R source code for these strings.
r-base-3.4.0$ grep -Ri "preparing package for lazy loading" src
src/library/tools/R/install.R: starsmsg(stars, "preparing package for lazy loading")
Reading the file, we see that this happens in the tools:::.install_packages
function, and reading it further we see that it calls makeLazyLoading then
code2LazyLoadDB then makeLazyLoadDB. Seems promising, let's confirm it
before chasing potential wild geese.
Important: In the rest of these command-line outputs I'll prepend what I
input with >>> but this doesn't actually get printed by Rscript. So don't
be surprised that you don't see these, when you're trying to recreate my steps.
Also I am a total R noob so possibly there are more elegant ways to do what I'm
about to show you; this is what I came up with after 2-3 hours of research.
$ DEBUG=1 ../r-mini-repro-test.sh r-cran-tensor-1.5 123
enter (some or all of) the following into R:
[.. helpful commands ..]
+ R_DEFAULT_PACKAGES= LC_COLLATE=C /usr/lib/R/bin/R --no-restore --slave --args nextArg-lnextArgdebian/123/usr/lib/R/site-librarynextArg-dnextArg.nextArg--built-timestamp="Thu, 01 Jan 1970 00:00:00 +0000"
>>> debug(tools:::makeLazyLoadDB)
>>> tools:::.install_packages()
processing .
[..]
** preparing package for lazy loading
debugging in: makeLazyLoadDB(ns, dbbase, compress = compress)
debug:
[.. source code of makeLazyLoadDB, not yet run ..]
OK so we just entered the function and it's paused, in a separate shell let's check what it's doing:
$ find r-cran-tensor-1.5 -name '*.rdb'
[ no output ]
So, no files have been written yet, which means none of the parent functions
did anything, we are in the right function (or it's in a child). If we continue
the function, we get:
>>> c
exiting from: makeLazyLoadDB(ns, dbbase, compress = compress)
** help
debugging in: makeLazyLoadDB(db, file.path(manOutDir, basename(outDir)))
debug:
[.. source code of makeLazyLoadDB, not yet run ..]
$ find r-cran-tensor-1.5 -name '*.rdb'
r-cran-tensor-1.5/debian/123/usr/lib/R/site-library/tensor/R/tensor.rdb
Then continuing again:
>>> c
exiting from: makeLazyLoadDB(db, file.path(manOutDir, basename(outDir)))
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (tensor)
$ find r-cran-tensor-1.5 -name '*.rdb'
r-cran-tensor-1.5/debian/123/usr/lib/R/site-library/tensor/help/tensor.rdb
r-cran-tensor-1.5/debian/123/usr/lib/R/site-library/tensor/R/tensor.rdb
So it seems likely this function is the correct one. After reading the source
code of makeLazyLoadDB, even though I don't understand the whole thing, it
looks like possibly this part is the one that does the actual writing:
for (i in seq_along(vars))
key <- if (is.null(from) is.environment(from))
lazyLoadDBinsertVariable(vars[i], from, datafile,
ascii, compress, envhook)
else lazyLoadDBinsertListElement(from, i, datafile, ascii,
compress, envhook)
assign(vars[i], key, envir = varenv)
So let's step through it and see if the data contains any paths.
$ DEBUG=1 ../r-mini-repro-test.sh r-cran-tensor-1.5 123
[..]
>>> debug(tools:::makeLazyLoadDB)
>>> tools:::.install_packages()
processing .
[..]
** preparing package for lazy loading
debugging in: makeLazyLoadDB(ns, dbbase, compress = compress)
debug:
[.. source code of makeLazyLoadDB, not yet run ..]
>>> # pressing <Enter> just means "step"
debug: ascii <- as.logical(ascii) # this is the first line of the function
>>> # keep stepping
[..]
>>>
debug: for (i in seq_along(vars))
[.. source code of the inside of the block, not yet run ..]
>>>
debug: key <- if (is.null(from) is.environment(from)) lazyLoadDBinsertVariable(vars[i],
from, datafile, ascii, compress, envhook) else lazyLoadDBinsertListElement(from,
i, datafile, ascii, compress, envhook)
>>>
debug: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,
envhook) # not yet run
If we look at the source code we see that it will try to insert the value of
.Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]] into the file, so let's evaluate it:
>>> .Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]]
function (x, y)
tensor(x, y, 2, 2)
<environment: namespace:tensor>
>>> typeof(.Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]])
[1] "closure"
>>> environment(.Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]]) # get the environment of a closure
<environment: namespace:tensor>
>>> envlist(environment(.Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]])) # environment as an envlist, more detailed output
$ %*t%
function (x, y)
tensor(x, y, 2, 2)
<environment: namespace:tensor>
$ %t*%
function (x, y)
tensor(x, y, 1, 1)
<environment: namespace:tensor>
$ %t*t%
function (x, y)
tensor(x, y, 1, 2)
<environment: namespace:tensor>
$.__NAMESPACE__.
<environment: 0x55eb55d00be0>
$.__S3MethodsTable__.
<environment: 0x55eb55d166e8>
$.packageName
[1] "tensor"
$tensor
function (A, B, alongA = integer(0), alongB = integer(0))
[.. function definition ..]
<environment: namespace:tensor>
Nothing obviously containing paths so far, let's keep stepping and dumping the objects
>>>
debug: assign(vars[i], key, envir = varenv)
>>> # next iteration now
debug: key <- if (is.null(from) is.environment(from)) lazyLoadDBinsertVariable(vars[i],
from, datafile, ascii, compress, envhook) else lazyLoadDBinsertListElement(from,
i, datafile, ascii, compress, envhook)
>>>
debug: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,
envhook)
>>> .Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]]
function (x, y)
tensor(x, y, 1, 1)
<environment: namespace:tensor>
>>>
[.. more stepping ..]
debug: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,
envhook)
>>> .Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]]
<environment: 0x55eb55d00be0>
>>> envlist(.Internal(getVarsFromFrame(vars[i], from, FALSE))[[1L]])
$S3methods
[,1] [,2] [,3]
$dynlibs
NULL
$exports
<environment: 0x55eb55d0a4f8>
$imports
$imports$base
[1] TRUE
$lazydata
<environment: 0x55eb55d0a178>
attr(,"name")
[1] "lazydata:tensor"
$path
[1] "/mystupidbuildpath/r-tests/r-cran-tensor-1.5/debian/123/usr/lib/R/site-library/tensor"
$spec
name version
"tensor" "1.5"
Oh, here we go. (In fact we could have got this earlier, it was part of the
.__NAMESPACE__. key of the first environment that we examined.) Naturally,
you'll sometimes miss stuff, and sometimes go down dead ends when doing
something like this, perseverence is important.
The names are also a hint, after grepping the R source code for names like
"S3methods" and "lazydata" we see that src/library/base/R/namespace.R is the
only one that contains all of them, then reading that code in more depth
reveals this.
After patching it, rebuilding r-base, installing this patched version, then
running our tests again, we see that we've eliminated differences in the main
rdb file but not the help rdb file.
In fact, after some more time stepping through the loop repeatedly and printing
out all the objects, nothing obvious shows up. Time to re-read the source code
of makeLazyLoadDB. We notice that all the lazyLoadDBinsert* functions have
a hook parameter that we haven't been stepping through because it's in a
separate function. So let's do that. Since it's an inner function, one has to
call debug() inside makeLazyLoadDB:
$ DEBUG=1 ../r-mini-repro-test.sh r-cran-tensor-1.5 123
[..]
>>> debug(tools:::makeLazyLoadDB)
>>> tools:::.install_packages()
processing .
[..]
** preparing package for lazy loading
debugging in: makeLazyLoadDB(ns, dbbase, compress = compress)
debug:
[.. source code of makeLazyLoadDB, not yet run ..]
>>> c
exiting from: makeLazyLoadDB(ns, dbbase, compress = compress)
** help
debugging in: makeLazyLoadDB(db, file.path(manOutDir, basename(outDir)))
debug:
[.. source code of makeLazyLoadDB, not yet run ..]
[.. stepping through the function ..]
debug: envhook <- function(e)
[.. function definition ..]
>>> # step next, to define that function
[.. next statement, we don't care about it ..]
>>> debug(envhook)
[.. then keep stepping through makeLazyLoadDB ..]
>>>
debug: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,
envhook)
[.. then keep stepping through makeLazyLoadDB ..]
debug: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress,
envhook)
[.. hook wasn't run for these previous iterations for some reason, but keep stepping ..]
[.. eventually we get ..]
debugging in: (function (e)
[.. function definition ..]
)(<environment>) # "(..)(<environment>)" is R's name for that function (actually a closure)
debug:
[.. source code, not yet run ..]
>>> e
/mystupidbuildpath/r-tests/r-cran-tensor-1.5/man/tensor.Rd
>>> typeof(e)
[1] "environment"
>>> envlist(e)
$Enc
[1] "UTF-8"
$encoding
[1] ""
$filename
[1] "/mystupidbuildpath/r-tests/r-cran-tensor-1.5/man/tensor.Rd"
$timestamp
[1] "2002-01-16 11:51:14 CET"
$wd
[1] "/mystupidbuildpath/r-tests/r-cran-tensor-1.5"
After doing the same thing as before, i.e. grepping the R source code for "Enc"
"timestamp" etc, we spot a few different places
that are setting the wd field.
Then after some experimenting, we find that overwriting this in a different
file (src/library/tools/R/parseRd.R) seems to work to get rid of this
irreproducibility. (This may not be the best; our exact strategy is still being
discussed with upstream, but at least we know which areas of the code are
responsible.)
Exercise for the reader to figure out how to get rid of the paths.rds
difference. After doing the previous two, this one is fairly easy.
These three issues allowed us to write a preliminary
patch that
enabled us to reproduce
r-cran-tensor.
$ ./r-mini-repro-test.sh r-cran-tensor-1.5 123
[..]
bca9de1351ab265475cf6f1af3f6aff49bde1d209e8fafb33954caa8d90f3462 ./debian/123/usr/lib/R/site-library/tensor/R/tensor.rdx
ac7fffeb751ffc2d13c5317704b19787a7078446d97d1c6f259c93f282e04cef ./debian/123/usr/lib/R/site-library/tensor/R/tensor.rdb
d989603340d1e8f14c35551ef379956653bf3b6e7b1868b4bf9a66d85820998e ./debian/123/usr/lib/R/site-library/tensor/help/tensor.rdx
30e543cda9f97c202dc9c0291933940dfe71b94d352f66d8ed6c035c1a722b41 ./debian/123/usr/lib/R/site-library/tensor/help/tensor.rdb
e9f78ba2cca39a6face1ed88fce4bb718d911d567d01db49bc00a3011720ac50 ./debian/123/usr/lib/R/site-library/tensor/help/paths.rds
$ ./r-mini-repro-test.sh r-cran-tensor-1.5 1234
[..]
bca9de1351ab265475cf6f1af3f6aff49bde1d209e8fafb33954caa8d90f3462 ./debian/1234/usr/lib/R/site-library/tensor/R/tensor.rdx
ac7fffeb751ffc2d13c5317704b19787a7078446d97d1c6f259c93f282e04cef ./debian/1234/usr/lib/R/site-library/tensor/R/tensor.rdb
d989603340d1e8f14c35551ef379956653bf3b6e7b1868b4bf9a66d85820998e ./debian/1234/usr/lib/R/site-library/tensor/help/tensor.rdx
30e543cda9f97c202dc9c0291933940dfe71b94d352f66d8ed6c035c1a722b41 ./debian/1234/usr/lib/R/site-library/tensor/help/tensor.rdb
e9f78ba2cca39a6face1ed88fce4bb718d911d567d01db49bc00a3011720ac50 ./debian/1234/usr/lib/R/site-library/tensor/help/paths.rds
$ ./r-mini-repro-test.sh r-cran-tensor 1234
[..]
bca9de1351ab265475cf6f1af3f6aff49bde1d209e8fafb33954caa8d90f3462 ./debian/1234/usr/lib/R/site-library/tensor/R/tensor.rdx
ac7fffeb751ffc2d13c5317704b19787a7078446d97d1c6f259c93f282e04cef ./debian/1234/usr/lib/R/site-library/tensor/R/tensor.rdb
d989603340d1e8f14c35551ef379956653bf3b6e7b1868b4bf9a66d85820998e ./debian/1234/usr/lib/R/site-library/tensor/help/tensor.rdx
30e543cda9f97c202dc9c0291933940dfe71b94d352f66d8ed6c035c1a722b41 ./debian/1234/usr/lib/R/site-library/tensor/help/tensor.rdb
e9f78ba2cca39a6face1ed88fce4bb718d911d567d01db49bc00a3011720ac50 ./debian/1234/usr/lib/R/site-library/tensor/help/paths.rds
Testing the patch
Of course r-cran-tensor is just 1 package, so then we tested this patch on all
478 tagged R
packages.
Before the patch, all of these were unreproducible. Now 463/478 are
reproducible, hurray!
The first version of the patch made 2 packages FTBFS ("fail to build from
source"), r-bioc-biobase and r-cran-shinybs; this was fixed
in a subsequent version of the patch. (Some other packages, r-cran-randomfields r-cran-randomfieldsutils, FTBFS even with an
unpatched r-base, due to differences between 3.3.3 and 3.4.0 (#861333),
and not because of our patch.)
Given the overwhelming proportion of packages that did reproduce, the other
14 packages that are still unreproducible, are quite probably due to issues in
those specific packages. Only 2 of these are certainly due to build-path
differences: r-cran-runit r-cran-rinside. This is because, we
currently see they are reproducible in Debian testing but not Debian unstable.
This is slightly misleading, the real reason is not testing vs unstable
directly; rather the fact that we (at the time of writing) use the same build
path when trying to reproduce Debian testing packages, and different paths for
unstable. The other 12 are unreproducible in both testing and unstable, so it
either suffers from a non-build-path issue as well as a build-path issue, or
only a non-build-path issue.
So, further investigation of each package is needed. This is where you can
help.
Debugging R packages
To investigate why (for example) r-cran-runit doesn't reproduce
despite our patches, we just do the above process again:
$ DEBUG=1 ../r-mini-repro-test.sh r-cran-runit
[..]
>>> debug(tools:::makeLazyLoadDB)
>>> tools:::.install_packages()
processing .
a directory
* build_help_types=
* DBG: 'R CMD INSTALL' now doing do_install()
* created lock directory /mystupidbuildpath/r-tests/r-cran-runit/debian/r-cran-runit/usr/lib/R/site-library/00LOCK-r-cran-runit
* installing *source* package RUnit ...
** package RUnit successfully unpacked and MD5 sums checked
** backing up earlier installation
** R
** inst
** preparing package for lazy loading
debugging in: makeLazyLoadDB(ns, dbbase, compress = compress)
debug:
[.. source code of makeLazyLoadDB ..]
We know our irreproducibility is with the help files and not the main package,
so c to skip this part:
>>> c
exiting from: makeLazyLoadDB(ns, dbbase, compress = compress)
** help
debugging in: makeLazyLoadDB(db, file.path(manOutDir, basename(outDir)))
debug:
[.. source code of makeLazyLoadDB ..]
Examine the "from" object, grep the output for our builddir
>>> from
$ RUnit-internal
[..]
$ RUnit-intro
[..]
[.. etc ..]
[..]
$checkFuncs
\title RUnit check [..]
[..]
For a simple example see the provided test cases in
/mystupidbuildpath/r-tests/r-cran-runit/debian/r-cran-runit/usr/lib/R/site-library/RUnit/examples/runitVirtualClassTest.r.
[..]
Found it, now we quit, patch the source code, and try again.
>>> Q
[..]
exit code 1
[.. hack hack hack ..]
$ ../r-mini-repro-test.sh r-cran-runit-0.4.31/ 123
[..]
01347305351a45bb88dab909c56942498e97f5edbe583cf6ab1327138914e315 ./debian/123/usr/lib/R/site-library/RUnit/R/RUnit.rdx
ecde40bdfac5b070acc30a0d5889d9d7f65418844d14312aceff6af5b9d0bf7a ./debian/123/usr/lib/R/site-library/RUnit/R/RUnit.rdb
182d38ac5adc160eb9edd40d5bd7e27b95b756b8f14cee7d912ba4745ae81bdc ./debian/123/usr/lib/R/site-library/RUnit/help/RUnit.rdx
f8a9f22acc9f937cb47a92f3979d619e83a791ad734796c2fcd9d0a34e1f11ca ./debian/123/usr/lib/R/site-library/RUnit/help/RUnit.rdb
5c37672fdc1f325b8a3846f4eafd2624b246ec70ce01d197134fa1b97a9ee849 ./debian/123/usr/lib/R/site-library/RUnit/help/paths.rds
$ ../r-mini-repro-test.sh r-cran-runit-0.4.31/ 1234
[..]
01347305351a45bb88dab909c56942498e97f5edbe583cf6ab1327138914e315 ./debian/1234/usr/lib/R/site-library/RUnit/R/RUnit.rdx
ecde40bdfac5b070acc30a0d5889d9d7f65418844d14312aceff6af5b9d0bf7a ./debian/1234/usr/lib/R/site-library/RUnit/R/RUnit.rdb
182d38ac5adc160eb9edd40d5bd7e27b95b756b8f14cee7d912ba4745ae81bdc ./debian/1234/usr/lib/R/site-library/RUnit/help/RUnit.rdx
f8a9f22acc9f937cb47a92f3979d619e83a791ad734796c2fcd9d0a34e1f11ca ./debian/1234/usr/lib/R/site-library/RUnit/help/RUnit.rdb
5c37672fdc1f325b8a3846f4eafd2624b246ec70ce01d197134fa1b97a9ee849 ./debian/1234/usr/lib/R/site-library/RUnit/help/paths.rds
Works! All finished.
If yours doesn't, just repeat the above loop; hopefully
eventually you'll get there.
TeleMini V3.0 Dual-deploy altimeter with telemetry now available
TeleMini v3.0 is an update to our original TeleMini v1.0 flight
computer. It is a miniature (1/2 inch by 1.7 inch) dual-deploy flight
computer with data logging and radio telemetry. Small enough to fit
comfortably in an 18mm tube, this powerful package does everything you
need on a single board:
I don't have anything in these images to show just how tiny this board
is but the spacing between the screw terminals is 2.54mm (0.1in), and the
whole board is only 13mm wide (1/2in).
This was a fun board to design. As you might guess from the version
number, we made a couple prototypes of a version 2 using the
same CC1111 SoC/radio part as version 1 but in the EasyMini form
factor (0.8 by 1.5 inches). Feed back from existing users indicated
that bigger wasn't better in this case, so we shelved that design.
With the availability of the STM32F042 ARM Cortex-M0 part in a 4mm
square package, I was able to pack that, the higher power CC1200 radio
part, a 512kB memory part and a beeper into the same space as the
original TeleMini version 1 board. There is USB on the board, but it's
only on some tiny holes, along with the cortex SWD debugging
connection. I may make some kind of jig to gain access to that for
configuration, data download and reprogramming.
For those interested in an even smaller option, you could remove
the screw terminals and battery connector and directly wire to the
board, and replace the beeper with a shorter version. You could even
cut the rear mounting holes off to make the board shorter; there are
no components in that part of the board.
The motor drive attaches to the camera using the tripod socket, a replacement tripod socket is provided on the base of plate. There s also a metal plate with the bottom of the hand grip attached to it held on to the base plate with a thumb screw. When this is released it gives access to the screw holding in the battery compartment which (very conveniently) takes 6 AA batteries. This also provides power to the camera body when attached.
On the back of the base of the camera there s a button with a red LED next to it which illuminates slightly when the button is pressed (it s visible in low light only). I m not 100% sure what this is for, I d have guessed a battery check if the light were easier to see.
On the top of the camera there is a hot shoe (with a plastic blanking plate, a nice touch), a mode selector and two buttons. The larger button on the front replicates the shutter release button on the body (which continues to function as well) while the smaller button to the rear of the camera controls the motor depending on the current state of the camera it cocks the shutter, winds the film and resets the mirror when it is locked up. The mode dial offers three modes: off, S and C. S and C appear to correspond to the S and C modes of the main camera, single and continuous mirror lockup shots.
Overall with this grip fitted and a prism attached the camera operates very similarly to a 35mm SLR in terms of film winding and so on. It is of course heavier (the whole setup weighs in at 2.5kg) but balanced very well and the grip is very comfortable to use.
Next.