dev-ns8

Joined 6 years ago

Karma
54
Submissions
47
Member since
Dec 11
Software Dev
View on Hacker News

Recent submissions

Comment · 8 days ago
"One up him everytime... If he slaps you, you punch him, he punches you, you kick him, he kicks you, you stab him, he stabs you, you shoot him, he shoots you, you go kill his family" - Chael Sonnen on intensity
Comment · 4 months ago
Combined with a replication strategy and automated health checks, a load balancer could direct traffic to a healthy instance automatically.
Comment · 5 months ago
Comment · 7 months ago
Not mentioned in my initial comment, but yeah, I'm viscerally aware of the affect the time period and resources at the time have on API design in C and other languages from that time period.

The null pointer in place of the operand here just seemed like a really good quirk to point out

Comment · 7 months ago
Besides my DA/Algo classes in College, I've never used C seriously. And you know, it's semantics like this that really make me go WTF lol....

From strtok man page... "The first time that strtok() is called, str should be specified; subsequent calls, wishing to obtain further tokens from the same string, should pass a null pointer instead."

Really?? a null pointer.. This is valid code:

  char str[] = "C is fucking weird, ok? I said it, sue me.";
  char *result = strtok(str, ",");
  char *res = strtok(NULL, ",");
Why is that ok?
Comment · 7 months ago
Comment · 7 months ago
Wow... A speculative branch prediction path actually get's preemptively executed despite the branch outcome? No matter if the execution has side-affects??? That's quite amazing. Are modern CPUs doing speculative execution like this and just put extra safeguards around affects or do they just prefetch / decode instructions now-a-days?
Comment · 8 months ago
Is this macro mapped in vim or OS level? Sounds interesting.
Comment · 8 months ago
Congrats on shipping!

Two things, does anyone else feel like 2017 was not 9 years ago and rather feels like it was just yesterday? I use a 2017 iMac running MacOS 13.7.8. It appears my hardware will not support any newer version of MacOS. For the most part, I haven't been too discouraged by this as I prefer older MacOS designs over the newer ones.

However, this is the second time in 2 days I've actually hit a wall in the Apple eco-system due to an older OS.

Last night I tried to build Ghostty to hack on a feature... it needs Xcode SDK 26 which isn't supported on Xcode 14 (latest version I'm able to install).

Now today, attempting to try this app out, I can't launch it due to being on too old of an OS.

It's really a shame because this iMac from 2017 is quite the capable machine. Absolutely no reason to upgrade it (from a hardware / performance standpoint).

Comment · 1 year ago
"No client simulation allowed only server."

Seriously

Comment · 1 year ago
Comment · 1 year ago
Well isn't that the whole point? At a fundamental level, investment profits are a payment for the risk you take. No risk equals no profit. There are "safe" investments currently. You can get paid 4% a year roughly to hold treasuries right now. Considered a "risk free" investment (Which sure, maybe the merits can be argued).

But at the end of the day the only way to profit from an investment is taking some risk. It all comes down to pricing that risk.

Comment · 1 year ago
Does this mean it's impossible in Zig to do strictly Stack related recursion and just by the mere inclusion of a recursive function your implicitly getting heap allocations alongside?
Comment · 1 year ago
What is the value proposition for these form libraries? Is it scale? Is it the custom builder? How complex are people's HTML forms these days from a UX perspective?

I was browsing the code, and noticed this forms library was using Supabase, presumably a paid service if this OSS library takes off. I just can't seem to grasp why a custom form building library needs a 3rd party, managed Database included. Scale maybe?

These are genuine questions as I'm woefully unaware of the state of HTML forms / Frontend in 2025

Comment · 1 year ago
Super interesting project! I have zero experience writing Postgres extensions, but I was browsing a blog post about an extension the other day. I was curious what ones workflow looked like while developing a PG extension. From the little I read, it looked like you would have to recompile postgres, including your extension, then enable it just to run it. Seems like a very long feedback loop. Was I missing something?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton