• 0 Posts
  • 16 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle



  • I don’t understand how these are fundamentally different from the phone cameras that everyone points at everyone else already. holding a phone up isn’t exactly conspicuous at this point.

    schools should probably ban them for the case above, but schools should probably ban phones as well. in the US at least there’s so expectation of privacy anywhere public and smart glasses are a tiny fraction of the doorbell cameras, security cameras, etc that are everywhere

    it feels like we’re approaching a circlejerk level of being against smart glasses in general, which do have a ton of interesting use cases that aren’t recording related (but still require a camera for position tracking etc). the “pervert glasses” position is intentionally obtuse










  • I wish the desktop react native renderers took off. I definitely do prefer the react style of colocating everything + reactive state, and being able to swap different renderers for actually native feel doesn’t really seem like a goal for any maintained projects anymore. on that note, you could write your tui in react with ink or opentui if you want to go that route

    dioxus does have a native renderer (in the not webview sense, it still draws it’s own components, but most of the options do). if you’re looking at rust already, iced seems pretty close to react style, and has a decent number of things written in it already. relm4 is a different style rust framework for gtk that you might like as well.

    again not native appearance, but avalonia funcui can be pretty close to the react feel too if you’re open to f#



  • semicolons? quotes? use a formatter and don’t think about it. I think js world has basically done this already.

    const is simpler. why would I declare an array as let if I’m not reassigning? someone can look at it and know they don’t have to think about reassignment of the reference, just normal mutation. ts has the further readonly to describe the other type of mutation, don’t abuse let to mean that.

    const arrow over named function? gets rid of all the legacy behaviors and apis. no arguments, consistent this, and no hoisting or accidental reassignment. the 2 places you should ever use named fn are generator or if you actually need this