Category: Uncategorized

  • Lets GO!

    I am by trade and tutelage, a PHP developer. I can also work in JavaScript, TypeScript, and React. The bulk of my work has been done in PHP. As someone pretty heavily entrenched in WordPress ecosystem, this served me well.

    However, as I am looking to new horizons, it is becoming apparent to me that I will need to stretch my language skills even further. So let’s start with Go. Please enjoy my ramblings as I learn 🙂

    I am starting with a really basic w3schools.com tutorial to see what the differences in syntax are.

    A Go file consists of the following parts:

    • Package declaration
    • Import packages
    • Functions
    • Statements and expressions
    https://www.w3schools.com/go/go_syntax.php

    From a PHP perspective, this sounds pretty similar.

    • Package declaration => PHP Namespaces. It gives the program or file scope or limitations
    • Import packages -> In PHP, this was done by the use statements. It allowed you to pull in functions from other namespaces, classes, or even just a single function
    • Funcations => This is pretty self explanatory
    • Statements and expressions => I am intrigued…

    Syntax

    In Go, statements are separated by ending a line (hitting the Enter key) or by a semicolon “;“.

    Hitting the Enter key adds “;” to the end of the line implicitly (does not show up in the source code).

    https://www.w3schools.com/go/go_syntax.php

    ❓ Does this mean there are hidden semicolons throughout the code, or does the complier read a new line as a semicolon?

    The answer seems to be yes, under certain conditions. I guess for now, I will continue to explicitly write out my semicolons to avoid confusion until I am more comfortable working in Go. Also, to avoid causing myself grief when I switch back to other languages.

    Comments

    • Single line comments start with //
    • Multiline comments are encased in /* {your comment here} */

    Creating variables

    • Use var
      • Benefit: this allows you to specify the type of the variable (e.g. var test string = "some words";)
      • This notation can be used within a function or without
      • Allows for value assignment to be done separately from declaration
      • Always requires at least a type or value
        • var test string = "string";
        • var test string;
        • var test = "string";
        • var test;
    • use :=
      • This is a new notation to me, I would have easily mixed it up for a logic statement if I had run into it in the wild
      • Benefit: It is a shorthand and so it may be faster to use
      • Like Typescript, the compiler infers the type of the variable based on the value
      • This notation can only be used within a function
      • Value must always be assigned at declaration
      • It is not possible to declare a variable without a value using this notation (which makes sense)
        • test string := "string"; (I think this would set a variable string as "string")
        • test := null; (null and empty strings both throw an error)
        • test := "string";
    • Declaring multiple vatiables
      • Similar to a mathematical matrix, you can declare multiple variables and values at the same time
        • So, for example var a, b = 6, "Hello!"; is the same thing as declaring var a = 6; var b = "Hello!";
        • If you declaring multiple variables at the same time only supports one type
          • var a, b string = "A", "B";
          • ❌ var a string, b int = “A”, 2;

    Go variable naming rules:

    • A variable name must start with a letter or an underscore character (_)
    • A variable name cannot start with a digit
    • A variable name can only contain alpha-numeric characters and underscores (a-z, A-Z0-9, and _ )
    • Variable names are case-sensitive (age, Age and AGE are three different variables)
    • There is no limit on the length of the variable name
    • A variable name cannot contain spaces
    • The variable name cannot be any Go keywords
    https://www.w3schools.com/go/go_variable_naming_rules.php

    Variable names support camel case, pascal case, and snake case.

    Constants

    Seems constants work as expected, they should be declare once, are unchangeable and read-only, can be typed or have the type inferred from the value. To make constants easy to identify, they should be written in uppercase letters (e.g. “USER_AGE”, not “userAge”, or “UserAge”, or “user_age”)

    Output

    • Print()
      • Prints out the value only, can have multiple comma separated arguments passed in (e.g. Print( "Hello", " ", "World");) Reminds me of the Google Sheets function Concatenate.
    • Println()
      • Adds whitespace between arguments and new line at the end. So Println( "Hello", "World"); prints out Hello World.
    • Printf()
      • Allows integrating the type or value of a variable into a string.
    package main;
    import ("fmt");
    
    func main() {
       var userName string = "Jane";
    
       fmt.Printf( "Hello %v!", userName ); 
       // Prints "Hello Jane!"
       fmt.Printf( "The name %v is a %t", userName, username ); 
       // Prints "The name Jane is a string"
    }
    

    The values are integrated into the string using formatting verbs.

    I’m stopping here for today. The next item up in the tutorial are arrays, and they are definitely different than how they work in PHP. I’ll save that for next time.

  • Farewell A8c

    On Wednesday, my role at Automattic was included in the workforce restructuring which was announced. I was separated from the company.

    While I don’t have much to say about how I was separated from Automattic, I have so much gratitude for my time with the company. More than I could ever fit in a single post. Automattic has been a support through some of the biggest transitions of my life. I became a mom, had a second child, stepped fully into being a developer, and moved across the United States. So much would have been drastically different about those experiences without the support of working at Automattic.

    More than the support of the company, I am grateful for the connections I have made. There are so many people and precious memories which I have from the last 6 years.

    Hobbes welcomed me with open arms and showed me the ropes. I am so thankful for each one of you 🍓 🍓 🍓

    Shilling, thank you for welcoming me and raising me up from a baby dev to where I am today. I know I have said most of this to each one of you, already, but I learned so much from you all. Not just how to write code, but how to be a better human. I hope that when you find unintentional easter-eggs, it brings a smile to your face. Thanks for always being willing to go along with my crazy meetup schemes. You were the best for playing along.

    There are so many people, teams, and orgs of Automattic that impacted my time there. I wouldn’t be able to name them all without forgetting someone, so I will just stop here.

    If I could offer any advice to everyone affected by this change, it would be to only hold on to what serves you. There is a process to grieving, but don’t get stuck in it. Take the good things forward, the lessons, the memories, the connections. Let the rest fall behind you when they aren’t helpful anymore.

    So what’s next? My ideation has kicked up a few things:

    • Write a novel about a certain dev team which gets sucked into the world of Fae and saves it because writing code isn’t that different from writing spells, right?
    • Start an online bartering marketplace and make money selling shipping labels
    • Create a meetup consultancy to plan retreats for groups of 5 – 14 people

    If your interested in staying in touch, feel free to contactme[at]jessboctor.com.

  • This Week: August 23rd, 2024 – August 29th, 2024

    Friday Night Dinner

    This week’s menu was taco soup and jalapeño peppers stuffed with cream cheese and wrapped in bacon.

    R&R

    We broke out the fire pit and explored some new trails near our home.

    Special Delivery

    We have been checking out FB Marketplace on the regular for some large tree rounds. The plan is to incorporate them into the kid’s play yard. The trouble is finding some close and big enough to do what we want, but not so big that we can’t transport them. So when our neighbor across the street had a tree cut down, Paul stopped by to ask if we could have some of the rounds and branches. The tree cutters were happy to drive the load over to our house rather than having to haul the majority away somewhere else.

    Up Next

    Friday Night Dinner, out-of-town friends visiting for the long weekend, and baby Bee’s birthday all happening next week.

  • This Week: August 16th, 2024 – August 22nd, 2024

    Friday Night Dinner

    We skipped hosting dinner this week. The kids school had a family picnic which we attended. You can find the schools photos here.

    Enjoying Nature

    The desire to be close to nature was a big factor in our decision to move in 2023. The other day, I headed out to our hammock. The goal was to get some work done while enjoying the nice weather. I got an extra surprise when I went to tighten up the strap for my hammock and was greeted by a new friend. I decided the hammock height was fine and let the little frog be.

    The view was worth it though…

    Diving into Community

    Our family has found a home with Experience Community Church – Tullahoma. There are four Experience Community Church campuses. It’s always a bit daunting to get plugged into a new church, but service is one of the best ways. On Monday night, they held a volunteer fair. We attended with the kiddos in tow. We’re making contacts, and I am sure there will be more updates on how things are going in the future.

    Up Next

    A mostly quiet week ahead. We’re looking forward to hosting Friday Night Dinner again next week.

  • When Your Pivot Turns Into A Lindy Routine

    I am a big fan of pivots. Changing your current direction in order to continue, and more effectively, work towards your goals.

    But what happens when one pivot leads to another which leads to another, which leaves you sashaying through your year?

    That has been the last 12 months for us.

    It started with failed potty training. Then a reorganization at Paul’s employer. Then kept building with a summer of mismatched schedules. A new opportunity for growth in my career. The realization of just how fast our kids are growing up. A two-year timeline until our oldest starts school (which is, in itself, a pivot and a new speed of life) An evaluation of what’s really important to us. Questioning if those values are achievable where we are currently living.

    The result? We’re moving.

    Where? We don’t know.

    For the last 10 years, Paul and I have been trying to work out leaving Southern California. We want to live somewhere more green. I love rainy summer days. Paul wants to be out in nature more. We want to be some place simpler, with more space. We want to escape being landlocked by traffic.

    When I joined Automattic, I told Paul that we could move anywhere that met three criteria:

    • Within an hour drive of a city. I am an urban kid at heart. I want to be able to drive into an urban center for a day and get my fix.
    • Within an hour drive of a major airport. We love to travel. I also have to travel a few times a year for work. I don’t want to add extra time just getting to and from the airport.
    • Have a significant body of water. I love the ocean, but lakes and rivers also meet the criteria.

    So at the end of last summer, with everything spinning around us, we began to explore the option of leaving California. The conclusion we came to was that we needed to spend time exploring other parts of the United States.

    So we did a thing…

    Couple standing in front of a Shockwave Fifth wheel toy hauler trailer and white truck

    We bought a fifth wheel trailer four days after New Years. Our home sold three months later. Our belongings have been divided into trailer, storage, and go away. We have booked our route as far as Texas and hit the road in a week. We are hoping to find a place to settle down before the two-year timeline runs out.

    Burning, sorting, patching; all part of the process in a transition of this scale.

    It’s been a whirlwind. There have been stressful and exhausting days as well as exuberant hopes. The kiddos have been champs at dealing with the onslaught of transition we have thrown at them over the last six months. Paul has stepped up to the role of full-time dad. I will continue working as we adventure east.

    My parents have kindly let us live in their driveway for the last four weeks as we complete final preparations. It’s a bittersweet experience. Capturing as much time together as possible. I keep looking around at the litter of loss. The toys that will be left behind to get packed up. The scribbles on the wall. The precursors to the ache which is waiting for us. The reminders that we were there, and now we’re not.

    There is much we will miss about Southern California. Our families and friends top the list. The option to attend Sandals in person. The way the hills look after a heavy rain. The sound of the Pacific on a summer day. Mexican food. Kaiser Insurance. Orange poppies and the blossoming fruit of the orange groves. There is so much to be grateful for. So much that we have been able to experience as we both grew up here.

    At the same time, there are some challenges that have been hitting our state hard. Addiction and mental health issues have caused a huge rise in homelessness. There is a water crisis. Inflation, which I know is bad everywhere, has been extremely hard in a high-cost area. We want so much more for our family than fleeing politics and expense, because we know those are everywhere, but politics and expense can’t be ignored. Twenty years ago, I would have donned a cape; fought the good fight.

    Motherhood changes how you define what a good fight is.

    For me, a good fight is giving these two little wonders a chance to have time with their parents. To experience something other than the rush of wake-up, day care, stressed parents, dinner, and bed. Exposing them to the world in a way that is more slow and safe than the pace we currently have. Offering them my attention, not my exhaustion. Introducing them to Jesus. Parenting gently. Teaching by doing together. Being a better and healthier version of myself. Loving their father in a way that makes them feel safe.

    For Paul and I, I hope that we laugh together more. I am looking forward to snuggles by a campfire. To remembering how to talk about anything other than chores, bills, and kids. That we can get back to being best friends rather than project managers.

    For me, this is a chance to pilgrimage back to who I used to be. I want to find that girl and bring her along for the journey to the woman I need to be.

    Adventure on.

  • 13 Month Highlight Reel

    Today marks 13 months since my last social media post…at least any posts that are actually about my life.

    My last post was the announcement that we were expecting our son, Jacob Paul, who arrived in September.

    I have been on a bit of a long sabbatical from social media. In 2018, even before my last post, I was really struggling with the overwhelming feeling that everything I was doing–social media, journaling, writing, development–was all work. And rightfully, some of it should have been.

    I needed to take break to get away from my monetization mentality. I was trying to figure out how to make a buck on everything I was doing.

    I wanted to get to a place where I could do things for the joy of it again.

    And I am getting there. The past 13 months had a lot of challenges to them. Like many people, there are a lot of things on hold right now. But I’m taking a hard look at my life and trying to figure out how to do some of these things on a small scale again.

    Here is the highlight reel of the last 13 months:

    Pic 1: In 2019 I got to do some awesome traveling, both with work (Bahamas), my family (Destin Florida), and just me and Paul (New Orelans Louisiana–which I don’t have a picture of). I am laughing like a total nerd in the photo with my family, but I love it.

    Pic 2: Paul and I were so blown away and blessed by everyone who came out to love on our growing family and help us get ready for Jacob’s arrival. We had an open house style shower which I totally recommend.

    Pic 3: He arrived! Paul and I are now parents and I couldn’t ask for a better man to be on this journey with. He is so great not only with Jacob, but with helping me manage the crazy as I learn to be a mom. I am so thankful I get to do all my adventures with him.

    Pic 4: Hospitals!! Lucky for me this all happened before the COVID outbreak. In November, I had pancreatitis and an inflamed liver because of Gallstones. I had my gallbladder removed during a three day stay at the hospital. In December, a routine follow up procedure triggered a case of pancreatitis. This was the most painful thing I have ever experienced. It beat out child labor hands down. I was in the hospital for 6 days and was released on Christmas Eve. Since it was flu season, Jacob wasn’t allowed to come up to my room either during either hospital syay. So once I was able to walk around, my parents brought him to the hospital and we hung out downstairs for a little bit. So glad I had a nurse who helped me escape!

    Pic 5: I went back to work at @automattic in November. I have to say I work for the best company. It’s so great to be able to work from anywhere and be close by if my family needs me. Of course, I couldn’t do it without the love and endurance of Jacob’s Teta and Oma. He keeps those ladies busy for sure!

    Pic 6: This has been our most recent adventure. In March 2020, we put on offer on a home and are working through escrow. It has been a long purchase process because of everything going on in the world. However, we’re in the home stretch (hehe – that’s punny). We are less than 1 month away from getting the keys and 5 weeks away from being able to move in–just in time for Father’s Day. As you can imagine, Paul and I have been doing a lot of daydreaming and browsing for our new place.

    PS: The Beastie, our 36′ Fifth Wheel which has been our home for the last four years is for sale!

    Those are the big things. You are all caught up. Thanks for sticking with me!

  • The Journey Begins

    Good company in a journey makes the way seem shorter.

    Izaak Walton
    Feet at the waters edge on a beach in the Bahamas.
    June 2019 At the waters edge in Nassau, Bahamas. Felt lucky I could still see my feet at 7 months pregnant.