Tuesday, October 4
Shadow

Tag: HugsLib

Lua script to delete/trim all processed messages from a Redis stream

gist
-- The goal of this script is to trim messages that have been processed by -- all extant groups from the a given Redis stream. It returns the number -- of messages that were deleted from the stream, if any. I make no -- guarantees about its performance, particularly if the stream is large -- and not fully processed (so a simple XTRIM isn't possible). -- First off, bail out early if the stream doesn't exist. if redis.call("EXISTS", KEYS[1]) == 0 then return false end -- To figure out what messages are deletable, we fetch the "last- -- delivered-id" for each consumer group of the stream, and set the lowest -- one of those ids as our upper bound. Next, we scan the pending lists -- for each group, because we also don't want to delete any events that -- are delivered but not acknowledg...

Rimworld output log published using HugsLib

gist
Log uploaded on Saturday, August 6, 2022, 8:09:08 PM Loaded mods: Harmony(brrainz.harmony)[mv:1.4.0.0]: 0Harmony(2.2.2), HarmonyMod(1.4.0) BetterLoading(me.samboycoding.betterloading)[mv:3.3.0.0]: 0Harmony(av:2.2.2,fv:2.1.0), BetterLoading(2.3.0), Tomlet(3.1.3) Core(Ludeon.RimWorld): (no assemblies) Royalty(Ludeon.RimWorld.Royalty): (no assemblies) Ideology(Ludeon.RimWorld.Ideology): (no assemblies) RuntimeGC [1.3](trinity.RuntimeGCupdated)[mv:0.1.0.0]: RuntimeGC(20.0.15.1) XML Extensions(imranfish.xmlextensions): XmlExtensions(av:1.3.0,fv:1.6.6) HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.2,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1) RimHUD(Jaxe.RimHUD): RimHUD(1.10.2) Toggleable Readouts(Owlchemist.ToggleableReadouts): ToggleableReadouts(av:1.1.0,fv:1.1.0) ...

Rimworld output log published using HugsLib

gist
Harmony(brrainz.harmony)[mv:1.4.0.0]: 0Harmony(2.2.2), HarmonyMod(1.4.0) Visual Exceptions(brrainz.visualexceptions)[mv:1.1.1.0]: 0Harmony(av:2.2.2,fv:2.1.1), CrossPromotion(1.0.0), VisualExceptions(1.1.1) Core(Ludeon.RimWorld): (no assemblies) Royalty(Ludeon.RimWorld.Royalty): (no assemblies) Ideology(Ludeon.RimWorld.Ideology): (no assemblies) SRTS Expanded(smashphil.neceros.srtsexpanded)[mv:1.4.6]: 0Harmony(av:2.2.2,fv:2.1.0), SRTS(1.0.0) HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.2,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1) Character Editor(void.charactereditor): 0Harmony(av:2.2.2,fv:1.1.0), CharacterEditor(1.3.842) 1-2-3 Personalities M1(hahkethomemah.simplepersonalities): SP_Module1(0.0.0) 1-2-3 Personalities M2(hahkethomemah.simplepersonalities.module2): ...

Rimworld output log published using HugsLib

gist
This file has been truncated, but you can view the full file. Log uploaded on Thursday, August 4, 2022, 11:53:46 AM Loaded mods: Harmony(brrainz.harmony)[mv:1.4.0.0]: 0Harmony(2.2.2), HarmonyMod(1.4.0) Performance Optimizer(Taranchuk.PerformanceOptimizer): PerformanceOptimizer(1.0.0) Core(Ludeon.RimWorld): (no assemblies) Royalty(Ludeon.RimWorld.Royalty): (no assemblies) Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0MultiplayerAPI(av:0.3.0,fv:0.3.0), CompOversizedWeapon(1.0.0), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:22.8.1), MVCF(1.0.0), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.0), Reloading(1.1.0), RRO(1....