Profile avatar
hemakodaa.bsky.social
Open for video editing comms! https://vgen.co/dhaclips
79 posts 51 followers 61 following
Regular Contributor
Active Commenter

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...

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.

I hate cockroaches with a passion.

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/

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

I find myself getting tired faster when writing documentations, the finishing part is boring but an important part of writing software ig

*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-

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.

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

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.

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.

this is how I send mixed signals

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.

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.

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.

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 よろしくお願いします

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.

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?

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.

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!

There are two hard problems in computer science. This is one of the three.

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

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.

the moment the lightbulb dings:

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

wait so, Visual Studio Code IS just a browser. damn, no wonder it's kinda slow sometimes

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.

Having no idea how to use tyspescript with Electron.js , I had to switch to javascript for this beginning project. If you know of example projects/blog posts that talks about how to build an Electron app with TS please let me know!