🌉 bridged from @MonkderVierte@lemmy.zip by Tidepool
MonkderVierte
@monkdervierte.lemmy.zip.ap.tdpl.io
What's the actual usecase of := in parameter replacement?
cross-posted from: https://lemmy.zip/post/74048002
I've seen
: "${DB_HOST:=localhost}"because it assigns the variable if not set (: $…is just to run assignments standalone). But that has the same effect likeDB_HOST="${DB_HOST:-localhost}(use the string if not set). While something likeecho "${DB_HOST:=localhost}"smells from a mile, because it has output with side-effects.What's the actual usecase of := in parameter replacement?
I've seen
: "${DB_HOST:=localhost}"because it assigns the variable if not set (: $…is just to run assignments standalone). But that has the same effect likeDB_HOST="${DB_HOST:-localhost}(use the string if not set), which is more readable. While something likeecho "${DB_HOST:=localhost}"smells from a mile, because it has output with side-effects.Queue-based file system for cache
I can't seem to find anything like it, neither as a Fuse fs. Is there really no file system, that just evicts the oldest entries once it's full? I mean, it could be a simple queue.
This would have been the ideal tool for cache; no bothering with size limits and background daemons.
Some desktop on cli
Is there a CLI/TUI start menu like tool, with favorites/categories?
Or even better, a whole status bar at the top/bottom (also without X/wayland/framebuffer), with time, battery, maybe even launched background processes listed you can bring to front?
No reason that we can't have some Desktop metaphor niceties on shell too, no?
Onceability
CHF 5.79 ASS
Can't see what game it is, since there's no title and the logo is partially hidden.
Btw, we have no lower than 0.05 CHF, those prices are bullshit.
Relief baking
Has anyone attempted to use controlled browning via cut & bent paper/allu foil masks to create art on buns (especially pretzel)? I have this image laying around... image