Recent submissions

Comment · 2 years ago
> I do not want what I'm doing interrupted by moving the cursor with arrows keys

Why exactly? That's just pressing a button, like any vim command.

Comment · 2 years ago
>The Vim commands are: ...

You forgot the time you spend learning a counterintuitive way to edit text. The microscopic time you gain while editing text is nothing in comparison to that.

>just what to edit as the language is very intuitive once you got it down.

Everything can become intuitive when you spend hours and hours learning it. The question is whether it's worth it.

Comment · 2 years ago
I did try it. It seems to me that I would have to invest too much time for not much benefit, I would rather learn a new programming language, listen to a talk or read a book than spend hours learning a new method to edit text while I can do that just fine, with decent speed.
Comment · 2 years ago
> Someone (probably a sysadmin) showed me vi. I thought the whole concepts of modes was stupid.

I couldn't agree more. I've never understood vim, I just want to edit text, why turn it into a complicated task in which I must remember a thousand shortcut, and the same shortcut does a different thing in each mode.

Comment · 2 years ago
Rust can also leak memory (memory leaks are memory safe in Rust).
Comment · 2 years ago
Maybe nix (https://github.com/NixOS/nix) is a better tool for what you're looking for if you're on Linux, you can setup nix shells and work in them, what's installed inside the shell won't be accessible from outside.
Comment · 3 years ago
I guess the reasoning behind this is that using a pattern (0xFE on GCC 12.2.0) is easier to recognise in a crash dump.
Comment · 3 years ago
Ok, I see what you're saying here, still, Linux's way is better, I'd rather have my system cluttered with useless files of deleted programs than be exploited because of something that was solved decades ago.
Comment · 3 years ago
Why do Windows programs need special installers/uninstallers? Why isn't this handled by Windows itself?
Comment · 3 years ago
Not necessarily a "safe compiler" but maybe safe library for containers and things like that. It seems to me that most if not all major C projects just run sanitizers and static analysers.
Comment · 3 years ago
How difficult is it to make a compiler extension that remembers buffers' size and checks if we're overflowing at each access? It could be used at least just in debug versions of critical software.

It doesn't sound impossible to me but I know nothing about compiler development :)

Comment · 3 years ago
The thing is, you don't even lose that customer (only a tiny minority care about privacy issues), it's literally free money.
Comment · 3 years ago
Isn't that (partly) the point of the upvote button?
Comment · 3 years ago
I used Kate before for C++ development, there isn't much about it, it just gets the job done, I don't rely on the editor/IDE to do anything other than edit files so any editor works for me. The thing is, it isn't as eye-candy as VSCode is/can be, I know that technically this isn't a crucial feature but UI does affect my software choices. Also, does Kate look the same on all supported platforms?
Comment · 3 years ago
1) It is indeed my fault for replying, I thought flagging is only available for users with a certain number of karma but apparently you have to click on the comment for the flag button to appear (which is weird).

2) The number of karma I have doesn't affect the correctness of my statement.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton