dontblink

joined 2 years ago
[–] dontblink@feddit.it 1 points 1 day ago (1 children)

I think essentially I would like to achieve something like this

[–] dontblink@feddit.it 2 points 2 days ago (3 children)

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?

 

I need to create a website that holds some events data as well as other content, it will also maybe need to grab some data from APIs.

Since I'm skilled with Hugo (static site generator) I thought I could use that but it's turning out it's a total mess actually.

In Hugo I can have contacts (like events organizers) as taxonomy, but that is a different format (yaml) than CSV or vcard, and it's also static, meaning that if I edit a contact it will only change in Hugo. So I found myself having to manage contacts in 4 different places, in 4 different ways: Hugo yaml, Thunderbird, google contacts, CSV (from earlier days)... And I will add mailchimp once I'll also add a newsletter. This ensures my contacts are kinda becoming a mess.

Same goes with events, it's okay if I generate events in Hugo, but if I grab events from APIs and then the API content changes I will have to modify it on Hugo as well.

Everything it's turning out to be a total mess essentially and I think I tried to use something simple to build something quite complex, I realized the complexity later.

Now ideally I would like to be able to have my contacts, my newsletter, my content in one single place ato have everything nicely synced and not having to deal with 30 different lists or formats.

What should I do?

I know about the jamstack and headless CMS like ghosts and I was wondering if they could be a good solution, or if I should opt for a full CMS. Obvious solution would be WordPress but I wouldn't really want to mess with all the plugins.

Also I spent quite a but of time in building my templates for the Hugo website and throwing everything away would feel awful, if there's a way to reuse them (?).

I know some JavaScript basics but I would avoid it if possible.

[–] dontblink@feddit.it 7 points 4 days ago (1 children)

Why the fuck not using mechanical ports?

 

Hi! I've been working with Hugo for a while and I also created a free MIT licensed theme with it!. I love the flexibility and the ease of use.

But I'll have to wok on a bit more complicated project than a simple showcase website/blog. The content to be published on it is not a lot, but it would be definitely better if I could:

  • Get/Post some content with API to avoid posting multiple times the same articles on different platforms, getting modifications as well.
  • Send posts digests via email / Download PDF post digests.
  • Post on social medias (?)
  • Parse some content from CSV files / I don't know anything about databases.

Now I know that I can do something like this with a little systemd service I might write on my own and something like Zapier + RSS feed + Mailchimp. Also I could leverage Hugo modules and the .GetRemote / transform.unmarshal command, to get content from remote sources.

Now I'm not really a lot more than an amateur developer, I was thinking a headless CMS could pheraps do this stuff and more in a better way (?). I'm not a webdev and I know only really really basic JavaScript, I can use Bootstrap for frontend confidently and add SCSS to it. I know a bit of Rust too.

Would it be worth to take the time learning how headless CMS's work? I don't really want to go back managing Wordpress plugins, updates ecc.

Do you think I'm going out of a static site generator purpose with this kind of project?

 

I used to use stocard to store the fidelty cards from several shops in one place, but now it's apparently closing and they want me to download another app which has 700 features I don't care about and that wants me to make an account and accept cookies..

Is there any Foss app that does simply this?

[–] dontblink@feddit.it 1 points 1 month ago

Have you checked out other types of therapies? Not all therapies are the same and not all medicines are the same!

You might just be missing what works for you! Don't get discouraged, I have been in therapy for 4 years and only after this time I understood that my therapist doesn't make it for me anymore!

I have PTSD from childhood trauma and from what I've read many therapists focus on other symptoms without actually addressing the core trauma.

Currently changing therapy with a microdosing friendly Gestalt therapist! Just the fact of standing for myself in one of the ugliest times makes me feel so proud.

Whatever you do, don't stop trying and don't stop seeking for alternative solutions. Think about how you managed to live with all this pain until now, and how strong you are for that. Most of the others cannot know how much strength is required to deal with such emotions.

Think if one day you will unlock this all, think how many beautiful things you could do with the consciousness of how it feels to actually feel bad!

[–] dontblink@feddit.it 15 points 1 month ago

When Linux phones?

(Actually usable ones)

[–] dontblink@feddit.it 1 points 1 month ago

Crypto - wall street on steroids Bitcoin - an actual alternative to the collapsing monetary economy

That doesn't take into account privacy coins like monero, which have different purposes, but most crypto is bullshit.

[–] dontblink@feddit.it 1 points 2 months ago

Probably an unpopular opinion but if you want absolute minimalism without ads use Violoncello text browser!

 

After my last break up I can't seem to get out from this depression relapse..

