Tumgik
lazar-codes · 2 months
Text
06/03/2024 || Day 21 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 went to ASL class
🔸 cleaned my room
------------------------------------------------------------------------------
So, I was gonna be productive today, but I got an email from a school in Ireland saying that I got accepted in their Human-Computer Interaction Master program, so I couldn't focus on anything today. I still need to think it over and accept, but yeah, that's cool!. That, plus I'm flying to my home-town tmr and I'm a nervous flyer, so my brain has not cooperated with me today.
10 notes · View notes
lazar-codes · 2 months
Text
05/03/2024 || Day 20 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 learned arrays in PHP
🔸 sketched a page in my sketchbook
------------------------------------------------------------------------------
Work
5in5weeks - I only covered 1 thing in PHP today, and that was arrays. When watching the video on them, I was thinking that they function more like dictionaries or maps, and had that suspicion confirmed when I went on the official documentation and it said that "An array in PHP is actually an ordered map". Good thing I've worked with maps a lot in my personal projects...
💌 Day 2: What are your three goals with learning PHP?
Honestly, my only goal is to get the basics of PHP down so that I can get familiar with it and maybe work more with it to the point that I'm comfortable enough with adding it to my resume. I'll look at what type of projects I can build using PHP later.
0 notes
lazar-codes · 2 months
Text
04/03/2024 || Day 19 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 started learning PHP
🔸 started learning Blender
🔸 sketched a page in my sketchbook
------------------------------------------------------------------------------
Work
Volunteering - Last week was tiring, but fun! The event that I was volunteering at focused on people with intellectual disabilities, and I was part of the health screening section (though I was merely recording data, not conducting the screening). This event had people from all over Canada too. Because of that I had to brush up my french skills, which I haven't used in nearly 8+ years, so that was a struggle. What was less of a struggle was communicating with ASL!! I had one person who was deaf and when I realized it I was able to sign to him! Mind you, when he signed back I didn't 100% understand him because I was too focused on what I was signing, and I definitely made a few mistakes, but I'm still really happy!
5in5weeks - Ok, @izicodes made a challenge 2 years ago to spend 5 weeks learning 5 programming languages, and I thought that was a super good idea and that it would help with my burnout. (link to the project can be found here). Now, I'm gonna be taking weekends off (and I'm out of town for the next few days later this week), so I won't be doing this daily, but I'm gonna try my best not to take random days off. That being said, I'm starting this off with PHP! I covered some basics today by watching a youtube playlist, and I probably won't get through all 100+ videos in a week, but my aim with this challenge is to get the basics done and create something simple. After this challenge, I'll delve deeper into the languages that I like.
💌 Day 1: What are you most looking forward in learning PHP?
I had to use PHP for a class about 2 years ago and I asked my friend to help me (because I had no idea what was going on and it wasn't taught in class), and he basically did the work. Now, I keep on seeing PHP as a requirement for job applications, so I decided to finally get started on learning it. I actually applied for a job half a year ago and they emailed me asking if I knew PHP, and having to say no made me feel like garbage. So...time to change that.
Art - I've been wanting to delve into 3D art for a while now. 3 years ago I looked up the classic donut tutorial for Blender, but that's it. Now I'm gonna do the same thing, but this time progress past the tutorial and actually make things on the regular with it. Hopefully I will be as obsessed with it as I was when I was first learning how to draw, and just pump out as much as I can (quality doesn't matter at the starting point). There's just so much to the interface for Blender that you need to learn...it's overwhelming and intimidating.
5 notes · View notes
lazar-codes · 2 months
Text
5 programming languages in 5 weeks | #5in5weeks Coding Challenge 💻
Tumblr media
Hiya hiya! I wanted to create a challenge for myself but thought why not share it with other people! I decided I should dip into learning a bit of the programming languages I wanted to learn but always said “I’ll learn them later!” Later might never come with how busy I have become these days, so learning just the beginner stuff will suffice for now! And that is what the challenge is!
The challenge itself does not only have to focus on programming languages (I only said 5 programming languages for the people who are really new to programming or only know 1 or 2 languages) but the challenge can include frameworks and libraries.
Example programming languages:
☀ Java
☀ JavaScript
☀ C / C++ / C#
☀ PHP
☀ Ruby
☀ Python
☀ GO
Tumblr media
☀ Pick 5 programming languages you want to use for this challenge - bonus points if you never worked with the language in the past
☀ Learn the basics of each language e.g. syntax, what environment to work in, learn how to print, basic maths, etc
☀ Learn each language for 7 days - it does not need to be 7 days in a row (those who are extremely busy) but bonus points if you do 7 days, 5 weeks consecutively
☀ Use the hashtag #5in5weeks or #5in5WeeksCodingChallenge - to track your progress for your blog and for others to see on Tumblr (or anywhere really)
☀ OPTIONAL: you can include pictures on your posts
☀ OPTIONAL: on the 7th day of each language, build a simple, basic project! You can share it on your post, if you wanted
Tumblr media
In the posts, you can talk about what you learnt about the language. If you wanted, you could include the resources you used to help you learn. Talk about what you found easy to understand and what was hard to get the grasp off! But to be honest, you can talk about anything!
If you choose to include the mini project at the end of the week, you can talk about the project, again including the ups and downs!
Tumblr media
These prompts are completely optional! But I will definitely be using them~!
💌 Day 1: What are you most looking forward in learning [insert prog. language]?
💌 Day 2: What are your three goals with learning [insert prog. language]?
💌 Day 3: How do you print “Welcome to Earth!” in [insert prog. language]?
💌 Day 4: What has been easy so far from learning [insert prog. language]?
💌 Day 5: What has been difficult so far from learning [insert prog. language]?
💌 Day 6: Favourite topic so far from learning [insert prog. language]?
💌 Day 7: Will you continue learning [insert prog. language] after this challenge? Why?/Why not?
Tumblr media
I really hope I can complete this challenge! I really want to try some languages I have been scared of continuing or trying, e.g. C++...
Again, this challenge is more for me to track my progress but anyone else can join!
That's all and have a happy day programming! ♡
67 notes · View notes
lazar-codes · 2 months
Text
28/02/2024 || Day 18 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 went to ASL class
🔸 worked on responsiveness for Frontend Mentor project
------------------------------------------------------------------------------
Work
ASL - Some of my classmates have said that I've gotten really good at reading fingerspelling...all of my practice is finally paying off! It feels good.
Frontend Mentor - I started working on the responsiveness of this project and am mad at myself for not doing this at the start of the project...
0 notes
lazar-codes · 2 months
Text
27/02/2024 || Day 17 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 worked on final results functionality for Frontend Mentor project
🔸 sketched a page in my sketchbook
Tumblr media
------------------------------------------------------------------------------
Work
Even though I'm not working much this week, I picked up some volunteering shifts for an event being held in my city this week, so it'll be a slow week in terms of programming. Yesterday was set-up day and today my body hurts from that (and my work shifts involving lifting heavy boxes too).
Frontend Mentor - So...I think I finished the functionality for this project today...? I'm convinced this it the ugliest code I've ever written, but hey, it works! And it's a small enough project that it's not the end of the world. There was a lot of internal debating on whether or not I wanted hard-code certain parts or ensure that it'll be scale-able/is dynamic, but again, because it is a smaller project I didn't feel too bad to hard-code some aspects. And for the rest of the week, I'm gonna suffer while making this responsive.
Art - I gotta say, my hard work at sketching horses for many pages last year has paid off, because I've been re-watching Bojack Horseman and I can draw him in my style without him looking weird. Hooray! I also got some more graphic novels from the library, so hopefully my art inspiration and art motivation will continue, because I'm having a lot of fun doing art again. It's a shame there are no good artist spaces online to share it.
11 notes · View notes
lazar-codes · 2 months
Text
22/02/2024 || Day 16 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 added ASL words from class to flashcard program
🔸 sketched a page in my sketchbook
🔸 finished drawing of my BG3 character
🔸 go to local board game cafe for Magic the Gathering night
------------------------------------------------------------------------------
I decided to take today kinda easy so I didn't work on my Frontend Mentor project (mostly because I'll be working for the next few days and I wanted a day off today). Instead, I decided to be productive in the artsy way and finished my drawing that I started yesterday, and I'm super happy with it! I also decided to treat myself today and go to the bookstore before heading to Magic, and got myself another graphic novel and a non-fiction book by an author I like! I couldn't find the first book in the series for the graphic novel, but I figured I might as well grab the sequel since I'm there. I noticed that I got super inspired with the other graphic novel that I bought (which I think can be seen a bit in my art now), so I want to continue to find books I can buy and look at for inspiration! It feels super good to want to draw again.
Tumblr media Tumblr media
10 notes · View notes
lazar-codes · 2 months
Text
21/02/2024 || Day 15 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 worked on add-on functionality for Frontend Mentor project
🔸 went to ASL class
🔸 sketched a page in my sketchbook
🔸 started (and nearly finished) drawing of my BG3 character
------------------------------------------------------------------------------
Work
Frontend Mentor - Today I was trying to figure out how I wanted to tackle the optional add-ons for this project, and came to another roundabout way of doing so. Because these are optional, I'm storing the addons as their own property within my user property, and recording if the user selected (or de-selected) that one. I do this by waiting for a change in the checkbox status. If it's checked, then I add it to an array variable keeping track of the selected addon(s). Then, on any type of change (either in checkbox or when changing from monthly to yearly payment), I call a function that will check to see if the current values in my user.addon properties match with the correct expected values. If not, then I replace the current value with the correct value. To do that, I iterate over my addonServices object that contains the data I'll pull, and see if each property in that object is found in my array of addons the user selected. If it is (meaning, the user has selected that addon), it'll fill the appropriate user.addon property with the value depending on whether the payment is monthly or yearly. Again, I used the same code to gain access to object properties dynamically. And hey, it works! Anytime I add or remove an addon, it gets added or removed from the array, or anytime I change the payment frequency, then that update function is called. Now I can start to work on showing that with the HTML...tmr.
Tumblr media Tumblr media Tumblr media
1 note · View note
lazar-codes · 2 months
Text
16/02/2024 || Day 14 (dop)
TLDR:
🔸 practised ASL fingerspelling
🔸 worked on switching the payment amount based on payment frequency (i.e. monthly to yearly, vice versa) and started code for dynamically outputting the results for Frontend Mentor project
🔸 sketched a page in my sketchbook
Tumblr media
------------------------------------------------------------------------------
Work
Frontend Mentor - I started to tackle the big things today in a very distracted manner. The first thing that I needed to do was to figure out how to access object properties dynamically, so that way I don't need to have a million if-else statements and hard-code the values. So I created a user object that will contain all the appropriate info for the user that I can then display at the end (in step 4), and a payment plan object that'll contain the name of the plan, and the monthly and yearly rate. This way, when filling out the user info for the plan, I can use my local variables to find the info in the payment plan object and "copy" it to the user's info. It was a pain in the butt to do and I still don't understand it, but hey, the code works! Essentially, I created a variable that was a template literal containing the specific field I want, but making it be a template literal allowed me to have the variable change and not be hard-coded. Then, the code goes to the correct object property and I can assign that value to my user object's appropriate property.
Tumblr media Tumblr media Tumblr media
Now with this janky code working, I can start to wrap up the functionality of this project!
5 notes · View notes
lazar-codes · 2 months
Text
15/02/2024 || Day 13 (dop)
TLDR:
🔸 added words from yesterday's ASL class to my flashcard program
🔸 worked on button functionality and user input functionality for Frontend Mentor project
🔸 sketched a page in my sketchbook
🔸 finished current book!
🔸 go to local board game cafe for Magic the Gathering night
------------------------------------------------------------------------------
Work
Frontend Mentor - So, I didn't do the thing I said I was going to do. I ended up working on the functionality for user input and started on error checking and error notification for invalid user input. I didn't even finish that, but that's ok...here's the code for checking for a user's name, email, and phone number (I have yet to add the proper code to check for a valid phone number)
Tumblr media
This function gets called when the user is at Step 1 and hits the "Next Step" button. If all the information is valid, the user will then move onto step 2, but if not, the user will remain at step 1.
I was also thinking of how to store some data, and thought of using a JSON file. However, Typescript is making it super annoying to import and read a JSON file, so in frustration I've given up and just gonna make my code inefficient.
3 notes · View notes
lazar-codes · 2 months
Text
14/02/2024 || Day 12 (dop)
TLDR:
🔸 practised ASL fingerselling
🔸 went to ASL class
🔸 worked on button functionality for Frontend Mentor project
🔸 started planning new illustration
🔸 read current book
------------------------------------------------------------------------------
Turns out that when I pick up extra shifts at work, I don't do anything productive when I get home -- including program. I feel like I haven't done any consistent programming since November, tbh. Hopefully I can find it in me to get back on it, but I'm definitely feeling the programming burnout.
Work
ASL class - I just want to say that today we learned about conjunctions after it was introduced to us 2 weeks ago, and dear lord will I need to sit down and practice it a bunch. I'm excited though!
Frontend Mentor - I decided that I want to wrap this project up ASAP, so of course I did only the minimum today. I got the button functionality all working, where they'll appear and disappear at appropriate times. The next thing that I'll do tmr will be to dynamically fill out the information required in the Summary step, which is depending on the user's selections throughout the form.
Art
Much like with programming, I've been putting off sketching, but this time only for the past 2 weeks. I swear, I was at a sketching high in January, where I filled a page almost every day. Especially at the end of January, because I had finished re-playing The Last of Us Part 2 and was a sketching machine filled with inspiration. But then it disappeared once I made a finished digital illustration of one of my fanart ideas. So, to combat the stagnation I feel, I did the unspeakable and picked up a pen and went in directly without pencil lines. Apparently I can't go 2 months without using pen, despite swearing it off since I used it for nearly 4 years straight. And what do you know? I had fun sketching today. I gotta say though, the best thing about drawing in pen is that the sketches really pop out of the page because they're so bold.
Also, I spent last night looking for some graphic novels I might be interested in, but a lot of ones aimed at adults have art styles and don't really vibe with me, so I started looking at kids' graphic novels and found one whose style I fell in love with! I know nothing about the plot, but I'm really hoping that the art itself can inspire me! Plus, it's a nice little Valentine's Day present to myself.
Tumblr media
13 notes · View notes
lazar-codes · 3 months
Text
01/02/2024 || Day 11 (dop)
TLDR:
🔸 added last class' ASL words to my program
🔸 worked on toggle for Frontend Mentor project
🔸 started and finished an illustration for fanart
🔸 started and nearly finished editing and rendering my recording of my illustration
------------------------------------------------------------------------------
I can't believe I'm sick again. I've gotten sick for 3 out of the past 4 months, and I'm annoyed. Luckily this is the mildest illness compared to the other 2, but it's still not fun. All my symptoms have been spread out, so the past 3 days I've had one runny nostril, yesterday I was completely exhausted, this morning I lost my voice, and now the other nostril's runny.
Work
Frontend Mentor - I've been slowly chipping away at this project but now I gotta get my butt into gear because I wanted to finish this in January, and it's now February and I still have a lot left to do. Today I worked on the implementation of the toggle between the "monthly" and "yearly" plans, and I got it to work by changing the display to either the "monthly" or "yearly" cost to be either "none" or "block". This is basically what the HTML looks like, and below's the functionality for the toggle.
Tumblr media Tumblr media
Basically, I get all the elements that have the term "plan_cost" as their class name and for each element, depending on what the toggle is on (i.e. monthly or yearly) I change their display property. I can fix the code to make it not repetitive, but for now it's fine. I've been doing this project using TypeScript and some of my errors are a little confusing, but Google is a good resource.
Anyways, here's what I have so far. It ain't much, but it's honest work;
Art
Ok, I'm gonna do a bit of a ramble here. I've been replaying The Last of Us Part 2 throughout all of January and I finished it last week. It's still an emotionally heavy game, but it did the trick and motivated me to want to draw some fanart. I've been sketching random stuff in my sketchbook almost every day (not lately now that I'm sick but whatever), but there's one idea that I had that I kept on coming back to, and today I had enough energy to sit down, open up Photoshop, and just draw it. And oh man, that felt really good! I haven't drawn in Photoshop in a while because I've been forcing myself to use Procreate, but it's just not the same. I feel like PS allows me to draw with more control of my lines and details and such, and my image just looks sharper than on Procreate. So I actually managed to pump out a piece that looks pretty much how I imagined it would look, and I didn't get frustrated like I would on Procreate. I also recorded my process and was working on making it a speedpaint, but nearly 4 hours of raw footage was rough on my PC and it's already super late at night, so I'll finish up that process tmr. I love making speedpaints and watching them afterwards. At least that'll count for my days of productivity tmr.
6 notes · View notes
lazar-codes · 3 months
Text
22/01/2024 || Day 10 (dop)
TLDR:
🔸 went to work
🔸 practised reading ASL fingerspelling
🔸 submitted grad school applications
🔸 sketched a BG3 scene that I might make into an illustration
------------------------------------------------------------------------------
I just want to say that hitting the "submit application" button for grad schools was the most stressful thing I've had to do in a while. Glad it's done.
15 notes · View notes
lazar-codes · 3 months
Text
If you're looking to host this project on Github pages, I recommend following this tutorial because it's specifically for React projects:
My first React project wooohooooo!!!
Well technically it's not an original project. It's our first solo project in the React course. But I made it a lil' different.
I'm still very proud anywaysss yupeee!!!
______________
Time Management
I find that the Pomorodo technique works very well for me. I usually forget to take breaks when I work and end up getting way more exhausted than necessary. So having a Pomorodo app on my phone helps remind me to. And it makes me feel very rewarded when I'm able to concentrate fully during the 25 mins, without getting distracted . I personally find I prefer to have three 25 minute blocks followed by the 15 minute break, instead of the usual four.
12 notes · View notes
lazar-codes · 3 months
Text
18/01/2024 || Day 9 (dop)
TLDR:
🔸 completed a LeetCode problem (Evaluate Reverse Polish Notation)
🔸 worked on Frontend Mentor project (Multi-step form - Log# 4)
🔸 disassembled and cleaned my PS4
------------------------------------------------------------------------------
Work
LeetCode - today's problem went by quickly once I googled Reverse Polish Notation. Though I still need to do more Stack related questions because I always get stumped on how to use Stacks to solve my problems
Frontend Mentor - here's something really important to know; if you want certain divs hidden and only visible given certain circumstance, you've got 2 options with CSS: visibility and display. Now, I've been struggling for many hours wondering why the height of my div is wrong, and finally remembered that there's a difference between those two properties. Visibility: hidden definitely hides the div, but still takes up space on the page, while display: none essentially removes that div from the page until you give it a value other than none.
Random
I decided to take apart my PS4 and clean it today, and that was both stressful and rewarding. I convinced myself that I'm capable enough of following a youtube video, and after many hours and cuts and scrapes later, I did it! And... the system is a lot quieter than it was before! I was actually surprised by the small amount of dust that the inside had, since I was expecting a lot more. It's technically my friends' PS4, but they "lent" it to me about 8 years ago, and I don't know when the last time they cleaned it was, so I decided today was the day and I call that a success. I gotta admit though, the whole time I was terrified of breaking stuff and feeling like I was in over my head, but I thought what the hell, let's just do it.
3 notes · View notes
lazar-codes · 3 months
Text
16/01/2024 || Day 8 (dop)
TLDR:
🔸 completed a LeetCode problem (Maximum Subarray)
🔸 worked on Frontend Mentor project (Multi-step form - Log# 3)
🔸 practised reading ASL fingerspelling
------------------------------------------------------------------------------
Work
I actually started my day off not with LeetCode, but by brushing up on my (non-existent) ASL fingerspelling skills. I'm comfortable with spelling stuff myself, but the second I read someone else spelling my brain shuts off and I can't remember any of the letters that came before the current one. Luckily there are websites and apps that just show how a word is spelled and you need to write the answer, so with time that should be good. I practised for a week in October and found myself actually getting better, but haven't done it since and so now I need to get good again.
LeetCode - I kinda completed the problem I wanted to today, but couldn't pass a test case so I read some of the discussion for that question and turns out you need to use Kadane's algorithm, and so I ended up googling it and hey, I learned something new today! And it's a simple and straightforward algorithm, so that's even better.
Frontend-Mentor - I'm doing this project in vanilla JS (technically TS), and after not programming seriously for about a month I can feel that my skills have deteriorated, especially with CSS. So far I've just been focusing on the CSS and HTML part of this project, since it's still at the beginning stage, but oh god I've even forgotten the basic CSS properties, and I'm getting more and more frustrated than I should be. But I got one section done and started on the next. We'll see how it goes...
6 notes · View notes
lazar-codes · 4 months
Text
12/01/2024 || Day 7 (dop)
TLDR:
🔸 completed a LeetCode problem (Find First and Last Position of Element in Sorted Array)
🔸 worked on Frontend Mentor project (Multi-step form - Log# 2)
🔸 worked on grad school application
🔸 read 100 pages of my book
------------------------------------------------------------------------------
Work
LeetCode - As I've been doing these past few days, I started my day off with LeetCode, and this time didn't look at other peoples' answers (although the website stopped working for a bit while I was working on this problem, so I stepped away from it and returned maybe 30 mins later). I did, however, check to see how binary search is implemented, but I had notes of that from last year so I'll pretend that's fair game. I struggled a bit with continuing to check the other locations of the target, but I figured out a weird way of doing it. I'm also not super comfortable with recursion despite being taught it a lot, so this was a true testament to how much I understood about it. I also did things pretty inefficiently for this problem and I was laughing at myself for doing it the way that I did, but hey, it passes all the test, so I'm not complaining.
Tumblr media Tumblr media
Grad-school application - shout-out to one of the schools I'm applying to that doesn't tell you your program requires 3 reference letters, and not 2 like the default is for them, until after you've paid the application fee. Time to write another email to another old supervisor and pray he'll say yes even though the deadline is in 10 days.
Reading
It's been super cold outside this week (-25C and worse), which means it's the perfect weather to just curl up and read in the evenings. I've read about 300 pages of my current book (Royal Assassin) this past week and just need to read another 150 more to finish this up! Then, onto a new book! Hopefully it'll still feel like winter so I can read some winter-themed books (though I wouldn't mind it warming up a bit).
Tumblr media
1 note · View note