efroymson

Friday, October 05, 2018

Published Academic Research is Worthless

An Economist and a friend are walking together.  They see a $100 bill on the ground.  The Economist looks at it, and keeps going.  The friend asks "why didn't you pick that up?", and the Economist replies "If it was a real $100 bill, someone else would have picked it up already".

That is a very old joke, and it is (I suppose) a reference to the Efficient Market Hypothesis.  The underlying economic principle however is no joke, and is, I suggest, generally applicable.  How can we apply it to determine the value of Published Academic Research? 

As it happens, the United States conducted a Natural Experiment in this area, between the years of 1976 and 1998 (end date approximate).  Before 1976 Copyright in this country was governed by Common Law.  The general rule was that creators own their work, but there was a large carve out, called Work for Hire, which granted employers ownership of creative work done by employees whilst on the clock.

There was an exception to the exception, for University Professors (and perhaps others). The Teachers Exception granted ownership of materials produced by Professors to the Professors themselves, even though they were working at a University when they created it.

The Experiment began with the 1976 Copyright act, which codified and replaced the Common Law rules.  In particular it codified the Work for Hire rule, without including a Teacher's Exception.  There is some question about whether Congress pondered long and hard, or even at all, before eliminating this rule, but there is really no question that the plain language of the Statute did eliminate it.

When the Congressional History is unclear, we must look to the plain language of the Statute

That is putatively a Canon of Statutory construction, though it may be the wrong way 'round.

In any case Congress in a sweeping gesture granted to each University in the United States ownership of the published work of every Academic working in that University.  What did the Universities do?

Nothing.


If Congress had granted them ownership of large swathes of valuable property, what would they have done?  Presumably they would, like any non-Economist who saw a $100 bill on the ground, pick it up.  On the other hand, if they were handed title to a vast expanse of burning tires, they might very well look the other way.

Now you could argue that Universities were loathe to annoy their Faculty by asserting ownership, and thereby overturning many years of precedent.  However there are about 5,300 colleges and universities in this country, and it is improbable that none of them would be willing to take that risk, if there was a payoff.

Indeed, if you are familiar with the approach of a University towards Patents issued to their faculty, the difference will be immediately obvious.  Spoiler alert: they aggressively assert ownership, and defend their legal rights to this valuable Intellectual Property.  As they should!

Quod Erat Demonstrandum


If you are interested in the legal history I set out, you should look at this excellent article from BYU.  It was the source of my legal summary above, though please don't blame them if I got it wrong.

If you are wondering why I would bother writing this up right now, you might look up "replication crisis", or read a bit about the latest hoaxing of an academic journal.

Finally, if you are wondering where 1998 came from, it is the year the DMCA was passed, which may have restored the Teacher's Exception, if you squint when you read it (see the BYU article for more).

Monday, February 05, 2018

KG6JCA

Several years ago, when I was living in the Bay Area, I got my Ham Radio license.  At that time I got a Yaesu VX-5 handheld, and would occasionally use it to hit the repeaters in the area.

After several years of  neglect, I got a Jeep this past fall, and decided that a mobile radio would be a good backup to my cell phone, especially because NM is a big state, and there are a lot of places without coverage.  The geography of NM is good for Ham radio though, since there are plenty of tall mountains here, which are not only pretty to look at, but make great places for an antenna.

I got an Icom 4100, for a couple of reasons.  I am not too embarrassed to admit that one of the reasons was that it is the only radio I could find that can actually be controlled by an iPhone app.   The app is easier than the somewhat small and cryptic control head, especially for D-star operation.  However, if you want to use the near repeater search function, you do have to work out the UI of the actual radio.  It is not so bad, once you realize that short press and long press do something different on several of the buttons.

There is one major annoyance about the radio, and that is that it does not do APRS.  Given that it has built in GPS, and a digital mode, it should have been trivial for Icom to add it, but they did not.  APRS has some features that are very handy, including position reporting, and even texting.  NM has an extensive APRS network, and I want to be able to use it from my radio.  Fortunately, I did figure out a way to do that, as I will detail in another post.

Finally, as you have perhaps guessed, KG6JCA is my call sign, and you might hear me on D-star or 2 meters sometime.

Saturday, December 09, 2017

Male Circumcision is a worthwhile public health measure.

Male Circumcision is a worthwhile public health measure. There is some argument over the relative value of it, but if your culture or religion suggests it, there is no reason not to perform one. You might hear some of the following myths about circumcision, which I have followed with the actual facts.


