dha
banner
hemakodaa.bsky.social
dha
@hemakodaa.bsky.social
Open for video editing comms!
https://vgen.co/dhaclips
I could've used atproto for the complete definition model. But i don't need all of it. I'd also have to do things my way anyway if I use atproto for all the functionality that i need.

After this is done, new post notifications may become a thing for me via discord bot.

github.com/hemakodaa/bs...
GitHub - hemakodaa/bsky-getAuthorFeed-parser: A parser for app.bsky.feed.getAuthorFeed GET endpoint
A parser for app.bsky.feed.getAuthorFeed GET endpoint - hemakodaa/bsky-getAuthorFeed-parser
github.com
December 4, 2024 at 2:02 AM
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
I hate cockroaches with a passion.
May 1, 2024 at 3:16 PM
If you find it difficult finding a format for your changelogs that make sense, try this.

It is not a standard, it is merely a group of people wanting a better guideline for how we write changelogs.

I find myself agreeing with what it pointed out. So I'm using it.
keepachangelog.com/en/1.0.0/
Keep a Changelog
Don’t let your friends dump git logs into changelogs.
keepachangelog.com
April 17, 2024 at 8:58 AM
The FAQ section of Semantic Versioning website has some pearls about software development in general, and how building software for the masses demands a form of robust standardization. Good short read.

semver.org#faq
April 16, 2024 at 12:06 PM
I find myself getting tired faster when writing documentations, the finishing part is boring but an important part of writing software ig
April 14, 2024 at 4:38 AM
*was working on my rust project*
- ran cargo clean yesterday by accident
- Following day:
- *lots of refactor*
- needs write new tests
- cargo test

Compiling....(0/88)

why did I run cargo clean nOOOO-
April 13, 2024 at 4:58 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
I've been working on a cli tool for the past week, its called 'smoljpg'. It is a JPG compression tool (it uses turbojpeg) which preserves the original exif data with img_part. What I added to the mix is parallelizing the compression of many jpg files.

github.com/rfdzan/smoljpg
March 26, 2024 at 4:47 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
Today I learned that, in multi-threading, it is important to make sure each threads are actually given a task.

Now I am beginning to understand that parallelizing a single threaded application is not trivial. If I just go about spawning threads willy-nilly, I can hurt performance.
March 11, 2024 at 4:34 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
I have been reading this book "A Common-Sense Guide to Data Structures and Algorithms" by Jay Wengrow. If DSA seems complex you, try it. It's honestly an awesome read and I enjoyed it. The book encourages you to read it top to bottom and it tells you about things like the Big O notation as a story.
March 3, 2024 at 2:09 PM
I'm a little confused why i suddenly get followed by multiple japanese-speaking accounts, I like Japan though.
I speak elementary japanese and use google translate

よろしくお願いします
February 28, 2024 at 11:18 AM
After making stuff in Rust for 3 months, loving it, my next language was TS/JS and now PHP. These transitions makes me appreciate Rust's borrow-checker and type safety even more.
When my program compiles in Rust, its usually just done. in PHP and/or TS/JS, I still need to dig for errors.
February 27, 2024 at 2:01 PM
after trying out all these programming languages (I am now learning PHP because of a govt training program, 3 days in and i HATE $variables), My preference of languages depends on these:
1. Does it have a decent dependency manager?
2. Does it have a decent LSP?
3. Does it have a decent debugger?
February 27, 2024 at 1:54 PM
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
There are two hard problems in computer science.

This is one of the three.
February 23, 2024 at 5:18 AM
Javascript is one of the languages where I think documentation is mandatory.

Because more often than not I have no idea what parameters my function or class accepts, and I have no idea what they return.

I guess this part of the reason why I prefer Typescript over JS
February 23, 2024 at 2:13 AM
Reposted by dha
I recently made a comic complaining that NASA refuses to listen to my good ideas for improving the Solar System (xkcd.com/2750).

To my delight, NASA’s Science Mission Directorate has sent me an actual expert panel evaluation of my “flatten the planets” proposal! Sadly, they decided not to fund it.
February 22, 2024 at 2:45 PM
the moment the lightbulb dings:
February 22, 2024 at 2:43 PM
IT WORKS

the final problem wasn't even with js or electron, it was with regex itself.

i love regex c: (send help)

youtu.be/oYy3KbeclKg
IT WORKS
youtu.be
February 22, 2024 at 2:42 PM