Wednesday, January 22, 2020

Setup of Sonatype Nexus Repository Manager on Synology

This took me a while to find.  Hoping to spare you that time, I thought I'd share.

If you are installing the Sonatype Nexus Repository Manager on a Synology device running Docker, you'll note that you need to explore the container filesystem in order to locate a file named "admin.password" in order to log into the application as administrator and complete setup.

Getting to this file on the Synology is not particularly straightforward.

Also, the hints Sonatype provides for the file location is not correct, at least in my instance which is "Sonatype Nexus Repository Manager OSS 3.20.0-04".

To find the file:

  1. Establish an SSH connection to your Synology unit.
  2. Elevate your permissions using Sudo.
  3. Assuming your Docker instance is installed on volume1, change directories to /volume1/@docker/volumes
  4. You may see one or more subdirectories here.  I only had one, and the directory name is a long GUID.  Change to this directory.
  5. Notice that the important file named "admin.password" is located here, not where they tell you.
  6. use the command "cat admin.password" to list out the contents of the file.  The password will be quite long.
  7. Go back to your browser and log into your Sonatype instance using this password.
  8. Enjoy.
If any of this is unclear let me know and I will provide more instructions.

Thursday, July 06, 2017

Is Blogger still a thing?

Wow, it's been a long time since I've posted anything here.  I suppose it's because I got involved with Google+, but also I've been busy starting up a robotics company in my spare time.

Tomorrow, 7/7/17, at 7am, I'm finally putting my first product, Simula, officially up for sale at http://www.ChicagoRobotics.net.  It's been a remarkable amount of work getting to this point, and I loved every minute of it.  I had to teach myself robotics from the ground up, including circuit design, 3D modelling, circuit board manufacture, behavior tree development... man when I look back at all that it really looks daunting.  It's a good thing I was too stupid to come to my senses and stop myself, because it's not really rational.

Well anyway, I'm back, and I'll be posting more.  I'm just wondering if Blogger is the right place these days... fortunately I'm all wired up with Google Analytics so I'll be able to figure out where exactly is the new hotness.

Here is a video that describes Simula:


Wednesday, January 28, 2015

Projects & Snow globes

Project teams are like snow globes; they function best after a good shake-up.


Tuesday, December 09, 2014

Eagle PCB to Autodesk Inventor - how to do it

This is mostly a note to myself, but I thought I'd share it in case it helps somebody.

To get an Eagle PCB board outline & drills into Inventor, you use the DXF export utility in Eagle.

Before exporting, make sure Eagle is only displaying the following layers, assuming you're using the default layer setup:
17 - Pads
20 - Dimension
44 - Drills
45 - Holes
46 - Milling

