Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Open Cars – Accepted by Berkeley Technology Law Journal

Professor Lothar Determann of Berkeley Law (better known as Boalt Hall) and I have collaborated on a paper on Open Cars. “Open” this time means Open Standards, Open Interfaces, and an Open Aftermarket.  If you buy a BMW, will the autonomous driving computer always be from BMW, or can they be aftermarket devices that connect through Open Standards, creating a competitive market? And there’s lots of other discussion of the implications of autonomous vehicles and how things will change as automobiles become more computerized.

This is exciting for me, as it’s my first formally published law paper, and of course I’m not a lawyer. As an Open Source evangelist, computer programmer, and intellectual property specialist, I’ve spoken at several law conferences, and have even keynoted a few, but  haven’t submitted a paper before.

It was accepted by the Berkeley Technology Law Journal, which I hear is about the best tech law journal around, with a unanimous vote to accept by the editorial board, for publication in the Summer 2017 edition. A pre-publication version is available for download below. Your comments can help to improve the paper before it’s edited, write to bruce at perens dot com.

Today was exciting because Lothar and I presented a talk on the paper at Boalt Hall, where I’ve spoken a few times but never to this large an audience or with a catered lunch.

The discussion includes Open Source as one of a range of possibilities for Open Car software, but Open Source doesn’t dominate this paper.

Download: Open Cars Determann & Perens 32 BTLJ 2 [Forthcoming 2017]

I Viewed the WorldView 4 Launch at Vandenberg

WorldView 4 Launch at Vandenberg
WorldView 4 Launch at Vandenberg. Click for the 4000×6000 version.

I went to Vandenberg to see the WorldView 4 Launch on a ULA Atlas 4. This photo is from Ocean Avenue in Lompoc, about 2.8 miles from Pad 3. Taken with a Sony a6000 camera with Sony E 55-210mm F4.5-6.3 OSS lens, at 210mm. The 35mm equivalent focal length is 315mm.

I have now gone to 6 launch viewing attempts near the rocket, and two distant attempts to view a Vandenberg launch, from a street in LA and from the Lawrence Hall of Science in Berkeley. Of those, I saw the Falcon 9 DISCOVR launch at Cape Canaveral after being there for one scrub, I heard and did not see the Falcon 9 JASON-3 launch at Vandenberg from Ocean Avenue in the summer – too much fog. I caught a one second glimpse of a rocket in flight from LA. And now WorldView 4. I’ve been to the first attempt to launch this rocket months ago before the Vandenberg fires, a scrub of a launch at Cape Canaveral, and a scrub of another ULA launch at Vandenberg. So, this is the second launch viewing attempt to actually work out, and viewing launches can be really disappointing.

When I viewed the DISCOVR launch in Florida, it was clear enough to see the stage separation with the naked eye. At Vandenberg, there were high clouds. I was able to see a lot of the ascent using Orion Resolux 15×70 binoculars on a pantograph mount, but not the stage separation.

About the 1-second glimpse of a ULA rocket in flight from a street in LA, I saw it just as the stage separation happened. I missed a lot of that due to having houses in the way and looking in the wrong place. I could see the contrail over half of the sky afterward, so I missed a lot. It looks like you can get a good view of Vandenberg launches from the beach in LA when the weather is right and you know where to look. On a street with lots of obstruction, it’s a lot harder to catch.

 

Installing the Native Debian “armhf” Architecture on Raspberry Pi 3 Instead of Raspbian

I’m building a product for Algoram with a Raspberry Pi 3 as the embedded processor. In doing so, I wanted to have a path to a clean and current distribution with as little non-free content as possible. Raspbian, the Debian version run on Raspberry Pi up until now, was created because the Pi had an odd floating point format that wasn’t supported by Debian “armhf”. That is not the case with Pi 3, it works fine with “armhf”. And Raspbian has some other issues: not all packages were built, and it’s somewhat out-of-date compared to Debian 8.4 . So, I decided to put native Debian on the platform instead of Raspbian.

What follows contains a lot of copying of files that should be replaced with .deb packages in a special supplementary archive which is installed along with Native Debian. Run this from the March 18 Raspbian image:

