• 2 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle


  • The way I learned Spring was basically by just being pushed into a Java project that was using it right after I finished uni. Tbh it was a bit overwhelming but I was able to slowly wrap my head around it in about a month or two. It was also the first “real” framework I ever used. Ever since then I started to just jump right into projects and try to grasp the basic concepts of the frameworks used, since they are mostly quite similar and try to expand my knowledge from there on. At least for me this worked well for NestJS, Flask, Django and somehow also for stuff like angular and Android development but there I had to put up with some formerly unknown concepts.



  • The first time federation is a bit slow in the beginning.

    Since I don’t know any better place to ask and I also setup my instance on Hetzner maybe some of you could provide me with some input regarding federation. I’m able to search new communities; the way I’m doing it right now is by searching for their handler (this !comunnityName@InstanceName thing) on my instance. For some reason if I haven’t searched for the community before no search results show up but I can switch to the community all list and see the community there. After subscribing to a community everything works nicely, I see posts, comments everything. But my main question is, if there is a way to federate a server (e.g. lemmy.ml) in a way that I can just click on communities on my server and see every community on the federated servers without having to manually search them first?

    This is something that I wasn’t able to grasp from reading the lemmy docs and also didn’t found a satisfying answer to when googleing.




  • I got it solved, I’ll write a better summary in a edit for the post above.

    Regarding your question, **Error logs: ** There was no error msg in the backend logs on the (got it solved before digging more into the nginx, front end or what ever logs). Imho the request anyway never reached the server so there should have been no msg. But since I’m earning my money as a dev and not as a (dev)ops, and just operate such things on a hobby base I’m not 100% sure. Also the browser just showed lots of status 301 and using ping I just got timeouts.

    What do I mean by proxies? Yeah I mean these Cloudflare caching and whatsoever magic proxy thing that also hides your ip and exposes some Cloudflare IP instead. Makes it e.g. impossible to just do smth like ssh root@your.domain.

    CNAME Yes it’s against RFC to CNAME an APEX domain, you kinda can do this in Cloudflares UI but it’s not actually doing it under hood. It uses CNAME flattening which causes Cloudflare to directly return the IP you’re pointing to.

    For the final solution see above, will post an edit in a few minutes.







  • In case you get it working it would be really cool if you cold post you config somewhere. Maybe the main dev could even integrated it in the docu at some point. I’m quite sure there are more people who set up there home servers using traefik and that there is an intersection between them and people who consider starting a lemmy instance.

    E.g. I would really like to ditch the VPS I’m currently using for my instance and run it on my home server since there are free resources and I would have to spend the 5 euros for the VPS.







  • If one was still browsing reddit using rif and seldomly old reddit it somehow still felt similar to what it was 10 or more years ago. Over time I ditched Facebook and some other social media I used but Reddit somehow stayed. Maybe because it was the “anonymous” one, the one I just used for myself without sharing my account with my real-life friends.

    Anyway thanks for waiting for us, took some time for me to get up and leave reddit. I hope others will follow, but so far even for me as a software dev/ architect it was quite a change to switch to fediverse services. Maybe it’ll be smoother when you’re joining bigger servers but let’s see what the future brings. As a fan of Foss I’d really like to see this thing grow.