Do Modern Computers And Other Electronics Care if You Run Them on Non-Sine-Wave Power?

Many manufacturers of inverters for RV and mobile use sell “pure sine wave” models for use with computers. The power delivered by the power company uses sine waves, while cheaper inverters may emit square waves or “modified sine waves” which are a coarse stepped wave approximating the shape of a sine wave. There is nothing bad about sine waves. They run some AC motors more efficiently, and perhaps might feed old 60 Hz transformers better. And for Radio Amateurs the sine wave inverters might make less interference. But modern computers and other electronic devices use switching power supplies, which are indifferent of the shape or frequency of wave they’re fed. They will even run on DC! Our preconceptions about computers and electronics requiring sine wave power are probably based on the equipment of the 1980’s, like the original IBM PC.

Here’s an explanation for those who understand electronics.

60 Hz AC power is inefficient for use with transformers, because a large and heavy core is required to support the amount of magnetic flux without saturating. When a transformer saturates, the output at the secondary winding will not rise any farther in proportion to the input.

As the frequency rises, saturation is less of a problem. So, modern power supplies use a high frequency (above 20 KHz, so you won’t hear it) instead of 60 Hz, which allows them to use a small toroid core transformer made of ferrite rather than the large iron laminated core or much larger toroid they would need at 60 Hz.

Where do modern power supplies get a high frequency when 60 Hz power is coming out of the electrical outlet? They make it. The incoming power is rectified to DC. The power is then switched at a high frequency, creating square wave AC. That frequency is used to drive the transformer.

Because switching power supplies rectify the input AC and make their own high frequency AC, they are very tolerant of dirty power, and will run on DC or AC at a wide range of voltages and frequencies.

How to View the SpaceX Falcon 9 Return to Flight at Vandenberg Air Force Base

Copyright (C) 2016 Legal Engineering. All Rights Reserved.

SpaceX is going to launch Iridium satellites from Vandenberg Air Force Base, in Lompoc, California, near Santa Barbara, San Luis Obispo, Pismo Beach, and Solvang. The launch is expected to be in early January. You can view it from public streets or an official viewing spot on the base.

This launch will also include an attempted landing of the first stage on an unmanned barge, precisely positioned using 4 computer-steered motors, far offshore of Los Angeles where it’s probably impossible to see.

A day or so later, the barge will return to San Pedro California, hopefully with the huge first stage vertical in the middle of it, an impressive sight! You can view its entry to the harbor and some of the processing of the rocket from public streets and sidewalks.

Often, the Rocket Doesn’t Launch

Seeing a rocket launch is awesome, especially if you can get relatively close. Going to rocket launches, or attempting to view them can be tremendously frustrating and expensive. Often, the launch is scrubbed after you’ve traveled a long way and sacrificed one or more work days. Scrubbed launches can be scheduled for a week later, making it impractical for you to stay in the area until the launch. Attempts scheduled for the next day sometimes are rescheduled after you’ve made hotel arrangements for the evening, wasting your time and money. The weather doesn’t cooperate.

My record so far is about one successful viewing for every three attempts. If you are willing to invest that much inconvenience and time, here’s how you can view the next launch at Vandenberg.

How You Conduct Yourself Is Important

Vandenberg is a high-security area. Nuclear missile bases, spy satellites, missile defense radars and other classified things are there. It is the one polar-orbit space launch site for the whole country, and thus must stay operational for the security and defense of our country.

So, the concerns for the base are that you and the people around you are in danger from mundane risks as well as unusual ones, the security of the base could be violated, and the operational status of the base could be compromised. For example, wildfires at Vandenberg in 2016 brought down the country’s polar launch capability for two months.

In a situation like this, where there are real concerns and both the police and military will be present, the actions of one person can ruin things, permanently, for everyone else. We don’t want the police and the Air Force to close the streets we use as unofficial viewing spots, or stop opening their official viewing spots, and they’ll do just that if they feel that dangerous situations happened or even if they exceed their budget for managing people there.

At the last launch, there were just two police present to manage the roadblock at Ocean Avenue, and several hundred people parked their cars across the street from that point and viewed the launch on foot near their cars. We want those police to feel we’re no problem at all, just a bunch of nice science-oriented people behaving safely and having a great time. Similarly, soldiers dressed in camofluage (and big smiles) and civilian PR staff of the base showed up at the viewing point at Hawk’s Nest, where they generally host about 300 people with off-road parking and a porta potty. We want those folks to continue to operate that site for us.

