Can you afford to be an entrepreneur?

With modern insurance plans how does one afford to be an entrepreneur?

Asked a group of friends who are solo developers running their own companies/projects (without VC funding) how much they pay for health insurance? All are paying upwards of 500$/month for healthcare with deductibles above 7-8 thousand dollars. Several have stopped working solo due to health issues that have blown them past any sort of runway they had. Currently the only solutions’ that I can see are:

  1. Entrepreneurs must already be extremely wealthy to have a nest egg that will support them through illness

  2. Under the age of 26 so they can be on their parents insurance

  3. Get married so they can be on their spouses plan

  4. Get VC funding -> Hire a bunch of people -> Get an employee health care plan for everyone

How does an American afford to become an entrepreneur?

November 22, 2022

How to automatically update all git repos in a folder

As someone who has many github repo folders on their server I wanted an easy way to update all of them regularly with minimal points of failure so I made this script:

#!/bin/bash

# store the current dir
CUR_DIR=$(pwd)

# Let the person running the script know what's going on.
echo "\nPulling in latest changes for all repositories...\n"

# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" | cut -c 3-); do
    echo "";
    echo ""$i"";

    # We have to go to the .git parent directory to call the pull command
    cd "$i";
    cd ..;

    # finally pull 
    # the old name
    git pull origin master;
    # the new PC friendly name
    git pull origin main;

    # lets get back to the CUR_DIR
    cd $CUR_DIR
done

echo "Complete!"

I have it run automatically every 10 minutes using cron

*/10 * * * * cd ~/ && bash ~/update_git_repos.sh

Obviously it would be more ideal if it only ran when a repo was updated but like I said, I wanted less points of failure.

November 11, 2022

Copilot causes popular projects to become more popular

I have been using Github copilot for the past several months and I honestly think its one of the best tools’ I have ever used. I suspect it is writing about 50% of the code I produce and only about 10-20% of the time it is wrong/needs to be changed.

Approximately a week ago I started using HTMX and noticed that I would have to explicitly force co-pilot to use htmx by telling it in the comments despite it being littered all over my project. After an inflection point I no longer had to tell it. A similar experience happened on the backend side as co-pilot would often recommend using requests versus urllib. This raises several interesting questions:

  1. Will the popular libraries become more popular as copilot, by default, will suggest using them?

  2. How will computer science eduction move forward? Outside of fundamental topics any sort of simple high school or college level programming assignment can be done in 10 seconds using copilot

  3. My experience is skewed as a full stack developer who often jumps between 3 or 4 different languages. The biggest advantage for me is that copilot can help me remember’ the different formatting of the languages rather than the logic of the code. I suspect that the advantages of copilot is lessened by those who work in a single language but I can’t confirm that?

  4. What is the ideal price point for this? I would easily pay 50-100$ a month to use this but I suspect I am in the minority.

October 24, 2022

Games based on Real World Locations

As a person who travels often, I always like to do some research before I visit a new location. If I have the time, playing a game based on the location can give me a little bit of understanding of the area. I feel it immerses you and makes you appreciate the culture of the location more. It’s also a great way to make your kids more interested. One of my favorite things is hearing my little one make a reference to something they saw in the video game and make the connection to real life. Here is a short list that I was able to come up with

Africa - Far Cry 2

Alaska, United States - Red Dead Redemption 2

Blackwater, Missouri - United states - Red Dead Redemption 2 (Blackwater)

Chernobyl, Ukraine - Call of Duty 4: Modern Warfare, S.T.A.L.K.E.R

Chicago, Illinois - Watch Dogs

Donetsk, Ukraine - Call of Duty Warzone, Watch Dogs

Egypt- Assassins Creed

Hong Kong, China - Sleeping Dogs

Himalaya, Asia - Far Cry 4

Hollywood, California -Overwatch (Hollywood Map <-> Paramount Studios)

Italy - Assassins Creed 2 and Assassins Creed Brotherhood, Forza Horizon 2, Final Fantasy XV (Altissia), Dark Souls (Anor Londo)

Los Angeles, California - L.A. Noire, Grand Theft Auto: San Andreas

Louisiana, United States (Parts of it) - Red Dead Redemption 2

Las Vegas, California - Fallout: New Vegas

Manchester, England - Resistance: Fall of Man

Miami, Florida - Grand Theft Auto: Vice City

Moscow, Russia - Metro 2033

New Orleans, United States - Red Dead Redemption 2

Northeast Colonial America - Fallout 4

New York, New York - Grand Theft Auto 3 & 4, The Division, Marvel’s Spider-Man, The Warriors

Paris, France - Assassins Creed Unity

San Francisco, California, United States - Watch Dogs 3

Seattle, Washington, United States - Infamous Second Son, The Last of Us 2

Syria - Assassins Creed

Thailand - Tomb Raider Underworld

Tokyo, Japan - Persona 5, Yakuza

Washington, DC, United States - The Division 2, Fallout 3

Yosemite Valley, California, United States - Red Dead Redemption 2

Here is a cool list on a map. Feel free to contribute. Map

October 4, 2022

Dockerizing” Your Side Projects aka Moving all your side projects off of Heroku

Now that Heroku has discontinued its free plan I had the pleasure of taking 9 years of side projects and trying to figure out where to host it. A couple weekends later I ended up with a solution that I am really happy with:

Everything uses the same docker-compose (for the most part):

  1. Web server with Flask
  2. Database with Postgres
  3. Backups of database with prodrigestivill/postgres-backup-local

Using a logdna docker container all the output goes to LogDNA (now mezmo) (costs only dollars a month). Everything runs on a 10$ month DO server. Memory usage has increased in a significant but manageable way (excluding the one time memory leak).

I use certbot (no cost) for https if needed.

I’m still paying ~50-60$/month on heroku for production projects that I don’t feel comfortable taking off yet. I anticipate moving the smaller paid projects over the next year.

The only thing I wish I could find was some sort of monitoring tool to tell me when a docker container is not working’ anymore.

September 20, 2022

Ethereum Merge Hot Takes

Ethereum Merge Hot takes:

  1. If you are mining, now is the time to sell your hardware. Look at whattomine.com. Look at the volume done by ethereum. Now scroll down and see how little volume you find with every other coin. All that hardware is going to collapse every other shitcoin.

  2. If you are building a new computer wait until after the merge to buy parts.

  3. Is the merge priced in? Who knows. I would argue that its most likely ether price will be flat until the merge with a small possibility of going higher. Taking a long position now and selling right before the merge seems like a safe play.

  4. Why not hold until after the merge? Despite extensive testing the potential for a long tail bug or massive catastrophe will keep me away. On the other hand if eth price crashes it will present a rare and good opportunity to accumulate more eth.

  5. Staking is expensive. You need the 32 eth for staking, plus a decent rig with 1-2 TB of storage, plus additional eth for transaction fees, plus you can’t withdraw eth until withdraws are enabled? Maybe using rocketpool is a better idea? Need to look into it more.

September 1, 2022
Subscribe to my newsletter to get notified of new posts