# Manually create an ext4 partition for the Debian system, and mount it on /mnt
apt-get install debootstrap
mount /dev/mmcblk0p3 /mnt
debootstrap --arch=armhf jessie /mnt
cp -ar /lib/modules /mnt/lib
cp -ar /lib/firmware /mnt/lib
cp /etc/fstab /mnt/etc/fstab
# Manually edit /mnt/etc/fstab to mount the proper root partition.
chroot /mnt
mount -t proc proc /proc
apt-get update
apt-get install openssh-server wireless-tools build-essential bluez aptitude bluetooth bluez-hcidump exfat-fuse exfat-utils locales ntpdate fake-hwclock udisks2 wpasupplicant hostapd network-manager dnsmasq rfkill linux-wlan-ng libncurses5-dev bc git
# Manually add a user and set their password, replace $USER below.
adduser $USER
passwd root

If you want to use the serial console, for example if you plan to replace the kernel and need to see its output while booting, you should also edit /boot/config.txt to add this as the last line:

dtoverlay=pi3-miniuart-bt

That will move /dev/ttyAMA0 to the serial0 alias and I/O pins 14 and 15 instead of /dev/ttyS0. On Pi 3, /dev/ttyS0 is a “mini-uart” which does not have its own clock generator. It goes off of its normal baud rate due to the dynamic clock frequency of the CPU. A side-effect of this is that Bluetooth is disabled, because /dev/ttyAMA0 was dedicated to the Bluetooth HCI (Host-Controller Interface) on Pi 3. A Bluetooth USB dongle is probably the best solution.

What doesn’t work:

Graphics, the display, the HDMI port.
Bluetooth.

What we need to do next:

Create a supplementary Debian repository for this work.

Bring over packages for firmware (put it in non-free) kernel, free libraries, pi-specific-bluetooth, and utilities.

Get the upstream 4.6 kernel running.

Get the Open Source OpenGL driver running.

Move over the uboot that someone recently got working.

Don’t attempt to get Debian to accept it at this time, make the whole thing work first and then once it’s stable ask some nice DD to move it over.  I don’t have time to be a DD again.

Ambitious stuff I won’t be able to do right away unless others want to help:

Take the documentation that Broadcom released on the GPU and a little reverse-engineering, and write a replacement for bootcode.bin that minimally boots uboot on the ARM without doing anything about graphics. Release as Free Software.

Figure out how to load the Broadcom graphics kernel in the same way that Linux loads the rest of its firmware from /lib/firmware .

Profit! (No really, I have a hardware product to sell.)

Licensing Code Fragments in Your Blog – It Really Does Matter

I help some big companies stay on top of Open Source compliance. Last week, a customer found a code fragment that had originated in a blog, in the documentation-writing product of a very big software company that is concerned with documents and graphics. The file was meant to be re-distributed with documents my customer produced. The entirety of the blog was licensed underCreative Commons Attribution Share-Alike. The big software company’s code wasn’t under any sort of share-alike license, and thus they were probably infringing on the blog author, and my customer was at risk of being a contributory infringer when it re-distributed this file.

We contacted the help desk of the big software company, and they might get back to us someday. Before getting louder with them, I contacted the blogger.

Bloggers have placed their work under Attribution Share-Alike and other restrictive licenses to prevent their work from being cloned improperly by unscrupulous people on the net, mostly search-engine-optimization scams. The Attribution Share-Alike license requires proper attribution of the author, and sharing of modifications under the same terms as the original. But like many of us, this blogger put code fragments in his writing, and intended for his readers to use them. CC Attribution Share-Alike isn’t the right license for that purpose. It’s not compatible with proprietary code, nor is it compatible with other share-alike licenses like the GPL.

The blogger admitted that it was tempting to get the big software company to take a look at its own compliance issues, but then graciously agreed to change his blog’s licensing. Now, it’s CC Attribution Share-Alike for the text, and the MIT license for the code fragments. And his readers can use the code fragments he publishes without worry, as the MIT license is compatible with pretty much everything.

Public domain or the BSD license would have worked as well. Remember that the default in copyright law is All Rights Reserved. If you don’t put a public domain declaration or some sort of license on your code, other folks don’t really have the legal right to use it at all.

Hopefully, other bloggers will see this and make sure their code fragments are licensed appropriately. Also, programmers should be careful to make sure that they have the right to use code, even if they’re just pulling a dozen lines off of someone’s blog. It’s not at all clear that the fair use doctrine always applies to such use, make sure you have a license and attribute your copy properly.