So, please be on your best behavior:

  • Don’t try to sneak onto the base or any closed-off area. OK, that sounds like common sense, but these guys actually did it. Don’t be like them.
  • Don’t bring alcohol and drugs. About marijuana: Federal police and military police are there and they aren’t required to follow the California marijuana laws. Yes, I know so many people smoke it on the street in California. But not on or adjacent to a military base. Possession and use are still a felony on their books, and they can send you to jail for a long time.
  • Bringing your pets is not advised. The base is home to lots of wildlife that pets like to chase. If your pet runs on to the base, there’s no going after it. And pets do lots of damage to crops in farm fields.
  • When you encounter police, military, or base personnel, say hello, listen to what they have to say, and cooperate. In general, they will be super-nice in return (this is a public-relations event for the base), but if demands are unreasonable or something rubs you wrong, please cooperate with them and keep your feelings bottled up until you’re off of the site.
  • Be nice to the folks around you and avoid arguments or fights. If you have to deal with the inevitable jerk, back off and give up your spot rather than standing your ground. Your rights aren’t worth spoiling things for everyone. Don’t give the cops a reason to work.
  • Park off of the street, leaving all lanes clear for traffic. Fire trucks and various odd base vehicles will be coming through in both directions, besides the regular civilian traffic, and all lanes must be kept accessable in case there’s an emergency or the people on the base need to evacuate. The base is a high-risk zone for fires, and a problem with the rocket will result in the release of very toxic chemicals. Non-essential personnel will be ordered to evacuate the base if there’s a problem, and will be going right past where you are.
  • Don’t stand in the street, and look carefully before you walk across it.
  • Be responsible for your kids. Besides keeping them out of the street, etc., never allow them to enter farm fields. Crop damage costs farmers so much.
  • Be nice to other people’s kids. We want them to be interested in space and rockets! Invite the parent present and the kids to look through your binoculars, etc. Parents are generally happier if you approach them, rather than the kids, first, but once the ice is broken the kids will be full of questions.

Information Sources

To keep up with the launch schedule, which can change at any time, subscribe to Brian Webb’s excellent Launch Alert Newsletter. Brian’s a volunteer, be nice to him. SpaceFlightNow’s Launch Schedule will have advance information of launches, not just at Vandenberg but all over the world.

Note that launches are rescheduled very often and can slip half a year or more from their original schedule. You might reserve a room for a launch weeks or months in advance, but remember to watch if it’s been rescheduled and cancel your room before there’s a penalty.

When a launch is listed as “NET” with a date, that means “No Earlier Than” and you should not count on the date given. We joke that it means “Never the Estimated Time”.

To get real-time launch information on your phone, subscribe to @SpaceFlightNow on twitter. Generally this streams so much information that you will only want to turn it on the day before a launch. Cellular internet will be very bad near Vandenberg during a launch, if it works at all. Before you arrive at the launch viewing site, set up your phone to receive the SpaceFlightNow tweets via SMS using this information from Twitter.

If you have a scanner or Amateur Radio, you can receive the launch countdown net on 386.3 MHz – I don’t know if it’s AM or FM modulated (aeronautical use is generally AM). The transmitter is generally turned on shortly before the launch, so expect it to be silent when you arrive.

Launch Viewing Sites

You can see some of the various pads and potential viewing sites on this Google Map annoted by Dan Dascalescu. As I write this, Dan hasn’t marked the SpaceX launch pad at SLC-4 which will be used for this flight, so you can see it here. SpaceX also has a landing pad at SLC-4, here, but it can only be used when the payload and orbit leave enough fuel to return to the landing site.

Viewing From Ocean Avenue

The closest spot you can get to SLC-4, the pad used by SpaceX, is on Ocean Avenue just Southeast of 13th Street and Arguello Boulevard, here. Ocean Avenue will have a police or military roadblock at this point, so you won’t be able to go to Surf Beach or get any closer to the pads until after the launch.

