Thursday, September 15, 2022

How to Push to a Git Repo Made with an SSH Key from a Repo Started with a Password

Ever start a git repo using a password, then later upgrade to an ssh key?  And then find out you can't push to it, no matter how hard you try?  Even when you're sure that all of your ssh keys are set up correctly?  

This might have happened to you in the last few years because both github and bitbucket require ssh keys!  But some of have repos we started long before that with passwords.  

I was finally able to push my work to the repo!  

I was realllly stuck.... and getting nervous because I couldn't push my changes...but fortunately I learned about having multiple remotes at work...
And remembered a detail about git from a previous job...

Basically: If you check out a repo with one method, e.g. password, you can't push to that URL with a different method, e.g. ssh key!  Knowing that I was still kinda screwed with my password-method checkout ... 
 
Until I attempted to add a second remote to it!  the second remote was an ssh-key-based URL...
and then all I had to do was:

git add remote sshrem <blag long URL here.git>       # note that sshrem is just a local temp name
git push sshrem

That's it!  it pushed right up!     Now with that behind me, I am back in business developing new sounds for my musical instrument, the Brooklyn Eel!!
 
BTW, here's a super useful command for showing the remotes in detail:
 
git remote -v

Monday, August 15, 2022

Daniel Wintergatan is a Genius even on his non-marble machine instruments!

 Before Wintergatan, remember Daniel also made this amazing instrument, the Modulin.   Not only a great instrument but a great performance!  https://youtu.be/QaW5K85UDR0




Monday, June 27, 2022

Make Arduino More Tolerable to Professional Firmware Engineers: arduino --upload keybd_screen.ino

Are you an at least somewhat experienced programmer?

Ever wish you could use a REAL CODE EDITOR instead of the crappy one built into the Arduino IDE?

 

I just found out something pretty nice:

$ arduino --upload keybd_screen.ino

 (replace keybd_screen with name of your arduino project)


$ arduino --upload keybd_screen.ino 

 

 What does that do? From the command line it compiles and uploads your sketch!  Why is this so awesome? Because!!! 

 

Fire up your own editor like Sublime, emacs, etc., and then compile your code from the cmd line without that stoooopid IDE!!!!! Ciao Bella!

Wednesday, July 22, 2020

Robert Greene on the Crisis Generation

Recommended listening! Viewing our present society's conditions as part of a cyclical progression of natural, psychological changes. With large influence from Machiavelli.


Thursday, April 16, 2020

How to Know When a New Instrument Design is Complete

Reviewing the Pyramid Eel and reflecting on other instruments, I set my foot down in the sand and label the first Pyramid Eel "done." Watch the video to hear the full details!



Monday, April 6, 2020

Adding Sensitivity and Expression Using Optical Encoders on Electric Eel Generators

I recently upgrade the generators on my Electric Eel instruments to include optical encoders.  Check out this video to see how it works.


This means I'll be able to measure the speed and acceleration of the bow, leading to much more sensitive and expressive instruments.  I've been wanting to do this for YEARS and now it's finally happening...   

Over the years of playing my generator-based Electric Eel instruments, I have been enjoying how pushing them hard increases the sound volume.  It makes for sound so much more expressive than even my best MIDI keyboards with aftertouch.  It's slowly becoming apparent to me, though, that if I had a better idea how fast the player is pushing/sliding/bowing the generator, the sound could be even more sensitive and expressive.

Early on, I tried to do this by measuring the voltage on the temporary capacitors.   That approach works a little bit, but it doesn't change fast enough and different sound outputs consume the voltage at different rates, so it's way too entangled with the output sound, rather, than focused on what the player is doing.  Therefore, I decided to go WHOLE HOG and use an optical encoder.

This wasn't an easy decision.  These are more expensive and the algorithms get much more complex.  However, I am working again and don't have children (my instruments are my children!), so I went for it.  And actually I had a nice surprise---- over the last ten years, prices have come waaaaay down for these parts.  What used to cost about $300, can now be for only $40.  Yes, it's hard to believe.  It must be through the mass quantities of these parts that get used in factories.  Anyway, I picked up two of them and I've been wiring them up and writing code for them.  Soon I'll be putting them right into the instruments.  I can't wait.  It's going to be a whole new era.  In the meantime, please my newest video so you can share some the excitement that I'm going through!

Wednesday, September 4, 2019

Can all these analog synthesizer knob PCBs be soldered in just one hour?

Enjoy the time-lapse vid and 80s synth-shread montage music and find out

New Synth Knob Multiplexer - 64 Analogs in one! Part 3

So you know I'm exactly halfway in the middle of my 64-in-1 analog knob multiplexer project, right? To keep it exciting, I did a "Soldering Challenge." Enjoy the time-lapse video!

My bigger goal is to demonstrate all 64 knobs at once, but that's so many circuit boards... and I just got back from a sublimely relaxing vacation... so I decided to challenge myself to build them all in one hour. If I succeeded, I motivated myself with a relaxing swim at Walden Pond.