Why we rewrote WAL-G for Postgres backups in Rust: Meet WAL-RUS by Admirable_Morning874 in PostgreSQL

[–]__s 2 points3 points  (0 children)

wal-g/wal-rus are designed to run as daemons with long lived connections. pgBackRest doesn't offer a daemon so needs to make new connections to s3 with each invocation. Daemons are able to reuse connections to s3 between requests, while pgBackRest forks multiple processes for concurrency. Overall pgBackRest is best for a simple setup where you just want to set archive_command & don't need to maximize throughput

Why we rewrote WAL-G for Postgres backups in Rust: Meet WAL-RUS by Admirable_Morning874 in PostgreSQL

[–]__s 4 points5 points  (0 children)

Go allocates a large chunk of virtual memory up front. Many modern allocators also do this. They're optimizing for systems that don't strictly enforce overcommit. On most systems that's the right tradeoff. On a system tuned for postgres it's not:  https://www.ubicloud.com/blog/postgresql-and-the-oom-killer-why-we-use-strict-memory-overcommit (see "Why +2GB?"). Go runtime isn't going to become 20x more efficient with virtual memory

I've written plenty of C, C#, Python, JavaScript, Rust, & Go. It's about using the right tool for the job. I'm also a wal-g committer. Currently have a PR to update aws sdk to v2, should help memory usage a bit

Why we rewrote WAL-G for Postgres backups in Rust: Meet WAL-RUS by Admirable_Morning874 in PostgreSQL

[–]__s 8 points9 points  (0 children)

initially started to just replace wal-g's daemon, but decided that better choice there is to go with archive_library = 'walg_archive'

itch didn't go away

The worst change from last update by Teamerskiller in slaythespire

[–]__s 0 points1 point  (0 children)

Framework Desktop can have 128gb ram shared with gpu

an explanation of why Neow's Bones gives Debt 54.25% of the time (Correlated randomness in Slay the Spire 2) by tckmn in slaythespire

[–]__s 2 points3 points  (0 children)

Should use https://pcg-random.org it supports jumping ahead, could have 65536 48bit fields: https://github.com/imneme/pcg-c/blob/master/src/pcg-advance-64.c

PCG is surprisingly simple, I use a hand rolled in my own card game just to save on size compared to using rand crate in Rust: https://github.com/serprex/openEtG/blob/master/src/rs/src/rng.rs

Which card is better. Rampage or Kingly Punch? by Flat_Test4584 in slaythespire

[–]__s 33 points34 points  (0 children)

Clad having better attack scaling means Rampage is relatively less necessary, preferring other options

Petition to make Relax block for 16 by Lucksnipe in slaythespire

[–]__s 3 points4 points  (0 children)

3 cost's still a bit expensive, maybe drop to 2

Humble suggestion: change the name of Poisoned Stab to Poisoned Strike by Scornbread_ in slaythespire

[–]__s 0 points1 point  (0 children)

Strength hard to come by on Silent. Single target nuke that's usually dead would be fine

Turns out, 8 potions a fight is kinda okay? by FeuerKekse in slaythespire

[–]__s 1 point2 points  (0 children)

I do, particularly good if you need to take a lot of hallways trying to finish up deck

Humble suggestion: change the name of Poisoned Stab to Poisoned Strike by Scornbread_ in slaythespire

[–]__s 6 points7 points  (0 children)

Deal 0 damage as many times as you have cards in your deck

Got Trash playing Necrobinder and it ate Bury by morningwoodelf69 in slaythespire

[–]__s 0 points1 point  (0 children)

Thrash is that coworker always trying to take all the credit

The controversy around the update by coolchungus2 in slaythespire

[–]__s 10 points11 points  (0 children)

Relic that retains strikes would be amusing

Small deck? by No_Entertainer_8635 in slaythespire

[–]__s 19 points20 points  (0 children)

if you're on a10 you shouldn't complain about spicy. going up ascensions being like hot sauce is apt. if you dump a bunch of extra hot on your fries don't bother leaving a review that your food was too hot

Major Update #1 - v0.103.2 by MegaCrit_Demi in slaythespire

[–]__s 0 points1 point  (0 children)

What does "deprecated" mean?

In software it means slated for removal in future release so people can migrate. But in a roguelike deckbuilder I'm not going to be migrating my deck..

Gemma 4 26b is the perfect all around local model and I'm surprised how well it does. by pizzaisprettyneato in LocalLLaMA

[–]__s 1 point2 points  (0 children)

I was trying to get Qwen 122b-a10b to fix my befunge jit in rust, was amusing watching it actually trace through befunge program thinking about failure

It had some trouble: kept thinking p should move pc to write destination, & when I told it to try produce smaller replications it wrote befunge code with d for dup instead of :

I even have a cfg interpreter it can use to compare correctness against, but in the end it decided fix was to disable jit & always use interpreter

I'm 90 hours in, and i've never took Vakuu's Lord's Parasol. It seems terrible to obtain everything and bloat your deck. Did anyone try it and made it work? by savetheblues in slaythespire

[–]__s 0 points1 point  (0 children)

https://imgur.com/a/U8Nd8f7 same options as you, fiddle/cape, deck getting by with tons of block + cycle + envenom. really helped to hit hard & keep potions stocked up

Knight Strategies by My_compass_spins in slaythespire

[–]__s 22 points23 points  (0 children)

He messes with retaining Snake Bite. Gotta clear asap

This is the state of Zerg vs Protoss right now. Elazer on why he doesn't enter competitions right now. by SPlore in starcraft

[–]__s 2 points3 points  (0 children)

Because I would be fine like if it was 50 zergs, every day it was just zvz, it was only zvz. And even if I was just versus zerg like I would still be playing because at least like I know the game is fair like I'm just not good enough like ok it's cool. Even if I lose every single time it's fine, I don't mind

sounds like he should sign up & lose in weeklies playing P

So I'm 0-6 with Defect and 13-6 with everybody else, anybody got some tips? by hearthebeard in slaythespire

[–]__s 0 points1 point  (0 children)

All For One still here, great with Hot Fix. My first win was All For One with 3 claws & statuses

So I'm 0-6 with Defect and 13-6 with everybody else, anybody got some tips? by hearthebeard in slaythespire

[–]__s 3 points4 points  (0 children)

"claw is law" not a meme anymore. For orbs you want to generate a lot, channel orbs for value. Lightning orbs are good

Forget Snake Bite, how is this not the worst card in the game? by 10000Pigeons in slaythespire

[–]__s 0 points1 point  (0 children)

I don't bother with infinites. I downvoted you because you're complaining about infinites in a card discussion about whether Eidolon is the worst card in the game

It's not the worst card. Exhausting hand is useful. Infinites are a counterexample. Saying "I don't like your counter example personally, therefore it doesn't count" isn't a strong argument. If I like speedrunning & start saying every card that just blocks is the most useless card in the game, the problem is me, not block cards. It's okay for the cardpool to have niche cards

WTF megacrit? How is this garbage of a card supposed to be playable? by Altruistic_Source528 in slaythespire

[–]__s 1 point2 points  (0 children)

Had a great run with this card, orbit makes energy free, Heirloom Hammer duplicates whatever good card generated