Although it’s the closest you can get to the pad, Ocean Avenue is often a really bad place to view a launch. During much of the year, especially in Summer, the coastal fog will cover this location, making it impossible to view the launch. I’ve stood on Ocean Avenue for a SpaceX launch which I heard quite clearly, but I couldn’t see a thing! I was, however, able to see a ULA launch in November 2016 clearly from the same spot. From this point on Ocean Avenue, the top of the SLC-3 building used by ULA may be visible above the crest of a hill, and if a ULA rocket is on the pad you can see the nose cone from just the right spot, but not the rest of the rocket until it’s launched. But the SpaceX rocket at SLC-4 won’t be visible at all until after it has launched.

If you wish to view from Ocean Avenue, arrive early. The best parking spots will be snapped up quickly, and you might find that it’s too foggy and decide to go to another viewing point. Program your GPS for “5014 West Ocean Avenue Lompoc, CA”.

The photo below shows the distance and angle from SLC-4 from the Ocean Avenue location. It’s 3.88 miles away, almost directly to your left as you face down the road toward the ocean. If you can see the top of the SLC-3 building, the Falcon will be visible just to the right of that once it launches.

Distance and angle from Ocean Avenue near 13th Street to SLC-4.

Viewing From Hawk’s Nest

The base will probably open its official viewing location at Hawk’s Nest for the launch, and this will be announced on Launch Alert and other sources. The site is often equipped with a porta potty, and military and civilian base personnel are there to guide you. Hawk’s Nest is usually out of the fog when Ocean Avenue is socked in. The upper 2/3 of ULA rockets on SLC-3 are visible from this location. I’ve not yet been there for a SpaceX launch and don’t know what, if any, of SLC-4 is visible before the launch.

Hawk’s Nest is a former RV park for base personnel, now overgrown except for the parking lot and roads used for launch viewing. You can reach it on Highway One by programming your GPS for “Azalea Lane, Vandenberg Air Force Base, CA”, and here is a map photo.

Hawk’s nest is much farther away from the pad than Ocean Avenue, about 9.1 miles.  The last time I was there (for a ULA launch that scrubbed) nobody but me brought a telescope or a tripod-mounted binoculars, and I spent a lot of time showing kids (and adults) the rocket through my equipment. This site is far enough from the pad that you should really bring at least a pair of binoculars.

Distance and angle from Hawk’s Nest to SLC-4

A Caution Regarding Viewing From Farm Roads

Some people view the launch from dirt roads in Lompoc and other areas adjacent to farmer’s fields. Stay out of the farmer’s fields, and keep your kids and pets out of them! Those crops are a farmer’s whole livelyhood, and you can do significant financial damage to some farmer just by allowing your kids or pets to run around in the fields. Crop damage will get launch viewers a bad reputation in Lompoc, and will result in the police being called to disperse us or the roads being blocked for the launch.

Viewing from LA

If you are in LA for the launch and the weather is clear, try going to a beach with a northern view.

I’ve tried to view a launch from a street in LA. The result was that I missed all but one second of it due to obstructions, and afterward I could see that the contrail was across half of the sky! The rocket flies over water while it’s ascending, to prevent hazards to people on land. So the beach will be best.

Viewing Night Launches From A Distance

Some night launches can be seen from Lake Tahoe or even farther. The ULA launches which make use of solid rocket boosters are brightest. Brian’s viewing page has some information on that.

Viewing From On The Base

Nobody’s invited me to enter the base (despite the fact that I’d give them a great speech at their site in return☺), so I can’t speak from experience. But I’ve seen through my binoculars people who are admitted to the base climb up a hill near Ocean Avenue that gives them an unobstructed view. I’ve also heard that the causeway between North and South base is a good viewing spot.

Other Viewing Sites

It is also possible to view the launch from Harris Grade, a nearby ridge-top road, and mountaintop sites all of the way to LA. Brian Webb has some information here. I’ve not yet viewed a launch from these sites.

Someone asked if he could view from Hawaii. The Earth’s curvature will prevent that, the rocket is in or close to orbit by the time it could theoretically be seen just over the horizon in Hawaii. Hawaii folks can sometimes view launches from the base at Barking Sands, but they are infrequent.

Viewing From Offshore

The water offshore of Lompoc will be restricted during the launch. I don’t have the details of how close you could get.

Viewing From the Point Arguello Oil Platforms

