Ctrl-C in psql gives me the heebie-jeebies - Neon

There are a few different reasons to hit the brakes on a Postgres query. Maybe it’s taking too long to finish. Maybe you realised you forgot to create an index that will make it orders of magnitude quicker. Maybe there’s some reason the results are no longer needed. Or maybe you, or your LLM buddy, […]

Neon

Would folks be interested in a writeup with working scripts for 100% locally #selfhosted #LanguageTool Desktop (#macOS, #Linux should work too) with full grammar checking and sentence rewriting capabilities, taking advantage of the open source LT server, #ollama, and #mitmproxy or #Proxyman ?

The upshot is #private #secure #grammarcheck with #LLM rewrites, like a secure self-hosted alternative to #Grammarly without sharing out every word you type. Awfully #hacky, but it works... #infosec

Hacky way to implement sound propagation around corners in a stealth game: use the navigation system. There's probably a better way to do this, but this only took me a couple of hours to implement, and it works.

https://www.youtube.com/watch?v=QdFaNkJPaao

#gameDev #stealthGames #Godot4 #hacky #butItWorks

Turscar Isle Dev Log: Sound detection

YouTube

簡単操作でエリートハッカーになりきれる。タイピングシミュレータ「Hacky」,Steamで配信開始
https://www.4gamer.net/games/854/G085410/20241105033/

#4gamer #Hacky

簡単操作でエリートハッカーになりきれる。タイピングシミュレータ「Hacky」,Steamで配信開始

Napas Torteekaは2024年11月2日,PC用ソフト「Hacky」の配信をSteamで開始した。本作は,キーボードと知恵を武器にエリートハッカーになりきれるタイピングシミュレータだ。プレイヤーは,簡単なタイピングでネットワークの深くに潜入していく。

4Gamer.net

If you have a struct in a no-std library in Rust, and need a way of serialising it to JSON for storage, if you're careful, you can make fmt::Debug output valid JSON

#rust #rustlang #hacky

It executes the script ...
/path/to/script/manage-signal-backups.sh %f %n

Which uses the filesystem path for the (%f) for deletion of the other files in the same directory

working_dir=$(echo "${1%/*}/")
ls -td ${working_dir}* | grep /signal-.*\.backup | tail -n +2 | xargs rm --

and the Nextcloud-Path (%n) for efficiently updating the file database

nc_relpath=$(echo "${2%/*}/")
php /path/to/occ files:scan --path="${nc_relpath}"

Now old Signal-backup-files get deleted automatically.

#hacky