• 0 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle





  • There also needs to be some way to indicate that a JSON construct is a Set, Map, plain object, or array. You’d want a date/time type as well.

    Without breaking existing JSON parsers, the way to do that is to add metadata like a _type field to an object, or to add a “sidecar” object like superjson does. Which works but is ugly IMO.

    Then there’s BSON, YAML, JSON Schema, and the one we don’t mention ₓₘₗ. To my knowledge all of those could be extended in a way to support new types, but require the producer and consumer to both understand and follow whatever convention you use. They lack the universal interchangeability of JSON.









  • Ad-based apps on your phone.

    It’s been done already, you say? Not like this: the front-facing camera is used to detect eye gaze. A counter on the screen starts at 30 seconds and only counts down while you are looking at the screen. If you look away, the counter, and the ad, pauses. The app doesn’t continue until you’ve watched the entire ad.




  • kinttach@lemm.eetoProgrammer Humor@lemmy.mlJunior Dev VS Senior Dev
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    3 months ago

    Another senior dev here, one of those weirdos who likes light mode. Sometimes. VS Code’s light mode is blinding to me, and I never use it. But Nova’s is beautiful and I prefer it. It depends how well the app renders fonts and colors. The oversaturated colors used in most apps are a big problem.