The Point Arguello oil platforms might be good viewing spots for those who are invited to board, dependent on the coastal fog.

Viewing the First Stage Landing

If we ever get a return of the first stage to its landing site, the launch viewing sites at Ocean Avenue or Hawk’s Nest will be good to see it. Unfortunately, the rocket will go behind a hill from Ocean Avenue for the last seconds of descent. The rocket is going really fast on its way down and will in general not be visible until it lights off one of the descent burns. One or two descent burns could be visible, and only last a few seconds. Binoculars are called for, sharp eyes to acquire the rocket on its way down before aiming binoculars, and tons of luck.

The barge landing might happen about twice the distance of San Nicholas Island from LA, and in the same direction. You can get the approximate landing location from marine NAVAIDS issued before the flight to block certain areas from ship traffic, but they may close off a 100-mile-long patch of water..

There are folks who simulate the flight dynamics of the launch, and thus can forecast the landing site, I think you can find them at FlightClub. One such person is in the Reddit /r/spacex group as /u/TheVehicleDestroyer . Here is one of his videos.

SpaceX calls the barge an “Autonomous Spaceport Drone Ship” (“ASDS”) and has named it Just Read the Instructions (“JRTI”) in a nod to the “Culture” novels of science fiction author Iain Banks.

Viewing the Return to Port After The Landing

It will probably take the barge a whole day to get back to port.  You can use one of the marine vessel tracking sites to track two of the vessels accompanying the barge, NRC Quest and Intl Freedom, via their “AIS” radio transponders. For example, here is real-time tracking of NRC Quest on VesselFinder.


SpaceX uses the East Channel in San Pedro, across the street from the San Pedro marina, here. Don’t go to the Queen Mary, it’s on the opposite side of the harbor. The photo below shows the barge (Autonomous Spaceport Drone Ship) Just Read the Instructions (“JRTI”) and the ship NRC Quest, both at anchor. The tug Intl Freedom might be elsewhere for more mundane duties between SpaceX’s Vandenberg missions.

The SpaceX barge (autonomous spaceport drone ship) Just Read the Instructions and the ship NRC Quest, at anchor in the East Channel, San Pedro California.

As you can see, the SpaceX area in the channel is fenced off with a public street and sidewalk on the other side, and the San Pedro Marina with its public parking is right there. Program your GPS for “210 Whalers Walk, San Pedro, CA” and then find somewhere else to park if the marina lot is already full.

It’s possible to peek over the fence, there’s a guard there who is assigned to keep you from taking photos. You can walk to the end of the dock and watch for JRTI to return. The first stage atop the barge is really something to see!

After the barge docks, there will be several days of processing the rocket at the dock, and it should be visible over the fence during this time. An anchoring fixture is attached to the top of the rocket by men on a very tall cherry-picker, and the rocket is lifted from the barge by a crane and set on the dock, still standing up. The crane hook or guy wires remain attached to the top of the rocket to keep it safe from wind while the rocket is “safed” for transport by removing liquids and gases, detonators or explosives, batteries, etc. and pressurizing the fuel tanks (probably with nitrogen) to give them structural integrity during transport.  Finally, the rocket is set down on a special trailer. The trailer takes it to SpaceX in Hawthorne for servicing, and hopefully eventual reuse.

 

Viewing Military Launches

Launches of military payloads, such as the “NROL” missions of spy satellite launches for the National Reconnaissance Office, will not have the exact time of the launch announced. Less than a day before the expected launch, the base will announce a 6 hour window. If you are lucky, they launch in the first minute of the window, but there’s no telling. Don’t expect any of the usual public support activities to be operating for a military launch.

Viewing Equipment

A low-magnification telescope or a binoculars is the best equipment for viewing a launch. High magnification will actually look worse. Even from Ocean Avenue, the limiting factor on viewing will be heat shimmer in the atmosphere.

I got good results using Orion Resolux 15×70 binoculars, mounted on the Orion Paragon-Plus Binocular Mount and Tripod, from the Orion Telescope store in Cupertino, California. This gets rid of binocular shake, makes it easy and comfortable to use the binoculars for an extended period. It makes it really easy to pass the binoculars to people of different heights, as the parallelogram will move to their height while keeping the binoculars pointed in the same direction. This is about a $600 kit, including taxes, at this writing.