I reduced media use drastically, like almost to zero, I am swimming 3-4 times a week, doing yoga 1-2 times a week, going to work every morning with my bike, doing only cold showers, being in the sun, being in nature, playing my guitar, being around people as much as I can, being around my little dog and my cats, eating super super healthy, not doing any drug, not drinking, not smoking, reading self help books..

I'm doing everything, everything that can possibly be done without meds probably, but my mind feels so down and so "lazy", last night I was sleeping on the ground because I had scabies and got cured, I had my bed changed and didn't want to sleep in my bed without having a shower first, but it felt too hard to have a shower..

I've been wearing the same clothes for 3 weeks because it feels so hard to change myself and to wash them.

Even tho I'm really putting effort into all this stuff, I feel like I have zero energy and my mood is like 90% of the times terrible, and 8% of the times acceptable and 2% kinda OK(?)

I'm used to most of the stuff I said in the beginning, it's just what I do in my life is most of the time, except I would increase media consumption from times to times. How the hell can I be depressed?

I feel like this time I'm doing everything right, and in fact at least I don't feel like I want to kill myself all the time like it happened in the past.. But you know, it feels like great effort isn't really paying back..

I feel like I'm pushing and pushing and pushing but I don't get anything back, if I miss the pool one time, it's just a mood drop..

I feel super weak, I also have some bad "blood sugar drops", or at least that's what my family says, and I'm also considering I might be having some deficiency or nutrition related issue at this point.

My therapist is insisting like a lot to put me on antidepressants, but they made me feel terrible in the past. Microdosing is the only thing that worked decently but I got tinnitus from it (which now is gone), but my therapist doesn't even want to consider it, and I felt actually good last summer and at the beginning of my relationship without any drug at all, which made me think I finally won, but I didn't.

No substance come without a price to pay and I don't want to feel so bad again with antidepressants.

What to do?

[–] dontblink@feddit.it 2 points 2 months ago

My god would love to see all events on pixelfeld instead of Instagram.....

 

I remember the old great times of barinsta.. Is there any app now? Or at least website.. ...That works decently?

 

After the last updates the apps started lagging lagging like hell, is there any frontend app? (Preferably Foss)

[–] dontblink@feddit.it 2 points 2 months ago

Having a federated music platform would be great both for people and for artists!

 

I've seen there's an app on FDroid but it does not really work anymore, are there alternative ways?

(Interested for mobile/Android mostly)

 

Let's say I have to host 25 websites.. How do I know how powerful should my VPS be? Which specs it should have, how fast the connection should be to handle X visits per day?

How do you understand which are your system requirements BEFORE deploying a project? Do you just make estimates and then scale up? Or there's some kind of tool to benchmark? how to handle this kind of stuff?

[–] dontblink@feddit.it 1 points 2 months ago (1 children)

How is the user experience compared to matrix? Is it easy to gateway towards matrix or other services? Can I easily join matrix or other communities servers?

I see a lot of people are now using matrix but not so many xmpp, but yeah it hoggs resources on my server too. Also I feel like it's still pretty buggy..

[–] dontblink@feddit.it 1 points 3 months ago* (last edited 3 months ago)

Didn't think about the 2 machines thing. But yeah it looks definitely easier than setting a transparent proxy.. But I guess all of this has to be on the same network, I cannot use an external server to which I connect to via wan because at that point the connections would be already need to be unproxied going out right?

But can't your setup be done on the same machine with a firewall?

[–] dontblink@feddit.it 1 points 3 months ago

Yes DNS and pihole were never thought as content filtering tools

 

Hi! I'm trying to achieve this configuration: essentially all the traffic in the network should pass the content filtering in the proxy, assume I have control over the clients. All not proxied traffic should be blocked by default.

I know not all network traffic can pass through proxy, but I'm not sure I understand how actually all of this work.

My UFW firewall configuration is the following:

To                         Action      From
--                         ------      ----
3128                       ALLOW OUT   Anywhere                  
53                         ALLOW OUT   Anywhere        

53 is for DNS requests (that cannot pass through the proxy), even if I use DOH this port needs to be open for bootstrapping.

3128 is Squid proxy port.

I'm assuming the following:

client -> dns request (53) / cannot be handled by the proxy -> dns response client -> proxy (all ports that the proxy can handle) -> http/https/ftp response client -> blocked (all other ports)

But from UFW logs it looks like the client is trying to make requests (eg. https requests) directly through port 443, instead that passing from 3128.. Maybe I'm getting something wrong here on how Proxies work.

Do you have any suggestion?

 

With all the CDNs and content been served from several locations for a single web page for example, would it be possible to implement a maintainable whitelist in something like a proxy? Does it makes sense? Or I would break half of the websites?

 

How can it have a system partition which is read only and still make the user create and use its files? How does it differ from Linux in terms of permissions and user management? How are the users kind of "confined" in android?

view more: next ›