• 0 Posts
  • 23 Comments
Joined 3 years ago
cake
Cake day: July 25th, 2023

help-circle
  • Setting up shared calendars/lists in Radicale was not obvious to me from the documentation. I made a shared directory in my collections root, manually create calendars and lists in it, and them create symlinks to it from inside each of the user directories in the collection root.

    ./collections-root/shared/grocery/.Radicale.props
    ./collections-root/myusername/grocery -> ../shared/grocery
    ./collections-root/kidusername/grocery -> ../shared/grocery
    

    I manually create the .Radicale.props file in the shared collections. e.g.:

    {"C:calendar-description": "grocery", "C:supported-calendar-component-set": "VTODO", "D:displayname": "grocery", "ICAL:calendar-color": "#f8e45cff", "tag": "VCALENDAR"}                                                                                                               
    

    I should also mention that I use DAVx5. DAVx5 is where the connection to CALDAV (Radicale) is configured, then Tasks gets them from DAVx5.



  • I have run my own mail server for 20+ years. I set up everything correctly, including DKIM and DMARC. I have had the same IPs for 10 years. I send <100 emails a month. A few years ago Google started putting most of my emails in spam, and Microsoft started silently deleting them. They will not fix it. I had to start paying for a relay for outgoing messages.

    Use migadu.com.








  • Spring combines combinations of environment variables, system properties, files, and classpath resources, and handles a variety of patterns (e.g.: aConfigOption could be configured by system property A_CONFIG_OPTION, aConfigOption, or several other possibilities), so tracking down where the configuration came from is not always easy. Sometimes you think you can just set a property, but it turns out another property triggers loading a resource that overrides yours. This would be fine if applications/libraries clearly documented how to configure them, but most say “config via spring, good luck lol”.

    And good luck if you are trying to use two different components both built on Spring, and they both rely on the dependency injector settings “db.url”. Now you have to start playing games with dependency injector scopes.


  • Nothing? I just use the language features and I use libraries for specific things.

    I do not use an automagic configuration and dependency injection boondoggle. I read config in main(), create the objects I need, and do what I need. It is easy to see what my program does; it is easy to see where configuration comes from. It is easy to test any component, because you can clearly see what you need to provide to build the entry point objects.


  • While you are mastering Spring, I am mastering libraries that do the thing my program needs to do.

    While you are trying to debug to your Spring app, which is a huge PITA because Spring is a rat’s nest of conflicting configuration paradigms and overlays and fills your call stack with dozens of layers of generated methods, I have finished my work and am at the beach helping my coworker debug his Spring app because he didn’t listen to me when I said not to use Spring.


  • Mountain bikes have to be lightweight and strong, and production volume is low. Suspension design takes R&D, and adds moving parts. Start pricing components and you hit $5000 easy for a full-suspension bike. For hardtails, you are making a lot of compromises at $1500, but $2500 gets you a nice bike.

    For road/gravel bikes, once you get over $2000, you are paying a lot of money for tiny weight savings, negligible aerodynamic improvements, and electronic gizmos.

    For either mountain or road, if you want a custom/hand-made frame and parts made in the developed world paying living wages, you are going to spend a lot more. Taiwan makes a lot of great frames, but if you want a frame made buy a dude in Denver who names all his bikes after craft beers, add several grand.

    For city/commuter bikes, you can get something perfectly good for under $1000, but if you can swing $2000, get a Brompton.


  • eksb@programming.devtoFirefox@lemmy.ml•Mozilla never cared
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    3 years ago

    I want to hear somebody come up with a justification for moving the “Save” button in the download dialog to the top right, instead of the bottom, where everybody expects is after thousands of years of top->bottom left->right reading. Now the flow is top->bottom, left->right, where is the save button? Oh yeah, somebody moved it way up there.