If you aren’t up to buying that, any old binoculars will be better than nothing.

What To Bring

Besides your viewing equipment, bring sunblock, bug spray, water, a snack, a lawn chair, and a book to read. It’s better to set up early and have some book time. If you’re on Ocean Avenue, bushes on the other side of the street are going to be the best option should you need to relieve yourself. Some hand cleaner might be nice to have.

Where to Stay

Since my family are generally at work and school during launches (and I own my company), I will come alone and won’t be looking for a fancy place to stay. The Motel 6 in Lompoc is usually about $50 when booked in advance, and you can generally find a 10%-off coupon online. I generally arrive in the evening the day before the launch. The cleaners really try hard and this inn has had a recent remodel, but Motel 6 is infamous for previous occupants leaving some hints of their presence. There’s also a derelict car in the parking lot that has been there for at least a year. There’s an extra charge for Internet service, and it doesn’t always work great even after you’ve paid for it.

Inn of Lompoc must have been nice once, but it’s a low-budget place now. IMO only stay there as a last resort. Read the reviews on the other budget places in Lompoc before you book, some of them get pretty bad notices. The nicer places are generally over $100.

If you want to be fancier, there are tons of places to stay in Solvang, Santa Barbara, San Luis Obispo, etc. Lots of things to do, too. Just be cognizant of how far you are from Lompoc and the launch, and make allowances for commute traffic. There is generally a commute on Highway 1 to/from Santa Barbara.

Eating

The local cuisine is Santa-Maria-Style Barbecue which is based on beef tri-tip, and you should have it once when you’re here. I stopped in at the Far Western Tavern and it wasn’t on the bar/lunch menu, but they made it for me anyway. You might want to try the Old San Luis BBQ Company. Perhaps locals will have better hints on where to get it. There are lots of good restaurants, whatever you’re eating.

Driving

Lompoc is a 4-5 hour drive from the San Francisco Bay area, and 2.5 hours from LA without traffic. If you are used to going from SF to LA on I-5, 101 and 1 are going to seem much slower.

Train

The Surf Amtrak Station is on the beach, about 15 miles from the town of Lompoc. There will be no taxis there, and I’ve never seen a bus.

The train will not run for some hours before a launch, and Surf Beach will be evacuated. Amtrak will run a bus bridge around Surf Station. Trains are allowed through soon after the launch.

It might be possible to view the launch by bringing your bicycle on the train and riding to the Ocean Avenue spot (which is a lot closer than central Lompoc), but you’d need to arrive several hours before the launch to avoid the train closure. Amtrak might be able to tell you the closing time.

The train, during the day, offers the best view of launch pads and other areas on the base that you can’t see any other way, although they will go by quickly.

Surf Beach

Surf beach is often cold windy and foggy, but it’s a nice place to have a walk before your long drive home. Access it by taking Ocean Avenue to the Surf Amtrak station.

The beach will be evacuated during a launch.

There is a protected nesting area for endangered Snowy Plovers at Surf, Wall, and Minuteman beaches. Rangers will be there to ticket violators who walk into the nesting area, from March 1 through September 30 . Nesting birds are so endangered that as few as 10 violations per month will result in total closure of the adjacent beach. This web page counts the tickets and shows how close the limit is to a number that would require beach closure, and may show scheduled beach closures for launches.

Base Tour

There is a monthly tour to the Space Missile and Heritage Center on the base, on the third Thursday of the month. A maximum of 30 people will be admitted, and you have to send your ID information no less than 10 days in advance in order to be checked out for admission to the base. Information is here.

Web Sites for Launch Viewers

SpaceFlightNow is a credible news site, and their Launch Schedule page is essential for launch viewing. It’s accurate and kept up to date. Their twitter feed @SpaceFlightNow is essential as a real-time source of launch information.

About the best online site for analysis of SpaceX stuff by technical folks is the Reddit /r/spacex group. It often has great information, is frequented by people who actually understand the math and physics and some who are rocketry professionals, and you can learn a lot about rockets and SpaceX in general. There are infrequent appearances by Elon Musk, ULA CEO Tory Bruno, and other notables.  It’s not perfect though – some things seem immature: The group tends to vote down any dissenting opinion, not just poor writing or bad conduct, which perhaps is a more general flaw in Reddit. They really drink the Elon Musk kool-aid sometimes, for example they seem to believe quite fervently in the Hyperloop. And the group are really egregious copyright infringers, in that they paste articles into Reddit from behind paywalls and the moderators don’t delete them.

