Posts

Showing posts from August, 2023

When life gives you lemons, scream into a void

Image
When life gives you lemons, scream into a void First of all here is a picture of me and my newt.  Second of all I am doing a bootcamp and it is so hard. I am in week 9 of 12 now and all I want to do is cuddle up and curl up into a ball and cry. It is so unimaginably and unbelievably difficult. A theme which has emerged recently is taking care of myself. I don’t really know what that means and yet it is the absolute biggest theme that has emerged in my life at the moment. I honestly don’t know what it means. I guess it starts with basic things like eating, sleeping, and not working too late. People with ADHD all tend to struggle with things like that. I think it extends to other things. Eg to know me is to know that I live and breathe the Wim Hof method (no pun intended because there’s a lot of breathing involved). To know me is also to know that I love guided meditations and that I love going on meditation retreats. Retreats only happen for me about twice a year so while that is a love

Did you know that there's a tunnel under Ocean Blvd

Image
Did you know that there's a tunnel under Ocean Blvd This is easily one of the most underrated songs in the world and also one of Lana del Rey's albums which is easy to underrate.  But the song and the album both of which share their name with this blog post are phenomenal and the album has been slowly getting to me as I realise that absolutely every single last song on it is perfection. The title song is especially beautiful and perfect and I have been listening to it all day. I started to think of it because of the line 'don't forget' probably heard at the train station and then I started singing the song 'don't forget me' and then that was it. It has taken nearly a year for me to appreciate this beautiful song. How to use TypeScript Type TypeScript files in files with the extension .ts We run our code through the TypeScript transpiler  The transpiler will check the code adheres to TypeScript's standards It will display errors when it does not. If t

Awakening

Image
Awakening  "Awakening" is a song by Starlight Passage. It has made it onto my modified Coding Mode playlist on Spotify.  I am not sure whether it was on the original Spotify Coding Mode playlist or not. Today I am having a hard day. Today a lot of memories are coming up for me. Today a lot of visions are coming up for me. Visions of the place that I call home, and what I miss so much. A Google maps screenshot of a place that I LOVE. 45 minutes or so walk from home. A Very Brief History of JSX One way in which JSX is described... ... is as allowing you to write HTML inside of JavaScript. However, JSX is not a mix of HTML and JavaScript (!!!). Apparently, it is "plain JavaScript with some clever syntax that makes it easier to represent HTML". Wait, what??! It looks like a mix of HTML and JavaScript to me!!! 💖 For example: JSX "allows you to jump in from writing code that looks almost like HTML to code that pretty much is HTML. Later, that pseudo-HTML code is tra

Let the Light In

Image
Let the Light In Today I'm quoting Lana del Rey as always - this is one of the songs off her new album. It's beautiful and I can't stop listening to it today - it took a while to grow on me, though. Interesting.  I think it was so beautiful and so forward-thinking that it was hard to 'let in' - quite literally, ha ha ha. Why you should use Create React App vs. why you should use Parcel I did a little bit of research for my bootcamp today. Art for Lana del Rey 'Let the Light In'. In general... While CRA is easy to use and has little configuration, Parcel has even less - and is even easier to use and set up. CRA is maintained by the core React team.  Parcel has a built-in dev server with live reload. Create React App is... Better for more complex projects. It abstracts something called a "Webpack" configuration.  Better if you ever want to "eject" your project and manage it independently.  Parcel is... Simpler because it has no configuratio

America

Image
America "Aw, I'll pick you up,  If you come back to America, just hit me up 'Cause this is crazy love, I'll catch you on the flip side If you come back to California, you should just hit me up" - Lana del Rey, "California" Passion or Coincidence In a beautiful way, perhaps the most beautiful way, I have come full circle.  It's been 1 year since I first started coding - in 5 days it's my codeversary. And I am doing an SQL course.  In fact the exact one I started 1 year ago. What is a column? A column is a set of data values. It's all the "data values of a particular type". Let's make up an example.  Let's use my teddy bears. We could have "ID, Name, Colour, How I got this teddy bear". What is a row? A row is a specific thing I guess - I think of it as being like an object in javascript. So for row one of my teddy bears, we could have: ID - 1 Name - "Winnie the Pooh" Colour - "Yellow" How I got th