Myth: Circumcision reduces sexual pleasure
Fact: The best studies done on the subject have found no reduction in the ability to have enjoyable sexual relations, compared to uncircumcised men.
Myth: At a Bris, the Mohel performs circumcision without anesthetic
Fact: Traditional Jewish circumcisions use a very safe and effective method of reducing pain in infants. See: http://www.usamohel.com/anesthesia-for-a-bris and also this WebMD article

Myth: The CDC’s support for circumcision is due to pressure from religious advocacy groups.
Fact: There are substantial reasons to circumcise infants, many of which are detailed in this article: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5478224/#B6
The reasons include, reduced lifetime risk of Genital Cancer from HPV, and reduced risk of HIV infection. It is also worth noting that while other national medical associations do not evaluate the benefits as greater than the risks, there is no association anywhere, even in countries with very low rates of circumcision, that bans the procedure.

Myth: The CDC only recently added STD prevention as a reason, it is just a pretext.
Fact: As long ago as 1855 it was noticed that circumcision dramatically reduces the incidence of syphilis.  While Dr Hutchinson's mathematical methods have been criticized (not surprising since modern statistics wasn't invented until some years later), current research supports his findings: circumcision reduces risk of syphilis and chancroid.

Myth: Circumcision is unnecessary, regular washing gives the same benefits
Fact: As indicated by the articles linked just above, circumcision has substantial effects in reducing STD transmission.  While the use of a  condom is also an effective barrier to disease transmission, safe sex practices are not always followed by everyone, but a surgical solution will always be there.  Of course, if you do choose not to circumcise your son, you should be sure he is educated on proper care.  The HPV vaccine is probably also a good idea.

Myth: If you support Male Circumcision (MC) you have no right to criticize Female Genital Mutilation (FGM)
Fact: FGM covers a variety of practices, none of which have been found to provide any health benefits whatsoever.  Some FGM practices involve the removal of the clitoris, which is a highly sensitive organ, critical for sexual pleasure.  This is completely unlike MC, which has no effect on sexual pleasure (see Myth 1, above).

Disclaimer: I should not need to say this, but just in case, you should know that I am not a physician. I wrote this based on a fair amount of internet research, and that is it.  If you have any questions or concerns about your health,  or your child's health, you should consult a qualified medical practitioner.

Friday, August 18, 2017

From VR to 3D printing with Google Blocks

Oculus Rift + Google Blocks + 3D Printer

Workflow

There was some discussion that Google Blocks, which is sort of a 3d MacPaint if you will (or if you understand me, if you remember that far back, etc.) is not suitable for generating files to 3d Print.  In fact, it is relatively trivial.

Once you click the save icon in your scene, a folder with a randomly generated name will be created in the Blocks directory in your Documents directory.  Inside that folder you will find two files named Model ... one is a .gltf file and the other is a .obj file.

I use Slic3r to prepare 3d objects for printing, and have usually used .stl files (from OpenScad, not that it matters) but Slic3r is perfectly happy to open a .obj file as well.

I have only printed a couple of objects, but I can verify that it is doable.  If you are interested in trying it yourself, I will only make a couple of suggestions.  For the base of your object, if you want one, it is best to use the grid option in Blocks to be sure that the object you choose (I used a cube to start, then tweaked it to suit) is oriented such that it can be made to sit flat.  In Slic3r I found it necessary to do a 90º rotation around the X axis, after importing the object.

You may also find that the object starts out super tiny, and you need to enlarge it quite a bit before printing.  I have an object that looked reasonably large in the Virtual world, but I needed to enlarge it 30,000% and it still printed out small enough for me to hold in my hand and enclose in my fist (not comfortably though, there are a lot of corners from the cubes I built it with).  It was so tiny to start with that I could not see the grid that Slic3r generates to orient you.  The grid lines were further apart than the size of my screen ...

Why should I care?

I thought it was pretty cool, but maybe you feel differently?  Putting on a headset, entering a virtual world, using tracking devices in your hands to select and manipulate virtual tools, tools that enable you to construct complex shapes ... all that is cool enough.  However, to then take off the headset, run a few more tools, set up your printer, and in a few hours (or several hours, depending of course on the size of the model) you will have a real thing that is a pretty close copy of what you built virtually.  It certainly feels more like living in the 21st century than a lot of other things I do every day.

A small gripe

It bothers me a bit, as a certified Apple Fan Boy (though a somewhat disgruntled one), that I have to use hardware from Facebook (they bough Oculus of course), and software from Google, running on a Microsoft Operating system to do this.  I do run Slic3r on my MacBook Air (it sits near the the 3d printer, and the built in SD card reader is convenient) but it does seem Apple has some catching up to do, at least in this arena.

Two objects



Monday, June 26, 2017

Drummer from Another Mother -- Moog DFAM

Experience and Object

They say that it is better to buy experiences than objects, because they are more meaningful, and ultimately make you happier.  But what if you could buy an experience that granted you an object?  And what if that object in turn could enable you to create new experiences? How great would that be? This experience and object start with

Building

it, which is done in two four hour workshops.  A MoogFest Engineering pass gets you a VIP pass to the festival, and also access to the workshops during which you are able to put together an unreleased synthesizer.  Last year it was the Brother From Another Mother, to accompany Moog's commercially available Mother32 syntheisizer.  This year it was a Drum synth/sequencer, called the Drummer From Another Mother, or DFAM.

When I say put together, I should be more clear.  If you have done other DIY projects that include putting in resistors and capacitors, trimming leads, mounting sockets for Opamps and so on, this is not that.  The board is already populated with all electronic components, which is just as well, as there are a lot of them, all surface mount.

The work you do is soldering the jacks, switches, pots, and headers.  Then mounting the panel to the board, and affixing the various nuts, washers, and knobs.  It is not a tremendous amount of work, especially if you are handy with a soldering iron.  Even if you are not, as a couple people in my group were not, the staff on hand will help you through it.  Speaking of which, the 

Staff

were excellent.  I think they were all Moog employees.  Steve, who also designed the DFAM, took the leading role, demonstrating the device, going over the various features of it, and even at the end giving us a bit of a tour of the schematic.  He also told us about how it began years ago as a Word doc, which did not completely describe what became the DFAM, but did include several important bits, including a feature I love, the bipolar EG amount knobs for the VCO and VCF.  There were other folks who helped out at different times also, from bringing more solder when it was needed, to giving advice on the easiest way to get things mounted.

At the end of the workshop we all wired our DFAMs together to make a giant 20 strong electronic drum orchestra.  Steve coordinated us into different groups, I think I was a snare or a tam.  Anyway, the result was pretty spectacular.

I did not record that, but I have used the DFAM for a couple of

Recordings

including one created because my flight back from Durham was canceled.  I had the chance to work with it in an airport hotel a bit. since I had brought my laptop and an audio interface with me.  This is what I came up with: DFAM in NC.

Since adding it to my studio I have done a lot of recording with it, but I've only put one more thing online, this youtube video: DFAM and Vortex.  The Vortex by the way is a real thing, an effects box made by lexicon in the 90s.  I got mine super cheap from Music Go Round.  I think it was cheap in part because the previous owner had somehow managed to partially destroy the rack ears.  How is that even possible? Anyway, I have a sort of love for that device, it is so bizarre and the "morph" function is quite unusual.

I think between the two demos above, you can get some idea of what the machine is capable of, though I did not even scratch the surface of what you can do with some patch cables, and some other gear.  It definitely plays well with others. You can find a number of other videos online.

I could go on and on, I suppose but in 

Summary

I will just say that I booked an Engineer ticket for Moogfest 2018 within days of getting home.  Looking forward to another great festival, and another cool gadget.


Friday, December 16, 2016

Snobol4

I've been playing around a bit with SNOBOL.  I heard once that you should never bother learning a new programming unless it changes the way you think (oh here it is Perlis epigram 19):
  • 19: A language that doesn't affect the way you think about programming, is not worth knowing.

SNOBOL definitely changes the way you think.  It is based on pattern matching, and side effects that occur during matches, or attempted matches.  Blank space is not just significant (a la Python) it is an actual operator: concatenation.  SNOBOL has procedure definitions, and the procedures can be recursive, but it doesn't really have the notion of a procedure body.  You define the name, the arguments, local variables, and the entry point (all but the name are optional).

If you don't put a jump at the end of the definition then it will happily start executing the "body" of the code, and may give you an error, since of course the arguments will all be null, and you were maybe relying on something being there. 

There are no do or for or while loops, but every statement can have an unconditional or (up to two) conditional gotos appended.  Since there are no actual procedure bodies, you can have bits of code shared by multiple procedures (e.g. error returns).  There can be jumps from all over into that code, but of course RETURN will still return from the current procedure. Take that Dijkstra!

