Better HN
topnewbestaskshowjobs
Log inSign up

hans_castorp

1,097 karma · joined Apr 4, 2014 (12y ago) · 346 submissions

Submissions

comment 5d ago · link · parent

For those critical about AI:

> This project uses substantial AI assistance, currently Claude Code.

> Most commits disclose this with a Co-Authored-By trailer and a link to the session that produced them. This project does not hide that fact.

> This project does not treat AI assistance as a lesser way to write software.

comment 5d ago · link · parent

Ah, right. Forgot about that.

But I think the approach to decouple the actual "hint" from the query still makes more sense, than requiring a change to the original query to include it into the comments. I don't know if something like pg_stash_advice would be possible without that approach.

comment 5d ago · link · parent

> To use hinting an app needs to issue a `SET` command, which adds round trip latency for each query

You can send the SET and the actual SQL command as a single String (delimited by ; obviously), so there is no additional round trip required.

Additionally: there is the possibility to save such a plan advice to be applied without issuing a "SET pg_plan_advice.advice" before running the statement. So this can also be applied to queries that can't be changed in the source code. This is provided by the extension pg_stash_advice

comment 5d ago · link · parent

Why exactly has China the jurisdiction to block a contract between a Swiss company and a Japanese company?

comment 5d ago · link · parent

> Part of why delaying is helpful is that more people will actually install the release than they do during the beta/RC cycle

Unless everybody starts waiting for .1 :)

> was not necessarily because of significant bugfixing in 19

They discovered some serious bugs in new features which weren't really solvable in a way the devs were comfortable with (with regards to long-term maintainability and stability). So some of the new features were rolled back and that process also took some time.

comment 6d ago · link · parent

Nothing in those release notes refers to "key value stores"

comment 6d ago · link · parent

Most probably as always: fusion power will be commercially viable in 10-15 years.

comment 1w ago · link · parent

The registrar seems to be namesilo

comment 1w ago · link · parent

Update 2026-11-18 12:30 CET

"The domain is slowly recovering. Many users are able to connect to our systems again. Some might need to wait for DNS propagation. We haven't yet received an official response from Namesilo's abuse department about the incident."

https://mastodon.social/@codebergstatus@social.anoxinon.de/1...

comment 1w ago · link · parent

As you probably noticed, our domain codeberg.org is entirely unreachable.

It was registered with namesilo and entirely disappeared from our account. We're waiting for their customer support to investigate the situation.

Update: We have received the confirmation that our domain was suspended and our case got forwarded to the abuse team. We're still waiting for a final decision.

11.

Codeberg.org Not Reachable(social.anoxinon.de ↗)

330 points · by hans_castorp · 1w ago · 320 comments

comment 1w ago · link · parent

Does this mean, until now it has been "insecure by default"?

comment 1w ago · link · parent

I value human work more than AI - especially if that book is fiction rather than some technical documentation.

comment 1w ago · link · parent

The "terrorist state" here is the US using extortion to undermine the law. But if you put a convicted felon at the head of the state, then this doesn't seem surprising.

comment 1w ago · link · parent

What I wanted to say: I think the headline is wrong.

It's not "JSON lying", it's JavaScript not being able to properly map all data types to JSON.

comment 1w ago · link · parent

That's not JSON "lying", it's JavaScript not signalling a problem if it can't map a value.

comment 1w ago · link · parent

But strict isn't supported if you are using exotic data types like DATE or TIMESTAMP

comment 1w ago · link · parent

There is more: https://dbfiddle.uk/FDkqamR_

(Some examples there no longer work with the current version - so they are improving :) )

This is by design and well documented though.

comment 1w ago · link · parent

Or have it run, if the computer wasn't turned on when the task should have run.

comment 2w ago · link · parent

Thanks!

comment 2w ago · link · parent

It's not "in SQL" it's "in Microsoft SQL Server" - big difference

comment 3w ago · link · parent

For anyone interested, this is the interview with Tom Lane: https://www.snowflake.com/en/blog/engineering/30-years-of-po...

This article about MVCC is also quite interesting: https://boringsql.com/posts/mvcc-bad-bad/

comment 3w ago · link · parent

All of the problems Uber had, could have been solved back then, had they actually asked for help on the mailing list. Several of the issues they had have also been fixed/changed in Postgres itself as a reaction to that discussion.

comment 1mo ago · link · parent

Only corrupt politicians will prevent laws that prevent corruption.

25.

The reverts will continue until morale improves(peter.eisentraut.org ↗)

235 points · by hans_castorp · 1mo ago · 48 comments

comment 1mo ago · link · parent

This reminds me of "Creators admit Unix, C hoax" (e.g. https://www.gnu.org/fun/jokes/unix-hoax.html)

> We stopped when we got a clean compile on the following syntax:

    for(;P("\n"),R--;P("|"))for(e=C;e--;P("_"+(*u++/8)%2))P("| "+(*u/4)%2);

comment 1mo ago · link · parent

A friend of mine used to give computer courses back in the 90s (to people that had never used a computer before).

At one point he said "You need to move the mouse up" and one of the participants actually lifted the mouse physically from the desk - which was perfectly correct for someone not being used to computers.

I always remember this when I think "isn't this obvious?" with regards to usage patterns on computers.

comment 3mo ago · link · parent

The Postgres devs rejected it, because it wasn't part of the standard back then, and apparently work was going on, to include it into the standard.

Now that it's included in the standard, there is work to implement it:

https://hackorum.dev/topics/51960#message-1125429

comment 3mo ago · link · parent

I frowned over the "none of it looked planned" - the whole description sounds as if that swim was exactly that: planned from the beginning.
12345
12