JosiasAurel

JosiasAurel

0-day streak
day 3 of #10-days-in-public, spent some time in the source of tyvm but frankly majority of my day was spent doing documentation type of things and dev work for an event
https://scrapbook-into-the-redwoods.s3.amazonaws.com/5b1411ef-16f5-4236-a8bb-a1557f7ec6c6-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/0289c647-35f0-4cae-ae5d-eb0df2e0f5a1-image.png
10daysinpublic emoji
day 2 of #10-days-in-public reading through the source of tyvm to learn a few tricks 🏯
https://scrapbook-into-the-redwoods.s3.amazonaws.com/e3d8fe47-a2a8-455c-805c-906cfc276bd3-image.png
10daysinpublic emoji
Day 1 of #10-days-in-public: I'm very late but here's an update -> Implemented Power, Square Root and Multiplication operations in my VM and created this pattern
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9ef1a5a6-73dc-4f08-b088-228ea8b4fe43-image.png
getting back to work on a project i've been procrastinating on: a virtual machine which I'm writing in... yes you guessed it wrong... Zig :clapping: more updates will go into my personal channel #josias-nest
nice100 emoji
wom emoji
if you're using Python on Mac, you might want to run the "Install Certificates.Command" script especially if you get a SSL certificate error when making network requests
https://scrapbook-into-the-redwoods.s3.amazonaws.com/32c01e0d-ff76-46e1-9acb-c88c7b7d28bc-gfvafr_weaeq-hi.jpeg
[testing] here is a random xkcd comic
https://scrapbook-into-the-redwoods.s3.amazonaws.com/a1590645-57df-44d1-b069-4fd557f4e9af-image.png
some random screenshot for testing purposes
https://scrapbook-into-the-redwoods.s3.amazonaws.com/b7ae9b19-a4ee-4b2c-a1f8-49d07a93c4d5-Screenshot%202024-02-05%20at%2004.37.53.png
wrote a stupid script that would spawn 400+ threads on my Mac and instant regret 🤦‍♂️
https://scrapbook-into-the-redwoods.s3.amazonaws.com/daa3239b-49c5-41a6-bb2b-a634398f01bb-img_2900.jpg
[test] 60mb video file (original was 1GB)
[test] video i found on the internet
[testing] (some code i wrote for a challenge)
https://scrapbook-into-the-redwoods.s3.amazonaws.com/83acb5b2-500e-461a-a1d4-5d0e6ae8cb85-image.png
Tried to scrapbook your ship with links but scrappy rejected because there is no image? Well, fret no more! Now if your post comes with a link having a snazzy image preview, scrappy will gladly take it! github.com/hackclub/scrappy
https://imgutil.s3.us-east-2.amazonaws.com/7687819ce2fbd013d3a01a655a62a0468285980d8a91e95d94400efb55074ab0/f913c46a-df76-4a9f-8592-3a1b258d34a6.png
https://imgutil.s3.us-east-2.amazonaws.com/841c059ea76c2c2ceed56654ea63ac4500a117f9404eb2ccafc83d17bd75337a/d426a1b2-55ee-4413-9200-ef34441f418a.png
just testing... found this on unsplash
https://scrapbook-into-the-redwoods.s3.amazonaws.com/0774ea09-1540-4f3c-8902-af4ee675dc06-dippyaman-nath-alvvgqsy4ac-unsplash.jpg
beautiful
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3eef4376-58c9-4919-8eb4-1c431ebe1d1d-image.png
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9dd0a26f-4dbc-42d0-af3e-cb58b8225c40-image.png
woke up at 3am today and mostly spent time installing and setting up Raycast till like 6am. I don't regret doing that!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d41838ab-bcd5-4999-bb01-de399611044c-image.png
found this via a discord server
https://scrapbook-into-the-redwoods.s3.amazonaws.com/5cf0504e-b74f-4450-afed-3668ca4a993c-screenshot_2023-12-12_at_13.58.27.png
This guy has been stuck here for a while and needs your help
passive aggressive way of saying "your internet is trash"
https://scrapbook-into-the-redwoods.s3.amazonaws.com/f3b4df3c-bed9-4e5c-837a-476227a230b5-image.png
skull-ios emoji
just a random bird for testing. hello
https://scrapbook-into-the-redwoods.s3.amazonaws.com/4fe5f880-79d4-497b-bcfc-1e6f66a8707b-721b99bb-ce5d-4ac7-ad03-90878579860d.sketchpad-removebg-preview.png
rocked a new record at typing !!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/0ae889bf-fd69-43a7-83be-823857cd1abc-image.png
looked into python context managers
https://scrapbook-into-the-redwoods.s3.amazonaws.com/87d94328-8564-4149-bd33-6a5350b4f338-image.png
dear dictionary, WHY??
https://scrapbook-into-the-redwoods.s3.amazonaws.com/f96a3911-ebd1-467b-9e64-7e35b3347269-image.png
skull-ios emoji
forgot to post this weekend but began working on a pacman-like game called "pacbot". I'm using emojis cuz I'm too lazy to draw proper characters. hoping to ship this soon #100-days #100-orpheus
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d7634dd7-a738-4373-8802-8b6f8a282ccc-image.png
Forgot to post yesterday. I got my sprig, assembled and played my game on it yay!! + some stickers
https://scrapbook-into-the-redwoods.s3.amazonaws.com/a60b5d3f-884d-409b-a52c-5986346155d1-43e4dd0b-5874-4d92-83af-9a2ce0076ca9.jpghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/562203c1-5e2c-483c-95e6-ec66d30bf05e-7b2ea2d1-40bd-4bf8-9fac-60afe9a77881.jpg
definitely not trying to cheat scrappy 😇
https://scrapbook-into-the-redwoods.s3.amazonaws.com/5d03513c-5114-43a9-83e0-f40c70284f56-image.png
eggsdee emoji
investigating some issue in scrapbook
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d7a5313a-a9f5-4d1a-88f5-da1de9ab66f0-image.png
still a post to see if it posts to a different scrapbook account
https://scrapbook-into-the-redwoods.s3.amazonaws.com/042ae889-e40f-45b9-ba65-0206413b8945-Screenshot%202023-11-07%20at%2014.12.05.png
first scrapbook post on the staging environment... image didn't upload successfully but it seems to be working alright though
https://scrapbook-into-the-redwoods.s3.amazonaws.com/2a19c447-f665-445c-b917-e4fa59a78502-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/fa56aa67-1e60-4037-beb9-3b311e841293-image.png
yay emoji
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/1da3ba59-2441-4be3-a340-2b4b05afd770-screenshot_from_2023-03-23_18-24-06.png
this is not corn 😐
https://scrapbook-into-the-redwoods.s3.amazonaws.com/b771cf29-d117-4345-aeea-9873279ca08d-raphael-rychetsky-li9jfuhqfoy-unsplash.jpg
something else now please work... this should be fun
https://scrapbook-into-the-redwoods.s3.amazonaws.com/843a850b-942e-42de-b59f-258a677c1520-sincerely-media-wnmonqihpwq-unsplash.jpg
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3ab941cb-c38c-4961-9df6-8e07d6997cec-other.png
something something with a this should be striked and s
https://scrapbook-into-the-redwoods.s3.amazonaws.com/97908411-8cbf-459b-8a2b-cc32a3239b15-other.png
this post will be retroactively watched -- I'm misusing the term retroactive
https://scrapbook-into-the-redwoods.s3.amazonaws.com/0cd6cfbc-6d2b-4e14-8e23-bca3c5f56506-flower.webp
First 100-days posts -- been following the Crafting Interpreters book here and there and got a basic parser working in Java
https://scrapbook-into-the-redwoods.s3.amazonaws.com/a91898c5-0d4d-477b-bacb-2026b0f14d64-image.png
this should not go through
https://scrapbook-into-the-redwoods.s3.amazonaws.com/0b8a2966-c348-4fb9-a375-c0a7b623184b-sample.webp
this should not go through
https://scrapbook-into-the-redwoods.s3.amazonaws.com/dda96c83-a151-4345-b243-a29ad23f70e9-sample.webp
scrappy-retry emoji
scrapbook now supports .webp images
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9d9d55b4-0dba-44ea-8775-696850a7a8bd-flower.webp
hugo-smiel-dot-webm emoji
this lion is cool
https://scrapbook-into-the-redwoods.s3.amazonaws.com/91249b0a-f7a5-4df5-ba5d-d439c3f5085e-example.webp
just making a web post
https://scrapbook-into-the-redwoods.s3.amazonaws.com/fe378b42-774d-481f-960e-9ad5101b45aa-Screenshot%202023-10-26%20at%2018.01.23.png
this is not an orange \<3
https://scrapbook-into-the-redwoods.s3.amazonaws.com/18d55dbe-c527-40cf-b2bb-52c5ecc9fb8f-image.png
ah just adding a <3 from the web editor
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3000b17b-d2ce-4e28-a317-42c0c259c6c5-generator.png
i got this picture from lorem picsum
https://scrapbook-into-the-redwoods.s3.amazonaws.com/e34e09e5-763f-4997-8fd6-3e335f9c2d34-random.jpeg
got this from the Zig Showtime newsletter and someone has a Zig project with the same name as one of my Zig projects
https://scrapbook-into-the-redwoods.s3.amazonaws.com/475da5e5-5957-4841-badd-ccc75b0bc3d8-image.png
scrappy-retry emoji
got this from the Zig Showtime newsletter and someone has a Zig project with the same name as one of my Zig projects
https://scrapbook-into-the-redwoods.s3.amazonaws.com/8c096b31-a760-4c0a-ace8-8d86c3b74fdf-image.png
scrappy-retry emoji
got this from the Zig Showtime newsletter and someone has a Zig project with the same name as one of my Zig projects
https://scrapbook-into-the-redwoods.s3.amazonaws.com/c9e1a647-9384-401d-a5cf-104c6c8d3c24-image.png
orpheus emoji
adding dark mode to the Sprig editor... was harder than I expected :face_holding_back_tears:
sprig-dino emoji
how nice this site using up ~3GB memory and crunching CPU
https://scrapbook-into-the-redwoods.s3.amazonaws.com/0405fa98-9db3-4a99-9f39-a17cc4c28dea-image.png
got spade running locally :yay:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/40291fad-579f-4b38-bff7-d32eed157468-image.png
yay emoji
sprig-dino emoji
nice100 emoji
Dear scrappy, work this time
https://scrapbook-into-the-redwoods.s3.amazonaws.com/671f3dd5-0b7f-429f-8944-04931254a772-image_480.png
scrappy emoji
investigating why scrappy isn't working alright... found this random picture from the internet
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d2c315c9-0b00-4cd6-b038-a0eb7b7051e7-image.png
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