did some code review on a side-project with a friend. peek at the wip UI
stuff in here
Doing some work on scrapbook
the beauty of maths
did some improvements on my sudoku solver and it can now solve hard sudoku problems (tested using nytimes).
Source: github.com/JosiasAurel/sudoku-solver (Zig)
ps: took me 5 mins to copy-paste into the web app 😄
did some improvements on my sudoku solver and it can now solve hard sudoku problems (tested using nytimes).
Source: github.com/JosiasAurel/sudoku-solver (Zig)
ps: took me 5 mins to copy-paste into the web app 😄
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
doing some scrappy testing
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
learned a bit about bigrams and created a simple model to predict names using it following zero to hero
wrote something to evaluate math expressions using the Pratt parser technique in Rust :rustlang:
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:
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:
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
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:
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.
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
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
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
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
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
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 🤧