JosiasAurel

JosiasAurel

8-day streak
Dear Scrappy, work
https://scrapbook-into-the-redwoods.s3.amazonaws.com/c1f8a1dd-641f-4db1-bf98-1a4615ecfdf2-image.png
did some code review on a side-project with a friend. peek at the wip UI
https://scrapbook-into-the-redwoods.s3.amazonaws.com/247002bc-1386-4157-b1ed-2c673514f053-image.png
stuff in here
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9d5610fa-00ba-434f-9952-2cd12e77a7c9-aldebaran-s-uXchDIKs4qI-unsplash.jpg
Doing some work on scrapbook
https://scrapbook-into-the-redwoods.s3.amazonaws.com/6dfdae1b-d68b-412a-a85d-010bc0ed8290-Screenshot%202023-09-13%20at%2015.46.24.png
the beauty of maths
https://scrapbook-into-the-redwoods.s3.amazonaws.com/8b2ebffd-12f3-4ded-af26-349794fce5b3-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/fb7660f0-2c15-464c-83be-9e64121be0d6-image.png
https://scrapbook-into-the-redwoods.s3.amazonaws.com/322f5b40-2982-4d9f-9441-a568cd6ce81d-screenshot_2023-09-10_at_07.04.53.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/e083ae4f-238f-48a5-a9aa-ff6fd96923d1-image.png
summer-of-making emoji
github emoji
https://scrapbook-into-the-redwoods.s3.amazonaws.com/40cbcf97-db11-4a39-8278-7822412219f1-screenshot_2023-09-10_at_07.04.53.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/688d87c4-2399-424f-ba48-841542eef1a5-image.png
wrote a Sudoku solver in Zig -- learned some memory management-related stuff and some weird tricks peculiar to Zig... like putting a variable in a struct automatically makes them static and will live for the lifetime of the program
https://scrapbook-into-the-redwoods.s3.amazonaws.com/a20cfe26-e3ec-4404-9799-05739c7e9a46-image.png
doing some scrappy testing
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9b01d5cc-c96b-4c15-b4d6-ca255bd3bfd4-image.png
summer-of-making emoji
scrappy emoji
did some Rust :rust: coding today and enjoyed it! I built a CLI that takes in boolean expressions, parses it and outputs the result after evaluating it source code: github.com/JosiasAurel/booltable
https://scrapbook-into-the-redwoods.s3.amazonaws.com/031df037-a3f2-49b0-b8b0-77fae3dbff68-screenshot_2023-08-27_at_15.53.22.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/78c9f874-868c-480e-9991-c42fb97ad050-screenshot_2023-08-27_at_15.53.49.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/9631e6b6-7cbb-4739-aec7-661d669f7675-screenshot_2023-08-27_at_15.53.00.png
learned a bit about bigrams and created a simple model to predict names using it following zero to hero
https://scrapbook-into-the-redwoods.s3.amazonaws.com/b75872b3-2afe-4823-987a-12a19467c7f2-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/99c98c3e-549d-423a-8a58-017ee669df6f-image.png
wrote something to evaluate math expressions using the Pratt parser technique in Rust :rustlang:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d2ba3808-9ba5-4d9e-854c-5157f54961a0-image.png
rustlang emoji
first time my M2 air overheats and got me super worried while running the Hello World example from Raylib. Turns out I had to set FLAGVSYNCHINT before InitWindow. TIL V-sync tells the program to synchronize with the framerate of my display :thinkies: PS: yes this is Zig :swedenparrot:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/84914899-33bc-4178-8e53-3c8c3b23579c-image.png
Not much today. Took some time to rewrite my markdown to html converter in C using stacks as per @GrahamDarcey's recommendation. It works better Still room for improvement tbh but I'll call it a day. Also the code is shorter :thumbsup-dino:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/ad86b0c6-f5bb-4d80-8416-0158ce8b5aae-img-20230625-wa0034.jpghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/67c51e7a-b5f4-48d5-aaf6-187a855e52a4-img-20230625-wa0035.jpg
nice100 emoji
Ok, I finally fixed why my personal website was not rendering OG images when sharing links on social media. Also did some styling and improvements on the writing and reading experience overall Here's an old post for testing josiasw.dev/writing/programming-paradigms
https://scrapbook-into-the-redwoods.s3.amazonaws.com/eb90134f-6fa7-401a-940c-35e8f24e9035-image.png
spring-of-making emoji
Another day of Zigging. So I improved my math parser to take on more complex expressions and evaluate them. Basically it takes the expression and builds a tree for the entire expression and then evaluates it from bottom to top with zero allocations. It doesn't yet support operator precedence though but I'm happy at how it turned out. Also I had to write my own functions to convert from string to numbers and vice versa. PS: Pointers are a nightmare somtimes :icri:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/2b374443-c902-4871-ba3d-971b46b622ce-image.png
spring-of-making emoji
Today I spent some more time Zigging. Trying to improve my text calculator to support nested operations. Dealing with errors for now but it was fun to build many things myself like a function to convert from a string to a number and such.
https://scrapbook-into-the-redwoods.s3.amazonaws.com/44f2731a-69b2-429e-acb4-c138fa4e7fee-image.png
spring-of-making emoji
New post after a while. Today I spent some time doing the arithmetic arranger challenge from FreeCodeCamp. It was quite interesting to solve this problem and gradually build a solution. The final result is good looking
https://scrapbook-into-the-redwoods.s3.amazonaws.com/f6266ef7-27cc-44b1-8eb1-22e1c201e58f-arranger.png
New post after a while. Today I spent some time doing the arithmetic arranger challenge from FreeCodeCamp. It was quite interesting to solve this problem and gradually build a solution. The final result is good looking
https://scrapbook-into-the-redwoods.s3.amazonaws.com/83b8f4e7-ac40-40b1-8bda-b49f3d822721-powershell_-_interview-prep_-_visual_studio_code_5_24_2023_3_51_33_pm.png
I've always wanted to build something concrete with Zig. So today I built this CLI that allows you to convert from one timezone to another. Source (+ linux binary in release): github.com/JosiasAurel/dt
https://scrapbook-into-the-redwoods.s3.amazonaws.com/b32a9d24-e147-4769-803a-b98e25362f02-image.png
spring-of-making emoji
Finished drafting my manifesto and got back to the coding part. Created xarray data trees and printed them to the console. Figuring how to move DataSet from one parent node to another
https://cloud-h2ttg0kw0-hack-club-bot.vercel.app/0screenshot_20230314-184315_drive.jpg
wom emoji
Cloned the xarray data tree repo to start contributing for internship. Installed the Dev version locally. Ooffff next up is making some more changes on sinerider scoring service
https://cloud-ptpsd54sc-hack-club-bot.vercel.app/0img_20230313_150328.jpg
wom emoji
Spent some time putting together a manifesto for a personal project (will hopefully have something to show off soon) Woke early this morning to get some coding. Download the LLVM source to complete a task but 6hrs into the build it failed (due to insufficient RAM) ;( How's your Sunday going 🤧
https://cloud-3z0m9l646-hack-club-bot.vercel.app/0img-20230312-wa0015.jpg
wom emoji
https://cloud-2p5oa87kn-hack-club-bot.vercel.app/0image.png
c emoji
wom emoji
Epoch being unix
https://cloud-kajst9ygl-hack-club-bot.vercel.app/020221230_200144.jpg