Hi, i’m into programming, sexual transmutation and psychedelics!

  • 68 Posts
  • 148 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle




  • I know some basic Rust (currently at chapter 9) and a little bit of JavaScript.

    I’m trying to work with headless CMSs and that requires some understanding on how APIs work…

    Even tho I wouldn’t want to stick with JS, I don’t really want to dig into frameworks and dependency hells.

    But I like the concept and I need to build a site that grabs some data from an external api, so a headless cms would be my choice to grab the data and structure them there in order to be rendered later in something like a static site generator (I’m quite good at Hugo). Or will learn some basic React and try to build a template on my own there…





  • Thank you for your answer!

    Yes I’ve considered using Hugo data sources, but handling all events in one single data file is not really a good way to manage data because Hugo can’t programmatically generate content pages from a single data file sadly… Also again, even if I make a script able to do this, I don’t think you can modify content when already created without handling single posts individually.

    I could generate a “list of events” but not individual pages from it and not an RSS feed for posts which I would need for newsletters etc…

    The thing with CSV is that I kinda lost track of where the actual updated data is, so I’m keeping that updated too, yeah I know I’m a mess.

    All the stuff cited is needed for one single job essentially: contacts, newsletter, events… Which is gathering self published and externally published events and sending them to a list of chosen emails + some integration with social medias.

    I’m not a webdev and I thought I could solve this much more easily, but I think doing this correctly would involve using at least an headless CMS + something that is able to grab data from external APIs + some JS framework for building the frontend.

    Or relying on a ready full CMS like Ghost or WordPress + theme and hosting on a VPS, which honestly is what I’m leaning towards…

    I want to avoid JS if possible as I had terrible coding experiences with it, I know some Rust but webdev in rust is not really a good option from what I’ve learned.

    What do you think?




  • dontblink@feddit.itOPtoDigital Minimalism@lemmy.mlI'm done!
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Hi! Thank you so much for your answer! I’m using koreader now for my reading and getting books online, a Kobo looks nice because you can apparently install Koreader on it as well, and synchthing too.

    The mp3 is also a good idea, but I realized I will have to use a computer and an internet connection somehow at some point, whether it’s for managing my ebooks, downloading music or other stuff… And while it can be wonderful to not having to work at a PC all day, I think I will need at least a laptop that I can bring to a library and help me manage some stuff every now and then, even if I have no internet/smartphone at home… Well I hope it can be a cheap b/w e ink laptop one day!!

    I think part of me just have to learn that some emotions I feel are so strong that sometimes having control on my media use is hard unless I address my underlining condition. I can definitely do better tho!

    For example I can change my workplace so I don’t have to be on a computer all day alone, working on social medias too pheraps, and I can ditch my smartphone and get a Garmin for gps, mp3 and eBook reader… Even tho my smartphone is not really being as much of a problem anymore since it is really really minimal already thanks to e ink and plucky andoff!

    One thing I notice is that when I feel worse I somehow try to rationalize I can “unlock” some restrictions because I might have become able to handle it, eg. I can install Instagram or a browser to look for events, but I end up in bad media use every time after that!

    I think that’s mostly because I really need some relief from the constant stress I experience / fear of intimacy which brings me to porn/social medias (from PTSD), and partly because these softwares contain the bads alongside the goods.

    Anyway the e ink world is being more and more amazing the more the time passes, and there are people who do care and build better / less or non addictive software too! I think the goal shouldn’t be perfection, but rather the best balance between convenience and unwanted effects…

    I would be much less driven to use technology at all if I did not have internet at home or didn’t have to work alone at a computer, but I could lose too much if I didn’t own a computer I could bring to a library once or twice a week to download ebooks / music / watch for events to go to with my friends or download my guitar tabs!



  • dontblink@feddit.ittoPrivacy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 months ago

    I think people should really read books like digital minimalism by cal Newport, stolen focus, surveillance capitalism, your brain on porn ecc to understand how social medias (but the internet in general) IS DESIGNED to be addictive, and what are the addictive traits.

    Lemmy is definitely better but still holds some concepts from addictive social medias (not because of developers fault, I think they just tried mimicking popular socials, since these are born as “alternatives”). Infinite scrolling and upvotes are just two examples.

    Some frontends do a great job leaving power to the user in that, like eternity, but I think a lot more consciousness should be raised on the topic and, at least in the open source / federated community there should be some guidelines on how to design social medias just as useful tools while minimizing distractions/useless/addictive parts.

    It’s great to be decentralized, it’s great to avoid ads, profilation and targetization, but we can do better in designing really new and useful tools starting from certain principles.









  • I thought about Nix, it is indeed cool to declaratively install stuff and it would indeed be very helpful to set system settings all from one file so that you control everything there, but I don’t think that’s what I need, I think I’d need a more focused desktop environment maybe?

    Kiosk environments could be a solution, because once the UI is limited, you can install software in any way you like and from any distro really, I think the focus is to keep it minimal under the hoods and very simple on the surface!





  • I think one of the problems is actually I’m lacking sugars and I frequently go in hypo, I do plenty of sports and don’t eat anything sweet except for some fruits.

    Yesterday I measured glicemy AFTER having had a snack like an hour before and it was 76, which is fine but on an empty stomach, it’s supposed to be >100 after eating…

    I will try again when I feel those strong symptoms like some evenings ago when I couldn’t even think clearly and I was feeling like I was almost passing out.

    For now it looks like when I’m really really down, I eat something sugary like juice fruit and I feel immediately better.

    I think this is definitely playing a role, but got to investigate further and correlate with measurements.