There is also a SpaceX group on Facebook, which I don’t have personal experience with.

Amateur Radio for Launch Fans

There used to be a ham repeater linked network for viewing launches, Brian has a 10-year-old page on it. Someone told me that the base had asked the hams to desist, but I have no confirmation and it sounds somewhat unlikely. In general the government and FCC encourage hams to put space launches on the air, there are even special FCC rules to permit it.

Frequently Asked Questions

What is the white substance I see in satellite photos of the Lompoc area? I thought it was too warm to snow there?

The white substance is diatomaceous earth. It’s the  fossilized remains of diatoms, a type of hard-shelled algae. The land where it is found was once sea bottom. It is mined in Lompoc, and made into toothpaste, scouring powder, water filters, and many other things.

Write To Me

Errors and suggestions? Pre-launch party? Write to bruce at perens dot com.

Bruce Perens K6BP

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.

 

Bruce Perens speaks in Rio

On November 4th, Bruce Perens will speak about “Open Source and Open Hardware in Open Science and Innovation” invited by Ibict – Brazilian Institute of Information in Science and Technology – Post-Graduation and Research Coordination, in Rio de Janeiro.

(Before this, Bruce also participates in the first E-hall http://e-hal.org.br/, in São Paulo.)

Bruce´s visit to Brazil is funded by Ibict and UNESCO.

Open hardware is considered a key element for infrastructure building of Open Science and innovation as well as the so-called “collaborative economy.”.

Bruce Perens is known worldwide as one of the founders of the open-source initiative born from the free software movement which emerged in the US in the mid-1980s. Bruce is also one of the pioneers of the free and open hardware movement, which distributes designs for electronic devices and physical objects in a form that others can service, duplicate and improve without royalties or fees. Bruce is an expert on Open Source and Open Hardware licensing, and operates a consultancy, Legal Engineering, which repairs copyright infringement and helps engineers and attorneys to work together. He is also CEO of Algoram, which is producing a software-defined radio.

I’m Endorsing Hillary

Bernie lost the primary and has endorsed Hillary, for perfectly sensible reasons: Trump is little more than a source of demagogic rage and must be stopped.

Thus, I endorse Hillary Clinton for president.

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.)

I’m Endorsing Bernie Sanders, Because of What I’ve Learned From Open Source

I’ve been involved in Open Source software long before we used that name for it. My first Open Source program was published in the 1980’s. One of the things that should be clear to everyone by now is that Open Source has been tremendously good for industry, and has made it possible for many businesses to come into existence. To give an example of big profitable companies that everyone knows, Google and Amazon are built upon a foundation of Open Source software.

There is a lesson in this. Open Source software is about sharing, and Open Source licensing is about fairness. We’ve built a commons that is a great benefit to capitalism.

Capitalism, it turns out, works better when it isn’t taken to such great extremes that there is little commons. We’re finding out that some things just work better in the commons than otherwise.  Sometimes it is that the power of sharing can get more done, better, than any one company holding their work close. And of course there are many things that are worth doing, but will never produce a profit. This is not new, of course, but it’s been ignored for a century in the United States.

Fairness is important, too. The playing field of capitalism can be distorted to the point of unfairness by its largest players. Citizens United is one example – allowing infinite money into politics inevitably distorts politics in favor of a very few people who hold the money. We need to maintain laws and markets that are fair to everyone.

Bernie Sanders describes himself as a socialist, but he’s also a realist. He’s effectively represented the people who voted for him, even on issues where their desires weren’t the ones you’d expect of the left wing. He stands for some things that I think are important for our nation right now: fairness for all people and a roll-back of some of the most distorting excesses of capitalism. It’s time for that.

It looks like the Republicans have succumbed to a cavorting pursuit of draconian policies designed to produce shocking sound-bites and news headlines. It’s up to the Democrats to provide a candidate who can carry the country forward, enacting change without the lunacy. Sanders is that candidate.

Bruce Perens

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.