• 1 Post
  • 51 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle


  • BleakBluets@lemmy.worldtoProgrammer Humor@programming.devCSS Gardening
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    3 months ago

    It’s so the position: absolute for .leaves works relative to .tree. The implication is that .leaves is a descendant of .tree.

    position: absolute looks for the nearest ancestor with a set position in order to determine its own positioning context. Otherwise the absolute positioning would basically be relative to the viewport. If the position: relative was missing, the leaves would be against the bottom edge of the image.

    source

    edit: I mean .leaves, not .branch



  • I enjoy A Link to the Past Randomizer, but primarily because it adds replayability to a game I’m already so familiar with. ALttPR becomes a puzzle of which chests/dungeons have the highest probability of containing progression items. Calculating that optimized routing in realtime while racing against a clock is fun. Also figuring out the best way to deal with a boss that you already know well, but now you have an unexpected equipment loadout is fun to me.

    However. If I were to play a new game I didn’t have any familiarity with and its item placement and/or map layout was procedurally generated, I don’t think I would enjoy a first playthrough. I don’t enjoy variety just for the sake of variety. The proc-gen would have to have some known parameters that allow me to strategize in how I approach it in order to not seem arbitrary. If I didn’t enjoy the first playthrough of such a game, I might not be motivated to learn enough to enjoy future runs.

    That’s why I think I don’t love Spelunky or Slay the Spire despite loving games that play similarly like Cave Story and Magic the Gathering respectively. I think I could love these games if I could reasonably plan ahead, but I feel those games have too much variance and the outcomes feel arbitrary as a result. Though that could just be my lack of dedication to understanding the bounds of the generated content.









  • BleakBluets@lemmy.worldtoFirefox@lemmy.mlFirefox 132.0.1 Release Notes
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Yes, especially for applications, and especially for Firefox. The Major version in SemVer increases with any interface change public or private (or it’s supposed to). This is important to communicate to users who rely on any 3rd party plugins, or who need to open files created with prior versions of the software, including configuration profiles.

    Using Firefox as an example, I use the Firefox UI Fix. If Firefox changes their browser userchrome/layout, this mod breaks. But it is nice that I can tell at a glance when a new Minor version or Patch version releases that it contains no changes that break this mod. Any breaking changes in these versions are bugs in Firefox.

    As for higher number versioning. I’m not advocating that Firefox restarts their Major versioning number back to 0. They could skip Major versions and call the next Major version 200 for all I care. The only thing my comment advocated for was including the date in the patch version number.


  • I prefer the SemVer Major.Minor.Patch approach so I can tell at a glance if the update breaks compatibility or is just bug fixes. Technically the Patch part can be any number as long as it increases each update of that same Minor version, so one could write the versions as AA.BB.YYMMXX where AA is the Major version, BB is the Minor, YY is the two digit year, MM is the month, and XX is just an incrementing number.

    I think this approach has the best of both systems.





  • It’s interesting how this scene was constructed. The blacksmiths and their table never appear outside except when guiding the one lost blacksmith back home. The old man is usually sleeping in the bar mumbling about his lost son (flute boy) until the pre-credits end sequence where they are reunited in the forest. The text boxes normally have a transparent background, but here it’s a darkened floor tile from Sahasrahla’s hut.


  • The most convenient userscript for me is this one that automatically likes YouTube videos. It’s configurable to be able to: like the video after a specified watch percentage, ignore already disliked videos, only like videos from subscribed channels, and ignore livestreams. I like it enough that I’ve made a few pull requests to fix it when YouTube changes their UI.

    When I have the time, I work on an in-progress local version to implement a few new features including: (1) Support for the YouTube shorts UI. (2) An option for a notification/toast to appear when the video has been liked. (3) An option to check the watch percentage continuously (mutation observer) instead of a user-defined poll rate which sometimes misses liking very short videos in playlists. Eventually I’d like to port something like this as a YouTube ReVanced patch.


  • BleakBluets@lemmy.worldtoComic Strips@lemmy.worldFloor Time
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Pink: “You could be a responsible person and be productive right now.”

    Green: “🥺”

    Pink: “… or we could take a nap instead.”

    Green: “Yes, I’d prefer that.”

    There is additional context that “do the thing” in ADHD speak usually means completing the task that has been stressing you out, but that you keep putting off and feeling guilty about. Taking a nap instead, in such cases, is more about de-stressing and forgiving yourself for another day of failing the task rather than being lazy. In the comic, this conversation takes place between two characters, but in reality it’s usually an individual, internal process.

    Edit: Additionally, I translated “floor time” as “nap”, but it could be any non-stressful activity, even just laying on the floor, wide awake, and staring at the ceiling.