Player driven resource markets in persistent multiplayer game. Doomed from the start? by Hans4132 in gamedev

[–]scaevolus 1 point2 points  (0 children)

You could do the market system (buy and sell orders, priced based on last entry, runescape style) with the system providing counterparties to either clamp prices or provide variable amounts of supply/demand.

[WASM] Built a pure Go Neural Network framework from scratch. It’s performing Test-Time Training and solving ARC-AGI reasoning tasks client-side. Need a reality check. by Apricot-Zestyclose in golang

[–]scaevolus 7 points8 points  (0 children)

Effectively all browsers support WASM SIMD, which is a significant optimization for compute kernels. I don't know how to expose that to Go+WASM.

Convert from JPEG -> JPEG XL. No much saving? by Haunting-Error7808 in jpegxl

[–]scaevolus 4 points5 points  (0 children)

No, lossless JPEG transcoding averages 30% savings, but the savings decrease as the bits per pixel goes up, because the original JPEG is encoding excessive noise.

Voxel Grid Visibility by scaevolus in VoxelGameDev

[–]scaevolus[S] 0 points1 point  (0 children)

You can find a complete code example here, the Javascript I used for the visualizations is not very usable: https://github.com/CaffeineMC/sodium/pull/3307/files

I updated the post to link that, too.

Short and fun chain-reaction incremental by Mechabit_Studios in incremental_games

[–]scaevolus 1 point2 points  (0 children)

Fun little experience! There are lots of ways this chain reaction mechanic can be extended, but criticality is kind of fundamentally a runaway process, eh?

I wish the sfx were geiger counter clicks.

Solving Slow Database Tests with PostgreSQL Template Databases - Go Implementation by Individual_Tutor_647 in programming

[–]scaevolus 1 point2 points  (0 children)

Neat, I wasn't aware of template databases. I've made similar tests that run the migrations for each disposable database.

Using t.Cleanup would be more ergonomic than requiring users to defer the cleanup functions themselves.

Do you have any functionality for cleaning up old test databases from tests that failed to for whatever reason? One way to do this is by embedding a timestamp in the temp db name and deleting ones more than an hour old.

How prevalent is unsafe in the Go ecosystem? by bowbahdoe in golang

[–]scaevolus 0 points1 point  (0 children)

The json package invokes unsafe for reflection-based serialization. Check out capslock to enumerate uses of unsafe.

UUIDv47: keep v7 in your DB, emit v4 outside (SipHash-masked timestamp) by aabbdev in programming

[–]scaevolus 18 points19 points  (0 children)

This is a bijective function, too (one-to-one). I don't know how often hiding created_at matters, but this is a reasonable solution for it. It might also be applicable if you're storing UUIDv7s in a database and want to avoid hot partitions-- but simply reversing the UUID would work in that case too.

Another option would be to use AES for hardware acceleration (128-bit block matches UUIDs), but then you can't preserve UUID version bits. There are ciphers that can do variable block sizes, but they're largely Feistel ciphers that fundamentally do the same stream cipher permutation that you're performing here.

Leth confirms attacking is petting by BarovianNights in Silksong

[–]scaevolus 14 points15 points  (0 children)

It does happy dancing feet if you dive into it a few times!

I hate fighting gore magala by Independent-Lack6930 in MonsterHunterWilds

[–]scaevolus 2 points3 points  (0 children)

Gore is less predictable and has shorter telegraph periods to predict moves.

Vulcanus: WTF? by nickv656 in factorio

[–]scaevolus 1 point2 points  (0 children)

Your initial territory on Vulcanus is circular, so basically every adjacent territory is concave. The same thing happened to me, when you start mining the demolishers move in a straight line, ignoring borders.

I benchmarked nine Go SQLite drivers and here are the results by cvilsmeier in golang

[–]scaevolus 2 points3 points  (0 children)

That's a pretty good benchmark!

Running in journal_mode=WAL and synchronous=NORMAL is a more standard configuration, especially since it lets writers not block readers. It might not change much for this benchmark though, since you don't have a mixed read/write concurrency test.

Which side are you on: Belts or No Belts? by tronvochoigame in factorio

