HNHacker News
TopNewBestAskShowJobs

nj5rq

113 karma · joined May 24, 2024

submissionscomments
nj5rq··on RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems
I would assume he refers to "safe" being absolutely safe, while "safest" refers to the safest of the existing alternatives?
nj5rq··on RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

    OpenBSD is notably not vulnerable, because its
    SIGALRM handler calls syslog_r(), an async-signal-safer version of
    syslog() that was invented by OpenBSD in 2001.
Saving the day once again.
nj5rq··on Weekend projects: getting silly with C
I just tried it, and it works with clang version 17.0.6.
nj5rq··on Weekend projects: getting silly with C
Why did I not know that this:

    case 1 ... 10:
Is valid C? I have been programming in C for years, what standard is this from?
nj5rq··on Hans Hollein: Everything Is Architecture
Whenever someone says "Everything is ...", he is not right.
nj5rq··on Local First, Forever
>Everything is annoying to somebody. Software doesn't have to always be optimized to minimize annoyances.

This is just not true, but in any case, don't get your point. The author has all the right to add anything to his blog, it's just that a lot of people will find it annoying and will stop reading, like some people mentioned here.

If the author thinks the cursors are worth the people not reading the actual content, then good for him.

nj5rq··on Local First, Forever
The problem is that it's annoying. I agree with the first post, I am not going to read this while flies are moving in my screen. Besides, if those are other people's cursors, that's kind of creepy.

If you lose faith in humanity because of this, you should look into it.

nj5rq··on My First Production Bug
> why C++ is unsafe is that it's full of these unnecessary footguns

I don't see the "footgun". C and C++ allow you to perform divisions by integers. If you don't specify the decimals, it understands that they are integers. It's how it's meant to be. In my opinion, calling that a "footgun" is like saying using single quotes for characters is a "footgun" because someone could interpret them as strings. That's just not understanding the language.

nj5rq··on My First Production Bug
The last code block has a typo:

    #define FRAMERATE = 100.0
Should probably be:

    #define FRAMERATE 100.0
nj5rq··on My First Production Bug
Constants can be used for array sizes since a lot of C standards ago, right?
nj5rq··on Don't Refactor Like Uncle Bob
I feel like single-line conditionals are harder to read in bigger projects. I remove the brackets in single-statement conditionals and loops, but I still use another line.
nj5rq··on An Introduction to ARM64 Assembly on Apple Silicon Macs
Very interesting. Does anyone know any similar resources for non-apple ARM64?
nj5rq··on Everything I know about the fast inverse square root algorithm
Please, post the progress if you end up rewriting it.
nj5rq··on Everything I know about the fast inverse square root algorithm
Very interesting, thank you for posting it.
nj5rq··on 2D Rigid Body Collision Resolution
Wow, perfect timing. Some days ago I started to get interested in this, particularly in circle collisions. Keep it up, looking forward for the rest of the posts.
← PreviousPage 2 of 2