• 0 Posts
  • 14 Comments
Joined 1Y ago
cake
Cake day: Jun 13, 2023

help-circle
rss

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.


Yeah, for this reason I would pretty much never encourage exceptions in Python over some other form of error handling. It’s so frustrating when called code throws some random exceptions that are completely undocumented. This is one of the few things Java got (sort of) right


Isn’t a huge part of the point of copy left licences that an author can’t change the license without rewriting the code entirely?


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.


If you want to share a set of feeds between devices, and sync read/unread, organization, etc.


I got a set off ebay, Jesus christ they’re loud. I ended up returning them cause I could hear the grinding through my whole house


This would be so nice in a mainstream language, I wonder if it would be possible with rust’s macro system?



If your cloud provider decides to screw you you’re gonna have to put physical infrastructure together no matter what license their software is distributed under.



One of the main things I feel is missing is there doesn’t seem to be a way to view and track all tasks in all your pages, I generally like tasks to live with the relevant info rather than in the journals. Do you know if there’s a way to get something like that?


I’ve been using Logseq and syncing via syncthing, but you can sync with any file syncing service


I don’t understand why you’d be fixing unit tests he broke during his pr. It seems like he might be bullying you? Maybe discuss with your manager.