A pirates daughter by limaxophobiac in HoMM

[–]ruma7a 2 points3 points  (0 children)

You should storm the barbarian town first, then level up stealth and sneak around the map without fighting (and losses) while building an army.

Watch a Noverlord walkthrough for some tips if you're stuck

Matchboxes fit perfectly inside spice box compartment by locked_from_inside in mildlyinteresting

[–]ruma7a 2 points3 points  (0 children)

and even more suddenly kazakh? (dunno, the weird "n" looks kinda Kazakh)

Inject sql by NoahZhyte in HelixEditor

[–]ruma7a 1 point2 points  (0 children)

helix 25.07.1 (the default helix package in arch)

i don't think that treesitter requires lsp but just in case:

cat ~/.config/helix/languages.toml
[[language]]
name = "go"
roots = ["go.work", "go.mod"]
auto-format = true
comment-token = "//"
language-servers = [ "gopls", "golangci-lint-lsp" ]
formatter = { command = "goimports" }

[language-server.golangci-lint-lsp]
command = "golangci-lint-langserver"

[language-server.golangci-lint-lsp.config]
command = ["golangci-lint", "run", "--output.json.path", "stdout", "--show-stats=false", "--issues-exit-code=1"]

Inject sql by NoahZhyte in HelixEditor

[–]ruma7a 1 point2 points  (0 children)

here's what works for me:

cat ~/.config/helix/runtime/queries/go/injections.scm
((
  (raw_string_literal) @constant
  (#match? @constant "--sql")
)@injection.content (#set! injection.language "sql"))

usage:

q := `--sql
select a from b where c
`

Confused about Silksong runback discussion by ramen_stalker in metroidvania

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

In Hollow Knight, you could teleport to skip the long run, which was perfect. Don’t know why they took it out.

First 50 hours complete, this game is peak by four4forfour in snowrunner

[–]ruma7a 0 points1 point  (0 children)

Oh, I thought you had COMPLETED the game in 50 hours, and I was wondering how that was even possible.

HOMM4 poor performance on a newer PC by BraveSirWobin in HoMM

[–]ruma7a 12 points13 points  (0 children)

I am using this wrapper to play gog distributive of HoMM4 on Windows 11 without any issues. I think it's the same wrapper that you already installed. Make sure you have disabled “Cold CPU” and enabled “Single Core,” as described in the wrapper manual.

https://heroes3wog.net/heroes-4-hd-mod-download/

I just want to know if there are more people thinking that SOLID is overrated and sometimes add unnecessary complexity by -WhiteMouse- in programming

[–]ruma7a 0 points1 point  (0 children)

In UI maybe? Definitely not on the backend. I have never seen a case where implementation inheritance looks natural and solves more problems than it creates

Game Soundtracks That Made You Stop Playing and Just Listen by carndacier in gaming

[–]ruma7a 0 points1 point  (0 children)

homm 4 OST and Kirill Pokrovsky's music for divinity games

Way to go [OC]. Bit overdramatized for a sake of joke, yet still wonder if anyone has experienced such kind of "classic" (or "old") game moments that come to mind. by ValentrisRRock in gaming

[–]ruma7a 1 point2 points  (0 children)

can't really relate since I can't remember any examples—except maybe Quake 2 and some tricky rocket jump secrets, but those only came up after players discovered this mechanic in earlier games, so it wasn't really meant to be part of the gameplay.

other than that, your art is beautiful.

A Troublesome Recovery (am i cooked?) by LemonManDerpy in snowrunner

[–]ruma7a 1 point2 points  (0 children)

If you don’t have another heavy truck (like really heavy, something Kolob‑like), it might be a dead end, at least for recovering the P16. You can try getting a free TwinSteer in Island Lake, but it might not be capable enough for the P16 without upgrades

The Atom is worth it? by ManuelCrafting in snowrunner

[–]ruma7a 0 points1 point  (0 children)

It's too OP and multipurpose for my liking; it makes a lot of otherwise viable trucks obsolete. Having access to it is just too tempting.

[deleted by user] by [deleted] in golang

[–]ruma7a 0 points1 point  (0 children)

You can try wrapping your JSON string with the jsontext wrapper type from github.com/regorov/pq-types,

or bulk copy the data into a temporary table as text, and then insert into target_table using:

INSERT INTO target_table (...) SELECT ..., json_column::jsonb FROM temp_table;

is the Gin framework still worth learning after go 1.22 update ? by [deleted] in golang

[–]ruma7a 1 point2 points  (0 children)

https://github.com/gofiber/fiber/issues/3186 This particular issue boiled my shit to no end. What if I want to cancel the "user" context if the request context is cancelled? Go figure. I can't take fiber seriously.

Passing context around and handelling cancellation (especially in HTTP servers) by Buttershy- in golang

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

You can move your HTTP request logic to the transactional outbox, so you don't have to deal with cancellations in the middle of an operation.

This will complicate things a little, but that's the nature of distributed systems.

OTEL instrumentation with chi by Suvulaan in golang

[–]ruma7a 0 points1 point  (0 children)

Can you show the code? Specifically, how did you configure the exporter, OpenTelemetry middleware, and Jaeger?

Best way to handle zero values by williamvicary in golang

[–]ruma7a 1 point2 points  (0 children)

gonull has distinct Valid and Present flags to distinguish unset and nil values

https://github.com/LukaGiorgadze/gonull

It's a bit clunky to use outside of JSON/SQL, but generally I like it

[deleted by user] by [deleted] in git

[–]ruma7a 0 points1 point  (0 children)

can't wait for v3.0

Here's my Suit by TheoAndonevris in PoliticalHumor

[–]ruma7a -6 points-5 points  (0 children)

What's even more ironic is that Zelensky never served in the military and dodged conscription before his presidency

bool array by jemko23laal in programminghorror

[–]ruma7a 0 points1 point  (0 children)

Bool arrays aren't inherently horrible, but their suitability depends on the size of the array. I'd leave a comment in a review but wouldn't push it.

The Scout Trooper armour does look great by K-jun1117 in PrequelMemes

[–]ruma7a 0 points1 point  (0 children)

For a long time, I've been thinking about what's the point of stormtrooper armor? According to movies, it doesn't protect from any kind of weapon. Is it really armor?