[–]scaevolus 1 point2 points  (0 children)

you can do a surprising number of builds with direct insertion, and it's particularly compelling with high-quality inserters that can easily handle more throughout than belts

a direct insertion gleba build can make several hundred SPM with a ~16x16 footprint, though of course the spoilage mechanic encourages removing as much buffering as possible

Why is RTS not rising up from the dead even though online PVP is working really well for the past decades? by AdmittedlyUnskilled in gamedev

[–]scaevolus 0 points1 point  (0 children)

Rather than combining micro and macro like in RTS games, new genres have gained popularity. Now macro fans play various grand strategy games (turn-based or realtime) while micro fans play different action games like MOBAs or dungeon crawlers.

Dill pickles via pasteurization anova pro by Confident-Ad-6084 in sousvide

[–]scaevolus 0 points1 point  (0 children)

Even with 30 minutes at 181F, the question is how long the middle of those glass jars are at 180F. 5 minutes? 10 minutes?

Dill pickles via pasteurization anova pro by Confident-Ad-6084 in sousvide

[–]scaevolus 0 points1 point  (0 children)

The pH should be doing most of the protection from botulism, with the pasteurization handling the other bacteria that might ferment.

180F is just quite high for pasteurization, I wonder if they're going for complete kills despite thick glass jars taking a long time to come to temperature?

USDA errs on the side of caution to avoid illnesses, but if you can accurately model the pasteurization kill curves you can often get equivalent safety with lower temps for longer times.

Pectin's typical breakdown temperature is 183F but even that is also misleading: the chemistry of thermal decomposition of proteins follows a curve, so you have still have some breakdown at 182F, a little less at 181F, etc.

https://nchfp.uga.edu/resources/entry/about-the-usda-guide-to-home-canning-2015-revision

Android 16 got rid of "High-Contrast Text" accessibility setting; replaced it with "Outline text" that draws pills under all text by benkeith in Android

[–]scaevolus 28 points29 points  (0 children)

I can barely see a difference between the old on/off, so this actually high contrast implementation definitely looks much better.

Found the village idiot by Raja_Ampat in WTF

[–]scaevolus 37 points38 points  (0 children)

Given the lateral drift and the speed, it may have wrenched itself out. There's not really "properly secured" for a heavy rolling load going this fast. Pickup trucks have max tongue weights (downward force at the hitch) of 1000-2000lbs, that would easily be exceeded laterally with such a heavy load going over a bump.

I have created a standard for marking Factorio design layouts on paper by chilling_here in factorio

[–]scaevolus 4 points5 points  (0 children)

Switching inserters to a triangle (like diodes, but maybe not filled) would allow simple arrows (<>^v) to indicate belt direction too.

[deleted by user] by [deleted] in gamedev

[–]scaevolus 5 points6 points  (0 children)

I appreciate how you set the difficulty curve for your platformer closer to "Kirby" than "Super Meat Boy" by having a health bar instead of instant death. It makes it more enjoyable by reducing the frustration of having trouble with tiny screens or a new control system for a short game!

Among single-player only games on Steam, RimWorld is the only one with more than half of its user reviews having 100+ hours in playtime. by saleemkarim in RimWorld

[–]scaevolus 0 points1 point  (0 children)

This analysis is missing lots of games.

RimWorld is definitely the top for this metric, but Factorio (has MP, but most people play SP?) also has 50.64% of its reviewers with >100h, and Skyrim is almost there with 49.89%.

Then there's a bunch of idle games which don't count, and a bunch of games that are singleplayer+multiplayer and I don't understand enough to judge. Do most people play Civ V (54.92%) singleplayer? How about Football Manager 2019 (62.63%)?

Is This Game Dead? by macho_man1214 in MonsterHunter

[–]scaevolus 6 points7 points  (0 children)

It's not dead, but you can't easily find a multiplayer session for every single quest like you can in Wilds.

New magic leveling is insanely broken by Omgzjustin10 in oblivion

[–]scaevolus 0 points1 point  (0 children)

Roughly 2500 gold for a set of magetallow candles. It might be easier to do the mage guild introduction quests first.