includeJS Notes A feed of the latest notes. 2023-05-28T19:12:42Z https://includejs.dev Eva Dee [email protected] How to Prepare for AWS Solutions Architect Associate Certificate 2023-05-28T19:12:42Z https://includejs.dev/notes/how-to-prepare-for-aws-solutions-architect-associate-certificate/ Six months ago, I didn't know much about cloud computing. And then I've decided to change that. We use AWS extensively at work (running our apps and storing our data and files), and I wanted to understand better how it all works. I've started with the foundational certificate, a brief introduction to around forty services on Amazon. After that, I aimed for the Solutions Architect one (the associate level, of course, and the next logical step). Initially, I thought it would take me a month, but it took me ten weeks (luckily, you can postpone the exam twice once you've booked it).

I passed the exam last week with a score of 853. So these are the resources that I used.

Courses

  • Cantril video course, around 70 hours. In-depth introduction to various core services of AWS. I watched it at 1.5x the speed, which still took me a loooong time. The accompanying free technical foundations course is excellent for understanding the fundamental (especially networking). This course is really long and focuses more on your understanding of how AWS works (which is good!) instead of just getting you ready for the exam.
  • Stephane Maarek Udemy course. Shorter, quicker, less in-depth, more exam geared. Theoretical bits, followed by the practical bits. His course slides are well worth reviewing too. Less focused on how things work in-depth and more on exam questions.

Mock Exams

  • Tutorials Dojo, mock exams in different formats. Make sure to review your answers and learn from your mistakes. Do all the exams. I found all the mock exams I did harder than the real ones (I never managed to score more than 75% on my first try.)
  • Stephane Maarek Udemy mock exams, covering more services than the Tutorials Dojo exams. Well worth it in the final days before the exams.

Flashcards

  • Anki: I downloaded the pre-made shared decks, but mostly I relied on my own. Here I added exam questions (especially the ones I failed) and confusing bits (e.g. what's the difference between EBS and EFS, and when/where would you use one instead of the other). Anything related to the exam or that I wanted to memorize. I read things in blog articles, other people's notes, flashcard decks, youtube videos, and anywhere.
  • Brainscape Pre-made decks, good for mixing things up.

Misc

I used most of my 10 weeks - 7 or 8 of them - to go over the Cantril course. On average, I would say I spent 1-2 hours every day, including weekends (more on the final days leading to the exam). We get a learning day at work once every two weeks, and I would spend 5-6 hours on those days.

Anyway, I followed the Cantril course with the Maarek course. From day 1, I also spent around 15-20 minutes a day going over pre-made flashcard decks. Once I finished the Cantril course, I started going over the exams and putting all the exam questions in my own Anki deck. I did Brainscape flashcards - they're pretty - when I got bored. Lots of mock exams and reviewing in the final days leading up to the exam. That's it!

Would I change anything if I had to start it all over again?

No, I don't think so. Do more labs and practical work (the Cantril labs are excellent with very clear walk throughs), and make sure that the knowledge sticks more, but the rest was great. Booking the exam early on puts that extra bit of motivation to get things done.

]]>
Resurecting a file deleted from a git repo 2023-02-16T09:47:37Z https://includejs.dev/notes/resurecting-a-file-deleted-from-a-git-repo/ Using Git, what's the best way to get back a file that you have previously deleted?

There are two options - that I know of -, git checkout and git restore.

Both git checkout <commit> <filename> and git restore --source <commit> <filename> allow you to restore a specific file to the state it was in at a particular commit.

But there are some differences in how they work.

The git checkout <commit> <filename> command updates the file in your working directory and in the index to match the specified commit. It effectively changes the HEAD pointer to the specified commit, then updates the file to its state at that commit.

This can cause potential problems if you have changes in your working directory that conflict with the changes you are trying to restore. In such a case, Git will show you an error and ask you to commit or stash your changes before proceeding.

git restore --source <commit> <filename> command restores the file in your working directory to the specified commit, but WITHOUT updating the index or changing the current branch.

Most commonly, this is used to undo changes you made to a file in your working directory while leaving the other changes intact.

Meaning git checkout <commit> <filename> changes the HEAD pointer AND updates the file in the index, while git restore --source <commit> <filename> ONLY restores the file in the working directory and does not change the HEAD pointer or the index.

So, if you want to restore a file to a previous state without affecting other changes in your repository, git restore is typically a safer command

]]>
2023 - a year in review 2023-01-07T19:38:20Z https://includejs.dev/notes/2023-a-year-in-review/ Life

2022 was a year of moving. We started the year in Brussels but preparing to move back to the UK. Because we knew neither of us would have to work in the office, we decided, why not, let's live somewhere picturesque. Mid-January, I flew to Manchester to find us a house to rent in the Lake District for the next nine months, cause you know, ideas!

Optimistically, I thought it could all be done in a week - it took me four weeks instead! Luckily I'm a pragmatic packer.

I spent the extra weeks working from an Airbnb in Manchester, buying us a used car (Mindy!) and some basic furniture (the house we were renting came unfurnished, and our stuff was 🐌 somewhere between Brussels and the UK). Then off to Milton Keynes with a train, sleep, rent a car with Neil, drive to Brussels, the band re-united, wife, dog, cat, cat, all there, sleep and head back to the Lake District, boom!

Then the lovely lake district until October with lots of walks and swimming in lakes and us living from boxes and makeshift furniture - knowing we'll move soon, we wanted to keep most of our stuff packed and buy only a little furniture. #glamping

