benny: an update on my bali and coding journey
- I semi-wrapped up an enormous project to analyze millions of chess games to find the answers to a bunch of silly questions
- I started getting paid to code, which was an important milestone to cross, and has validated my theory that learning in public would be valuable.
- My focus on my fitness has been elevated to a top tier priority, as I keep getting injured and am going to attack the root cause of the injuries (poor mobility/flexibility)
- I feel lucky and grateful for the people in my life, especially Jake and Logan over the past couple of months. Both have served as mentors completely out of their own kindness
- Iām sticking around in Bali for the foreseeable (~6mo) future, to get the benefits of routine and investing in community
- Self-teaching software engineering via project-building has, for me, been experientially affirmed to be the most effective way to learn
Read on for more!
Hi, long time no talk š
Been a while ;)
Lots has happened in the past 4 months!
- I got a job (you might be wondering: what!? you, benny, you?? why? I thought you are building companies and stuff? all great questions, please continue reading below š)
- I finished a massive project with a close friend of mine (hint: chess)
- I traveled Europe for 1.5mo, beep bopping around to see friends and family ā¤ļø
- I came back to Bali, moved to a new apartment, and settled back into routine
- I injured my hamstring (again) AND shoulder, and started a daily physical therapy regimen
But before we get into the meat of it, hereās something a bit random: one of my favorite ādadā jokes Iāve come across recently. Just incredible:
āI'm thinking about selling my theremin. I haven't touched it in years.ā - A random comment on a YouTube video of a lovely theremin performance
While we're at it, here's an incredible video of someone who has mastered theremin playing. What a weird, eerily beautiful instrument.
Anyways!
Read on for:
- updates on what iāve been up to!
- 5 takeaways from my journey so far
- my plans going forward
- my worries
I. Updates on the coding/content/Bali journey so far
First off: coding
Iām starting to solidly feel like an indie hacker.
I can code! And I think Iām not too bad at it.
Along with my friend Logan, we completed an enormous analysis of millions of chess games (14 million, to be exact). The goal was trivial, but fun: find the answers to a bunch of silly questions about chess, like which piece has the best kill/death ratio, or which piece is the gold-medal Olympic long-distance runner of the pack (i.e. goes the furthest distance on average each game).
You can see the finished code for the analysis here: https://www.bennyrubanov.com/projects/
More content on this project coming soon! In the meantime, I presented some preliminary results to a bunch of indie hackers like me in Bali. Below (and here) is that deck!
Chesssssss by Benny R.[Technical stuff]: Iāve picked up on quite a few new skills/languages while working on this, including:
- Javascript
- Typescript
- Node.js
- JSON (in detail)
- Git
- VSCode (coding editor)
- data parsing and analysis of large sets
- zstd decompression/compression
- Object-oriented-programming
- more details on chess than I should know
I feel another wave of confidence that I can learn/build what I want to build. There were, nevertheless, many moments in the project where I felt stuck or unable to proceed for days.
I went back-and-forth with GPT4 hundreds of times trying to figure out how to get a piece of code to work, or why unit tests were failing, or why something wouldnāt print correctly to console, and more.
But a solution always appeared eventually, and I feel grateful to my past self for sticking with it to find that solution.
There is more I could say here (and will - see below!), but the important part is that, despite the frustrations of getting stuck in coding, Iām enjoying it a lot and feel more than ever that Iām making serious progress towards becoming a full fledged software engineer.
On that noteā¦
I got a job
Iām getting paid to code š š¤š°
Huuugggeee milestone achieved! All-in-all, it took me about 4.5 months of consistent coding to get here. I started to be consistent in July after burning out, and got the job in late November.
How did it happen?
A friend of mine (and reader of the blog!!), Jake, reached out after seeing some of my progress.
Some excerpts from his initial message:
A client of mine wants to pull a junior developer on to a project that I can offload some of my work toā¦
- We'd be full async (Maybe 1-2 calls to get things going initially, only if needed)
- I'd plan out the feature, record a Loom talking over it, etc
- You implement that feature and start a pull request
- I'd test it and then merge it in
Why You: I think you have enough experience that you could contribute fairly quickly and still learn a lot from the experience. The hourly rate might be workable for you - potentially (infinitely?) extend your Bali runway while learning from hands on experience. And it would be fine if X months from now you want to roll off the project.
I know you're still early in the learning to code journey. But is this is something you'd be interested in?
And I said: yes!
I started the freelance work over the past couple months, and have managed to keep hourly contributions low so that I have ample space in my schedule for my own projects and content creation š
Overall - huge win. I feel very grateful and fortunate that this fell into my lap at the right time (amidst an increase in financial concerns around my runway).
On top of that, itās the first indication that this whole ālearning in publicā thing can create unexpected opportunities (which was a theory of mine when starting)!
Travels, Bali, and Fitness/Injuries
Travels:
In the past four months, I visited 10 cities across 7 countries (3 of which I hadnāt been to!) between 2 continents (Europe, Asia). It was a busy travel period for me, and naturally, that bit into the amount I was able to get done. The theme of my 1.5 month trip gallivanting* was ramping into freelancing while allowing myself to enjoy the travels and the time spent with friends and family.
I definitely struggled with this. I felt like I was pulled out of my element in Bali and my routines/habits/progress on my coding/content journey thoroughly shaken up. On top of that, being back in a wintery environment, after managing to avoid one for what became the longest stretch of my life (11 months!) without cold weather, was jarring. I was definitely not prepared (and unfortunately landed in Poland just as a cold front was sweeping across the continent)!
All that to say: I was constantly craving being back in Bali, and I think I let this craving get to my enjoyment a bit. I came back to Bali with the feeling that I wish my satisfaction/enjoyment was less dependent on my environment. But cāest la vie. Iām back now, and this is a problem to tackle later.
Bali:
Ah, Bali. I first came here with the intention of staying a few months. Now itās been nearly a year (a year in about 2 weeks as of this writing!), and Iām likely to stay here for the majority of 2024.
Iāve spoken ad infinitum about this to friends and family, but something about this place keeps me here. I think itās a combination of quite a few factors: weather, community & friendships, convenience, kindness of locals, health/fitness focus, etc. But whatever it is, Iām sticking around for a while.
That being said, itās a tough balance to strike between wanting to see the big olā world, while wanting to maintain routine and work towards my goals. What Iāve ended up deciding to do is something somewhere in between: compromising with myself to let this year be a Bali year, while Iām continuing to work towards my goals of building products and services that can find a significant user base. Then, once Iāve gotten to a place where these goals are in āmaintenance modeā, Iāll give myself the flexibility to explore the world more.
So, Iāll be here š come say hi!
Fitness/Injuries
Fitness has rooted itself deeply as one of my primary focuses over the past year. But I donāt think Iāve figured out how to do it sustainably. Hereās how this year has gone:
- March - May 2023: trained for a marathon, and deeply undertrained. Ran a quarter of the distance that I should've run during the training period
- May 2023: ran the marathon in Singapore, finished in 5 hours. Not a stellar time for my goals but made sense relative to training (and the weather: 34C/93F with 85%+ humidity... at midnight). Likely created a bunch of micro-tears in my tight hamstrings (especially my EXTRA tight left hamstring) due to under-training and over-working, as well as poor mobility and flexibility. Lost a bunch of weight and was the thinnest Iāve ever been.
- July 2023: went on a biking trip in Taiwan, biked 150km in 2 days. Strained my hamstring, but didnāt realize how bad at the time. Rested for 2 weeks, and then went right back into running/crossfit/tennis. Strained it further, this time badly. It hurt quite a bit to bend my leg, walk, and climb stairs.
- August - September 2023: rested, saw a physical therapist, recovered, and focused on moderate upper body work in the meantime
- Late September 2023 - November 2023: felt sufficiently recovered, so I scaled back up on crossfit/tennis
- November 2023: out of the blue, re-injured my hamstring. Likely due to continued tightness in my body, poor mobility, lack of stretching and proper warm-up/cool-down, and not having allowed the tendon/muscles to heal properly
- November - Jan 2024: Got a diagnosis for my leg: itās tendonitis plus the chronic hamstring strain. Started physical therapy again. In frustration, I worked hard on my upper body. Inevitably, I injured my right rotator cuff (likely a strain). Take time off while traveling Europe to do no fitness. Iām quite frustrated at this point for not ramping up intelligently and not listening to my body
- Jan 2024: I make a detailed āfitness goals and prioritiesā plan that details my thoughts on why I keep getting injured, and what I plan to do to prevent it. I identify the root causes, mobility/flexibility and ramping up too quickly. I decide I need to really commit to injury recovery, and then prevention. Recovery is focused on physical therapy and rest. Prevention is focused on mobility and flexibility.
Essentially, Iāve decided that I wonāt lift heavy or work out āhardā until Iāve fixed my mobility and flexibility issues. Once thatās done, Iāll carefully ramp back up on my training and favorite sports.
My flexibility issues are centered around my āposterior chainā (which contains the muscles that help you touch your toes, such as glutes, hamstrings, low back, calf muscles), and my shoulder/chest. And of course, those are exactly the places I got injured in.
So to summarize: going forward, the theme of fitness for me, at least for the next 3-6 months, is injury recovery and then injury prevention. These injuries have affected my quality of life, and I donāt want that anymore š
II. 5 takeaways from my journey so far
1) Gratefulness
I canāt understate the gratefulness I feel towards all the people who have reached out, offered their advice/help, or general words of support. The encouragement has been astounding, and itās hard not to feel excited when so many people show so much kindness.
Shout-out to the supportive indie hacker community in Bali, "Hackagu"!
Particular mention goes to Jake and Logan, both of whom have served as coding mentors while I learn how to do the basics and beyond.
Jake reached out to me out of the blue and has singlehandedly saved my financial runway, allowing me to continue this experiment on my career potentially indefinitely. On top of that, Jake went out of his way, unprompted, to create coding tutorials that would help me get ramped up onto the project he contracted me for. Heās consistently provided stellar feedback, code reviews, and mentorship beyond coding that Iām so grateful for.
Logan spent tons of time conducting coding reviews on my code, teaching me best practices, and sharing the tools and knowledge he had š. And he deserves special mention for putting up with me while collaborating on a goofy chess project for months.
Feeling very, very thankful. This experiment is showing a lot of preliminary success, and thatās in extra large part due to the people in my life.
2) Learning to code with projects
A quick timeline: I spent around 60 days taking courses. I didnāt enjoy it very much, and got tired of it quickly, which coincided with a period in my life in which I burned out quickly. I learned some basic python and APIs.
I came back from a 4-month break, and sat down and coded my first web app. In the span of 1.5 weeks, I learned some basic javascript, html, css, flask, and how to integrate an external library. I played around with some fun models on replicate.com. And I gained a bunch of confidence.
Immediately after, I dove into the chess project. That was a 4-ish month endeavor, and I learned a ton (see above!).
I think all the advice I had gotten many times prior to starting to learn coding echoed the same sentiment: that the best way to learn to code is to try to build stuff and learn what you need to learn for those projects. Experientially, I can confirm this without a doubt. I had a lot more fun learning that way, too (with the help of GPT).
Thatās not to say that there isnāt a place for courses in someoneās coding journey. My theory is that theyāre most at the very start of learning to code, as supplementary knowledge to what youāre working on, and as a jumping-off point for learning any new discipline or category of knowledge.
For now, Iām going to proceed with learning to code via projects, until I feel I want to dive deeper into something like ML or crypto. Iāve already started taking a look at Andrej Karpathyās incredible āZero to Heroā series that includes the video āLetās build GPT: from scratch, in code, spelled out.ā
3) Is self-teaching using only online free resources a good way to learn?
Yes. The only thing Iāve paid for is access to GPT4 via Cursor, the fork of VSCode that includes GPT integrated into the code editor (currently, $20/month), and thatās been incredibly helpful. But even GPT3.5 (available for free) is fantastic, and reaffirms to me that the wealth of resources out there is incredible.
I plan to share the best resources Iāve come across in the past 5 years soon!
4) Learning in public
This has already proven its value. I was able to get a job without looking for one by sharing my progress in public.
I feel proud of past me for having taken the steps to lay my learning journey out there in public, at the risk of being judged. This was a difficult thing at the time (and can still be challenging). Iāve always been overly-perfectionist when it comes to putting parts of myself online, and this was an important hurdle to overcome.
5) The value of staying in one place, and routine
I burned out in May 2023, and I wrote about this in this thought piece/life update. I think a big contributing factor of the burnout was a result of moving around nonstop for months while trying to balance some kind of routine. To quote myself, in the span of two months I:
traveled to four different countries, traveled all over Bali with a friend from the UK, published 13 blog posts, completed 2 online courses covering 5 different coding languages, pseudocoded my first web app, ran over 150 miles (often in 100F+/38C+ degree weather), and ran a marathon.
I think I was distracting myself from the difficulty of the emotional turmoil I was going through as a result of the intense uncertainty across all dimensions of my life at that point, and moving past a recently-ended relationship. And thatās okay - it was useful to do so in that phase of my life.
But coming towards July, I wanted something different. I had an intense desire to do exactly the opposite of what I did during those months of travel. I wanted to stay in one place, and do the same thing every day. A routine.
So I did that. And I started making real progress on my coding/content/fitness journeys.
There is a lot of value in routine and consistency. When you travel, youāre trading away some of that value. There is a middle ground, "slow travel", where you stay in one place for somewhere between 1-6 months, and I'm open to that down the line. Based on what I've got planned for the near-future, I'd rather be closer to the far end of the stay-put vs. travel spectrum and stay in familiar, comfortable Bali.
III. So, whatās next?
2023 was chaotic and filled with spontaneity and a lack of planning.
2024 will be different. I want to mostly stay in one place, and it makes sense for that place to be Bali given my goals.
Iāll try to stick to this: spend 10-12 weeks working, in routine in one place, and then will take 1-2 weeks off to vacation.
I will structure my working periods as coding/testing ideas vs content sprints. My guess is 4-6 weeks of coding followed by 2-4 weeks of content, rinse and repeat.
As to what Iāll work on: I plan to start testing some fun ideas Iāve got. I plan to do it in a way that minimizes unnecessary engineering work, and I think that looks like:
- create a landing page
- run ads/organic marketing
- see my conversion rates. if promising:
- start building the solution
IV. Worries
Worry #1 - am I a āgpt-engineerā? š„“
Iām worried about the staying power of what Iāve learned. Could I code effectively without an AI model like GPT helping on the side? I think I havenāt actually memorized that much coding syntax, but have done a good job of understanding the code Iāve written, even if a lot of it is a result of prompting GPT extensively.
Why I think this isnāt a big deal: I donāt think I really need to account for the eventuality that I wonāt be able to have GPT to code with. These tools are here to stay, and I think Iām one of many developers using these tools to increase their effectiveness. On top of that, I understand my code well enough to prompt GPT correctly, and I tend to put in the effort to learn and then document what I donāt know.
Worry #2 - balancing it all āļø
My focus is currently split into more or less four primary buckets: freelancing, coding my own projects, creating content, and health/fitness.
All of these are significant activities that require a lot of attention. So of course, Iām concerned itāll get tough to balance.
How Iām mitigating this: by reducing task switching as often as possible, freelancing time-effectively, and keeping to a routine to reduce complexity everywhere else in my life. It also helps that I'm not cooking for myself, as it's quite economical to use a meal plan here (I pay a company that prepares healthy, fresh food in bulk and sends it to me daily)!
Worry #3 - ideation š”
I have plenty of ideas I want to test, but my worry is that theyāre too "hand-wavy" and arenāt based on an observation of a real problem. Iām worried that I donāt have direct access at the moment to a source for many good ideas as a result of having many problems to solve: corporate America š. In other words, I think that by working for a company, at some point you start to come across issues that exist either internally, or externally (with suppliers, third-party vendors, clients, etc). At the moment, Iām floating through the internet ether, coming across ideas here and there from some burst of creativity, but usually not from an easily-recognized problem.
The value of being in a corporate environment to source ideas is perhaps especially high when trying to come up with B2B software solutions. So Iām curious to see if I can come up with something valuable without having that environment to place myself in.
Not sure yet how Iām mitigating this concern, but it will likely have a combination of: asking friends who are in that environment, sleuthing through twitter, doing market research, pulling from my own experience, etc, to find problems to solve!
Wrapping it all up š
Iām quite excited for this next chapter to start. Iāve decided that Iāll stick around in Bali for what I think will likely be most of 2024. I think itās a source of comfort thatāll be important as I dive deeper into this experiment.
Iām most excited to start building and monetizing some ideas š
Iāll have some write-ups and content on my social media channels (website, twitter, youtube, tiktok) regarding the chess analysis project (and more) soon. Iāve also started posting some day-in-my-life kinds of videos on instagram - check it out!
Thanks again for all of the support and love. Feeling very grateful per usual for the people in my life.
Talk soon! Ciao (for now).
*Apparently, āgallivantingā and āgalavantingā are two accepted spellings of the same word. Bit of a ācolourā vs ācolorā kind of thing. According to the Australian Writersā Centre (Center??): āāGallivantā is considered the original and remains by far the most popular. But almost immediately, the variant āgalavantā was used ā this may be because the original Old French spelling was āgalantā. Or perhaps it was influenced by the similarity of words like āgadaboutā or even āSir Galahadā during the 19th century.ā
Member discussion