Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

flashgnash

@flashgnash@lemm.ee

This profile is from a federated server and may be incomplete. Browse more on the original instance.

flashgnash , to Memes in Yes, but

I'm using adblock plus (not sure if it's the same one), I've never seen an ad not be blocked by it. Where does this happen?

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

Yeah that was exactly what I was thinking, and/or doing a similar thing in lua as an nvim plugin

That said I'm not sure if neovim would support something like that

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

My plan is not to have multiple files at all and only have the JSON be in memory, or at least if there is a second one have it be temporary and deleted on exit

The problem with the approach of having an intermediary format is I need to create the intermediate format, and given yaml starts for yet another markup language that doesn't seem like a good idea (also a ton of effort to reinvent the wheel)

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

Can usually tell when it's obviously bullshitting me and verify it if it's not. You can often get it to correct itself if you call it out

(This was the first time I've seen it incorrectly "corrected" itsself)

I think I did a quick search but it seemed so strange to me I just wrote it off straight away

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

What kind of problems? I'm unfamiliar with anchors in yaml

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

Not a terrible idea to add bits into the JSON but it makes it much harder to program, going for a quick and easy fix here rather than writing my own parser

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

Seriously? Chatgpt told me that once and I thought it was just hallucinating

Problem is it's for configuration of other services I didn't write, I would just use JSON in the first place if I were defining the schema

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

Comments are an issue I'd have to think about. Would prebuilt libraries for importing/exporting data from/to these languages not handle the multiline strings for me?

What do anchors do in yaml I've never heard of them before

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

I'm using neovim. It doesn't magically solve my problems with yaml though

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

No, I was thinking of actual JSON because it makes it easier to write a plugin (just use built in libraries to import and export configurations)

That said I suppose I could use the built in library and then re-inject comments after the fact

flashgnash OP , to Technology in Sanity checking an idea for editing yaml without wanting to throw my laptop out the window

I use nvim for it, it works but I'd rather not have to deal with indentation in the first place

flashgnash , to Memes in Getting a human to assemble something is usually more expensive then getting a robot to do it. Provided that the human gets paid, that is.

Unless you've been a monk for the last 15 years your data's already out anyway

Even on Lemmy, everything you say is public and can be harvested pretty easily

flashgnash , to Memes in Brits: Salt is a spice

We do have a lot of very bland food over here, but a lot of us like that.

It's a lot more about the texture sometimes, some of us (not me) can do some amazing roast vegetables and everyone seems to have their own ancient tradition for how to make them

flashgnash , to Technology in A Digital Twin Might Just Save Your Life

Sounds like a complete end to privacy as we know it

flashgnash , to Memes in I'm ready to build my own PC

As alright as you can be yeah (was 3 or so years). Got supportive people around me

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines