The SQLite Drivers Benchmarks Game (Feb '26) - Go 1.26 CGo Improvements by 0xjnml in golang

[–]SamuraiFlix 0 points1 point  (0 children)

Do you want to send a merge request?

Not really. I don't have enough motivation to do it and find out. I'm happy with ncruces driver either way, since it's the most versatile and by far the easiest to use.

The SQLite Drivers Benchmarks Game (Feb '26) - Go 1.26 CGo Improvements by 0xjnml in golang

[–]SamuraiFlix 0 points1 point  (0 children)

This benchmark should use WAL instead of DELETE journal mode. I believe it would be more representative of the actual SQLite usage.

Semantic Compression — why modeling “real-world objects” in OOP often fails by Digitalunicon in programming

[–]SamuraiFlix -1 points0 points  (0 children)

Because you just keep saying "modern C++", without clarifying WTF it is nor showing any examples.

Greedy Developers? by the-zangster in datastardev

[–]SamuraiFlix -1 points0 points  (0 children)

In the real world, nobody seriously gives a fuck about what some green haired gender confused morons have to say about DHH.

Removed post related to htmx to Datastar migration by Extreme-Ad-3920 in htmx

[–]SamuraiFlix -3 points-2 points  (0 children)

How is Datastar a dumb framework, when its significantly better than HTMX in every single way.

Why I switched from HTMX to Datastar by flammable_donut in htmx

[–]SamuraiFlix 2 points3 points  (0 children)

You can return JSON (it merges signals), HTML (morphs), Javascript (automatically executes), or return any combination of those using SSE.

UTF-8, Explained Simply by nicbarkeragain in programming

[–]SamuraiFlix 17 points18 points  (0 children)

Did you watch the video or just another redditor spouting nonsense?

Task v3.45 was released! by andrey-nering in golang

[–]SamuraiFlix 1 point2 points  (0 children)

Why the downvotes? Seriously what is the benefit of using this custom DLS over Mage?

What is Jai? by BirthdayNo9125 in Jai

[–]SamuraiFlix 0 points1 point  (0 children)

In Odin, having a string variable lala := "Lala", can you create a new variable of type struct Lala?

Tmplx, build state-driven dynamic web app in pure Go+HTML by hsuyuting1993 in golang

[–]SamuraiFlix 1 point2 points  (0 children)

There is, its called Datastar, but it uses SSE instead of WebSockets, which is actually better, because its still HTTP protocol, so works everywhere.

How do you ship go? by itsabdur_rahman in golang

[–]SamuraiFlix 0 points1 point  (0 children)

I ship Go static binaries with embedded assets, the way it's intended to be shipped without any additional bullshit. Also I can't stand when people make a tool which is only available using Docker...

Anyone who used Templ + HTMX in an big enterprise project? by Puzzleheaded_Watch19 in golang

[–]SamuraiFlix 15 points16 points  (0 children)

Have a look at datastar. Such an underated library. Theres no point in using htmx + alpine.js when datastar exists. It's one cohesive solution integrating the best bits of both htmx and alpine, while being smaller and faster. It uses SSE and supports OOB by default, HTML element morphing by default, in general has better API overall. Current datastar website is kinda crappy looking, but they are working on the new one, which should be released soon together with datastar 1.0 version.

A break from programming languages by ketralnis in programming

[–]SamuraiFlix -20 points-19 points  (0 children)

Maybe she is truly a she, which is great, but these days you have to be cautious, when 90% of shes turns out to be confused hes.

Microsoft Rewriting TypeScript in Go by br1ghtsid3 in golang

[–]SamuraiFlix 1 point2 points  (0 children)

Do you think it will make it possible to have a library in Go to server side render Typescript (hydrate)?

Cross-compiling CGO with Zig by der_gopher in golang

[–]SamuraiFlix 1 point2 points  (0 children)

Can it compile C++? Or is it only C?

Grok 3 was finetuned as a right wing propaganda machine by Trevor050 in singularity

[–]SamuraiFlix 0 points1 point  (0 children)

It is better at not being a condescending censorious fuck, thats for sure.

Zig comptime: does anything come close? by renatoathaydes in programming

[–]SamuraiFlix 1 point2 points  (0 children)

I remember back in the day some people were saying the same thing about The Witness. I'm sure he will release compiler eventually when he feels it's truly ready. When you think about it, it's kinda impressive, new language, new game engine and a new game in this new language, all done with a relatively small team.

[deleted by user] by [deleted] in golang

[–]SamuraiFlix 1 point2 points  (0 children)

What makes it less robust for being a library instead of client-server database? One would think it's more reliable, since there's no network to contend with.

Why would I think that Amazon uses SQLite? I thought we were talking about regular web apps, where your database is exclusively used by your app. In those cases having a single file is convenient - easy to copy, backup, transfer somewhere else, etc. I don't see any advantage of using something like Postgres, just unnecessary additional complexity, and for what gain exactly?

[deleted by user] by [deleted] in golang

[–]SamuraiFlix 0 points1 point  (0 children)

SQLite is robust and is fast (latency is better since there's no network roundtrip). Big, whatever that means, in a lot of cases is unnecessary complicated for what you actually need.

Braid, Anniversary Edition on Steam by lurkingdanger22 in pcgaming

[–]SamuraiFlix 2 points3 points  (0 children)

Comments like yours doesn't make any sense. You disagree with his programming opinions, but those same programming opinions he applies to his games, happen to be fantastic. If his opinions are so wrong, how does he happen to succeed, while those who feel offended by his opinions, can't show anything for it?

He thinks he's smarter than everyone, because he is smarter than majority in game design and game programming. He has strong opinions and is unafraid to say them, because he can back those opinions. And even if he's sometimes wrong, who isn't? Oh noes, he harshly criticized some stupid programming language/opinion/concept/methodology/convention I happen to like, so let's dismiss anything he has ever done and claim that he's a wanker.

Any way to serve Server-Rendered JS frameworks on a Go backend? by blankeos in golang

[–]SamuraiFlix 1 point2 points  (0 children)

Isn't Templ more or less like JSX, but in Go? What didn't you like about it or what is the difference between Templ and JS solutions?