• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle


  • YAML to JSON is probably doable, JSON back to YAML not so much.

    There are multiple ways to mark multiline strings in YAML. Then there are anchors, like bionicjoey mentioned. Also comments, YAML has them. You’d have to have some way to retain the extra information, if you want to make the full round trip.

    Here’s an example:

    def-db: &def-db
        # here be dragons
        login: admin
        passwd: nimda
        
    prod:
        db: *def-db
        desc: |
            I'm a teapot
            short and stout
    
    dev:
        db: 
            <<: *def-db
            passwd: pass
        desc: "I'm a teapot\nshort and stout\n"
    

    converted to JSON looks like this

    {
        "def-db": {
            "login": "admin",
            "passwd": "nimda"
        },
        "prod": {
            "db": {
                "login": "admin",
                "passwd": "nimda"
            },
            "desc": "I'm a teapot\nshort and stout\n"
        },
        "dev": {
            "db": {
                "login": "admin",
                "passwd": "pass"
            },
            "desc": "I'm a teapot\nshort and stout\n"
        }
    }
    




  • I Still don’t care about cookies? From its description:

    In most cases, the add-on just blocks or hides cookie related pop-ups. When it’s needed for the website to work properly, it will automatically accept the cookie policy for you (sometimes it will accept all and sometimes only necessary cookie categories, depending on what’s easier to do).

    So, yeah, doesn’t accept everything, but might accept some.




  • what does annoy me (dunno whether it changed after the patch) is that things like legendary sandevistan heatsinks are only available via crafting.

    I’ve never used sandy, but now I’m annoyed, too.

    Actually, the whole idea of crafting annoys me, especially how it’s implemented in CP2077. I can suspend my disbelief for a while, and accept quickhacking as advanced tech, no problem. But dismantling an ashtray, a pack of condoms and a shotgun, and turning the parts into a leather jacket, while sitting on my bike in the middle of a highway? CDPR, you owe me an explanation.

    Such things should be available (at stellar prices) from shady dealers at high enough stats and street cred.

    This is the way. I wouldn’t be sad, if this was the only way. It just doesn’t make sense, that some pampered corporat learns, in a matter of days, the skills to build smart rifles and kevlar vests. There apparently are people in NC, who make a living as techie. How is that possible, if acquiring the skills is so easy? Same goes for every smith in Skyrim, etc.


  • My point, if I had one, would be that “boring, repetitive multiplayer games” are so much fun, for so many, that calling people to stop playing them is an exercise in futility.

    That said, I find them un-fun, too. Mostly because I constantly get my ass kicked, but also because I enjoy slower, 4x and plot driven games more. To each their own.


  • wisplike_sustainer@suppo.fitoMemes@lemmy.ml"gaming is dead"
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    edit-2
    1 year ago

    competitive, multiplayer games. “I do the same thing with the same guns on the same map every day and I’m bored. Gaming is boring.”

    Sounds a lot like football, except for the guns. Opposing team has new skins for every game, but the game loop is exactly same for every game, all the game. And the map, oh gods, the map! Notice the singular? Yeah, there’s actually just one map. Some background textures change, but functionally it’s always the same green rectangle with some lines drawn over.






  • Well, it kinda, sorta does.

    Hentai is a compound of ‘hen’ and ‘tai’, which mean ‘weird’ and ‘appearance’, respectively. Hentai means ‘transformation’ or ‘abnormality’. If we’re talking about sex, it’s usually shortened from ‘hentai seiyoku’, ‘abnormal sexual want’, or to put it bluntly, perversion.