dha
banner
hemakodaa.bsky.social
dha
@hemakodaa.bsky.social
Open for video editing comms!
https://vgen.co/dhaclips
Nowadays, I can write and run a local "web app" in < 1 hour with Flask and Python. My mom wanted to watch a drama but she found it hard to navigate the site.

So I compiled a list of the show's links into a simple webpage, and run it on Flask development server.

She's halfway through the show.
November 9, 2024 at 12:17 AM
This is probably mundane to most experienced developers, but looking at an API that is beginning to shape into what you want it to be feels pretty good.

This is the 'front-end' I'm excited about.
March 29, 2024 at 6:08 PM

rust 🦀
I was thinking about the fibonacci sequence, and the examples I saw in code are always in its recursive form. Since the sequence has clearly defined steps on how to generate them, I tried to make an iterative one.

Of course it is possible, and it lays out pretty simply.
March 13, 2024 at 1:10 PM
this is how I send mixed signals
March 6, 2024 at 3:47 PM
a trivial webscraping in Typescript.
This is feeling quite nice, the mechanic and stuff is similar to BeautifulSoup4 in Pytho, but I get to take advantage of the fact that I can use DOM API.

It's pretty awesome.
March 6, 2024 at 2:18 PM
Learning sorting algorithms while getting used to Typescript!

I learned a lot this weekend, comparing these three algorithms and paying attention to their advantages and drawbacks

These three also taught me: not all O(N^2) are equal, and what the BigO notation is really about.
March 4, 2024 at 2:47 AM
JSDoc is actually not that bad?
I'm going back and forth between JSDoc and Typescript right now.
JSDoc is nice nice there is no transpiling step, whereas Typescript is nice because the type annotations are where you expect it to be.

Probably going to do a larger project to get better bearing.
February 25, 2024 at 3:57 AM
Design patterns are one of my weaker spots, so let's attempt to fix that. Starting slow and building up: Builder Patterns!

I'll probably incorrectly name these and do something wrong so yell at me if you find anything!
February 24, 2024 at 5:37 AM
same output.

so first time it goes, it prints the expected result as expected.

then it runs into the while loop conditional,and i expect it to find the value '8', but it didn't print it to the console, so on the 2nd loop it should be null and it prints null, but what about the 3rd loop?
February 23, 2024 at 8:26 AM
There are two hard problems in computer science.

This is one of the three.
February 23, 2024 at 5:18 AM
the moment the lightbulb dings:
February 22, 2024 at 2:43 PM
let's just finish this little app in JS and remake it in TS when I know all the possible roadblocks i may face.

it's kinda weird looking at a web devtool in a desktop window.
Actually, that's just a browser.
February 22, 2024 at 10:28 AM
typescript/javascript developers, can you save me?

am I drunk or the browser is?
February 21, 2024 at 2:37 PM
Learning typescript continues!

This time I tried doing some trivial regex (TS probably has the most intuitive way of doing regex for me, the setup is straightforward) using a RegExp object.

Though with a do..while loop with the following condition the loop behaves in a way I do not expect. Why?
February 21, 2024 at 9:27 AM
Learning Typescript now

It's been a few hours of codewars fundamentals and honestly it feels great to use!
February 21, 2024 at 5:38 AM
More Rust stuff 🦀

This is part of the Breadth-First Search algorithm that I have been working on.

I learned that the order of checks I do matters a lot to runtime performance. I went from 8 seconds to 4 seconds runtime just by reordering my checks to this:
February 20, 2024 at 4:08 AM
Implemented Depth-First Search and Breadth-First Search as Rust iterators! I learned a lot during the weekend, and this implementation makes it clear where the 'state' and the 'iteration' happens.
February 19, 2024 at 4:24 AM
learning html/css + vanilla js. because you gotta start somewhere
February 13, 2024 at 2:58 AM
there was a rust discussion
February 12, 2024 at 4:15 AM
Rust stuff 🦀

Directory walking with iterative Depth-First Search!

This was both a learning experience and a pain.

Realizing the need of some form of a vector to know the adjacent vertex in advance took a while, and I hit the wall multiple times.
February 10, 2024 at 10:50 AM
im rewriting this thing
February 10, 2024 at 5:42 AM
More Rust 🦀
Tried implementing depth-first search on a directory walker, and it is around twice as slow compared to Breadth-First Search.

Is this expected or did I do something wrong 🤔
February 9, 2024 at 2:09 AM
it's night and day
February 8, 2024 at 6:50 AM
Refactor Rust
Help me run to the left ᕕ( ᐛ )ᕗ
February 8, 2024 at 5:25 AM