Better HN
topnewbestaskshowjobs
Log inSign up

random_mutex

10 karma · joined Jul 4, 2023 (3y ago) · 33 submissions

Submissions

comment 3mo ago · link · parent

LLMs by themselves no, people with LLMS yes

comment 6mo ago · link · parent

Is clanker defined behavior in this case

comment 8mo ago · link · parent

Magic comments have no place in a programming language

comment 9mo ago · link · parent

A panic in Rust is easier to diagnose and fix than some error or grabage data that was caused by an out of bounds access in some random place in the call stack

comment 9mo ago · link · parent

There is use after free

comment 10mo ago · link · parent

Because of compiler support

comment 10mo ago · link · parent

Most likely LLMs are better at writing react

comment 10mo ago · link · parent

It doesn't compile so no victory

comment 10mo ago · link · parent

If you delve, pun intended, into the stdlib you'll find out it's a pleasure to run away from it.

comment 10mo ago · link · parent

I find the error story a horror one, mainly because it's quite easy to omit an error check when the err variable is reused which leads to weird crashes and garbage data, same happens when the error is explicitly ignored.

comment 10mo ago · link · parent

I wouldn't call tuples or error types weird, they're just poorly designed under the pretense of keeping the language (and first of all the compiler) simple.

It's not Go who popularized channel based concurrency, it's Erlang and Elixir.

comment 1y ago · link · parent

More like 60/40

comment 1y ago · link · parent

value := int16((any(0xcafe)).(int))

comment 2y ago · link · parent

TS tooling excels at preventing you from getting work done

comment 2y ago · link · parent

Eich = guy who created JavaScript

comment 2y ago · link · parent

In TypeScript or Python or any other language with unchecked exceptions you will rethrow and very likely the exception will be caught by te runtime when you least expect because someone else didn't bother handling it.

17.

Err = Nil Sucks (Or Does It)(youtube.com ↗)

2 points · by random_mutex · 2y ago · 2 comments

comment 2y ago · link · parent

That's what will end the AI hype.

comment 2y ago · link · parent

Were they losing or weren't they making enough to satisfy their greed?

comment 3y ago · link · parent

There are custom repositories and the ability to install packages from disk

comment 3y ago · link · parent

And an some specimens from our species could do it with less

comment 3y ago · link · parent

Inconclusive or no research on the X is harmful topic doesn't imply X is not harmful

comment 3y ago · link · parent

The research on the topic is at your finger tips

comment 3y ago · link · parent

What health benefits? How is fooling your body that you eat a meal rich in calories while you eat the opposite a good thing?

comment 3y ago · link · parent

You failed to answer my question. Again is there a benefit to tricking your body that you are eating a meal which provides a high amount of energy?

Sugar isn't bad, it is a biological solution to the energy storage problem just like fat, and our bodies know how to deal with the sugar present in nature (in fruits). The sugar in an apple is absorbed slowly, without a dramatic increase in blood glucose unlike the one in a Coke can.

comment 3y ago · link · parent

Is there any benefit in using sugar replacements? When you eat something sweet your body prepares itself for the sugar intake which, in the case sweetener usage, t never comes. What are the long terms effects of this imbalance? Let's assume your organism addapts to this situation and at some point you consume something that contains actual sugar, how will it respond to that?

comment 3y ago · link · parent

but not the way of the programmer

comment 3y ago · link · parent

A language server is way better than cscope ...if you can get clangd to work with your codebase.

comment 3y ago · link · parent

>One "meta feature" that was dropped was the ability to build the editor with or without different features. vim --version shows a long list of +/- features, neovim doesn't do that.

What's wrong with all features enabled by default?

> I'm sure neovim dropped a lot but I don't have the full overview.

https://neovim.io/doc/user/vim_diff.html

>Prominently it dropped support for giving !commands access to the actual tty. Commands that access the tty have to be used through the command :term instead.

Why would you run an interactive command with `:!` ?

comment 3y ago · link · parent

What features?
12