I/O is greatly simplified by the use of variables that can take their value from input, or which when set send their value to the output.  For example, Hello World looks like this:

 OUTPUT = 'Hello World'
end

I can't think of another language with that combination of very high level and very low level features, but when you realize that it dates from about 1969, it makes a a bit more sense.


What got me playing with it?  I recently picked up a copy of a book entitled "Programming Languages, A Grand Tour" (edited by Ellis Horowitz) at a Goodwill store in Albuquerque.  It is an anthology of articles on programming languages, from the early 80s.  Lots of great things in it, including the article by Backus in which introduced the phrase "Von Neumann bottleneck".

The first article in the book is by P. Wegner, titled "Programming Languages -- The First 25 Years" and contains a list of 30 milestones.  To give you some idea, M1 is the Von Neumann's EDVAC report, M5 is FORTRAN, M12 is LISP and M26 is Structured Programming.  SNOBOL is M13.  That reminded me I'd seen a book on SNOBOL at a friends house back in the 70s, and ....

Another point of interest in the book is an early paper on C. It mentions the disadvantages of having printf in a library rather than in the language.  Essentially the problem is that if you change the type of a variable you have to change the %d or what have you to match it, whereas if printf were in the language it could "know" the type, and adjust itself.  This was, I think, part of the motivation for adding cout to C++.  The (much newer) Go programming language fixes this by adding reflection, if I understand that correctly.  SNOBOL however had solved this long before: OUTPUT does something sensible with whatever value you provide it.

Wednesday, November 09, 2016

A #NeverTrump'er reacts to his election

Not that I tweet so often, but I did tweet against Trump several times, using the #NeverTrump hashtag.  Why?  I agreed with him that the country was going the wrong way.  Agreed that Obama had left large swathes of the country behind.  Agreed we need a change.  However, I wanted a Free Market Conservative.  Lower taxes, less regulation, less government intrusion in our daily lives.

Trump promised some of that, but mixed it with protectionism, cronyism, and a buffoonish manner.  When he promised something I don't like (Trade war) I believed him.  When he promised things I do like (Conservative Supreme Court appointments) I didn't believe him.

Like most people, as I watched the returns last night I was expecting to see a quick and painless victory for Hilary Clinton.  Well, maybe not painless ...

Instead, the map refused to turn blue.  Early on, a solid wall of red states went up the middle, symbolically dividing the country in two.  Then the red began to spread, first East, then West.  Ohio?  North Carolina?  Florida?  What was happening?

It seemed just and right that the red states all cohered, as if rebuking my interpretation of division. No, this is what the country is, they said.  Lonely Illinois and New York are the outliers, not us.  It got later and later, I repeatedly resolved to turn it off, but I could not.  Finally when Podesta told the Democrats in the Javits center to go home and get some sleep, I thought "good idea".

Except, I couldn't sleep.  It was clear Trump had won.  Was I happy?  I was happy that Clinton had lost.  I thought it would have been a terrible precedent for her to influence peddle her way into the White House.  The Clinton Global Initiative may have been entirely legal (though we will see) but it was ugly.  It stank.  To use a charity to launder millions of dollars of bribery is disgusting.  To get away with it? Worse.  To become President on the back of it?  Intolerable.

And the emails.  People say it like, you know, everyone has emails, sometimes you delete them, no biggie.  I disagreed.  Had lunch yesterday with a friend who served in the Navy.  Told me he'd spoken to other servicemen about her server, and the way she handled email.  They were disgusted.  Would have been crucified if they'd been as careless as that.

Have you seen “The Imitation Game”?  I've been reading the book it is based on.  “Alan Turing: The Enigma”, by Andrew Hodges.  No spoiler, this is not in the movie: the Germans were reading our codes.  In Bletchley Park, they were working like crazy to break the Naval Enigma to find out where the U-boats were.  The convoys would then be re-routed to avoid them.

Bletchley started seeing that messages were being sent to the subs redirecting them to the convoy’s new position.  Fortunately the allies were not as blind to the possibility of codes being broken as the Germans were, so we changed the weak convoy codes.  However, in the months before we did, the convoy losses were horrific.  Thousands died because of the laxity, the unwillingness to take information security seriously.

Now it is true, that while our nation is currently “at war” in a sense, this is hardly WWII.  On the other hand, the lost convoys sailed more than seventy years ago; these are lessons we should have learned then and never forgotten.  To neglect them is criminal.

So I was not sad she lost.


As for President Trump?  I am praying that he does a good job. What else can I do?