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

help-circle


  • I don’t really think it’s any of those things in particular. I think the problem is there are quite a few programmers who use OOP, especially in Java circles, who think they’re writing good code because they can name all the design patterns they’re using. It turns out patterns like Factory, Model View Controller, Dependency Injection etc., are actually really niche, rarely useful, and generally overcomplicate an application, but there is a subset of programmers who shoehorn them everywhere. I’d expect the same would be said about functional programming if it were the dominant paradigm, but barely anyone writes large applications in functional languages and thus sane programmers don’t usually come in contact with design pattern fetishists in that space.





  • A dedicated server is needed because something needs to keep a catalog of the smart devices available on your network and ideally be accessible to many people in one household. You could make a system that went phone -> device but you would need to set up each device on each phone you wanted to use, which isn’t a great user experience. You could also run into issues where devices would need to handle multiple conflicting commands from different users coming in at once. Since smart devices are usually trying to use as little power as possible, that extra complexity would hurt you in that department. The third reason is that having a separate server enables automated workflows that would depend on an always online server that orchestrates multiple devices. For example, let’s say you have some automatic insulating blinds, a smart thermostat. You want to raise and lower the blinds to maximize your energy efficiency. Since you have the dedicated server, that server can check the temperature set point of your thermostat, current weather, and sunrise\sunset times. If it’s sunny out, and your set point is higher than the outdoor temperature, the server can raise the blinds to let warm sunlight in, and vice versa. If only your phone could control the devices a workflow like this couldn’t work when you were out of the house.




  • ScreaminOctopus@sh.itjust.workstomemes@lemmy.worldIt's just a coffee
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    10 months ago

    Amazon is probably the worst of all of these. The only reason prime exists is to lock you into their store for all your purchases, when shipping orders should be a discrete charge for each shipment. At least the rest of these (except for Adobe and Nintendo, who suck about as hard) give you access to their infrastructure that lets you access the entirety of the product they offer instantly, whenever you have an internet connection.



  • I got a shield a while back because I was having issues with the built in chromecast on my TV. It worked fine for about a year, but I’ve been having issues with lag and apps crashing for the past 2-3 years. Meanwhile my girlfriend’s cheap roku puck still works fine, and she bought it around the same time I got the shield and it was way cheaper. I wouldn’t recommend the shield based on that. The only annoyance is jellyfin on the roku isn’t as feature complete, multiple language audio tracks aren’t supported, but if that’s not an issue for you I’d recommend getting a roku over a shield.