HNHacker News
TopNewBestAskShowJobs

dayvster

127 karma · joined May 8, 2024

submissionscomments
dayvster··on Zig + Qt feels like doing the impossible right
Well I discussed this with the Author briefly and that's a huge undertaking and he is working on it but the results especially desired results will take time.
dayvster··on Worse Is Better Start Simple and Iterate
Yea as the author of the article that's what I'm wondering too this is scheduled to be "released" in a couple of days. I basically figured I wouldn't need to do much more than not link it anywhere on my website or sitemap.

haha looks like I might have to straight up make non public posts unavailable for viewing in the future.

dayvster··on Accidentally Made a Zig Dotenv Parser
Author of the article here again.

Since I've seen multiple people complain about this I've dropped adsense completely as they were pretty invasive with tracking and the amount of ads.

I'm currently testing carbon ads and then I'll do a split test with ethicalads.io

So far both of them only display a singular small banner and it's better targeted towards devs.

dayvster··on I Miss When Software Ended
Oooh that's a good one, saved for later!
dayvster··on I Miss When Software Ended
That is precisely what prompted me to write this article, it was an update to a piece of software I require to use for work that suddenly just stopped working properly.

That's actually a point I wish I touched upon more in the article, how SaaS and the ability to patch software issues later down the line made sloppy coding a norm, because you can always just push a patch and expect your users to update to resolve their issues.

Whereas back in the ol' days (promise I'm not that old) a bug in your software would essentially mean severely dissatisfied costumers that may not purchase the next version from you

dayvster··on Accidentally Made a Zig Dotenv Parser
Do you really wish to go into stuff that has very little to do with the article itself?

I'll gladly provide an answer but I don't think it's constructive.

I host the site on vercel with astro, I'm on the pro plan which usually costs me somewhere around 20€ per month +/- 5-10€ depending on my monthly traffic.

add to that the minuscule cost of my domain and other stuff I'm paying about 250-300€ per year

My adsense avg per day is just about 1.20€ roughly.

So at best I break even, at worst I lose a bit of money.

I still maintain my position that everyone is welcome and should use adblock or brave or pi-hole on my site if they so wish I won't mind.

But I do like the fact that I don't have to foot the bill :)

Basically if I had to lose money to write I'd probs stop writing if I'm honest.

dayvster··on Accidentally Made a Zig Dotenv Parser
Harsh but fair, I strongly encourage you to keep your shields up and or adblocker turned on.

Sorry you couldn't enjoy the article though.

dayvster··on Accidentally Made a Zig Dotenv Parser
Author of the article and owner of the site here.

Google changes the amount and placement of the ads depending what "ad market" you are from so US and other similar countries might experience more ad placements than lower ad market countries.

I tried spinning it down to basically minimal ads in adsense settings and it's still quite a lot.

I strongly encourage the use of adblockers or pi-hole even on my site and see no problem with using them on my site.

The income from adsense just about covers the hosting bills in a year so far, I'm currently exploring alternative methods of monetization that would provide more value to the readers.

dayvster··on Is Odin just a more boring C?
good catch, appreciate it!

it was indeed a mistake on my part, line-height got applied to code blocks as well as the paragraphs

I fixed it now so that codeblocks do not have a very loose line height.

dayvster··on Ask HN: Why is software quality collapsing?
Some of it is the fault of AI and the belief that software is super easy to create now and maintenance won't be an issue in the future, mainly by folks who have very little to no experience with writing software but attempt it via the many ways you can do it with AI these days.

Then there's the shiny object syndrome of humanity in general even if we just look at websites they went through so many different cycles, plain html, flash, everything built with bootstrap.css, then came the frameworks, then back to SSR/SSG, etc... etc..

Both of those are just symptoms of a larger disease , namely lack of enthusiasm in general has fallen, a lot of it has to do with how demanding day to day software jobs have gotten, or how financially unstable the younger generations feel so they rarely set aside any time for creative endeavors and passion projects

dayvster··on Write the damn code
Yes! I could not agree more with this sentiment.

We over-analyse, over discuss, over plan and over optimize before we even write the first import or include.

Some of my best ideas came to me as I was busy programming away at my vision. There's almost a zen like state there

dayvster··on Top Programming Languages 2025
Cool but I don't know how credible this information is. From what I've read on how they got that data and came to these numbers it does not exactly inspire a high degree of confidence
dayvster··on New study shows plants and animals emit a visible light that expires at death
Woah that's wild, so this gives credence to some more spiritual stuff out there.
dayvster··on Zig feels more practical than Rust for real-world CLI tools
Making a broad statement like there has never been a memory safe C program is a bit of a dickish thing to say.

especially when you phrase it as

> Can you provide examples for it? Because it honestly doesn't seem like it has ever been done.

