• 0 Posts
  • 25 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"
        }
    }
    


  • Performance and stability seems to be at the same level it was under windows 10/11. Can’t say nothing about standard compliance, nor do I really care in the end.

    I’m kinda sure I wasn’t missing functionality, either. Then again, my card is old GTX, so DLSS not working is not because of drivers.

    ETA: Hibernation requires swap space. Yes, swap file is viable alternative to partition, but I already had a swap partition, albeit too small. Even with partitioning aside, enabling hibernation is tedious compared to windows, where it’s literally ten clicks, five with keyboard and five with mouse. And on linux it requires a lot of “rooting around”.



  • For background, my first linux was debian in late 90’s. I went through gentoo to ubuntu, until I got mac for work about a decade ago. By then my home rig was single booting windows.

    So, given my history with debian, I started with ubuntu, only to realize I don’t like its current state. Next up was pop_os, because it’s heavily recommended for gaming. After some time I came to conclusion, that everything I know about linux on desktop is badly outdated, so I might as well go heavy and try arch. I chickened out, though, and went with manjaro. It’s actually quite nice, save for that hibernation.


  • Normal users are not going to root around in the registry and twiddle things to mske the OS treat them with respect.

    I absolutely agree with you, and this statement is absurd, given the context.

    Recently I decided to try out gaming with linux. What was planned to be a weekend project turned into multiweek project, and it included a lot of “rooting around” to get things working the way I wanted them to. Maybe it’s linux treating me with respect, when I have to start planning for hibernation when I’m partitioning the drive. Maybe it isn’t.

    (Aside, Valve has done great work with proton. It’s time to reconsider, if games are keeping you from switching over.)










  • 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.