Valerie did her language immersion in September in Greece, so we spent almost five weeks apart. Did not particularly enjoy that, no.

But, on the plus side, Valerie and I have been together for more than 11 years now and are still very much in love!

Then another road trip to Athens, this time to it took us six days - oh, but it was gorgeous - including a 23-hour ferry from Italy (yes, the pets were there with us in the tiny cabin) and then finally Athens, where we're now and will be for the next four or five years. (And no, we're still not fully unpacked...)

Work

I switched jobs! VIBBIO, was my first full-time job as a software developer, but after three years, I wanted to try something else. The job-hunting process was (surprisingly!) smooth (it took me around three weeks from start to finish), and I've just passed my six-month mark at Lottie.

Friends and family

Yet another year of Zoom: the weekly family hangouts, chatting with my sister, the movie club, the study groups, and playing board games online.

Friends came to visit us in Lake District, too; lots of walks and exploring, kayaking, and trying not to be offended by all the rain and wind.

Health

Following the Got7 concert in the O2, we both got covid. I got hit quite hard, was really poorly for two days, and was super weak for another 2-3 weeks. Stairs remained a challenge for quite some time.

Our precious Gytha 🐕 got an eye - we thought tumor, for sure, and imagined the worst scenarios, it turns out (for now!) it's benign, and we just have to keep an eye on it. 🥁

I've mostly stopped eating dairy products: no eggs or milk. The only issue since moving to Greece is feta cheese, which is everywhere. But in any case, when at home, we eat vegan + some fish.

I've been good with exercise: lots of running, some bodyweight training (I will learn how to do those handstands, damnit!), and recently some weight lifting.

Learning

Anki

I use Anki every day, first thing in the morning, for 45-60 min. I use it for Greek, Chinese, Spanish, programming, keyboard shortcuts, general knowledge, and anything I want to remember.

Obsidian

I don't know when I started, but 2022 was the year I started using Obsidian for all my note-taking and note reviewing. I love it. I keep experimenting with how I use it (daily notes or not, data views, tagging, links, styling, themes), but the core features - markdown files and easy file creation and linking - remain unbeatable. Unfortunately, this is also the main reason why I hardly write any blog posts these days.

Languages

I've been learning Greek for over a year now and consider myself at an intermediate level. Most of it has been self-study, plus I've had two hours of 1:1 classes since June.

For most of the year, I've also had weekly 1:1 Mandarin Chinese classes just to maintain my level. I've stopped when things have gotten too busy with the move to Greece and haven't restarted yet. I don't think I have the brain power at the moment.

Programming

Because of Lottie, I've had to pick up NextJS and Tailwind. I've also spent a lot of time improving my TypeScript skills.

Miscellaneous highlights

  • Ana and Neil visiting - wherever we are
  • Concerts: Another Fine Fest (the fantastic Ulverston festival), Got7, Jacob Colier
  • Escape rooms!
  • Boardgame cafes and playing lots of different boardgames!
  • Driving around the Lake District
  • Generally, spending a lot of time outdoors: running, hiking, kayaking, trying windsurfing for the first time, and swimming in the sea in December.
  • Going back to Slovenia and seeing my family healthy and the niblings growing up.
  • Hiking (2000m peak in the Alps) with my mom and aunties in Slovenia!
  • Golden State Warriors won the NBA championship!
  • Moving to Greece - have I mentioned that the weather and the food here are incredible?!

Goals for 2023

- Learning (programming): Docker, AWS, Racket, maybe learn Vim? 🤷‍♀️ Get really good at TypeScript. - Learning (languages): Get Greek to an advanced level - Mentoring and organizing: get back to mentoring and organizing study groups once I've recovered from the move.

  • Generally try a lot of new things: new friends, experiences, places, food, drinks, dancing, singing, sports.
]]>
Best online resources for learning Modern Greek (IMHO!) 2022-11-06T14:38:37Z https://includejs.dev/notes/best-online-resources-for-learning-modern-greek-imho/ A collection of the best online resources for learning Modern Greek (2022)

Learning the Greek Alphabet

You will need to learn the alphabet before doing anything else 😅.

  • Duolingo has an alphabet learning section (note: I only use Duolingo - the free version - on my laptop. I'm not too fond of all the commercials and gamification you get on the mobile version)

These YT videos:

Vocabulary

  • Duolingo - I've been doing around 50px every day for the past year
  • Memrise - the quality of decks will vary
  • Clozemaster - great app for practising vocab and reading (it's free, but you can skip the ads with the paid version)
  • Anki - by far my favourite resource. I religiously use Anki every day for about 50 minutes each day. Half of that time is spent on Greek, the other half on reviewing other languages and learning programming and other things relevant to my work as a software developer (keyboard shortcuts, programming concepts, useful snippets of code etc.).
    I heavily rely on shared decks (browse here, but if I encounter a word or phrase I particularly want to remember, I add it to my Anki too.
  • Babadum - colourful flashcards (many languages supported) - I used it a lot in the beginning when I was learning how to read

Speaking

  • I use iTalki for 1:1 language classes

Grammar

Listening

  • Easy Greek videos + podcast! Totally worth subscribing and getting the video transcripts and the vocabulary lists (that you can then import into Anki)
  • Hellenic American Union 80 podcast episodes

Writing

Note: I recommend buying Greek keyboard stickers, which you can tape over your computer/laptop's keyboard

  • practice typing in Greek

Culture

  • I've watched many movies (my favourite ones: 1968, Xenia, Brides) and listened to a lot of Greek music (Marina Satti!). Just anything that I could find online. 😊
]]>