The Empathy Gap, and Why Women are Treated Badly in Open Source Communities

There are many stories of horrendous treatment of women in Open Source communities. Many projects are attempting to address the issue by instituting social codes and diversity policies. Yes, we really do need such things.

Some years ago, I contributed $1000 to be one of the seed funders of the Ada Initiative, which worked to assist women in participating in Open Source projects. That worked out for several years, and the organization had sort of an ugly meltdown in their last year that is best forgotten. There was something really admirable about the Ada Initiative in its good days, which is that it stuck to one message, stuck to the positive in helping women enter and continue in communities in which they were under-represented, and wasn’t anti-male. That’s the way we should do it.

People continue to work on women’s and diversity issues in the Open Source community in that tradition. Support them! But I remain interested in something they are not addressing:

How Did We Get Here??? How did we ever get to the point that a vocal minority of males in Open Source communities behave in the most boorish, misogynistic, objectifying manner toward women?

My theory is that in preschool through high school, we didn’t teach those individuals how to have healthy friendships and mutually respectful social interaction with women, and that they ended up having very little empathy for women. If the school environment didn’t actively segregate boys and girls, they naturally self-segregated and that wasn’t corrected. And we ended up with another generation of boys who hadn’t spent that much time around girl peers, didn’t understand them, didn’t have empathy for them. Later, when sexual attraction became a factor, the boys lack of empathy led them to objectify women.

It’s unfortunately the case that software development in general and Open Source communities are frequented by males who have social development issues. I once complained online about how offended I was by a news story that said many software developers were on the autism spectrum. To my embarrassment, there were many replies to my complaint by people who wrote “no, I really am on the spectrum and I’m not alone here”.

Why is software a comfortable world for people with social development issues? The world of social relationships isn’t a fair one. People like you or not for reasons of their own. In contrast, software development is inherently fair. If you write it correctly, your program runs. Otherwise, it doesn’t. Your computer doesn’t get offended if you don’t state your message well. It doesn’t hold a grudge. It just waits until you write it correctly.

Online communities like those hosting Open Source developers tend to use textual communications. This is a comfortable environment for people who have trouble with face-to-face interaction.

So, we have an environment that attracts people with social development issues that might lead them to have a lack of empathy toward women, and we have some males who don’t have a pathology but weren’t properly socialized regarding their interaction with women.

This isn’t only a women’s problem. Back in the 1950’s and 1960’s, the United States started to address the problem that White people didn’t grow up with much empathy for Black people because so many White people didn’t grow up with any Blacks around them who were peers rather than servants. So we integrated the schools. I was in Junior High  when we started “busing”, and there was so much resistance to integration that we evacuated for a bomb scare sometime during each school day. There is still a strong “segregationist South” political block within the United States, it’s a factor in every national election.

But school integration has addressed the issue of White people who simply grew up without any Black peers. We didn’t solve the problem of racial inequality but we did make progress.

Are we, as a society, paying as much attention to integrating male and female students throughout their preschool to 12th-grade years? Do we really do much to teach social maturity at all? Do we prevent males and females from naturally self-segregating whenever they have a chance in the school environment?

It’s still an open issue whether males and females have built-in biases that, for example, lead fewer women to be programmers, or if such biases only develop as a response to social signals. There is more science to be done. But it’s difficult to do that sort of science because we can’t separate the individuals from the social signals they’ve grown up with. Certainly we can improve the situation for the women who would be programmers except for the social signals.

Does your school district have the first policy regarding male and female integration and defeating self-segregation wherever it occurs? Can we, by implementing and following one, arrive at a generation with better social development and fewer anti-female biases?

Some feminists object to this idea, because they feel I’m saying that women’s safe spaces are the problem. A “women’s safe space” is a supportive environment where women can be together with other women separately from men, without the social conflict and intimidation that the presence of men (at least the misogynistic kind) would bring. Apparently, there are womens safe spaces at some software conferences, etc.

Women’s safe spaces are a symptom, and by the time we need them it might be too late to treat the disease, misogynistic behavior that develops in males in the preschool to 12th-grade years.

To prevent that disease, we can’t always put women in safe spaces, just as we can’t always put the Blacks and Whites in schools across town from each other if they are to live together as equals.

We can do so much with social codes, and that must be done because solving the real problem takes generations. We’ll only be able to solve that problem if we work today, with our children, to close the empathy gap.