(Note, you might want to select additional layers, but I'd start with these first, because Inventor chokes on more.)

Next, click File/Export/DXF and save your file someplace.  I stick them in a sub-folder of my Eagle project named "Export".

Now go to Inventor and open the DXF file.  An import routine will be triggered, use these values:

Selective Import, layers 20 and 44.  Look at the drawing to confirm you're getting what you want.

Check - Wires
Specify units - mm (if that's what you used in Eagle)
Check - Constrain End Points and Apply Geometric Constraints
Select "New Part - Project wires to 2D sketch"
Mapping options - Check "Map all layers ... single sketch"

Click Finish.

Tada!  There is your board as an Eagle sketch, properly sized, ready for extrusion.

Now, you might ask, "Why are you displaying those layers in Eagle for the export, but then ignoring them in Inventor?"  The answer - it looks like Eagle has a bug.  Without enabling all those layers, the drills don't come across.  At all.  Frustrating, but surmountable.

Also... if you're getting your boards made by OSHPark.com, then you can go ahead and extrude the board at 1.8mm in thickness.  This is the same value for both 2 and 4 layer boards.

Monday, September 02, 2013

Meshbot 2 chassis design released

I published "Meshbot 2" my second 3D printed robot chassis design on Thingiverse, you can check it out here.


Tuesday, August 06, 2013

So many grindstones, so little nose

I'm so thankful that I get to do the kind of work I do.  Writing software is a blast!

Saturday, July 06, 2013

Human evolution - Selfishness vs. Altruism

Just read a great article:

http://www.economicpopulist.org/content/human-nature-needs-be-back-business?google_editors_picks=true

In it, there is a nice quote from Darwin.  This side of Darwin's thinking was ignored by his robber-baron lauding "social Darwinist" contemporaries:

An advancement in the standard of morality will certainly give an immense advantage to one tribe over another. A tribe including many members who, from possessing in a high degree the spirit of patriotism, fidelity, obedience, courage and sympathy, were always ready to aid one another, and to sacrifice themselves for the common good, would be victorious over most other tribes; and this would be natural selection.

This perspective was not ignored by Kropotkin:

http://en.wikipedia.org/wiki/Peter_Kropotkin#Cooperation_and_competition

Kropotkin was misunderstood and belittled by his western contemporaries, as Gould describes in this great article:

http://www.marxists.org/subject/science/essays/kropotkin.htm

Friday, June 07, 2013

Please make the Patriot Act go away

U.S. intel chief blasts leaks on web, phone use tracking - CBS News: "I'm angry, and I was the one that wrote the law. And I think that the Justice Department and the NSA have abused this by going to far," said Rep. Jim Sensenbrenner, R-Wisc., who helped craft the Patriot Act.


I would just like to say to Rep. Sensenbrenner, what exactly did you think was going to happen?  Have you not read enough history to know where these things inevitably go?  The Patriot Act was, at best, naive.  At worst, it's an unfettered invasion of privacy reminiscent of Hitler's "Enabling Act" or the actions taken by Joseph McCarthy (Sen. R-Wisc) during the Second Red Scare.

Tuesday, April 09, 2013

Friday, January 04, 2013

Wednesday, October 10, 2012

Toyota recall reminds me of biodiversity issues

The article in question makes a point: "The massive size of the newly announced recall underscores the risks manufacturers like Toyota face when they share basic components on a wide range of vehicles hoping to improve manufacturing economies of scale."

This is the same issue farmers face when choosing to grow a single type of crop, and the world faces as we trample individual cultures.  It's an interesting problem, because you can't argue with the profitability of such decisions, but you need to be wary of the unintended consequences.

The article:
Toyota to hold world's biggest car recall for 16 years - Bottom Line


This also makes me think of the book I'm reading, 1491 by Charles Mann.  In it, Mann describes how the original Americans not only engineered corn from the original plant teosinte, but developed a method of farming called a "milpa" which is essentially the exact opposite approach, in agriculture, of that taken by Toyota in sharing a single part across multiple models. 

Wikipedia quotes Mann:
"A milpa is a field, usually but not always recently cleared, in which farmers plant a dozen crops at once including maize, avocados, multiple varieties of squash and bean, melon, tomatoes, chilis, sweet potato, jícama, amaranth, and mucana.... Milpa crops are nutritionally and environmentally complementary. Maize lacks the amino acids lysine and tryptophan, which the body needs to make proteins and niacin;.... Beans have both lysine and tryptophan.... Squashes, for their part, provide an array of vitamins; avocados, fats. The milpa, in the estimation of H. Garrison Wilkes, a maize researcher at the University of Massachusetts in Boston, "is one of the most successful human inventions ever created."

The point here is that Toyota receives the intended benefit of reduced cost and a simplified supply chain through standardizing on a particular part across models and product lines, but it receives the unintended consequence of increased exposure in the event of part failure, and also increased exposure to supply company failure if it decided to source the part from a single manufacturer.

Had Toyota selected a milpa-like approach on the part, such as sourcing multiple variants of the part, and sourcing those parts from multiple suppliers (to be fair I think Toyota spreads supplier risk already) then complexity is certainly increased, but risk is reduced, and one can imagine a host of other unintended benefits.

Wednesday, October 03, 2012

Intelligence effort improperly collected information about citizens, not terrorists | Lubbock Online | Lubbock Avalanche-Journal

This is just wrong, and it needs to be fixed.  I'm glad to hear the program is on the chopping block.

Intelligence effort improperly collected information about citizens, not terrorists | Lubbock Online | Lubbock Avalanche-Journal: One fusion center cited in the Senate investigation wrote a report about a Muslim community group's list of book recommendations. Others discussed American citizens speaking at mosques or talking to Muslim groups about parenting.

No evidence of criminal activity was contained in those reports. The government did not circulate them, but it kept them on government computers. The federal government is prohibited from storing information about First Amendment activities not related to crimes.

Saturday, March 24, 2012

Understanding people based on email address

As much as we try to avoid it, we all quickly summarize the people around us based on small bits of information.  Nobody said it was fair, but we judge people based on dialect, race, clothing, posture, and even walking gait.  Because I work in technology, I thought I would share some of my admittedly unfair biases based on email address.

These are currently in no particular order, and I expect to update this post several times as I think through this issue.

  • Me.com or Apple.com
    • Didn't fully use the internet until they bought an iPhone.
    • Loves to hate Microsoft products.
    • Brings out phone to show pictures of children, food, or recent vacation shots in an aggressive, unpleasant manner.
    • Will freak out when MobileMe shuts down in June, 2012.
    • Thinks the term "App" means something specifically about iPhone.
    • Believes Steve Jobs was an inventor/scientist.
  • AOL.com
    • Old person.
    • Probably does not know what a scroll bar is.
    • Thinks PowerPoint users are technology geniuses.
    • Externalizes internet problems.
    • Believes that prior to retirement, Bill Gates knew when they opened an email.
    • Frequent Facebook poster, uses "post to board" instead of "private message" causing everyone embarrassment.
  • Comcast.net
    • Probably a converted AOL user.
    • Knows how to unplug a router to restore Comcast service, or has a younger person around who does this for them.
    • Doesn't know IMAP from a hole in the ground.
    • Thought the hacker scenes in "Swordfish" were believable.
    • Leaves hundreds of application windows open and rarely restarts machine.
  • Gmail.com
    • Watched Tron 2010 in 3D the first month it came out.
    • Owns an Android phone but has bought at least one Apple device.
    • Has an opinion about password length.
    • Owns, or has considered owning a Prius.
    • Wears goofy shoes.
    • Cuts off bicycles when driving, but hogs lane when riding bike.
  • Yahoo.com
    • Buys the magazines found at grocery store cash registers.
    • Forwards spam email to friends.
    • Computer(s) infected with multiple viruses
    • Never backs anything up.
    • Asks people simple questions that could easily be Googled from the phone they are holding.
    • Possible creationist.

Thursday, December 15, 2011

US troops scramble to hand off last-minute security 'details' to Iraqis - CSMonitor.com

I am glad the Iraq occupation is coming to an end, and it's great that so many troops will be back for Christmas. I do however find it surprising and perhaps foolish that we are leaving behind so little equipment for the Iraqi forces to maintain security. I wonder what the rationale is on that.


US troops scramble to hand off last-minute security 'details' to Iraqis - CSMonitor.com: The performance of the Iraqi soldiers has been all the more impressive, US troops here note, given that the Iraqi security force unit with responsibility for airport perimeter security has only one pickup truck and one small Humvee.

Wednesday, November 23, 2011