Recent submissions

Comment · 26 days ago
I was just dealing with this: https://bugs.gentoo.org/show_bug.cgi?id=974323.

Also std::start_lifetime_at is a hack and ive seen nobody using it in all the placed where it aught to be used.

If optimizing based on object lifetimes could be turned off, itd be turned off everywhere for hardening like strict aliasing is.

Comment · 26 days ago
I am working on a language that was C with extensions, transpiled to plain C, but the C syntax is kinda not great to work with (stuff like needing type tables and unbounded lookahead). At the point you clean up the syntax, you're not really C with extensions anymore.
Comment · 26 days ago
Many of the big C++ projects I've worked with have custom string types since the standard one was defficient for some reason or another.
Comment · 26 days ago
You cant touch C++ without bringing the object lifetime stuff in. And unlike strict aliasing, theres no flag to turn it off.
Comment · 26 days ago
The only decent linters I know of for C++ are clang-tidy and coverity and they are not good enough.
Comment · 2 months ago
Pair programming is a great way to do knowledge sharing and collaborate on tricky problems. Now, I don't really want a multiplayer editor, but I'll highly contest that coding is solely a solo activity.

Sometimes I feel like people online hate all their coworkers. Thankfully, such people have not been highly represented amonst those I've worked with.

Comment · 3 months ago
Its unfortunate that this is using eBPF and not cBPF. I'd want to enable this in a namespace using binfmt-misc's namespace support, but eBPF requires root.
Comment · 3 months ago
From their about page: "If you wrote a link that was posted, please reach out in chat, we'd love to have you join the community."
Comment · 3 months ago
Editing scrollback is possible in eshell, and something I use often.
Comment · 4 months ago
I don't think they can convince me they have actually reversed course on this. Its invisible so we wouldn't know if they kept on doing it secretly. It required building out technical capability which is unlikely to remain forever unused while conveniently available to them.

They relied on trust that they were providing the service they were being paid for. That trust was blown, and an "oops, lets undo that" does not regain trust. It would be prudent to assume the invisible guardraild are possibly in play for all future Clause use, Fable or otherwise.

Comment · 5 months ago
C with Zig's comptime is compelling though. Zig doesnt allow you to access all the features your C compiler does, and puts you in the LLVM ecosystem. I've been working on something similar; extending C with both Zig/C++ inspired reflection and linear types, with a compiler that compiles to a subset of C to allow you to leverage GCC and all its extenstions.
Comment · 5 months ago
Whelp time to figure out how to disable it or patch it out.
Comment · 5 months ago
More like RIP bun. Wouldn't have paid any attention bun if it weren't for Zig. Now I need to figure out what the "normal" runtime is to switch my work typescript stuff to.
Comment · 6 months ago
Sounds like a feature.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton