Skip Navigation

Posts
3
Comments
71
Joined
3 yr. ago

  • have not hear anything bad about webp, whats up with that

  • fyi you have toggled the setting that marks you as a bot account, as such your content will not show for some percent of people that have bots hidden

  • don't know the details but my general IT knowledge says that: single unicode character/glyph can take up to 4 bytes instead of 1 (ascii).

  • Deleted

    Permanently Deleted

    Jump
  • unsure if the translations work well in english but checkout Christian Morgenstern, he made similar "silly" poems

  • Linux has kind of two forms of memory pages (entries in RAM), one is a file cache (page cache) and the other is "memory allocated by programs for work" (anonymous pages).

    When you look at memory consumed by a process you are looking at RSS, page/file cache is part of kernel and for example in btop corresponds to Cached.

    Page cache can never be moved into swap - that would be the same as duplicating the file from one place on a disk to another place on a (possibly different) disk.If more memory is needed, page cache is evicted (written back into the respective file, if changed). Only anonymous pages (not backed by anything permanent) can be moved into swap.

    So what does "PostgreSQL heavily relies on the OSs disk cache" mean? The more free memory there is, the more files can be kept cached in RAM and the faster postgres can then retrieve these files.

    When you add zram, you dedicate part of actual RAM to a compressed swap device which, as I said above, will never contain page cache.In theory this still increases the total available memory but in reality that is only true if you configure the kernel to aggressively "swap" anonymous pages into the zram backed swap.

    Notes: I tried to simplify this a bit so it might not be exact, also if you look at a process, the memory consumed by it is called RSS and it contains multiple different things not just memory directly allocated by the code of the program.

  • Had to solve the same problem few months ago, user provided content and so, user provided translations.We use postgres everywhere and we had to support 3 languages initially with one more eventually, so we decied to use json fields for anything that could be translated (which wasn't too much). Mind you, this was basically a (temporarily permanent) prototype project but (fresh) postgres has a good support and operators for json so it worked alright.

    EDIT: I remembered that hstore might be a good alternative too, I think it was slightly less "heavy" and had better operators for the kind of access we needed

  • FredrikkNudsen's down the rabbit hole, just pick any.I really enjoyed the one about computers beating humans in chess - Deep Blue

  • Technology @lemmy.world

    Should we remove XSLT from the web platform?

    github.com /whatwg/html/issues/11523
  • that's sucky as fuck, like why would you do that? if they don't want to support it anymore then at least open source the implementation or the spec

  • could I get a bit of context for this? not well read in VR things

  • it's good, the bad: beta maps are small so it's not exactly the BF experience of old, there should be bigger maps on release. Also no server browser, invasive antichet and EA, but it is good

  • Caddy + DeSEC.io + DNS Challenge [Solved]

    Jump
  • are you paraphrasing what the article said or saying it yourself?

  • have it on dietpi (pi 4) + tailscale at home to monitor my dedics

  • as with email, your instance is part of your unique username

  • Unsure how well known it is, but flameshot (screenshot tool).

    I prefer CLI usually, so: zoxide, the zsh git plugin for aliases (e.g.: gst is git status), fzf zsh plugin and the tldr command comes in handy sometimes.

    Also, this might be useful just for me, but due to orientation of my living space, I have to fiddle with monitor brightness at least three times a day so I made myself a little Qt tray wrapper around ddcutil's ddcquery which can change standard vesa monitors brightness/contrast (DDC/CI communication).There is also ddcui/gddccontrol GUI that does the same thing.

  • For cli oriented folks, ncdu is a great cli alternative of QDirStat

  • Technology @lemmy.world

    38C3 - We've not been trained for this: life after the Newag DRM disclosure

  • Lemmy @lemmy.ml

    Instance Owners: Do Not Use Lemmy-Thumbnail-Cleaner