it comes off as pedantic and arrogant.

It obviously is possible to write memory safe software in C and obviously it has been done before otherwise we would not be currently communicating over the goddamn internet.

Asking for evidence of something this obvious is akin to asking for a source on if water is in fact wet.

dayvster··on Zig feels more practical than Rust for real-world CLI tools
har har... have my upvote!
dayvster··on Zig feels more practical than Rust for real-world CLI tools
> The Rust community should be upfront about this tradeoff - it's a universal tradeoff, that is: Safety is less ergonomic. It's true when you ride a skateboard with a helmet on, it's true when you program, it's true for sex.

Well put! And this should not be contentious issue, it simply is annoying to deal with Rust's very strict compiler. It's not a matter of opinion it simply is more annoying than if you were to use any other language that does not put that much burden on you the developer.

Not all memory safety bugs are critical issues either. We like to pretend like they are but specifically in `coreutils` there were 2 memory safety bugs found recently.

However is it really a big concern? if someone has gotten access to your system where they can run `coreutil` commands you probably have bigger problems than them running a couple of commands that leak.

dayvster··on Zig feels more practical than Rust for real-world CLI tools
this is an excellent example do you mind if I examine it a bit closer and perhaps use it in my article?
dayvster··on Zig feels more practical than Rust for real-world CLI tools
Then we're sort of in agreement.

I don't think you need the ritual and complexity that rust brings for small and simple scripts and CLI utilities...

dayvster··on Zig feels more practical than Rust for real-world CLI tools
Uh I'm confused, so you think my take is bad because memory safety should not matter ?
dayvster··on Zig feels more practical than Rust for real-world CLI tools
I can guarantee you that none of it was written by ChatGPT or any other LLM.

As for the Ads, even though it's my site, I'd urge you to turn on adblocker, pi-hole or anything like that, I won't mind.

I have ads on there yes, but since I primarily write tech articles for a target audience of tech people you can imagine that most readers have some sort of adblocker either browser, network or otherwise.

So my grand total monthly income from ads basically covers hosting costs and so on.

dayvster··on Zig feels more practical than Rust for real-world CLI tools
> Seasoned Rust coders don’t spend time fighting the borrow checker

No true scotsman would ever be confused by the borrow checker.

i've seen plenty of rust projects open source and otherwise that utilise Arc heavily or use clone and/or copy all over the place.

dayvster··on Zig feels more practical than Rust for real-world CLI tools
yea but, that's extremely edge case, or at least I have not yet encountered a need for that personally.
dayvster··on Zig feels more practical than Rust for real-world CLI tools
Segfaults go brrr.

All jokes aside, it doesn’t actually take much discipline to write a small utility that stays memory safe. If you keep allocations simple, check your returns, and clean up properly, you can avoid most pitfalls. The real challenge shows up when the code grows, when inputs are hostile, or when the software has to run for years under every possible edge case. That’s where “just be careful” stops working, and why tools, fuzzing, and safer languages exist.

dayvster··on Zig feels more practical than Rust for real-world CLI tools
I have not given any of those 3 a fair enough shot just yet to make a balanced and objective decision.

Out of all of them from what little I know and my very superficial knowledge Odin seems the most appealing to me, it's primary use case from what I know is game development I feel like that could easily pivot into native desktop application development was tempted to make a couple of those in odin in the past but never found the time.

Nim I like the concept and the idea of but the python-like syntax just irks me. haha I can't seem to get into languages where indentation replaces brackets.

But the GC part of it is pretty neat, have you checked Go yet?

dayvster··on Zig feels more practical than Rust for real-world CLI tools
Not quite, it can translate C into zig using the `translate-c` command that it comes with. But it compiles directly into machine code
dayvster··on Delete FROM users WHERE location = 'Iran';
the comments on the gist are rough. Must we saturate every aspect of our lives with Politics?

Yes it's annoying that people disabled your access because of your location, but at the end of the day it is what it is. US companies get hefty fines if they do business with Iran.

dayvster··on Zoxide: A Better CD Command
Zoxide is a bit more than just that, it creates and index as you are using it, the more you CD into dirs the higher priority they will be.
dayvster··on Zoxide: A Better CD Command
Zoxide is amazing and I can't live without it since I switched to it.
dayvster··on How I, a non-developer, read the tutorial you, a developer, wrote for me
This article begs a more important question, is the burden of understanding the article / tutorial on the reader or is the burden of making it understandable on the writter?

I think a reasonable amount of knowledge about the topic being discussed in the tutorial should be expected from the reader but this should also be communicated by the writer.

dayvster··on Dev Culture Is Dying the Curious Developer Is Gone
Ah I haven't lived in germany for about 7 years now, it has come a long way then you say?

That's amazing and super cool, didn't even know those things existed there.

Page 1 of 2Next →