Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BU
Buildout @lemmy.world
Posts 7
Comments 28
Sacha Chua's Emacs cheat sheet from a few days ago but reworked in gimp as a desktop background
  • I would recommend learning vim in that case. I'm not sure about the availability of vi(m)/emacs on the systems you remote into, but if I was a betting man I'd say vi is more available than vim is more available than emacs. But if you learn vim and are stuck with vi one time it's still better than nano (for me, but I'm sure you're quite good with nano). Another benefit that extends outside of your text editing experience is that vim motions are offered out of the box for a lot of linux utilities (less) with no setup, or can be trivially added (tmux), which gives you familiar keybinding almost everywhere as well as an improved ergonomic (and likely speed) advantage.

  • WordPress update model?

    I manage a WordPress site hosted on SiteGround for a friend. The website keeps going down due to updates of some sort or another, and I'm trying to resolve this issue.

    SiteGround forces major and minor auto-updates at least every 3 days (if available), and offers the option to autoupdate plugins (which I have on). Inside of the WordPress admin page, none of the plugins are set to auto-update, and I can see some offering to update individually/manually.

    My question is this: what is the intended update model for WordPress? Should I just set everything to autoupdate to the extent possible? Although I'm facing issues now, my other software experiences tell me this is a bad idea. I'm used to "update when you want or need a new feature, but nothing will break if you don't", but is this just not how WordPress was designed?

    Thanks!

    3
    Not everything can be done in constant time, that's O(k)
  • T = O(n) means that there exists a single constant k such that T < kn for all sufficiently large n. Therefore O(n!^2) is not the the same as O(n!), but for example both 10n!, 10000n!, n! + n^2 (note the plus) are O(n!).

    Another way to think about this: suppose you believe that O(n) and O(n^2) are distinct. Now plug in only numbers that are factorials (2, 6, 24, ...).

  • What do these stickers mean
  • My guess is that these are all graffiti writers in the same crew (perhaps LVR, can't quite make out what it says in the tiny letterson the bottom). Keep your eyes out for individual tags or throw ups with the same names.

  • graffiti @lemmy.world Buildout @lemmy.world

    What happened to all the posts?

    Community page says there are 11 posts. When actually viewing the community I see 3. Did they get deleted or is there a bug somewhere?

    Solution: Enable "View seen posts" in account settings.

    9
    graffiti @lemmy.world Buildout @lemmy.world

    Tagtastic

    I was going to delete due to the flash glare, but on second thought it looked kinda grimy. Meter boxes right outside of an art store.

    0

    Slow print preview (multiple browsers)

    The print preview is taking about 2 minutes to generate in Firefox, and for the last 15 seconds the entire Firefox window becomes unresponsive. I am only "printing" to a PDF to save, and I have no printers connected to my (modern) laptop.

    When I tried on Chrome for comparison, it takes about 30 seconds (still a ridiculous amount of time) but without the freezing behavior.

    I tried setting print.prefer_system_dialog to false (which does not generate a preview that I can see), but Firefox still takes just as long to pop up the system dialog and the window still freezes.

    I only really care about fixing the problem with Firefox. Any suggestions are welcome, thanks!

    Info:

    • Mozilla Firefox 121.0
    • Google Chrome 120.0.6099.129
    • 11th gen Intel laptop on Arch Linux
    0
    graffiti @lemmy.world Buildout @lemmy.world

    Tagged pole

    Clean little tag I saw on a fallen pole.

    0

    Error uploading pictures (JSON.parse)

    I am getting an error when uploading an image from a local file: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    Even after the error the file name appears in the image name section, but when posted no image is actually included. I have seen another similar post to this about a month ago, but OP said issue was fixed (not the case for me on Linux and Firefox). For what it's worth, the issue also appears on Photon (in addition to standard UI).

    2
    Artificial Intelligence being dumb @lemmy.world Buildout @lemmy.world

    Scumbags: medical practice blatantly uses AI recklessly

    An actual article from an orthopedic practice has some hilarious and troubling phrases, and just generally goes off the rails halfway in.

    Some important quotes:

    • "Scumbags should avoid activities that can cause too much pain, such as squats, twisting, running, jumping, or any type of high-impact activity."
    • "In reality, [squats] are not the best way to gain the most muscles. The squat is the best."
    • "deadweight is a type of weight gainer"
    • "the addition of the glutes, glutes, and truncles"
    • "Why is there a woman with the heaviest body?"
    • "think about hip levels lower than shoulders"

    The absolute gall to sling garbage like this with (obviously) no proofreading at a time when AI generated text was known to be highly unreliable (2022-10), and then have people entrust their bodies to you. Of course, I'm not condoning using AI blindly now either.

    0